Block chain-based power market data right confirmation method, apparatus and device, and medium

By using blockchain-based data confirmation method in power market data transactions, a data ID card that combines a hash value and a time stamp with dynamic salt value is generated, and the problem of data ownership protection in power market is solved, and the transparency and credibility of data transactions are achieved.

CN119691765APending Publication Date: 2025-03-25BEIJING POWER EXCHANGE CENT CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411687958.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In power market data transactions, how to protect data ownership, prevent illegal crawling and theft, and ensure market order.

Method used

The blockchain-based power market data confirmation method is adopted, and the data processor sends a confirmation request to the audit module, verify the evidence data, generate a data ID card that combines the hash value and timestamp of the dynamic salt value, record the data ownership information and put it on the chain to store the evidence.

Benefits of technology

It has achieved clear guarantees for the ownership of data transactions in the power market, prevented illegal data crawling and stealing, maintained market order, and ensured transparency and credibility of data transactions through blockchain technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119691765A_ABST
    Figure CN119691765A_ABST
Patent Text Reader

Abstract

The invention discloses an electricity market data right confirmation method and device based on a block chain, equipment and a medium, a data identity card is generated according to ownership information of data, and the data identity card comprises a data identity card number, a content abstract, capacity and the data ownership information. A data identity card number is generated by combining a hash value of a dynamic salt value with a timestamp, a content abstract describes basic information of the data, and a capacity describes the size of the data. The right confirmation step comprises the steps that a data processor sends evidence data to an auditing module for verification; and after the verification is passed, the data processor sends an identification generation request to the identification module, the blockchain data right confirmation system generates a data identity card according to the data ownership information after the identity identification is obtained, and the system controls the access to the data according to the data identity card. According to the invention, the data ownership is recorded through the data identity card, and the access and operation records of the data are stored through the smart contract in a chaining manner, so that the protection of the data ownership is realized.
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 method, device, equipment and medium for confirming power market data rights based on blockchain. Background Art

[0002] With the accelerated advancement of power market construction, power trading institutions are responsible for the construction, operation and management of power trading platforms, organizing medium- and long-term power market transactions, registering and dispatching market entities, aggregating power trading contracts, and disclosing and publishing market information. Power trading institutions have accumulated a large amount of power market data in their continuous development.

[0003] However, problems such as difficulty in confirming ownership and difficulty in circulation and trading have become bottlenecks facing the development of the data trading market. In data trading, the biggest problem is how to protect the ownership of power market data. If the corresponding rights cannot be clarified at the institutional level, the initial labor input may not be guaranteed. The vague and general data ownership confirmation model will induce some data processors to choose to illegally capture and steal the data of other data processors in a cheaper way, thereby disrupting the market order.

[0004] It can be seen that how to protect the ownership of data in electricity market transactions has become a technical problem that technical personnel in this field need to solve urgently. Summary of the invention

[0005] The present invention provides a blockchain-based power market data rights confirmation method, device, equipment and medium to protect the ownership of data in power market transactions.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a method for confirming the ownership of power market data based on blockchain, comprising:

[0007] The data processor sends a confirmation request to the audit module, and after receiving the evidence challenge request returned by the audit module, sends the evidence data to the audit module for verification.

[0008] After the verification is passed, the data processor sends a request to generate an identification to the identification module and obtains the identity identification returned by the identification module.

[0009] According to the identity and data ownership information of the data processor, a data ID card is generated using the blockchain data rights confirmation system. The generation process of the data ID card is designed to use a method combining a hash value of a dynamic salt value and a timestamp to generate a data ID card based on the data ownership information and the identity.

[0010] When the data processor receives a transaction request from a data consumer, if it is found that the data ID card contains information corresponding to the data consumer, the request is verified; if it is found that the data ID card does not contain information corresponding to the data consumer, the data processor conducts a transaction with the data consumer based on the data ID card, and after the transaction is completed, adds the corresponding data consumer information to the data ownership information, and updates the data ID card based on the data ownership information.

[0011] Furthermore, before the data processor sends the confirmation request to the audit module, it also includes:

[0012] The data processor sends an ownership application to the data source and obtains the authorization letter signed by the data source.

[0013] Furthermore, the data ID card includes a data ID number, content summary, capacity and data ownership information.

[0014] Furthermore, the generation process of the data ID number is as follows:

