Power grid data trusted sharing method and system
By classifying the subject and object of power grid data sharing, and using vertical, hybrid and horizontal sharing strategies to divide and encrypt the grid data, the problems of low utilization and transmission efficiency and poor security in the power grid data sharing process are solved, and efficient and secure data sharing is achieved.
Patent Information
- Application Number
- CN202210969339.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-12
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2042-08-12
AI Technical Summary
The utilization rate and transmission efficiency in the existing power grid data sharing process are low, and the transmission security is not guaranteed.
By classifying the subjects and objects that need to be shared in the power grid data, matching the corresponding sharing strategies, including vertical sharing strategies, hybrid sharing strategies and horizontal sharing strategies, first the power grid data is divided and encrypted, a shared database is generated, and decrypted and matched output is performed in the shared body.
It improves the utilization rate and security of power grid data sharing, and ensures security and efficiency in the data sharing process.
Smart Images

Figure CN115334499B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power grid data sharing, and in particular to a power grid data trusted sharing method and system. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] 5G is actually prepared for the Internet of Things. 5G has fast speed and short latency. Industrial Internet, Internet of Vehicles, Industrial Internet, etc. may all benefit from it. However, while human technological progress brings more convenience, it will also bring more challenges in security. With the support of 5G networks, research on desensitized data trusted sharing technology in the power big data environment can carry out cross-organizational data trusted sharing with 5G operators on the premise of meeting user privacy protection, data security and government regulations, enhance the 5G application capabilities of smart grids, and explore an effective path to solve the problems of trusted data sharing and information islands faced in the process of cooperation with external enterprises.
[0004] However, in the existing power data sharing process, there are problems such as low sharing efficiency of shared data and low system matching of shared data, resulting in low utilization rate. At the same time, in the power data sharing process, there are certain hidden dangers in the transmission security of power data. Summary of the invention
[0005] In order to overcome the shortcomings of the above-mentioned prior art, the present invention provides a trusted sharing method for power grid data. By performing encrypted sharing of similar features, it is possible to ensure the security of data sharing on the basis of improving the utilization rate of shared data, so as to solve the problems of low utilization rate and transmission efficiency and lack of transmission security in the existing power grid data sharing process.
[0006] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions:
[0007] In the first aspect, a method for trustworthy sharing of power grid data is disclosed, including:
[0008] Classify the subjects and objects that need to share power grid data;
[0009] Match the classified subjects and objects with corresponding sharing strategies;
[0010] The sharing strategies include vertical sharing strategy, hybrid sharing strategy and horizontal sharing strategy;
[0011] Each sharing strategy first divides the power grid data into features and marks them in sequence, then encrypts the marked features and generates a shared database with the encrypted features;
[0012] The shared database is shared to the shared body, the shared body decrypts the features, matches the decrypted features and then outputs them;
[0013] Match the supplementary policy to the data that cannot be shared in the sharing policy.
[0014] As a further technical solution, the subjects and objects that need to share power grid data are classified, including:
[0015] Setting a shared entity that is the same subject as the power grid and different from the power grid as a horizontal shared entity;
[0016] A sharing entity that is a subject different from the power grid and has the same object as the power grid is set as a vertical sharing entity;
[0017] A shared entity with a subject different from the power grid and an object different from the power grid is set as a mixed shared entity.
[0018] As a further technical solution, the horizontal sharing strategy includes: firstly dividing the power grid data into horizontal features, and marking them in sequence, respectively marking them as H1t to Hnt, wherein H1t is the first horizontal feature of the mark, and Hnt is the nth horizontal feature of the mark;
[0019] Setting first to nth horizontal encryption methods for the first to nth horizontal features respectively, then encrypting the first to nth horizontal features in turn by the first to nth horizontal encryption methods, and generating a horizontal feature sharing database for the encrypted first to nth horizontal features;
[0020] As a further technical solution, the horizontal sharing strategy further includes: dividing the horizontal sharing body by similar horizontal matching features, marking the features similar to the first horizontal feature to the nth horizontal feature as H1t1 to Hntn in sequence, where H1t1 is the first horizontal matching feature and Hntn is the nth horizontal matching feature;
[0021] The horizontal feature sharing database is shared with the horizontal sharing body, and the horizontal sharing body sequentially matches the first to nth horizontal features encrypted in the horizontal feature sharing database with the first to nth horizontal matching features;
[0022] As a further technical solution, the horizontal sharing strategy further includes: sequentially setting the first horizontal decryption method to the nth horizontal decryption method for the first horizontal encryption method to the nth horizontal encryption method;
[0023] The horizontal sharing body decrypts the first to nth horizontal features in turn through the first to nth horizontal decryption methods, and uses the decrypted first to nth horizontal features after corresponding to the first to nth horizontal matching features in turn.
[0024] As a further technical solution, the vertical strategy sharing strategy includes: firstly dividing the power grid data into vertical features and marking them in sequence, respectively marking them as Z1t to Zmt, wherein Z1t is the first vertical feature marked, and Zmt is the mth vertical feature marked;
[0025] Then the longitudinal shared body is divided into similar longitudinal matching features, and the features similar to the first longitudinal feature to the nth longitudinal feature are marked as Z1t1 to Zmtm in sequence, where Z1t1 is the first longitudinal matching feature, Zmtm is the mth longitudinal matching feature,
[0026] Generate a vertical independent encryption sending strategy, the vertical independent encryption sending strategy includes: sending a vertical encryption public key to the first vertical feature to the mth vertical feature respectively; sending a vertical encryption public key to the first vertical matching feature to the mth vertical matching feature respectively;
[0027] The first to mth longitudinal features are encrypted respectively by the longitudinal encryption public key; the first to mth longitudinal matching features are encrypted respectively by the longitudinal encryption public key.
[0028] As a further technical solution, the vertical strategy sharing strategy includes: the vertical independent encryption sending strategy also includes: sending a vertical decryption method to the first vertical feature to the mth vertical feature and the first vertical matching feature to the mth vertical matching feature respectively; using the vertical decryption method to decrypt and use the shared first vertical feature to the mth vertical feature and the first vertical matching feature to the mth vertical matching feature.
[0029] As a further technical solution, the hybrid sharing strategy includes: dividing the power grid data and the data of the hybrid sharing body by similarity characteristics, marking the similarity characteristics of the power grid as X1t to Xot in sequence, where X1t is the marked first similarity characteristic and Xot is the marked oth similarity characteristic;
[0030] Then, the mixed shared body is divided into similarity matching features, and the features similar to the first similarity feature to the nth similarity feature are marked as X1t1 to Xoto in sequence, where X1t1 is the first similarity matching feature and Xoto is the oth similarity matching feature;
[0031] Sending a similarity encryption public key to the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature respectively; encrypting the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature respectively by using the similarity encryption public key;
[0032] A similarity decryption method is respectively sent to the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature; the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature are respectively decrypted by the similarity decryption method and then used.
[0033] Secondly, the trusted sharing system of power grid data is disclosed, including:
[0034] The sharing classification module is configured to: classify subjects and objects that need to share power grid data;
[0035] The sharing strategy corresponding module is configured to: match the corresponding sharing strategy to the classified subject and object;
[0036] The sharing strategies include vertical sharing strategy, hybrid sharing strategy and horizontal sharing strategy;
[0037] Each sharing strategy first divides the power grid data into features and marks them in sequence, then encrypts the marked features and generates a shared database with the encrypted features;
[0038] The shared database is shared to the shared body, the shared body decrypts the features, matches the decrypted features and then outputs them;
[0039] The sharing supplement module is configured to match the supplement strategy to the data that cannot be shared in the sharing strategy.
[0040] One or more of the above technical solutions have the following beneficial effects:
[0041] The present invention can classify the subjects and objects that need to share data through sharing classification; then, the corresponding sharing strategy can be matched to the classified subjects and objects through sharing strategy; finally, the supplementary strategy can be matched to the data that cannot be shared in the sharing strategy through sharing supplement. This method can encrypt and share similar features, and ensure the security of data sharing on the basis of improving the utilization rate of shared data.
[0042] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0044] Figure 1 This is a block diagram of the system principle of the present invention;
[0045] Figure 2 It is a schematic diagram of the characteristic division of the horizontal sharing strategy of the present invention;
[0046] Figure 3 It is a characteristic division diagram of the vertical sharing strategy of the present invention;
[0047] Figure 4 It is a schematic diagram of feature division of the hybrid sharing strategy of the present invention. DETAILED DESCRIPTION
[0048] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0049] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.
[0050] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0051] Embodiment 1
[0052] This embodiment discloses a trusted sharing method of power grid data, including:
[0053] Classify the subjects and objects that need to share power grid data;
[0054] Match the classified subjects and objects with corresponding sharing strategies;
[0055] The sharing strategies include vertical sharing strategy, hybrid sharing strategy and horizontal sharing strategy;
[0056] Each sharing strategy first divides the power grid data into features and marks them in sequence, then encrypts the marked features and generates a shared database with the encrypted features;
[0057] The shared database is shared to the shared body, the shared body decrypts the features, matches the decrypted features and then outputs them;
[0058] Match the supplementary policy to the data that cannot be shared in the sharing policy.
[0059] The subjects and objects that need to share power grid data are classified, including:
[0060] Setting a shared entity that is the same subject as the power grid and different from the power grid as a horizontal shared entity;
[0061] A sharing entity that is a subject different from the power grid and has the same object as the power grid is set as a vertical sharing entity;
[0062] A shared entity with a subject different from the power grid and an object different from the power grid is set as a mixed shared entity.
[0063] In this implementation example, a shared entity with the same subject as the power grid and a different object from the power grid is set as a horizontal shared entity, specifically, a horizontal shared entity. For example, both belong to the power grid subject, but the two face different groups, one faces the civil subject and the other faces the commercial subject, but the data of the two power grid subjects are similar, so the data on the power grid side can be shared; a shared entity with a different subject from the power grid and the same object as the power grid is set as a vertical shared entity; specifically, a vertical shared entity, for example, the objects faced by the power grid subject and the shopping mall subject are both in the civil field, and the two are similar in object data and can share object data; a shared entity with a different subject from the power grid and a different object from the power grid is set as a mixed shared entity, a mixed community. For example, the power grid subject and the shopping mall subject, and the power grid subject faces civil objects, and the shopping mall subject faces commercial objects, but the two are similar in the transaction methods of the subject and object, and the similarities between the two can be found to share data.
[0064] When the subjects and objects that need to share power grid data are classified, the subjects and objects that need to share data can be classified through sharing classification.
[0065] In this implementation example, the horizontal sharing strategy includes: firstly dividing the power grid data into horizontal features and marking them in sequence, respectively marking them as H1t to Hnt, where H1t is the first horizontal feature marked and Hnt is the nth horizontal feature marked;
[0066] The above-mentioned power grid data includes power statistics, power grid data, power consumption, etc.; the above-mentioned horizontal feature division specifically marks the features of the horizontal shared body;
[0067] Setting first to nth horizontal encryption methods for the first to nth horizontal features respectively, then encrypting the first to nth horizontal features in turn by the first to nth horizontal encryption methods, and generating a horizontal feature sharing database for the encrypted first to nth horizontal features;
[0068] The horizontal sharing strategy also includes: dividing the horizontal sharing body by similar horizontal matching features, marking the features similar to the first horizontal feature to the nth horizontal feature as H1t1 to Hntn in sequence, where H1t1 is the first horizontal matching feature and Hntn is the nth horizontal matching feature;
[0069] The horizontal feature sharing database is shared with the horizontal sharing body, and the horizontal sharing body sequentially matches the first to nth horizontal features encrypted in the horizontal feature sharing database with the first to nth horizontal matching features;
[0070] The horizontal sharing strategy further includes: sequentially setting the first horizontal decryption method to the nth horizontal decryption method for the first horizontal encryption method to the nth horizontal encryption method;
[0071] The horizontal sharing body decrypts the first to nth horizontal features in turn through the first to nth horizontal decryption methods, and uses the decrypted first to nth horizontal features after corresponding to the first to nth horizontal matching features in turn.
[0072] Among them, the longitudinal shared body is divided into similar longitudinal matching features, and the features similar to the first longitudinal feature to the nth longitudinal feature are marked as Z1t1 to Zmtm in sequence, where Z1t1 is the first longitudinal matching feature and Zmtm is the mth longitudinal matching feature.
[0073] The specific use is to match the first horizontal feature with the first horizontal matching feature, and the nth horizontal feature with the nth horizontal matching feature.
[0074] The horizontal shared body is divided into similar horizontal matching features, and the specific division steps are as follows: the first horizontal encryption method to the nth horizontal encryption method are set for the first horizontal feature to the nth horizontal feature respectively, and then the first horizontal feature to the nth horizontal feature are encrypted by the first horizontal encryption method to the nth horizontal encryption method in turn, and a horizontal feature sharing database is generated from the encrypted first horizontal feature to the nth horizontal feature.
[0075] The vertical strategy sharing strategy includes: firstly dividing the power grid data into vertical features and marking them in sequence, marking them as Z1t to Zmt, where Z1t is the first marked vertical feature and Zmt is the mth marked vertical feature;
[0076] Then the longitudinal shared body is divided into similar longitudinal matching features, and the features similar to the first longitudinal feature to the nth longitudinal feature are marked as Z1t1 to Zmtm in sequence, where Z1t1 is the first longitudinal matching feature, Zmtm is the mth longitudinal matching feature,
[0077] Generate a vertical independent encryption sending strategy, the vertical independent encryption sending strategy includes: sending a vertical encryption public key to the first vertical feature to the mth vertical feature respectively; sending a vertical encryption public key to the first vertical matching feature to the mth vertical matching feature respectively;
[0078] The first to mth longitudinal features are encrypted respectively by the longitudinal encryption public key; the first to mth longitudinal matching features are encrypted respectively by the longitudinal encryption public key.
[0079] The vertical strategy sharing strategy includes: the vertical independent encryption sending strategy also includes: sending a vertical decryption method to the first vertical feature to the mth vertical feature and the first vertical matching feature to the mth vertical matching feature respectively; decrypting and using the shared first vertical feature to the mth vertical feature and the first vertical matching feature to the mth vertical matching feature through the vertical decryption method.
[0080] The hybrid sharing strategy includes: dividing the power grid data and the data of the hybrid sharing body by similarity characteristics, marking the similarity characteristics of the power grid as X1t to Xot in sequence, where X1t is the marked first similarity characteristic and Xot is the marked oth similarity characteristic;
[0081] Then, the mixed shared body is divided into similarity matching features, and the features similar to the first similarity feature to the nth similarity feature are marked as X1t1 to Xoto in sequence, where X1t1 is the first similarity matching feature and Xoto is the oth similarity matching feature;
[0082] Sending a similarity encryption public key to the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature respectively; encrypting the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature respectively by using the similarity encryption public key;
[0083] A similarity decryption method is respectively sent to the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature; the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature are respectively decrypted by the similarity decryption method and then used.
[0084] This embodiment can ensure the security of data sharing on the basis of improving the utilization rate of shared data by performing encrypted sharing of similar features, so as to solve the problems of low utilization rate and transmission efficiency and lack of transmission security in the existing power grid data sharing process.
[0085] When the above judgment is similar, the judgment is made based on the characteristic attributes. The embodiment of the present disclosure solves the above problem by means of encrypted sharing.
[0086] The power grid 5G data in this embodiment includes various types of data involved in the existing power grid system, such as data on the equipment side: the location and basic information of power grid projects such as transmission and distribution lines, substations, power supplies, and communication lines; data on the consumer side: user's power consumption distribution, power consumption, etc.; data on power grid operation: parameters of the main equipment in the power grid, measurement data during equipment operation, etc.
[0087] Embodiment 2
[0088] The purpose of this embodiment is to provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the program.
[0089] Embodiment 3
[0090] The purpose of this embodiment is to provide a computer-readable storage medium.
[0091] A computer-readable storage medium stores a computer program, which executes the steps of the above method when executed by a processor.
[0092] Embodiment 4
[0093] See also Figure 1 ,The purpose of this embodiment is to provide a 5G data trusted sharing system for a power grid based on ,federated learning, which can carry out cross-organizational data trusted sharing with 5G ,operators under the premise of meeting user privacy protection, data security and ,government regulations, and improve the 5G application capabilities of the smart grid.
[0094] The sharing system includes a sharing classification module and a sharing strategy corresponding module.
[0095] The sharing classification module is used to classify the subjects and objects that need to share data; the sharing classification module is configured with a sharing classification strategy, which includes: setting the sharing body with the same subject as the power grid and different objects from the power grid as a horizontal sharing body, specifically, the horizontal sharing body, for example, both belong to the power grid subject, but the two face different groups, one faces civil subjects and the other faces commercial subjects, but the data of the two power grid subjects are similar, so the data on the power grid side can be shared; setting the sharing body with the subject different from the power grid and the same object as the power grid as a vertical sharing body; specifically, the vertical sharing body, for example, the objects faced by the power grid subject and the shopping mall subject are both in the civil field, and the two are similar in object data and can share object data; setting the sharing body with the subject different from the power grid and different objects from the power grid as a mixed sharing body, a mixed community, for example, the power grid subject and the shopping mall subject, and the power grid subject faces civil objects, and the shopping mall subject faces commercial objects, but the two are similar in the transaction method of the subject and the object, and the similarities between the two can be found to share data.
[0096] The sharing strategy corresponding module is used to match the corresponding sharing strategy to the classified subjects and objects; the sharing strategy corresponding module includes a horizontal strategy sharing unit, a vertical strategy sharing unit and a mixed strategy sharing unit. The horizontal strategy sharing unit is used to set the sharing strategy based on the same sharing subject. Figure 2The horizontal strategy sharing unit is configured with a horizontal sharing strategy, and the horizontal sharing strategy includes: firstly dividing the power grid data into horizontal features, and marking them in sequence, respectively marking them as H1t to Hnt, wherein H1t is the marked first horizontal feature, and Hnt is the marked nth horizontal feature; respectively setting the first horizontal encryption method to the nth horizontal encryption method for the first horizontal feature to the nth horizontal feature, and then encrypting the first horizontal feature to the nth horizontal feature in sequence through the first horizontal encryption method to the nth horizontal encryption method, and generating a horizontal feature sharing database for the encrypted first horizontal feature to the nth horizontal feature; then dividing the horizontal sharing body into similar horizontal matching features, and dividing the features similar to the first horizontal feature to the nth horizontal feature into the horizontal matching features. Marked as H1t1 to Hntn in sequence, H1t1 is the first horizontal matching feature, and Hntn is the nth horizontal matching feature; the horizontal feature sharing database is shared to the horizontal sharing body, and the horizontal sharing body sequentially corresponds the first to nth horizontal features encrypted in the horizontal feature sharing database with the first to nth horizontal matching features; the first to nth horizontal decryption methods are sequentially set for the first to nth horizontal encryption methods; the horizontal sharing body sequentially decrypts the first to nth horizontal features through the first to nth horizontal decryption methods, and uses the decrypted first to nth horizontal features after corresponding to the first to nth horizontal matching features in sequence.
[0097] See also Figure 3The vertical strategy sharing unit is used to set a sharing strategy based on the same shared object. The vertical strategy sharing unit is configured with a vertical sharing strategy. The vertical strategy sharing strategy includes: firstly dividing the power grid data by vertical characteristics, and marking them in sequence, respectively marking them as Z1t to Zmt, wherein Z1t is the marked first vertical characteristic, and Zmt is the marked mth vertical characteristic; then dividing the vertical shared body by similar vertical matching characteristics, marking the characteristics similar to the first vertical characteristic to the nth vertical characteristic as Z1t1 to Zmtm in sequence, wherein Z1t1 is the first vertical matching characteristic, and Zmtm is the mth vertical matching characteristic, and generating a vertical independent encryption sending strategy, wherein the vertical independent encryption sending strategy package In summary: sending a vertical encryption public key to each of the first to m-th vertical features; sending a vertical encryption public key to each of the first to m-th vertical matching features; encrypting the first to m-th vertical features by the vertical encryption public key; encrypting the first to m-th vertical matching features by the vertical encryption public key; the vertical independent encryption sending strategy also includes: sending a vertical decryption method to each of the first to m-th vertical features and the first to m-th vertical matching features; decrypting the shared first to m-th vertical features and the first to m-th vertical matching features by the vertical decryption method.
[0098] See also Figure 4 The hybrid sharing unit is used to set sharing strategies based on different sharing subjects and different sharing objects. The hybrid strategy sharing unit is configured with a hybrid sharing strategy, which includes: dividing the power grid data and the data of the hybrid sharing body by similarity features, marking the similarity features of the power grid as X1t to Xot in sequence, where X1t is the marked first similarity feature and Xot is the marked oth similarity feature; then dividing the hybrid sharing body by similarity matching features, marking the features similar to the first similarity feature to the nth similarity feature as X1t1 to Xoto in sequence, where X1t1 is the first similarity matching feature and Xoto is the oth similarity matching feature; A similarity encryption public key is sent to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature respectively; the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature are encrypted by the similarity encryption public key respectively; a similarity decryption method is sent to the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature respectively; the first similarity feature to the oth similarity feature and the first similarity matching feature to the oth similarity matching feature are decrypted by the similarity decryption method and then used.
[0099] On the basis of the above embodiment, a sharing supplement module is added to supplement the sharing of data that is not covered by the corresponding module of the sharing strategy. The sharing system also includes a sharing supplement module, which is used to match the supplement strategy for the data that cannot be shared in the sharing strategy. The sharing supplement module is configured with a sharing supplement strategy, which includes: screening the power grid data and the data that do not belong to the same subject and the same object in other shared bodies, and selecting the data that need to be shared for marking, the data on the power grid end are marked as Q1t to Qpt in sequence, and the data of other shared bodies are marked as Q1t1 to Qptp in sequence, Q1t to Qpt and Q1t1 to Qptp are encrypted in sequence by a group of other encryption public keys, and then decrypted by other decryption methods after shared transmission for use.
[0100] Working principle: The technical solution disclosed in the present invention can classify the subjects and objects that need to share data through the sharing classification module, and then match the corresponding sharing strategies to the classified subjects and objects through the sharing strategy corresponding module. Finally, the sharing supplement module can match the supplementary strategy to the data that cannot be shared in the sharing strategy.
[0101] The steps involved in the apparatuses of the above embodiments 2, 3 and 4 correspond to the method embodiment 1, and the specific implementation methods can refer to the relevant description part of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.
[0102] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.
[0103] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A trusted sharing method for power grid data, characterized by: include: Classify the subjects and objects that need to share power grid data; Match the classified subjects and objects with corresponding sharing strategies; The sharing strategies include vertical sharing strategy, hybrid sharing strategy and horizontal sharing strategy; Each sharing strategy first divides the power grid data into features and marks them in sequence, then encrypts the marked features and generates a shared database with the encrypted features; The shared database is shared to the shared body, the shared body decrypts the features, matches the decrypted features and then outputs them; Match supplementary strategies to data that cannot be shared in the sharing strategy; The subjects and objects that need to share power grid data are classified, including: Setting a shared entity that is the same subject as the power grid and different from the power grid as a horizontal shared entity; A sharing entity that is a subject different from the power grid and has the same object as the power grid is set as a vertical sharing entity; Setting a shared entity that is a subject different from the power grid and an object different from the power grid as a mixed shared entity; The horizontal sharing strategy includes: firstly dividing the power grid data into horizontal features, and marking them in sequence, respectively marking them as H1t to Hnt, wherein H1t is the first horizontal feature of the mark, and Hnt is the nth horizontal feature of the mark; Setting first to nth horizontal encryption methods for the first to nth horizontal features respectively, then encrypting the first to nth horizontal features in turn by the first to nth horizontal encryption methods, and generating a horizontal feature sharing database for the encrypted first to nth horizontal features; The vertical sharing strategy includes: firstly dividing the power grid data into vertical characteristics and marking them in sequence, marking them as Z1t to Zmt, respectively, where Z1t is the first vertical characteristic marked, and Zmt is the mth vertical characteristic marked; Sending a vertical encryption public key to each of the first vertical feature to the mth vertical feature; encrypting each of the first vertical feature to the mth vertical feature using the vertical encryption public key; The hybrid sharing strategy includes: dividing the power grid data and the data of the hybrid sharing body by similarity characteristics, marking the similarity characteristics of the power grid as X1t to Xot in sequence, wherein X1t is the marked first similarity characteristic, and Xot is the marked oth similarity characteristic; A similarity encryption public key is respectively sent to the first similarity feature to the oth similarity feature; and the first similarity feature to the oth similarity feature are respectively encrypted using the similarity encryption public key.
2. The method for trusted sharing of power grid data according to claim 1, characterized in that: The horizontal sharing strategy also includes: dividing the horizontal sharing body into similar horizontal matching features, marking the features similar to the first horizontal feature to the nth horizontal feature as H1t1 to Hntn in sequence, where H1t1 is the first horizontal matching feature and Hntn is the nth horizontal matching feature; The horizontal feature sharing database is shared to the horizontal sharing body, and the horizontal sharing body sequentially matches the first to nth horizontal features encrypted in the horizontal feature sharing database with the first to nth horizontal matching features.
3. The method for trusted sharing of power grid data according to claim 2, characterized in that: The horizontal sharing strategy further includes: sequentially setting the first horizontal decryption method to the nth horizontal decryption method for the first horizontal encryption method to the nth horizontal encryption method; The horizontal sharing body decrypts the first to nth horizontal features in turn through the first to nth horizontal decryption methods, and uses the decrypted first to nth horizontal features after corresponding to the first to nth horizontal matching features in turn.
4. The method for trusted sharing of power grid data according to claim 1, characterized in that: The vertical sharing strategy also includes: dividing the vertical sharing body by similar vertical matching features, marking the features similar to the first vertical feature to the nth vertical feature as Z1t1 to Zmtm in sequence, where Z1t1 is the first vertical matching feature and Zmtm is the mth vertical matching feature, and generating a vertical independent encryption sending strategy; The vertical independent encryption sending strategy includes: sending a vertical encryption public key to each of the first vertical feature to the mth vertical feature; sending a vertical encryption public key to each of the first vertical matching feature to the mth vertical matching feature; The first longitudinal feature to the mth longitudinal feature are encrypted respectively by the longitudinal encryption public key; the first longitudinal matching feature to the mth longitudinal matching feature are encrypted respectively by the longitudinal encryption public key; The vertical strategy sharing strategy also includes: sending a vertical decryption method to the first vertical feature to the mth vertical feature and the first vertical matching feature to the mth vertical matching feature respectively; decrypting and using the shared first vertical feature to the mth vertical feature and the first vertical matching feature to the mth vertical matching feature through the vertical decryption method.
5. The method for trusted sharing of power grid data according to claim 1, characterized in that: The hybrid sharing strategy further includes: dividing the hybrid sharing body by similarity matching features, marking the features similar to the first similarity feature to the nth similarity feature as X1t1 to Xoto in sequence, where X1t1 is the first similarity matching feature and Xoto is the oth similarity matching feature; Sending a similarity encryption public key to each of the first similarity matching feature to the oth similarity matching feature; encrypting each of the first similarity matching feature to the oth similarity matching feature using the similarity encryption public key; A similarity decryption method is respectively sent to the first similarity matching feature to the oth similarity matching feature; and the first similarity matching feature to the oth similarity matching feature are respectively decrypted by the similarity decryption method and then used.
6. The trusted sharing system of power grid data is characterized by: include: The sharing classification module is configured to: classify subjects and objects that need to share power grid data; The sharing strategy corresponding module is configured to: match the corresponding sharing strategy to the classified subject and object; The sharing strategies include vertical sharing strategy, hybrid sharing strategy and horizontal sharing strategy; Each sharing strategy first divides the power grid data into features and marks them in sequence, then encrypts the marked features and generates a shared database with the encrypted features; The shared database is shared to the shared body, the shared body decrypts the features, matches the decrypted features and then outputs them; The sharing supplement module is configured to: match the supplement strategy to the data that cannot be shared in the sharing strategy; The horizontal sharing strategy includes: firstly dividing the power grid data into horizontal features, and marking them in sequence, respectively marking them as H1t to Hnt, wherein H1t is the first horizontal feature of the mark, and Hnt is the nth horizontal feature of the mark; Setting first to nth horizontal encryption methods for the first to nth horizontal features respectively, then encrypting the first to nth horizontal features in turn by the first to nth horizontal encryption methods, and generating a horizontal feature sharing database for the encrypted first to nth horizontal features; The subjects and objects that need to share power grid data are classified, including: Setting a shared entity that is the same subject as the power grid and different from the power grid as a horizontal shared entity; A sharing entity that is a subject different from the power grid and has the same object as the power grid is set as a vertical sharing entity; Setting a shared entity that is a subject different from the power grid and an object different from the power grid as a mixed shared entity; The horizontal sharing strategy includes: firstly dividing the power grid data into horizontal features, and marking them in sequence, respectively marking them as H1t to Hnt, wherein H1t is the first horizontal feature of the mark, and Hnt is the nth horizontal feature of the mark; Setting first to nth horizontal encryption methods for the first to nth horizontal features respectively, then encrypting the first to nth horizontal features in turn by the first to nth horizontal encryption methods, and generating a horizontal feature sharing database for the encrypted first to nth horizontal features; The vertical sharing strategy includes: firstly dividing the power grid data into vertical characteristics and marking them in sequence, marking them as Z1t to Zmt, respectively, where Z1t is the first vertical characteristic marked, and Zmt is the mth vertical characteristic marked; Sending a vertical encryption public key to each of the first vertical feature to the mth vertical feature; encrypting each of the first vertical feature to the mth vertical feature using the vertical encryption public key; The hybrid sharing strategy includes: dividing the power grid data and the data of the hybrid sharing body by similarity characteristics, marking the similarity characteristics of the power grid as X1t to Xot in sequence, wherein X1t is the marked first similarity characteristic, and Xot is the marked oth similarity characteristic; A similarity encryption public key is respectively sent to the first similarity feature to the oth similarity feature; and the first similarity feature to the oth similarity feature are respectively encrypted using the similarity encryption public key.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 5 are performed.
Citation Information
Patent Citations
Cloud storage access control method based on HDFS (Hadoop Distributed File System)
CN104506514A