Data sharing method, device and equipment for power transaction and storage medium

By hiding and sharing power transaction data, the problems of low efficiency of power transaction data sharing and data leakage risks are solved, and efficient and secure data sharing is achieved.

CN119830342APending Publication Date: 2025-04-15SHENZHEN POWER SUPPLY BUREAU
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411902214.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The data sharing efficiency of power transactions is not high and there is a risk of data leakage.

Method used

By hiding data to be processed, using preset hidden policies for field privacy rules and field masking strategies, ensuring that data is not leaked during the sharing process, and quickly and accurately match and share data in the data sharing space.

Benefits of technology

It improves the security of data processing and sharing, reduces the situation of repeated data access, and improves the efficiency and security of data management and sharing in power transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119830342A_ABST
    Figure CN119830342A_ABST
Patent Text Reader

Abstract

The invention discloses a data sharing method for power transaction, which comprises the following steps: performing data hiding on to-be-processed power transaction shared data according to a preset hiding strategy to obtain to-be-stored power transaction shared data; uploading the to-be-stored power transaction shared data to the data sharing space and updating the to-be-stored power transaction shared data; when a shared data access request sent by a cooperative client is received, matching target power transaction shared data from stored power transaction shared data in a data sharing space based on a to-be-accessed data identifier carried by the shared data access request; and sharing the target power transaction shared data to the cooperative client. The invention further discloses a corresponding device, a placement device and a storage medium. By implementing the method, the power transaction data sharing efficiency can be improved, the data leakage risk is reduced, and the security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data sharing method, device, equipment and storage medium for power trading. Background Art

[0002] With the rapid development of information technology and network technology, as well as the deepening of power system reform, the power trading market has continued to expand, and new business forms and technologies such as customer demand response and virtual power plant operation have developed. The number of participants in power trading has continued to increase, and the power trading process involves different entities such as power trading centers, power generation companies, power grid companies, power supply companies, electricity users, trading aggregators, and power sales companies. To varying degrees, each entity is both a data provider and a data user, and interacts with data.

[0003] Looking at the current data ownership or management situation in the power industry, customer electricity consumption and electricity bill data are mainly controlled by power supply companies at all levels, electricity market transaction data are mainly controlled by various power trading centers, and power generation and transmission data are mainly controlled by power grid companies or dispatching agencies. However, the data sharing mechanism is not smooth enough, which is not conducive to power transaction processing.

[0004] Looking at the current ownership or management of transaction data in the power industry, customer electricity consumption and electricity bill data are mainly controlled by power supply companies at all levels, power market transaction data are mainly controlled by various power trading centers, and power transmission data are mainly controlled by power grid companies or dispatching agencies. Data interaction is based on specific business and is mainly point-to-point interaction, lacking effective security sharing mechanisms and technical applications. On the other hand, there are many participants in power transactions, both data producers and users, and there is a lack of efficient, safe and economical ways to share data. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a data sharing method, device, equipment and storage medium for power trading, so as to solve the problems of low efficiency of power trading data sharing and risk of complete data leakage.

[0006] In order to solve the above technical problems, as a first aspect of the present invention, a data sharing method for power trading is provided, comprising the following steps:

[0007] Step S1, hiding the power transaction shared data to be processed according to a preset hiding strategy to obtain the power transaction shared data to be stored;

[0008] Step S2, uploading the power transaction shared data to be stored to the data sharing space, and updating it to the power transaction shared data stored in the data sharing space;

[0009] Step S3, when receiving a shared data access request sent by a cooperative client, matching the target power transaction shared data from the stored power transaction shared data in the data sharing space based on the data identifier to be accessed carried in the shared data access request;

[0010] Step S4: sharing the target power transaction shared data with the cooperative client, so that the cooperative client conducts transactions based on the target power transaction shared data.

[0011] Furthermore, the hiding strategy includes field privacy rules and field masking strategies; the step S1 specifically includes:

[0012] Based on the field privacy rule, determining a target privacy field in the power transaction shared data to be processed;

[0013] Based on the field masking strategy, field masking is performed on the target privacy field in the power transaction shared data to be processed to obtain the power transaction shared data to be stored.

[0014] Furthermore, the field masking strategy includes at least one desensitization operation rule; based on the field masking rule, the step of masking the target privacy field in the power transaction shared data to be processed to obtain the power transaction shared data to be stored specifically includes:

