CN-120524962-B - Multi-mode scanning gun oriented to power equipment and working method thereof
Abstract
The invention discloses a multimode scanning gun for power equipment and a working method thereof, and relates to the technical field of power inspection and management, comprising a scanning gun body and a plurality of hardware modules arranged on the scanning gun body, wherein the multimode scanning module comprises a photoelectric sensor module for scanning and identifying bar codes, an image acquisition unit for capturing images of target areas and a laser auxiliary positioner for generating adjustable cross marks; the system comprises a human-computer interaction module, an embedded main control module and a control module, wherein the human-computer interaction module comprises a touch screen and a voice module, and the embedded main control module is used for executing various bar code scanning operations according to user interaction information and combining a multi-mode scanning function to generate bar code scanning results, and the bar code scanning process comprises dynamic area identification and multi-code continuous scanning, code scanning anti-duplicate detection and alarming, and bar code data checking and exporting. The invention can realize intelligent dynamic region identification, multi-code continuous scanning and localized data management functions.
Inventors
- MIAO MINGMING
- LI BINGLIANG
- SHEN JING
- WANG LIN
- TANG LIANG
- LI CHANGQING
- WANG QIAN
- JIN HUI
- ZHAO YU
- TIAN FANG
- LI RUIYI
Assignees
- 国网山东省电力公司济宁市任城区供电公司
Dates
- Publication Date
- 20260505
- Application Date
- 20250427
Claims (10)
- 1. The utility model provides a multimode scanning rifle towards power equipment which characterized in that includes scanning rifle body and sets up multiple hardware module on the scanning rifle body, includes: The multi-mode scanning module comprises a photoelectric sensor module, an image acquisition unit and a laser auxiliary positioner, wherein the photoelectric sensor module is used for scanning and identifying a bar code in a bar code scanning area, the image acquisition unit is used for capturing an image of a target area, and the laser auxiliary positioner is used for generating an adjustable cross mark; the system comprises a man-machine interaction module, a voice module and a display module, wherein the man-machine interaction module comprises a touch screen and the voice module, the touch screen is used for displaying scanning information and generating user interaction information, and the voice module is used for broadcasting voice; The embedded main control module is used for executing various bar code scanning operations according to user interaction information and combining a multi-mode scanning function to generate bar code scanning results, wherein the bar code scanning operations comprise dynamic area identification and multi-code continuous scanning, code scanning anti-duplicate detection and alarm, and bar code data checking and export; the dynamic region identification and multi-code continuous scanning comprises the following steps: Selecting a scanning template and a scanning mode according to the type of equipment to be scanned, and initializing the number of times of scanning; Generating initialized bar code scanning area theoretical coordinates and scanning sequences according to the selected template, and starting a camera and a laser positioner; starting a camera to capture an image, capturing a target area according to an acquired original image of the equipment to be scanned, determining the actual coordinates of each target area, and performing feature matching on the target area and the selected template; If matching is successful, calculating an affine transformation matrix, dynamically adjusting the position of a cross mark generated by a laser positioner according to the affine transformation matrix, carrying out cross mark projection according to a set scanning sequence by using the laser positioner, scanning bar codes in each target area in sequence, and accumulating and updating bar code successful scanning counts in real time until the set scanning times are reached, so as to finish batch scanning; the code scanning anti-duplicate detection and alarm device comprises: After scanning and reading the bar code data, extracting the last character of the bar code data, and generating a hash check value through an SHA-1 algorithm; Comparing the hash check value of the currently scanned bar code with the latest recorded data stored in the local database, and judging whether the currently scanned bar code is scanned repeatedly; If the scanning is repeated, voice alarm is carried out, otherwise, the complete bar code data, the time stamp and the scanning equipment type are packaged into a data packet, and the data packet is used as a record to store and update the latest record data; and the local storage module is used for storing the scanned bar code data.
- 2. The power device oriented multi-modality scanner of claim 1, further comprising: and the isolated communication module is used for carrying out encryption transmission on the bar code data.
- 3. A working method of the multi-mode scanning gun facing the power equipment, which is characterized in that the multi-mode scanning gun facing the power equipment according to any one of claims 1-2 is used for carrying out dynamic area identification and multi-code continuous scanning, code scanning anti-duplicate detection and alarming, and bar code data checking and exporting.
- 4. A method of operating a power device oriented multi-modality scanner gun as claimed in claim 3, wherein the dynamic zone identification and multi-code sequential scanning includes: Selecting a scanning template and a scanning mode according to the type of equipment to be scanned, and initializing the number of times of scanning; Generating initialized bar code scanning area theoretical coordinates and scanning sequences according to the selected template, and starting a camera and a laser positioner; starting a camera to capture an image, capturing a target area according to an acquired original image of the equipment to be scanned, determining the actual coordinates of each target area, and performing feature matching on the target area and the selected template; If matching is successful, calculating an affine transformation matrix, dynamically adjusting the position of a cross mark generated by a laser positioner according to the affine transformation matrix, performing cross mark projection according to a set scanning sequence by using the laser positioner, scanning the bar codes in each target area in sequence, and accumulating and updating the successful scanning count of the bar codes in real time until the set scanning times are reached, thereby completing the batch scanning.
- 5. The method of claim 4, wherein dynamically adjusting the position of the reticle generated by the laser positioner according to the affine transformation matrix, and performing reticle projection according to a set scanning sequence by using the laser positioner, comprises: Based on an actual coordinate point set of a target area extracted from an original image and a theoretical coordinate point set in a preset template, constructing an objective function with minimized error between an actual coordinate and a theoretical coordinate, and solving by a least square method to obtain an affine transformation matrix; generating theoretical coordinates of the position of the reticle according to the laser positioner and combining affine transformation matrix Calculating to obtain the optimized coordinates of the reticle positions; and dynamically adjusting the reticle projection position according to the optimized coordinates, and performing reticle projection according to a set scanning sequence by using a laser positioner.
- 6. The method of claim 4, further comprising automatically generating a scan summary file for the device to be scanned after scanning all barcodes in the barcode scanning order.
- 7. The method for operating a multi-mode scanning gun for an electrical device of claim 3, wherein the code scanning anti-duplication detection and alarm is performed during the bar code scanning process, comprising: After scanning and reading the bar code data, extracting the last character of the bar code data, and generating a hash check value through an SHA-1 algorithm; Comparing the hash check value of the currently scanned bar code with the latest recorded data stored in the local database, and judging whether the currently scanned bar code is scanned repeatedly; And otherwise, packaging the complete bar code data, the time stamp and the type of the scanning equipment into a data packet, and storing and updating the latest record data as a record.
- 8. The method of claim 7, wherein the latest record data is a set number of record data stored latest.
- 9. The method for operating a multimode scanning gun for electric equipment according to claim 3, wherein after the barcode scanning is completed, performing barcode data checking comprises: Selecting a stock checking mode, generating a stock checking instruction, and loading a scanning record in a latest set time end to a cache area according to the stock checking instruction; and according to the input bar code last character, fuzzy inquiry is carried out in the buffer area, matching records are fed back, list display is carried out according to the time sequence of the matched plurality of recorded data, and the complete bar code data, the time stamp and the scanning equipment type information of each recorded data are clicked and checked.
- 10. The method of claim 9, wherein the step of deriving the barcode data after the barcode scanning is completed comprises: determining bar code data to be exported according to an input export range, generating an encrypted file according to a set rule, and transmitting the encrypted file to a host end; and the host end performs CRC verification on the received file, decrypts and writes the received file into the appointed catalogue after the received file passes the CRC verification, and exporting the bar code data is completed.
Description
Multi-mode scanning gun oriented to power equipment and working method thereof Technical Field The invention relates to the technical field of power inspection and management, in particular to a multi-mode scanning gun oriented to power equipment and a working method thereof. Background The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art. In the scenes of asset management of electric equipment, inspection of metering devices and the like, a bar code scanning gun is one of core tools. For example, in a scenario of centralized boxing of electric energy meters, transformers and other devices, centralized storage, turnover and box sealing of a plurality of electric power devices are generally performed by using a corresponding electric power turnover box, wherein the electric power turnover box is used as a basic storage unit for storage logistics operation of a metering center and is used for storing qualified, to-be-rechecked and unqualified single-phase electric energy meters, three-phase electric energy meters, low-voltage current transformers and the like. Because the equipment information bar code is usually attached to each piece of electric equipment, the electric equipment is oriented to a plurality of pieces of electric equipment in the turnover box, and staff scans all the pieces of equipment by using a bar code scanning gun, so that the management of the electric equipment assets is realized by scanning large-scale equipment assets. However, the existing scanning gun has certain limitations in operation, which results in problems of low operation efficiency, confusion of data management and the like, including: (1) A single batch scan is inefficient and difficult to effectively address batch scan tasks. That is, the existing scanning gun generally adopts a one-shot scanning mechanism, only a single bar code of a single device can be read each time, a worker needs to scan each device one by one, time and labor are consumed, and the timeliness requirement of large-scale asset inventory in the power industry cannot be met. In addition, although the existing part of industrial-grade scanning guns (such as HS305 DP) can optimize the recognition capability of complex and tedious bar codes through the AI technology to realize batch scanning of equipment in a warehouse, the industrial-grade batch scanning equipment scans equipment sequentially conveyed on a conveyor belt one by arranging a plurality of scanning windows, and the industrial-grade scanning equipment is large in size and cannot carry out portable batch scanning. (2) The laser scanning area is fixed, and the barcode distribution of multiple areas or complex layout cannot be dynamically adapted. When facing different types of power equipment (such as 9/12 epitope electric energy meter and 3/6 mutual inductors), the fixed scanner can improve the scanning efficiency, but is difficult to adapt to dynamic space change when the power equipment is packaged due to different packaging positions of the power equipment and different bar code distribution, and if manual single batch scanning is adopted, the position of a scanning gun is also required to be manually adjusted, so that the scanning laser can accurately align with the bar codes to finish scanning, and the whole process is complex and the scanning efficiency is low. (3) The repeated scanning detection mechanism is missing, and the manual verification cost is high. The traditional scanning gun lacks a real-time anti-duplicate detection function, and when the same equipment is repeatedly scanned, the error can be found only by relying on manual check or double collaboration, so that human resources are wasted and the operation flow is redundant. For example, in the field of storage of metering equipment, although the efficiency can be improved through a fixed scanner, the anti-weight function of the metering equipment needs to rely on secondary verification of an external system, and alarm prompt cannot be directly realized at a scanning end. (4) The data management function is weak, and the traceability and the exporting capability are insufficient. The existing equipment generally lacks a localization data storage and flexible export function, and the scanning record needs to be processed by an external computer or a cloud system. For example, although a scanning gun supports multi-protocol connection, the data storage of the scanning gun depends on external equipment, and the operations of inquiring, screening and exporting the history record cannot be independently completed. In addition, the specific requirements of the power industry for data formats (e.g., excel/TXT) are difficult to meet with a common scanning gun, additional development interfaces are required, and technical complexity is increased. (5) Environmental adaptability and industry customization are lacking. Although the existing par