Intelligent encryption method of power report based on situation awareness

Through situation awareness technology, dynamic mapping lists and binary conversion are used to generate encrypted numbers for power reports, which solves the encryption insecurity problem caused by key loss and improves the security and complexity of power report transmission.

CN118449724BActive Publication Date: 2024-10-01HUANENG GUANGXI CLEAN ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410494098.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2024-10-01
Estimated Expiration
2044-04-24

AI Technical Summary

Technical Problem

In the existing technology, the power report transmission process relies on key encryption. When the key is lost, the encryption is no longer safe, resulting in data security threats.

Method used

Using an intelligent encryption method for power reports based on situational awareness, by randomly selecting the mapping flag value, determining the pre-odd number, pre-even number, post-odd number and post-even list, performing binary conversion and multiple mapping, and generating a dynamic mapping number. Encryption, getting rid of key dependence, enhancing encryption complexity and security.

Benefits of technology

It achieves the uniqueness of each encryption result, enhances encryption complexity and security, avoids security vulnerabilities in key management and predictive modes, and improves the security and attack resistance of power report transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118449724B_ABST
    Figure CN118449724B_ABST
Patent Text Reader

Abstract

The present invention discloses an intelligent encryption method for power reports based on situational awareness, and relates to the technical field of data encryption. When encrypting a power report, the present invention randomly selects a positive integer from a preset range as a mapping mark value for this encryption, and determines all leading odd numbers, leading even numbers, trailing odd numbers and trailing even numbers for this encryption based on the positive integer, to obtain a plurality of mapping lists, and performs consistency matching on a plurality of mapping strings obtained after binary conversion and equal division of the power report with the elements contained in these mapping lists, and obtains the marking subscript of the mapping list where the same element is located and the subscript of the element in the mapping list to determine the mapping digital number of each mapping string. In this way, the encryption logic of the power report is completely different from the fixed encryption method, and is free from the dependence on the key. Moreover, the mapping list and the mapping mark value are dynamically changed, so it is difficult to form a pattern that can be exploited by attackers, thereby ensuring the security of power report transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data encryption, and in particular to an intelligent encryption method for power reports based on situation awareness. Background Art

[0002] Situational awareness technology is a technology that monitors the system status and environmental changes in real time, analyzes, processes, and predicts the current situation of the system, thereby achieving real-time monitoring and analysis of the system's operating status. This technology is widely used in various fields, such as military, transportation, security, manufacturing, etc. In the power system, situational awareness technology is often used to monitor the status of equipment, regional load, power supply quality, power environment and other information in the power grid in real time, and generate power reports through data analysis, and send the power reports to various regulatory departments so that each regulatory department can obtain the operating transparency of the target substation and ensure the reliability and safety of power supply;

[0003] The power report involves data of the power system, and its information security is crucial to the safe operation of the power system. With the development of power informatization, a large amount of data is generated in the power system. When these data are sent to various regulatory departments as power reports, they may face various security threats;

[0004] At present, the process of transmitting power reports to various regulatory departments uses encryption in the form of keys to ensure data security during the transmission of power reports. This method relies on keys. If the keys are lost, the encryption of power reports will no longer be secure.

[0005] In order to solve the above problems, the present invention proposes a solution. Summary of the invention

[0006] The purpose of the present invention is to provide an intelligent encryption method for power reports based on situational awareness, in order to solve the problem that the power reports transmitted to various regulatory departments are encrypted in the form of keys in the prior art, and this method relies on keys. If the keys are lost, the encryption of power reports will no longer be secure.

[0007] The purpose of the present invention can be achieved through the following technical solutions:

[0008] The intelligent encryption method of power report based on situation awareness includes the following steps:

[0009] Step 1: Use the random function to randomly select a positive integer between P1 and P2 as the mapping mark value of the current acquisition cycle, and determine all the leading odd numbers, leading even numbers, trailing odd numbers and trailing even numbers of the current acquisition cycle based on the positive integer, and P1 and P2 are the first and second preset reference values ​​respectively;

[0010] Step 2: Determine the list reference quantity of the current acquisition cycle related to the leading odd number, the leading even number, the trailing odd number and the trailing even number according to the total quantity of the leading odd number, the leading even number, the trailing odd number and the trailing even number of the current acquisition cycle respectively;

