Method, system, device and medium for uploading power dispatching instructions and digital watermarks

By embedding digital watermarks in the power scheduling instruction data and storing it on the chain, the credibility problem of power scheduling instruction under the source network load storage service is solved, and the authenticity and credibility of power scheduling instruction is guaranteed.

CN114745122BActive Publication Date: 2025-05-13CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210515888.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-12
Publication Date
2025-05-13
Estimated Expiration
2042-05-12

AI Technical Summary

Technical Problem

Under the source network load storage business, the credibility of power scheduling instructions is difficult to guarantee, especially when large-scale access to renewable energy on the load side and participation of multiple parties.

Method used

The domestic cryptographic standard SM2 is used to embed digital watermarks in the power scheduling instruction data, and the generated power scheduling instruction file is put on the chain to store it to form a trusted power scheduling instruction voucher.

Benefits of technology

Through the multi-copy storage form of blockchain, the authenticity and credibility of power scheduling instructions are guaranteed and reliable metrological certificates are provided for power scheduling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114745122B_ABST
    Figure CN114745122B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device and medium for chaining power dispatching instructions and digital watermarks. The method of the present invention comprises: obtaining power dispatching instruction data; using the national secret standard SM2 to embed the digital watermark of the dispatching agency in the power dispatching instruction data to generate a power dispatching instruction file; storing the power dispatching instruction file in the blockchain to form a power dispatching instruction certificate. The method of the present invention generates power dispatching instruction data according to the actual peak load regulation, frequency regulation and other dispatching instructions of the power grid, and uses the national secret SM2 to embed the digital watermark of the dispatching agency in the power dispatching instruction data to generate a dispatching instruction file. The dispatching instruction file is stored in the blockchain to form a power dispatching instruction certificate. The credibility of the power dispatching instruction certificate is guaranteed by the storage form of multiple copies of the blockchain, and a credible power dispatching metering certificate is provided for power dispatching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of blockchain technology, and specifically relates to a method, system, device and medium for uploading power dispatch instructions and digital watermarks to a blockchain. Background Art

[0002] At present, the response of load-side resources is uncertain due to the influence of power users' own power consumption behavior and the reliability of power equipment. In addition, the large-scale access of renewable energy on the load side, the unified management of adjustable loads, and the participation of multiple parties in energy operation have put forward higher requirements for the safety, reliability, openness, and transparency of the load dispatching environment.

[0003] Based on the power dispatching data, a dispatching blockchain is constructed to build a dispatching environment with transparent information, mutual supervision, and mutual trust among multiple parties. This supports multi-level collaborative dispatching of large power grids and open collaborative dispatching that considers the participation of multiple external parties in the future. This patent uses the domestic cryptographic standard SM2 to embed digital watermarks in the power dispatching instruction data, thereby forming a dispatching instruction file, and saves the dispatching instruction file on the blockchain.

[0004] With the development and application of energy Internet technology, the coordinated interaction of "source, grid, load and storage" has become the development trend of power grid dispatching. The large-scale access of renewable energy on the load side, the unified management of adjustable loads, and the participation of multiple parties in energy operation have put forward requirements for the safety, reliability, openness and transparency of the load dispatching environment. Summary of the invention

[0005] The purpose of the present invention is to provide a method, system, device and medium for uploading power dispatching instructions and digital watermarks to the chain. Based on in-depth research on blockchain management technology, it is proposed to upload power dispatching instructions as credentials to the chain to solve the credibility problem of power dispatching instructions under source-grid-load-storage services.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] In a first aspect, the present invention provides a method for uploading power dispatch instructions and digital watermarks to a chain, comprising the following steps:

[0008] Obtain power dispatch instruction data;

[0009] The national secret standard SM2 is used to embed the digital watermark of the dispatching agency in the power dispatching instruction data to generate a power dispatching instruction file;

[0010] The power dispatch instruction file is stored in the blockchain to form a power dispatch instruction certificate.

[0011] As an optional scheme of the present invention, in the step of obtaining power dispatch instruction data, the content of the power dispatch instruction data includes: dispatch number, dispatch content, dispatch time, generating mechanism, executing mechanism, whether it is a response to a previous dispatch operation and the number.

