CN110009777B - Unlocking sequence generation method and system for automatically matching work ticket task - Google Patents

Unlocking sequence generation method and system for automatically matching work ticket task Download PDF

Info

Publication number
CN110009777B
CN110009777B CN201910220875.5A CN201910220875A CN110009777B CN 110009777 B CN110009777 B CN 110009777B CN 201910220875 A CN201910220875 A CN 201910220875A CN 110009777 B CN110009777 B CN 110009777B
Authority
CN
China
Prior art keywords
work ticket
library
lock
unlocking sequence
control system
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
Application number
CN201910220875.5A
Other languages
Chinese (zh)
Other versions
CN110009777A (en
Inventor
陈友立
陈斌
郑勇
苏祖礼
黄金魁
吴振国
张丰
陈余航
李超
李利贤
俞世华
廖燕斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Unitech Power Technology Co Ltd
State Grid Fujian Electric Power Co Ltd
Fuzhou Power Supply Co of State Grid Fujian Electric Power Co Ltd
Original Assignee
Zhuhai Unitech Power Technology Co Ltd
State Grid Fujian Electric Power Co Ltd
Fuzhou Power Supply Co of State Grid Fujian Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Unitech Power Technology Co Ltd, State Grid Fujian Electric Power Co Ltd, Fuzhou Power Supply Co of State Grid Fujian Electric Power Co Ltd filed Critical Zhuhai Unitech Power Technology Co Ltd
Priority to CN201910220875.5A priority Critical patent/CN110009777B/en
Publication of CN110009777A publication Critical patent/CN110009777A/en
Application granted granted Critical
Publication of CN110009777B publication Critical patent/CN110009777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • G07C2009/0023Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks with encription of the transmittted data signal

Abstract

The invention relates to an unlocking sequence generation method and system for automatically matching a work order task. The method analyzes and resolves the content of the work ticket item by item before the work ticket is transmitted to the computer key, automatically identifies the operation sequence of the lock control lock, generates the unlocking sequence, meets the unlocking requirement of the work ticket, realizes the purpose of automatically generating the unlocking sequence of the lock control system by the work ticket, improves the accuracy of billing, reduces the error caused by manual billing, ensures the safety of people and equipment, promotes the intellectualization of products in electric power occasions, and is more reliable, safer and more intelligent compared with the prior manual compiling of the unlocking sequence.

Description

Unlocking sequence generation method and system for automatically matching work ticket task
Technical Field
The invention relates to a control method of operating equipment in a power system, in particular to an unlocking sequence generation method and system for automatically matching a work order task.
Background
At present, a work ticket billing system is installed in an electric power system and used for standardizing the maintenance operation steps of field error-prevention equipment, for locking lock-controlled locks of the equipment, generally, according to the work tasks issued by the work ticket system, the lock-controlled locks of the equipment are confirmed manually and need to be opened, then, keys are taken in a mode of manually registering unlocking keys, in order to ensure the orderliness of the unlocking process, the unlocking sequence of the keys is generally compiled manually, the keys are carried to the field separately, a large amount of time is needed to find the corresponding keys during unlocking, the unlocking efficiency is low, the condition of unlocking in sequence is easy to occur, the operation safety and the personal safety of the equipment are influenced, and the requirement of intelligent development of the electric power system is not met.
Disclosure of Invention
The invention aims to provide an unlocking sequence generation method and system for automatically matching work ticket tasks, which can automatically generate unlocking sequences of various lock-controlled locksets and automatically ensure the correctness and reliability of unlocking in a computer control mode.
In order to achieve the purpose, the technical scheme of the invention is as follows: an unlocking sequence generation method for automatically matching a work ticket task comprises a work ticket system and a locking control system;
step S1, the work ticket system generates a work ticket according to the work task and sends the work ticket to the locking control system;
step S2, after the work ticket is received by the lock control system, the work ticket semantic analysis library in the work ticket identification module of the lock control system analyzes the work content of the work ticket according to the analysis result of the work ticket semantic analysis library in the work ticket identification module and the format of the system unlocking sequence report source in the work ticket identification module, and the work ticket data is converted into an object model from an xml model; the work ticket semantic analysis library is used for searching and analyzing operation equipment items in an equipment list comparison library in a work ticket identification module by adopting a machine learning mode and a word segmentation method based on character string bidirectional maximum matching according to work ticket semantics, and the specific implementation mode is as follows:
suppose that the operation item content T is to be processed0-(L-1)The character length is L, and the maximum length of the vocabulary bars in the device list comparison library is M;
1) if L =0, skipping to step 4), otherwise, taking the entry t from the forward direction, wherein if L =0>M, then T = T0-(M-1)If L is<If M, T = T0-(L-1)
2) Analyzing whether the entry T is matched with the entries in the equipment list comparison library, if so, recording the entry, and simultaneously enabling T0-(L-1-len(t))=Tlen(t)-(L-1)L = L-len (t), go to step 1), if not, go to step 3);
3) let T = T0-(len(t)-1)Jumping to step 2);
4) the forward matching is finished;
5) the reverse matching is completely consistent with the forward matching, and only the selection direction of the entries is opposite; obtaining reversely matched entries by adopting a method similar to the steps 1) to 4);
6) comparing the positive and negative matching results, and analyzing the operation equipment items;
the work ticket semantic analysis library generates a corresponding lock control system pre-operation equipment list from the operation equipment items according to the result and sends the lock control system pre-operation equipment list to an unlocking sequence generation module of the lock control system;
step S3, after the unlocking sequence generation module receives the pre-operation device table, the unlocking sequence generation mechanism library in the unlocking sequence generation module finds the lock codes stored in the system according to the lock control system pre-operation device table analyzed by the work ticket semantic analysis module, matches the field device locks defined by the device lock configuration library in the unlocking sequence generation module to obtain the field devices corresponding to the lock codes in the system, further generates an unlocking sequence, and sends the unlocking sequence to the message generation module of the lock control system;
step S4, after the message generation module receives the unlocking sequence, the locking attribute configuration library in the message generation module confirms the lock attribute needing to be operated, after the lock attribute is confirmed, the protocol analysis library in the message generation module analyzes the unlocking sequence attribute needing to be operated, the unlocking sequence is converted into a message which can be identified by a computer key, a computer key message is generated and transmitted to the computer key, and after the computer key obtains the message, the unlocking is carried out on site according to the operation step set by the message.
In an embodiment of the present invention, in the step S4, the work ticket is in an xml format.
In an embodiment of the present invention, in the step S4, the packet is encapsulated in a data frame format.
In an embodiment of the present invention, in the step S4, the lock attribute includes whether the lock has an identity, whether the lock needs to be powered, and whether the lock needs to write operation information.
The invention also provides an unlocking sequence generation system for automatically matching the work ticket task, which comprises a work ticket system and a locking control system;
the work ticket system generates a work ticket according to the work task and sends the work ticket to the lock control system;
the lock control system comprises a work ticket identification module, an unlocking sequence generation module and a message generation module;
the work ticket identification module is used for identifying the work ticket sent by the work ticket system and outputting an equipment list which can be identified by the lock control system; the work ticket identification module comprises a work ticket semantic analysis library, an equipment list comparison library and a system unlocking sequence report source; wherein the content of the first and second substances,
a work ticket semantic analysis library: analyzing the working content of the working ticket according to the analysis result of the working ticket semantic analysis library and the format of a system unlocking sequence report source, and converting the working ticket data into an object model from an xml model;
the work ticket semantic analysis library: analyzing operation equipment items in an equipment list comparison library in a machine learning mode according to the work ticket semantics;
device list comparison library: the equipment locksets in the lock control system are listed in a centralized manner, and a comparison list can be made by combining the equipment lockset information defined in the work ticket system;
system unlocking sequence report source: the report forms which can be identified by the lock control system are uniformly defined by the system;
the unlocking sequence generation module is used for matching equipment locks in the system according to the equipment list output by the work ticket identification module and generating an unlocking sequence; the unlocking sequence generation module comprises an unlocking sequence generation mechanism library and an equipment lock configuration library; wherein the content of the first and second substances,
unlocking sequence generation mechanism library: finding a lockset code stored in the system according to the content analyzed by the work ticket semantic analysis module;
equipment lock configuration library: the field equipment and the matching library of the lock codes in the system can correspond to the field equipment according to the analyzed lock codes;
the message generation module is used for generating a message which can be identified by a computer key according to an unlocking sequence; the message generation module comprises a locking attribute configuration library and a protocol analysis library; wherein the content of the first and second substances,
locking attribute configuration library: the lock attribute is configured and appointed by an upper computer and a computer key;
a protocol analysis library: the method is used for analyzing a protocol message appointed with the computer key and converting an unlocking sequence into a message which can be identified by the computer key.
In an embodiment of the present invention, the lock attributes include whether the lock has identity identification, whether the lock needs to be powered, and whether the lock needs to write operation information.
In an embodiment of the present invention, the work ticket semantic analysis library searches and analyzes the operation device item in the device list comparison library in the work ticket identification module by using a word segmentation method based on a character string bidirectional maximum matching in a machine learning manner according to work ticket semantics, and the specific implementation manner is as follows:
suppose that the operation item content T is to be processed0-(L-1)The character length is L, and the maximum length of the vocabulary bars in the device list comparison library is M;
1) if L =0, skipping to step 4), otherwise, taking the entry t from the forward direction, wherein if L =0>M, then T = T0-(M-1)If L is<If M, T = T0-(L-1)
2) Analyzing whether the entry T is matched with the entries in the equipment list comparison library, if so, recording the entry, and simultaneously enabling T0-(L-1-len(t))=Tlen(t)-(L-1)L = L-len (t), go to step 1), if not, go to step 3);
3) let T = T0-(len(t)-1)Jumping to step 2);
4) the forward matching is finished;
5) the reverse matching is completely consistent with the forward matching, and only the selection direction of the entries is opposite; obtaining reversely matched entries by adopting a method similar to the steps 1) to 4);
6) comparing the positive and negative matching results, and analyzing the operation equipment items;
and then, the work ticket semantic analysis library generates a corresponding lock control system pre-operation equipment list from the operation equipment items according to the result, and sends the lock control system pre-operation equipment list to an unlocking sequence generation module of the lock control system.
Compared with the prior art, the invention has the following beneficial effects: the invention can analyze and analyze the content of the work ticket item by item before the work ticket is transmitted to the computer key, automatically identify the operation sequence of the lock control lockset, generate the unlocking sequence, meet the unlocking requirement of the work ticket, realize the purpose of automatically generating the unlocking sequence of the lock control system by the work ticket, improve the accuracy rate of invoicing, reduce the error caused by manual invoicing, ensure the safety of people and equipment, promote the intellectualization of products in electric power occasions, and have higher reliability, safety and intelligence compared with the prior manual writing of the unlocking sequence.
Drawings
Fig. 1 is a flowchart of the unlocking sequence of the present invention.
Fig. 2 is a flow chart of the field application of the unlocking sequence of the present invention.
Detailed Description
The technical scheme of the invention is specifically explained below by combining the attached drawings 1-2.
As shown in fig. 1, the invention provides an unlocking sequence generation method for automatically matching a work ticket task, which comprises a work ticket system and a lock control system;
step S1, the work ticket system generates a work ticket according to the work task and sends the work ticket to the locking control system;
the work ticket is defined into an XML format which is easy to transmit and process, and the specific work ticket is defined as follows:
<xml version="1.0" encoding="utf8" >
<workticket>
< department > repair part >
Repair work for one shift
< head > < head >
<class>
<count>1</count>
< member > sheet >
</class>
< content > inspection tool State >
< place > tool Chamber >
<planbegintime>2019-03-20 8:00:00</planbegintime>
<planendtime>2019-03-20 17:30:00</planendtime>
<operation>
<count>2</count>
< item > opening the gate of the blending substation >
< item > opening the Co-ordination tool Room </item >
</operation>
</workticket>
Step S2, after the work ticket is received by the lock control system, the work ticket semantic analysis library in the work ticket identification module of the lock control system analyzes the work content of the work ticket according to the analysis result of the work ticket semantic analysis library in the work ticket identification module and the format of the system unlocking sequence report source in the work ticket identification module, and the work ticket data is converted into an object model from an xml model; as shown in table 1.
Figure 349896DEST_PATH_IMAGE001
The work ticket semantic analysis library is used for searching and analyzing operation equipment items in an equipment list comparison library in a work ticket identification module by adopting a machine learning mode and a word segmentation method based on character string bidirectional maximum matching according to work ticket semantics, and the specific implementation mode is as follows:
1) if L =0, skipping to step 4), otherwise, taking the entry t from the forward direction, wherein if L =0>M, then T = T0-(M-1)If L is<If M, T = T0-(L-1)
2) Analyzing whether the entry T is matched with the entries in the equipment list comparison library, if so, recording the entry, and simultaneously enabling T0-(L-1-len(t))=Tlen(t)-(L-1)L = L-len (t), go to step 1), if not, go to step 3);
3) let T = T0-(len(t)-1)Jumping to step 2);
4) the forward matching is finished;
5) the reverse matching is completely consistent with the forward matching, and only the selection direction of the entries is opposite; obtaining reversely matched entries by adopting a method similar to the steps 1) to 4);
6) comparing the positive and negative matching results, and analyzing the operation equipment items;
the work ticket semantic analysis library generates a corresponding lock control system pre-operation equipment list from the operation equipment items according to the result and sends the lock control system pre-operation equipment list to an unlocking sequence generation module of the lock control system;
in this example, the maximum length of a vocabulary entry in the device list comparison library is 5.
Operation item 1: and opening a transformer substation gate, wherein the forward matching result is 'opening a | common and variable | transformer substation gate', the reverse matching result is 'opening a | common and variable | transformer substation gate', and an operating device 'transformer substation gate' is extracted.
Operation item 2: the common and variable tool room is opened, the positive matching result is "open | common and variable | tool room", the direction matching result is "open | common and variable | tool room", and the operation device "tool room" is extracted.
The lock control system pre-operation equipment table is shown in table 2:
Figure DEST_PATH_IMAGE002
step S3, after the unlocking sequence generation module receives the pre-operation device table, the unlocking sequence generation mechanism library in the unlocking sequence generation module finds the lock codes stored in the system according to the lock control system pre-operation device table analyzed by the work ticket semantic analysis module, matches the field device locks defined by the device lock configuration library in the unlocking sequence generation module to obtain the field devices corresponding to the lock codes in the system, further generates an unlocking sequence, and sends the unlocking sequence to the message generation module of the lock control system;
the unlocking sequence is shown in table 3:
Figure DEST_PATH_IMAGE003
step S4, after the message generation module receives the unlocking sequence, the locking attribute configuration library in the message generation module confirms the lock attribute required to be operated, after the lock attribute is confirmed, the protocol analysis library in the message generation module analyzes the unlocking sequence attribute required to be operated, the unlocking sequence is converted into a message which can be identified by a computer key, a computer key message is generated and transmitted to the computer key, the message is packaged by adopting a data frame format, and the format is shown in Table 4:
Figure DEST_PATH_IMAGE004
the data text is the encapsulation of the unlocking sequence by the protocol analysis library and comprises the following contents as shown in table 5:
Figure DEST_PATH_IMAGE005
and after the computer key obtains the message, unlocking on site according to the operation steps set by the message.
The invention also provides an unlocking sequence generation system for automatically matching the work ticket task, which comprises a work ticket system and a locking control system;
the work ticket system generates a work ticket according to the work task and sends the work ticket to the lock control system;
the lock control system comprises a work ticket identification module, an unlocking sequence generation module and a message generation module;
the work ticket identification module is used for identifying the work ticket sent by the work ticket system and outputting an equipment list which can be identified by the lock control system; the work ticket identification module comprises a work ticket semantic analysis library, an equipment list comparison library and a system unlocking sequence report source; wherein the content of the first and second substances,
a work ticket semantic analysis library: analyzing the work content of the work ticket according to the analysis result of the work ticket semantic analysis library and the format of a system unlocking sequence report source;
the work ticket semantic analysis library: analyzing corresponding equipment in an equipment list comparison library in a machine learning mode according to the work ticket semantics;
device list comparison library: the equipment locksets in the lock control system are listed in a centralized manner, and a comparison list can be made by combining the equipment lockset information defined in the work ticket system;
system unlocking sequence report source: the report forms which can be identified by the lock control system are uniformly defined by the system;
the unlocking sequence generation module is used for matching equipment locks in the system according to the equipment list output by the work ticket identification module and generating an unlocking sequence; the unlocking sequence generation module comprises an unlocking sequence generation mechanism library and an equipment lock configuration library; wherein the content of the first and second substances,
unlocking sequence generation mechanism library: finding a lockset code stored in the system according to the content analyzed by the work ticket semantic analysis module;
equipment lock configuration library: the field equipment and the matching library of the lock codes in the system can correspond to the field equipment according to the analyzed lock codes;
the message generation module is used for generating a message which can be identified by a computer key according to an unlocking sequence; the message generation module comprises a locking attribute configuration library and a protocol analysis library; wherein the content of the first and second substances,
locking attribute configuration library: the lock attribute is configured and appointed by an upper computer and a computer key;
a protocol analysis library: the method is used for analyzing a protocol message appointed with the computer key and converting an unlocking sequence into a message which can be identified by the computer key.
When the lock control system works, the work ticket system generates a work ticket according to the work task and sends the work ticket to the lock control system. After the lock control system receives the work ticket, the work ticket semantic analysis library in the work ticket identification module analyzes the work content of the work ticket according to the format of the system unlocking sequence report source. The work ticket semantic analysis library adopts a machine learning mode, and adopts a word segmentation method based on character string bidirectional maximum matching to match and analyze the content of work ticket operation items one by one. The work ticket identification module generates a corresponding lock control system pre-operation equipment list for the operation equipment items and sends the lock control system pre-operation equipment list to the unlocking sequence generation module.
After the unlocking sequence generation module receives the pre-operation equipment table, an unlocking sequence generation mechanism library in the module finds the lock codes stored in the system according to the lock control system pre-operation equipment table analyzed by the work ticket semantic analysis module, matches the field equipment corresponding to the lock codes in the system according to the field equipment locks defined in the equipment lock configuration library, further generates an unlocking sequence, and sends the unlocking sequence to the message generation module.
After the message generation module receives the unlocking sequence, the attribute of the lockset needing to be operated is confirmed through the locking attribute configuration library, if the lockset has identity identification, the lockset needs to be powered, the lockset needs to be written with operation information and the like, after the lockset attribute is confirmed, the unlocking sequence attribute needing to be operated is analyzed through the protocol analysis library, the unlocking sequence is converted into a message which can be identified by a computer key, a computer key message is generated and transmitted to the computer key, and after the computer key obtains the message, the unlocking is carried out on site according to the operation steps set by the message.
Referring to fig. 2, after the computer key is inserted into the field lock, the computer key firstly identifies whether the lock is an authorized lock in the message, if so, the computer key judges whether the operation sequence is the current lock to be operated, if so, the lock is opened, and if not, the computer key needs to be inserted into the lock to be operated again, so that the correctness and the reliability of the operation of the lock are ensured, and the problem that the existing key is easy to make mistakes due to the fact that the unlocking is controlled by human factors is solved.
The above are preferred embodiments of the present invention, and all changes made according to the technical scheme of the present invention that produce functional effects do not exceed the scope of the technical scheme of the present invention belong to the protection scope of the present invention.