[0011] Step 3: create several lists according to the list reference quantity related to the leading odd numbers of the current collection cycle, and fill all the leading odd numbers of the current collection cycle into the several lists to obtain several mapping lists related to the leading odd numbers of the current collection cycle;

[0012] Step 4: According to step 3, a plurality of mapping lists of leading even numbers, trailing odd numbers and trailing even numbers of the current collection period are obtained according to the list reference quantities of leading even numbers, trailing odd numbers and trailing even numbers of the current collection period;

[0013] Step 5: Obtain the power report generated by the target substation in the current collection period, perform binary conversion on it to obtain the report data to be mapped, and divide the report data to be mapped into several mapping strings;

[0014] Step six: For each mapping string, obtain the same element in several mapping lists related to the leading odd number, leading even number, trailing odd number and trailing even number in the current collection period, and determine the mapping number of each mapping string according to the mark subscript of the mapping list where the element is located and the subscript of the element in the mapping list, and concatenate the mapping numbers of all mapping strings to obtain the report encrypted data of the current collection period.

[0015] Further, in step 1, the steps of determining all leading odd numbers, leading even numbers, trailing odd numbers, and trailing even numbers of the current acquisition cycle are as follows:

[0016] S11: Use the random function to randomly select a positive integer between P1 and P2 as the mapping mark value A1 of the current collection cycle, and both P1 and P2 are positive integers;

[0017] S12: Based on the mapping flag value A1 of the current acquisition cycle, all odd numbers from 0 to A1 (excluding A1) are selected in ascending order of natural numbers, and are marked as leading odd numbers of the current acquisition cycle; all odd numbers from A1 (excluding A1) to P3 are selected, and are marked as trailing odd numbers of the current acquisition cycle, where P3 is a preset leading and trailing discrimination threshold;

[0018] S13: Based on the mapping flag value A1 of the current acquisition cycle, select all even numbers from 0 to A1 (excluding A1) in ascending order of natural numbers, and mark them as the leading even numbers of the current acquisition cycle; select all even numbers from A1 (excluding A1) to P3, and mark them as the post-even numbers of the current acquisition cycle.

[0019] Further, in step six, the specific steps of obtaining the report encryption data of the current collection cycle are as follows:

[0020] S18: performing binary conversion on the power report of the target substation collected in the current collection period, and recalibrating the converted data into report data to be mapped;

[0021] S19: dividing the report data to be mapped into q mapping strings in order from left to right, the number of characters constituting each mapping string is P4, and P4 is a preset standard slicing step length;

[0022] According to the position of each mapping string from left to right in the report data to be mapped before segmentation, the q mapping strings are marked as Q1, Q2, ..., Qq in sequence, so that the first character constituting the mapping string Q1 from left to right is located at the leftmost end of the report data to be mapped, and the first character constituting the mapping string Q1 from right to left is located at the rightmost end of the report data to be mapped;

[0023] S110: Obtain the mapping number of the mapping string Q1 according to the preset mapping rule. The mapping rule is as follows:

[0024] SS1: convert the mapping string Q1 into decimal, and mark the converted decimal number as the mapping reference number R1 of the mapping string Q1;

[0025] SS2: Based on the mapping reference number R1, find the mapping list with the same elements as the mapping reference number R1 in all mapping lists related to the leading odd number, the trailing odd number, the leading even number, and the trailing even number in the current acquisition period, obtain the marking subscript t1 of the mapping list, and obtain the element subscript t2 in the mapping list that is the same as the mapping reference number R1;

[0026] SS3: If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the preceding odd number in the current acquisition cycle, then P5, t1, t2 are concatenated in the order of P5, t1, t2 to obtain the mapping number of the mapping string Q1;

[0027] If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the post-odd number in the current acquisition cycle, then t1, t2, and P5 are concatenated in the order of t1, t2, and P5 to obtain the mapping number of the mapping string Q1;

[0028] If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the preceding even number in the current acquisition cycle, then P6, t1, t2 are concatenated in the order of P6, t1, t2 to obtain the mapping number of the mapping string Q1;