[0015] Extract part of the data ownership information, generate a dynamic salt value based on the data ownership information and a random number, perform a hash operation on the dynamic salt value to obtain a hash value, and generate the data ID number based on the hash value and a timestamp.

[0016] Further, extracting part of the data ownership information, generating a dynamic salt value according to the data ownership information and a random number, performing a hash operation on the dynamic salt value to obtain a hash value, and generating the data ID number according to the hash value and a timestamp, includes:

[0017] The data ownership information is extracted using system sampling, and a dynamic salt value S is generated based on the extracted data ownership information combined with a random number:

[0018] S=XOR(H user (n),H s (m),H R )

[0019] Among them, XOR is the exclusive OR operation, H user (n) is the extraction result of data ownership information, H s (m) is the data extraction result, H R is a random integer;

[0020] Perform a hash operation on the dynamic salt value to obtain a hash value ID1:

[0021] ID1=SHA256(S)

[0022] Generate the data ID number SID based on the hash value and timestamp:

[0023] SID=ID1-T1

[0024] Among them, T1 is the timestamp.

[0025] Furthermore, after the data ID card is updated according to the data ownership information, the method further includes:

[0026] The updated data ID and the data operation process are recorded on the blockchain through smart contracts for evidence.

[0027] Furthermore, the process of extracting the user information is as follows:

[0028] The information of the data source and the data processor in the data ownership information is converted into text data, and the text data is divided into several text layers, each of which contains several text units. Samples are extracted from each text layer according to a preset sampling ratio to obtain the user information; the sampling ratio of each layer is obtained according to the corresponding number of text units and the total number of text units.

[0029] Another embodiment of the present invention provides a blockchain-based power market data rights confirmation device, comprising:

[0030] The audit center module is used for the data processor to send a confirmation request to the audit module, and after receiving the evidence challenge request returned by the audit module, send evidence data to the audit module for verification.

[0031] The identification acquisition module is used for the data processor to send a request to generate an identification to the identification module after the verification is passed, and obtain the identity identification returned by the identification module.

[0032] The ID card generation module is used to generate a data ID card using the blockchain data rights confirmation system according to the identity identification and data ownership information of the data processor. The generation process of the data ID card is designed to use a method combining a hash value of a dynamic salt value and a timestamp to generate a data ID card based on the data ownership information and the identity identification.

[0033] The access control module is used for the data processor to, when receiving a transaction request from a data consumer, pass the verification if the data ID card contains information corresponding to the data consumer; if the data ID card contains information corresponding to the data consumer, conduct a transaction with the data consumer based on the data ID card, and add the corresponding data consumer information to the data ownership information after the transaction is completed, and update the data ID card based on the data ownership information.

[0034] Another embodiment of the present invention provides a computer device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the blockchain-based electricity market data rights confirmation method as described above when executing the computer program.

[0035] Yet another embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the blockchain-based electricity market data rights confirmation method as described above is implemented.

[0036] Compared with the prior art, the embodiments of the present invention have the following advantages:

[0037] (1) It is proposed to use the hash value of the dynamic salt value and the timestamp to select the data ID number. The dynamic salt value is obtained by extracting a part of the data ownership information, data information and random number, and then adding the timestamp as the data ID number, so that the data ID number has a certain meaning and remains unique;

[0038] (2) A blockchain-based "data source-processor-consumer" framework for data transactions was established. The blockchain platform records the process of data circulation between the source, processor, and consumer, and stores data ownership information and data operation records on the chain to protect data ownership. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flowchart of the steps of the blockchain-based power market data rights confirmation method provided by an embodiment of the present invention;

[0040] Figure 2 An architecture diagram of a blockchain-based power market data rights confirmation system provided by an embodiment of the present invention;

[0041] Figure 3 A schematic diagram of a digital ID card provided by an embodiment of the present invention;

[0042] Figure 4 A structural block diagram of a blockchain-based power market data rights confirmation device provided by an embodiment of the present invention;

[0043] Figure 5 A structural diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] In the description of this application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", "third", etc. may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0046] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. The terms "vertical", "horizontal", "left", "right", "upper", "lower" and similar expressions used herein are only for illustrative purposes, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0047] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as those commonly understood by those skilled in the art. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood by specific circumstances.