[0012] As an optional solution of the present invention, in the step of acquiring the electric power dispatching instruction data, the electric power dispatching instruction data is acquired in a manner of: generating the electric power dispatching instruction data according to actual dispatching instructions of the power grid.

[0013] As an optional solution of the present invention, the step of embedding the digital watermark of the dispatching agency in the power dispatching instruction data using the national secret standard SM2 to generate the power dispatching instruction file specifically includes:

[0014] Generate the private key of the dispatching responsible institution according to the elliptic curve cryptography mechanism in the national secret standard SM2; wherein the private key: integer d = [1, n-2], and the public key corresponding to the private key is: P = [d] G, G is the base point;

[0015] Obtain the digital watermark information WA of the dispatch responsible agency;

[0016] The digital watermark information WA is subjected to extended Arnold transformation using the private key d and the public key P to obtain scrambled watermarks: WA1 and WB respectively;

[0017] The scrambled watermark is mixed and encoded using Hadamard transform;

[0018] A watermark embedding algorithm based on discrete wavelet transform is adopted to embed the mixed-coded watermark into the electric power dispatching instruction data to generate an electric power dispatching instruction file.

[0019] As an optional solution of the present invention, according to the elliptic curve cryptography mechanism in the national secret standard SM2, when generating the private key of the scheduling responsible institution: let Fp be a point on the elliptic curve, and the elliptic curve equation is selected as: y 2 =x 3 +ax+b; base point G=(xG,yG)∈E(Fp).

[0020] As an optional solution of the present invention, the step of storing the power dispatch instruction file in the blockchain specifically includes:

[0021] Processing the power dispatch instruction file with blockchain technology to generate a data block and perform digital signature;

[0022] Initiate a request to the electric power dispatching blockchain network, requesting the electric power dispatching blockchain network to store the data block;

[0023] Other nodes in the power dispatch blockchain network verify the data block and its digital signature;

[0024] After the data block and its digital signature are successfully verified, the digital watermark of the dispatch responsible agency is checked;

[0025] After the digital watermark verification by the dispatching agency is correct, the data block will be stored in the power dispatching blockchain network.

[0026] As an optional solution of the present invention, the step of verifying the digital watermark of the dispatching responsible agency specifically includes:

[0027] extracting a digital watermark from the data block;

[0028] Performing an extended Arnold transform on the extracted digital watermark to obtain WA1 and WB respectively;

[0029] The WA1 and WB are compared and verified. If the verification is successful, the digital watermark verification is correct.

[0030] Based on the same inventive concept, the second aspect of the present invention provides a system for implementing the power dispatch instruction and digital watermark chain-linking method, comprising:

[0031] An acquisition module, used for acquiring power dispatch instruction data;

[0032] A watermark embedding module, used to embed a digital watermark of the dispatching agency in the power dispatching instruction data using the national secret standard SM2 to generate a power dispatching instruction file;

[0033] The on-chain module is used to store the power dispatch instruction file in the blockchain to form a power dispatch instruction certificate.

[0034] As an optional solution of the present invention, the watermark embedding module includes:

[0035] A private key generation unit, used to generate the private key of the dispatching responsible institution according to the elliptic curve cryptographic mechanism in the national secret standard SM2;

[0036] A digital watermark information acquisition unit, used to acquire the digital watermark information WA of the dispatch responsible organization;

[0037] An extended transformation unit, used to perform an extended Arnold transformation on the digital watermark information WA using a private key d and a public key P, respectively, to obtain scrambled watermarks: WA1 and WB;

[0038] A hybrid coding unit, used for hybrid coding the scrambled watermark by using Hadamard transform;

[0039] The electric power dispatching instruction file generating unit is used to embed the mixed-coded watermark into the electric power dispatching instruction data by adopting a watermark embedding algorithm based on discrete wavelet transform to generate an electric power dispatching instruction file.

[0040] As an optional solution of the present invention, the uplink module includes:

[0041] A data block generation unit, used to process the power dispatch instruction file using blockchain technology, generate a data block and perform a digital signature;

[0042] A storage request unit, configured to initiate a request to the electric power dispatching blockchain network, requesting the electric power dispatching blockchain network to store the data block;

[0043] A verification unit, configured to enable other nodes in the electric power dispatching blockchain network to verify the data block and its digital signature;

[0044] A verification unit, used to verify the digital watermark of the dispatching responsible agency after the data block and its digital signature are successfully verified;

