Source-load-storage resource collaborative optimization method and system

By building magic encryption salt in the authentication execution unit and updating it simultaneously, the leakage risk problem caused by frequent salt value updates in the existing technology is solved, and higher identity authentication security and data transmission security are achieved.

CN119995834AActive Publication Date: 2025-05-13STATE GRID SHANDONG ELECTRIC POWER CO FEIXIAN POWER SUPPLY CO
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411887306.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-05-13
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

The existing source and load storage resource data authentication methods increase the risk of special channels due to frequent salt value updates, which in turn endangers the security of the authentication system and data transmission.

Method used

Avoid frequent salt value transmission by building magic encryption salt in the authentication execution unit and synchronizing magic salt updates between the local end and the source and load storage collaborative control center.

Benefits of technology

It reduces the risk of salt value leakage, enhances the security of identity authentication, and ensures the transmission security of source and load storage resource data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119995834A_ABST
    Figure CN119995834A_ABST
Patent Text Reader

Abstract

The invention discloses a source-load-storage resource collaborative optimization method and system, and relates to the technical field of source-load-storage resource optimizing.The method comprises the steps that after identity authentication information input by a current pre-docking user is obtained, an authentication execution unit constructs a magic encryption salt of the current pre-docking user according to a magic salt currently stored in the authentication execution unit; the constructed magic encryption salt and the entered login password are used as two parameters, an md5 algorithm is used for obtaining identity ciphertext information, and in the process, the generation process of the magic encryption salt is constructed based on the previous magic encryption salt; in the process of constructing the magic encryption salt, different modes are adopted for large letters, small letters and numbers to obtain corresponding magic characters, so that the finally obtained magic encryption salt has high collision resistance and safety, and the safety in the identity authentication process is ensured; the security of source load storage resource data receiving in the source load storage resource collaborative optimization process is further ensured, and the optimization result is more accurate and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of source-load-storage resource optimization, and in particular to a source-load-storage resource collaborative optimization method and system. Background Art

[0002] In today's energy field, with the urgent need to improve energy efficiency, enhance energy supply stability and large-scale access to renewable energy, the coordinated optimization of source-load-storage resources has become a key research and development direction; the coordinated optimization of source-load-storage resources aims to achieve efficient, stable and sustainable operation of the energy system through comprehensive integration and precise regulation of power generation resources (source), power load (load) and energy storage facilities (storage);

[0003] In this collaborative optimization process, it is necessary to widely receive source, load and storage resource data from various places; these data sources are wide and scattered, covering power plants in different regions (including traditional thermal power, hydropower, wind power, photovoltaic power stations, etc.), various industrial power consumption areas, commercial power consumption sites, residential communities and distributed energy storage devices, etc.; Accurate and secure acquisition of these data plays a decisive role in the effectiveness and reliability of the entire collaborative optimization system; in order to ensure the legitimacy and security of the data source, identity authentication of each place has become an indispensable link;

[0004] At present, the existing authentication methods in various places mainly use salt to add to the typed login password and use the MD5 algorithm to enhance the complexity and anti-cracking ability of the password. In this authentication system, the role of salt is crucial. By combining with the password, the same password produces different hash results under the action of different salt values, which greatly increases the difficulty of brute force cracking of the password. In addition, in order to ensure that only the cloud can perform authentication operations, a special channel will be opened to preferentially transmit salt to ensure the authority and security of the authentication process.

[0005] However, due to the extremely high security requirements of this authentication method, salt needs to be dynamically updated to cope with ever-changing security threats. The current way to ensure the consistency of cloud and local salt is to transmit it to the cloud every time the salt is updated. This frequent data transmission process greatly increases the risk of leakage of special channels. Once the special channel is intercepted by malicious attackers, it may not only lead to the leakage of salt values, and then the entire authentication system will be breached, but also may endanger the transmission security and integrity of source, load and storage resource data.

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

[0007] The purpose of the present invention is to provide a source-load-storage resource collaborative optimization method and system to solve the problems raised in the above background technology;

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

[0009] A source-load-storage resource collaborative optimization method comprises the following steps:

[0010] Step 1: After receiving the identity authentication information of the current pre-connection user, the authentication execution unit extracts the magic salt of the target power plant stored in the authentication execution unit, where the identity authentication information includes the login account and login password;