[0029] If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the postfix even number in the current acquisition cycle, then t1, t2, and P6 are concatenated in the order of t1, t2, and P6 to obtain the mapping number of the mapping string Q1, and P5 and P6 are the preset first and second coupling padding numbers respectively;

[0030] S111: According to S110, the mapping numbers of the mapping strings Q1, Q2, ..., Qq are calculated in sequence, and all the mapping numbers are concatenated in the order of acquisition to obtain the report encrypted data of the current collection cycle.

[0031] Beneficial effects of the present invention:

[0032] (1) When encrypting the power report of the target substation, the present invention randomly selects a positive integer from a preset range as the mapping mark value for this encryption. In this way, the result of each encryption is different, which increases the complexity and security of encryption. At the same time, by setting the range of the mapping mark value, the strength and difficulty of encryption can be controlled to a certain extent;

[0033] (2) The present invention determines all leading odd numbers, leading even numbers, trailing odd numbers and trailing even numbers encrypted this time through the selected mapping mark value, and determines several mapping lists related to leading odd numbers, leading even numbers, trailing odd numbers and trailing even numbers encrypted this time based on the mapping mark value, wherein several leading odd numbers or leading even numbers or trailing odd numbers or trailing even numbers are stored in the mapping list, and several mapping strings obtained after binary conversion and equal division of the power report are matched with the elements contained in these mapping lists for consistency, and the marking subscript of the mapping list where the same element is located and the subscript of the element in the mapping list are obtained to determine the mapping of each mapping string. Mapping codes, through this method, on the one hand, make the encryption logic of the power report completely different from the fixed encryption method, get rid of the dependence on the key, avoid the occurrence of identifiable situations in the encryption process, and the mapping list and mapping flag values ​​are dynamically changed, so it is difficult to form a pattern that can be exploited by attackers, ensuring the security of power report transmission. On the other hand, the generation process of mapping codes has undergone multiple conversions of binary conversion and mapping list, making the encryption logic complex and difficult to crack, enhancing the security of the encryption process and the ability to resist attacks, while reducing security vulnerabilities that may be caused by key management and predictive patterns. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The present invention will be further described below in conjunction with the accompanying drawings.

[0035] Figure 1 is a system block diagram of the present invention;

[0036] Figure 2 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] like Figure 1 , 2 As shown, an intelligent encryption method for power reports based on situational awareness is performed by an intelligent encryption system for power reports based on situational awareness, and the system includes a security management and control platform and a multi-party decision-making terminal;

[0039] A security control platform is used to periodically obtain the power report of the target substation compiled by the on-site operation and maintenance personnel in the target substation and transmit it securely. The security control platform includes a periodic acquisition unit and a report encryption unit;

[0040] In the current collection cycle, the periodic acquisition unit acquires the power report generated by the target substation in the current collection cycle and transmits it to the report encryption unit. In this embodiment, the number of power reports generated by the target substation in one collection cycle is 1;

[0041] In this embodiment, the target substation will regularly collect operation data, load data, equipment status data, fault and abnormal data, energy consumption data, maintenance and repair data, environmental monitoring data, and operation log data during the operation of the power grid, and analyze them. Based on the analysis results, the on-site operation and maintenance personnel of the target substation will compile the target substation power report within the period;

[0042] Operation data includes voltage, current, power factor and frequency; load data includes maximum load, minimum load and average load; equipment status data includes the operation status of all power equipment connected to the substation; fault and abnormality data includes all faults and abnormalities occurring in the target substation during the collection period, including the time, type, cause and treatment measures of the fault;

[0043] Energy consumption data includes transformer energy consumption and line loss. Maintenance and overhaul data includes all maintenance and overhaul activities performed on equipment in the substation during the collection period. Environmental monitoring data includes monitoring data on temperature, humidity, and gas leakage in the target substation.

[0044] The operation log data contains all operations performed by all operators in the target substation, including opening and closing circuits, adjusting equipment settings, and switching operating modes;

[0045] After receiving the power report of the target substation collected in the current collection period, the report encryption unit encrypts it according to the preset encryption rules to obtain the report encryption data and mapping flag value of the current collection period. The preset encryption rules are as follows:

[0046] S11: Use the random function to randomly select a positive integer between P1 and P2 as the mapping mark value A1 of the current acquisition cycle, where P1 and P2 are respectively the first and second preset reference values, both of which are positive integers. In this embodiment, the value of P1 is 50 and the value of P2 is 150;

[0047] S12: Based on the mapping flag value A1 of the current acquisition cycle, all odd numbers from 0 to A1 (excluding A1) are selected in ascending order of natural numbers, and marked as the leading odd numbers of the current acquisition cycle;

[0048] Select all odd numbers from A1 (excluding A1) to P3 and mark them as the post-odd numbers of the current acquisition cycle, and P3 is the preset pre- and post-discrimination threshold;

[0049] S13: Based on the mapping flag value A1 of the current acquisition cycle, all even numbers from 0 to A1 (excluding A1) are selected in ascending order of natural numbers, and marked as the leading even numbers of the current acquisition cycle;

[0050] Select all even numbers from A1 (excluding A1) to P3 and mark them as the post-even numbers of the current acquisition cycle;

[0051] S14: Generate a mapping list of the current acquisition cycle related to the leading odd number according to a preset first generation rule, the preset first generation rule is as follows:

[0052] S141: Mark all leading odd numbers of the current acquisition cycle as B1, B2, ..., Bb in order from large to small, where b≥1;

[0053] S142: Using Eq. Calculate and obtain the list reference quantity c related to the preceding odd number in the current collection cycle, and use the rounding function to round c up, and calibrate the rounded value as the list reference scalar d related to the preceding odd number in the current collection cycle;

[0054] S143: based on the list reference scalar d related to the leading odd number in the current acquisition cycle, create d empty lists, marked as D1, D2, ..., Dd respectively;

[0055] S144: In the order of B1, B2, ..., Bb, the leading odd numbers of 2, 3, 4, ..., d, b-(1+2+...+d) are sequentially filled into lists D1, D2, ..., Dd, until B1, B2, ..., Bb are filled. At this time, in the ascending order of the subscripts of the elements in the lists, the elements in list D1 are B1, B2, the elements in list D2 are B3, B4, B5, and the elements in the remaining lists are deduced in the same way;

[0056] After B1, B2, ..., Bb are filled, the lists D1, D2, ..., Dd filled with the leading odd numbers are recalibrated as the mapping lists related to the leading odd numbers in the current acquisition cycle;

[0057] S15: Generate a mapping list of the current acquisition cycle related to the post-odd numbers according to a preset second generation rule, the preset second generation rule is as follows:

[0058] S151: Mark all the post-odd numbers of the current acquisition cycle as E1, E2, ..., Ee in descending order, where e≥1;

[0059] S152: Using Eq. Calculate and obtain the list reference quantity f related to the post-odd number in the current acquisition cycle, and use the rounding function to round f up, and calibrate the rounded value as the list reference scalar f related to the post-odd number in the current acquisition cycle;

[0060] S153: based on the list reference scalar f related to the post-odd number in the current acquisition cycle, create f empty lists, marked as G1, G2, ..., Gf respectively;

[0061] S154: In the order of E1, E2, ..., Ee, the post-odd numbers of 2, 3, 4, ..., f, e-(1+2+...+f) are sequentially filled into lists G1, G2, ..., Gf, until E1, E2, ..., Ee are filled. At this time, in the ascending order of the subscripts of the elements in the lists, the elements in list G1 are E1 and E2, the elements in list G2 are E3, E4, E5, and the elements in the remaining lists are deduced in the same way;

[0062] After E1, E2, ..., Ee are filled, the lists G1, G2, ..., Gf filled with the post-odd numbers are recalibrated as the mapping lists related to the post-odd numbers in the current acquisition cycle;

[0063] S16: Generate a mapping list of the current acquisition cycle related to the leading even number according to a preset third generation rule. The preset third generation rule is as follows:

[0064] S161: Mark all leading even numbers of the current acquisition period as H1, H2, ..., Hh in descending order, where h≥1;

[0065] S162: Using Eq. Calculate and obtain the list reference quantity i of the current collection cycle related to the preceding even number, and use the rounding function to round i up, and calibrate the rounded value as the list reference scalar i of the current collection cycle related to the preceding even number;