[0045] The data block storage unit is used to store the data block in the power dispatching blockchain network after the digital watermark verification by the dispatching agency is correct.

[0046] Based on the same inventive concept, the third aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the power dispatching instructions and digital watermarking chain method when executing the computer program.

[0047] Based on the same inventive concept, the fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the power dispatching instruction and digital watermark chain-up method are implemented.

[0048] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0049] The power dispatch instruction and digital watermark chain-up method provided by the embodiment of the present invention generates power dispatch instruction data according to the actual peak load regulation, frequency regulation and other dispatch instructions of the power grid, and uses the national secret SM2 to embed the digital watermark of the dispatching agency in the power dispatch instruction data to generate a dispatch instruction file. The dispatch instruction file is stored in the blockchain to form a power dispatch instruction certificate. The credibility of the power dispatch instruction certificate is guaranteed by the storage form of multiple copies of the blockchain, providing a credible power dispatch metering certificate for power dispatch. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0051] Figure 1 This is a flow chart of the method for uploading power dispatch instructions and digital watermarks to a chain according to an embodiment of the present invention.

[0052] Figure 2 The flowchart of generating a scheduling instruction file in an embodiment of the present invention.

[0053] Figure 3 This is a flow chart of storing a power dispatch instruction file in a blockchain in an embodiment of the present invention.

[0054] Figure 4 The figure is a flow chart of checking a digital watermark in an embodiment of the present invention.

[0055] Figure 5 Schematic diagram of the generation and embedding principle of digital watermark in an embodiment of the present invention.

[0056] Figure 6 Schematic diagram of the extraction and verification principle of the digital watermark in the embodiment of the present invention.

[0057] Figure 7 The present invention is a system block diagram of a method for implementing power dispatching instructions and digital watermarking chaining according to an embodiment of the present invention.

[0058] Figure 8 The figure is a structural block diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0059] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0060] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention.

[0061] Example 1

[0062] The embodiment of the present invention provides a method for uploading power dispatching instructions and digital watermarks to a chain. Based on the national secret standard SM2, a digital watermark is embedded on the basis of the power dispatching instruction data to form a power dispatching instruction file, and the file is uploaded to the chain for storage to ensure the authenticity of the power dispatching instruction; Figure 1As shown, the specific steps include:

[0063] S1. Obtain power dispatch instruction data.

[0064] In a specific embodiment of the present invention, the method for acquiring power dispatch instruction data is as follows: the dispatching agency or other unit generates power dispatch instruction data based on power dispatch services, such as actual peak load regulation, frequency regulation and other dispatch instructions of the power grid.

[0065] In a specific embodiment of the present invention, the content of the generated power dispatch instruction data includes: dispatch number, dispatch content, dispatch time, generating mechanism and executing mechanism, whether the dispatch is a response to a previous dispatch operation and the number.

[0066] S2. Use the national secret standard SM2 to embed the digital watermark of the dispatching agency in the power dispatching instruction data to generate a power dispatching instruction file.

[0067] like Figure 2 and 5 As shown, in a specific embodiment of the present invention, the specific method of generating a scheduling instruction file is as follows:

[0068] S21. The dispatching agency generates a private key of the dispatching agency according to the elliptic curve cryptography mechanism in the national secret standard SM2; wherein the private key is an integer d = [1, n-2], and the public key corresponding to the private key is: P = [d]G, where G is the base point;

[0069] Specifically, in this step, according to the published "SM2 Elliptic Curve Public Key Cryptography Algorithm", the elliptic curve cryptography mechanism in the national secret standard SM2, the private key of the dispatching responsible agency is generated: Let Fp be a point on the elliptic curve, and the elliptic curve equation is selected as: y 2 =x 3 +ax+b; base point G=(xG,yG)∈E(Fp).

[0070] S22, obtaining the digital watermark information WA of the dispatching responsible organization;

[0071] S23, the dispatching agency uses the keys d and P to perform extended Arnold transformation on the digital watermark information WA, and obtains the scrambled watermarks: WA1 and WB respectively;

[0072] S24, then use Hadamard transform to perform hybrid coding on the scrambled watermark;

[0073] S25. Then, a watermark embedding algorithm based on discrete wavelet transform (DWT) is used to embed the mixed-coded watermark into the electric power dispatching instruction data to generate an electric power dispatching instruction file.

