A chaos encryption method for power system communication and related devices
By applying the chaotic encryption method of Fermi-Ulam model and Logistic mapping in power system communication, the problem of poor communication security in power system is solved, and the safe and reliable transmission of power scheduling instructions is realized, which significantly improves the security and reliability of communication.
Patent Information
- Application Number
- CN202410908837.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2044-07-08
AI Technical Summary
The existing power system has poor communication security and cannot guarantee the safe and reliable transmission of power scheduling instructions.
A chaotic encryption method for power system communication is adopted. By binary conversion of power scheduling instructions, a chaotic encryption sequence is generated based on the Fermi-Ulam model. After logistic mapping secondary encryption, a complex chaotic encryption sequence is generated, and the binary plaintext and complex chaotic encryption sequence are combined to generate ciphertext to be transmitted to the execution terminal for decryption.
It significantly improves the security and reliability of power system communication, enhances the confidentiality of power scheduling instructions, and reduces the risk of being maliciously attacked.
Smart Images

Figure CN118784206B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of power system communication, and particularly relates to a chaotic encryption method for power system communication and related devices. Background Art
[0002] The importance of power system communication security lies in its direct relation to the overall stability, efficient operation and information security of the power system. In modern power systems, communication, as the link connecting all aspects, undertakes key tasks such as real-time data exchange, instruction transmission and monitoring management. Once the communication security is threatened, it may lead to serious consequences such as power supply interruption, system collapse and even data leakage, causing a huge impact on the stable operation of the social economy and people's lives. Therefore, ensuring power system communication security is of crucial importance and is the basis for ensuring the safe, reliable and efficient operation of the power system.
[0003] As the power dispatching center, the central hub of power system communication, often issues power dispatching instructions to executing agencies such as substations and substation maintenance centers, and these executing agencies perform corresponding tasks according to the power dispatching instructions issued above; generally, the power dispatching center often uses the dedicated telephone line method to issue power dispatching instructions to the executing agencies. Although the communication method using the dedicated telephone line can achieve efficient end-to-end transmission of instructions, this communication method has certain limitations, specifically manifested in: First, the security of telephone line communication is relatively low and is easily attacked by hackers or maliciously interfered. This may lead to the tampering or leakage of dispatching instructions, posing a threat to the safe operation of the power system; Second, the coverage of telephone line communication is limited, and telephone line communication may not be able to cover all areas, especially some remote areas; In order to cover these areas, power companies may need to additionally install dedicated lines, further increasing the cost.
[0004] It can be seen that the existing power system communication has poor security and cannot ensure the safe and reliable transmission of power dispatching instructions. Summary of the Invention
[0005] To overcome the above technical drawbacks, the present invention provides a chaotic encryption method for power system communication and related devices, which can solve the technical problem that the existing power system communication has poor security and cannot ensure the safe and reliable transmission of power dispatching instructions.
[0006] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0007] A chaotic encryption method for power system communication, applied to a power dispatching center, includes:
[0008] S1: Convert the power dispatching instruction into binary to obtain a binary plaintext;
[0009] S2: Generate a chaotic encryption sequence based on the Fermi-Ulam model according to the preset key;
[0010] S3: Use Logistic mapping to perform secondary encryption on the chaotic encryption sequence to generate a complex chaotic encryption sequence;
[0011] S4: Combine the binary plaintext with the complex chaotic encryption sequence to generate ciphertext, and transmit the ciphertext to the execution terminal so that the execution terminal can decrypt the ciphertext based on the received preset key to obtain the power dispatch instruction.
[0012] Furthermore, in S1, the specific steps of converting the power dispatch instruction into binary are as follows:
[0013] According to the GB2312-80 character set, the power dispatching instruction is converted into ACSI code to obtain binary plain text.
[0014] Furthermore, the preset key includes three parts: Q, P and K, wherein Q represents the initial value input into the Fermi-Ulam model; P represents the starting point for data acquisition; and K represents the number of iterations.
[0015] Furthermore, the specific steps of generating a chaotic encryption sequence based on the Fermi-Ulam model include:
[0016] The initial value Q is normalized and input into the Fermi-Ulam model. After K iterations, the chaotic sequence is obtained.
[0017] Take the Pth data from the chaotic sequence, and take L bits in total, where L represents the number of bits of the binary plaintext. After taking the data, the chaotic encryption sequence is obtained.
[0018] Furthermore, the specific steps of using Logistic mapping to perform secondary encryption on the chaotic encryption sequence are as follows:
[0019] The obtained chaotic encryption sequence is iterated K times using Logistic mapping to obtain a complex chaotic encryption sequence.
[0020] Furthermore, in S4, the specific steps of decrypting the ciphertext based on the received preset key include:
[0021] Step 1: Input the received preset key into the Fermi-Ulam model for decryption processing to obtain a chaotic encryption sequence;
[0022] Step 2: Use Logistic mapping to perform secondary decryption on the chaotic encryption sequence to obtain a complex chaotic encryption sequence;
[0023] Step 3: Remove the complex chaotic encryption sequence from the received ciphertext to obtain binary plaintext;
[0024] Step 4: Convert the binary plaintext to obtain a power dispatching instruction.
[0025] Further, it specifically includes: normalizing the initial value Q in the preset key, inputting the normalized initial value Q into the Fermi-Ulam model, and after K iterations of calculation, obtaining a chaotic sequence; taking numbers from the P-th data in the chaotic sequence, with a total of L digits taken, where L represents the number of digits of the binary plaintext, and after taking the numbers, obtaining a chaotic encryption sequence; performing K iterations on the obtained chaotic encryption sequence using the Logistic map to obtain a complex chaotic encryption sequence; subtracting the complex chaotic encryption sequence from the received ciphertext according to the decimal calculation method to obtain the binary plaintext.
[0026] A chaotic encryption system for power system communication, used to implement the steps of the above-mentioned chaotic encryption method for power system communication, includes:
[0027] A plaintext conversion module, used to convert the power dispatching instruction into binary to obtain binary plaintext;
[0028] A primary encryption module, used to generate a chaotic encryption sequence based on the preset key and the Fermi-Ulam model;
[0029] A secondary encryption module, used to perform secondary encryption on the chaotic encryption sequence using the Logistic map to generate a complex chaotic encryption sequence;
[0030] A ciphertext output module, used to combine the binary plaintext with the complex chaotic encryption sequence to generate ciphertext, and transmit the ciphertext to the execution terminal for the execution terminal to decrypt the ciphertext based on the received preset key to obtain the power dispatching instruction.
[0031] A device includes:
[0032] A memory, used to store a computer program;
[0033] A processor, used to implement the steps of the above-mentioned chaotic encryption method for power system communication when executing the computer program.
[0034] A computer-readable storage medium stores a computer program, and the computer program is used to implement the steps of the above-mentioned chaotic encryption method for power system communication when executed by a processor.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] The present invention also provides a chaotic encryption method for power system communication. First, the power dispatching instruction is converted into binary, and then based on a preset key, a chaotic encryption sequence is generated according to the Fermi-Ulam model to achieve primary encryption. Then, the chaotic encryption sequence is secondarily encrypted using the Logistic map to obtain a complex chaotic encryption sequence. Finally, the binary plaintext is combined with the complex chaotic encryption sequence to generate the ciphertext, and at the same time, the ciphertext is transmitted to the execution terminal for the execution terminal to decrypt the ciphertext based on the received preset key to obtain the power dispatching instruction. The Fermi-Ulam model adopted by this method contains multiple parameters, and any change in the parameters will cause significant changes in the system parameters. Encryption based on the Fermi-Ulam model provides a larger key selection space and can significantly improve the complexity of the encryption process. The Fermi-Ulam model is a two-dimensional system, taking into account both key complexity and encryption / decryption efficiency, which is very in line with the requirements of power system mobile terminal communication encryption.
[0037] Preferably, in the present invention, according to the GB2312-80 character set, the power dispatching instruction is converted into ASCII code to obtain the binary plaintext, which clarifies the specific steps of the binary conversion of the power dispatching instruction, ensures the accuracy and consistency of data conversion, and provides a reliable data basis for subsequent encryption processing.
[0038] Preferably, in the present invention, the preset key is subdivided into three parts: Q, P, and K, which provides more possibilities for the flexible configuration and security of the key, increasing the complexity and security of the encryption system.
[0039] Preferably, in the present invention, the preset key is encrypted using the Fermi-Ulam model, and a specific method for extracting numbers from the chaotic sequence is provided, ensuring the randomness and unpredictability of the chaotic encryption sequence and improving the encryption effect.
[0040] Preferably, in the present invention, the chaotic encryption sequence is secondarily encrypted using the Logistic map, further enhancing the complexity and security of the encryption, greatly increasing the cracking difficulty, and effectively protecting the confidentiality of the power dispatching instruction.
[0041] Preferably, in the present invention, it also includes a decryption process, and the processing process is similar to the encryption process, ensuring that the receiving end can accurately and efficiently decrypt the power dispatching instruction, guaranteeing the real-time and effectiveness of communication.
[0042] Preferably, in the present invention, through the iterative calculation of the Fermi-Ulam model and the Logistic map, as well as the subtraction operation between the ciphertext and the complex chaotic encryption sequence, the accuracy and reliability of the decryption process are ensured, further guaranteeing the secure transmission of the power dispatching instruction. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1Schematic diagram of the application scenario of a chaos encryption method for power system communication provided by an embodiment of the present invention;
[0044] Figure 2 Scheduling flowchart of the application scenario of a chaos encryption method for power system communication provided by an embodiment of the present invention;
[0045] Figure 3 Bifurcation diagram of a certain state variable encrypted by using the chaos encryption method for power system communication provided by an embodiment of the present invention;
[0046] Figure 4 Maximum Lyapunov exponent diagram encrypted by using the chaos encryption method for power system communication provided by an embodiment of the present invention;
[0047] Figure 5 Flowchart of a chaos encryption method for power system communication provided by the present invention;
[0048] Figure 6 Structural schematic diagram of a chaos encryption system for power system communication provided by the present invention. Detailed implementation manners
[0049] The present invention provides a chaos encryption method for power system communication, as Figure 5 shown, which includes the following steps:
[0050] S1: According to the GB2312-80 character set, convert the power dispatching instruction into ACSII code to obtain binary plaintext.
[0051] S2: Generate a chaos encryption sequence based on the Fermi-Ulam model according to a preset key;
[0052] Specifically, the specific steps of encrypting the preset key by using the Fermi-Ulam model include:
[0053] Normalize the initial value Q, and input the normalized initial value into the Fermi-Ulam model. After K iterations, a chaos sequence is obtained;
[0054] Take numbers from the P-th data in the chaos sequence, with a total of L digits. L represents the number of digits of the binary plaintext. After taking numbers, a chaos encryption sequence is obtained.
[0055] S3: Use the Logistic map to perform secondary encryption on the chaos encryption sequence to generate a complex chaos encryption sequence;
[0056] The specific steps of using the Logistic map to perform secondary encryption on the chaos encryption sequence are as follows:
[0057] The obtained chaotic encryption sequence is iterated K times using the Logistic map to obtain a complex chaotic encryption sequence.
[0058] S4: Combine the binary plaintext with the complex chaotic encryption sequence to generate ciphertext, and transmit the ciphertext to the execution terminal for the execution terminal to decrypt the ciphertext based on the received preset key to obtain the power dispatch instruction.
[0059] The preset key includes three parts: Q, P, and K. Among them, Q represents the initial value input to the Fermi-Ulam model; P represents the starting point for taking numbers; K represents the number of iterations.
[0060] In S4, the specific steps for decrypting the ciphertext based on the received preset key include:
[0061] Step 1: Input the received preset key into the Fermi-Ulam model for decryption processing to obtain a chaotic encryption sequence;
[0062] Step 2: Use the Logistic map to perform secondary decryption on the chaotic encryption sequence to obtain a complex chaotic encryption sequence;
[0063] Step 3: Subtract the complex chaotic encryption sequence from the received ciphertext to obtain the binary plaintext;
[0064] Step 4: Convert the binary plaintext to obtain the power dispatch instruction.
[0065] More specific steps include: performing normalization processing on the initial value Q in the preset key, inputting the normalized initial value Q into the Fermi-Ulam model, and after completing K iterations of calculation, obtaining a chaotic sequence; taking numbers from the Pth data in the chaotic sequence, with a total of L digits taken, where L represents the number of digits of the binary plaintext, and after taking numbers, obtaining a chaotic encryption sequence; using the Logistic map to perform K iterations on the obtained chaotic encryption sequence to obtain a complex chaotic encryption sequence; subtracting the complex chaotic encryption sequence from the received ciphertext according to the decimal calculation method to obtain the binary plaintext.
[0066] As Figure 6 shown, the present invention also provides a chaotic encryption system for power system communication, including: a plaintext conversion module for converting the power dispatch instruction into binary to obtain binary plaintext; a primary encryption module for generating a chaotic encryption sequence based on the preset key using the Fermi-Ulam model; a secondary encryption module for performing secondary encryption on the chaotic encryption sequence using the Logistic map to generate a complex chaotic encryption sequence; a ciphertext output module for combining the binary plaintext with the complex chaotic encryption sequence to generate ciphertext and transmitting the ciphertext to the execution terminal for the execution terminal to decrypt the ciphertext based on the received preset key to obtain the power dispatch instruction.
[0067] The present invention also provides a device, including: a memory for storing a computer program; and a processor for implementing the steps of the chaotic encryption method for power system communication when executing the computer program.
[0068] When the processor executes the computer program, the steps of the above-mentioned chaotic encryption for power system communication are implemented. For example: converting the power dispatching instruction into binary to obtain binary plaintext; generating a chaotic encryption sequence based on the Fermi-Ulam model according to a preset key; performing secondary encryption on the chaotic encryption sequence by using the Logistic map to generate a complex chaotic encryption sequence; combining the binary plaintext with the complex chaotic encryption sequence to generate ciphertext, and transmitting the ciphertext to an execution terminal for the execution terminal to decrypt the ciphertext based on the received preset key to obtain the power dispatching instruction.
[0069] Alternatively, when the processor executes the computer program, the functions of each module in the above-mentioned system are implemented. For example: a plaintext conversion module for converting the power dispatching instruction into binary to obtain binary plaintext; a primary encryption module for generating a chaotic encryption sequence based on the Fermi-Ulam model according to a preset key; a secondary encryption module for performing secondary encryption on the chaotic encryption sequence by using the Logistic map to generate a complex chaotic encryption sequence; a ciphertext output module for combining the binary plaintext with the complex chaotic encryption sequence to generate ciphertext, and transmitting the ciphertext to an execution terminal for the execution terminal to decrypt the ciphertext based on the received preset key to obtain the power dispatching instruction.
[0070] Exemplarily, the computer program may be divided into one or more modules / units. The one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing preset functions, and the instruction segments are used to describe the execution process of the computer program in the chaotic encryption device for power system communication. For example, the computer program may be divided into a plaintext conversion module, a primary encryption module, a secondary encryption module, and a ciphertext output module; the specific functions of each module are as follows: the plaintext conversion module for converting the power dispatching instruction into binary to obtain binary plaintext; the primary encryption module for generating a chaotic encryption sequence based on the Fermi-Ulam model according to a preset key; the secondary encryption module for performing secondary encryption on the chaotic encryption sequence by using the Logistic map to generate a complex chaotic encryption sequence; the ciphertext output module for combining the binary plaintext with the complex chaotic encryption sequence to generate ciphertext, and transmitting the ciphertext to an execution terminal for the execution terminal to decrypt the ciphertext based on the received preset key to obtain the power dispatching instruction.
[0071] The chaotic encryption device for power system communication can be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. The chaotic encryption device for power system communication may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the above are examples of the chaotic encryption device for power system communication, which do not constitute a limitation on the chaotic encryption device for power system communication. It may include more components than the above, or combine certain components, or different components. For example, the chaotic encryption device for power system communication may also include input / output devices, network access devices, buses, etc.
[0072] The so-called processor can be a Central Processing Unit (CPU), or other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor can also be any conventional processor, etc. The processor is the control center of the chaotic encryption for power system communication, and uses various interfaces and lines to connect all parts of the chaotic encryption device for power system communication.
[0073] The memory can be used to store the computer programs and / or modules. The processor realizes various functions of the chaotic encryption device for power system communication by running or executing the computer programs and / or modules stored in the memory, and by calling the data stored in the memory.
[0074] The memory may mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, memory, plug-in hard disks, Smart Media Cards (SMCs), Secure Digital (SD) cards, Flash Cards, at least one magnetic disk storage device, flash device, or other volatile solid-state storage devices.
[0075] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the chaotic encryption method for power system communication are implemented.
[0076] If the module / unit integrated by the chaotic encryption system for power system communication is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0077] Based on such understanding, the present invention implements all or part of the processes in the above-mentioned chaotic encryption method for power system communication, and can also be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned chaotic encryption method for power system communication can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or preset intermediate form, etc.
[0078] The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0079] It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electrical carrier signals and telecommunication signals.
[0080] The present invention will be further described below in conjunction with the embodiments and drawings:
[0081] Example 1
[0082] As described in the background technology, in the power system, most of the current communication methods use dedicated telephone lines. Although basic dispatching tasks can be issued through the above communication methods, there are still the following defects: First, the security of telephone line communication is relatively low and is vulnerable to hacker attacks or malicious interference. This may cause the dispatching instructions to be tampered with or leaked, posing a threat to the safe operation of the power system; second, the coverage of telephone line communication is limited, and telephone line communication may not cover all areas, especially some remote areas; in order to cover these areas, power companies may need to set up additional dedicated lines, further increasing costs.
[0083] To solve the above problems, the present invention provides a chaotic encryption method for power system communication. This method applies the Fermi-Ulam model to the encryption algorithm, which not only improves the security of the algorithm but also takes into account the computational efficiency.
[0084] To further understand the chaotic encryption method provided in this embodiment, the following terms are explained as follows:
[0085] Fermi-Ulam model: The Fermi-Ulam model was first proposed by Fermi to explain the generation process of high-energy particles in the universe. After being improved by Ulam, the current model was finally formed.
[0086] The Fermi-Ulam model is an abstract form of a particle system. This particle system contains a charged particle with mass m moving between two infinitely large metal plates. One metal plate is fixed at the position x = l, and the position of the other metal plate is constantly moving, and its position expression is x = ε0cos(wt + φ0). Here, ε0, w, and φ0 are the amplitude, angular frequency, and initial phase of the moving wall, respectively.
[0087] The two metal plates are respectively charged with opposite polarities, and thus a constant electric field with intensity E is generated between them. When the particle collides with the fixed plate, the particle obtains a charge of -q and is subjected to an electric field force Eq towards the oscillating plate. When the particle collides with the oscillating plate, the particle obtains a charge of +q and is subjected to an electric field force towards the fixed plate, with the same magnitude of Eq. Thus, the particle always makes a reciprocating motion between the two plates. Specifically, the expression of the Fermi-Ulam model is as follows:
[0088]
[0089] As Figure 1 shown, this embodiment provides a chaotic encryption method for power system communication. Figure 1 The following is the specific application scenario of the chaotic encryption method provided in this embodiment:
[0090] In the power system, there is a lot of information surrounding power facilities. This information is not only closely related to the daily work of power operation and maintenance personnel, but also extremely sensitive and important information concerning national economy and people's livelihood. This information includes the names, coordinates, key status parameters, etc. of power facilities. Often, when the power dispatching center issues a dispatching order, the above important information will be included in the dispatching order. Once leaked and stolen by some lawbreakers, it will cause very serious consequences. For the above reasons, in the process of the power dispatching center issuing a dispatching order, extremely high security is required. The adjustment of the current power grid operation mode mainly lies in the accurate transmission of dispatching orders from the power dispatching center to each production center. Usually, the main means of order transmission is telephone communication. To ensure the high confidentiality of the dispatching process, many power supply companies specifically use dedicated line landlines and implement strict identity authentication procedures when dispatchers make or answer calls. These series of measures aim to prevent information leakage and ensure the stable operation of the power system from malicious attacks.
[0091] For example, when the executing agency (execution terminal) is a substation or a power plant, after receiving the dispatching order issued by the power dispatching center, corresponding operations are completed according to the instructions of the dispatching order. Examples of dispatching orders are: "Please increase the output of XX Power Plant, with the target value of XX megawatts, to ensure the stability of the power grid."; "XX Substation, please perform a switching operation to transfer XX line from the operating state to the cold standby state."; "Due to a fault on XX line, please immediately start the emergency plan and transfer the load to XX standby line."; "Please XX Power Plant carry out shutdown maintenance from 0:00 to 4:00 tomorrow morning according to the daily power generation plan."; "Due to the weather forecast showing strong winds tonight, please all wind farms make preparations for shutting down the wind turbines to prevent equipment damage."; "Please XX area adjust the reactive power compensation device to improve the voltage stability of this area."; "Due to a fault on XX line, please immediately start the emergency plan, transfer xx load to XY line, turn x switch to operating, and turn x switch to hot standby / cold standby." Power dispatching orders involve various aspects of data in the power system, including the names of power plants, substations, lines, the operating status of lines, the operation procedures of operating personnel, the operation time, etc. Thus, it can be seen that a lot of key and sensitive information is included in the power dispatching orders. As Figure 2 shown, between the power dispatching center and the substation, a secure channel needs to be added; the secure channel is the chaotic encryption method provided in this embodiment. The encryption of the power dispatching order is completed at the power dispatching center end, and decryption is completed at the execution terminal, and the corresponding dispatching tasks are completed according to the power dispatching order.
[0092] This embodiment provides a chaotic encryption method for power system communication. In this method, the original dedicated telephone communication is only used as a secure channel for key transmission. The power dispatching instruction is encrypted into ciphertext by an encryption machine and then transmitted to the substation operation and maintenance center through a mobile terminal. The relevant operation and maintenance personnel use a decryption machine to decrypt the ciphertext to obtain all the content of the dispatching order. Even if lawbreakers obtain the ciphertext or the key during the information transmission process, they cannot decipher the dispatching order, thereby reducing the hidden danger of malicious attacks on the power system. In addition, using a mobile terminal for communication is more convenient and faster than using a fixed telephone. This method specifically includes the following steps:
[0093] The encryption calculation process is as follows:
[0094] Step 1: Binary conversion of the plaintext of Party A: According to the GB2312-80 character set, the power dispatching center converts the Chinese character information such as names in the power dispatching instruction into ACSI codes, and converts the digital information such as coordinates and key parameters into binary numbers to obtain the binary plaintext I, whose number of digits is L.
[0095] Step 2: Input the key: The key consists of three parts: Q, P, and K.
[0096] Step 3: Encryption using the Fermi-Ulam model: Normalize Q so that it is within the range of the chaotic attractor in the phase space. Substitute Q as the initial value into the Fermi-Ulam model and iterate it K times to obtain the chaotic sequence {x(1), x(2), x(3),...}. Starting from the P-th data obtained by iteration, take L digits to obtain the chaotic encryption sequence {x‘(1), x’(2), x‘(3),..., x′(L-1)}.
[0097] Step 4: Re-encryption using the Logistic map: Iterate the obtained sequence K times using the Logistic map to generate the complex chaotic encryption sequence {x‘′(1), x’′(2), x‘′(3),..., x″(L-1)}
[0098] Step 5: Generate the ciphertext: Add the complex chaotic encryption sequence {x‘′(1), x’′(2), x‘′(3),..., x″(L-1)} to the plaintext I according to the decimal calculation method to obtain the ciphertext I’.
[0099] The decryption calculation process is as follows:
[0100] Step 1: Exchange the key to obtain Q, P, and K. Given the ciphertext I’, I’ has L digits.
[0101] Step 2: Perform Q normalization to make it within the range of the phase space attractor. Substitute Q as the initial value into the Fermi-Ulam model and iterate it K times to obtain a chaotic sequence {x(1), x(2), x(3),...}. Starting from the P-th data obtained by iteration, take L bits to obtain a chaotic encryption sequence {x'(1), x'(2), x'(3),..., x′(L - 1)}.
[0102] Step 3: Iterate the obtained sequence K times using the Logistic map to generate a complex chaotic encryption sequence {x''(1), x''(2), x''(3),..., x″(L - 1)}.
[0103] Step 4: Solve the plaintext: Subtract the complex chaotic encryption sequence {x''(1), x''(2), x''(3),..., x″(L - 1)} from the ciphertext I' according to the decimal calculation method to obtain the plaintext I.
[0104] Among them, the key adopts a preset key, and the power dispatching center can inform the execution terminal, such as a substation or a maintenance station, etc., of the preset key by phone, text message or other communication methods.
[0105] Among them, the specific power dispatching instructions are not only text, but also can be in various formats such as pictures, audio or video.
[0106] Embodiment 2
[0107] As Figure 3 and Figure 4 shown, for the above application scenario, a chaotic encryption method for power system communication provided by this embodiment is adopted to solve the problems of security and reliability of the current communication method; as Figure 3 shown, through analysis, it is found that under specific parameters, the Fermi-Ulam model bifurcates from a stable period-one state to an unstable period-two state, and then gradually bifurcates from the unstable period-two state to a chaotic state; and as Figure 4 shown,[[]] Figure 4 is the maximum Lyapunov exponent diagram. After the Lyapunov exponent increases to 0.0155 with the increase of the amplitude ε, its value exceeds 0, indicating that the system enters a chaotic state at this time and has good security performance; it can be seen that this method adopts the Fermi-Ulam model, which is a two-dimensional nonlinear equation set. Compared with a three-dimensional nonlinear equation set, the calculation cost of this method is lower and the efficiency can be guaranteed. Compared with a one-dimensional chaotic equation set, such as a simple logistic map, the complexity is improved. Using this method can ensure the security and reliability of the operation of the entire system.
[0108] In summary, the present invention provides a chaotic encryption method and related equipment for power system communication. Compared with the existing communication methods, this method has the following advantages:
[0109] First, the Fermi-Ulam model belongs to a relatively niche chaotic system. Therefore, many encryption cracking algorithms often do not consider its existence, and its security performance is effectively guaranteed.
[0110] Second, the chaotic state of the Fermi-Ulam model has multiple types of changes. Any change in the system parameters will cause a major change in the system evolution process. Therefore, it is very easy to achieve "confusion" and "diffusion" in the encryption requirements through it.
[0111] Third, the Fermi-Ulam model contains multiple parameters. Any change in a parameter will cause a major change in the system parameters. Therefore, when encrypting based on the Fermi-Ulam model, the key selection space is larger, and the complexity of the encryption process can be significantly improved.
[0112] Fourth, the Fermi-Ulam model is a two-dimensional system, with higher complexity than one-dimensional systems and lower required computing time than systems with more than two dimensions, which very much meets the requirements of power system mobile terminal communication encryption.
[0113] The above embodiments are only one of the implementation manners capable of implementing the technical solution of the present invention. The scope of protection required by the present invention is not limited only by this embodiment, but also includes any changes, substitutions, and other implementation manners that are easily conceivable by any person skilled in the art within the technical scope disclosed by the present invention.
Claims
1. A chaotic encryption method for power system communication, applied to a power dispatching center, characterized in that: include: S1: Convert the power dispatch instruction into binary format to obtain binary plain text; S2: Generate a chaotic encryption sequence based on the Fermi-Ulam model according to a preset key; the preset key includes three parts: Q, P and K, where Q represents the initial value input into the Fermi-Ulam model; P represents the starting point for data acquisition; and K represents the number of iterations; The specific steps of generating a chaotic encryption sequence based on the Fermi-Ulam model include: The initial value Q is normalized and input into the Fermi-Ulam model. After K iterations, the chaotic sequence is obtained. Take the Pth data from the chaotic sequence, and take L digits in total, where L represents the number of digits of the binary plaintext, and get the chaotic encryption sequence after taking the data; S3: Use Logistic mapping to perform secondary encryption on the chaotic encryption sequence to generate a complex chaotic encryption sequence; S4: Combine the binary plaintext with the complex chaotic encryption sequence to generate ciphertext, and transmit the ciphertext to the execution terminal so that the execution terminal can decrypt the ciphertext based on the received preset key to obtain the power dispatch instruction.
2. A chaotic encryption method for power system communication according to claim 1, characterized in that: In S1, the specific steps of converting the power dispatch instruction into binary are as follows: According to the GB2312-80 character set, the power dispatching instruction is converted into ACSI code to obtain binary plain text.
3. A chaotic encryption method for power system communication according to claim 1, characterized in that: The specific steps of using Logistic mapping to perform secondary encryption on the chaotic encryption sequence are as follows: The obtained chaotic encryption sequence is iterated K times using Logistic mapping to obtain a complex chaotic encryption sequence.
4. A chaotic encryption method for power system communication according to claim 1, characterized in that: In S4, the specific steps of decrypting the ciphertext based on the received preset key include: Step 1: Input the received preset key into the Fermi-Ulam model for decryption processing to obtain a chaotic encryption sequence; Step 2: Use Logistic mapping to perform secondary decryption on the chaotic encryption sequence to obtain a complex chaotic encryption sequence; Step 3: Remove the complex chaotic encryption sequence from the received ciphertext to obtain binary plaintext; Step 4: Convert the binary plaintext to obtain the power dispatch instruction.
5. A chaotic encryption method for power system communication according to claim 4, characterized in that: Specifically include: The initial value Q in the preset key is normalized, and the normalized initial value Q is input into the Fermi-Ulam model. After completing K iterative calculations, a chaotic sequence is obtained. A P-th data is taken from the chaotic sequence, and a total of L bits are taken, where L represents the number of bits of binary plaintext. After taking the data, a chaotic encryption sequence is obtained. The obtained chaotic encryption sequence is iterated K times using Logistic mapping to obtain a complex chaotic encryption sequence. The received ciphertext is subtracted from the complex chaotic encryption sequence according to the decimal calculation method to obtain the binary plaintext.
6. A chaotic encryption system for power system communication, used to implement the steps of the chaotic encryption method for power system communication according to any one of claims 1 to 5, characterized in that: include: A plaintext conversion module, used for converting the power dispatching instruction into binary to obtain binary plaintext; A primary encryption module, used to generate a chaotic encryption sequence based on a Fermi-Ulam model according to a preset key; The secondary encryption module is used to perform secondary encryption on the chaotic encryption sequence by using Logistic mapping to generate a complex chaotic encryption sequence; The ciphertext output module is used to combine the binary plaintext with the complex chaotic encryption sequence to generate ciphertext, and transmit the ciphertext to the execution terminal so that the execution terminal can decrypt the ciphertext based on the received preset key to obtain the power dispatch instruction.
7. A device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the chaotic encryption method for power system communication described in any one of claims 1-5 when executing the computer program.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it is used to implement the steps of the chaotic encryption method for power system communication described in any one of claims 1-5.
Citation Information
Patent Citations
Communication encryption method and system suitable for power Internet-of-Thing terminal
CN112994887A