[0015] Based on the target privacy field, determine a target desensitization operation rule from the at least one desensitization operation rule;

[0016] Based on the target desensitization operation rule, the target privacy field in the power transaction shared data to be processed is desensitized to obtain the power transaction shared data to be stored.

[0017] Furthermore, before step S2, the method further includes:

[0018] If it is detected that there is non-compliant data that does not meet the resource sharing index in the power transaction sharing data to be stored, the non-compliant data in the power transaction sharing data to be stored is deleted to obtain compliant power transaction sharing data;

[0019] If it is detected that there is no non-compliant data that does not meet the resource sharing index in the power transaction sharing data to be stored, the power transaction sharing data to be stored is determined as compliant power transaction sharing data;

[0020] The uploading of the to-be-stored power transaction shared data to the data sharing space and updating the stored power transaction shared data in the data sharing space includes:

[0021] The compliant power transaction shared data is uploaded to the data sharing space and updated to the stored power transaction shared data in the data sharing space.

[0022] Furthermore, the stored shared data is correspondingly provided with a sharing identifier; the step S3 specifically includes:

[0023] When receiving a shared data access request sent by a cooperative client, obtaining a shared identifier that matches the identifier of the data to be accessed;

[0024] The stored power transaction shared data corresponding to the matched sharing identifier is determined as the target power transaction shared data.

[0025] Furthermore, before step S4, the method further includes:

[0026] Setting a to-be-accessed mark for the target power transaction shared data in the data sharing space, and copying the target power transaction shared data to a cache space;

[0027] The step of sharing the target power transaction shared data with the cooperative client so that the cooperative client can trade based on the target power transaction shared data includes:

[0028] The target power transaction shared data in the cache space is shared with the cooperative client, so that the cooperative client performs transactions based on the target power transaction shared data.

[0029] Furthermore, after step S4, the method further includes:

[0030] When receiving a shared signal fed back by the cooperative client, deleting the target power transaction shared data in the cache space;

[0031] The to-be-accessed flag of the target power transaction shared data in the data sharing space is updated with the accessed flag.

[0032] As another aspect of the present invention, a data sharing device for power trading is also provided, which adopts the following technical solution:

[0033] A data hiding module, used for hiding the power transaction shared data to be processed according to a preset hiding strategy, so as to obtain the power transaction shared data to be stored;

[0034] A data storage module, used for uploading the power transaction shared data to be stored to the data sharing space, and updating the power transaction shared data stored in the data sharing space;

[0035] A data acquisition module, configured to, when receiving a shared data access request sent by a cooperative client, match the target power transaction shared data from the stored power transaction shared data in the data sharing space based on the data identifier to be accessed carried in the shared data access request;

[0036] The data synchronization module is used to share the target power transaction shared data with the cooperative client, so that the cooperative client can trade based on the target power transaction shared data.

[0037] As another aspect of the present invention, a computer device is provided, which adopts the following technical solution:

[0038] The invention comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the data sharing method for power trading as described above when executing the computer-readable instructions.

[0039] As another aspect of the present invention, a computer-readable storage medium is provided, which adopts the following technical solution:

[0040] The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the data sharing method for power trading as described above are implemented.

[0041] The implementation of the embodiments of the present invention has the following beneficial effects:

[0042] The present invention provides a data sharing method, device, equipment and storage medium for power trading. By hiding the power trading shared data to be processed, the user's privacy information and data not suitable for sharing are avoided from being leaked, the security of data processing and sharing is improved, and then the hidden power trading shared data to be stored is uploaded to the data sharing space for storage, and then, when a shared data access request is received, the target power trading shared data is quickly and accurately matched and shared to the cooperative client, so that the cooperative client can trade in time based on the target power trading shared data, so that the cooperative client can quickly and accurately access and share data, avoid the limitation of network instability, reduce the situation of repeated data access, and thus improve the efficiency and security of data management and sharing in power trading.

[0043] The present invention proposes to establish a data sharing device to provide a method for sharing data efficiently, safely and economically for a large number of participants in power transactions. The present invention comprehensively applies data hiding, data desensitization, data identification and other technologies to propose a new sharing mechanism. If there are effective relevant technical means, it will be possible for many participants in power transactions to share and use data legally, safely, economically and efficiently, and smoothly handle power transactions. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, without paying creative labor, other drawings obtained based on these drawings still belong to the scope of the present invention.