[0074] S3. The power dispatch instruction file is stored in the blockchain to form a power dispatch instruction certificate. The credibility of the power dispatch instruction certificate is guaranteed by multiple copies of the blockchain.

[0075] like Figure 3 As shown, in a specific embodiment of the present invention, when storing the power dispatch instruction file in the blockchain, the following method is adopted:

[0076] S31. The dispatching agency processes the power dispatching instruction file using the Merkle tree for blockchain technology to generate a data block, and digitally signs the data block (power dispatching instruction file) using its own private key;

[0077] S32, the dispatching agency initiates a request to the power dispatching blockchain network, requesting the power dispatching blockchain network to store the data block (power dispatching instruction file);

[0078] S33, other nodes in the power dispatching blockchain network verify the data block (power dispatching instruction file) and its digital signature;

[0079] S34, after the data block (electric power dispatching instruction file) and its digital signature are successfully verified, the digital watermark of the dispatching responsible agency in the data block (electric power dispatching instruction file) is checked;

[0080] like Figure 4 and 6 As shown, in this step, the digital watermark is checked, and the specific method is as follows:

[0081] S341, extracting a digital watermark from a data block;

[0082] S342, performing extended Arnold transformation on the extracted digital watermark to obtain WA1 and WB respectively;

[0083] S343, compare and verify WA1 and WB. If the verification is successful, the digital watermark verification is correct.

[0084] S35. After the digital watermark verification of the dispatching agency is correct, the data block will be stored in the power dispatching blockchain network according to the blockchain technology.

[0085] Example 2

[0086] like Figure 7 As shown, based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present invention provides a system for implementing a method for uploading power dispatching instructions and digital watermarks to a chain, including:

[0087] The acquisition module is used to obtain power dispatch instruction data.

[0088] A watermark embedding module is used to embed the digital watermark of the dispatching agency in the power dispatching instruction data using the national secret standard SM2 to generate a power dispatching instruction file;

[0089] The watermark embedding module specifically includes:

[0090] A private key generation unit, used to generate the private key of the dispatching responsible institution according to the elliptic curve cryptographic mechanism in the national secret standard SM2;

[0091] A digital watermark information acquisition unit, used to acquire the digital watermark information WA of the dispatch responsible organization;

[0092] An extended transformation unit, used to perform an extended Arnold transformation on the digital watermark information WA using a private key d and a public key P, respectively, to obtain scrambled watermarks: WA1 and WB;

[0093] A hybrid coding unit, used for hybrid coding the scrambled watermark by using Hadamard transform;

[0094] The electric power dispatching instruction file generating unit is used to embed the mixed-coded watermark into the electric power dispatching instruction data by adopting a watermark embedding algorithm based on discrete wavelet transform to generate an electric power dispatching instruction file.

[0095] The uplink module specifically includes:

[0096] A data block generation unit, used to process the power dispatch instruction file using blockchain technology, generate a data block and perform a digital signature;

[0097] A storage request unit, configured to initiate a request to the electric power dispatching blockchain network, requesting the electric power dispatching blockchain network to store the data block;

[0098] A verification unit, configured to enable other nodes in the electric power dispatching blockchain network to verify the data block and its digital signature;

[0099] A verification unit, used to verify the digital watermark of the dispatching responsible agency after the data block and its digital signature are successfully verified;

[0100] The data block storage unit is used to store the data block in the power dispatching blockchain network after the digital watermark verification by the dispatching agency is correct.

[0101] In some embodiments, the dispatching agency generates a private key of the dispatching agency according to the elliptic curve cryptography mechanism in the national secret standard SM2; wherein, the private key: integer d = [1, n-2], and the public key corresponding to the private key is: P = [d]G, G is the base point; the digital watermark information WA of the dispatching agency is obtained; the dispatching agency uses the keys d and P to perform extended Arnold transform on the digital watermark information WA, respectively, to obtain scrambled watermarks: WA1 and WB; then the Hadamard transform is used to hybrid encode the scrambled watermarks; then a watermark embedding algorithm based on discrete wavelet transform (DWT) is used to embed the hybrid encoded watermark into the power dispatching instruction data to generate a power dispatching instruction file.

[0102] The on-chain module is used to store the power dispatch instruction file in the blockchain to form a power dispatch instruction certificate.

