A data encryption method and related device for a power grid secondary security system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2026-08-14
AI Technical Summary
然而随着智能电网开放性的增加,用户的各种信息以及隐私性面临着安全隐患
[0038]This application provides a data encryption method for a power grid secondary security system, comprising: acquiring binary plaintext to be encrypted in the power grid secondary security system, the binary plaintext including plaintext forwarded by a substation remote motor; performing a recursive rolling operation on the binary plaintext bit by bit to obtain a primary ciphertext and using it as one of the transmission signals of the communication system; performing interpolation and overflow operations on the binary plaintext, performing a recursive rolling operation to obtain a pseudo ciphertext and using it as a transmission signal of the communication system.
Smart Images

Figure CN116471120B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power technology, and in particular to a data encryption method and related device for a power grid secondary security system. Background Technology
[0002] With the deepening application of information technology in the power sector, smart grids have deeply integrated traditional power grids with technologies such as cloud computing and artificial intelligence. Smart control centers can collect and analyze a large amount of information from users and make decisions to improve profitability.
[0003] Smart grids are essentially the intelligent transformation of traditional power grids. They achieve two-way information exchange through advanced sensing and measurement technologies, advanced equipment technologies, advanced control methods, and advanced decision support systems. However, with the increasing openness of smart grids, user information and privacy face security risks. Smart grids are characterized by complexity, strong coupling, and strong correlation; therefore, researching user data security and privacy protection is of significant practical importance. Consequently, encryption technologies during data transmission play a crucial role in the development of smart grids. Summary of the Invention
[0004] This application provides a data encryption method and related device for a power grid secondary security system, which is used to improve the encryption effect during data transmission in the secondary security system.
[0005] In view of this, the first aspect of this application provides a data encryption method for a power grid secondary security system, the method comprising:
[0006] Obtain the binary plaintext to be encrypted in the power grid secondary security system, wherein the binary plaintext includes plaintext forwarded by the substation remote motor;
[0007] The binary plaintext is subjected to a recursive rolling operation bit by bit to obtain a ciphertext, which is then used as one of the transmission signals of the communication system.
[0008] After interpolation and overflow operations are performed on the binary plaintext, a recursive rolling operation is performed to obtain pseudo-ciphertext, which is then used as the transmission signal of the communication system.
[0009] Optionally, the step of obtaining the binary plaintext to be encrypted in the power grid secondary security system includes: plaintext forwarded by the substation remote machine, specifically including:
[0010] Obtain a set of binary plaintext from a substation remote control unit in the power grid secondary security system. .
[0011] Optionally, the step of performing a recursive rolling operation on the binary plaintext bit by bit to obtain a ciphertext and using it as one of the transmission signals of the communication system specifically includes:
[0012] For the binary plaintext The recursive rolling operation is represented as:
[0013] ;
[0014] Thus, the ciphertext is obtained. As one of the signals transmitted in a communication system.
[0015] Optionally, after performing interpolation and overflow operations on the binary plaintext, a recursive rolling operation is performed to obtain pseudo-ciphertext, which is then used as the transmission signal of the communication system. Specifically, this includes:
[0016] In sequence Perform interpolation operations , indicating the first Insert binary value after the digits ,in, for Random numbers between , The forwarding time of the remote control signal;
[0017] When insert After the value is obtained, the first bit of the original sequence M overflows, resulting in a new sequence M', which maintains the same number of bits n as the original sequence M.
[0018] Perform a recursive rolling operation on the new sequence M' to obtain the pseudo-ciphertext N', which is then used as the transmission signal of the communication system.
[0019] A second aspect of this application provides a data encryption system for a power grid secondary security system, the system comprising:
[0020] The acquisition unit is used to acquire the binary plaintext to be encrypted in the power grid secondary security system, wherein the binary plaintext includes plaintext forwarded by the substation remote motor;
[0021] The first encryption unit is used to perform a recursive rolling operation on the binary plaintext bit by bit to obtain a ciphertext and use it as one of the transmission signals of the communication system.
[0022] The second encryption unit is used to perform interpolation and overflow operations on the binary plaintext, and then perform a recursive rolling operation to obtain pseudo-ciphertext, which is then used as the transmission signal of the communication system.
[0023] Optionally, the acquisition unit is specifically used for:
[0024] Obtain a set of binary plaintext from a substation remote control unit in the power grid secondary security system. .
[0025] Optionally, the first encryption unit is specifically used for:
[0026] For the binary plaintext The recursive rolling operation is represented as:
[0027] ;
[0028] Thus, the ciphertext is obtained. As one of the signals transmitted in a communication system.
[0029] Optionally, the second encryption unit is specifically used for:
[0030] In sequence Perform interpolation operations , indicating the first Insert binary value after the digits ,in, for Random numbers between , The forwarding time of the remote control signal;
[0031] When insert After the value is obtained, the first bit of the original sequence M overflows, resulting in a new sequence M', which maintains the same number of bits n as the original sequence M.
[0032] Perform a recursive rolling operation on the new sequence M' to obtain the pseudo-ciphertext N', which is then used as the transmission signal of the communication system.
[0033] A third aspect of this application provides a data encryption device for a power grid secondary security system, the device comprising a processor and a memory:
[0034] The memory is used to store program code and transmit the program code to the processor;
[0035] The processor is configured to execute the steps of the data encryption method for the power grid secondary security system as described in the first aspect above, according to the instructions in the program code.
[0036] The fourth aspect of this application provides a computer-readable storage medium for storing program code for executing the data encryption method of the power grid secondary security system described in the first aspect.
[0037] As can be seen from the above technical solutions, this application has the following advantages:
[0038] This application provides a data encryption method for a power grid secondary security system, comprising: acquiring binary plaintext to be encrypted in the power grid secondary security system, the binary plaintext including plaintext forwarded by a substation remote motor; performing a recursive rolling operation on the binary plaintext bit by bit to obtain a primary ciphertext and using it as one of the transmission signals of the communication system; performing interpolation and overflow operations on the binary plaintext, performing a recursive rolling operation to obtain a pseudo ciphertext and using it as a transmission signal of the communication system.
[0039] The data encryption method for the power grid secondary security system provided in this embodiment adopts a time-division transmission mode of true and false ciphertext to confuse illegal decryption behavior; furthermore, the interpolation parameters change in real time, which greatly increases the ciphertext mapping space and brings huge costs to the enemy's brute-force cracking; thereby improving the encryption effect in the data transmission process of the secondary security system. Attached Figure Description
[0040] Figure 1 This is a flowchart illustrating a data encryption method for a power grid secondary security system provided in this application embodiment;
[0041] Figure 2 This is a schematic diagram illustrating a bitwise recursive rolling operation on plaintext D provided in an embodiment of this application;
[0042] Figure 3 This is a schematic diagram illustrating the execution of a rolling operation on plaintext M according to an embodiment of this application;
[0043] Figure 4 This is a schematic diagram illustrating the performance of a rolling operation on sequence M' provided in an embodiment of this application;
[0044] Figure 5 This is a schematic diagram of the data encryption method for a power grid secondary security system provided in the embodiments of this application. Detailed Implementation
[0045] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0046] Please see Figure 1 The data encryption method for a power grid secondary security system provided in this application embodiment includes:
[0047] Step 101: Obtain the binary plaintext to be encrypted in the power grid secondary security system. The binary plaintext includes: plaintext forwarded by the substation remote motor.
[0048] It should be noted that, for the sake of explaining the technical solution, a set of binary plaintext from the substation remote control is provided. .
[0049] Step 102: Perform a recursive rolling operation on the binary plaintext bit by bit to obtain a ciphertext, which is then used as one of the transmission signals of the communication system.
[0050] It should be noted that, as Figure 2 As shown, a recursive rolling operation is performed bit by bit on plaintext D: The formula is expressed as:
[0051] ;
[0052] The ciphertext is obtained through the above recursive rolling calculation. As one of the signals transmitted in a communication system.
[0053] Step 103: After performing interpolation and overflow operations on the binary plaintext, a recursive rolling operation is performed to obtain pseudo-ciphertext, which is then used as the transmission signal of the communication system.
[0054] It should be noted that, in order to disrupt the enemy's methods of cracking the intercepted signal, a time-division true and false key transmission mode is further designed, that is, in addition to transmitting the ciphertext N, the channel also contains a false signal N'.
[0055] The pseudo-signal N' is generated through interpolation overflow operation, and the specific steps are as follows:
[0056] 1) Interpolation operation. In a sequence Perform interpolation operations , indicating the first Insert binary value after the digits .in, for Random numbers between . The forwarding time of the remote control signal is taken as seconds in this embodiment, i.e. ;
[0057] 2) Overflow operation. Insertion After the value is obtained, the first bit of the original sequence M overflows, resulting in a new sequence M', which maintains the same number of bits n as the original sequence M.
[0058] 3) Perform a recursive rolling operation on the new sequence M' after operations 1) and 2) to obtain the pseudo-ciphertext N'.
[0059] The following are examples provided in the embodiments of this application:
[0060] There is a plaintext set M=[1,1,0,1,0,1,0];
[0061] 1) Perform a rolling operation on M, such as Figure 3 As shown: the ciphertext N=[0,1,1,0,0,1,1] is obtained.
[0062] 2) Suppose that an interpolation operation is performed on M. And overflows from the first character, resulting in M'=[1,0,1,1,0,1,0]
[0063] 3) Perform a rolling operation on the new sequence M', such as... Figure 4 As shown: the pseudo-ciphertext N'=[1,1,0,1,1,0,0] is obtained.
[0064] At this point, the encryption process is complete, yielding ciphertext M' and pseudo-ciphertext N'. Both will be used for signal transmission, conveying the same plaintext information M. Note: At any given time, the channel cannot simultaneously carry signals M' and N'; only M' or N' can be transmitted. The reader will verify the authenticity of the received ciphertext (using pre-received interpolation parameters) before performing further translation.
[0065] The data encryption method for the power grid secondary security system provided in this embodiment adopts a time-division transmission mode of true and false ciphertext to confuse illegal decryption behavior; furthermore, the interpolation parameters change in real time, which greatly increases the ciphertext mapping space and brings huge costs to the enemy's brute-force cracking; thereby improving the encryption effect in the data transmission process of the secondary security system.
[0066] The above describes a data encryption method for a power grid secondary security system provided in the embodiments of this application. The following describes a data encryption system for a power grid secondary security system provided in the embodiments of this application.
[0067] Please see Figure 5 The data encryption system for a power grid secondary security system provided in this application embodiment includes:
[0068] The acquisition unit 201 is used to acquire the binary plaintext to be encrypted in the power grid secondary security system. The binary plaintext includes plaintext forwarded by the substation remote motor.
[0069] The first encryption unit 202 is used to perform a recursive rolling operation on the binary plaintext bit by bit to obtain a ciphertext and use it as one of the transmission signals of the communication system.
[0070] The second encryption unit 203 is used to perform interpolation and overflow operations on the binary plaintext, perform recursive rolling calculations to obtain pseudo-ciphertext and use it as the transmission signal of the communication system.
[0071] Furthermore, this application embodiment also provides a data encryption device for a power grid secondary security system, the device including a processor and a memory:
[0072] The memory is used to store program code and transmit the program code to the processor;
[0073] The processor is used to execute the steps of the data encryption method for the power grid secondary security system as described in the above method embodiments, according to the instructions in the program code.
[0074] Furthermore, this application embodiment also provides a computer-readable storage medium for storing program code, which is used to execute the data encryption method of the power grid secondary security system described in the above method embodiment.
[0075] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0076] The terms "first," "second," "third," "fourth," etc., used in this application's specification and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0077] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0078] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0079] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0080] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0081] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.
[0082] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A data encryption method for a power grid secondary security system, characterized in that, include: Obtain the binary plaintext to be encrypted in the power grid secondary security system, wherein the binary plaintext includes plaintext forwarded by the substation remote motor; The binary plaintext is subjected to a recursive rolling operation bit by bit to obtain a ciphertext, which is then used as one of the transmission signals of the communication system. After interpolating and overflowing the binary plaintext, a recursive rolling operation is performed to obtain pseudo-ciphertext, which is then used as the transmission signal of the communication system. Wherein, the primary ciphertext and the pseudo ciphertext are transmitted in a time-division multiplexing mode, wherein the channel transmits only the primary ciphertext or the pseudo ciphertext at any given time. The step of performing a recursive rolling operation on the binary plaintext bit by bit to obtain a ciphertext, which is then used as one of the transmission signals of the communication system, specifically includes: For the binary plaintext The recursive rolling operation is represented as: ; Thus, the ciphertext is obtained. As one of the signals transmitted in a communication system; After performing interpolation and overflow operations on the binary plaintext, a recursive rolling operation is performed to obtain pseudo-ciphertext, which is then used as the transmission signal of the communication system. Specifically, this includes: In sequence Perform interpolation operations , indicating the first Insert binary value after the digits ,in, for Random numbers between , The forwarding time of the remote control signal is in seconds. ; When insert After the value is obtained, the first bit of the original sequence M overflows, resulting in a new sequence M', which maintains the same number of bits n as the original sequence M. Perform a recursive rolling operation on the new sequence M' to obtain the pseudo-ciphertext N', which is then used as the transmission signal of the communication system.
2. The data encryption method for the power grid secondary security system according to claim 1, characterized in that, The process of acquiring the binary plaintext to be encrypted in the power grid secondary security system includes: plaintext forwarded by the substation remote machine, specifically including: Obtain a set of binary plaintext from a substation remote control unit in the power grid secondary security system. .
3. A data encryption system for a power grid secondary security system, characterized in that, include: The acquisition unit is used to acquire the binary plaintext to be encrypted in the power grid secondary security system, wherein the binary plaintext includes plaintext forwarded by the substation remote motor; The first encryption unit is used to perform a recursive rolling operation on the binary plaintext bit by bit to obtain a ciphertext and use it as one of the transmission signals of the communication system. The second encryption unit is used to perform interpolation and overflow operations on the binary plaintext, and then perform a recursive rolling operation to obtain pseudo-ciphertext and use it as the transmission signal of the communication system. Wherein, the primary ciphertext and the pseudo ciphertext are transmitted in a time-division multiplexing mode, wherein the channel transmits only the primary ciphertext or the pseudo ciphertext at any given time. The first encryption unit is specifically used for: For the binary plaintext The recursive rolling operation is represented as: ; Thus, the ciphertext is obtained. As one of the signals transmitted in a communication system; The second encryption unit is specifically used for: In sequence Perform interpolation operations , indicating the first Insert binary value after the digits ,in, for Random numbers between , The forwarding time of the remote control signal is in seconds. ; When insert After the value is obtained, the first bit of the original sequence M overflows, resulting in a new sequence M', which maintains the same number of bits n as the original sequence M. Perform a recursive rolling operation on the new sequence M' to obtain the pseudo-ciphertext N', which is then used as the transmission signal of the communication system.
4. The data encryption system of the power grid secondary security system according to claim 3, characterized in that, The acquisition unit is specifically used for: Obtain a set of binary plaintext from a substation remote control unit in the power grid secondary security system. .
5. A data encryption device for a power grid secondary security system, characterized in that, The device includes a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the data encryption method of the power grid secondary security system according to any one of the claims 1-2, based on the instructions in the program code.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store program code, which is used to execute the data encryption method of the power grid secondary security system according to any one of claims 1-2.
Citation Information
Patent Citations
System and method for conducting a secure interactive communication session
US20020194501A1
Block encryption
US20130136256A1