[0011] Step 2: Determine all non-numeric characters constituting the magic salt one by one, and determine whether they are uppercase English letters or lowercase English letters, and select a preset first generation rule or a second generation rule to generate magic characters corresponding to the non-numeric characters;

[0012] Extract all the numeric characters of the magic salt, combine any two numeric characters to obtain a number of character combinations, remove duplicates from the number of character combinations, and generate corresponding magic characters for all the character combinations after removal of duplicates according to a 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 obtained 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, uses the MD5 algorithm to obtain the salt value password of the current pre-connection user, and then obtains the identity ciphertext information of the current pre-connection user according to the salt value password and the login account;

[0015] Step 4: After receiving the identity ciphertext information of the current pre-connection user, the source-load-storage collaborative management and control center extracts the login account and identity ciphertext information from it, obtains the authorization password and magic salt corresponding to the authorization account consistent with the login account according to the login account, and restores the identity ciphertext information of the current pre-connection user according to the authorization password and magic salt according to the preset construction rules;

[0016] Step 5: Perform consistency comparison between the restored identity ciphertext information and the extracted identity ciphertext information. If the comparison is successful, the data transmission permission is opened to the current pre-connected user.

[0017] Furthermore, in step five, after opening the data transmission permission to the current pre-connected user, the load-storage collaborative management and control center updates the magic salt of the corresponding authorized user based on the digital magic salt restored during the process of restoring the identity ciphertext information of the current pre-connected user.

[0018] Furthermore, in step 2, the construction rules of the magic encrypted salt for obtaining the identity authentication information are as follows:

[0019] S11: extracting all non-numeric characters in the magic salt, and marking all non-numeric characters constituting the magic salt as A1, A2, ..., Aa in order from left to right, where a≥1;

[0020] S12: Perform non-digit determination on the character A1. If the character A1 is an uppercase English letter, determine that the reference scrolling direction of the character A1 is backward, and generate the magic character of the character A1 according to a preset first generation rule. If the character A2 is a lowercase English letter, determine that the reference scrolling direction of the character A1 is forward, and generate the magic character of the character A1 according to a preset second generation rule.

[0021] S13: Generate magic characters of characters A2, A3, ..., Aa in sequence according to S12, and concatenate the magic characters of characters A1, A2, ..., Aa in the order of characters A1, A2, ..., Aa to obtain the alphabetical magic salt of the identity authentication information;

[0022] S14: extract all the characters that are digits in the magic salt and mark them as D1, D2, ..., Dd, respectively, where d≥1, and combine any two characters in the characters D1, D2, ..., Dd to obtain a number of character combinations, remove duplicates from the obtained number of character combinations, and sort all the character combinations after removing duplicates in ascending order of numbers, marking them as E1, E2, ..., Ee, where e≥1;

[0023] S15: Generate a magic character of the character combination E1 according to a preset third generation rule;

[0024] S16: Calculate and obtain the magic characters of the character combination E2, E3, ..., Ee in sequence according to S15, and concatenate the magic characters of the character combination E1, E2, ..., Ee in the order of the character combination E1, E2, ..., Ee to obtain the digital magic salt of the identity authentication information;

[0025] S17: Concatenate the alphabetical magic salt and the digital magic salt of the identity authentication information in the order of the alphabetical magic salt and the digital magic salt to obtain the magic encryption salt of the identity authentication information.

[0026] Further, S12, the first generation rule of the magic character for generating the character A1 is as follows:

[0027] SS11: refer to the ASCII code comparison table, obtain the ASCII value corresponding to the character A1 as a control character in the ASCII code comparison table, and use the obtained ASCII value as the rolling reference value B1 of the character A1;

[0028] SS12: Perform an odd-even determination on the scroll alignment value B1. If the scroll alignment value B1 is an odd number, the scroll alignment direction of the character A1 is determined to be backward. If the scroll alignment value B1 is an even number, the scroll alignment direction of the character A1 is determined to be forward.

[0029] SS13: Determine the scrolling direction of character A1 in combination with the reference scrolling direction and the reference scrolling direction of character A1: If the reference scrolling direction and the reference scrolling direction of character A1 are consistent and both are fallback, then the second character after character A1 (excluding character A1) is obtained from left to right according to the order of 26 uppercase letters as the magic character of character A1, wherein if the number of characters after character A1 is less than 2, the characters are obtained in a loop;