[0103] In some embodiments, the dispatching agency processes the power dispatching instruction file using the Merkle tree for blockchain technology to generate a data block, and uses its own private key to digitally sign the data block (power dispatching instruction file); the dispatching agency initiates a request to the power dispatching blockchain network, requesting the power dispatching blockchain network to store the data block (power dispatching instruction file); other nodes in the power dispatching blockchain network verify the data block (power dispatching instruction file) and its digital signature; after the data block (power dispatching instruction file) and its digital signature are successfully verified, the digital watermark of the dispatching agency in the data block (power dispatching instruction file) is verified. After the digital watermark of the dispatching agency is verified correctly, the data block is stored in the power dispatching blockchain network according to the blockchain technology.

[0104] In some more specific embodiments, a digital watermark is extracted from a data block; an extended Arnold transform is performed on the extracted digital watermark to obtain WA1 and WB respectively; WA1 and WB are compared and verified, and if the verification passes, the digital watermark is verified to be correct.

[0105] Example 3

[0106] like Figure 8 As shown, the present invention also provides a computer device 100 for a method of uploading power dispatching instructions and digital watermarks; the computer device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on at least one processor 102, and at least one communication bus 104.

[0107] The memory 101 can be used to store the computer program 103. The processor 102 implements the steps of the power dispatch instruction and digital watermark uplink method of embodiment 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101. The memory 101 can mainly include 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 (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data (such as audio data) created according to the use of the computer device 100, etc. In addition, the memory 101 can include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart MediaCard, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0108] At least one processor 102 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 102 may be a microprocessor or any conventional processor, etc. The processor 102 is the control center of the computer device 100, and uses various interfaces and lines to connect various parts of the entire computer device 100.

[0109] The memory 101 in the computer device 100 stores a plurality of instructions to implement a power dispatch instruction and a digital watermark uplink method, and the processor 102 can execute the plurality of instructions to implement:

[0110] Obtain power dispatch instruction data;

[0111] The national secret standard SM2 is used to embed the digital watermark of the dispatching agency in the power dispatching instruction data to generate the power dispatching instruction file;

[0112] The power dispatch instruction file is stored in the blockchain to form a power dispatch instruction certificate.

[0113] Example 4

[0114] If the modules / units integrated in the computer device 100 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media can include: any entity or device that can carry computer program code, recording medium, USB flash drive, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory).

[0115] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0116] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0117] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for uploading power dispatching instructions and digital watermarks to a chain, characterized in that: include: Obtain power dispatch instruction data; The national secret standard SM2 is used to embed the digital watermark of the dispatching agency in the power dispatching instruction data to generate a power dispatching instruction file; The power dispatch instruction file is stored in the blockchain to form a power dispatch instruction certificate; The step of embedding the digital watermark of the dispatching agency in the power dispatching instruction data using the national secret standard SM2 to generate the power dispatching instruction file specifically includes: Generate the private key of the dispatching responsible institution according to the elliptic curve cryptography mechanism in the national secret standard SM2; wherein the private key: integer d = [1, n-2], and the public key corresponding to the private key is: P = [d] G, G is the base point; Obtain the digital watermark information WA of the dispatch responsible agency; The digital watermark information WA is subjected to extended Arnold transformation using the private key d and the public key P to obtain scrambled watermarks: WA1 and WB respectively; The scrambled watermark is mixed and encoded using Hadamard transform; A watermark embedding algorithm based on discrete wavelet transform is adopted to embed the mixed-coded watermark into the electric power dispatching instruction data to generate an electric power dispatching instruction file.

2. The method for uploading power dispatching instructions and digital watermarks to a chain according to claim 1, characterized in that: In the step of obtaining the electric power dispatch instruction data, the content of the electric power dispatch instruction data includes: dispatch number, dispatch content, dispatch time, generating mechanism, executing mechanism, whether it is a response to a previous dispatch operation and the number.

3. The method for uploading power dispatching instructions and digital watermarks to a chain according to claim 1, characterized in that: In the step of acquiring the electric power dispatching instruction data, the electric power dispatching instruction data is acquired in a manner of: generating the electric power dispatching instruction data according to actual dispatching instructions of the power grid.