[0045] Figure 1 is an exemplary system architecture diagram of the application environment of the present invention;

[0046] Figure 2 is a main flow chart of an embodiment of a data sharing method for power trading provided by the present invention;

[0047] Figure 3 is a structural schematic diagram of an embodiment of a data sharing device for power trading provided by the present invention;

[0048] Figure 4 It is a structural schematic diagram of an embodiment of a computer device provided according to the present invention. DETAILED DESCRIPTION

[0049] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.

[0050] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0051] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0052] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.

[0053] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0054] It should be noted that the data sharing method for power trading provided in the embodiment of the present invention is generally executed by a server / terminal device, and accordingly, the data sharing device for power trading is generally arranged in the server / terminal device.

[0055] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0056] Continue to refer Figure 2 , shows a flow chart of an embodiment of a data sharing method for power trading according to the present invention. It includes the following steps:

[0057] In step S1, the power transaction shared data to be processed is hidden according to a preset hiding strategy to obtain the power transaction shared data to be stored.

[0058] In this embodiment, the data sharing method for power trading is executed on the electronic device (eg Figure 1 The server / terminal device shown) can receive the power transaction sharing data to be processed through a wired connection or a wireless connection. It should be noted that the above-mentioned wireless connection method may include but is not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.

[0059] In this embodiment, in actual application, the resource sharing index agreed upon by the partner and the power transaction (i.e., the information confidentiality index formulated under the relevant policy of the power transaction) is first obtained, and then the hiding strategy corresponding to the resource sharing index is obtained. Then, according to the pre-defined field privacy rules in the hiding strategy (it can be understood that these rules may be based on legal requirements, industry standards or internal security policies of the organization), the power transaction shared data to be processed is scanned or traversed to obtain the target privacy field corresponding to the field privacy rule (the privacy field may include but is not limited to the user's name, address, telephone number, ID number, power consumption details, etc., which can directly or indirectly identify sensitive information of an individual or organization). Specifically, the features of the privacy field can be extracted through self-learning of field samples, and then the power transaction shared data to be processed is scanned or traversed, and the target privacy field in the power transaction shared data to be processed is identified and determined by feature matching. Therefore, by applying these privacy rules, the power transaction can automatically identify which fields are target privacy fields that need to be protected.

[0060] Further, based on the target privacy field, the target desensitization operation rule can be determined from at least one desensitization operation rule. Specifically, the most appropriate rule can be selected from a set of available desensitization operation rules according to the specific content of these target privacy fields and the required privacy protection level (for example, field type and confidentiality requirements, etc.), that is, the target desensitization operation rule, wherein the desensitization operation rule may include replacement (such as replacing real characters with symbols), encryption (using encryption algorithms to protect data), fuzzification (such as replacing precise locations with approximate areas), generalization (such as replacing specific dates with months or years), etc. For example: Chinese names are replaced with random nouns or random symbols; ID numbers are randomly symbolized; the last 8 digits of telephone numbers are random; Chinese addresses are masked by province, city, and county, etc. It should be noted that selecting appropriate target desensitization operation rules can not only balance the privacy protection needs of data and the practicality of data, but also ensure that the desensitized data can still meet the needs of sharing and analysis, and further enable the hiding strategy to be flexibly adjusted to better protect the privacy and security of the above-mentioned power transaction shared data that is not allowed to be shared.

[0061] Furthermore, based on the selected target desensitizing operation rules, the target privacy field in the power trading shared data to be processed is desensitized to obtain the power trading shared data to be stored. Specifically, the target privacy field in the power trading shared data to be processed can be desensitized by the example of the desensitizing operation rules listed above. The processed data is the power trading shared data to be stored. For example, the target privacy field can be blurred, or the target privacy field can be converted by code conversion, etc. The power trading shared data to be stored retains sufficient information value while reducing the risk of privacy leakage, so that these desensitized data can be securely stored and shared subsequently for analysis, research or other legitimate purposes, and the privacy rights and interests of relevant objects are protected.

[0062] In practical applications, after identifying the preset privacy field, the electronic device extracts the preset privacy field and masks it according to the masking strategy determined in the above steps to prevent the disclosure of the privacy field.

[0063] In step S2, the power transaction shared data to be stored is uploaded to the data sharing space, and updated to the power transaction shared data stored in the data sharing space.

[0064] In this embodiment, after acquiring the power trading shared data to be stored, it is possible to first detect whether there is non-compliant data in the power trading shared data to be stored that does not meet the resource sharing indicators (resource sharing indicators refer to a series of standards or requirements set to ensure the quality and effectiveness of power trading shared data) to ensure the accuracy and reliability of the data. By timely discovering and processing non-compliant data, potential harm to power trading can be avoided. At the same time, this also helps to improve the efficiency and quality of data sharing and promote the optimization and sustainable development of power trading.

[0065] Furthermore, if it is detected that non-compliant data that does not meet the resource sharing indicators exists in the power trading shared data to be stored, the non-compliant data in the power trading shared data to be stored will be deleted to obtain compliant power trading shared data, and the compliant power trading shared data will be uploaded to the data sharing space and updated to the stored power trading shared data in the data sharing space.

[0066] Alternatively, if it is detected that there is no non-compliant data that does not meet the resource sharing indicators in the power trading sharing data to be stored, the power trading sharing data to be stored can be determined as compliant power trading sharing data, and the compliant power trading sharing data can be uploaded to the data sharing space and updated to the stored power trading sharing data in the data sharing space.

[0067] In step S3, when a shared data access request sent by a cooperative client is received, the target power transaction shared data is matched from the stored power transaction shared data in the data sharing space based on the data identifier to be accessed carried in the shared data access request.

[0068] In this embodiment, when receiving a shared data access request sent by a cooperative client, a shared identifier that matches the identifier of the data to be accessed can be obtained first. Specifically, when the system receives an access request from a cooperative client (this request usually contains some key information, such as the type of data requested, time range, geographic location, etc., as well as the identity authentication information of the requester, etc.), the system needs to parse the information in the access request to obtain the identifier of the data to be accessed (such as a number or string for information such as the data type, time range, geographic location, etc.), so that the system can find the shared identifier that matches the identifier of the data to be accessed by searching the internal metadata or index. Among them, the shared identifier is a mechanism used within the system to manage and reference shared data, which may contain additional information about the location, format, permissions, etc. of the data.

[0069] Furthermore, the stored power trading shared data corresponding to the matching shared identifier can be determined as the target power trading shared data. Specifically, after finding the matching shared identifier, the system can locate the stored power trading shared data according to the shared identifier. The system reads and parses the stored data to determine that they are the target power trading shared data that the requester wants to access. It can be understood that in this process, the system may also perform some additional checks, such as verifying the requester's access rights to ensure that the requester has the right to access the data to maintain data security.

[0070] In summary, by receiving requests, parsing request information, finding matching shared identifiers, locating target power trading shared data, and subsequent data processing, this process can not only accurately provide the required data according to the client's request, but also ensure the security and integrity of the data.

[0071] In step S4, the target power transaction shared data is shared with the cooperative client, so that the cooperative client performs transaction processing based on the target power transaction shared data.

[0072] In this embodiment, after the target power transaction shared data is determined, a to-be-accessed mark is set for the target power transaction shared data in the data sharing space, and the target power transaction shared data is copied to the cache space. Specifically, the to-be-accessed mark is an identifier or state used to indicate that a data set is about to be accessed. When the system sets the to-be-accessed mark for the target power transaction shared data, it may be to update a field or state in the internal metadata or index, which helps the system locate which data is being accessed and any additional processing that may be required (such as permission verification, data encryption / decryption, etc.). Then, by copying the target power transaction shared data to the cache space (a temporary storage area for storing data that is frequently accessed or needs to be accessed quickly), the access speed of the data can be accelerated, because the cache is usually faster than the original data storage medium (such as a hard disk or network storage), which helps to ensure that the system can efficiently respond to the client's access request and provide high-quality data services. In addition, copying the target power transaction shared data to the cache space can also reduce the number of accesses to the original data storage medium, thereby extending its service life and improving the overall system performance. Then, the target power transaction shared data in the cache space is shared to the cooperative client, so that the cooperative client can trade based on the target power transaction shared data in a timely manner.

[0073] Further, when a shared signal is received from a cooperative client, the target power transaction shared data in the cache space is deleted. Specifically, when a shared signal is received from a cooperative client (it is understandable that this signal may contain some additional information, such as processing results, timestamps, client identification, etc.), it means that the cooperative client has successfully received and processed the target power transaction shared data, or has completed some operation on the data (such as storage, analysis, display, etc.). Then, the system will know that the target power transaction shared data has been successfully shared with the cooperative client and no longer needs to be cached. Therefore, the system will delete this data from the cache space to free up storage space and optimize system performance. The process of deleting data may include removing files from the cache, updating metadata or indexes, etc.

[0074] Further, the to-be-accessed tag of the target power transaction shared data in the data sharing space is updated to the accessed tag. Specifically, in the data sharing space, the target power transaction shared data may be previously marked as to-be-accessed, indicating that the data is about to be accessed or is being accessed. Then, since the data has been successfully shared with the cooperative client and has been deleted from the cache, the system needs to update the to-be-accessed tag to the accessed tag, indicating that the data has been accessed and may have been processed or analyzed. The process of updating the tag may include updating a field or status in the internal metadata or index.

[0075] To summarize, when receiving the shared signal fed back by the cooperative client, the system deletes the target power transaction shared data in the cache space and updates the to-be-accessed mark in the data sharing space to the accessed mark. This process helps ensure that the system can efficiently manage the sharing status of the data and optimize the storage space and system performance.

[0076] In an embodiment of the present invention, a data sharing method for power trading is provided, which avoids leakage of user privacy information and data that is not suitable for sharing by hiding the power trading shared data to be processed, thereby improving the security of data processing and sharing, and then uploading the hidden power trading shared data to be stored to the data sharing space for storage, and then, when a shared data access request is received, the target power trading shared data is quickly and accurately matched and shared to the cooperative client, so that the cooperative client can trade in time based on the target power trading shared data, so that the cooperative client can quickly and accurately access and share data, avoid the limitation of network instability, reduce the situation of repeated data access, thereby improving the efficiency and security of data management and sharing in power trading.

[0077] Further, in some optional implementations of this embodiment, the hiding strategy includes a field privacy rule and a field masking strategy. Step S1 performs data hiding on the power transaction shared data to be processed according to the preset hiding strategy, and the step of obtaining the power transaction shared data to be stored specifically includes:

[0078] Based on the field privacy rule, determining the target privacy field in the power transaction shared data to be processed;

[0079] Based on the field masking strategy, the target privacy field in the power transaction shared data to be processed is masked to obtain the power transaction shared data to be stored.

[0080] Furthermore, in some optional implementations, the field masking strategy includes at least one desensitization operation rule; the step of masking the target privacy field in the power transaction shared data to be processed based on the field masking rule to obtain the power transaction shared data to be stored specifically includes:

[0081] Based on the target privacy field, determine a target desensitization operation rule from at least one desensitization operation rule;

[0082] Based on the target desensitization operation rules, the target privacy field in the power transaction shared data to be processed is desensitized to obtain the power transaction shared data to be stored.

[0083] Further, in some optional implementations, before the step S2 of uploading the power transaction shared data to be stored to the data sharing space and updating it to the power transaction shared data stored in the data sharing space, the method further includes:

[0084] If it is detected that there is non-compliant data that does not meet the resource sharing index in the power transaction shared data to be stored, the non-compliant data in the power transaction shared data to be stored is deleted to obtain compliant power transaction shared data;

[0085] If it is detected that there is no non-compliant data that does not meet the resource sharing index in the power transaction sharing data to be stored, the power transaction sharing data to be stored is determined as compliant power transaction sharing data.

[0086] And, the step S2 of uploading the power transaction shared data to be stored to the data sharing space and updating the power transaction shared data stored in the data sharing space specifically includes:

[0087] The compliant power transaction shared data is uploaded to the data sharing space and updated to the stored power transaction shared data in the data sharing space.

[0088] Further, in some optional implementations, a shared identifier is correspondingly set for the stored shared data; when a shared data access request sent by the cooperative client is received in step S3, the step of matching the target power transaction shared data from the stored power transaction shared data in the data sharing space based on the data identifier to be accessed carried in the shared data access request specifically includes:

[0089] When receiving a shared data access request sent by a cooperative client, obtaining a shared identifier that matches the identifier of the data to be accessed;

[0090] The stored power transaction shared data corresponding to the matching shared identifier is determined as the target power transaction shared data.

[0091] Furthermore, in some optional implementations, before the step S4 of sharing the target power transaction shared data to the cooperative client so that the cooperative client conducts transactions based on the target power transaction shared data, the method further includes:

[0092] A to-be-accessed mark is set for the target power transaction shared data in the data sharing space, and the target power transaction shared data is copied to the cache space.

[0093] And, step S4 shares the target power transaction shared data to the cooperative client so that the cooperative client conducts transactions based on the target power transaction shared data, including:

[0094] The target power transaction shared data in the cache space is shared with the cooperative client, so that the cooperative client conducts transactions based on the target power transaction shared data.

[0095] Further, in some optional implementations, after the step S4 of sharing the target power transaction shared data to the cooperative client so that the cooperative client conducts transactions based on the target power transaction shared data, the method further includes:

[0096] When receiving a shared signal fed back by a cooperative client, deleting the target power transaction shared data in the cache space;

[0097] The to-be-accessed tag of the target power transaction shared data in the data sharing space is updated with the accessed tag.

[0098] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0099] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0100] Embodiment 2