[0048] An embodiment of the present invention provides a method for confirming the ownership of power market data based on blockchain. For details, please refer to Figure 1 and Figure 2 , Figure 1 The flowchart is a step diagram of a method for confirming power market data rights based on blockchain in one embodiment of the present invention. Figure 2The following is an architecture diagram of a power market data rights confirmation system based on blockchain provided by an embodiment of the present invention. The method includes steps S11 to S14:

[0049] In step S11, the data processor sends a request for confirmation of ownership to the audit module, and after receiving the evidence challenge request returned by the audit module, sends evidence data to the audit module for verification.

[0050] With the accelerated advancement of power market construction, power trading institutions have accumulated a large amount of power market data in their continuous development. It is of great significance to assetize massive power market data, clarify the ownership relationship of the power market, and realize the value of power market data through data trading.

[0051] Therefore, in order to solve the problem of data ownership confirmation in the process of power market data trading, the embodiment of the present invention proposes the concept of "data ID card", establishes a data ID card, and the data ID card records the basic information and ownership information of the data. The data ID card and the data are uploaded to the blockchain ownership confirmation system. The data access rights on the blockchain ownership confirmation system are bound to the data ownership information in the data ID card, and the data ownership is recorded and the data access control is realized through the data ID card.

[0052] In electricity trading, participants in data transactions are divided into data sources, data processors and data consumers. Blockchain technology is used to record the process of data flow between data sources, data processors and data consumers to protect data ownership.

[0053] Among them, the data source is the provider of the data. For electricity market data, the data source is the electricity market users, such as power generation companies, power sales companies and power users.

[0054] Data processors are key players in the data market. They are responsible for collecting, processing and analyzing data to provide valuable information or services. For power market data, data processors are power trading institutions, which analyze, organize, summarize and process power trading data to form power trading data products.

[0055] Specifically, before the data ID card of this embodiment is generated, the data processor first sends an ownership application to the data source to apply for the right to use the power trading data. The sources of power trading data are four categories, including open data, operational data, data held by trading institutions, and data held by enterprises participating in the market. The existing power market trading platform data is approximately consistent with the composition and source of the above data sources, specifically including information release data (open data), market member registration information data (enterprise held data, platform held data), transaction data (platform held data), plan data (platform held data), contract data (enterprise held data), settlement data (platform held data) and other main business data of power trading operations. Among them, market member registration information data and contract data are owned by power market users (enterprises), so the data processor (power trading institution) needs to submit an ownership application to the data source (power market user) to apply for the right to use its data.

[0056] After receiving the ownership application from the data processor, the data source will sign the authorization consent form according to his / her own wishes.

[0057] After obtaining the authorization consent letter, the data processor sends a confirmation request to the audit module. After receiving the confirmation request from the data processor, the audit module makes an evidence challenge request to the data processor.

[0058] After receiving the evidence challenge request, the data processor returns the evidence data to the audit module, which verifies the evidence data and executes the next step after the verification is passed.

[0059] The audit module verifies the data to confirm its originality and quality, thus preventing multiple data processors from repeatedly applying for ownership of the same data.

[0060] Step S12: after the verification is passed, the data processor sends a request to generate an identification to the identification module, and obtains the identity identification returned by the identification module.

[0061] The identification module includes an identification center. After receiving the identification request sent by the data processor, the identification center will generate an identification and complete the identification embedding.

[0062] After the verification is passed, the data processor sends a request to generate an identity to the identification module to apply for the generation of an identity. The identification module generates an identity based on the identity information of the data processor and completes the identification embedding.

[0063] During all data processing processes, data processors will store the data and ownership information on the blockchain through the blockchain data rights confirmation system, and the data can be confirmed and traced through the blockchain platform later.

[0064] Step S13, based on the identity and data ownership information of the data processor, a data ID card is generated using the blockchain data rights confirmation system. The generation process of the data ID card is designed to use a method combining a hash value of a dynamic salt value and a timestamp to generate a data ID card based on the data ownership information and the identity.

[0065] The blockchain data rights confirmation system generates a data ID card through a smart contract. The data ID card includes the data ID number, content summary, capacity and data ownership information. Among them, the data ID number must be unique.

[0066] Regarding the issue of how to obtain a digital ID number, this embodiment proposes using a hash value of a dynamic salt value in combination with a timestamp to select a digital ID number. The specific process is: extracting part of the ownership information, generating a dynamic salt value based on the extracted ownership information and a random number, performing a hash operation on the dynamic salt value to obtain a hash value, and generating a digital ID number based on the hash value and timestamp.