Claims (4)

1. An unlocking sequence generation method for automatically matching a work ticket task is characterized by comprising a work ticket system and a locking control system;
step S1, the work ticket system generates a work ticket according to the work task and sends the work ticket to the locking control system;
step S2, after the work ticket is received by the lock control system, the work ticket semantic analysis library in the work ticket identification module of the lock control system analyzes the work content of the work ticket according to the analysis result of the work ticket semantic analysis library in the work ticket identification module and the format of the system unlocking sequence report source in the work ticket identification module, and the work ticket data is converted into an object model from an xml model; the work ticket semantic analysis library is used for searching and analyzing operation equipment items in an equipment list comparison library in a work ticket identification module by adopting a machine learning mode and a word segmentation method based on character string bidirectional maximum matching according to work ticket semantics, and the specific implementation mode is as follows:
suppose that the operation item content T is to be processed0-(L-1)The character length is L, and the maximum length of the vocabulary bars in the device list comparison library is M;
1) if L =0, skipping to step 4), otherwise, taking the entry t from the forward direction, wherein if L =0>M, then T = T0-(M-1)If L is<If M, T = T0-(L-1)
2) Analyzing whether the entry T is matched with the entries in the equipment list comparison library, if so, recording the entry, and simultaneously enabling T0-(L-1-len(t))=Tlen(t)-(L-1)L = L-len (t), go to step 1), if not, go to step 3);
3) let T = T0-(len(t)-1)Jumping to step 2);
4) the forward matching is finished;
5) the reverse matching is completely consistent with the forward matching, and only the selection direction of the entries is opposite; obtaining reversely matched entries by adopting a method similar to the steps 1) to 4);
6) comparing the positive and negative matching results, and analyzing the operation equipment items;
the work ticket semantic analysis library generates a corresponding lock control system pre-operation equipment list from the operation equipment items according to the result and sends the lock control system pre-operation equipment list to an unlocking sequence generation module of the lock control system;
step S3, after the unlocking sequence generation module receives the pre-operation device table, the unlocking sequence generation mechanism library in the unlocking sequence generation module finds the lock codes stored in the system according to the lock control system pre-operation device table analyzed by the work ticket semantic analysis module, matches the field device locks defined by the device lock configuration library in the unlocking sequence generation module to obtain the field devices corresponding to the lock codes in the system, further generates an unlocking sequence, and sends the unlocking sequence to the message generation module of the lock control system;
step S4, after the message generation module receives the unlocking sequence, the locking attribute configuration library in the message generation module confirms the lock attribute needing to be operated, after the lock attribute is confirmed, the protocol analysis library in the message generation module analyzes the unlocking sequence attribute needing to be operated, the unlocking sequence is converted into a message which can be identified by a computer key, a computer key message is generated and transmitted to the computer key, and after the computer key obtains the message, the unlocking is carried out on site according to the operation step set by the message;
in step S4, the lock attributes include whether the lock has identity identification, whether the lock needs to be powered, and whether the lock needs to write operation information.
2. The method for generating an unlocking sequence of an automatic matching work ticket task as claimed in claim 1, wherein in the step S4, the work ticket is in xml format.
3. The method for generating an unlocking sequence of an automatic matching work ticket task as claimed in claim 1, wherein in step S4, the message is encapsulated in a data frame format.
4. An unlocking sequence generation system capable of automatically matching work ticket tasks is characterized by comprising a work ticket system and a locking control system;
the work ticket system generates a work ticket according to the work task and sends the work ticket to the lock control system;
the lock control system comprises a work ticket identification module, an unlocking sequence generation module and a message generation module;
the work ticket identification module is used for identifying the work ticket sent by the work ticket system and outputting an equipment list which can be identified by the lock control system; the work ticket identification module comprises a work ticket semantic analysis library, an equipment list comparison library and a system unlocking sequence report source; wherein the content of the first and second substances,
a work ticket semantic analysis library: analyzing the working content of the working ticket according to the analysis result of the working ticket semantic analysis library and the format of a system unlocking sequence report source, and converting the working ticket data into an object model from an xml model;
the work ticket semantic analysis library: analyzing operation equipment items in an equipment list comparison library in a machine learning mode according to the work ticket semantics;
device list comparison library: the equipment locksets in the lock control system are listed in a centralized manner, and a comparison list can be made by combining the equipment lockset information defined in the work ticket system;
system unlocking sequence report source: the report forms which can be identified by the lock control system are uniformly defined by the system;
the unlocking sequence generation module is used for matching equipment locks in the system according to the equipment list output by the work ticket identification module and generating an unlocking sequence; the unlocking sequence generation module comprises an unlocking sequence generation mechanism library and an equipment lock configuration library; wherein the content of the first and second substances,
unlocking sequence generation mechanism library: finding a lockset code stored in the system according to the content analyzed by the work ticket semantic analysis module;
equipment lock configuration library: the field equipment and the matching library of the lock codes in the system can correspond to the field equipment according to the analyzed lock codes;
the message generation module is used for generating a message which can be identified by a computer key according to an unlocking sequence; the message generation module comprises a locking attribute configuration library and a protocol analysis library; wherein the content of the first and second substances,
locking attribute configuration library: the lock attribute is configured and appointed by an upper computer and a computer key;
a protocol analysis library: the protocol message is used for analyzing a protocol message appointed with a computer key and converting an unlocking sequence into a message which can be identified by the computer key;
the lock attributes comprise the attributes of whether the lock has identity recognition, whether the lock needs to be powered, and whether the lock needs to be written in operation information;
the work ticket semantic analysis library is used for searching and analyzing operation equipment items in an equipment list comparison library in a work ticket identification module by adopting a machine learning mode and a word segmentation method based on character string bidirectional maximum matching according to work ticket semantics, and the specific implementation mode is as follows:
suppose that the operation item content T is to be processed0-(L-1)The character length is L, and the maximum length of the vocabulary bars in the device list comparison library is M;
1) if L =0, skipping to step 4), otherwise, taking the entry t from the forward direction, wherein if L =0>M, then T = T0-(M-1)If L is<If M, T = T0-(L-1)
2) Analyzing whether the entry T is matched with the entries in the equipment list comparison library, if so, recording the entry, and simultaneously enabling T0-(L-1-len(t))=Tlen(t)-(L-1)L = L-len (t), go to step 1), if not, go to step 3);
3) let T = T0-(len(t)-1)Jumping to step 2);
4) the forward matching is finished;
5) the reverse matching is completely consistent with the forward matching, and only the selection direction of the entries is opposite; obtaining reversely matched entries by adopting a method similar to the steps 1) to 4);
6) comparing the positive and negative matching results, and analyzing the operation equipment items;
and then, the work ticket semantic analysis library generates a corresponding lock control system pre-operation equipment list from the operation equipment items according to the result, and sends the lock control system pre-operation equipment list to an unlocking sequence generation module of the lock control system.
CN201910220875.5A 2019-03-22 2019-03-22 Unlocking sequence generation method and system for automatically matching work ticket task Active CN110009777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910220875.5A CN110009777B (en) 2019-03-22 2019-03-22 Unlocking sequence generation method and system for automatically matching work ticket task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910220875.5A CN110009777B (en) 2019-03-22 2019-03-22 Unlocking sequence generation method and system for automatically matching work ticket task

