Coal-fired power generation data encryption method, device, equipment and medium
By combining chaos mapping and steganography, multiple rounds of iterative encryption and steganography are performed on coal-fired power generation data, which solves the problems of dynamic protection and multi-stage attacks of traditional coal-fired power generation data encryption technology and achieves high-security and concealed data protection.
Patent Information
- Application Number
- CN202511183449.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-22
- Publication Date
- 2025-10-17
AI Technical Summary
Traditional coal-fired power generation data encryption technology is unable to meet the dynamic protection needs of high-frequency data streams, and a single protection dimension cannot resist multi-stage compound attacks, resulting in insufficient data security.
Chaotic mapping is used to generate random matrices for multiple rounds of iterative encryption, and steganography is combined with the encrypted data matrix to achieve dynamic encryption and concealment protection.
It enhances the randomness and complexity of coal-fired power generation data, improves the security and confidentiality of data, and is suitable for the storage and transmission of various sensitive data in coal-fired power generation systems.
Smart Images

Figure CN120811745A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data encryption, in particular to a coal-fired power generation data encryption method, device, equipment and medium. BACKGROUND
[0002] With the rapid development of industrial internet, the storage, transmission and sharing of coal-fired power generation data are increasingly frequent, and its security is facing severe challenges. These data not only contain key operating parameters such as boiler temperature and turbine pressure, but also involve environmental monitoring information such as pollutant emission. Once leaked or tampered, it may cause production accidents, economic losses and even environmental problems. However, in an open network environment, traditional data security solutions face double challenges: first, the key update cycle of static encryption technology is long, which is difficult to meet the dynamic protection needs of high-frequency data flow of coal-fired units; second, single protection dimension (such as encryption or hiding only) cannot resist multi-stage composite attacks. SUMMARY
[0003] The purpose of the present application is to provide a coal-fired power generation data encryption method, device, equipment and medium, which can improve the security of data.
[0004] To achieve the above purpose, the present application provides the following solutions:
[0005] In a first aspect, the present application provides a coal-fired power generation data encryption method, comprising:
[0006] preprocessing target coal-fired power generation data;
[0007] converting the preprocessed target coal-fired power generation data into a two-dimensional matrix;
[0008] using chaotic mapping to generate a random matrix for encryption, performing multi-round iteration encryption on the two-dimensional matrix to obtain an encrypted data matrix;
[0009] steganography on the encrypted data matrix to obtain steganography data; the steganography data is used for storage or transmission.
[0010] In a second aspect, the present application provides a coal-fired power generation data encryption device, comprising:
[0011] a data preprocessing module for preprocessing target coal-fired power generation data;
[0012] a data conversion module for converting the preprocessed target coal-fired power generation data into a two-dimensional matrix;
[0013] a data encryption module for using chaotic mapping to generate a random matrix for encryption, performing multi-round iteration encryption on the two-dimensional matrix to obtain an encrypted data matrix;
[0014] The data steganography module is configured to perform steganography on the encrypted data matrix to obtain steganography data.
[0015] In a third aspect, the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the coal-fired power generation data encryption method according to any one of the above.
[0016] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, wherein the computer program is executable on a processor to implement the steps of the coal-fired power generation data encryption method according to any one of the above.
[0017] According to the embodiments of the present application, the following technical effects are disclosed.
[0018] The present application provides a coal-fired power generation data encryption method, device, equipment and medium, which uses chaotic mapping to generate a random matrix for encryption, performs multi-round iteration encryption on a two-dimensional matrix, and obtains an encrypted data matrix. The encrypted data matrix is steganographed to obtain steganography data. The coal-fired power generation data is dynamically encrypted to enhance the randomness and complexity of data encryption, improve the security of data, and further encrypt the encrypted data matrix using steganography technology to further improve the security of data. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0020] Figure 1 A flowchart of a coal-fired power generation data encryption method according to an embodiment of the present application is shown.
[0021] Figure 2 A principle diagram of a coal-fired power generation data encryption method according to an embodiment of the present application is shown.
[0022] Figure 3 A functional module diagram of a coal-fired power generation data encryption device according to an embodiment of the present application is shown.
[0023] Figure 4 A structure diagram of a computer device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of protection of the present application.
[0025] The above purposes, features and advantages of the present application will be more apparent and understandable. The present application will be further described in detail below with reference to the drawings and specific embodiments.
[0026] In an exemplary embodiment, the present application provides a coal-fired power generation data encryption method, as shown in Figure 1 and Figure 2 The coal-fired power generation data encryption method comprises steps 101-104.
[0027] Step 101: preprocessing target coal-fired power generation data.
[0028] Step 102: converting the preprocessed target coal-fired power generation data into a two-dimensional matrix.
[0029] Step 103: using chaotic mapping to generate a random matrix for encryption, and performing multi-round iteration encryption on the two-dimensional matrix to obtain an encrypted data matrix.
[0030] Step 104: steganography on the encrypted data matrix to obtain steganography data; the steganography data is used for storage or transmission.
[0031] The present application realizes high security protection of coal-fired power generation data by combining dynamic encryption and steganography. In the dynamic encryption stage, chaotic mapping is used to generate a random matrix for multi-round encryption to enhance the randomness and complexity of the data. In the steganography stage, the encrypted data is hidden in the carrier data to further improve the concealment. By using steganography as a supplement to dynamic encryption, a two-stage mapping is realized, which further enhances the security of the data, making it more difficult to be discovered and cracked when facing potential attacks. The present application ensures data security while considering encryption efficiency and concealment, and is suitable for storage and transmission of various sensitive data in coal-fired power generation systems.
[0032] In an exemplary embodiment, the target coal-fired power generation data is usually structured numerical data, such as sensor data, operating parameters, etc.
[0033] Step 101 specifically includes: cleaning the collected target coal-fired power generation data to remove noise and outliers to obtain preprocessed target coal-fired power generation data.
[0034] Step 102 converts the one-dimensional target coal-fired power generation data D into a two-dimensional matrix M for dynamic encryption processing. If the data volume is large, such as when the data volume of the target coal-fired power generation data is greater than a set value, the two-dimensional matrix M can be divided into multiple sub-matrices, and each sub-matrix can be encrypted by steps 103-104.
[0035]
[0036] wherein m x k is the number of rows and columns of the two-dimensional matrix, d j is the jth data, 1≤j≤mk.
[0037] In an exemplary embodiment, step 102 specifically includes steps 201-205.
[0038] Step 201: initialize the encryption round to 1.
[0039] Step 202: generate a random matrix with the same dimensions as the two-dimensional matrix using a chaotic mapping.
[0040] Step 203: cyclically rotate the rows and columns of the random matrix to obtain a cyclically rotated random matrix.
[0041] Step 204: perform a pixel-by-pixel XOR operation between the cyclically rotated random matrix and the two-dimensional matrix to obtain an encrypted two-dimensional matrix.
[0042] Step 205: determine whether the encryption round has reached a set number. If so, output the encrypted two-dimensional matrix obtained in the current encryption round as the encrypted data matrix; if not, use the encrypted two-dimensional matrix obtained in the current encryption round as the new two-dimensional matrix, increment the encryption round, and return to step 202.
[0043] In an exemplary embodiment, step 202 specifically includes:
[0044] Initialize the chaotic parameters. According to the characteristics of the target coal-fired power generation data and the security requirements, set the initial conditions, control parameters, and scaling parameters of the chaotic mapping. In the selection of initial conditions, appropriate chaotic mapping initial condition combinations can be selected according to the characteristics of the coal-fired power generation data (such as data type, data volume, etc.) to increase the complexity of encryption. In the adjustment of control parameters and scaling parameters, the control parameters and scaling parameters of the chaotic mapping can be dynamically adjusted according to the security requirements and real-time requirements of the data. For example, for device operation parameters with high real-time requirements, the encryption round can be appropriately reduced, and more efficient chaotic parameter combinations can be selected to ensure the rapid completion of the encryption process.
[0045] According to the set chaotic parameter (the chaotic parameter obtained by initialization), a random matrix with the same dimension as the two-dimensional matrix is generated by using the chaotic mapping.
[0046] The element value in the random matrix is obtained by adjusting the value of the chaotic sequence generated by the chaotic mapping through the scaling parameter, and the range of the element value in the random matrix is between 0 and 255.
[0047] The formula of the chaotic mapping is:
[0048]
[0049] Wherein, x0 and x1 are initial conditions, x l is the value of lth iteration, x l-1 is the value of (l-1)th iteration, x l+1 is the value of (l+1)th iteration, r is a control parameter, a is a scaling parameter, and mod represents a modulo operation, and the initial condition, the control parameter and the scaling parameter constitute the chaotic parameter.
[0050] A random matrix with the same dimension as the two-dimensional matrix is generated by using the chaotic mapping, specifically including generating the random matrix by using a composite chaotic mapping (Tent-Fibonacci-Logistic).
[0051] In an exemplary embodiment, step 203 specifically includes: calculating the number of rotations according to the random matrix, and the calculation formula is as follows:
[0052] R init =mod([x n ×100],m);
[0053] C init =mod([x n+1 ×100],k);
[0054] Wherein, R init is the number of row rotations, C init is the number of column rotations, m and k are the number of rows and columns of the random matrix respectively, x n and x n+1 are two consecutive values in the random matrix, and specifically, x n and x n+1 are two consecutive random values in the random matrix.
[0055] The rows in the random matrix are rotated for R init times to obtain a row-rotated random matrix.
[0056] The columns in the row-rotated random matrix are rotated for C init times to obtain a cyclically rotated random matrix.
[0057] The present application further disturbs the distribution of the original two-dimensional matrix through the double rotation of the row and column.
[0058] In an exemplary embodiment, the formula of the XOR operation in step 204 is:
[0059]
[0060] wherein E data is a two-dimensional matrix, E chaotic is a random matrix after cyclic rotation, E encrypted is an encrypted two-dimensional matrix.
[0061] The present application takes the data matrix obtained in the previous round of encryption as the input of the next round of encryption, and repeats the above-mentioned chaotic matrix generation, row and column rotation, and XOR operation. According to the security requirements of the data, the number of encryption rounds J is determined. For high-sensitive data (such as key data related to environmental emissions), the number of encryption rounds can be increased (such as 3 to 5 rounds) to improve security; for data with high real-time requirements (such as real-time operation parameters of equipment), the number of encryption rounds can be appropriately reduced (such as 1 to 2 rounds) to ensure the efficiency of the encryption process. And in each round of encryption, the initial conditions, control parameters and scaling parameters of the chaotic mapping are dynamically updated. For example, the data features (such as the mean, variance, etc. of the data) after the previous round of encryption can be taken as the parameters (initial conditions or control parameters of the new round of chaotic mapping) input of the next round of encryption, so as to realize the adaptive adjustment of the dynamic encryption process and further enhance the security of the data.
[0062] In an exemplary embodiment, step 104 specifically includes steps 301-303.
[0063] Step 301: Generate an index of embedding position using a chaotic sequence and a steganographic carrier image.
[0064] Steganographic carrier image selection: Select a coal-related image without important information as the steganographic carrier image to avoid attracting the attention of third parties.
[0065] Steganographic parameter setting: Select appropriate embedding strength according to the data length, and start embedding from the least significant bit of the steganographic carrier image pixel.
[0066] According to the data length, a suitable embedding strength is selected: each pixel point (0-255) can be decomposed into eight binary numbers, 00000000-11111111, and the replacement is started from the last bit of the eight bits (also called the significant bit in the following), so the influence on the pixel value is smaller. If the data length is replaced only by the last bit, the embedding strength is smaller. If there is a remainder after replacing all the least significant bits, the embedding strength is increased, and the second last bit is replaced, so the embedding strength is increased. In this way, the embedding strength refers to the number of significant bits.
[0067] Step 302: converting the encrypted data matrix into a binary sequence.
[0068] Step 303: according to the index of the embedding position, replacing the pixels of each significant bit in the stego carrier image in turn according to each binary bit in the binary sequence, and the stego carrier image after the pixel replacement is taken as the stego data.
[0069] The pixels (0-255) of the carrier image can be converted into eight binary codes, 00000000-11111111, and the replacement is started from the last bit.
[0070] Step 301 specifically includes the following formula:
[0071] index i =round(S·Tent-Fibonacci-Logistic(x i ));
[0072] Wherein, S is the total number of pixels of the stego carrier image, Tent-Fibonacci-Logistic() represents a complex chaotic mapping system, x i is the i th value in the chaotic sequence, round() is a rounding function, and index i is the index of the embedding position in the stego carrier image.
[0073] Step 303 processes the carrier image pixels according to the index of the embedding position, and replaces the significant bits of the pixels with the binary bits of the secret information from low to high according to the set embedding strength. Specifically, it includes the following formula:
[0074] pixel'(i)=pixel(i)-(pixel(i)mod2)+secret_bit(i);
[0075] Wherein, pixel(i) is the pixel in the stego carrier image with index index iwhere original pixel value is the original pixel value at the i-th position in the stego image, secret_bit(i) is the i-th bit in the binary sequence, and pixel'(i) is the pixel value at the index i in the stego image i where the original pixel value is the original pixel value at the i-th position in the stego image, secret_bit(i) is the i-th bit in the binary sequence, and pixel'(i) is the pixel value at the index i in the stego image
[0076] After the embedding operation is completed, a stego image containing secret information is generated, which is the stego data. The stego image is stored or transmitted to the target end.
[0077] The coal-fired power generation data encryption method of the present application further comprises decryption and data recovery.
[0078] Stego data extraction: using the same steganographic algorithm and parameters as in the embedding process, encrypted data is extracted from the carrier data.
[0079] Dynamic decryption: based on the encapsulated metadata for encryption, dynamically adjust the chaos parameters, reverse the encryption process, and decrypt the data round by round to finally recover the original data.
[0080] The coal-fired power generation data encryption method of the present application is a "dynamic encryption-steganographic two-stage mapping" architecture: in the first stage, a dynamic encryption algorithm based on operating conditions is used to achieve strong coupling protection of data content and operating environment; in the second stage, adaptive steganography based on industrial protocol features is used to seamlessly embed ciphertext into non-sensitive communication carriers, achieving a dual mechanism of content protection (anti-cracking) and existence hiding (anti-discovery), a dual security protection system of uncrackable data content and untraceable transmission process, providing reliable data security protection for coal-fired flexible and intelligent power generation.
[0081] The technical effects disclosed in the present application are as follows: compared with the prior art, the method of the present application has significant efficiency, high security, and strong adaptability.
[0082] Firstly, by dynamically adjusting the chaos parameters, the method of the present application can adaptively encrypt according to the real-time characteristics and security requirements of the data, reducing redundant calculations in the encryption process and improving encryption efficiency. This dynamic adjustment mechanism is particularly suitable for the processing of high real-time data, ensuring the rapid response capability of the system.
[0083] Secondly, the combination of dynamic adjustment of chaos parameters and steganography significantly enhances the security of data. The dynamic adjustment of chaos parameters makes the chaos matrix generated each time have high randomness and unpredictability, making it difficult for attackers to infer the original data by analyzing the encrypted data. Steganography hides the encrypted data in the carrier data, further enhancing the concealment of the data, making it difficult for attackers to discover the hidden secret information even if they obtain the carrier data. This dual protection mechanism significantly improves the security of the data.
[0084] Finally, the method can dynamically adjust the encryption strategy according to different data characteristics and real-time changes through data feature extraction and dynamic parameter updating mechanism. This adaptability enables the method to be widely applied to different types of coal-fired power generation data, whether it is equipment operating parameters or environmental emission data, which can be effectively protected. Through the combination of these technical points, the application not only improves the security and concealment of data, but also ensures the efficiency and adaptability of the encryption process, which is suitable for the security protection needs of various data in the coal-fired power generation system.
[0085] Based on the same inventive concept, the application also provides a coal-fired power generation data encryption device for implementing the above-mentioned coal-fired power generation data encryption method. The implementation scheme of the device for solving the problem is similar to the implementation scheme described in the above method, so the specific limitations in one or more coal-fired power generation data encryption device embodiments provided below can refer to the limitations of the coal-fired power generation data encryption method described above, which will not be repeated here.
[0086] In an exemplary embodiment, as shown in Figure 3 a coal-fired power generation data encryption device is provided, which applies the coal-fired power generation data encryption method. The coal-fired power generation data encryption device includes the following modules.
[0087] A data preprocessing module is configured to preprocess target coal-fired power generation data.
[0088] A data conversion module is configured to convert the preprocessed target coal-fired power generation data into a two-dimensional matrix.
[0089] A data encryption module is configured to perform multi-round iteration encryption on the two-dimensional matrix using a random matrix generated by chaotic mapping for encryption, to obtain an encrypted data matrix.
[0090] A data steganography module is configured to perform steganography on the encrypted data matrix to obtain steganography data; the steganography data is used for storage or transmission.
[0091] In an exemplary embodiment, a computer device is provided, which can be a server or a terminal, and its internal structure diagram can be as shown in Figure 4As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through the system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capability. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store coal-fired power generation data encryption data. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with the terminal outside through network connection. The computer program is executed by the processor to realize a coal-fired power generation data encryption method.
[0092] Those skilled in the art can understand that, Figure 4 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement. In one exemplary embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to realize the steps in each of the above method embodiments.
[0093] In one exemplary embodiment, a computer readable storage medium is provided, storing a computer program, which is executed by a processor to realize the steps in each of the above method embodiments.
[0094] In one exemplary embodiment, a computer program product is provided, including a computer program, which is executed by a processor to realize the steps in each of the above method embodiments.
[0095] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.
[0096] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, databases or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0097] The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general processor, a central processing unit, a graphics processing unit, a digital signal processor, a data processing logic of programmable logic, etc., without being limited thereto.
[0098] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combinations of the technical features do not exist contradictory, they should be considered as the scope of the present application.
[0099] The principles and implementation modes of the present application are described by applying specific examples in the present application. The above-mentioned embodiments are only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed. In conclusion, the content of the present application should not be understood as a limitation.
Claims
1. A coal-fired power generation data encryption method, characterized in that: The coal-fired power generation data encryption method includes: Preprocessing target coal-fired power generation data; Converting the preprocessed target coal-fired power generation data into a two-dimensional matrix; The random matrix generated by chaotic mapping is used for encryption, and multiple rounds of iterative encryption are performed on the two-dimensional matrix to obtain the encrypted data matrix; The encrypted data matrix is steganographically written to obtain steganographic data; the steganographic data is used for storage or transmission.
2. The coal-fired power generation data encryption method according to claim 1, characterized in that: The method of using chaotic mapping to generate random matrices for encryption is to perform multiple rounds of iterative encryption on the two-dimensional matrix to obtain the encrypted data matrix, which specifically includes: Generate a random matrix with the same dimension as the two-dimensional matrix using chaotic mapping; Circularly rotating the rows and columns of the random matrix to obtain a circularly rotated random matrix; Perform pixel-by-pixel XOR operation on the random matrix after cyclic rotation and the two-dimensional matrix to obtain the encrypted two-dimensional matrix; Determine whether the number of encryption rounds has reached the set number. If so, output the encrypted two-dimensional matrix obtained in the current encryption round as the encrypted data matrix. If not, output the encrypted two-dimensional matrix obtained in the current encryption round as the new two-dimensional matrix, increase the encryption round by 1, and return to the step of using chaotic mapping to generate a random matrix with the same dimension as the two-dimensional matrix.
3. The coal-fired power generation data encryption method according to claim 2, characterized in that: A random matrix with the same dimension as the two-dimensional matrix is generated using a chaotic map, specifically including: According to the set chaos parameters, a random matrix with the same dimension as the two-dimensional matrix is generated using chaos mapping, where the formula of chaos mapping is: Among them, x0 and x1 are initial conditions, x l is the value of l iterations, x l-1 is the value of l-1 iterations, x l+1 is the value of l+1 iterations, r is the control parameter, α is the scaling parameter, mod represents the modulo operation, and the initial condition, the control parameter and the scaling parameter constitute the chaotic parameter.
4. The coal-fired power generation data encryption method according to claim 2, characterized in that: Performing cyclic rotation on the rows and columns of the random matrix to obtain a cyclically rotated random matrix specifically includes: The number of rotations is calculated according to the random matrix, and the calculation formula is as follows: R init =mod([x n ×100],m); C init =mod([x n+1 ×100],k); Among them, R init is the number of row rotations, C init is the number of column rotations, m and k are the number of rows and columns of the random matrix respectively, x n and x n+1 are two consecutive values in the random matrix; R randomize rows in a matrix init Repeat the rotation to get the random matrix after row rotation; C is performed on the columns of the random matrix after row rotation init Repeat the cyclic rotation to obtain the random matrix after cyclic rotation.
5. The coal-fired power generation data encryption method according to claim 1, characterized in that: Perform steganography on the encrypted data matrix to obtain the steganographic data, which specifically includes: The chaotic sequence and the stegoscopy carrier image are used to generate the index of the embedding position; Convert the encrypted data matrix into a binary sequence; According to the index of the embedding position, the pixels of each valid bit in the stego carrier image are replaced in sequence according to each binary bit in the binary sequence, and the stego carrier image after the pixel replacement is completed is used as the post-steganographic data.
6. The coal-fired power generation data encryption method according to claim 5, characterized in that: The chaotic sequence and the stegoscopy carrier image are used to generate the index of the embedding position, which includes the following formula: index i =round(S·Tent-Fibonacci-Logistic(x i )); Where S is the total number of pixels of the stego carrier image, Tent-Fibonacci-Logistic() represents the composite chaotic mapping system, and x i is the i-th value in the chaotic sequence, round() is the rounding function, index i is the index of the embedding position in the stego-carrier image.
7. The coal-fired power generation data encryption method according to claim 5, characterized in that: According to the index of the embedding position, the pixels of each valid bit in the stego carrier image are replaced in sequence according to each binary bit in the binary sequence. The stego carrier image after the pixel replacement is completed is used as the stego data, which specifically includes the following formula: pixel'(i)=pixel(i)-(pixel(i)mod2)+secret_bit(i); Wherein, pixel(i) is the index of the stego carrier image. i The original pixel value at , secret_bit(i) is the i-th binary bit in the binary sequence, pixel'(i) is the index index in the stego carrier image i The replaced pixels.
8. A coal-fired power generation data encryption device, characterized in that: The coal-fired power generation data encryption device applies the coal-fired power generation data encryption method according to any one of claims 1 to 7, and the coal-fired power generation data encryption device includes: A data preprocessing module, used to preprocess target coal-fired power generation data; A data conversion module, used to convert the pre-processed target coal-fired power generation data into a two-dimensional matrix; The data encryption module is used to encrypt the two-dimensional matrix by using a chaotic map to generate a random matrix, and perform multiple rounds of iterative encryption to obtain an encrypted data matrix; The data steganography module is used to steganographically write the encrypted data matrix to obtain steganographic data; the steganographic data is used for storage or transmission.
9. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the coal-fired power generation data encryption method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the coal-fired power generation data encryption method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Chaotic image encryption method, device and system
CN107239709A
Image encryption method based on chaotic mapping and bit-level replacement
CN112084517A
Power data encryption method and device based on chaotic sequence and national cryptographic algorithm
CN112422271A
Visual security image encryption method and device based on parallel compressed sensing and adaptive embedding
CN116488787A
New energy station data encryption and decryption method and system
CN117527325A
Cited By
Picture processing and tracing method and device
CN121329750A