[0066] S163: based on the list reference scalar i related to the leading even number in the current acquisition cycle, create i empty lists, marked as J1, J2, ..., Ji respectively;

[0067] S164: In the order of H1, H2, ..., Hh, the leading even numbers of 2, 3, 4, ..., i, h-(1+2+...+i) are sequentially filled into lists J1, J2, ..., Ji, until H1, H2, ..., Hh are filled. At this time, in the order of the subscripts of the elements in the lists from small to large, the elements in list J1 are H1, H2, the elements in list J2 are H3, H4, H5, and the elements in the remaining lists are deduced in the same way;

[0068] After H1, H2, ..., Hh are filled, the lists J1, J2, ..., Ji filled with the leading even numbers are recalibrated as the mapping lists related to the leading even numbers in the current acquisition cycle;

[0069] S17: Generate a mapping list of the current acquisition cycle related to the postfixed even numbers according to a preset fourth generation rule. The preset fourth generation rule is as follows:

[0070] S171: Mark all the post-even numbers of the current acquisition cycle as K1, K2, ..., Kk in order from large to small, where k≥1;

[0071] S172: Using Eq. Calculate and obtain the list reference quantity m related to the post-even number in the current acquisition cycle, and use the rounding function to round up m, and calibrate the rounded value as the list reference scalar m related to the post-even number in the current acquisition cycle;

[0072] S173: Based on the list reference scalar m related to the post-even number in the current acquisition cycle, create m empty lists, marked as N1, N2, ..., Nm respectively;

[0073] S174: In the order of K1, K2, ..., Kk, the post-even numbers of 2, 3, 4, ..., m, k-(1+2+...+m) are sequentially filled into lists N1, N2, ..., Nm, until K1, K2, ..., Kk are all filled. At this time, in the order of the subscripts of the elements in the lists from small to large, the elements in list N1 are K1, K2, the elements in list N2 are K3, K4, K5, and the elements in the remaining lists are deduced in the same way;

[0074] After K1, K2, ..., Kk are filled, the lists N1, N2, ..., Nm filled with the post-even numbers are recalibrated as the mapping lists related to the post-even numbers in the current acquisition cycle;

[0075] S18: performing binary conversion on the power report of the target substation collected in the current collection period, and recalibrating the converted data into report data to be mapped;

[0076] S19: dividing the report data to be mapped into q mapping strings in order from left to right, the number of characters constituting each mapping string is P4, where P4 is a preset standard slicing step length. In this embodiment, the value of P4 is 8;

[0077] According to the position of each mapping string from left to right in the report data to be mapped before segmentation, the q mapping strings are marked as Q1, Q2, ..., Qq in sequence, so that the first character constituting the mapping string Q1 from left to right is located at the leftmost end of the report data to be mapped, and the first character constituting the mapping string Q1 from right to left is located at the rightmost end of the report data to be mapped;

[0078] S110: Obtain the mapping number of the mapping string Q1 according to the preset mapping rule. The mapping rule is as follows:

[0079] SS1: convert the mapping string Q1 into decimal, and mark the converted decimal number as the mapping reference number R1 of the mapping string Q1;

[0080] SS2: Based on the mapping reference number R1, find the mapping list with the same elements as the mapping reference number R1 in all mapping lists related to the leading odd number, the trailing odd number, the leading even number, and the trailing even number in the current acquisition period, obtain the marking subscript t1 of the mapping list, and obtain the element subscript t2 in the mapping list that is the same as the mapping reference number R1;

[0081] SS3: If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the preceding odd number in the current acquisition cycle, then P5, t1, t2 are concatenated in the order of P5, t1, t2 to obtain the mapping number of the mapping string Q1;

[0082] If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the post-odd number in the current acquisition cycle, then t1, t2, and P5 are concatenated in the order of t1, t2, and P5 to obtain the mapping number of the mapping string Q1;

[0083] If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the preceding even number in the current acquisition cycle, then P6, t1, t2 are concatenated in the order of P6, t1, t2 to obtain the mapping number of the mapping string Q1;

[0084] If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the postfix even number in the current acquisition cycle, then t1, t2, and P6 are concatenated in the order of t1, t2, and P6 to obtain the mapping number of the mapping string Q1;