Publications (2)

Publication Number Publication Date
CN110009777A CN110009777A (en) 2019-07-12
CN110009777B true CN110009777B (en) 2021-06-22

Family

ID=67167778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910220875.5A Active CN110009777B (en) 2019-03-22 2019-03-22 Unlocking sequence generation method and system for automatically matching work ticket task

Country Status (1)

Country Link
CN (1) CN110009777B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260338B (en) * 2020-02-19 2022-03-29 云南电网有限责任公司昆明供电局 Intelligent generation method, device and platform for substation operation ticket
CN112017336A (en) * 2020-09-03 2020-12-01 云南电网有限责任公司信息中心 Method and device for automatic authorization and safe anti-misoperation locking of intelligent lock

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063424A (en) * 2010-12-24 2011-05-18 上海电机学院 Method for Chinese word segmentation
CN103593809A (en) * 2013-12-03 2014-02-19 国家电网公司 Intelligent operation-ticket semanteme verification method of automatic power dispatching system
CN106710051A (en) * 2017-01-19 2017-05-24 珠海优特电力科技股份有限公司 Management control system and method for preventing error operations of electrical secondary equipment
CN108321930A (en) * 2018-01-30 2018-07-24 珠海华伟电气科技股份有限公司 A kind of sequence control system and method
CN108648318A (en) * 2018-05-18 2018-10-12 长园共创电力安全技术股份有限公司 It is online to authorize Interlocking Methods and system
CN109166217A (en) * 2018-08-28 2019-01-08 武汉瑞莱保能源技术有限公司 On-line intelligence key lock system
CN109389226A (en) * 2018-09-21 2019-02-26 珠海长园共创软件技术有限公司 A kind of electrical anti-error lock control integrated control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063424A (en) * 2010-12-24 2011-05-18 上海电机学院 Method for Chinese word segmentation
CN103593809A (en) * 2013-12-03 2014-02-19 国家电网公司 Intelligent operation-ticket semanteme verification method of automatic power dispatching system
CN106710051A (en) * 2017-01-19 2017-05-24 珠海优特电力科技股份有限公司 Management control system and method for preventing error operations of electrical secondary equipment
CN108321930A (en) * 2018-01-30 2018-07-24 珠海华伟电气科技股份有限公司 A kind of sequence control system and method
CN108648318A (en) * 2018-05-18 2018-10-12 长园共创电力安全技术股份有限公司 It is online to authorize Interlocking Methods and system
CN109166217A (en) * 2018-08-28 2019-01-08 武汉瑞莱保能源技术有限公司 On-line intelligence key lock system
CN109389226A (en) * 2018-09-21 2019-02-26 珠海长园共创软件技术有限公司 A kind of electrical anti-error lock control integrated control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
配电网综合防误锁控管理系统的设计与实现;吕超;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170315;第1-54页 *