[0067] Systematic sampling is used to extract user information from ownership information, which includes information on data sources and data processors.

[0068] Use the random number generator function RGen(), which generates a random integer H in a specific range each time it is called. R , assuming that the set of ownership information to be extracted is U = {U1,U2,U3....U n}, firstly, the ownership information set is processed and converted into text data. The text data is divided into n layers according to U, and the nth layer contains N i text units, the total number of text units is The sample size to be drawn is X, and the sampling proportion of each stratum is set to Then the number of samples drawn from the i-th layer is X i =[X×p i ]([] means round down), if The remaining number of samples can be distributed to other layers. The distribution method can be determined according to specific needs, such as distributing them proportionally to the layers with larger fractions of the remaining samples in each layer. Finally, the extraction result H is obtained. user (n).

[0069] Then extract all ownership information using systematic sampling. Suppose the total data volume is M, the number of samples to be extracted is m, and the sampling interval is K = M / m (assuming that M is divisible by m. If not, it can be adjusted appropriately). Randomly select an integer between 0 and K-1 as the starting point. From the starting point, extract one data every K data until m data are extracted. The final extraction result is H. s(m).

[0070] Generate a dynamic salt value S based on the extracted information and random numbers:

[0071] S=XOR(H user (n),H s (m),H R )

[0072] Among them, XOR is the exclusive OR operation, H user (n) is the extraction result of data ownership information, H s (m) is the data extraction result, H R is a random integer;

[0073] Perform a hash operation on the dynamic salt value to obtain the hash value ID1:

[0074] ID1=SHA256(S)

[0075] The final data ID number SID is generated based on the hash value combined with the timestamp:

[0076] SID=ID1-T1

[0077] Among them, T1 is the timestamp.

[0078] The blockchain data rights confirmation system determines the data ID number through the above method, such as Figure 3 As shown, the data ID card also includes content summary, data size and data ownership information.

[0079] The present invention proposes to use the hash value of the dynamic salt value in combination with the timestamp to select the digital ID number. The dynamic salt value is obtained by extracting a part of the ownership information data, the data owner and data processor information and a random number, and then adding the timestamp as the data ID number. The specification of designing the data ID number is as follows: (randomly extracted data owner and processor information + randomly extracted part of the data + random number) hash value - timestamp. Through the above means, the data ID number has a certain meaning and maintains uniqueness, wherein each data segment is 12 bits, that is, the data ID number format is: "xxxxxxxxxxxx-xxxxxxxxxxxx".

[0080] Step S14, when the data processor receives a transaction request from a data consumer, if it is found that the data ID card contains information corresponding to the data consumer, the data processor passes the verification; if it is found that the data ID card does not contain information corresponding to the data consumer, the data processor conducts a transaction with the data consumer based on the data ID card, and after the transaction is completed, the corresponding data consumer information is added to the data ownership information, and the data ID card is updated based on the data ownership information.

[0081] In the blockchain data rights confirmation system, the data source has the right to access and delete the data, the data processor has the right to control data access, add, delete and modify data, and the data consumer has access rights only after verification. When the blockchain data rights confirmation system receives an access request from a data consumer, if the corresponding data consumer information is found in the data ID card, the verification is passed. If the corresponding data consumer information does not exist in the data ID card, the data processor is required to add the data consumer to the data ID card ownership information before the data consumer obtains the right to access the data. Among them, access, addition, deletion and modification of data are recorded on the chain through smart contracts.

[0082] Data consumers are individuals or organizations that use statistical data products and services for consumption activities. The consumption of these data products and services is a special form of information consumption and an important part of social consumption. In the digital economy era, data consumers consume information and data by using these data products and services. For power market data, data consumers are data users.

[0083] After the data processor conducts data transactions with the data consumer, he / she can apply to the system to add the data consumer to the data ownership information in the data ID card. After the data consumer is added to the data ID card, he / she will obtain data access rights. In addition, the modification of the data ownership information in the data ID card will be recorded on the chain through the smart contract, and the time when the data consumer obtains the data access rights will also be recorded on the chain.

[0084] When the data consumer initiates a data access request again, the blockchain data rights confirmation system verifies the request and confirms that the data ID card being accessed contains the data consumer subject, and the verification is passed. Data consumers obtain data through the blockchain platform. The flow process and ownership relationship of data between the data source, data processor, and data consumer are clearly recorded on the chain for evidence storage, which cannot be changed or traced, realizing the functions of data rights confirmation and traceability.