[0085] The P5 and P6 are respectively the first and second preset coupling filling numbers. In this embodiment, the P5 and P6 are respectively 1 and 0;

[0086] S111: according to S110, mapping codes of mapping strings Q1, Q2, ..., Qq are calculated in sequence, and all mapping codes are concatenated in the order of acquisition to obtain report encrypted data of the current collection cycle;

[0087] The report encryption unit transmits the report encryption data of the current collection period and the mapping flag value of the current collection period to the multi-party decision-making end;

[0088] The multi-party decision-making terminal is used for each regulatory department to receive the power report of the target substation, so that each regulatory department can obtain the operation transparency of the target substation and ensure the reliability and security of power supply;

[0089] After receiving the encrypted data and mapping flag value of the transmitted report of the current collection period, the multi-party decision-making end restores and generates the power report of the target substation of the current collection period according to the preset restoration rules. The preset restoration rules are as follows:

[0090] S21: according to the mapping flag value, restore and generate all mapping lists related to the leading odd number, the trailing odd number, the leading even number, and the trailing even number in the current acquisition cycle according to the same generation process from S11 to S17;

[0091] S22: Segment the received encrypted report data of the current collection period into u restored character strings in order from left to right, where the number of characters constituting each restored character string is P7, where P7 is a preset restoration slice step. In this embodiment, the value of P7 is 3;

[0092] S23: for each restored string that has been divided, all elements in all mapping lists related to the leading odd number, the trailing odd number, the leading even number, and the trailing even number in the current acquisition period generated by traversing and restoring are found according to P5 and P6, and the element corresponding to each restored string is found;

[0093] S24: performing binary conversion on the elements corresponding to each restored string to obtain a binary number corresponding to each restored string, and sequentially concatenating the binary numbers corresponding to all restored strings in the order from left to right in the encrypted data reported in the current collection period before each restored string is split to obtain a power report for the current collection period;

[0094] The multi-party decision-making end will send the restored power report of the current collection period to each regulatory department, so that each regulatory department can view it at any time, so that each regulatory department can obtain the operation transparency of the target substation and ensure the reliability and safety of power supply. In this embodiment, the regulatory departments include environmental protection department, operation and maintenance department, technical department, security department and information department.

[0095] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example" and the like means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. The above contents are merely examples and explanations of the present invention. A person skilled in the art may make various modifications or supplements to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the scope of protection of the present invention.

[0096] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. An intelligent encryption method for power reports based on situational awareness, characterized in that: The following steps are involved: Step 1: Use the random function to randomly select a positive integer between P1 and P2 as the mapping mark value of the current acquisition cycle, and determine all the leading odd numbers, leading even numbers, trailing odd numbers and trailing even numbers of the current acquisition cycle based on the positive integer, and P1 and P2 are the first and second preset reference values ​​respectively; Step 2: Determine the list reference quantity of the current acquisition cycle related to the leading odd number, the leading even number, the trailing odd number and the trailing even number according to the total quantity of the leading odd number, the leading even number, the trailing odd number and the trailing even number of the current acquisition cycle respectively; Step 3: create several lists according to the list reference quantity related to the leading odd numbers of the current collection cycle, and fill all the leading odd numbers of the current collection cycle into the several lists to obtain several mapping lists related to the leading odd numbers of the current collection cycle; Step 4: According to step 3, a plurality of mapping lists of leading even numbers, trailing odd numbers and trailing even numbers of the current collection period are obtained according to the list reference quantities of leading even numbers, trailing odd numbers and trailing even numbers of the current collection period; Step 5: Obtain the power report generated by the target substation in the current collection period, perform binary conversion on it to obtain the report data to be mapped, and divide the report data to be mapped into several mapping strings; Step six: For each mapping string, obtain the same element in several mapping lists related to the leading odd number, leading even number, trailing odd number and trailing even number in the current collection period, and determine the mapping number of each mapping string according to the mark subscript of the mapping list where the element is located and the subscript of the element in the mapping list, and concatenate the mapping numbers of all mapping strings to obtain the report encrypted data of the current collection period.