[0101] Further references Figure 3 , as a response to the above Figure 2 The present invention provides an embodiment of a data sharing device for power trading, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the system can be specifically applied to various electronic devices.

[0102] like Figure 3As shown, the data sharing device 200 for power trading described in this embodiment includes: a data hiding module 201 , a data storage module 202 , a data acquisition module 203 , and a data synchronization module 204 .

[0103] in:

[0104] The data hiding module 201 is used to hide the power transaction shared data to be processed according to a preset hiding strategy to obtain the power transaction shared data to be stored;

[0105] The data storage module 202 is used to upload the power transaction shared data to be stored to the data sharing space, and update it to the stored power transaction shared data in the data sharing space;

[0106] The data acquisition module 203 is used to match the target power transaction shared data from the stored power transaction shared data in the data sharing space based on the data identifier to be accessed carried in the shared data access request when receiving the shared data access request sent by the cooperative client;

[0107] The data synchronization module 204 is used to share the target power transaction shared data with the cooperative client, so that the cooperative client can trade based on the target power transaction shared data.

[0108] In some optional implementations of this embodiment, the data hiding module 201 includes: a first processing submodule and a second processing submodule.

[0109] A first processing submodule, configured to determine a target privacy field in the power transaction shared data to be processed based on a field privacy rule;

