A working method for judging power grid safety operations based on digital networks

The network QR code is generated by hand-held mobile terminals and combined with the scanner and camera to determine the identity and safety helmet wear of the power grid operator, which solves the problem of identity and safety helmet judgment in the power grid operation safety management system and improves the safety of power grid operations.

CN116758696BActive Publication Date: 2025-08-26GUANGDONG POWER GRID CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310203287.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-06
Publication Date
2025-08-26
Estimated Expiration
2043-03-06

AI Technical Summary

Technical Problem

The prior art power grid operation safety management system is difficult to effectively judge the identity of power grid operators and the wearing of power grid safety helmets, resulting in the occurrence of safety accidents.

Method used

The power grid QR code is generated and displayed through a hand-held mobile terminal, and the identity of the power grid operator and the wear of the hard helmet is used to judge the network operator and the safety helmet wear. The judgment code is generated by combining binary matrix and string conversion technology to control the operation of the lock unlocking and warning device.

Benefits of technology

It realizes accurate judgment of the identity of power grid operators and the wearing of safety helmets, prevents illegal personnel and people who do not wear safety helmets from entering the power grid operation station, and improves the safety of power grid operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116758696B_ABST
    Figure CN116758696B_ABST
Patent Text Reader

Abstract

The present invention proposes a working method for determining power grid safety operations based on a digital network, comprising the following steps: S1, a handheld mobile terminal determines whether a trigger signal for displaying a power grid QR code is received; S2, the power grid code stored in the handheld mobile terminal is obtained; S3, a scanner at the entrance scans the power grid QR code presented by the handheld mobile terminal to obtain an entry code; S4, a judgment code is obtained based on the entry code, and it is determined whether the judgment code exists in the scanner; S5, if the power grid operator is wearing a power grid safety helmet, the camera sends an opening trigger command to the unlocking switch, and the unlocking switch opens after receiving the opening trigger command; the power grid operator enters the power grid operation station to perform operations. The present invention can determine the identity of the power grid operator and ensure that only those wearing power grid safety helmets can enter the power grid operation station, thereby preventing accidents.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power grids, and in particular to a working method for judging safe operation of a power grid based on a digital network. Background Art

[0002] The access control management system is a new, modern security management system that integrates microcomputer automatic identification technology with modern security management measures. It involves numerous new technologies, including electronics, mechanics, optics, computer technology, communications technology, and biotechnology. Patent application number 2022100418661, entitled "An Intelligent Security Access Control Management Method and System for Power Grid Operations," discloses a system comprising: a door lock, a facial recognition terminal, a monitoring module, and a management terminal. The main method involves obtaining facial biometric data from whitelisted, graylisted, and blacklisted individuals and storing it in the management terminal. The management terminal then utilizes different response processes for different visitor types. This solution reduces manpower and material resources by implementing a comprehensive and refined control plan for the secure entry and exit of different types of personnel. More importantly, it aims to improve the practicality of the access control system, reduce the occurrence of power grid operation accidents, and enhance the safety of power stations. Summary of the Invention

[0003] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a working method for judging the safe operation of a power grid based on a digital network.

[0004] In order to achieve the above-mentioned object of the present invention, the present invention provides a working method for judging the safe operation of a power grid based on a digital network, comprising the following steps:

[0005] S1, the power grid operator uses a handheld mobile terminal to open the power grid QR code on the handheld mobile terminal;

[0006] S2, after the scanner at the entrance scans the grid QR code presented by the handheld mobile terminal, the grid operator enters the grid operation station.

[0007] In a preferred embodiment of the present invention, step S2 includes the following steps:

[0008] S21, the scanner scans the grid QR code presented by the handheld mobile terminal to obtain the entry code;

[0009] S22, obtain a judgment code based on the entry code, and determine whether the judgment code exists in the scanner:

[0010] If the judgment code exists in the scanner, proceed to the next step;

[0011] If the judgment code does not exist in the scanner, the scanner sends a prompt message to the warning device, and the prompt message is that this person is not an electric grid operator and is not allowed to enter the electric grid operation station;

[0012] S23. The scanner sends an activation trigger command to the camera. After receiving the activation trigger command, the camera determines whether the electric grid operator is wearing an electric grid safety helmet:

[0013] If the electric grid operator is wearing an electric grid safety helmet, the camera sends an open trigger command to the unlocking switch. After receiving the open trigger command, the unlocking switch opens; the electric grid operator enters the electric grid operation station to perform operations;

[0014] If the electric grid operator is not wearing an electric grid safety helmet, the camera does not send an open trigger command to the unlocking switch, and the camera sends a prompt message to the warning device. The prompt message is to wear the electric grid safety helmet and enter the electric grid operation station; return to step S1 or S23.

[0015] In a preferred embodiment of the present invention, the method for obtaining the judgment code according to the entry code in step S22 includes the following steps:

[0016] S221. Split the entry code into an entry first code and an entry second code;

[0017] S222. Convert the entry first code into a binary entry code; and convert the entry second code into a binary entry second code;

[0018] S223. Count the total number of binary 0s and binary 1s in the binary entry code, denoted as Qˊ, where Qˊ represents the total number of binary 0s and binary 1s in the binary entry code; form a Wˊ×Wˊ matrix;

[0019] S224. Put the binary entry code into the Wˊ×Wˊ matrix in sequence from left to right and from top to bottom;

[0020] S225. Judge the size relationship between Eˊ and Fˊ:

[0021] If Eˊ≥Fˊ, where Eˊ represents the number of elements in the Wˊ×Wˊ matrix, and its value is equal to Wˊ×Wˊ, and Fˊ represents the total number of binary 0s and binary 1s in the binary entry second code, then execute the next step;

[0022] If Eˊ<Fˊ, where Eˊ represents the number of elements in the Wˊ×Wˊ matrix, and its value is equal to Wˊ×Wˊ, and Fˊ represents the total number of binary 0s and binary 1s in the binary entry second code, then connect Gˊ-1 Wˊ×Wˊ matrices in step S223 after the Wˊ×Wˊ matrix in step S223 to form a Wˊ×GˊWˊ matrix; execute the next step;

[0023] S226, placing the binary entry second code into the matrix in order from left to right and from top to bottom;

[0024] S227 , extract characters from the matrix in order from left to right and from top to bottom to obtain a fourth character string; convert the fourth character string into a fifth character string, which is the judgment code.

[0025] In a preferred embodiment of the present invention, the method of splitting the entry code into the entry first code and the entry second code in step S221 is:

[0026] thethirdnumberˊ=Matrixnumberˊ&Secondnumberˊ,

[0027] The third number represents the entry code obtained by scanning the grid QR code presented by the handheld mobile terminal;

[0028] Matrixnumberˊ represents the first entry code obtained by splitting the entry code, which is the first to the Lth bit of the entry code from left to right, where L is the number of bits of the matrix code;

[0029] & represents the character connection number;

[0030] Secondnumberˊ represents the second entry code obtained by splitting the entry code;

[0031] In step S223, the relationship between Qˊ and Wˊ is:

[0032]

[0033] Where Wˊ represents the number of rows and columns in the Wˊ×Wˊ matrix;

[0034] Qˊ represents the total number of binary 0s and binary 1s in the binary entry code;

[0035] ∈ means belonging to;

[0036] Z + represents the set of positive integers;

[0037] Indicates taking only the integer part;

[0038] Indicates not belonging to;

[0039] Or / and the calculation method of G in step S225 is:

[0040]

[0041] Where Gˊ represents the number of Wˊ×Wˊ matrices;

[0042] Fˊ represents the total number of binary 0s and binary 1s in the second code of the binary entry;

[0043] Eˊ represents the total number of binary 1s in the Wˊ×Wˊ matrix;

[0044] ∈ means belonging to;

[0045] Z + represents the set of positive integers;

[0046] Indicates taking only the integer part;

[0047] Indicates not belonging.

[0048] In a preferred embodiment of the present invention, the method for displaying a power grid QR code on a handheld mobile terminal in step S1 includes the following steps:

[0049] S11, the handheld mobile terminal determines whether a trigger signal for displaying the power grid QR code is received:

[0050] If the handheld mobile terminal receives a trigger signal to display the grid QR code, the next step is executed;

[0051] If the handheld mobile terminal determines that the trigger signal for displaying the power grid QR code has not been received, it continues to wait and returns to step S11;

[0052] S12, obtaining the ID number of the power grid operator stored in the handheld mobile terminal. The ID number of the power grid operator is the power grid code. The ID number of the power grid operator is composed of digits A1 to A2 consisting of numbers 0 to 9, lowercase letters a to z, and uppercase letters A to Z. A1 and A2 are positive integers greater than or equal to 8, and the difference between A2 and A1 is less than or equal to 6 and greater than or equal to 4. The power grid code must include numbers, uppercase letters, and lowercase letters, and the first digit must not be 0.

[0053] S13, converting the grid code into a grid QR code and displaying it on the handheld mobile terminal.

[0054] In a preferred embodiment of the present invention, the method of converting the power grid code into the power grid QR code in step S13 includes the following steps:

[0055] S131, converting the grid code into a matrix code;

[0056] S132, converting the matrix code into a binary matrix code, and converting the grid code into a binary grid code;

[0057] S133. Count the total number of binary 0s and binary 1s in the binary matrix code, denoted as Q. Q represents the total number of binary 0s and binary 1s in the binary matrix code; form a W×W matrix;

[0058] S134. Put the binary matrix code into the W×W matrix in sequence from left to right and from top to bottom;