2. The method for intelligent encryption of power reports based on situational awareness according to claim 1 is characterized in that: In step 1, the steps of determining all leading odd numbers, leading even numbers, trailing odd numbers, and trailing even numbers of the current acquisition cycle are as follows: S11: Use the random function to randomly select a positive integer between P1 and P2 as the mapping mark value A1 of the current collection cycle, and both P1 and P2 are positive integers; S12: Based on the mapping flag value A1 of the current acquisition cycle, all odd numbers from 0 to A1 (excluding A1) are selected in ascending order of natural numbers, and are marked as leading odd numbers of the current acquisition cycle; all odd numbers from A1 (excluding A1) to P3 are selected, and are marked as trailing odd numbers of the current acquisition cycle, where P3 is a preset leading and trailing discrimination threshold; S13: Based on the mapping flag value A1 of the current acquisition cycle, select all even numbers from 0 to A1 (excluding A1) in ascending order of natural numbers, and mark them as the leading even numbers of the current acquisition cycle; select all even numbers from A1 (excluding A1) to P3, and mark them as the post-even numbers of the current acquisition cycle.

3. The intelligent encryption method for power reports based on situational awareness according to claim 1 is characterized in that: Step 3: The specific steps of obtaining a plurality of mapping lists related to the leading odd numbers in the current acquisition cycle are as follows: S141: Mark all leading odd numbers of the current acquisition cycle as B1, B2, ..., Bb in order from large to small, where b≥1; S142: Using Eq. Calculate and obtain the list reference quantity c related to the preceding odd number in the current collection cycle, and use the rounding function to round c up, and calibrate the rounded value as the list reference scalar d related to the preceding odd number in the current collection cycle; S143: based on the list reference scalar d related to the leading odd number in the current acquisition cycle, create d empty lists, marked as D1, D2, ..., Dd respectively; S144: In the order of B1, B2, ..., Bb, the leading odd numbers of 2, 3, 4, ..., d, b-(1+2+...+d) are successively filled into the lists D1, D2, ..., Dd until B1, B2, ..., Bb are filled. After B1, B2, ..., Bb are filled, the lists D1, D2, ..., Dd filled with the leading odd numbers are recalibrated as the mapping lists related to the leading odd numbers in the current acquisition cycle.

4. The method for intelligent encryption of power reports based on situational awareness according to claim 1 is characterized in that: Step 4: Get a list of mappings of the current acquisition cycle to post-odd numbers. The specific steps are as follows: S151: Mark all the post-odd numbers of the current acquisition cycle as E1, E2, ..., Ee in descending order, where e≥1; S152: Using Eq. Calculate and obtain the list reference quantity f related to the post-odd number in the current acquisition cycle, and use the rounding function to round f up, and calibrate the rounded value as the list reference scalar f related to the post-odd number in the current acquisition cycle; S153: based on the list reference scalar f related to the post-odd number in the current acquisition cycle, create f empty lists, marked as G1, G2, ..., Gf respectively; S154: In the order of E1, E2, ..., Ee, the post-odd numbers of 2, 3, 4, ..., f, e-(1+2+...+f) are sequentially filled into the lists G1, G2, ..., Gf until E1, E2, ..., Ee are filled; After E1, E2, ..., Ee are filled, the lists G1, G2, ..., Gf filled with the post-odd numbers are recalibrated as mapping lists related to the post-odd numbers in the current acquisition cycle.

5. The method for intelligent encryption of power reports based on situational awareness according to claim 1 is characterized in that: Step 4: The specific steps of obtaining a plurality of mapping lists related to the leading even numbers of the current collection cycle are as follows: S161: Mark all leading even numbers of the current acquisition period as H1, H2, ..., Hh in descending order, where h≥1; S162: Using Eq. Calculate and obtain the list reference quantity i of the current collection cycle related to the preceding even number, and use the rounding function to round i up, and calibrate the rounded value as the list reference scalar i of the current collection cycle related to the preceding even number; S163: based on the list reference scalar i related to the leading even number in the current acquisition cycle, create i empty lists, marked as J1, J2, ..., Ji respectively; S164: In the order of H1, H2, ..., Hh, the leading even numbers of 2, 3, 4, ..., i, h-(1+2+...+i) are sequentially filled into lists J1, J2, ..., Ji until H1, H2, ..., Hh are filled; After H1, H2, ..., Hh are filled, the lists J1, J2, ..., Ji filled with the leading even numbers are recalibrated as mapping lists related to the leading even numbers in the current acquisition cycle.

