Chaotic encryption method for power system communication and related equipment
Through the iterative calculation of the Fermi-Ulam model and Logistic mapping, combined with binary plaintext to generate ciphertext, the problem of poor communication security in the power system is solved, and the safe and reliable transmission of power dispatching instructions is realized, which is suitable for the communication needs of mobile terminals in the power system. .
Patent Information
- Application Number
- CN202410908837.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-08
AI Technical Summary
The existing power system communication security is poor and cannot guarantee the safe and reliable transmission of power dispatching instructions. It is vulnerable to hacker attacks and has limited coverage.
The Fermi-Ulam model is used to generate chaotic encryption sequences, and secondary encryption is performed through Logistic mapping, combined with binary plaintext to generate ciphertext to ensure the security and reliability of power dispatch instructions during transmission.
It significantly improves the complexity and security of the encryption process, increases the difficulty of cracking, ensures the confidentiality of power dispatching instructions and the real-time nature of communication, and is suitable for the communication needs of mobile terminals in power systems.
Smart Images

Figure CN118784206A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of power system communication, and in particular relates to a chaotic encryption method for power system communication and related equipment. Background Art
[0002] The importance of power system communication security lies in that it is directly related to the overall stability, efficient operation and information security of the power system. In modern power systems, communication, as a link connecting various links, carries key tasks such as real-time data exchange, command transmission and monitoring management. Once communication security is threatened, it may lead to serious consequences such as power supply interruption, system collapse and even data leakage, which will have a huge impact on the stable operation of the social economy and people's lives. Therefore, ensuring the security of power system communications is crucial and is the basis for ensuring the safe, reliable and efficient operation of the power system.
[0003] As the communication hub of the power system, the power dispatching center often issues power dispatching instructions to executive agencies such as substations and substation maintenance centers. These executive agencies perform corresponding tasks according to the power dispatching instructions issued above. In general, the power dispatching center often uses dedicated telephone lines to issue power dispatching instructions to executive agencies. Although the communication method of dedicated telephone lines can achieve efficient end-to-end transmission of instructions, this communication method has certain limitations, which are as follows: First, the security of telephone line communication is relatively low and is vulnerable to hacker attacks or malicious interference. 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 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.
[0004] It can be seen that the existing power system communication security is poor and cannot guarantee the safe and reliable transmission of power dispatching instructions. Summary of the invention
[0005] In order to overcome the shortcomings of the above-mentioned technology, the present invention provides a chaotic encryption method and related equipment for power system communication, which can solve the technical problem that the existing power system communication security is poor and cannot ensure the safe and reliable transmission of power dispatching instructions.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] A chaotic encryption method for power system communication, applied to a power dispatching center, comprising:
[0008] S1: Convert the power dispatch instruction into binary format to obtain binary plain text;
[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 the power dispatch instruction.
[0025] Furthermore, the method specifically includes: normalizing the initial value Q in the preset key, and inputting the normalized initial value Q into the Fermi-Ulam model, and obtaining a chaotic sequence after completing K iterative calculations; taking a P-th data from the chaotic sequence, taking a total of L bits, L representing the number of bits of the binary plaintext, and obtaining a chaotic encryption sequence after taking the data; iterating the obtained chaotic encryption sequence K times using Logistic mapping to obtain a complex chaotic encryption sequence; subtracting the complex chaotic encryption sequence from the received ciphertext according to a decimal calculation method to obtain a binary plaintext.
[0026] A chaotic encryption system for power system communication, used to implement the steps of the chaotic encryption method for power system communication, including:
[0027] A plaintext conversion module, used for converting the power dispatching instruction into binary to obtain binary plaintext;
[0028] A primary encryption module, used to generate a chaotic encryption sequence based on a Fermi-Ulam model according to a preset key;
[0029] 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;
[0030] 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.
[0031] A device comprising:
[0032] Memory for storing computer programs;
[0033] A processor is 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, which 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. The method first performs binary conversion on the power dispatching instruction, and then generates a chaotic encryption sequence based on the Fermi-Ulam model according to a preset key to achieve primary encryption, and then uses Logistic mapping to perform secondary encryption on the chaotic encryption sequence to obtain a complex chaotic encryption sequence; finally, the binary plaintext is combined with the complex chaotic encryption sequence to generate a ciphertext, and the ciphertext is transmitted to the execution terminal at the same time, so that the execution terminal can decrypt the ciphertext based on the received preset key to obtain the power dispatching instruction; the Fermi-Ulam model used in the method contains multiple parameters, and any parameter change will cause significant changes in the system parameters; encryption based on the Fermi-Ulam model has a larger key selection space and the complexity of the encryption process can be significantly improved; the Fermi-Ulam model is a two-dimensional system, which takes into account the key complexity and encryption and decryption efficiency, and is very consistent with the requirements of power system mobile terminal communication encryption.
[0037] Preferably, in the present invention, the power dispatching instruction is converted into ACSI code according to the GB2312-80 character set to obtain binary plain text, which clarifies the specific steps of 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 flexible configuration and security of the key and increases the complexity and security of the encryption system.
[0039] Preferably, in the present invention, the Fermi-Ulam model is used to encrypt the preset key, and a specific method of extracting numbers from a chaotic sequence is provided, thereby ensuring the randomness and unpredictability of the chaotic encryption sequence and improving the encryption effect.
[0040] Preferably, in the present invention, Logistic mapping is used to perform secondary encryption on the chaotic encryption sequence, which further enhances the complexity and security of the encryption, greatly increases the difficulty of cracking, and effectively protects the confidentiality of the power dispatching instructions.
[0041] Preferably, the present invention also includes a decryption process, and the processing process is similar to the encryption process, which ensures that the receiving end can accurately and efficiently decrypt the power dispatching instructions, thereby ensuring the real-time and effectiveness of the communication.
[0042] Preferably, in the present invention, the method ensures the accuracy and reliability of the decryption process through iterative calculation of the Fermi-Ulam model and the Logistic map, and the subtraction operation of the ciphertext and the complex chaotic encryption sequence, thereby further ensuring the safe transmission of the power dispatching instructions. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1A schematic diagram of an application scenario of a chaotic encryption method for power system communication provided by an embodiment of the present invention;
[0044] Figure 2 A scheduling flow chart of an application scenario of a chaotic encryption method for power system communication provided by an embodiment of the present invention;
[0045] Figure 3 A bifurcation diagram of a state variable encrypted by a chaotic encryption method for power system communication provided by an embodiment of the present invention;
[0046] Figure 4 A maximum Lyapunov exponent diagram for encryption using a chaotic encryption method for power system communication provided by an embodiment of the present invention;
[0047] Figure 5 A flow chart of a chaotic encryption method for power system communication provided by the present invention;
[0048] Figure 6 A schematic structural diagram of a chaotic encryption system for power system communication provided by the present invention. DETAILED DESCRIPTION
[0049] The present invention provides a chaotic encryption method for power system communication, such as Figure 5 As shown, the following steps are included:
[0050] S1: According to the GB2312-80 character set, the power dispatch instruction is converted into ACSI code to obtain binary plain text.
[0051] S2: Generate a chaotic encryption sequence based on the Fermi-Ulam model according to the preset key;
[0052] Specifically, the specific steps of encrypting the preset key using the Fermi-Ulam model include:
[0053] The initial value Q is normalized and input into the Fermi-Ulam model. After K iterations, the chaotic sequence is obtained.
[0054] 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.
[0055] S3: Use Logistic mapping to perform secondary encryption on the chaotic encryption sequence to generate a complex chaotic encryption sequence;
[0056] The specific steps of using Logistic mapping to perform secondary encryption on chaotic encryption sequences are as follows:
[0057] The obtained chaotic encryption sequence is iterated K times using Logistic mapping 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 so that the execution terminal can decrypt the ciphertext based on the received preset key to obtain the power dispatch instruction.
[0059] The preset key consists of 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.
[0060] In S4, the specific steps of 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 Logistic mapping to perform secondary decryption on the chaotic encryption sequence to obtain a complex chaotic encryption sequence;
[0063] Step 3: Remove the complex chaotic encryption sequence from the received ciphertext to obtain binary plaintext;
[0064] Step 4: Convert the binary plaintext to obtain the power dispatch instruction.
[0065] More specific steps include: normalizing the initial value Q in the preset key, and inputting the normalized initial value Q into the Fermi-Ulam model, and obtaining a chaotic sequence after completing K iterative calculations; taking a P-th data from the chaotic sequence, taking a total of L bits, L representing the number of bits of binary plaintext, and obtaining a chaotic encryption sequence after taking the data; iterating the obtained chaotic encryption sequence K times using Logistic mapping to obtain a complex chaotic encryption sequence; subtracting the complex chaotic encryption sequence from the received ciphertext according to a decimal calculation method to obtain a binary plaintext.
[0066] like Figure 6 As shown, the present invention also provides a chaotic encryption system for power system communication, including: a plaintext conversion module, used to convert the power dispatching instruction into binary to obtain binary plaintext; a first-level encryption module, used to generate a chaotic encryption sequence based on the Fermi-Ulam model according to a preset key; a second-level encryption module, used to use Logistic mapping to perform secondary encryption on the chaotic encryption sequence to generate a complex chaotic encryption sequence; a ciphertext output module, used to combine the binary plaintext with the complex chaotic encryption sequence to generate a 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 dispatching instruction.
[0067] The present invention also provides a device, comprising: a memory for storing a computer program; 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 chaotic encryption for the above-mentioned power system communication are implemented, for example: the power dispatch instruction is converted into binary to obtain binary plaintext; according to the preset key, a chaotic encryption sequence is generated based on the Fermi-Ulam model; the chaotic encryption sequence is twice encrypted using Logistic mapping to generate a complex chaotic encryption sequence; the binary plaintext is combined with the complex chaotic encryption sequence to generate a ciphertext, and the ciphertext is transmitted to the execution terminal, so that the execution terminal decrypts the ciphertext based on the received preset key to obtain the power dispatch instruction.
[0069] Alternatively, when the processor executes the computer program, the functions of each module in the above system are implemented, for example: a plaintext conversion module, which is used to convert the power dispatching instruction into binary to obtain binary plaintext; a first-level encryption module, which is used to generate a chaotic encryption sequence based on the Fermi-Ulam model according to a preset key; a second-level encryption module, which is used to perform secondary encryption on the chaotic encryption sequence using Logistic mapping to generate a complex chaotic encryption sequence; a ciphertext output module, which is used to combine the binary plaintext with the complex chaotic encryption sequence to generate a 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 dispatching instruction.
[0070] Exemplarily, the computer program can be divided into one or more modules / units, and 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 can be a series of computer program instruction segments that can complete 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 can 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: a plaintext conversion module, which is used to convert the power dispatch instruction into binary to obtain a binary plaintext; a primary encryption module, which is used to generate a chaotic encryption sequence based on the Fermi-Ulam model according to a preset key; a secondary encryption module, which is used to perform secondary encryption on the chaotic encryption sequence using a Logistic map to generate a complex chaotic encryption sequence; a ciphertext output module, which is used to combine the binary plaintext with the complex chaotic encryption sequence to generate a 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.
[0071] The chaotic encryption device for power system communication can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The chaotic encryption device for power system communication can include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the above is an example of a chaotic encryption device for power system communication and does not constitute a limitation on the chaotic encryption device for power system communication. It can include more components than the above, or a combination of certain components, or different components. For example, the chaotic encryption device for power system communication can also include input and output devices, network access devices, buses, etc.
[0072] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may 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 various parts of the chaotic encryption device for the entire power system communication.
[0073] The memory can be used to store the computer program and / or module, and the processor implements various functions of the chaotic encryption device for power system communication by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory.
[0074] The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory 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] In order to solve the above problems, the present invention provides a chaotic encryption method for power system communication. The 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 calculation efficiency.
[0084] In order to further understand the chaotic encryption method provided by this embodiment, the following terms are explained below:
[0085] Fermi-Ulam model: The Fermi-Ulam model was first proposed by Fermi to explain the production process of high-energy particles in the universe, and was later improved by Ulam to form the current model.
[0086] The Fermi-Ulam model is an abstract form of a particle system; this particle system consists of a charged particle with a mass of m moving between two infinite metal plates, one of which is fixed at position x=l, and the other is constantly moving, and its position expression is x=ε0cos(wt+φ0); here ε0, w, φ0 are the amplitude, angular frequency and initial phase of the moving wall respectively.
[0087] The two metal plates carry charges of opposite polarity, thus generating a constant electric field of strength E between them; when the particle collides with the fixed plate, the particle acquires a charge of -q and is subjected to an electric field force Eq toward the oscillating plate; when the particle collides with the oscillating plate, the particle acquires a charge of +q and is subjected to an electric field force of the same magnitude Eq toward the fixed plate; thus, the particle is always moving back and forth between the two plates. Specifically, the Fermi-Ulam model is expressed as follows:
[0088]
[0089] like Figure 1 As shown, this embodiment provides a chaotic encryption method for power system communication. Figure 1 Specific application scenarios of the chaotic encryption method provided in this embodiment:
[0090] In the power system, there is a lot of information around power facilities. This information is closely related to the daily work of power operation and inspection personnel, and is extremely sensitive. It is important information related to the national economy and people's livelihood; this information includes the name, coordinates, key state parameters, etc. of power facilities. When the power dispatching center issues dispatching instructions, the above important information will be included in the dispatching instructions. Once leaked and stolen by some criminals, it will cause very serious consequences. For the above reasons, the power dispatching center needs to have extremely high security in the process of issuing dispatching instructions. The core of the current adjustment of the power grid operation mode is that the power dispatching center accurately transmits dispatching instructions to each production center. Usually, the main means of instruction transmission is telephone communication; in order to ensure the high confidentiality of the dispatching process, many power supply companies specially use dedicated line fixed telephones, and implement strict identity authentication processes when dispatchers make and receive calls; this series of measures is aimed at preventing information leakage and ensuring the stable operation of the power system from malicious attacks.
[0091] For example, when the executing agency (executing terminal) is a substation or power plant, after receiving the dispatching instruction from the power dispatching center, the corresponding operation is completed according to the instructions of the dispatching instruction. Examples of dispatching instructions are: "Please increase the output of XX power plant, with a target value of XX megawatts to ensure the stability of the power grid.", "XX substation, please perform the switching operation to change the XX line from the operating state to the cold standby state.", "Due to a fault in the XX line, please immediately activate the emergency plan and transfer the load to the XX standby line.", "Please ask the XX power plant to follow the daily power generation plan from 0:00 to tomorrow morning 4:00 for maintenance." "Since the weather forecast shows that there will be strong winds tonight, please prepare for the shutdown of wind turbines in all wind farms to prevent equipment damage." "Please adjust the reactive compensation device in the XX area to improve the voltage stability in the area." "Due to the failure of the XX line, please immediately activate the emergency plan and transfer the xx load to the XY line, switch x to operation, and switch x to hot standby / cold standby." The power dispatching instructions involve many aspects of the power system data, including the names of power plants, substations, lines, line operation status, operating personnel operation procedures, operation time, etc. It can be seen that many key sensitive information are included in the power dispatching instructions. For example, Figure 2 As shown, a secure channel needs to be added between the power dispatching center and the substation; the secure channel is the chaotic encryption method provided in this embodiment, which completes the encryption of the power dispatching instructions at the power dispatching center, completes the decryption at the execution terminal, and completes the corresponding dispatching tasks according to the power dispatching instructions.
[0092] This embodiment provides a chaotic encryption method for power system communication. This method uses the original dedicated telephone communication 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 via a mobile terminal; the relevant operation and maintenance personnel use a decryption machine to decrypt the ciphertext to obtain the full content of the dispatching order. Even if criminals obtain the ciphertext or key during the information transmission process, they cannot decipher the dispatching order, thereby reducing the risk of malicious attacks on the power system. In addition, using a mobile terminal for communication is more convenient and faster than a fixed phone. This method specifically includes the following steps:
[0093] The encryption calculation process is as follows:
[0094] Step 1: Party A's plain text binary conversion: Based on the GB2312-80 character set, the power dispatching center converts the Chinese characters such as the name in the power dispatching instruction into ACSI code, and converts the digital information such as coordinates and key parameters into binary numbers to obtain binary plain text I, whose digit is L.
[0095] Step 2: Enter the key: The key consists of three parts: Q, P, K.
[0096] Step 3: Encrypt using the Fermi-Ulam model: Normalize Q to make it within the chaotic attractor range of 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), ...}. Take the data from the Pth data obtained by the iteration and take L bits to obtain the chaotic encryption sequence {x'(1), x'(2), x'(3), ..., x′(L-1)}.
[0097] Step 4: Logistic mapping and re-encryption: The obtained sequence is iterated K times using Logistic mapping to generate a complex chaotic encryption sequence {x'′(1), x'′(2), x'′(3), ..., x″(L-1)}
[0098] Step 5: Generate ciphertext: Add the plaintext I to the complex chaotic encryption sequence {x'′(1), x'′(2), x'′(3), ..., x″(L-1)} according to the decimal calculation method to obtain the ciphertext I'.
[0099] The decryption calculation process is as follows:
[0100] Step 1: Exchange keys to obtain Q, P, K. The ciphertext I' is known, and I' is L bits.
[0101] Step 2: Normalize Q to make it within the attractor range of 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), ...}. Take the data from the Pth data obtained by iteration and take L bits to obtain the chaotic encryption sequence {x'(1), x'(2), x'(3), ..., x′(L-1)}.
[0102] Step 3: Iterate the obtained sequence K times using Logistic mapping to generate a complex chaotic encryption sequence {x'′(1), x'′(2), x'′(3), ..., x″(L-1)}.
[0103] Step 4: Decode 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] The key is a preset key, and the power dispatching center can inform the execution terminal, such as a substation or maintenance station, of the preset key through telephone, text message or other communication methods.
[0105] Among them, the specific power dispatching instructions are not only text, but also in multiple formats such as pictures, audio or video.
[0106] Example 2
[0107] like Figure 3 and Figure 4 As 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; Figure 3 As shown in , after analysis, it is found that under certain parameters, the Fermi-Ulam model will bifurcate from the stable period one state to the unstable period two state, and then gradually bifurcate from the unstable period two state to the chaotic state; Figure 4 As shown, Figure 4 is the maximum Lyapunov index diagram. When the amplitude ε increases to 0.0155, the value of the Lyapunov index exceeds 0, indicating that the system has entered a chaotic state and has good safety performance. It can be seen that this method adopts the Fermi-Ulam model, which is a two-dimensional nonlinear equation system. Compared with the three-dimensional nonlinear equation system, the calculation cost of this method is lower and the efficiency can be guaranteed. Compared with the one-dimensional chaotic equation system, such as the simple logistic mapping, the complexity is improved. The use of this method can ensure the safety and reliability of the entire system operation.
[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 is a relatively niche chaotic system, so many encryption cracking algorithms often do not take its existence into consideration, and security performance is effectively guaranteed.
[0110] Second, the chaotic state of the Fermi-Ulam model has many types of changes. If the system parameters are arbitrarily changed, the system evolution process will undergo significant changes. Therefore, it is very easy to achieve the "confusion" and "diffusion" required in encryption.
[0111] Third, the Fermi-Ulam model contains multiple parameters, and any change in any parameter will cause significant changes 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, which is more complex than a one-dimensional system and requires less computing time than systems with two or more dimensions, and is very consistent with the requirements for communication encryption of mobile terminals in power systems.
[0113] The above embodiment is only one of the implementation methods that can realize the technical solution of the present invention. The scope of protection claimed by the present invention is not limited only to this embodiment, but also includes changes, replacements and other implementation methods that can be easily thought of by any technician familiar with the technical field 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 the preset key; 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 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.
4. A chaotic encryption method for power system communication according to claim 3, characterized in that: 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 bits in total, where L represents the number of bits of the binary plaintext. After taking the data, the chaotic encryption sequence is obtained.
5. A chaotic encryption method for power system communication according to claim 4, 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.
6. 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.
7. A chaotic encryption method for power system communication according to claim 6, 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.
8. 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 7, 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.
9. 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-7 when executing the computer program.
10. 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-7.
Citation Information
Patent Citations
Communication encryption method and system suitable for power Internet-of-Thing terminal
CN112994887A
Ultra-lightweight encryption method suitable for WBAN data real-time encryption transmission
CN113014396A
Molecular energy calculation method and device for quantum chemistry simulation
CN115116552A
Wideband electromagnetic resonator for therapeutic treatment of pathological foci in tissues of an organism, medical device for therapeutic treatment and method of therapeutic treatment
US20200246628A1
Chaotic map-based digital chaotic encryption method
WO2018153317A1