Also Published As

Publication number Publication date
CN110009777A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN108446540B (en) Program code plagiarism type detection method and system based on source code multi-label graph neural network
Smock et al. PubTables-1M: Towards comprehensive table extraction from unstructured documents
CN110009777B (en) Unlocking sequence generation method and system for automatically matching work ticket task
Dragoni et al. Combining NLP approaches for rule extraction from legal documents
CN109376353A (en) A kind of power grid start-up operation ticket generating means and method based on natural language processing
Jacobs et al. Trace semantics via determinization
AU2019204444B2 (en) System and method for enrichment of ocr-extracted data
CN114297654A (en) Intelligent contract vulnerability detection method and system for source code hierarchy
CN110209828A (en) Case querying method and case inquiry unit, computer equipment and storage medium
Szymanski et al. Noncanonical extensions of bottom-up parsing techniques
Yamakami One-way reversible and quantum finite automata with advice
CN105303657A (en) Management method for lock control system of work site
White An alphabet-reduction algorithm for chordal n-grams
CN111831624A (en) Data table creating method and device, computer equipment and storage medium
Li et al. A vulnerability detection system based on fusion of assembly code and source code
CN109614457B (en) Deep learning-based geographic information identification method and device
CN113536741B (en) Method and device for converting Chinese natural language into database language
Rabbi et al. Bangla grammar pattern recognition using shift reduce parser
Butting et al. Language engineering for heterogeneous collaborative embedded systems
Ghime et al. Ir mapping: Intermediate representation (ir) based mapping to facilitate incremental static analysis
Parveen et al. Clause Boundary Identification using Classifier and Clause Markers in Urdu Language
Hao et al. Towards Improving Multiple Authorship Attribution of Source Code
CN115408506B (en) NL2SQL method combining semantic analysis and semantic component matching
Fanfeng Application research of voice control in reading assistive device for visually impaired persons
Dai et al. GCNGAN: translating natural language to programming language based on GAN

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