[0059] S135. Count the total number of binary 1s in the W×W matrix, denoted as E, and judge the size relationship between E and F:

[0060] If E≥F, where E represents the total number of binary 1s in the W×W matrix and F represents the total number of binary 0s and binary 1s in the binary power grid code, then proceed to the next step;

[0061] If E<F, where E represents the total number of binary 1s in the W×W matrix and F represents the total number of binary 0s and binary 1s in the binary power grid code, then connect G - 1 W×W matrices in step S16 after the W×W matrix in step S16 to form a W×GW matrix; proceed to the next step;

[0062] S136. Put the binary power grid code into the matrix with binary 1s in sequence from left to right and from top to bottom;

[0063] S137. Extract binary 1s and binary 0s in sequence from left to right and from top to bottom to obtain the first string; convert the first string into the second string;

[0064] S138. Connect the matrix code with the second string to form the third string, and convert the third string into a two-dimensional code, which is the power grid two-dimensional code. By converting the power grid code into the third string, the power grid code can be hidden, and the displayed two-dimensional code is not the real power grid code, which is beneficial to the security of transmission.

[0065] In a preferred embodiment of the present invention, the calculation method for converting the power grid code into a matrix code in step S131 is:

[0066] Matrixnumber=MessageDigestAlgorithm <powergridnumber>,

[0067] Wherein, Matrixnumber represents the matrix code calculated from the power grid code;

[0068] MessageDigestAlgorithm<> indicates the processing method for converting the grid code into the matrix code;

[0069] Powergridnumber indicates the ID number of the power grid operator stored in the handheld mobile terminal.

[0070] In a preferred embodiment of the present invention, the relationship between Q and W in step S133 is:

[0071]

[0072] Where W represents the number of rows and columns in the matrix;

[0073] Q represents the total number of binary 0s and binary 1s in the binary matrix code;

[0074] ∈ means belonging to;

[0075] Z+ represents the set of positive integers;

[0076] Indicates taking only the integer part;

[0077] Indicates not belonging.

[0078] In a preferred embodiment of the present invention, the calculation method of G in step S135 is:

[0079]

[0080] Where G represents the number of W×W matrices;

[0081] F represents the total number of binary 0s and binary 1s in the binary grid code;

[0082] E represents the total number of binary 1s in the W×W matrix;

[0083] ∈ means belonging to;

[0084] Z + represents the set of positive integers;

[0085] Indicates taking only the integer part;

[0086] Indicates not belonging.

[0087] In a preferred embodiment of the present invention, in step S138, the matrix code is connected to the second character string to form a third character string as follows:

[0088] Thethirdnumber=Mztrixnumber&Secondnumber,

[0089] Wherein, Thethirdnumber represents the third character string formed by connecting the matrix code and the second character string;

[0090] Mztrixnumber represents the matrix code calculated from the grid code;

[0091] & represents the character connection number;

[0092] Secondnumber represents the second character string converted from the first character string.

[0093] In summary, due to the adoption of the above technical solution, the present invention can determine the identity of power grid operators and ensure that they can enter the power grid operation station only if they wear power grid safety helmets, thereby preventing accidents.

[0094] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0095] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments with reference to the accompanying drawings, in which:

[0096] Figure 1 It is a schematic block diagram of the process of the present invention.

[0097] Figure 2 It is a schematic diagram of the 8×8 matrix of the present invention.

[0098] Figure 3 It is a schematic diagram of the 8×8 matrix of the present invention.

[0099] Figure 4 It is a schematic diagram of the 8×16 matrix of the present invention.

[0100] Figure 5 It is a schematic diagram of the 8×16 matrix of the present invention.

[0101] Figure 6 It is a schematic diagram of the 8×16 matrix of the present invention.

[0102] Figure 7 It is a schematic diagram of the 8×16 matrix of the present invention.

[0103] Figure 8 It is a schematic diagram of the power grid QR code of the present invention.

[0104] Figure 9 It is a schematic diagram of the 8×16 matrix of the present invention.

[0105] Figure 10 It is a schematic diagram of the 8×16 matrix of the present invention. DETAILED DESCRIPTION

[0106] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.

[0107] The present invention provides a method for determining the safety operation of a power grid based on a digital network. Figure 1 As shown, the following steps are included:

[0108] S1, the power grid operator uses a handheld mobile terminal to open the power grid QR code on the handheld mobile terminal;

[0109] S2, after the scanner at the entrance scans the grid QR code presented by the handheld mobile terminal, the grid operator enters the grid operation station.

[0110] In a preferred embodiment of the present invention, step S2 includes the following steps:

[0111] S21, the scanner scans the grid QR code presented by the handheld mobile terminal to obtain the entry code;

[0112] S22, obtain a judgment code based on the entry code, and determine whether the judgment code exists in the scanner:

[0113] If the judgment code exists in the scanner, proceed to the next step;