[0110] The second processing submodule is used to perform field masking on the target privacy field in the power transaction shared data to be processed based on the field masking strategy to obtain the power transaction shared data to be stored.

[0111] In some optional implementations of this embodiment, the second processing submodule includes: a rule determination subunit and a desensitization processing subunit.

[0112] A rule determination subunit determines a target desensitization operation rule from at least one desensitization operation rule based on a target privacy field;

[0113] The desensitization processing subunit is used to perform desensitization processing on the target privacy field in the power transaction shared data to be processed based on the target desensitization operation rules to obtain the power transaction shared data to be stored.

[0114] In some optional implementations of this embodiment, the device further includes: a data detection module 205.

[0115] in:

[0116] The data detection module 205 is used to delete the non-compliant data in the power transaction sharing data to be stored if it is detected that the non-compliant data does not meet the resource sharing index in the power transaction sharing data to be stored, so as to obtain compliant power transaction sharing data;

[0117] The data detection module 205 is also used to determine the power trading sharing data to be stored as compliant power trading sharing data if it is detected that there is no non-compliant data that does not meet the resource sharing index in the power trading sharing data to be stored.

[0118] The data storage module 202 includes: a data update submodule. Among them:

[0119] The data update submodule is used to upload the compliant power transaction shared data to the data sharing space and update it to the stored power transaction shared data in the data sharing space.