[0030] If the base scrolling direction and the target scrolling direction of character A1 are inconsistent, that is, one is forward and the other is backward, then according to the order of the 26 uppercase letters, obtain the first character before character A1 (excluding character A1) from left to right as the magic character of character A1. If the number of characters before character A1 is less than 1, obtain them in a loop.

[0031] A source-load-storage resource collaborative optimization system, comprising:

[0032] An authentication collection unit is used to obtain the identity authentication information entered by the current pre-connection user, wherein the identity authentication information includes a login account and a 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-connection user, and construct the extracted magic salt according to a preset construction rule to obtain the magic encrypted salt of the identity authentication information;

[0034] The authentication execution unit is further used to extract the login account and login password from the identity authentication information, respectively, 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-connection user, and then obtain the identity ciphertext information of the current pre-connection user according to 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 ciphertext information from the identity ciphertext information of the current pre-connection user after receiving it, obtain the authorization password and magic salt corresponding to the authorization account consistent with the login account according to the login account, and restore the identity ciphertext information of the current pre-connection user according to the authorization password and magic salt according to the preset construction rules;

[0036] The source-load-storage collaborative management and control center is also used to compare the restored identity ciphertext information with the extracted identity ciphertext information for consistency. If the comparison is successful, the data transmission permission is opened to the current pre-connected user.

[0037] Beneficial effects of the present invention:

[0038] After obtaining the identity authentication information entered by the current pre-docking user, the present invention constructs the magic encryption salt of the current pre-docking user according to the magic salt currently stored therein by the authentication execution unit, and uses the constructed magic encryption salt and the entered login password as two parameters to obtain the identity ciphertext information using the md5 algorithm. In this process, the generation process of the magic encryption salt is constructed based on the previous magic encryption salt. In this way, the update of the magic encryption salt in the local end and the source-load-storage collaborative control center only occurs in the local end and the source-load-storage collaborative control center, thereby avoiding the risk of leakage during the interaction process.

[0039] In the process of constructing magic encrypted salt, the present invention adopts different methods to obtain corresponding magic characters for uppercase and lowercase letters and numbers, so that the magic encrypted salt finally obtained has high collision resistance and security, ensures the security in the identity authentication process, and further ensures the security of source-load-storage resource data reception in the process of source-load-storage resource collaborative optimization, making the optimization result more accurate and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

[0042] 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.

[0043] like Figure 1As shown, the present invention provides a source-load-storage resource collaborative optimization system and method; wherein a source-load-storage resource collaborative optimization system includes a single-source authentication terminal;

[0044] The single-source authentication end is used for the target power plant to perform identity authentication with the source-load-storage collaborative control center when periodically transmitting source-load-storage resource data to the source-load-storage collaborative control center;

[0045] The single-source authentication end includes an authentication collection unit and an authentication execution unit. The authentication collection unit obtains the identity authentication information entered by the current pre-connection 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-bit character consisting of numbers, uppercase and lowercase English letters, and special characters;

[0046] In this application, the pre-connection user refers to the enterprise user who is designated to transmit the source-load-storage resource data to the source-load-storage collaborative control center. Here, the pre-connection user refers to the target power plant manager who has been authorized and authenticated by the source-load-storage collaborative control center;

[0047] The authentication execution unit updates and stores the magic salt of the target power plant. It should be noted that the initial magic salt is a 16-bit character 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 input by the current pre-connection user, the authentication execution unit extracts the magic salt of the target power plant stored in the authentication execution unit, and constructs the extracted magic salt according to the preset construction rules to obtain the magic encrypted salt of the identity authentication information. The construction rules are as follows:

[0049] S11: extracting all non-numeric characters in the magic salt, and marking all non-numeric characters constituting the magic salt as A1, A2, ..., Aa in order from left to right, where a≥1;

[0050] S12: Perform non-digit determination on the character A1. If the character A1 is an uppercase English letter, determine that the reference scrolling direction of the character A1 is backward, and generate the magic character of the character A1 according to a preset first generation rule. If the character A2 is a lowercase English letter, determine that the reference scrolling direction of the character A1 is forward, and generate the magic character of the character A1 according to a preset second generation rule.

[0051] The first generation rule of the magic character for generating the character A1 is as follows:

[0052] SS11: refer to the ASCII code comparison table, obtain the ASCII value corresponding to the character A1 as a control character in the ASCII code comparison table, and use the obtained ASCII value as the rolling reference value B1 of the character A1;

[0053] SS12: Perform an odd-even determination on the scroll alignment value B1. If the scroll alignment value B1 is an odd number, the scroll alignment direction of the character A1 is determined to be backward. If the scroll alignment value B1 is an even number, the scroll alignment direction of the character A1 is determined to be forward.

[0054] SS13: Determine the scrolling direction of character A1 in combination with the reference scrolling direction and the reference scrolling direction of character A1: If the reference scrolling direction and the reference scrolling direction of character A1 are consistent and both are fallback, then the second character after character A1 (excluding character A1) is obtained from left to right according to the order of 26 uppercase letters as the magic character of character A1, wherein if the number of characters after character A1 is less than 2, 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 reference scrolling direction and the target scrolling direction of character A1 are inconsistent, that is, 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, wherein if the number of characters before character A1 is less than 1, then the magic character is obtained in a loop;

[0057] For example, if character A1 is A, 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 of the magic character for generating the character A1 is as follows:

[0060] SS21: refer to the ASCII code comparison table, obtain the ASCII value corresponding to the character A1 as a control character in the ASCII code comparison table, and use the obtained ASCII value as the rolling reference value C1 of the character A1;

[0061] SS22: performing an odd-even determination on the scroll alignment value C1. If the scroll alignment value C1 is an odd number, the alignment scrolling direction of the character A1 is determined to be backward. If the scroll alignment value C1 is an even number, the alignment scrolling direction of the character A1 is determined to be forward.

[0062] SS23: Determine the scrolling direction of character A1 in combination with the reference scrolling direction and the reference scrolling direction of character A1: If the reference scrolling direction and the reference scrolling direction of character A1 are consistent and both are forward, then the second character before character A1 (excluding character A1) is obtained from left to right in the order of 26 lowercase letters as the magic character of character A1, wherein if the number of characters before character A1 is less than 2, the characters are obtained in a loop;

[0063] For example, if character A1 is a, the magic character of character A1 is y, and if character A1 is b, the magic character of character A1 is z;

[0064] If the base scrolling direction and the target scrolling direction of character A1 are inconsistent, that is, 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, wherein if the number of characters before character A1 is less than 1, then the magic character is 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 of characters A2, A3, ..., Aa in sequence according to S12, and concatenate the magic characters of characters A1, A2, ..., Aa in the order of characters A1, A2, ..., Aa to obtain the alphabetical magic salt of the identity authentication information;

[0068] S14: extract all the characters that are digits in the magic salt and mark them as D1, D2, ..., Dd, respectively, where d≥1, and combine any two characters in the characters D1, D2, ..., Dd to obtain a number of character combinations, remove duplicates from the obtained number of character combinations, and sort all the character combinations after removing duplicates in ascending order of numbers, marking them as E1, E2, ..., Ee, where e≥1;

[0069] For example, if all the extracted numeric characters are 1, 1, 2, 3, 9, then the character combinations obtained by combining any two of them are 11, 12, 13, 19, 11, 12, 13, 19, 21, 21, 23, 29, 31, 31, 32, 39, 91, 91, 92, 93. After removing duplicates, the character combinations are 11, 12, 13, 19, 21, 23, 29, 31, 32, 39, 91, 92, 93.

[0070] S15: Generate a magic character of the character combination E1 according to a preset third generation rule;

[0071] S151: Compare the character combination E1 and the comparison standard value P1, where P1 is a preset value used to determine whether the control character corresponding to the ASCII value of the character combination E1 is a letter. In this application, the value of P1 is 97;

[0072] If the character combination E1 ≥ the comparison standard quantity P1, the reference scrolling direction of the character combination E1 is determined to be backward, and the magic character of the character combination E1 is generated according to the preset first digital combination generation rule. The first digital combination is as follows:

[0073] SS31: referring to the ASCII code comparison table, obtaining the character combination E1 as the control character F1 corresponding to the ASCII value, and then determining whether the control character F1 is an uppercase letter or an lowercase letter. If the control character F1 is an uppercase letter, determining that the reference scrolling direction of the control character F1 is backward, and generating a magic character of the control character F1 according to the first generation rule; if the control character F1 is a lowercase letter, determining that the reference scrolling direction of the control character F1 is forward, and generating a magic character of the control character F1 according to the second generation rule;