[0114] If the judgment code does not exist in the scanner, the scanner will send a prompt message to the warning device, which prompts that the person is not a power grid operator and is not allowed to enter the power grid operation station;

[0115] S23: The scanner sends an opening trigger command to the camera. After receiving the opening trigger command, the camera determines whether the power grid operator is wearing a power grid safety helmet.

[0116] If the power grid operator wears a power grid safety helmet, the camera sends an open trigger command to the unlocking switch. After receiving the open trigger command, the unlocking switch opens; the power grid operator enters the power grid operation station to perform operations;

[0117] If the power grid operator does not wear a power grid safety helmet, the camera does not send an opening trigger command to the unlocking switch, and the camera sends a prompt message to the warning device. The prompt message is "Please wear a power grid safety helmet and enter the power grid operation station"; return to step S1 or S23.

[0118] In a preferred embodiment of the present invention, the method for obtaining the judgment code according to the entry code in step S22 includes the following steps:

[0119] S221, split the entry code into an entry first code and an entry second code; <s

[0120] S222, convert the entry first code into a binary entry code; and convert the entry second code into a binary entry second code;

[0121] S223, count the total number of binary 0s and binary 1s in the binary entry code, denoted as Qˊ, where Qˊ represents the total number of binary 0s and binary 1s in the binary entry code; form a Wˊ×Wˊ matrix;

[0122] S224, sequentially place the binary entry code into the Wˊ×Wˊ matrix in the order from left to right and from top to bottom;

[0123] S||225, judge the size relationship between Eˊ and Fˊ:

[0124] If Eˊ≥Fˊ, where Eˊ represents the number of elements in the Wˊ×Wˊ matrix, and its value is equal to Wˊ×Wˊ, and Fˊ represents the total number of binary 0s and binary 1s in the binary entry second code, then execute the next step;

[0125] If Eˊ<Fˊ, where Eˊ represents the number of elements in the Wˊ×Wˊ matrix, and its value is equal to Wˊ×Wˊ, and Eˊ represents the total number of binary 0s and binary 1s in the binary entry second code, then connect Gˊ-1 Wˊ×Wˊ matrices in step S223 to form a Wˊ×GˊWˊ matrix; execute the next step;

[0126] S226, sequentially place the binary entry second code into the matrix in the order from left to right and from top to bottom;

[0127] S227, sequentially extract characters from the matrix in the order from left to right and from top to bottom to obtain a fourth string; convert the fourth string into a fifth string, and the fifth string is the judgment code.

[0128] In a preferred embodiment of the present invention, the method for splitting the entry code into an entry first code and an entry second code in step S221 is: ]>

[0129] thethirdnumberˊ=Matrixnumberˊ&Secondnumberˊ,

[0130] The third number represents the entry code obtained by scanning the grid QR code presented by the handheld mobile terminal;

[0131] Matrixnumberˊ represents the first entry code obtained by splitting the entry code, which is the first to the Lth bit of the entry code from left to right, where L is the number of bits of the matrix code;

[0132] & represents the character connection number;

[0133] Secondnumberˊ represents the second entry code obtained by splitting the entry code;

[0134] In step S223, the relationship between Qˊ and Wˊ is:

[0135]

[0136] Where Wˊ represents the number of rows and columns in the Wˊ×Wˊ matrix;

[0137] Qˊ represents the total number of binary 0s and binary 1s in the binary entry code;

[0138] ∈ means belonging to;

[0139] Z + represents the set of positive integers;

[0140] Indicates taking only the integer part;

[0141] Indicates not belonging to;

[0142] Or / and the calculation method of G in step S225 is:

[0143]

[0144] Where Gˊ represents the number of Wˊ×Wˊ matrices;

[0145] Fˊ represents the total number of binary 0s and binary 1s in the second code of the binary entry;

[0146] Eˊ represents the total number of binary 1s in the Wˊ×Wˊ matrix;

[0147] ∈ means belonging to;

[0148] Z + represents the set of positive integers;

[0149] Indicates taking only the integer part;

[0150] Indicates not belonging.

[0151] In a preferred embodiment of the present invention, the method for displaying a power grid QR code on a handheld mobile terminal in step S1 includes the following steps:

[0152] S11, the handheld mobile terminal determines whether a trigger signal for displaying the power grid QR code is received:

[0153] If the handheld mobile terminal receives a trigger signal to display the grid QR code, the next step is executed;

[0154] If the handheld mobile terminal determines that the trigger signal for displaying the power grid QR code has not been received, it continues to wait and returns to step S11;

[0155] S12, obtaining the ID number of the power grid operator stored in the handheld mobile terminal. The ID number of the power grid operator is the power grid code. The ID number of the power grid operator is composed of digits A1 to A2 consisting of numbers 0 to 9, lowercase letters a to z, and uppercase letters A to Z. A1 and A2 are positive integers greater than or equal to 8, and the difference between A2 and A1 is less than or equal to 6 and greater than or equal to 4. The power grid code must include numbers, uppercase letters, and lowercase letters, and the first digit must not be 0.