[0085] When data transactions are conducted through the blockchain data rights confirmation system of the present invention, only the subjects identified on the data ID card (data source and data processor) have the corresponding access rights. For data consumers, only the data ID card is visible, not all data. After the data transaction is completed, the data processor can decide whether to add the data consumer in the data ID card based on the data consumer's authority. After adding, the data consumer obtains the access rights to the data in the system and can access it. Through the above steps, the blockchain technology is used to record the entire process of data circulation between the data source, data processor and data consumer. The data ownership and data circulation process are recorded on the chain and cannot be deleted or changed.

[0086] The blockchain-based power market data rights confirmation method of the present invention proposes to use the hash value of the dynamic salt value in combination with the timestamp to select the digital ID number. The dynamic salt value is obtained by extracting a part of the data ownership information data, data information and random numbers, and then adding the timestamp as the data ID number, so that the data ID number has a certain meaning and remains unique; a blockchain-based "data source-processor-consumer" framework is established in data transactions, and the process of data circulation between the source, processor and consumer is recorded through the blockchain platform, and the data ownership records are put on the chain to ensure the authenticity and credibility of the transaction records, providing protection for both parties to the transaction.

[0087] The embodiment of the present invention also provides a blockchain-based power market data rights confirmation device, which is used to execute the blockchain-based power market data rights confirmation method as described above. Figure 4 This is a structural block diagram of a power market data rights confirmation device based on blockchain according to an embodiment of the present invention, and the device includes:

[0088] The audit center module 21 is used for the data processor to send a confirmation request to the audit module, and after receiving the evidence challenge request returned by the audit module, send evidence data to the audit module for verification.

[0089] The identification acquisition module 22 is used for the data processor to send a request to generate an identification to the identification module after the verification is passed, and to obtain the identity identification returned by the identification module.

[0090] The ID card generation module 23 is used to generate a data ID card using the blockchain data rights confirmation system according to the identity identification and data ownership information of the data processor. The generation process of the data ID card is designed to use a method combining a hash value of a dynamic salt value and a timestamp to generate a data ID card based on the data ownership information and the identity identification.

[0091] The access control module 24 is used for the data processor to, when receiving a transaction request from a data consumer, pass the verification if the data ID card contains information corresponding to the data consumer; if the data ID card contains information corresponding to the data consumer, conduct a transaction with the data consumer based on the data ID card, and add the corresponding data consumer information to the data ownership information after the transaction is completed, and update the data ID card based on the data ownership information.

[0092] The technical features and technical effects of the device proposed in the embodiment of the present invention are the same as those of the method proposed in the embodiment of the present invention, and are not described in detail here. Each module in the above device can be implemented in whole or in part by software, hardware, and a combination thereof. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0093] An embodiment of the present invention also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the blockchain-based electricity market data rights confirmation method as described above.

[0094] The embodiment of the present invention further provides a computer device, Figure 5 A structural block diagram of a preferred embodiment of a computer device provided by the present invention, wherein the computer device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the blockchain-based electricity market data rights confirmation method as described above when executing the computer program.

[0095] Preferably, the computer program can be divided into one or more modules / units (such as computer program 1, computer program 2, ...), and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the computer device.

[0096] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor. The processor is the control center of the computer device, and various parts of the computer device are connected using various interfaces and lines.

[0097] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory can also be other volatile solid-state storage devices.

[0098] It should be noted that the above-mentioned computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 5 The structural block diagram is merely an example of a computer device and does not constitute a limitation of the computer device, and may include more or less components than shown in the figure, or combine certain components, or different components.

[0099] In summary, the blockchain-based power market data rights confirmation method, device, equipment and storage medium provided by the embodiments of the present invention have the following beneficial effects compared with the prior art:

[0100] (1) It is proposed to use the hash value of the dynamic salt value and the timestamp to select the digital ID number. The dynamic salt value is obtained by extracting a part of the data ownership information, data information and random number, and then adding the timestamp as the data ID number, so that the data ID number has a certain meaning and remains unique;

[0101] (2) A blockchain-based "data source-processor-consumer" framework for data transactions was established. The blockchain platform records the process of data circulation between the source, processor, and consumer, and records the data ownership and data flow process on the chain to protect data ownership.

