CN113822271A - Ticket surface identification and sorting method, device, system and medium for power grid transformation operation ticket - Google Patents
Ticket surface identification and sorting method, device, system and medium for power grid transformation operation ticket Download PDFInfo
- Publication number
- CN113822271A CN113822271A CN202111405084.3A CN202111405084A CN113822271A CN 113822271 A CN113822271 A CN 113822271A CN 202111405084 A CN202111405084 A CN 202111405084A CN 113822271 A CN113822271 A CN 113822271A
- Authority
- CN
- China
- Prior art keywords
- ticket
- scanning
- sorted
- ticket number
- tickets
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000009466 transformation Effects 0.000 title claims abstract description 35
- 125000004122 cyclic group Chemical group 0.000 claims abstract description 12
- 238000012163 sequencing technique Methods 0.000 claims description 21
- 238000003780 insertion Methods 0.000 claims description 10
- 230000037431 insertion Effects 0.000 claims description 10
- 238000012790 confirmation Methods 0.000 claims description 6
- 230000001502 supplementing effect Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 10
- 230000008569 process Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Devices For Checking Fares Or Tickets At Control Points (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a ticket face identification and sorting method, device, system and medium of a power grid transformation operation ticket, which are characterized in that ticket face information of the operation ticket to be sorted is obtained by acquiring a ticket face image of the operation ticket to be sorted and carrying out image-text identification on the ticket face image, wherein the ticket face information at least comprises a ticket number; sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence; and inputting the operation tickets to be sorted into a preset scanning port for ticket number cyclic scanning, and controlling the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and a ticket number sequence in a preset sequence to obtain the operation tickets arranged in sequence. The face information of the substation operation ticket is acquired by efficiently and accurately identifying the image and the text of the substation operation ticket, and the face sorting processing is automatically performed on the operation ticket to be sorted after the ticket number in the face information is sorted, so that the face sorting efficiency and accuracy of the substation operation ticket are effectively improved.
Description
Technical Field
The invention relates to the technical field of electric power, in particular to a method, a device, a system and a medium for identifying and sequencing a ticket face of a power transformation operation ticket of a power grid.
Background
The operation ticket refers to written basis for performing electrical operation in the power system, and comprises a scheduling instruction ticket and a power transformation operation ticket, and the operation ticket is a main measure for preventing misoperation (pulling by mistake, closing by mistake, pulling with load, closing an isolating switch, closing with a ground wire and the like).
Along with the continuous expansion of electric wire netting scale, the equipment maintenance of transformer substation is also increasing day by day to having led to main and distribution network switching operation also more and more, having a plurality of equipment power failure in often the same time quantum, the operation ticket quantity that needs to use is also more, still adopts the people to inspect the operation ticket and sequences at present, and the sequencing error that not only wastes time and energy and very appears very easily leads to the efficiency and the accuracy of ticket face discernment sequencing work all to be lower.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the defects of the prior art, the invention aims to provide a method, a device, a system and a medium for identifying and sequencing the surfaces of power transformation operation tickets of a power grid, and aims to realize efficient and accurate identification and sequencing processing of the power transformation operation tickets.
The technical scheme of the invention is as follows:
a ticket face identification and sequencing method for a power grid transformation operation ticket comprises the following steps:
collecting a ticket face image of an operation ticket to be sorted and carrying out image-text recognition on the ticket face image to obtain ticket face information of the operation ticket to be sorted, wherein the ticket face information at least comprises a ticket number;
sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence;
and inputting the operation tickets to be sorted into a preset scanning port for ticket number cyclic scanning, and controlling the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and the ticket number sequence, so as to obtain operation tickets arranged in sequence.
In an embodiment, the sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence includes:
randomly sequencing the ticket numbers of the operation tickets to be sequenced to generate an initial sequence;
sequentially acquiring elements to be sorted in the initial sequence, and comparing the elements to be sorted with the sorted elements in the ticket number sequence according to a preset sorting algorithm;
and confirming the insertion positions of the elements to be sorted in the ticket number sequence according to the comparison result until the elements to be sorted in the initial sequence are inserted at the positions.
In one embodiment, the preset scanning ports include a first scanning port and a second scanning port, and the operation tickets to be sequenced are circularly input and output scanned between the first scanning port and the second scanning port.
In one embodiment, the inputting the operation tickets to be sorted into a preset scanning port for ticket number cyclic scanning, and controlling the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and the ticket number sequence, so as to obtain operation tickets arranged in sequence, includes:
sequentially inputting the operation tickets to be sorted into the first scanning port to scan the ticket number of the k-th round;
outputting the scanned kth round of historical operation tickets from the second scanning port and recording the kth round of historical scanning ticket numbers until the kth operation ticket corresponding to the kth ticket number in the ticket number sequence is scanned, and outputting the kth operation ticket from the preset ticket outlet;
confirming whether the (k + 1) th ticket number in the ticket number sequence exists in the (k + 1) th historical scanning ticket number, adjusting the input and output direction of scanning according to a confirmation result, returning to continue the (k + 1) th round ticket number scanning and recording the (k + 1) th historical scanning ticket number;
when the (k + 1) th operation ticket corresponding to the (k + 1) th ticket number in the ticket number sequence is scanned, outputting the (k + 1) th operation ticket from the preset ticket outlet;
and adjusting the input and output directions of scanning according to the (k + 1) th round of historical scanning ticket numbers, and continuing the next round of ticket number scanning until the operation tickets to be sequenced are all output from the preset ticket outlet, so as to obtain the operation tickets which are arranged in sequence.
In one embodiment, the determining whether the (k + 1) th ticket number in the ticket number sequence has the (k + 1) th historical scanning ticket number, adjusting the input and output directions of scanning according to the determination result, returning to continue the (k + 1) th round ticket number scanning, and recording the (k + 1) th round historical scanning ticket number includes:
confirming whether the (k + 1) th ticket number in the ticket number sequence exists in the k-th historical scanning ticket number;
if yes, exchanging the current input direction and the current output direction, then scanning the ticket number of the (k + 1) th round, and recording the historical scanning ticket number of the (k + 1) th round corresponding to the historical operation ticket of the (k + 1) th round;
if not, keeping the input direction and the output direction unchanged, carrying out the (k + 1) th round ticket number scanning, and supplementing the ticket number corresponding to the (k + 1) th round historical operation ticket in the (k + 1) th round historical scanning ticket number to obtain the (k + 1) th round historical scanning ticket number.
In one embodiment, after the collecting a ticket face image of the operation ticket to be sorted and performing image-text recognition on the ticket face image to obtain the ticket face information of the operation ticket to be sorted, the method further includes:
and checking the completion degree of the operation tickets to be sorted according to the ticket face information, and outputting reminding information when the completion degree is smaller than a preset threshold value.
In one embodiment, the predetermined ordering algorithm is a selection ordering, an insertion ordering, or a dichotomy ordering.
The utility model provides a ticket face discernment sequencing device of electric wire netting transformer operation ticket, includes:
the system comprises an identification acquisition module, a sorting module and a display module, wherein the identification acquisition module is used for acquiring a ticket face image of an operation ticket to be sorted and carrying out image-text identification on the ticket face image to obtain ticket face information of the operation ticket to be sorted, and the ticket face information at least comprises a ticket number;
the sorting module is used for sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence;
and the scanning module is used for inputting the operation tickets to be sorted into a preset scanning port to carry out ticket number cyclic scanning, and controlling the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and the ticket number sequence, so as to obtain the operation tickets arranged in sequence.
A ticket face recognition and sequencing system for a power grid transformation operation ticket comprises at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the ticket face identification sorting method of the power grid transformation operation ticket.
A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the above-mentioned method for identifying and ranking the nominal surfaces of the grid transformation operation tickets.
Has the advantages that: compared with the prior art, the embodiment of the invention acquires the ticket face information by efficiently and accurately identifying the pictures and texts of the transformer operation tickets, automatically performs ticket face sorting processing on the operation tickets to be sorted after sorting according to ticket numbers in the ticket face information, and effectively improves the ticket face sorting efficiency and accuracy of the transformer operation tickets.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a flowchart of a method for identifying and sorting a ticket of a power transformation operation ticket of a power grid according to an embodiment of the present invention;
fig. 2 is a functional module schematic diagram of a ticket face identification and sorting device for a power transformation operation ticket of a power grid according to an embodiment of the present invention;
fig. 3 is a schematic hardware structure diagram of a ticket identifying and sorting system for a power transformation operation ticket of a power grid according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is described in further detail below. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of an embodiment of a method for identifying and sorting a ticket of a power transformation operation ticket of a power grid according to the present invention. The method for identifying and sequencing the ticket surfaces of the power transformation operation tickets of the power grid is suitable for identifying and sequencing the ticket surfaces of the power transformation operation tickets. As shown in fig. 1, the method specifically includes the following steps:
s100, collecting a ticket face image of the operation ticket to be sorted and carrying out image-text recognition on the ticket face image to obtain ticket face information of the operation ticket to be sorted, wherein the ticket face information at least comprises a ticket number.
In this embodiment, when the operation tickets are identified and sorted, the ticket images of the operation tickets to be sorted are collected by an image collecting device, such as a camera, a video camera, a scanner, an intelligent device (a mobile phone, a tablet computer, etc.) with a photographing function, and the like, and specifically, the operation tickets can be collected in sequence, or in batch, which is not limited in this embodiment, so that the ticket images of the operation tickets to be sorted are quickly and accurately obtained, then the collected ticket images are subjected to image-text identification processing, and corresponding ticket information is extracted from the ticket images, and the specific ticket information at least includes a ticket number, which is a unique identifier of the operation tickets and is used for quickly identifying the operation information corresponding to different operation tickets, and in addition, the ticket information also includes, for example, operation items, operators, guardians, responsible persons, operation time, and the like, therefore, the ticket information of the operation ticket is comprehensively and accurately acquired, in the embodiment, the image-text recognition processing can adopt the existing OCR (optical character recognition) recognition method, the text detection method based on the CTPN (connection text suggestion network) algorithm, and the like, and can realize efficient and accurate character recognition and extraction from the ticket image, so that the paper operation ticket is converted into the digitalized ticket information, and the accurate and efficient data processing is subsequently performed.
S200, sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence.
In this embodiment, after the face images of the operation tickets to be sorted are collected and the corresponding ticket numbers are identified, the ticket numbers of all the operation tickets to be sorted are further sorted according to a preset sorting algorithm, specifically, the operation tickets to be sorted can be sorted after all the operation tickets are collected and identified, and certainly, the operation tickets to be sorted can also be synchronously sorted in the collection and identification processes.
In one embodiment, sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence, including:
randomly sequencing ticket numbers of the operation tickets to be sequenced to generate an initial sequence;
sequentially acquiring elements to be sorted in the initial sequence, and comparing the elements to be sorted with the sorted elements in the ticket number sequence according to a preset sorting algorithm;
and confirming the insertion positions of the elements to be sorted in the ticket number sequence according to the comparison result until the elements to be sorted in the initial sequence are inserted at the positions.
In this embodiment, when sorting the identified ticket numbers, the ticket numbers of all the operation tickets to be sorted may be randomly sorted to generate an initial sequence, for example, the initial sequence is generated according to the identification sequence, then the elements to be sorted in the initial sequence are sequentially obtained to be sorted, the size of each obtained element to be sorted is compared with the size of each obtained element to be sorted according to a preset sorting algorithm, the insertion position of the element to be sorted in the ticket number sequence is determined according to the comparison result, so that the ordered arrangement of the currently obtained element to be sorted can be completed, at this time, the element to be sorted is used as the sorted element in the ticket number sequence to participate in the next sorting comparison, then the next element to be sorted in the initial sequence is obtained to perform the size comparison, the position insertion of all the elements to be sorted can be completed by repeating the size comparison and the position insertion processes, so that the final ticket number sequence is obtained, it can be understood that the sorted elements are ordered sequences in the ticket number sequence, that is, in the present embodiment, the ticket number sequence is updated synchronously in the sorting process until all the elements to be sorted are inserted into the ticket number sequence and are converted into the sorted elements, so that accurate and efficient sorting processing is realized. In specific implementation, the preset sorting algorithm can adopt an insertion sorting method such as selection sorting, insertion sorting or dichotomy sorting, so that a digitalized ticket number sequence can be efficiently obtained after image-text recognition of a ticket image is performed on an operation ticket to be sorted, an accurate data source is provided for sorting of subsequent paper operation tickets, and the accuracy of ticket sorting is improved.
S300, inputting the operation tickets to be sorted into a preset scanning port to carry out ticket number cyclic scanning, and controlling the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and a ticket number sequence, so as to obtain the operation tickets arranged in sequence.
In the embodiment, after an ordered ticket number sequence is generated according to the ticket numbers of the operation tickets to be sorted, the ticket number of the operation tickets to be sorted is circularly scanned based on the ticket number sequence, namely, the ticket numbers of the operation tickets to be sorted are circularly scanned and identified, the operation tickets to be sorted are controlled to be output from a specified preset ticket outlet according to the ticket number scanning result and the ticket number sequence, namely, the ticket number scanning is continuously carried out on the operation tickets to be sorted, the ticket number sequence is not according, when the currently required target ticket number is scanned, the corresponding operation tickets to be sorted are output from the uniform preset ticket outlet, the operation tickets to be sorted can be sequentially arranged at the preset ticket outlet after the circulation scanning is continuously carried out and the sequential output is carried out, each operation ticket is not required to be manually searched one by one, the manpower and material resources are greatly saved, and the situation of face sorting errors can not occur on the basis of the accurate ticket number sequence, ensure that the operation tickets can be accurately and orderly filed.
Specifically, the preset scanning ports comprise a first scanning port and a second scanning port, and the operation tickets to be sequenced are circularly input and output scanned between the first scanning port and the second scanning port.
In this embodiment, two scanning ports are provided during the cyclic scanning of the ticket numbers, and both the two scanning ports can perform the input scanning processing of the operation tickets to be sorted, and when the target operation ticket corresponding to the next target ticket number in the ticket number sequence is not scanned, each operation ticket to be sorted can be input from one scanning port and output from the other scanning port; when the target operation ticket corresponding to the next target ticket number in the ticket number sequence is scanned, the operation ticket is input from one scanning port and output from the preset ticket outlet, so that when the target ticket number is searched by cyclic scanning, the scanning input and scanning output directions of the rest operation tickets can be flexibly controlled according to the next target ticket number and the previous scanning condition, the times of invalid scanning are saved, excessive repeated scanning is avoided, and the efficiency of ticket surface sequencing is improved.
In one embodiment, inputting the operation tickets to be sorted into a preset scanning port for ticket number cyclic scanning, and controlling the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and a ticket number sequence, so as to obtain operation tickets arranged in sequence, wherein the operation tickets comprises:
sequentially inputting the operation tickets to be sorted into a first scanning port to scan the ticket numbers of the k-th round;
outputting the scanned kth round of historical operation tickets from a second scanning port and recording the kth round of historical scanning ticket numbers until the kth operation ticket corresponding to the kth ticket number in the ticket number sequence is scanned, and outputting the kth operation ticket from a preset ticket outlet;
confirming whether the (k + 1) th ticket number in the ticket number sequence exists in the (k + 1) th historical scanning ticket number, adjusting the input and output directions of scanning according to a confirmation result, returning to continue the (k + 1) th ticket number scanning and recording the (k + 1) th historical scanning ticket number;
when the (k + 1) th operation ticket corresponding to the (k + 1) th ticket number in the ticket number sequence is scanned, outputting the (k + 1) th operation ticket from a preset ticket outlet;
and (4) adjusting the input and output directions of scanning according to the (k + 1) th round of historical scanning ticket numbers, and continuing the next round of ticket number scanning until the operation tickets to be sequenced are output from the preset ticket outlet, so as to obtain the operation tickets which are arranged in sequence.
In this embodiment, when performing surface scanning and sorting specifically, the operation tickets to be sorted are sequentially input into the first scanning port to perform the k-th round of ticket number scanning, and the scanned k-th round of historical operation tickets are output from the second scanning port, and the scanned ticket numbers of the current round, that is, the k-th round of historical scanning ticket numbers, are also recorded, where k represents the scanning round, the maximum value of k is the number of operation tickets to be sorted, and each time a next target operation ticket is searched, it is regarded as a new round, it can be understood that the k-th round of ticket number scanning can also be sequentially input into the second scanning port, and the scanned k-th round of historical operation tickets are output from the first scanning port, and the first scanning port and the second scanning port are respectively regarded as an input port and an output port, which is not limited in this embodiment, when the k-th operation ticket corresponding to the k-th ticket number in the ticket number sequence is scanned, when the target operation ticket in the current round is found, the target operation ticket is output from the preset ticket outlet, but not output from the second scanning port, so that the target operation ticket is separated from other operation tickets to be sorted to realize accurate sorting.
After the target operation in the k-th round of ticket number scanning is found, whether the next target ticket number in the ticket number sequence, namely the (k + 1) -th ticket number, exists in the k-th round of historical scanning ticket number is confirmed according to the recorded k-th round of historical scanning ticket number in the scanning process, that is, after one round of scanning is finished and before the next round of scanning is started, whether the next round of target operation ticket (namely the (k + 1) -th operation ticket) is scanned in the latest finished round of scanning is confirmed, so that the position of the next round of target operation ticket is rapidly distinguished, the input and output directions of the rest of operation tickets to be sorted are adjusted according to the confirmation result, and it can be understood that the adjustment of the input and output directions of the scanning also means the adjustment of the input sequence of the rest of operation tickets to be sorted, namely, the operation tickets to be sorted at the scanning port serving as the input port after the direction adjustment are subjected to ticket number scanning, the operation tickets to be sorted at the scanning port serving as the output port are not scanned with ticket numbers, so that redundant invalid scanning times are avoided, and the sorting efficiency is improved.
After the input and output direction of the (k + 1) th round of ticket number scanning is confirmed, the operation tickets to be sorted can be continuously input into the corresponding scanning port in sequence to carry out the (k + 1) th round of ticket number scanning, the (k + 1) th round of historical scanning ticket numbers are also recorded, until the (k + 1) th operation ticket corresponding to the (k + 1) th ticket number is scanned, the (k + 1) th operation ticket is output from the preset ticket outlet to realize the searching and sorting of the target operation tickets in the round, then the adjustment process is confirmed according to the input and output direction in the same way, the (k + 2) round of ticket number scanning is carried out, until all the operation tickets to be sorted are output from the preset ticket outlet, the operation tickets which are arranged in sequence can be obtained, the number of ticket number scanning times can be saved as much as possible while the accurate sorting is realized, and the efficiency of ticket face recognition and sorting is improved.
In one embodiment, determining whether the (k + 1) th ticket number in the ticket number sequence has the (k + 1) th historical scanning ticket number, adjusting the input and output directions of scanning according to the determination result, returning to continue the (k + 1) th round of ticket number scanning, and recording the (k + 1) th round of historical scanning ticket number includes:
confirming whether the (k + 1) th ticket number in the ticket number sequence exists in the k-th historical scanning ticket number;
if yes, exchanging the current input direction and the current output direction, then scanning the ticket number of the (k + 1) th round, and recording the historical scanning ticket number of the (k + 1) th round corresponding to the historical operation ticket of the (k + 1) th round;
if not, keeping the input direction and the output direction unchanged, carrying out the (k + 1) th round ticket number scanning, and supplementing the ticket number corresponding to the (k + 1) th round historical operation ticket in the (k + 1) th round historical scanning ticket number to obtain the (k + 1) th round historical scanning ticket number.
In this embodiment, when the input/output direction of the scanning is specifically adjusted, if it is confirmed that the k +1 th ticket number in the ticket number sequence has the kth round historical scanning ticket number, it is described that the target operation ticket of the next round (i.e. the k +1 th operation ticket) is scanned in the scanning of the latest finishing round, for example, if the kth round ticket number scanning is input from the first scanning port and output from the second scanning port, and the k +1 th operation ticket is scanned in the kth round ticket number scanning, the position of the k +1 th operation ticket at this time is at the second scanning port, and if the operation ticket to be sorted is continuously input from the first scanning port without adjusting the input/output direction, a large number of invalid scanning times is caused, so in this embodiment, the input direction and the output direction are reversed, and then the kth +1 round ticket number scanning is performed, that the operation ticket to be sorted at the second scanning port (i.e. the kth round historical operation ticket) is input from the second scanning port, and outputting the historical operation tickets from the first scanning port to search the (k + 1) th operation ticket, and recording the (k + 1) th historical scanning ticket number corresponding to the (k + 1) th historical operation ticket as a reference basis for the input and output directions of the next scanning.
If the k +1 th ticket number in the ticket number sequence is confirmed not to exist in the k +1 th historical scanning ticket number, it is indicated that the target operation ticket (i.e. the k +1 th operation ticket) in the next round is not scanned in the latest finishing round of scanning, the k +1 th operation ticket is still located at the scanning port which is currently used as the input port, so that the input direction and the output direction are kept unchanged at this time, and the k +1 th ticket number scanning is continued, and the difference is that, although the k +1 th ticket number is not included in the k +1 th historical scanning ticket number, the ticket number after the k +1 th ticket number may be included, so that in order to avoid the confirmation error of the subsequent scanning direction, when the k +1 th historical scanning ticket number is recorded, not only the ticket number scanned in the k +1 th round is recorded, but also is combined with the k +1 th historical scanning ticket number, and the ticket number corresponding to the k +1 th historical scanning ticket number is supplemented in the k +1 th round historical scanning ticket number, and then the (k + 1) th round of historical scanning ticket numbers which can be used as the accurate judgment basis of the input direction are obtained, and the scanning times are saved to the greatest extent so as to improve the ticket surface sequencing efficiency.
In one embodiment, after step S100, the method further comprises:
and checking the completion degree of the operation tickets to be sorted according to the ticket face information, and outputting reminding information when the completion degree is smaller than a preset threshold value.
In this embodiment, after the face information of the operation ticket is identified, the completeness of the operation ticket to be sorted can be further checked, so as to implement an automatic checking and analyzing function of the operation ticket, for example, after the face information is identified, the completion of the operation ticket can be automatically checked according to the completion identifier of the operation item therein, whether a signature exists in the columns of the operator, the guardian and the duty person, whether the operation time is correctly filled and the logic is correct, whether the columns of the issuer and the receiver are completely filled, and the like, and if the completion is detected to be smaller than a preset threshold value, a reminding message is output, the reminding message includes the ticket number of the operation ticket, so as to remind the operation ticket corresponding to the operation maintenance person that the completion degree is too low, and the corresponding operator, guardian and the like can be timely contacted according to the face information, so as to ensure that the operation is normally and reliably completed, and the safety of power transformation operation is ensured.
Another embodiment of the present invention provides a device for identifying and sorting a ticket face of a power transformation operation ticket of a power grid, including:
the identification acquisition module 11 is used for acquiring a ticket face image of the operation ticket to be sorted and performing image-text identification on the ticket face image to obtain ticket face information of the operation ticket to be sorted, wherein the ticket face information at least comprises a ticket number;
the sorting module 12 is configured to sort the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm, and generate a ticket number sequence;
and the scanning module 13 is configured to input the operation tickets to be sorted into a preset scanning port to perform ticket number cyclic scanning, and control the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and the ticket number sequence, so as to obtain operation tickets arranged in sequence.
The identification acquisition module 11, the sorting module 12 and the scanning module 13 are connected in sequence, the module referred to in the present invention refers to a series of computer program instruction segments capable of completing a specific function, and is more suitable for describing the execution process of the ticket identification sorting of the power grid transformation operation ticket than a program.
Another embodiment of the present invention provides a system for identifying and sorting a ticket face of a power transformation operation ticket of a power grid, as shown in fig. 3, the system 10 includes:
one or more processors 110 and a memory 120, where one processor 110 is illustrated in fig. 3, the processor 110 and the memory 120 may be connected by a bus or other means, and the connection by the bus is illustrated in fig. 3.
The memory 120 is used as a non-volatile computer-readable storage medium, and may be used to store a non-volatile software program, a non-volatile computer-executable program, and modules, such as program instructions corresponding to the ticket identifying and sorting method for the power transformation operation ticket in the embodiment of the present invention. The processor 110 executes various functional applications and data processing of the system 10 by running the nonvolatile software programs, instructions and units stored in the memory 120, that is, implements the method for identifying and sorting the ticket of the power grid transformation operation ticket in the above method embodiment.
The memory 120 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the system 10, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 120 optionally includes memory located remotely from processor 110, which may be connected to system 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more units are stored in the memory 120, and when executed by the one or more processors 110, perform the method for identifying and sorting the surfaces of the grid transformation operation tickets in any of the above-described method embodiments, for example, perform the above-described method steps S100 to S300 in fig. 1.
Embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer-executable instructions for execution by one or more processors, for example, to perform method steps S100-S300 of fig. 1 described above.
By way of example, non-volatile storage media can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Synchronous RAM (SRAM), dynamic RAM, (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The disclosed memory components or memory of the operating environment described herein are intended to comprise one or more of these and/or any other suitable types of memory.
In summary, in the method, the device, the system and the medium for identifying and sorting the ticket surfaces of the power transformation operation tickets, the ticket surface information of the operation tickets to be sorted is obtained by acquiring the ticket surface images of the operation tickets to be sorted and performing image-text identification on the ticket surface images, and the ticket surface information at least comprises a ticket number; sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence; and inputting the operation tickets to be sorted into a preset scanning port for ticket number cyclic scanning, and controlling the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and a ticket number sequence in a preset sequence to obtain the operation tickets arranged in sequence. The face information of the substation operation ticket is acquired by efficiently and accurately identifying the image and the text of the substation operation ticket, and the face sorting processing is automatically performed on the operation ticket to be sorted after the ticket number in the face information is sorted, so that the face sorting efficiency and accuracy of the substation operation ticket are effectively improved.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program, which may be stored in a non-volatile computer-readable storage medium, and the computer program may include the processes of the above method embodiments when executed. The storage medium may be a memory, a magnetic disk, a floppy disk, a flash memory, an optical memory, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.
Claims (10)
1. A ticket face identification and sequencing method for a power grid transformation operation ticket is characterized by comprising the following steps:
collecting a ticket face image of an operation ticket to be sorted and carrying out image-text recognition on the ticket face image to obtain ticket face information of the operation ticket to be sorted, wherein the ticket face information at least comprises a ticket number;
sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence;
and inputting the operation tickets to be sorted into a preset scanning port for ticket number cyclic scanning, and controlling the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and the ticket number sequence, so as to obtain operation tickets arranged in sequence.
2. The method for recognizing and sorting the ticket surfaces of the power grid transformation operation tickets according to claim 1, wherein the step of sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence comprises the following steps:
randomly sequencing the ticket numbers of the operation tickets to be sequenced to generate an initial sequence;
sequentially acquiring elements to be sorted in the initial sequence, and comparing the elements to be sorted with the sorted elements in the ticket number sequence according to a preset sorting algorithm;
and confirming the insertion positions of the elements to be sorted in the ticket number sequence according to the comparison result until the elements to be sorted in the initial sequence are inserted at the positions.
3. The method for identifying and sequencing the ticket surfaces of the power grid transformation operation tickets according to claim 1, wherein the preset scanning ports comprise a first scanning port and a second scanning port, and the operation tickets to be sequenced are cyclically input and output scanned between the first scanning port and the second scanning port.
4. The method for recognizing and sequencing the surfaces of the operation tickets for power grid transformation according to claim 3, wherein the operation tickets to be sequenced are input into a preset scanning port to be cyclically scanned for ticket numbers, and are controlled to be output from a preset ticket outlet according to a ticket number scanning result and the ticket number sequence, so as to obtain operation tickets arranged in sequence, and the method comprises the following steps:
sequentially inputting the operation tickets to be sorted into the first scanning port to scan the ticket number of the k-th round;
outputting the scanned kth round of historical operation tickets from the second scanning port and recording the kth round of historical scanning ticket numbers until the kth operation ticket corresponding to the kth ticket number in the ticket number sequence is scanned, and outputting the kth operation ticket from the preset ticket outlet;
confirming whether the (k + 1) th ticket number in the ticket number sequence exists in the (k + 1) th historical scanning ticket number, adjusting the input and output direction of scanning according to a confirmation result, returning to continue the (k + 1) th round ticket number scanning and recording the (k + 1) th historical scanning ticket number;
when the (k + 1) th operation ticket corresponding to the (k + 1) th ticket number in the ticket number sequence is scanned, outputting the (k + 1) th operation ticket from the preset ticket outlet;
and adjusting the input and output directions of scanning according to the (k + 1) th round of historical scanning ticket numbers, and continuing the next round of ticket number scanning until the operation tickets to be sequenced are all output from the preset ticket outlet, so as to obtain the operation tickets which are arranged in sequence.
5. The method for recognizing and sorting the ticket surfaces of the power grid transformation operation tickets according to claim 4, wherein the step of confirming whether the (k + 1) th ticket number in the ticket number sequence exists in the (k + 1) th historical scanning ticket number, and returning to continue the (k + 1) th round ticket number scanning and recording the (k + 1) th round historical scanning ticket number after adjusting the input and output directions of scanning according to the confirmation result comprises the steps of:
confirming whether the (k + 1) th ticket number in the ticket number sequence exists in the k-th historical scanning ticket number;
if yes, exchanging the current input direction and the current output direction, then scanning the ticket number of the (k + 1) th round, and recording the historical scanning ticket number of the (k + 1) th round corresponding to the historical operation ticket of the (k + 1) th round;
if not, keeping the input direction and the output direction unchanged, carrying out the (k + 1) th round ticket number scanning, and supplementing the ticket number corresponding to the (k + 1) th round historical operation ticket in the (k + 1) th round historical scanning ticket number to obtain the (k + 1) th round historical scanning ticket number.
6. The method for identifying and sequencing the ticket surfaces of the power grid transformation operation tickets according to any one of claims 1 to 5, wherein after the ticket surface images of the operation tickets to be sequenced are collected and subjected to image-text identification to obtain the ticket surface information of the operation tickets to be sequenced, the method further comprises the following steps:
and checking the completion degree of the operation tickets to be sorted according to the ticket face information, and outputting reminding information when the completion degree is smaller than a preset threshold value.
7. A method for recognizing and sorting the ticket of the power grid transformation operation ticket according to any one of claims 1 to 5, wherein the preset sorting algorithm is selection sorting, insertion sorting or dichotomy sorting.
8. The utility model provides a ticket face discernment sequencing device of electric wire netting transformer operation ticket which characterized in that includes:
the system comprises an identification acquisition module, a sorting module and a display module, wherein the identification acquisition module is used for acquiring a ticket face image of an operation ticket to be sorted and carrying out image-text identification on the ticket face image to obtain ticket face information of the operation ticket to be sorted, and the ticket face information at least comprises a ticket number;
the sorting module is used for sorting the ticket numbers of the operation tickets to be sorted according to a preset sorting algorithm to generate a ticket number sequence;
and the scanning module is used for inputting the operation tickets to be sorted into a preset scanning port to carry out ticket number cyclic scanning, and controlling the operation tickets to be sorted to be output from a preset ticket outlet according to a ticket number scanning result and the ticket number sequence, so as to obtain the operation tickets arranged in sequence.
9. The ticket face recognition and sequencing system for the power transformation operation tickets of the power grids is characterized by comprising at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the fare recognition and ranking of the grid transformation operation ticket according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the method for fare recognition ordering of grid transformation operation tickets according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111405084.3A CN113822271B (en) | 2021-11-24 | 2021-11-24 | Ticket surface identification and sorting method, device, system and medium for power grid transformation operation ticket |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111405084.3A CN113822271B (en) | 2021-11-24 | 2021-11-24 | Ticket surface identification and sorting method, device, system and medium for power grid transformation operation ticket |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113822271A true CN113822271A (en) | 2021-12-21 |
CN113822271B CN113822271B (en) | 2022-03-22 |
Family
ID=78918184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111405084.3A Active CN113822271B (en) | 2021-11-24 | 2021-11-24 | Ticket surface identification and sorting method, device, system and medium for power grid transformation operation ticket |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113822271B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5299134A (en) * | 1991-01-22 | 1994-03-29 | White Conveyors, Inc. | Computer control system and method for scanning and loading articles on a conveyor |
US20030059098A1 (en) * | 2001-09-27 | 2003-03-27 | Jones John E. | Document processing system using full image scanning |
US20120079222A1 (en) * | 2010-09-29 | 2012-03-29 | 3Par, Inc. | Host Based Write Ordering for Asynchronous Replication |
CN103093552A (en) * | 2012-12-24 | 2013-05-08 | 远光软件股份有限公司 | Operation order safety execution system based on personal digital assistants (PDAs) |
CN109462278A (en) * | 2018-01-31 | 2019-03-12 | 国网浙江省电力公司湖州供电公司 | A kind of electric system grid switching operation method based on PDA |
CN111950745A (en) * | 2020-08-13 | 2020-11-17 | 国网湖北省电力有限公司咸宁供电公司 | Switching operation management method and system based on image processing |
CN112037397A (en) * | 2020-09-01 | 2020-12-04 | 浙江浙能兰溪发电有限责任公司 | Method for supervising full-process work ticket and application system |
-
2021
- 2021-11-24 CN CN202111405084.3A patent/CN113822271B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5299134A (en) * | 1991-01-22 | 1994-03-29 | White Conveyors, Inc. | Computer control system and method for scanning and loading articles on a conveyor |
US20030059098A1 (en) * | 2001-09-27 | 2003-03-27 | Jones John E. | Document processing system using full image scanning |
US20120079222A1 (en) * | 2010-09-29 | 2012-03-29 | 3Par, Inc. | Host Based Write Ordering for Asynchronous Replication |
CN103093552A (en) * | 2012-12-24 | 2013-05-08 | 远光软件股份有限公司 | Operation order safety execution system based on personal digital assistants (PDAs) |
CN109462278A (en) * | 2018-01-31 | 2019-03-12 | 国网浙江省电力公司湖州供电公司 | A kind of electric system grid switching operation method based on PDA |
CN111950745A (en) * | 2020-08-13 | 2020-11-17 | 国网湖北省电力有限公司咸宁供电公司 | Switching operation management method and system based on image processing |
CN112037397A (en) * | 2020-09-01 | 2020-12-04 | 浙江浙能兰溪发电有限责任公司 | Method for supervising full-process work ticket and application system |
Also Published As
Publication number | Publication date |
---|---|
CN113822271B (en) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10984526B2 (en) | Method for predicting defects in assembly units | |
CN108365557B (en) | Method and system for fine routing inspection of power transmission line by unmanned aerial vehicle | |
CN110266938B (en) | Transformer substation equipment intelligent shooting method and device based on deep learning | |
CN110580475A (en) | line diagnosis method based on unmanned aerial vehicle inspection, electronic device and storage medium | |
CN109754089B (en) | Model training system and method | |
CN110705847A (en) | Intelligent substation inspection method and system based on image recognition technology | |
CN109858367A (en) | The vision automated detection method and system that worker passes through support unsafe acts | |
EP3667903B1 (en) | Photovoltaic panel recognition method, ground station, control apparatus, and unmanned aerial vehicle | |
CN110427962A (en) | A kind of test method, electronic equipment and computer readable storage medium | |
CN112070000A (en) | Intelligent recognition algorithm training method and device, terminal server and storage medium | |
US20220207739A1 (en) | Methods and systems for entering and verifying product specifications | |
CN115545058A (en) | Water meter data analysis method and system and readable storage medium | |
CN109558773B (en) | Information identification method and device and electronic equipment | |
CN113822271B (en) | Ticket surface identification and sorting method, device, system and medium for power grid transformation operation ticket | |
CN116593479A (en) | Method, device, equipment and storage medium for detecting appearance quality of battery cover plate | |
CN111950745A (en) | Switching operation management method and system based on image processing | |
CN111738182A (en) | Identity authentication method, device, terminal and storage medium based on image recognition | |
CN111241930A (en) | Method and system for face recognition | |
CN107292151A (en) | Quick biometrics | |
CN113128357B (en) | Vehicle fault processing method and system | |
CN114861166A (en) | Popup window intercepting method, device, equipment and medium | |
CN115359505A (en) | Electric power drawing detection and extraction method and system | |
CN117894041B (en) | Slaughterhouse intelligent management method and system based on Internet of things | |
EP4019894B1 (en) | Method of measuring a workpiece by using a coordinate measuring machine, and arrangement comprising a coordinate measuring machine | |
CN116441773B (en) | Marking defect identification processing method, system and terminal for laser marking machine |
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 |