[0156] S13, converting the grid code into a grid QR code and displaying it on the handheld mobile terminal.

[0157] In a preferred embodiment of the present invention, the method of converting the power grid code into the power grid QR code in step S13 includes the following steps:

[0158] S131, converting the grid code into a matrix code;

[0159] S132, converting the matrix code into a binary matrix code, and converting the grid code into a binary grid code;

[0160] S133, counting the total number of binary 0s and binary 1s in the binary matrix code, denoted as Q, where Q represents the total number of binary 0s and binary 1s in the binary matrix code; forming a W×W matrix;

[0161] S134, placing the binary matrix codes into a W×W matrix in order from left to right and from top to bottom;

[0162] S135: Count the total number of binary 1s in the W×W matrix, denoted as E, and determine the relationship between E and F:

[0163] If E ≥ F, where E represents the total number of binary 1s in the W×W matrix and F represents the total number of binary 0s and binary 1s in the binary grid code, then proceed to the next step;

[0164] If E < F, where E represents the total number of binary 1s in the W×W matrix and F represents the total number of binary 0s and binary 1s in the binary grid code, then connect G - 1 W×W matrices from step S16 after the W×W matrix in step S16 to form a W×GW matrix; proceed to the next step;

[0165] S136, Place the binary grid code into the matrix with binary 1s in sequence from left to right and top to bottom;

[0166] S137, Extract binary 1s and binary 0s in sequence from left to right and top to bottom to obtain a first string; convert the first string into a second string;

[0167] S138, Connect the matrix code with the second string to form a third string, and convert the third string into a two-dimensional code, which is the grid two-dimensional code.

[0168] In a preferred embodiment of the present invention, the calculation method for converting the grid code into a matrix code in step S131 is:

[0169] Matrixnumber = MessageDigestAlgorithm <powergridnumber>,

[0170] Wherein, Matrixnumber represents the matrix code calculated from the power grid code;

[0171] MessageDigestAlgorithm<> indicates the processing method for converting the grid code into the matrix code;

[0172] Powergridnumber indicates the ID number of the power grid operator stored in the handheld mobile terminal.

[0173] In a preferred embodiment of the present invention, the relationship between Q and W in step S133 is:

[0174]

[0175] Where W represents the number of rows and columns in the matrix;

[0176] Q represents the total number of binary 0s and binary 1s in the binary matrix code;

[0177] ∈ means belonging to;

[0178] Z + represents the set of positive integers;

[0179] Indicates taking only the integer part;

[0180] Indicates not belonging.

[0181] In a preferred embodiment of the present invention, the calculation method of G in step S135 is:

[0182]

[0183] Where G represents the number of W×W matrices;

[0184] F represents the total number of binary 0s and binary 1s in the binary grid code;

[0185] E represents the total number of binary 1s in the W×W matrix;

[0186] ∈ means belonging to;

[0187] Z + represents the set of positive integers;

[0188] Indicates taking only the integer part;

[0189] Indicates not belonging.

[0190] In a preferred embodiment of the present invention, in step S138, the matrix code is connected to the second character string to form a third character string as follows:

[0191] Thethirdnumber=Mztrixnumber&Secondnumber,

[0192] Wherein, Thethirdnumber represents the third character string formed by connecting the matrix code and the second character string;

[0193] Mztrixnumber represents the matrix code calculated from the grid code;

[0194] & represents the character connection number;

[0195] Secondnumber represents the second character string converted from the first character string.

[0196] Example: Assume that the power grid code stored in the handheld mobile terminal is: ABCdef123.

[0197] The first step is for the handheld mobile terminal to determine whether it has received a trigger signal to display the grid QR code:

[0198] If the handheld mobile terminal receives a trigger signal to display the grid QR code, the second step is executed;

[0199] If the handheld mobile terminal determines that it has not received the trigger signal for displaying the grid QR code, it continues to wait and returns to the first step;

[0200] The second step is to obtain the ID number of the power grid operator stored in the handheld mobile terminal, which is ABCdef123.

[0201] The third step is to convert the grid code (ID number of the grid operator) into a matrix code:

[0202] Matrixnumber=MessageDigestAlgorithm <powergridnumber>

[0203] =MessageDigestAlgorithm <abcdef123>

[0204] = a599c0002bc5e5f5,

[0205] a599c0002bc5e5f5 is the matrix code. The preferred method for converting the power grid code into the matrix code is to use the MD5 message digest algorithm, and the result is a 16-bit hexadecimal result.

