A source-load-storage resource collaborative optimization method and system
By generating a magic encryption salt locally, the risk of data transmission caused by frequent salt updates in the source-load-storage resource collaborative optimization is resolved, which improves authentication security and data transmission reliability, and ensures the security and accuracy of source-load-storage resource collaborative optimization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- STATE GRID SHANDONG ELECTRIC POWER CO FEIXIAN POWER SUPPLY CO
- Filing Date
- 2024-12-20
- Publication Date
- 2026-05-08
AI Technical Summary
The existing source-load-storage resource collaborative optimization authentication method is prone to leakage due to frequent salt updates and data transmission, which affects data security and integrity.
The method employs a magic salt construction approach, which generates a magic encrypted salt by applying special generation rules to uppercase and lowercase letters and numbers in the magic salt. Salt updates are performed only on the local machine, avoiding frequent cloud interactions.
It improves the security and collision resistance of identity authentication, ensures the security and accuracy of source, load, and storage resource data transmission, and optimizes the process to be more efficient.
Smart Images

Figure CN119995834B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of source-load-storage resource optimization technology, specifically to a method and system for collaborative optimization of source-load-storage resources. Background Technology
[0002] In today's energy sector, with the urgent need to improve energy efficiency, enhance energy supply stability, and facilitate the large-scale integration of renewable energy, the coordinated optimization of energy source, load, and storage resources has become a key research and development direction. The coordinated optimization of energy source, load, and storage resources aims to achieve efficient, stable, and sustainable operation of the energy system through the comprehensive integration and precise control of power generation resources (source), power load (load), and energy storage facilities (storage).
[0003] This collaborative optimization process requires the acquisition of a wide range of source, load, and storage resource data from various locations. These data sources are diverse and dispersed, covering power plants (including traditional thermal power, hydropower, wind power, and photovoltaic power plants), various industrial power consumption areas, commercial power consumption sites, residential communities, and distributed energy storage devices in different regions. Accurately and securely acquiring this data plays a decisive role in the effectiveness and reliability of the entire collaborative optimization system. To ensure the legitimacy and security of the data sources, identity verification of each location has become an indispensable step.
[0004] Currently, existing authentication methods in various regions mainly involve adding salt to the entered login password and using the MD5 algorithm to enhance the password's complexity and resistance to cracking. In this authentication system, the role of salt is crucial. By combining with the password, the same password will produce different hash results under different salt values, greatly increasing the difficulty of brute-force password cracking. Furthermore, in order to ensure that only the cloud can perform authentication operations, a special channel is opened to prioritize the transmission of salt, thereby ensuring the authority and security of the authentication process.
[0005] However, due to the extremely high security requirements of this authentication method, the salt needs to be dynamically updated to cope with constantly changing security threats. The current way to ensure consistency between the salt in the cloud and the local system is to transmit the salt to the cloud every time it is updated. This frequent data transmission process greatly increases the risk of leakage of the special channel. Once the special channel is intercepted by malicious attackers, it may not only lead to the leakage of the salt value, thereby breaking the entire authentication system, but also endanger the transmission security and integrity of the source and load storage resource data.
[0006] To address the above problems, this invention proposes a solution. Summary of the Invention
[0007] The purpose of this invention is to provide a source-load-storage resource collaborative optimization method and system to solve the problems mentioned in the background art above;
[0008] The objective of this invention can be achieved through the following technical solutions:
[0009] A method for coordinated optimization of source, load, and storage resources includes the following steps:
[0010] Step 1: After receiving the identity authentication information of the currently pre-connected user, the authentication execution unit extracts the magic salt of the target power plant stored in the authentication execution unit. The identity authentication information includes the login account and login password.
[0011] Step 2: Determine each of the non-numeric characters that constitute the magic salt. By determining whether they are uppercase or lowercase English letters, select the preset first generation rule or second generation rule to generate the corresponding magic character for the non-numeric character.
[0012] Extract all the numeric characters of the magic salt, combine any two numeric characters to obtain several character combinations, remove duplicates from the several character combinations, and generate corresponding magic characters from all the deduplicated character combinations according to the preset third generation rule.
[0013] The magic encryption salt of the identity authentication information is constructed based on the magic characters of all non-numeric characters and the magic characters of all character combinations after deduplication.
[0014] Step 3: The authentication execution unit extracts the login account and login password from the identity authentication information, uses the login password and the magic encryption salt of the identity authentication information as two parameters, and uses the MD5 algorithm to obtain the salt value password of the current pre-connected user. Then, based on the salt value password and the login account, the encrypted identity information of the current pre-connected user is obtained.
[0015] Step 4: After receiving the encrypted identity information of the current pre-connected user, the Source-Load-Storage Collaborative Management and Control Center extracts the login account and encrypted identity information from it. Based on the login account, it obtains the authorization password and magic salt corresponding to the authorization account that matches the login account. Based on the authorization password and magic salt, it restores and generates the encrypted identity information of the current pre-connected user according to the preset construction rules.
[0016] Step 5: Compare the restored encrypted identity information with the extracted encrypted identity information. If the comparison is successful, grant the current pre-connected user the right to transmit data.
[0017] Furthermore, in step five, after granting data transmission permissions to the current pre-connected users, the Hub Storage Collaborative Management and Control Center updates the magic salt of the corresponding authorized users based on the digital magic salt obtained during the process of restoring the encrypted identity information of the current pre-connected users.
[0018] Furthermore, in step two, the construction rules for the magic encryption salt used to obtain the identity authentication information are as follows:
[0019] S11: Extract all non-numeric characters from the magic salt, and label all non-numeric characters constituting the magic salt as A1, A2, ..., Aa, where a≥1, in order from left to right;
[0020] S12: Determine if character A1 is a non-numeric character. If character A1 is an uppercase English letter, determine that the base scrolling direction of character A1 is backward and generate the magic character of character A1 according to the preset first generation rule. If character A2 is a lowercase English letter, determine that the base scrolling direction of character A1 is forward and generate the magic character of character A1 according to the preset second generation rule.
[0021] S13: Generate magic characters A2, A3, ..., Aa sequentially according to S12, and concatenate the magic characters A1, A2, ..., Aa in the order of characters A1, A2, ..., Aa to obtain the letter magic salt of the identity authentication information;
[0022] S14: Extract all numeric characters from the magic salt and label them as D1, D2, ..., Dd, where d≥1. Combine any two characters from D1, D2, ..., Dd to obtain several character combinations. Remove duplicate characters from the obtained character combinations and sort all the deduplicated character combinations in ascending order of numbers, labeling them as E1, E2, ..., Ee, where e≥1.
[0023] S15: Generate the magic character of the character combination E1 according to the preset third generation rule;
[0024] S16: Calculate and obtain the magic characters of character combinations E2, E3, ..., Ee in sequence according to S15, and concatenate the magic characters of character combinations E1, E2, ..., Ee in the order of character combinations E1, E2, ..., Ee to obtain the digital magic salt of the identity authentication information;
[0025] S17: Concatenate the letter magic salt and number magic salt of the identity authentication information in the order of letter magic salt and number magic salt to obtain the magic encryption salt of the identity authentication information.
[0026] Furthermore, in S12, the first generation rule for generating the magic character of character A1 is as follows:
[0027] SS11: Referring to the ASCII code lookup table, obtain the ASCII value of character A1 as the control character in the ASCII code lookup table, and use the obtained ASCII value as the rolling index value B1 of character A1;
[0028] SS12: Determine whether the scrolling reference value B1 is odd or even. If the scrolling reference value B1 is odd, determine that the scrolling direction of character A1 is backward. If the scrolling reference value B1 is even, determine that the scrolling direction of character A1 is forward.
[0029] SS13: Determine the scrolling direction of character A1 by combining the base scrolling direction and the reference scrolling direction: If the base scrolling direction and the reference scrolling direction of character A1 are the same and both are back, then according to the order of the 26 uppercase letters, the second character after character A1 (excluding character A1) is obtained from left to right as the magic character of character A1. If the number of characters after character A1 is less than 2, then the characters are obtained in a loop.
[0030] If the base scrolling direction and the target scrolling direction of character A1 are not the same, i.e. one is forward and the other is backward, then according to the order of the 26 uppercase letters, the first character before character A1 (excluding character A1) is obtained from left to right as the magic character of character A1. If the number of characters before character A1 is less than 1, then the characters are obtained in a loop.
[0031] A source-load-storage resource collaborative optimization system, comprising:
[0032] An authentication collection unit is used to acquire the identity authentication information entered by the currently pre-connected user, including the login account and login password.
[0033] The authentication execution unit is used to extract the magic salt of the target power plant stored in the authentication execution unit after receiving the identity authentication information entered by the current pre-connected user, and to construct the magic salt of the identity authentication information according to the preset construction rules.
[0034] The authentication execution unit is also used to extract the login account and login password from the identity authentication information, use the login password and the magic encryption salt of the identity authentication information as two parameters, use the MD5 algorithm to obtain the salt value password of the current pre-connected user, and then obtain the identity encrypted information of the current pre-connected user based on the salt value password and the login account.
[0035] The Source-Load-Storage Collaborative Management and Control Center is used to extract the login account and identity encrypted information from the received identity encrypted information of the current pre-connected user, obtain the authorization password and magic salt corresponding to the authorization account that matches the login account, and restore and generate the identity encrypted information of the current pre-connected user according to the preset construction rules based on the authorization password and magic salt.
[0036] The source-load-storage collaborative management and control center is also used to compare the restored encrypted identity information with the extracted encrypted identity information. If the comparison is successful, the data transmission permission is granted to the currently pre-connected user.
[0037] The beneficial effects of this invention are:
[0038] After obtaining the identity authentication information entered by the current pre-connected user, the authentication execution unit constructs the magic encryption salt of the current pre-connected user based on the magic salt currently stored in the unit. The constructed magic encryption salt and the entered login password are used as two parameters to obtain the identity ciphertext information using the MD5 algorithm. In this process, the generation of the magic encryption salt is based on the previous magic encryption salt. In this way, the update of the magic encryption salt between the local end and the source-load-storage collaborative management and control center only occurs between the local end and the source-load-storage collaborative management and control center, avoiding the risk of leakage during the interaction process.
[0039] This invention uses different methods to obtain corresponding magic characters for uppercase and lowercase letters and numbers during the construction of the magic encryption salt, so that the final magic encryption salt has high collision resistance and security, ensuring the security of the identity authentication process, and further ensuring the security of the data reception of source, load and storage resources during the collaborative optimization of source, load and storage resources, making the optimization results more accurate and efficient. Attached Figure Description
[0040] The invention will now be further described with reference to the accompanying drawings.
[0041] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation
[0042] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0043] like Figure 1As shown, the present invention provides a source-load-storage resource collaborative optimization system and method; wherein the source-load-storage resource collaborative optimization system includes a single-source authentication terminal;
[0044] The single-source authentication terminal is used for the target power plant to authenticate its identity with the source-load-storage collaborative management and control center when periodically transmitting source-load-storage resource data to the source-load-storage collaborative management and control center.
[0045] The single-source authentication terminal includes an authentication acquisition unit and an authentication execution unit. The authentication acquisition unit acquires the identity authentication information entered by the currently pre-connected user and transmits it to the authentication execution unit. The identity authentication information includes a login account and a login password. In this application, the login password is a 14-16 character string consisting of numbers, uppercase and lowercase English letters, and special characters.
[0046] In this application, the term "pre-connection user" refers to the enterprise user designated to transmit source-load-storage resource data to the source-load-storage collaborative management and control center. Here, "pre-connection user" refers to the target power plant management personnel who have been authorized and certified by the source-load-storage collaborative management and control center.
[0047] The authentication execution unit updates the magic salt stored in the target power plant. It should be noted that the initial magic salt is a 16-character string consisting of numbers, uppercase and lowercase letters, and special characters, wherein the number of numbers, uppercase letters, and lowercase letters in the magic salt is at least 3.
[0048] After receiving the identity authentication information entered by the current pre-connected user, the authentication execution unit extracts the magic salt of the target power plant stored in the authentication execution unit, and constructs the magic salt of the identity authentication information according to the preset construction rules. The construction rules are as follows:
[0049] S11: Extract all non-numeric characters from the magic salt, and label all non-numeric characters constituting the magic salt as A1, A2, ..., Aa, where a≥1, in order from left to right;
[0050] S12: Determine if character A1 is a non-numeric character. If character A1 is an uppercase English letter, determine that the base scrolling direction of character A1 is backward and generate the magic character of character A1 according to the preset first generation rule. If character A2 is a lowercase English letter, determine that the base scrolling direction of character A1 is forward and generate the magic character of character A1 according to the preset second generation rule.
[0051] The first generation rule for the magic character of character A1 is as follows:
[0052] SS11: Referring to the ASCII code lookup table, obtain the ASCII value of character A1 as the control character in the ASCII code lookup table, and use the obtained ASCII value as the rolling index value B1 of character A1;
[0053] SS12: Determine whether the scrolling reference value B1 is odd or even. If the scrolling reference value B1 is odd, determine that the scrolling direction of character A1 is backward. If the scrolling reference value B1 is even, determine that the scrolling direction of character A1 is forward.
[0054] SS13: Determine the scrolling direction of character A1 by combining the base scrolling direction and the reference scrolling direction: If the base scrolling direction and the reference scrolling direction of character A1 are the same and both are back, then according to the order of the 26 uppercase letters, the second character after character A1 (excluding character A1) is obtained from left to right as the magic character of character A1. If the number of characters after character A1 is less than 2, then the characters are obtained in a loop.
[0055] For example, if character A1 is Y, then the magic character of character A1 is A; if character A1 is Z, then the magic character of character A1 is B.
[0056] If the base scrolling direction of character A1 is inconsistent with the target scrolling direction, i.e. one is forward and the other is backward, then according to the order of the 26 uppercase letters, the first character before character A1 (excluding character A1) is obtained from left to right as the magic character of character A1. If the number of characters before character A1 is less than 1, then the characters are obtained in a loop.
[0057] For example, if character A1 is A, then the magic character of character A1 is Y;
[0058] In this application, the order of the 26 capital letters is: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z;
[0059] The second generation rule for generating the magic character of character A1 is as follows:
[0060] SS21: Referring to the ASCII code lookup table, obtain the ASCII value of character A1 as the control character in the ASCII code lookup table, and use the obtained ASCII value as the rolling index value C1 of character A1;
[0061] SS22: Determine whether the scrolling reference value C1 is odd or even. If the scrolling reference value C1 is odd, determine that the scrolling direction of character A1 is backward. If the scrolling reference value C1 is even, determine that the scrolling direction of character A1 is forward.
[0062] SS23: Determine the scrolling direction of character A1 by combining the base scrolling direction and the reference scrolling direction: If the base scrolling direction and the reference scrolling direction of character A1 are the same and both are forward, then according to the order of the 26 lowercase letters, the second character before character A1 (excluding character A1) is taken from left to right as the magic character of character A1. If the number of characters before character A1 is less than 2, then the characters are taken in a loop.
[0063] For example, if character A1 is 'a', then the magic character of character A1 is 'y'; if character A1 is 'b', then the magic character of character A1 is 'z'.
[0064] If the base scrolling direction of character A1 is inconsistent with the target scrolling direction, i.e. one is forward and the other is backward, then according to the order of the 26 lowercase letters, the first character after character A1 (excluding character A1) is obtained from left to right as the magic character of character A1. If the number of characters before character A1 is less than 1, then the characters are obtained in a loop.
[0065] For example, if character A1 is z, then the magic character of character A1 is a;
[0066] In this application, the order of the 26 lowercase letters is: a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z;
[0067] S13: Generate magic characters A2, A3, ..., Aa sequentially according to S12, and concatenate the magic characters A1, A2, ..., Aa in the order of characters A1, A2, ..., Aa to obtain the letter magic salt of the identity authentication information;
[0068] S14: Extract all numeric characters from the magic salt and label them as D1, D2, ..., Dd, where d≥1. Combine any two characters from D1, D2, ..., Dd to obtain several character combinations. Remove duplicate characters from the obtained character combinations and sort all the deduplicated character combinations in ascending order of numbers, labeling them as E1, E2, ..., Ee, where e≥1.
[0069] For example, if all the extracted numeric characters are 1, 1, 2, 3, 9, then any pairwise combinations will yield the following character combinations: 11, 12, 13, 19, 11, 12, 13, 19, 21, 21, 23, 29, 31, 31, 32, 39, 91, 91, 92, 93. After removing duplicates, the combinations are: 11, 12, 13, 19, 21, 23, 29, 31, 32, 39, 91, 92, 93.
[0070] S15: Generate the magic character of the character combination E1 according to the preset third generation rule;
[0071] S151: Compare the size of character combination E1 and comparison standard P1, where P1 is a preset value used to determine whether the control character corresponding to the ASCII value of character combination E1 is a letter. In this application, the value of P1 is 97.
[0072] If character combination E1 is greater than or equal to the comparison standard P1, then the reference scrolling direction of character combination E1 is determined to be back, and the magic character of character combination E1 is generated according to the preset first number combination generation rule. The first number combination is as follows:
[0073] SS31: Referring to the ASCII code lookup table, obtain the character combination E1 as the control character F1 corresponding to the ASCII value, and then determine whether the control character F1 is uppercase or lowercase. If the control character F1 is an uppercase letter, determine that the base scroll direction of the control character F1 is back, and generate the magic character of the control character F1 according to the first generation rule. If the control character F1 is a lowercase letter, determine that the base scroll direction of the control character F1 is forward, and generate the magic character of the control character F1 according to the second generation rule.
[0074] SS32: Refer to the ASCII code lookup table to obtain the ASCII value corresponding to the magic character when it is used as a control character, and use the ASCII value as the magic character of the character combination E1;
[0075] S152: If character combination E1 < comparison standard P1, then the reference scrolling direction of character combination E1 is determined to be forward. At this time, the control character F1 of character combination E1 is calculated using the formula F1 = E1 + P2, and the magic character of character combination E1 is generated according to the preset second number combination generation rule. The second number combination is as follows:
[0076] SS41: Determine the case of the control character F1. If the control character F1 is an uppercase letter, determine that the baseline scrolling direction of the control character F1 is back, and generate the magic character of the control character F1 according to the first generation rule. If the control character F1 is a lowercase letter, determine that the baseline scrolling direction of the control character F1 is forward, and generate the magic character of the control character F1 according to the second generation rule.
[0077] SS42: Refer to the ASCII code lookup table to obtain the ASCII value corresponding to the magic character when it is used as a control character, and use the ASCII value as the magic character of the character combination E1;
[0078] Where P2 is the preset padding standard quantity, P2 is the preset value, used to make the control character corresponding to the character combination E1 as the ASCII value be an uppercase letter or a lowercase letter;
[0079] It should be noted that in this application, the administrator has preset several values for P2, and each value corresponds to a numerical range. By comparing the numerical ranges that the character combination E1 fails to select, the corresponding value is selected as the value of P2.
[0080] S16: Calculate and obtain the magic characters of character combinations E2, E3, ..., Ee in sequence according to S15, and concatenate the magic characters of character combinations E1, E2, ..., Ee in the order of character combinations E1, E2, ..., Ee to obtain the digital magic salt of the identity authentication information;
[0081] S17: Concatenate the letter magic salt and number magic salt of the identity authentication information in the order of letter magic salt and number magic salt to obtain the magic encryption salt of the identity authentication information;
[0082] The authentication execution unit extracts the login password of the login account from the received identity authentication information, uses the login password and the magic encryption salt of the identity authentication information as two parameters, uses the MD5 algorithm to obtain the salt value password of the current pre-connected user, and then obtains the identity ciphertext information of the current pre-connected user based on the salt value password and the login account, and transmits the identity ciphertext information to the source-load-storage collaborative management and control center.
[0083] The source-load-storage collaborative management and control center is used to authenticate the identity of the pre-connected users before receiving source-load-storage resource data. The source-load-storage collaborative management and control center stores the authorization authentication information of all currently authorized users who have passed the authorization authentication. The authorization authentication information includes the authorized account, authorization password and magic salt.
[0084] After receiving the transmitted encrypted identity information, the source-load-storage collaborative management and control center extracts the login account and encrypted identity information from it. Based on the login account, it obtains the authorization password and magic salt corresponding to the authorized account that matches the login account. According to the authorization password and magic salt, it restores and generates the encrypted identity information of the current pre-connected user according to the preset construction rules. It compares the restored encrypted identity information with the extracted encrypted identity information. If the comparison is successful, it determines that the authentication is successful, grants the current pre-connected user the right to transmit data, and generates an authentication pass command. The authentication pass command is transmitted to the single-source authentication terminal. Then, it updates the magic salt of the corresponding authorized user according to the digital magic salt obtained in the process of restoring and generating the encrypted identity information of the current pre-connected user.
[0085] After receiving the authentication pass instruction, the single-source authentication terminal can transmit data and transmit the authentication pass instruction to the authentication execution unit. After receiving the authentication pass instruction, the authentication execution unit updates the magic salt of the target power plant stored in its internal memory according to the digital magic salt of the identity authentication information.
[0086] In the description of this specification, the references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0087] The above description is merely an example and illustration of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described, or use similar methods to replace them, as long as they do not deviate from the invention or exceed the scope defined in the claims, all of which should fall within the protection scope of the present invention.
[0088] The foregoing has provided a detailed description of one embodiment of the present invention, but this description is merely a preferred embodiment and should not be construed as limiting the scope of the invention. All equivalent variations and modifications made within the scope of the claims of this invention should still fall within the patent coverage of this invention.
Claims
1. A method for coordinated optimization of source, load, and storage resources, characterized in that, Includes the following steps: Step 1: After receiving the identity authentication information of the current pre-connected user, the authentication execution unit extracts the magic salt of the target power plant stored in the authentication execution unit. The identity authentication information includes the login account and login password. The initial magic salt is a 16-character string consisting of numbers, uppercase and lowercase letters, and special characters. Step 2: Construct the extracted magic salt according to the preset construction rules to obtain the magic encryption salt of the identity authentication information; Step 3: The authentication execution unit extracts the login account and login password from the identity authentication information, uses the login password and the magic encryption salt of the identity authentication information as two parameters, and uses the MD5 algorithm to obtain the salt value password of the current pre-connected user. Then, based on the salt value password and the login account, the encrypted identity information of the current pre-connected user is obtained. Step 4: After receiving the encrypted identity information of the current pre-connected user, the Source-Load-Storage Collaborative Management and Control Center extracts the login account and encrypted identity information from it. Based on the login account, it obtains the authorization password and magic salt corresponding to the authorization account that matches the login account. Based on the authorization password and magic salt, it restores and generates the encrypted identity information of the current pre-connected user according to the preset construction rules. Step 5: Compare the restored encrypted identity information with the extracted encrypted identity information. If the comparison is successful, grant the current pre-connected user the right to transmit data.
2. The source-load-storage resource collaborative optimization method according to claim 1, characterized in that, The authentication execution unit updates the magic salt stored in the target power plant; The Source-Load-Storage Collaborative Management and Control Center stores the authorization and authentication information of all currently authorized users who have passed the authorization and authentication process. The authorization and authentication information includes the authorized account, authorization password, and magic salt.
3. The source-load-storage resource collaborative optimization method according to claim 2, characterized in that, In step five, after granting data transmission permissions to the current pre-connected users, the Hub Storage Collaborative Management and Control Center updates the magic salt of the corresponding authorized users based on the digital magic salt obtained during the process of restoring the encrypted identity information of the current pre-connected users.
4. The source-load-storage resource collaborative optimization method according to claim 2, characterized in that, After granting data transmission permissions to the currently pre-connected users, the Hub-Storage Collaborative Management and Control Center generates an authentication pass instruction. Upon receiving the authentication pass instruction, the authentication execution unit updates the magic salt of the target power plant stored within it based on the digital magic salt of the identity authentication information.
5. The source-load-storage resource collaborative optimization method according to claim 1, characterized in that, Step two, the construction rules for the magic encryption salt of the obtained identity authentication information are as follows: S11: Extract all non-numeric characters from the magic salt, and label all non-numeric characters constituting the magic salt as A1, A2, ..., Aa, where a≥1, in order from left to right; S12: Determine if character A1 is a non-numeric character. If character A1 is an uppercase English letter, determine that the base scrolling direction of character A1 is backward and generate the magic character of character A1 according to the preset first generation rule. If character A2 is a lowercase English letter, determine that the base scrolling direction of character A1 is forward and generate the magic character of character A1 according to the preset second generation rule. S13: Generate magic characters A2, A3, ..., Aa sequentially according to S12, and concatenate the magic characters A1, A2, ..., Aa in the order of characters A1, A2, ..., Aa to obtain the letter magic salt of the identity authentication information; S14: Extract all numeric characters from the magic salt and label them as D1, D2, ..., Dd, where d≥1. Combine any two characters from D1, D2, ..., Dd to obtain several character combinations. Remove duplicate characters from the obtained character combinations and sort all the deduplicated character combinations in ascending order of numbers, labeling them as E1, E2, ..., Ee, where e≥1. S15: Generate the magic character of the character combination E1 according to the preset third generation rule; S16: Calculate and obtain the magic characters of character combinations E2, E3, ..., Ee in sequence according to S15, and concatenate the magic characters of character combinations E1, E2, ..., Ee in the order of character combinations E1, E2, ..., Ee to obtain the digital magic salt of the identity authentication information; S17: Concatenate the letter magic salt and number magic salt of the identity authentication information in the order of letter magic salt and number magic salt to obtain the magic encryption salt of the identity authentication information.
6. The source-load-storage resource collaborative optimization method according to claim 5, characterized in that, S12, the first generation rule for generating the magic character of character A1 is as follows: SS11: Referring to the ASCII code lookup table, obtain the ASCII value of character A1 as the control character in the ASCII code lookup table, and use the obtained ASCII value as the rolling index value B1 of character A1; SS12: Determine whether the scrolling reference value B1 is odd or even. If the scrolling reference value B1 is odd, determine that the scrolling direction of character A1 is backward. If the scrolling reference value B1 is even, determine that the scrolling direction of character A1 is forward. SS13: Determine the scrolling direction of character A1 by combining the base scrolling direction and the reference scrolling direction: If the base scrolling direction and the reference scrolling direction of character A1 are the same and both are back, then according to the order of the 26 uppercase letters, get the second character after character A1 from left to right as the magic character of character A1. If the number of characters after character A1 is less than 2, then get them in a loop. If the base scrolling direction of character A1 is inconsistent with the target scrolling direction (i.e., one is forward and the other is backward), then according to the order of the 26 uppercase letters, the first character before character A1 is obtained from left to right as the magic character of character A1. If the number of characters before character A1 is less than 1, then the process is repeated.
7. The source-load-storage resource collaborative optimization method according to claim 5, characterized in that, S15, the third generation rule for generating the magic character of the character combination E1 is as follows: S151: Compare the size of character combination E1 and comparison standard value P1, where P1 is a preset value used to determine whether the control character corresponding to character combination E1 as ASCII value is a letter; If character combination E1 is greater than or equal to the comparison standard P1, then the reference scrolling direction of character combination E1 is determined to be back, and the magic character of character combination E1 is generated according to the preset first number combination generation rule. S152: If character combination E1 < comparison standard P1, then the reference scrolling direction of character combination E1 is determined to be forward. At this time, the control character F1 of character combination E1 is calculated using the formula F1=E1+P2, and the magic character of character combination E1 is generated according to the preset second number combination generation rule.
8. The source-load-storage resource collaborative optimization method according to claim 7, characterized in that, S151, the first number combination generation rule for generating the magic character of the character combination E1 is as follows: SS31: Referring to the ASCII code lookup table, obtain the character combination E1 as the control character F1 corresponding to the ASCII value, and then determine whether the control character F1 is uppercase or lowercase. If the control character F1 is an uppercase letter, determine that the base scroll direction of the control character F1 is back, and generate the magic character of the control character F1 according to the first generation rule. If the control character F1 is a lowercase letter, determine that the base scroll direction of the control character F1 is forward, and generate the magic character of the control character F1 according to the second generation rule. SS32: Refer to the ASCII code lookup table to obtain the ASCII value corresponding to the magic character when it is used as a control character, and use the ASCII value as the magic character of the character combination E1.
9. The source-load-storage resource collaborative optimization method according to claim 7, characterized in that, S152, the second number combination generation rule for generating the magic character of the character combination E1 is as follows: SS41: Determine the case of the control character F1. If the control character F1 is an uppercase letter, determine that the baseline scrolling direction of the control character F1 is back, and generate the magic character of the control character F1 according to the first generation rule. If the control character F1 is a lowercase letter, determine that the baseline scrolling direction of the control character F1 is forward, and generate the magic character of the control character F1 according to the second generation rule. SS42: Refer to the ASCII code lookup table to obtain the ASCII value corresponding to the magic character when it is used as a control character, and use the ASCII value as the magic character of the character combination E1; Where P2 is the preset padding standard, and P2 is the preset value, used to make the control character corresponding to the character combination E1 as the ASCII value be an uppercase letter or a lowercase letter.
10. A source-load-storage resource collaborative optimization system, characterized in that, include: An authentication collection unit is used to acquire the identity authentication information entered by the currently pre-connected user, including the login account and login password. The authentication execution unit is used to extract the magic salt of the target power plant stored in the authentication execution unit after receiving the identity authentication information entered by the current pre-connected user, and to construct the magic salt of the identity authentication information according to the preset construction rules. The initial magic salt is a 16-character string consisting of numbers, uppercase and lowercase letters and special characters. The authentication execution unit is also used to extract the login account and login password from the identity authentication information, use the login password and the magic encryption salt of the identity authentication information as two parameters, use the MD5 algorithm to obtain the salt value password of the current pre-connected user, and then obtain the identity encrypted information of the current pre-connected user based on the salt value password and the login account. The Source-Load-Storage Collaborative Management and Control Center is used to extract the login account and identity encrypted information from the received identity encrypted information of the current pre-connected user, obtain the authorization password and magic salt corresponding to the authorization account that matches the login account, and restore and generate the identity encrypted information of the current pre-connected user according to the preset construction rules based on the authorization password and magic salt. The source-load-storage collaborative management and control center is also used to compare the restored encrypted identity information with the extracted encrypted identity information. If the comparison is successful, the data transmission permission is granted to the currently pre-connected user.
Citation Information
Patent Citations
Web login password encryption method and system based on md5
CN115765972A
Password generation method, password generation equipment and readable storage medium
CN117556411A