[0120] In some optional implementations of this embodiment, the data acquisition module 203 includes: an identification acquisition submodule and a data determination submodule.

[0121] The identification acquisition submodule is used to acquire the shared identification matching the identification of the data to be accessed when receiving a shared data access request sent by the cooperative client;

[0122] The data determination submodule is used to determine the stored power transaction shared data corresponding to the matching shared identifier as the target power transaction shared data.

[0123] In some optional implementations of this embodiment, the device further includes: a data replication module 206.

[0124] in:

[0125] The data copy module 206 is used to set a to-be-accessed mark for the target power transaction shared data in the data sharing space, and copy the target power transaction shared data to the cache space.

[0126] Furthermore, the data synchronization module 204 includes: a data sharing submodule. Among them:

[0127] The data sharing submodule is used to share the target power transaction sharing data in the cache space with the cooperative client, so that the cooperative client can trade based on the target power transaction sharing data.

[0128] In some optional implementations of this embodiment, the device further includes: a data deletion module 207 and a tag update module 208. Among them:

[0129] The data deletion module 207 is used to delete the target power transaction shared data in the cache space when receiving the shared signal fed back by the cooperative client;

[0130] The tag updating module 208 is used to update the accessed tag of the target power transaction shared data in the data sharing space with the to-be-accessed tag.