[0206] In the fourth step, convert the matrix code a599c0002bc5e5f5 into the binary matrix code 1010010110011001110000000000000000101011110001011110010111110101, and convert the power grid code ABCdef123 into the binary power grid code 11100011001010101010011000010111110000101101001001011; the corresponding numerical values of the characters are shown in Table 1.

[0207] Table 1 Character (numerical value) - numerical value correspondence table

[0208] character 0 1 2 3 4 5 6 7 8 Numerical 0 1 2 3 4 5 6 7 8 character 9 a b c d e f g h Numerical 9 10 11 12 13 14 15 16 17 character <![CDATA[ i ]]> j k l m n o p q Numerical 18 19 20 21 22 23 24 25 26 character r s t u v w x y z Numerical 27 28 29 30 31 32 33 34 35 character A B C D E F G H I Numerical 36 37 38 39 40 41 42 43 44 character J K L M N O P Q R Numerical 45 46 47 48 49 50 51 52 53 character S T U V W X Y Z Numerical 54 55 56 57 58 59 60 61

[0209] In the fifth step, it is statistically obtained that the total number Q of binary 0s and binary 1s in the binary matrix code 1010010110011001110000000000000000101011110001011110010111110101 is 64, so an 8×8 matrix is formed, as Figure 2 shown. If Q = 66, then an 8×8 matrix is formed.

[0210] In the sixth step, place the binary matrix code 1010010110011001110000000000000000101011110001011110010111110101 into the 8×8 matrix in sequence from left to right and top to bottom; after placing it in the 8×8 matrix, as Figure 3 shown.

[0211] In the seventh step, count Figure 3 the total number E of binary 1s in Figure 3 is 29. Since E = 29 < F = 53, then connect 2 - 1 = 1 Figure 3 8×8 matrix in Figure 4 to form an 8×l6 matrix, as shown.Step 8: Put the binary grid code 11100011001010101010011000010111110000101101001001011 into the matrix with binary 1 in order from left to right and from top to bottom (the binary grid code is placed after or before the binary matrix code, and here the binary grid code is placed after the binary matrix code); Figure 5 Here, find the last two characters in the order from left to right and from top to bottom, and delete all the characters after them. Figure 6 As shown; if the element in the i-th row and j-th column of the matrix is ​​a two-character digit, the binary matrix code should be deleted. Figure 7 shown.

[0213] The ninth step is to extract binary 1 and binary 0 in order from left to right and from top to bottom, and get the first string 10100100000010010000000000000000010001010000100100001010010101100000000100000000000000000101010000001001000011; extract the first character The character string 101001000000100100000000000000000001000101000010010000101000010010101100000000100000000000000000010101010000001001000011 is converted into the second character string 2pVzlUinj2buycWhYzHiP; the second character string is in base 62.

[0214] Step 10: Connect the matrix code a599c0002bc5e5f5 with the second string 2pVzlUinj2buycWhYzHiP to form a third string a599c0002bc5e5f52pVzlUinj2buycWhYzHiP, and convert the third string a599c0002bc5e5f52pVzlUinj2buycWhYzHiP into a QR code. This QR code is the power grid QR code, as shown in the following example: Figure 8 As shown; the grid QR code is displayed on the handheld mobile terminal.

[0215] Step 11: The scanner scans the Figure 8 After entering the grid QR code shown, you will get the entry code a599c0002bc5e5f52pVzlUinj2buycWhYzHiP.

[0216] Step 12: Split the entry code a599c0002bc5e5f52pVzlUinj2buycWhYzHiP into the first entry code and the second entry code:

[0217] Thethirdnumberˊ=Mztrixnumberˊ&Secondnumberˊ

[0218] a599c0002bc5e5f52pVzlUinj2buycWhYzHiP = 599c0002bc5e5f5 & 2pVzlUinj2buycWhYzHiP,

[0219] That is, a599c0002bc5e5f5 is the first entry code and 2pVzlUinj2buycWhYzHiP is the second entry code.

[0220] Step 13: Convert the first entry code a599c0002bc5e5f5 into the binary entry code 1010010110011001110000000000000000101011110001011110010111110101; and convert the second entry code 2pVzlUinj2buycWhYzHiP into the binary second entry code 1010010000001001000000000000000000100010100001001000010100000100101001011000000001000000000000000000101010000001001000011.

[0221] Step 14: Count the total number Qˊ = 64 of binary 0s and binary 1s in the binary entry code 1010010110011001110000000000000000101011110001011110010111110101, and thus form an 8×8 matrix, as Figure 2 shown. If Qˊ = 99, then form a 9×9 matrix.

[0222] Step 15: Place the binary entry code 1010010110011001110000000000000000101011110001011110010111110101 into the 8×8 matrix in order from left to right and top to bottom; after placing it into the 8×8 matrix, as Figure 3 shown.