[0074] SS32: refer to the ASCII code comparison 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 the character combination E1 is less than the comparison standard quantity P1, the reference scrolling direction of the character combination E1 is determined to be forward. At this time, the control character F1 of the character combination E1 is calculated using the formula F1=E1+P2, and the magic character of the character combination E1 is generated according to the preset second digital combination generation rule. The second digital combination is as follows:

[0076] SS41: Determine whether the control character F1 is an uppercase letter or an lowercase letter. If the control character F1 is an uppercase letter, determine that the reference scrolling direction of the control character F1 is backward, and generate a magic character of the control character F1 according to a first generation rule. If the control character F1 is a lowercase letter, determine that the reference scrolling direction of the control character F1 is forward, and generate a magic character of the control character F1 according to a second generation rule.

[0077] SS42: refer to the ASCII code comparison table to obtain the ASCII value corresponding to the magic character as a control character, and use the ASCII value as the magic character of the character combination E1;

[0078] Wherein P2 is a preset padding standard amount, and P2 is a preset value used to make the control character corresponding to the character combination E1 as an ASCII value an uppercase letter or a lowercase letter;

[0079] It should be noted that in this application, the value of P2 is preset by the administrator, and each value corresponds to a numerical range. By comparing the numerical range of the unselected character combination E1, the corresponding value is selected as the value of P2;

[0080] S16: Calculate and obtain the magic characters of the character combination E2, E3, ..., Ee in sequence according to S15, and concatenate the magic characters of the character combination E1, E2, ..., Ee in the order of the character combination E1, E2, ..., Ee to obtain the digital magic salt of the identity authentication information;

[0081] S17: Concatenate the alphabetical magic salt and the digital magic salt of the identity authentication information in the order of the alphabetical magic salt and the digital 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-connection user, and then obtains the identity ciphertext information of the current pre-connection user according to 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 pre-connected user before receiving the source-load-storage resource data. The source-load-storage collaborative management and control center stores the authorization authentication information of all authorized users who have passed the authorization authentication. The authorization authentication information includes the authorization account, authorization password and magic salt.

[0084] After receiving the transmitted identity ciphertext information, the source-load-storage collaborative management and control center extracts the login account and the identity ciphertext information therefrom, and obtains the authorization password and the magic salt corresponding to the authorization account consistent with the login account according to the login account, and restores the identity ciphertext information of the current pre-connection user according to the authorization password and the magic salt according to the preset construction rules, and compares the restored identity ciphertext information with the extracted identity ciphertext information for consistency. If the comparison is successful, it is determined that the authentication is successful, and the data transmission permission is enabled for the current pre-connection user, and an authentication pass instruction is generated, and the authentication pass instruction is transmitted to the single-source authentication end, and then the magic salt of the corresponding authorized user is updated according to the digital magic salt restored in the process of restoring the identity ciphertext information of the current pre-connection user;

[0085] After receiving the transmitted authentication pass instruction, the single-source authentication end can transmit data, and transmit the authentication pass instruction to the authentication execution unit. After receiving the transmitted authentication pass instruction, the authentication execution unit updates the magic salt of the target power plant stored therein according to the digital magic salt of the identity authentication information;

[0086] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. 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 representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0087] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions 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 protection scope of the present invention.

[0088] 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. A source-load-storage resource collaborative optimization method, characterized in that: The following steps are involved: Step 1: After receiving the identity authentication information of the current pre-connection user, the authentication execution unit extracts the magic salt of the target power plant stored in the authentication execution unit, where the identity authentication information includes the login account and login password; Step 2: Determine all non-numeric characters constituting the magic salt one by one, and determine whether they are uppercase English letters or lowercase English letters, and select a preset first generation rule or a second generation rule to generate magic characters corresponding to the non-numeric characters; Extract all the numeric characters of the magic salt, combine any two numeric characters to obtain a number of character combinations, remove duplicates from the number of character combinations, and generate corresponding magic characters for all the character combinations after removal of duplicates according to a preset third generation rule; The magic encryption salt of the identity authentication information is constructed based on the magic characters of all non-numeric characters obtained and the magic characters of all character combinations after deduplication; 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, uses the MD5 algorithm to obtain the salt value password of the current pre-connection user, and then obtains the identity ciphertext information of the current pre-connection user according to the salt value password and the login account; Step 4: After receiving the identity ciphertext information of the current pre-connection user, the source-load-storage collaborative management and control center extracts the login account and identity ciphertext information from it, obtains the authorization password and magic salt corresponding to the authorization account consistent with the login account according to the login account, and restores the identity ciphertext information of the current pre-connection user according to the authorization password and magic salt according to the preset construction rules; Step 5: Perform consistency comparison between the restored identity ciphertext information and the extracted identity ciphertext information. If the comparison is successful, the data transmission permission is opened to the current pre-connected user.

