A method and system for protecting privacy of power grid database
By filing the power grid data source, setting permission nodes and performing transmission encryption processing, combined with the data filtering mechanism set in the power grid database, the problem of data privacy guarantee during the power grid data transmission is solved, and the secure transmission of data is achieved.
Patent Information
- Application Number
- CN202411613535.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-11-13
AI Technical Summary
How to ensure the privacy of data during the transmission of power grid data, especially under the decentralized management of internal and external data of power companies.
By filing the source information of the power grid, set up permission nodes, and build data carriers in these nodes for transmission encryption. At the same time, a data filtering mechanism is set up in the power grid database to ensure the integrity and privacy of the data during the transmission process.
It effectively protects the privacy of power grid data during transmission, prevents data tampering and leakage, and ensures the security and reliability of data.
Smart Images

Figure CN119150361B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data security, and in particular to a method and system for protecting privacy of a power grid database. Background Art
[0002] At present, the demands on all aspects of the power system are constantly increasing, and the process of intelligence is also constantly advancing, which has also led to an increase in the scale of power grid data, an increase in operating speed, and data diversification. According to the different sources of data, smart grid big data can be divided into internal data of power companies and external data of power companies. The internal data sources of power companies mainly include wide-area measurement systems, data acquisition and monitoring systems, online monitoring systems, electricity consumption information collection systems, production management systems, distribution management systems, customer service systems, etc.; the external data sources of power companies include meteorological information systems, geographic information systems, Internet data, public service department data, social and economic data, etc. These data are scattered in different places and managed by different units / departments. They have the characteristics of decentralized placement and distributed management;
[0003] How to ensure the privacy of data in the process of power grid data transmission from each power terminal to the power grid database is a problem we need to solve. To this end, a power grid database privacy protection method and system are now provided. Summary of the invention
[0004] The object of the present invention is to provide a method and system for protecting privacy of a power grid database.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] A method for protecting privacy of a power grid database comprises the following steps:
[0007] Step S1: Record the source information of power grid data and set the corresponding authority node according to the source of power grid data;
[0008] Step S2: constructing a corresponding data carrier in each of the authority nodes, loading the power grid data in the authority node into the data carrier, and performing transmission encryption processing on the data carrier;
[0009] Step S3: Setting a data filtering mechanism for a power grid database for storing power grid data, and performing data filtering on the data carrier according to the set data filtering mechanism.
[0010] Furthermore, the filed power grid data source information sets corresponding authority nodes according to the power grid data source, including:
[0011] Setting a unique data source identification code for each power grid data source end, and associating the set data source identification code with the corresponding power grid data source end respectively;
[0012] Send all the data source identification codes to the power grid database for information filing. After the data source identification codes are filed, corresponding authority nodes will be constructed according to the filed data source identification codes, and the constructed authority nodes will be associated with the power grid data source end;
[0013] A one-way data transmission link is constructed between the associated power grid data source and the authority node, and the power grid data source uploads the generated power grid data to the authority node through the one-way data transmission link.
[0014] Furthermore, the data carrier construction process includes:
[0015] Marking the power grid data to be transmitted in the authority node, and converting the power grid data into corresponding power grid data streams;
[0016] Decomposing the power grid data stream into a plurality of data stream segments;
[0017] Acquire the number of unit codes constituting the data source identification code of the power grid data source end corresponding to the power grid data;
[0018] The number of the obtained data stream segments is recorded as n, and the data length of each data stream segment is K;
[0019] If there is a data stream segment whose data length is not K, the corresponding data stream segment is complemented, and according to the complement result, the data stream code element is replaced for each unit code of the data source identification code;
[0020] If there is no data stream segment whose data length is not K, directly perform data stream code element replacement on each unit code of the data source identification code;
[0021] The data stream segment that has completed the data stream symbol replacement is recorded as the data stream segment to be loaded;
[0022] According to the obtained number of the data stream segments to be loaded, a corresponding number of data carriers are constructed, and the data carriers include a number of blank items.
[0023] Furthermore, the method also includes: associating the obtained data stream fragments to be loaded with one of the data carriers respectively, and marking the blank items corresponding to the positions where data stream code elements are replaced in the data stream fragments to be loaded associated with the data carrier, setting open permissions for the marked blank items, and isolating the blank items from other blank items.
[0024] Furthermore, performing data stream code element replacement on each unit code of the data source identification code includes:
[0025] When the data length of the data stream segment does not exist and is not K, each code element of the data source identification code is marked respectively, and the code element of the unit code at the corresponding position in each data stream segment is replaced according to the code element sequence;
[0026] When there is a data stream segment with a data length of K, the data stream segment with a data length of K is marked, and the data source identification code is complemented to the data stream segment in the code element sequence until the data length is K, and the remaining code elements are aggregated;
[0027] According to the symbol position of the aggregated symbol in the data source identification code, the symbol of the unit code at the corresponding position in the data stream segment is replaced.
[0028] Furthermore, the step of loading the power grid data in the authority node into the data carrier and performing transmission encryption processing on the data carrier includes:
[0029] Loading the unit code of the data stream segment to be loaded obtained from the power grid data to be transmitted into the corresponding blank item of the data carrier, and recording the blank item loaded with the unit code of the data stream segment as a loaded item;
[0030] After completing the loading of data of all the data stream segments to be loaded, marking the unit codes to be replaced respectively, and sorting the unit codes according to the replaced order of the unit codes to obtain a replaced data stream;
[0031] The obtained replacement data stream is converted into different bases to obtain several groups of base conversion results, the obtained base conversion results are combined, and the combined base conversion results are used as encryption keys to encrypt all the data carriers, generate encryption ports, and send the encryption keys to the power grid database.
[0032] Furthermore, the setting of a data filtering mechanism for the power grid database for storing power grid data, and filtering the data on the data carrier according to the set data filtering mechanism, includes:
[0033] Generate a digital twin interface according to the received encryption key, establish a corresponding data transmission channel, link the encryption port with the digital twin interface through the data transmission channel, and set a corresponding data filtering mechanism on the digital twin interface;
[0034] Uploading each of the data carriers in the authority node to the power grid database through the data transmission channel;
[0035] Performing data filtering on each of the uploaded data carriers through the data filtering mechanism set by the digital twin interface;
[0036] The data filtering mechanism set by the digital twin interface performs data filtering on each of the uploaded data carriers, including:
[0037] Determining whether each of the add-ons in each of the data carriers has an open authority, marking the data carriers of the add-ons with the open authority, and obtaining the unit code of the add-ons with the open authority in the marked data carriers;
[0038] Combining the obtained unit codes to obtain a corresponding data sequence, and matching the obtained data sequence with a data source identification code filed in the power grid database;
[0039] If the match is successful, it means that the data in each add-on with the open permission in the data carrier has not been tampered with, then the data stream loaded in each data carrier is decrypted by the encryption key in the power grid database, and after the decryption of the data carrier is completed, the data stream fragments in each data carrier are exported, and the exported data stream fragments are reassembled to obtain the corresponding power grid data, and the power grid data is imported into the power grid database for storage;
[0040] If the match is unsuccessful, the data carrier corresponding to the data sequence is intercepted, and a warning message is sent to the authority node corresponding to the data carrier, and the authority node retransmits the power grid data according to the warning message;
[0041] The decrypting of the data stream loaded in each of the data carriers by using the encryption key in the power grid database includes:
[0042] The unit code of the encryption key is loaded into each add-on with the open authority to complete the decryption of the data carrier.
[0043] A power grid database privacy protection system, comprising:
[0044] Data filing module, used to file the source information of power grid data and set corresponding authority nodes according to the source of power grid data;
[0045] A data loading module, used to construct a corresponding data carrier in each of the authority nodes, load the power grid data in the authority node into the data carrier, and perform transmission encryption processing on the data carrier;
[0046] A data filtering module, used to set a data filtering mechanism for a power grid database storing power grid data, and to perform data filtering on the data carrier according to the set data filtering mechanism;
[0047] The data carrier construction process includes:
[0048] Marking the power grid data to be transmitted in the authority node, and converting the power grid data into corresponding power grid data streams;
[0049] Decomposing the power grid data stream into a plurality of data stream segments;
[0050] Acquire the number of unit codes constituting the data source identification code of the power grid data source end corresponding to the power grid data;
[0051] The number of the obtained data stream segments is recorded as n, and the data length of each data stream segment is K;
[0052] If there is a data stream segment whose data length is not K, the corresponding data stream segment is complemented, and according to the complement result, the data stream code element is replaced for each unit code of the data source identification code;
[0053] If there is no data stream segment whose data length is not K, directly perform data stream code element replacement on each unit code of the data source identification code;
[0054] The data stream segment that has completed the data stream symbol replacement is recorded as the data stream segment to be loaded;
[0055] According to the obtained number of the data stream segments to be loaded, a corresponding number of data carriers are constructed, and the data carriers include a number of blank items.
[0056] Compared with the prior art, the beneficial effects of the present invention are: by decomposing the power grid data to be transmitted to the power grid database, and then constructing the corresponding data carrier according to the number of decomposed data stream fragments, by loading the data stream fragments into the data carrier, encrypting the data carrier, and after completing the data encryption, according to the data encryption process, setting the corresponding data filtering mechanism in the power grid database, and filtering the data carrier through the data filtering mechanism, thereby ensuring that the data transmitted through the data carrier is not tampered with, and protecting the data privacy of the power grid data during the transmission process. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A schematic diagram of a flow chart of a method for protecting privacy of a power grid database disclosed in an embodiment of the present invention;
[0058] Figure 2 A schematic diagram of the structure of a power grid database privacy protection system disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0059] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for protecting privacy in a power grid database disclosed in an embodiment of the present invention. Figure 1 As shown, a method for protecting privacy of a power grid database comprises the following steps:
[0060] Step S1: Record the source information of power grid data and set the corresponding authority node according to the source of power grid data;
[0061] Step S2: construct a corresponding data carrier in each authority node, load the power grid data in the authority node into the data carrier, and perform transmission encryption processing on the data carrier;
[0062] Step S3: Setting a data filtering mechanism for a power grid database for storing power grid data, and performing data filtering on the data carrier according to the set data filtering mechanism.
[0063] It should be further explained that, in the specific implementation process, the process of filing the power grid data source information and setting the corresponding authority node according to the power grid data source includes:
[0064] Setting a unique data source identification code for each power grid data source end, and associating the set data source identification code with the corresponding power grid data source end respectively;
[0065] All data source identification codes are sent to the power grid database for information filing. After the data source identification codes are filed, the corresponding authority nodes are constructed according to the filed data source identification codes, and the constructed authority nodes are associated with the power grid data source end;
[0066] A one-way data transmission link is constructed between the associated power grid data source and the authority node, and the power grid data source uploads the generated power grid data to the authority node through the one-way data transmission link.
[0067] It should be further explained that, in the specific implementation process, the construction process of the data carrier includes:
[0068] The power grid data to be transmitted in the authority node is marked, and the power grid data is converted into the corresponding power grid data stream; it should be further explained that in the specific implementation process, the power grid data stream is composed of several binary codes;
[0069] The power grid data stream is decomposed into a plurality of data stream segments; it should be further explained that, in the specific implementation process, the data lengths of the data stream segments are consistent;
[0070] Obtain the number of unit codes of the data source identification code of the power grid data source end corresponding to the power grid data, which is recorded as K;
[0071] The number of the obtained data stream segments is recorded as n, and the data length of each data stream segment is K; it should be further explained that, in a specific implementation process, the data length may be the number of binary codes contained in the data stream segment, and the data length of the data stream segment is consistent with the number of unit codes of the data source identification code;
[0072] Label each data stream segment as i, where i=1, 2, ..., n, where n is an integer and n>1;
[0073] It should be further explained that, in the specific implementation process, if there is a data stream segment whose data length is not K, the corresponding data stream segment is complemented, and according to the complement result, the data stream code element is replaced for each unit code identified by the data source;
[0074] If there is no data stream segment whose data length is not K, then directly perform data stream code element replacement on each unit code of the data source identification code;
[0075] The data stream segment that has completed the data stream symbol replacement is recorded as the data stream segment to be loaded;
[0076] According to the number of the obtained data stream segments to be loaded, a corresponding number of data carriers are constructed, and the data carriers include a number of blank items; it should be further explained that in a specific implementation process, the number of blank items is consistent with the number of code elements of the data stream segments to be loaded;
[0077] The obtained data stream fragments to be loaded are respectively associated with a data carrier, and the blank items corresponding to the positions where the data stream code elements are replaced in the data stream fragments to be loaded associated with the data carrier are marked, open permissions are set for the marked blank items, and data isolating them from other blank items; it should be further explained that, in the specific implementation process, data isolation means that the corresponding blank items cannot actively interact with other blank items, and open permissions mean that the corresponding blank items can be interacted with.
[0078] It should be further explained that, in a specific implementation process, the process of replacing the data stream code element of each unit code of the data source identification code includes:
[0079] When there is no data stream segment whose data length is not K, each code element of the data source identification code is marked respectively, and the code element of the unit code at the corresponding position in each data stream segment is replaced according to the order of the code elements;
[0080] When there is a data stream segment with a data length of K, the corresponding data stream segment is marked, and the data source identification code is complemented to the data stream segment in the code element order until the data length is K, and the remaining code elements are aggregated;
[0081] According to the symbol position of the summarized code element in the data source identification code, the code element of the unit code at the corresponding position in the data stream segment is replaced.
[0082] Optionally, according to the order of code elements, code element replacement is performed on the unit codes at corresponding positions in each data stream segment, which may specifically include the following operations: replacing the first code element with the first unit code in the data stream segment labeled i=1, replacing the second code element with the second unit code in the data stream segment labeled i=2, and so on, to complete the code element replacement of each code element of the data source identification code.
[0083] Optionally, according to the symbol position of the summarized symbol in the data source identification code, the symbol replacement is performed on the unit code at the corresponding position in the data stream segment, which may specifically include the following operations:
[0084] If the remaining codeword is the Mth codeword in the data source identification code, then obtain the data stream segment labeled i=M, and replace the Mth unit code in the data stream segment, and so on, to complete the codeword replacement of each codeword of the data source identification code.
[0085] It should be further explained that, in the specific implementation process, the process of loading the power grid data in the authority node into the data carrier and performing transmission encryption processing on the data carrier includes:
[0086] Loading the unit code of the data stream segment to be loaded obtained from the power grid data to be transmitted into the corresponding blank item of the data carrier, and recording the blank item loaded with the unit code of the data stream segment as the loaded item;
[0087] After completing the data loading of all the data stream segments to be loaded, the unit codes to be replaced are marked respectively, and the unit codes are sorted according to the order in which the unit codes are replaced, so as to obtain the replaced data stream;
[0088] The obtained replacement data stream is converted into different bases to obtain several groups of base conversion results, the obtained base conversion results are combined, and the combined base conversion results are used as encryption keys to encrypt all data carriers, generate encryption ports, and send the encryption keys to the power grid database.
[0089] It should be further explained that, in the specific implementation process, a data filtering mechanism is set for the power grid database for storing power grid data, and the process of filtering data on the data carrier according to the set data filtering mechanism includes:
[0090] According to the received encryption key, a digital twin interface is generated, a corresponding data transmission channel is established, the encryption port is linked to the digital twin interface through the data transmission channel, and a corresponding data filtering mechanism is set on the digital twin interface;
[0091] Upload each data carrier in the authority node to the power grid database through the data transmission channel;
[0092] The data filtering mechanism set by the digital twin interface is used to filter the uploaded data carriers. After the data filtering of the data carriers is completed, the data carriers are imported into the power grid database for storage, and the data transmission channel and the digital twin interface are invalidated.
[0093] It should be further explained that, in the specific implementation process, the process of filtering data on the data carrier includes:
[0094] Determine whether each add-on in each data carrier has an open authority, mark the data carrier of the add-on with the open authority, and obtain the unit code in the add-on with the open authority in the marked data carrier;
[0095] The obtained unit codes are combined to obtain a corresponding data sequence, and the obtained data sequence is matched with a data source identification code filed in a power grid database;
[0096] If the match is successful, it means that the data in each add-on with open permissions in the data carrier has not been tampered with, and the data stream loaded in each data carrier is decrypted by the encryption key in the power grid database, and after the decryption of the data carrier is completed, the data stream fragments in each data carrier are exported, and the exported data stream fragments are reassembled to obtain the corresponding power grid data, and the power grid data is imported into the power grid database for storage;
[0097] If the match fails, the corresponding data carrier will be intercepted and a warning message will be sent to the authority node, which will retransmit the power grid data based on the warning message.
[0098] Optionally, decrypting the data stream loaded in each data carrier by using the encryption key in the power grid database may specifically include the following operations:
[0099] The unit code of the encryption key is loaded into each add-on with open permissions to complete the decryption of the data carrier.
[0100] The power grid data to be transmitted to the power grid database is decomposed, and then the corresponding data carrier is constructed according to the number of decomposed data stream fragments. After the data stream fragments are loaded into the data carrier, the data carrier is encrypted. After the data encryption is completed, according to the data encryption process, a corresponding data filtering mechanism is set in the power grid database, and the data carrier is filtered through the data filtering mechanism, thereby ensuring that the data transmitted through the data carrier is not tampered with, and protecting the data privacy of the power grid data during the transmission process.
[0101] See also Figure 2 , Figure 2 Schematic diagram of a power grid database privacy protection system disclosed in an embodiment of the present invention. Figure 2 As shown, a power grid database privacy protection system includes:
[0102] Data filing module, used to file the source information of power grid data and set corresponding authority nodes according to the source of power grid data;
[0103] A data loading module, used to construct a corresponding data carrier in each of the authority nodes, load the power grid data in the authority node into the data carrier, and perform transmission encryption processing on the data carrier;
[0104] The data filtering module is used to set a data filtering mechanism for a power grid database storing power grid data, and to perform data filtering on the data carrier according to the set data filtering mechanism.
[0105] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A method for protecting privacy of a power grid database, characterized in that: The following steps are involved: Step S1: Record the source information of power grid data and set the corresponding authority node according to the source of power grid data; Step S2: constructing a corresponding data carrier in each of the authority nodes, loading the power grid data in the authority node into the data carrier, and performing transmission encryption processing on the data carrier; Step S3: Setting a data filtering mechanism for a power grid database for storing power grid data, and performing data filtering on the data carrier according to the set data filtering mechanism; The data carrier construction process includes: Marking the power grid data to be transmitted in the authority node, and converting the power grid data into corresponding power grid data streams; Decomposing the power grid data stream into a plurality of data stream segments; Acquire the number of unit codes constituting the data source identification code of the power grid data source end corresponding to the power grid data; The number of the obtained data stream segments is recorded as n, and the data length of each data stream segment is K; If there is a data stream segment whose data length is not K, the corresponding data stream segment is complemented, and according to the complement result, the data stream code element is replaced for each unit code of the data source identification code; If there is no data stream segment whose data length is not K, directly perform data stream code element replacement on each unit code of the data source identification code; The data stream segment that has completed the data stream symbol replacement is recorded as the data stream segment to be loaded; According to the obtained number of the data stream segments to be loaded, construct a corresponding number of data carriers, wherein the data carriers include a plurality of blank items; The data filtering methods of the data filtering mechanism include: Determine whether each add-on in each of the data carriers has open authority, mark the data carriers of the add-ons with the open authority, and obtain the unit code in the add-ons with the open authority in the marked data carriers; each of the add-ons is a blank item corresponding to the unit code of the data stream segment to be loaded; Combining the obtained unit codes to obtain a corresponding data sequence, and matching the obtained data sequence with a data source identification code filed in the power grid database; If the match is successful, it means that the data in each add-on with the open permission in the data carrier has not been tampered with, then the data stream loaded in each data carrier is decrypted by the encryption key in the power grid database, and after the decryption of the data carrier is completed, the data stream fragments in each data carrier are exported, and the exported data stream fragments are reassembled to obtain the corresponding power grid data, and the power grid data is imported into the power grid database for storage; If the match is unsuccessful, the data carrier corresponding to the data sequence is intercepted, and a warning message is sent to the authority node corresponding to the data carrier, and the authority node retransmits the power grid data according to the warning message; The decrypting of the data stream loaded in each of the data carriers by using the encryption key in the power grid database includes: The unit code of the encryption key is loaded into each add-on with the open authority to complete the decryption of the data carrier.
2. A method for protecting privacy of a power grid database according to claim 1, characterized in that: The registered power grid data source information sets the corresponding authority node according to the power grid data source, including: Setting a unique data source identification code for each power grid data source end, and associating the set data source identification code with the corresponding power grid data source end respectively; Send all the data source identification codes to the power grid database for information filing. After the data source identification codes are filed, corresponding authority nodes will be constructed according to the filed data source identification codes, and the constructed authority nodes will be associated with the power grid data source end; A one-way data transmission link is constructed between the associated power grid data source and the authority node, and the power grid data source uploads the generated power grid data to the authority node through the one-way data transmission link.
3. A method for protecting privacy of a power grid database according to claim 2, characterized in that: The method further comprises: The obtained data stream segments to be loaded are respectively associated with one of the data carriers, and blank items corresponding to the positions where data stream code elements are replaced in the data stream segments to be loaded associated with the data carrier are marked, open permissions are set for the marked blank items, and data of the blank items are separated from other blank items.
4. A method for protecting privacy of a power grid database according to claim 3, characterized in that: The performing data stream code element replacement on each unit code of the data source identification code comprises: When the data length of the data stream segment does not exist and is not K, each code element of the data source identification code is marked respectively, and the code element of the unit code at the corresponding position in each data stream segment is replaced according to the code element sequence; When there is a data stream segment with a data length of K, the data stream segment with a data length of K is marked, and the data source identification code is complemented to the data stream segment in the code element sequence until the data length is K, and the remaining code elements are aggregated; According to the symbol position of the aggregated symbol in the data source identification code, the symbol of the unit code at the corresponding position in the data stream segment is replaced.
5. A method for protecting privacy of a power grid database according to claim 4, characterized in that: The step of loading the power grid data in the authority node into the data carrier and performing transmission encryption processing on the data carrier includes: After completing the loading of data of all the data stream segments to be loaded, marking the unit codes to be replaced respectively, and sorting the unit codes according to the replaced order of the unit codes to obtain a replaced data stream; The obtained replacement data stream is converted into different bases to obtain several groups of base conversion results, the obtained base conversion results are combined, and the combined base conversion results are used as encryption keys to encrypt all the data carriers, generate encryption ports, and send the encryption keys to the power grid database.
6. A method for protecting privacy of a power grid database according to claim 5, characterized in that: The step of setting a data filtering mechanism for a power grid database for storing power grid data, and filtering data on the data carrier according to the set data filtering mechanism, comprises: Generate a digital twin interface according to the received encryption key, establish a corresponding data transmission channel, link the encryption port with the digital twin interface through the data transmission channel, and set a corresponding data filtering mechanism on the digital twin interface; Uploading each of the data carriers in the authority node to the power grid database through the data transmission channel; The data filtering mechanism set by the digital twin interface is used to filter the uploaded data on each of the data carriers.
7. A power grid database privacy protection system, used to implement a power grid database privacy protection method according to any one of claims 1 to 6, characterized in that: include: Data filing module, used to file the source information of power grid data and set corresponding authority nodes according to the source of power grid data; A data loading module, used to construct a corresponding data carrier in each of the authority nodes, load the power grid data in the authority node into the data carrier, and perform transmission encryption processing on the data carrier; A data filtering module, used to set a data filtering mechanism for a power grid database storing power grid data, and perform data filtering on the data carrier according to the set data filtering mechanism; The data carrier construction process includes: Marking the power grid data to be transmitted in the authority node, and converting the power grid data into corresponding power grid data streams; Decomposing the power grid data stream into a plurality of data stream segments; Acquire the number of unit codes constituting the data source identification code of the power grid data source end corresponding to the power grid data; The number of the obtained data stream segments is recorded as n, and the data length of each data stream segment is K; If there is a data stream segment whose data length is not K, the corresponding data stream segment is complemented, and according to the complement result, the data stream code element is replaced for each unit code of the data source identification code; If there is no data stream segment whose data length is not K, directly perform data stream code element replacement on each unit code of the data source identification code; The data stream segment that has completed the data stream symbol replacement is recorded as the data stream segment to be loaded; According to the obtained number of the data stream segments to be loaded, construct a corresponding number of data carriers, wherein the data carriers include a plurality of blank items; The data filtering methods of the data filtering mechanism include: Determine whether each add-on in each of the data carriers has open authority, mark the data carriers of the add-ons with the open authority, and obtain the unit code in the add-ons with the open authority in the marked data carriers; each of the add-ons is a blank item corresponding to the unit code of the data stream segment to be loaded; Combining the obtained unit codes to obtain a corresponding data sequence, and matching the obtained data sequence with a data source identification code filed in the power grid database; If the match is successful, it means that the data in each add-on with the open permission in the data carrier has not been tampered with, then the data stream loaded in each data carrier is decrypted by the encryption key in the power grid database, and after the decryption of the data carrier is completed, the data stream fragments in each data carrier are exported, and the exported data stream fragments are reassembled to obtain the corresponding power grid data, and the power grid data is imported into the power grid database for storage; If the match is unsuccessful, the data carrier corresponding to the data sequence is intercepted, and a warning message is sent to the authority node corresponding to the data carrier, and the authority node retransmits the power grid data according to the warning message; The decrypting of the data stream loaded in each of the data carriers by using the encryption key in the power grid database includes: The unit code of the encryption key is loaded into each add-on with the open authority to complete the decryption of the data carrier.
Citation Information
Patent Citations
Image multi-secret transmission method, device and system based on bidirectional authentication
CN111049641A
User power consumption data sharing method and system based on privacy protection
CN112702341A