[0223] Step 16: Since Eˊ = 8×8 = 64 < Fˊ = 121, then after the 8×8 matrix in Figure 3 connect 2 - 1 = 1 Figure 3 The 8×8 matrix in forms an 8×16 matrix, such as Figure 4 shown.

[0224] The seventeenth step is to put the binary entry second code 101001000000100100000000000000000001000101000010010000101000010010101100000000100000000000000000101010000001001000011 into the 8×16 matrix in the order from left to right and from top to bottom (the binary entry second code is placed after or before the binary entry code, and here the binary entry second code is placed after the binary entry code); after being put in, Figure 9 Here, find the last two characters in the order from left to right and from top to bottom, and delete all the characters after them. Figure 10 shown.

[0225] In the eighteenth step, the binary entry second code characters corresponding to the character 1 in the binary entry code are extracted from the matrix in order from left to right and from top to bottom to obtain the fourth character string 11100011001010101010011000010111110000101101001001011; the fourth character string 11100011001010101010011000010111110000101101001001011 is converted into a fifth character string AB Cdef123, which is the judgment code, and the judgment code is in 62-hexadecimal.

[0226] In step 19, since the judgment code exists in the scanner, the scanner sends an open trigger command to the camera. After receiving the open trigger command, the camera determines whether the power grid operator is wearing a power grid safety helmet:

[0227] If the power grid operator wears a power grid safety helmet, the camera sends an open trigger command to the unlocking switch. After receiving the open trigger command, the unlocking switch opens; the power grid operator enters the power grid operation station to perform operations;

[0228] If the power grid operator does not wear a power grid safety helmet, the camera will not send an open trigger command to the unlocking switch, and the camera will send a prompt message to the warning device, which is to wear a power grid safety helmet to enter the power grid operation station.

[0229] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the claims and their equivalents. < / powergridnumber> < / powergridnumber> < / powergridnumber>

Claims

1. A working method for judging the safe operation of a power grid based on a digital network, characterized in that: It includes the following steps: S1. The handheld mobile terminal determines whether it has received a trigger signal for displaying the power grid QR code: If the handheld mobile terminal has received the trigger signal for displaying the power grid QR code, proceed to the next step; If the handheld mobile terminal determines that it has not received the trigger signal for displaying the power grid QR code, continue to wait and return to step S1; S2. Obtain the power grid code stored in the handheld mobile terminal; convert the power grid code into a power grid QR code and display it on the handheld mobile terminal; the method for converting the obtained power grid code into a power grid QR code includes the following steps: S21. Convert the power grid code into a matrix code; S22. Convert the matrix code into a binary matrix code, and convert the power grid code into a binary power grid code; S23. Count the total number of binary zeros and binary ones in the binary matrix code, denoted as Q, where Q represents the total number of binary zeros and binary ones in the binary matrix code; form a W×W matrix; S24. Place the binary matrix code into the W×W matrix in sequence from left to right and top to bottom; S25. Count the total number of binary ones in the W×W matrix, denoted as E, and judge the size relationship between E and F: If E≥F, where E represents the total number of binary ones in the W×W matrix and F represents the total number of binary zeros and binary ones in the binary power grid code, proceed to the next step; If E<F, where E represents the total number of binary ones in the W×W matrix and F represents the total number of binary zeros and binary ones in the binary power grid code, then connect G - 1 W×W matrices in step S24 after the W×W matrix in step S24 to form a W×GW matrix; proceed to the next step; S26. Place the binary power grid code into the matrix with binary ones in sequence from left to right and top to bottom; S27. Extract binary ones and binary zeros in sequence from left to right and top to bottom to obtain a first string; convert the first string into a second string; S28. Connect the matrix code and the second string to form a third string, and convert the third string into a QR code, which is the power grid QR code; S3. After the scanner at the entrance scans the power grid QR code shown by the handheld mobile terminal, obtain an entrance code; S4. Obtain a judgment code based on the entrance code and judge whether the judgment code exists in the scanner: If the judgment code exists in the scanner, proceed to the next step; If the judgment code does not exist in the scanner, the scanner sends a prompt message to the warning device, and the prompt message is that non-power grid operators are not allowed to enter the power grid operation station; S5. The scanner sends an activation trigger command to the camera. After the camera receives the activation trigger command, the camera judges whether the power grid operator is wearing a power grid safety helmet: If the power grid operator is wearing a power grid safety helmet, the camera sends an open trigger command to the unlocking switch. After the unlocking switch receives the open trigger command, the unlocking switch opens; the power grid operator enters the power grid operation station to perform operations; If the power grid operator does not wear a power grid safety helmet, the camera does not send an opening trigger command to the unlocking switch, and the camera sends a prompt message to the warning device. The prompt message is "Please wear a power grid safety helmet and enter the power grid operation station"; return to step S3.