[0131] In summary, the present invention provides a data sharing device 200 for power trading, including: a data hiding module 201, used to hide the power trading shared data to be processed according to a preset hiding strategy, and obtain the power trading shared data to be stored; a data storage module 202, used to upload the power trading shared data to be stored to the data sharing space, and update it to the stored power trading shared data in the data sharing space; a data acquisition module 203, used to match the target power trading shared data from the stored power trading shared data in the data sharing space based on the data identifier to be accessed carried in the shared data access request when receiving a shared data access request sent by a cooperative client; a data synchronization module 204, used to share the target power trading shared data to the cooperative client, so that the cooperative client can trade based on the target power trading shared data. The present invention hides the power transaction shared data to be processed through the data hiding module 201 on the server side to avoid leakage of user privacy information and data that is not suitable for sharing, thereby improving the security of data processing and sharing, and then uploading the hidden power transaction shared data to be stored to the data sharing space through the data storage module 202 for storage, and then, when receiving the shared data access request, the data acquisition module 203 quickly and accurately matches the target power transaction shared data, and shares the target power transaction shared data to the cooperative client through the data synchronization module 204, so that the cooperative client can trade in time based on the target power transaction shared data, so that the cooperative client can quickly and accurately access and share data, avoid the limitation of network instability, and reduce the situation of repeated data access, thereby improving the efficiency and security of data management and sharing in power trading.

[0132] To solve the above technical problems, the embodiment of the present invention also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0133] The computer device 11 includes a memory 111, a processor 112, and a network interface 113 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 11 with components 111-113, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0134] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0135] The memory 111 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 111 can be an internal storage unit of the computer device 11, such as a hard disk or memory of the computer device 11. In other embodiments, the memory 111 can also be an external storage device of the computer device 11, such as a plug-in hard disk equipped on the computer device 11, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 111 can also include both the internal storage unit of the computer device 11 and its external storage device. In this embodiment, the memory 111 is generally used to store the operating system and various application software installed on the computer device 11, such as the program code of the data sharing method for power trading, etc. In addition, the memory 111 may also be used to temporarily store various types of data that have been output or are to be output.

[0136] The processor 112 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 112 is generally used to control the overall operation of the computer device 11. In this embodiment, the processor 112 is used to run the program code stored in the memory 111 or process data, such as running the program code of the data sharing method for power trading.

[0137] The network interface 113 may include a wireless network interface or a wired network interface. The network interface 113 is generally used to establish a communication connection between the computer device 11 and other electronic devices.

[0138] The present invention also provides another embodiment, namely, providing a computer-readable storage medium, which stores a sharing program for sharing data, and the sharing program for sharing data can be executed by at least one processor to enable the at least one processor to perform the steps of the data sharing method for electricity trading as described above.

[0139] The implementation of the embodiments of the present invention has the following beneficial effects:

[0140] The present invention provides a data sharing method, device, equipment and storage medium for power trading. By hiding the power trading shared data to be processed, the user's privacy information and data not suitable for sharing are avoided from being leaked, the security of data processing and sharing is improved, and then the hidden power trading shared data to be stored is uploaded to the data sharing space for storage, and then, when a shared data access request is received, the target power trading shared data is quickly and accurately matched and shared to the cooperative client, so that the cooperative client can trade in time based on the target power trading shared data, so that the cooperative client can quickly and accurately access and share data, avoid the limitation of network instability, reduce the situation of repeated data access, and thus improve the efficiency and security of data management and sharing in power trading.

[0141] The present invention proposes to establish a data sharing device to provide a method for sharing data efficiently, safely and economically for a large number of participants in power transactions. The present invention comprehensively applies data hiding, data desensitization, data identification and other technologies to propose a new sharing mechanism. If there are effective relevant technical means, it will be possible for many participants in power transactions to share and use data legally, safely, economically and efficiently, and smoothly handle power transactions.

[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0143] Obviously, the embodiments described above are only some embodiments of the present invention, rather than all embodiments. The preferred embodiments of the present invention are given in the accompanying drawings, but they do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific embodiments, or to perform equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of the present invention, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present invention.

Claims