2. A source-load-storage resource collaborative optimization method according to claim 1, characterized in that: The magic salt of the target power plant is updated and stored in the authentication execution unit; The source-load-storage collaborative management and control center stores the authorization authentication information of all authorized users who have passed the authorization authentication. The authorization authentication information includes the authorization account, authorization password and magic salt.

3. A source-load-storage resource collaborative optimization method according to claim 2, characterized in that: In step five, after opening the data transmission permission to the current pre-connected user, the load-storage collaborative management and control center updates the magic salt of the corresponding authorized user based on the digital magic salt restored during the process of restoring the identity ciphertext information of the current pre-connected user.

4. The source-load-storage resource collaborative optimization method according to claim 2, characterized in that: The load-storage collaborative management and control center generates an authentication pass instruction after opening the data transmission permission to the current pre-connected user. After receiving the authentication pass instruction, the authentication execution unit updates the magic salt of the target power plant stored therein according to 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 2: The construction rules for constructing the magic encrypted salt for obtaining the identity authentication information are as follows: S11: extracting all non-numeric characters in the magic salt, and marking all non-numeric characters constituting the magic salt as A1, A2, ..., Aa in order from left to right, where a≥1; S12: Perform non-digit determination on the character A1. If the character A1 is an uppercase English letter, determine that the reference scrolling direction of the character A1 is backward, and generate the magic character of the character A1 according to a preset first generation rule. If the character A2 is a lowercase English letter, determine that the reference scrolling direction of the character A1 is forward, and generate the magic character of the character A1 according to a preset second generation rule. S13: Generate magic characters of characters A2, A3, ..., Aa in sequence according to S12, and concatenate the magic characters of characters A1, A2, ..., Aa in the order of characters A1, A2, ..., Aa to obtain the alphabetical magic salt of the identity authentication information; S14: extract all the characters that are digits in the magic salt and mark them as D1, D2, ..., Dd, respectively, where d≥1, and combine any two characters in the characters D1, D2, ..., Dd to obtain a number of character combinations, remove duplicates from the obtained number of character combinations, and sort all the character combinations after removing duplicates in ascending order of numbers, marking them as E1, E2, ..., Ee, where e≥1; S15: Generate a magic character of the character combination E1 according to a preset third generation rule; S16: Calculate and obtain the magic characters of the character combination E2, E3, ..., Ee in sequence according to S15, and concatenate the magic characters of the character combination E1, E2, ..., Ee in the order of the character combination E1, E2, ..., Ee to obtain the digital magic salt of the identity authentication information; S17: Concatenate the alphabetical magic salt and the digital magic salt of the identity authentication information in the order of the alphabetical magic salt and the digital magic salt to obtain the magic encryption salt of the identity authentication information.

6. A source-load-storage resource collaborative optimization method according to claim 5, characterized in that: S12, the first generation rule of the magic character for generating the character A1 is as follows: SS11: refer to the ASCII code comparison table, obtain the ASCII value corresponding to the character A1 as a control character in the ASCII code comparison table, and use the obtained ASCII value as the rolling reference value B1 of the character A1; SS12: Perform an odd-even determination on the scroll alignment value B1. If the scroll alignment value B1 is an odd number, the scroll alignment direction of the character A1 is determined to be backward. If the scroll alignment value B1 is an even number, the scroll alignment direction of the character A1 is determined to be forward. SS13: Determine the scrolling direction of character A1 in combination with the reference scrolling direction and the reference scrolling direction of character A1: If the reference scrolling direction and the reference scrolling direction of character A1 are consistent and both are fallback, then the second character after character A1 (excluding character A1) is obtained from left to right according to the order of 26 uppercase letters as the magic character of character A1, wherein if the number of characters after character A1 is less than 2, the characters are obtained in a loop; If the base scrolling direction and the target scrolling direction of character A1 are inconsistent, that is, one is forward and the other is backward, then according to the order of the 26 uppercase letters, obtain the first character before character A1 (excluding character A1) from left to right as the magic character of character A1. If the number of characters before character A1 is less than 1, obtain them in a loop.