2. The working method for judging power grid safety operation based on a digital network according to claim 1, characterized in that: The method for obtaining the judgment code according to the entry code in step S4 includes the following steps: S221, split the entry code into the first entry code and the second entry code; S222, convert the first entry code into a binary entry code; and convert the second entry code into a binary second entry code; S223, count the total number of binary 0s and binary 1s in the binary entry code, denoted as Qˊ, where Qˊ represents the total number of binary 0s and binary 1s in the binary entry code; form a Wˊ×Wˊ matrix; S224, sequentially place the binary entry code into the Wˊ×Wˊ matrix in the order from left to right and top to bottom; S225, judge the size relationship between Eˊ and Fˊ: If Eˊ≥Fˊ, where Eˊ represents the number of elements in the Wˊ×Wˊ matrix, and its value is equal to Wˊ×Wˊ, and Fˊ represents the total number of binary 0s and binary 1s in the binary second entry code, then execute the next step; If Eˊ<Fˊ, where Eˊ represents the number of elements in the Wˊ×Wˊ matrix, and its value is equal to Wˊ×Wˊ, and Fˊ represents the total number of binary 0s and binary 1s in the binary second entry code, then connect Gˊ-1 Wˊ×Wˊ matrices in step S223 to form a Wˊ×GˊWˊ matrix; execute the next step; S226, sequentially place the binary second entry code into the matrix in the order from left to right and top to bottom; S227, sequentially extract characters from the matrix in the order from left to right and top to bottom to obtain the fourth string; convert the fourth string into the fifth string, and the fifth string is the judgment code.

3. The working method for judging power grid safety operation based on a digital network according to claim 2, characterized in that: The method for splitting the entry code into the first entry code and the second entry code in step S221 is: thethirdnumberˊ=Matrixnumberˊ&Secondnumberˊ, where thethirdnumberˊ represents the entry code obtained after the scanner scans the power grid two-dimensional code shown by the handheld mobile terminal; Matrixnumberˊ represents the first entry code split from the entry code, which is the 1st to the Lth digit from left to right of the entry code, and L is the number of digits of the matrix code; & represents the character concatenation symbol; Secondnumberˊ represents the second entry code split from the entry code.

4. The working method for judging power grid safety operation based on a digital network according to claim 3, characterized in that: The relationship between Qˊ and Wˊ in step S223 is: , where Wˊ represents the number of rows and columns in the Wˊ×Wˊ matrix; Qˊ represents the total number of binary 0s and binary 1s in the binary entry code; ∈ represents belongs to; Z + represents the set of positive integers; Indicates taking only the integer part; Indicates not belonging.

5. The working method for judging power grid safety operation based on a digital network according to claim 3, characterized in that: The calculation method of Gˊ in step S225 is: , where Gˊ represents the number of Wˊ×Wˊ matrices; Fˊ represents the total number of binary 0s and binary 1s in the binary second entry code; Eˊ represents the total number of binary 1s in the Wˊ×Wˊ matrix; ∈ represents belongs to; Z + represents the set of positive integers; Indicates taking only the integer part; Indicates not belonging.

6. The working method for judging power grid safety operation based on a digital network according to claim 1, characterized in that: The relationship between Q and W in step S23 is: , where W represents the number of rows and columns in the matrix; Q represents the total number of binary 0s and binary 1s in the binary matrix code; ∈ means belonging to; Z+ represents the set of positive integers; Indicates taking only the integer part; Indicates not belonging.

7. The working method for judging power grid safety operation based on a digital network according to claim 1, characterized in that: In step S25, the calculation method of G is: , Where G represents the number of W×W matrices; F represents the total number of binary 0s and binary 1s in the binary grid code; E represents the total number of binary 1s in the W×W matrix; ∈ means belonging to; Z + represents the set of positive integers; Indicates taking only the integer part; Indicates not belonging.

8. The working method for determining power grid safety operation based on a digital network according to claim 1, characterized in that: In step S28, the matrix code is connected to the second character string to form a third character string as follows: Thethirdnumber=Mztrixnumber&Secondnumber, Wherein, Thethirdnumber represents the third character string formed by connecting the matrix code and the second character string; Mztrixnumber represents the matrix code calculated from the grid code; & represents the character connection number; Secondnumber represents the second character string converted from the first character string.

9. The working method for judging power grid safety operation based on a digital network according to claim 1, characterized in that: In step S21, the calculation method for converting the grid code into the matrix code is: Matrixnumber=MessageDigestAlgorithm <powergridnumber> ,< / powergridnumber> Wherein, Matrixnumber represents the matrix code calculated from the power grid code; MessageDigestAlgorithm< > represents the processing method for converting the grid code into the matrix code; Powergridnumber indicates the ID number of the power grid operator stored in the handheld mobile terminal.

Citation Information

Patent Citations

  • Rectangular fixed dot matrix information encoding and decoding method

    CN106845593A

  • Power distribution network operation site safety monitoring method and system

    CN113315952A