1. A data sharing method for power trading, characterized in that: The steps include: Step S1, hiding the power transaction shared data to be processed according to a preset hiding strategy to obtain the power transaction shared data to be stored; Step S2, uploading the power transaction shared data to be stored to the data sharing space, and updating it to the power transaction shared data stored in the data sharing space; Step S3, when receiving a shared data access request sent by a cooperative client, matching the target power transaction shared data from the stored power transaction shared data in the data sharing space based on the data identifier to be accessed carried in the shared data access request; Step S4: sharing the target power transaction shared data with the cooperative client, so that the cooperative client conducts transactions based on the target power transaction shared data.

2. The data sharing method for power trading according to claim 1, characterized in that: The hiding strategy includes field privacy rules and field masking strategies; the step S1 specifically includes: Based on the field privacy rule, determining a target privacy field in the power transaction shared data to be processed; Based on the field masking strategy, field masking is performed on the target privacy field in the power transaction shared data to be processed to obtain the power transaction shared data to be stored.

3. The data sharing method for power trading according to claim 2, characterized in that: The field masking strategy includes at least one desensitization operation rule; the step of masking the target privacy field in the to-be-processed power transaction shared data based on the field masking rule to obtain the to-be-stored power transaction shared data specifically includes: Based on the target privacy field, determine a target desensitization operation rule from the at least one desensitization operation rule; Based on the target desensitization operation rule, the target privacy field in the power transaction shared data to be processed is desensitized to obtain the power transaction shared data to be stored.

4. The data sharing method for power trading according to any one of claims 1 to 3, characterized in that: Before step S2, the method further includes: If it is detected that there is non-compliant data that does not meet the resource sharing index in the power transaction shared data to be stored, the non-compliant data in the power transaction shared data to be stored is deleted to obtain compliant power transaction shared data; If it is detected that there is no non-compliant data that does not meet the resource sharing index in the power transaction sharing data to be stored, the power transaction sharing data to be stored is determined as compliant power transaction sharing data; The uploading of the to-be-stored power transaction shared data to the data sharing space and updating the stored power transaction shared data in the data sharing space includes: The compliant power transaction shared data is uploaded to the data sharing space and updated to the stored power transaction shared data in the data sharing space.

5. The data sharing method for power trading according to claim 1, characterized in that: The stored shared data is correspondingly provided with a sharing identifier; the step S3 specifically comprises: When receiving a shared data access request sent by a cooperative client, obtaining a shared identifier that matches the identifier of the data to be accessed; The stored power transaction shared data corresponding to the matched sharing identifier is determined as the target power transaction shared data.

6. The data sharing method for power trading according to claim 1, characterized in that: Before step S4, the method further includes: Setting a to-be-accessed mark for the target power transaction shared data in the data sharing space, and copying the target power transaction shared data to a cache space; The step of sharing the target power transaction shared data with the cooperative client so that the cooperative client can trade based on the target power transaction shared data includes: The target power transaction shared data in the cache space is shared with the cooperative client, so that the cooperative client performs transactions based on the target power transaction shared data.

7. The data sharing method for power trading according to claim 6, characterized in that: After step S4, the method further includes: When receiving a shared signal fed back by the cooperative client, deleting the target power transaction shared data in the cache space; The to-be-accessed flag of the target power transaction shared data in the data sharing space is updated with the accessed flag.

8. A data sharing device for power trading, suitable for implementing the data sharing method for power trading as claimed in any one of claims 1 to 7, characterized in that: include: A data hiding module, used for hiding the power transaction shared data to be processed according to a preset hiding strategy, so as to obtain the power transaction shared data to be stored; A data storage module, used for uploading the power transaction shared data to be stored to the data sharing space, and updating the power transaction shared data stored in the data sharing space; A data acquisition module, configured to, when receiving a shared data access request sent by a cooperative client, match the target power transaction shared data from the stored power transaction shared data in the data sharing space based on the data identifier to be accessed carried in the shared data access request; The data synchronization module is used to share the target power transaction shared data with the cooperative client, so that the cooperative client can trade based on the target power transaction shared data.

9. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the data sharing method for power trading according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data sharing method for power trading according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Power data sharing method and system

    CN109800595A

  • Business logic management method and device, computer equipment and medium

    CN112764828A

  • Block chain-based power transaction data processing system and method

    CN116703600A

  • Green electric power information sharing method

    CN117495379A