6. The method for intelligent encryption of power reports based on situational awareness according to claim 1, characterized in that: Step 4: Get a list of mappings of the current acquisition cycle to post-even numbers. The specific steps are as follows: S171: Mark all the post-even numbers of the current acquisition cycle as K1, K2, ..., Kk in order from large to small, where k≥1; S172: Using Eq. Calculate and obtain the list reference quantity m related to the post-even number in the current acquisition cycle, and use the rounding function to round up m, and calibrate the rounded value as the list reference scalar m related to the post-even number in the current acquisition cycle; S173: Based on the list reference scalar m related to the post-even number in the current acquisition cycle, create m empty lists, marked as N1, N2, ..., Nm respectively; S174: In the order of K1, K2, ..., Kk, the post-even numbers of 2, 3, 4, ..., m, k-(1+2+...+m) are sequentially filled into the lists N1, N2, ..., Nm until K1, K2, ..., Kk are filled; After K1, K2, ..., Kk are filled, the lists N1, N2, ..., Nm filled with the post-even numbers are recalibrated as mapping lists related to the post-even numbers in the current acquisition cycle.

7. The method for intelligent encryption of power reports based on situational awareness according to claim 1, characterized in that: Step 6: The specific steps to obtain the report encryption data of the current collection cycle are as follows: S18: performing binary conversion on the power report of the target substation collected in the current collection period, and recalibrating the converted data into report data to be mapped; S19: dividing the report data to be mapped into q mapping strings in order from left to right, the number of characters constituting each mapping string is P4, and P4 is a preset standard slicing step length; According to the position of each mapping string from left to right in the report data to be mapped before segmentation, the q mapping strings are marked as Q1, Q2, ..., Qq in sequence, so that the first character constituting the mapping string Q1 from left to right is located at the leftmost end of the report data to be mapped, and the first character constituting the mapping string Q1 from right to left is located at the rightmost end of the report data to be mapped; S110: Obtain the mapping number of the mapping string Q1 according to the preset mapping rule. The mapping rule is as follows: SS1: convert the mapping string Q1 into decimal, and mark the converted decimal number as the mapping reference number R1 of the mapping string Q1; SS2: Based on the mapping reference number R1, find the mapping list with the same elements as the mapping reference number R1 in all mapping lists related to the leading odd number, the trailing odd number, the leading even number, and the trailing even number in the current acquisition period, obtain the marking subscript t1 of the mapping list, and obtain the element subscript t2 in the mapping list that is the same as the mapping reference number R1; SS3: If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the preceding odd number in the current acquisition cycle, then P5, t1, t2 are concatenated in the order of P5, t1, t2 to obtain the mapping number of the mapping string Q1; If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the post-odd number in the current acquisition cycle, then t1, t2, and P5 are concatenated in the order of t1, t2, and P5 to obtain the mapping number of the mapping string Q1; If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the preceding even number in the current acquisition cycle, then P6, t1, t2 are concatenated in the order of P6, t1, t2 to obtain the mapping number of the mapping string Q1; If the mapping list with the same element as the mapping reference number R1 belongs to the mapping list related to the postfix even number in the current acquisition cycle, then t1, t2, and P6 are concatenated in the order of t1, t2, and P6 to obtain the mapping number of the mapping string Q1, and P5 and P6 are the preset first and second coupling padding numbers respectively; S111: According to S110, the mapping numbers of the mapping strings Q1, Q2, ..., Qq are calculated in sequence, and all the mapping numbers are concatenated in the order of acquisition to obtain the report encrypted data of the current collection cycle.

8. The method for intelligent encryption of power reports based on situational awareness according to claim 1, characterized in that: After completing step 6, you need to do the following steps: The encrypted data of the report of the current collection cycle and the mapping mark value are transmitted together to the multi-party decision-making end, and the multi-party decision-making end restores the encrypted data of the report of the current collection cycle into the power report of the current collection cycle and displays it.