7. The source-load-storage resource collaborative optimization method according to claim 5, characterized in that: S15, generating a third generation rule of the magic character of the character combination E1 is as follows: S151: Compare the character combination E1 and the comparison standard value P1, where P1 is a preset value, to determine whether the control character corresponding to the character combination E1 as an ASCII value is a letter; If the character combination E1 ≥ the comparison standard quantity P1, the reference scrolling direction of the character combination E1 is determined to be backward, and a magic character of the character combination E1 is generated according to a preset first digital combination generation rule; S152: If the character combination E1<the comparison standard amount P1, then the reference scrolling direction of the character combination E1 is determined to be forward. At this time, the control character F1 of the character combination E1 is calculated using the formula F1=E1+P2, and the magic character of the character combination E1 is generated according to the preset second digital combination generation rule.

8. The source-load-storage resource collaborative optimization method according to claim 7, characterized in that: S151, generating a first digital combination generation rule of the magic character of the character combination E1 is as follows: SS31: referring to the ASCII code comparison table, obtaining the character combination E1 as the control character F1 corresponding to the ASCII value, and then determining whether the control character F1 is an uppercase letter or an lowercase letter. If the control character F1 is an uppercase letter, determining that the reference scrolling direction of the control character F1 is backward, and generating a magic character of the control character F1 according to the first generation rule; if the control character F1 is a lowercase letter, determining that the reference scrolling direction of the control character F1 is forward, and generating a magic character of the control character F1 according to the second generation rule; SS32: refer to the ASCII code comparison 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, generating a second digital combination of magic characters of the character combination E1 according to the following rules: SS41: Determine whether the control character F1 is an uppercase letter or an lowercase letter. If the control character F1 is an uppercase letter, determine that the reference scrolling direction of the control character F1 is backward, and generate a magic character of the control character F1 according to a first generation rule. If the control character F1 is a lowercase letter, determine that the reference scrolling direction of the control character F1 is forward, and generate a magic character of the control character F1 according to a second generation rule. SS42: refer to the ASCII code comparison table to obtain the ASCII value corresponding to the magic character as a control character, and use the ASCII value as the magic character of the character combination E1; P2 is a preset padding standard amount, and P2 is a preset value, which is used to make the character combination E1 as the control character corresponding to the ASCII value an uppercase letter or a lowercase letter.

10. A source-load-storage resource collaborative optimization system, applied to a source-load-storage resource collaborative optimization method as claimed in any one of claims 1 to 9, characterized in that: include: An authentication collection unit is used to obtain the identity authentication information entered by the current pre-connection user, wherein the identity authentication information includes a login account and a 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-connection user, and construct the extracted magic salt according to a preset construction rule to obtain the magic encrypted salt of the identity authentication information; The authentication execution unit is further used to extract the login account and login password from the identity authentication information, respectively, 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-connection user, and then obtain the identity ciphertext information of the current pre-connection user according to 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 ciphertext information from the identity ciphertext information of the current pre-connection user after receiving it, obtain the authorization password and magic salt corresponding to the authorization account consistent with the login account according to the login account, and restore the identity ciphertext information of the current pre-connection user according to the authorization password and magic salt according to the preset construction rules; The source-load-storage collaborative management and control center is also used to compare the restored identity ciphertext information with the extracted identity ciphertext information for consistency. If the comparison is successful, the data transmission permission is opened to the current pre-connected user.

Citation Information

Patent Citations

  • Authentication system and method

    CN108650210A

  • Web login password encryption method and system based on md5

    CN115765972A

  • Password generation method, password generation equipment and readable storage medium

    CN117556411A

  • Authentication method by salted password

    KR101600474B1

  • System and method for protecting access to authentication systems

    WO2011145098A1