4. The method for uploading power dispatching instructions and digital watermarks to a chain according to claim 1, characterized in that: According to the elliptic curve cryptography mechanism in the national secret standard SM2, when generating the private key of the dispatching responsible agency: let Fp be a point on the elliptic curve, and the elliptic curve equation is selected as: y 2 =x 3 +ax+b; base point G=(xG,yG)∈E(Fp).

5. The method for uploading power dispatching instructions and digital watermarks to a chain according to claim 1, characterized in that: The step of storing the power dispatch instruction file in the blockchain specifically includes: Processing the power dispatch instruction file with blockchain technology to generate a data block and perform digital signature; Initiate a request to the electric power dispatching blockchain network, requesting the electric power dispatching blockchain network to store the data block; Other nodes in the power dispatch blockchain network verify the data block and its digital signature; After the data block and its digital signature are successfully verified, the digital watermark of the dispatching responsible agency is checked; After the digital watermark verification by the dispatching agency is correct, the data block will be stored in the power dispatching blockchain network.

6. The method for uploading power dispatching instructions and digital watermarks to a chain according to claim 5, characterized in that: The step of verifying the digital watermark of the dispatching responsible institution specifically includes: extracting a digital watermark from the data block; Performing an extended Arnold transform on the extracted digital watermark to obtain WA1 and WB respectively; The WA1 and WB are compared and verified. If the verification is successful, the digital watermark verification is correct.

7. A system for implementing a method for uploading power dispatching instructions and digital watermarks, characterized in that: include: An acquisition module, used for acquiring power dispatch instruction data; A watermark embedding module, used to embed a digital watermark of the dispatching agency in the power dispatching instruction data using the national secret standard SM2 to generate a power dispatching instruction file; The on-chain module is used to store the electric power dispatch instruction file in the blockchain to form an electric power dispatch instruction certificate; The watermark embedding module is specifically used for: Generate the private key of the dispatching responsible institution according to the elliptic curve cryptography mechanism in the national secret standard SM2; wherein the private key: integer d = [1, n-2], and the public key corresponding to the private key is: P = [d] G, G is the base point; Obtain the digital watermark information WA of the dispatch responsible agency; The digital watermark information WA is subjected to extended Arnold transformation using the private key d and the public key P to obtain scrambled watermarks: WA1 and WB respectively; The scrambled watermark is mixed and encoded using Hadamard transform; A watermark embedding algorithm based on discrete wavelet transform is adopted to embed the mixed-coded watermark into the electric power dispatching instruction data to generate an electric power dispatching instruction file.

8. The system for implementing the method for uploading power dispatching instructions and digital watermarks to a chain according to claim 7, characterized in that: The watermark embedding module comprises: A private key generation unit, used to generate the private key of the dispatching responsible institution according to the elliptic curve cryptographic mechanism in the national secret standard SM2; A digital watermark information acquisition unit, used to acquire the digital watermark information WA of the dispatch responsible organization; An extended transformation unit, used to perform an extended Arnold transformation on the digital watermark information WA using a private key d and a public key P, respectively, to obtain scrambled watermarks: WA1 and WB; A hybrid coding unit, used for hybrid coding the scrambled watermark by using Hadamard transform; The electric power dispatching instruction file generating unit is used to embed the mixed-coded watermark into the electric power dispatching instruction data by adopting a watermark embedding algorithm based on discrete wavelet transform to generate an electric power dispatching instruction file.

9. The system for implementing the method for uploading power dispatching instructions and digital watermarks to a chain according to claim 7, characterized in that: The uplink module includes: A data block generation unit, used to process the power dispatch instruction file using blockchain technology, generate a data block and perform a digital signature; A storage request unit, configured to initiate a request to the electric power dispatching blockchain network, requesting the electric power dispatching blockchain network to store the data block; A verification unit, configured to enable other nodes in the electric power dispatching blockchain network to verify the data block and its digital signature; A verification unit, used to verify the digital watermark of the dispatching responsible agency after the data block and its digital signature are successfully verified; The data block storage unit is used to store the data block in the power dispatching blockchain network after the digital watermark verification by the dispatching agency is correct.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the power dispatching instruction and digital watermark chain-up method as described in any one of claims 1 to 6 are implemented.

11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the power dispatching instruction and digital watermarking chain-up method as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Video copyright protection method and system based on block chain and digital watermarking technology

    CN114003871A