[0102] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for confirming power market data rights based on blockchain, characterized in that: include: The data processor sends a confirmation request to the audit module, and after receiving the evidence challenge request returned by the audit module, sends the evidence data to the audit module for verification; After the verification is passed, the data processor sends a request to generate an identification to the identification module, and obtains the identity identification returned by the identification module; According to the identity and data ownership information of the data processor, a data ID card is generated using a blockchain data rights confirmation system, and the generation process of the data ID card is designed to use a hash value of a dynamic salt value and a timestamp to generate a data ID card according to the data ownership information and the identity; When the data processor receives a transaction request from a data consumer, if it is found that the data ID card contains information corresponding to the data consumer, the request is verified; if it is found that the data ID card does not contain information corresponding to the data consumer, the data processor conducts a transaction with the data consumer based on the data ID card, and after the transaction is completed, adds the corresponding data consumer information to the data ownership information, and updates the data ID card based on the data ownership information.

2. The blockchain-based power market data rights confirmation method according to claim 1, characterized in that: Before the data processor sends the confirmation request to the audit module, it also includes: The data processor sends an ownership application to the data source and obtains the authorization letter signed by the data source.

3. The blockchain-based power market data rights confirmation method according to claim 1, characterized in that: The data ID card includes the data ID number, content summary, capacity and data ownership information.

4. The blockchain-based power market data rights confirmation method according to claim 3 is characterized in that: The generation process of the data ID number is as follows: Extract part of the data ownership information, generate a dynamic salt value based on the data ownership information and a random number, perform a hash operation on the dynamic salt value to obtain a hash value, and generate the data ID number based on the hash value and a timestamp.

5. The blockchain-based power market data rights confirmation method according to claim 4 is characterized in that: The extracting part of the data ownership information, generating a dynamic salt value according to the data ownership information and a random number, performing a hash operation on the dynamic salt value to obtain a hash value, and generating the data ID number according to the hash value and a timestamp, includes: The data ownership information is extracted using system sampling, and a dynamic salt value S is generated based on the extracted data ownership information combined with a random number: S=XOR(H user (n),H s (m),H R ) Among them, XOR is the exclusive OR operation, H user (n) is the extraction result of data ownership information, H s (m) is the data extraction result, H R is a random integer; Perform a hash operation on the dynamic salt value to obtain a hash value ID1: ID1=SHA256(S) Generate the data ID number SID based on the hash value and timestamp: SID=ID1-T1 Among them, T1 is the timestamp.

6. The blockchain-based power market data rights confirmation method according to claim 1, characterized in that: After the data ID card is updated according to the data ownership information, the method further includes: The updated data ID and the data operation process are recorded on the blockchain through smart contracts for evidence.

7. The blockchain-based power market data rights confirmation method according to claim 5 is characterized in that: The process of extracting the user information is as follows: The information of the data source and the data processor in the data ownership information is converted into text data, and the text data is divided into several text layers, each of which contains several text units. Samples are extracted from each text layer according to a preset sampling ratio to obtain the user information; the sampling ratio of each layer is obtained according to the corresponding number of text units and the total number of text units.

8. A blockchain-based power market data rights confirmation device, characterized in that: include: The audit center module is used for the data processor to send a confirmation request to the audit module, and after receiving the evidence challenge request returned by the audit module, send evidence data to the audit module for verification; An identification acquisition module, used for the data processor to send a request to generate an identification to the identification module after the verification is passed, and to obtain the identity identification returned by the identification module; An ID card generation module, used to generate a data ID card using a blockchain data rights confirmation system according to the identity identifier and data ownership information of the data processor, wherein the generation process of the data ID card is designed to use a hash value of a dynamic salt value and a timestamp combination method to generate a data ID card according to the data ownership information and the identity identifier; The access control module is used for the data processor to, when receiving a transaction request from a data consumer, pass the verification if the data ID card contains information corresponding to the data consumer; if the data ID card contains information corresponding to the data consumer, conduct a transaction with the data consumer based on the data ID card, and add the corresponding data consumer information to the data ownership information after the transaction is completed, and update the data ID card based on the data ownership information.

9. A computer device, characterized in that: It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the blockchain-based electricity market data confirmation method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the blockchain-based electricity market data rights confirmation method as described in any one of claims 1 to 7 is implemented.