CN114745122A - Power dispatching instruction and digital watermarking uplink method, system, device and medium - Google Patents

Power dispatching instruction and digital watermarking uplink method, system, device and medium Download PDF

Info

Publication number
CN114745122A
CN114745122A CN202210515888.7A CN202210515888A CN114745122A CN 114745122 A CN114745122 A CN 114745122A CN 202210515888 A CN202210515888 A CN 202210515888A CN 114745122 A CN114745122 A CN 114745122A
Authority
CN
China
Prior art keywords
power
dispatching
digital
power dispatching
scheduling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210515888.7A
Other languages
Chinese (zh)
Inventor
阎博
于韶源
曹良晶
陈爱林
戚岳
耿建
刘蒙
韦涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Jibei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Jibei Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI, State Grid Jibei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202210515888.7A priority Critical patent/CN114745122A/en
Publication of CN114745122A publication Critical patent/CN114745122A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/3066Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy involving algebraic varieties, e.g. elliptic or hyper-elliptic curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/60Digital content management, e.g. content distribution
    • H04L2209/608Watermarking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/20Information technology specific aspects, e.g. CAD, simulation, modelling, system security

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Algebra (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention discloses a method, a system, a device and a medium for chaining electric power dispatching instructions and digital watermarks, wherein the method comprises the following steps: acquiring power dispatching instruction data; embedding a digital watermark of a dispatching responsible mechanism in the power dispatching instruction data by adopting a national secret standard SM2 to generate a power dispatching instruction file; and storing the power scheduling instruction file in a block chain to form a power scheduling instruction certificate. According to the method, power dispatching instruction data are generated according to dispatching instructions such as actual peak shaving and frequency modulation of a power grid, digital watermarks of dispatching responsible mechanisms are embedded into the power dispatching instruction data by adopting the SM2, and a dispatching instruction file is generated. And storing the scheduling instruction file in a block chain to form a power scheduling instruction certificate. The credibility of the power dispatching instruction certificate is guaranteed through a storage form of multiple copies of the block chain, and a credible power dispatching metering certificate is provided for power dispatching.

Description

Power dispatching instruction and digital watermark uplink method, system, device and medium
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a power dispatching instruction and digital watermark chaining method, system, device and medium.
Background
At present, under the influence of the power consumption behavior demand of the power consumer and the reliability of the power equipment, the response of the load side resource has certain uncertainty. And the large-scale access of renewable energy sources on the load side, the unified management of adjustable loads, and the participation of a multi-party main body in energy operation provide higher requirements for the safety, credibility, openness, transparency and the like of a load scheduling environment.
Based on power dispatching data, a dispatching block chain is constructed, a dispatching environment with transparent information, mutual supervision and mutual trust is constructed, the multistage cooperative dispatching of a large power grid and the open cooperative dispatching with the participation of external multi-party main bodies in future are supported, digital watermarks are embedded into the power dispatching instruction data by adopting a domestic password standard SM2, and therefore a dispatching instruction file is formed, and the dispatching instruction file is stored in the block chain.
With the development and application of energy internet technology, source network load storage cooperative interaction becomes the development trend of power grid dispatching, the large-scale access of renewable energy sources on the load side, the unified management of adjustable loads, and the participation of a plurality of main bodies in energy operation provide requirements for the safety, credibility, openness, transparency and the like of a load dispatching environment.
Disclosure of Invention
The invention aims to provide a method, a system, a device and a medium for chaining an electric power dispatching instruction and a digital watermark, which are used for proposing the electric power dispatching instruction as a certificate chaining on the basis of deeply researching a block chain management technology so as to solve the problem of credibility of the electric power dispatching instruction under the source network load storage service.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect of the present invention, a power scheduling instruction and digital watermarking uplink method is provided, which includes the following steps:
acquiring power dispatching instruction data;
embedding a digital watermark of a dispatching responsible mechanism in the power dispatching instruction data by adopting a national secret standard SM2 to generate a power dispatching instruction file;
and storing the power scheduling instruction file in a block chain to form a power scheduling instruction certificate.
As an optional aspect of the present invention, in the step of obtaining the power scheduling instruction data, the content of the power scheduling instruction data includes: scheduling number, scheduling contents, scheduling time, generating mechanism, executing mechanism, whether it belongs to a response to the preamble scheduling operation, and number.
As an optional aspect of the present invention, in the step of acquiring the power scheduling instruction data, an acquisition manner of the power scheduling instruction data is as follows: and generating power dispatching instruction data according to the actual dispatching instruction of the power grid.
As an optional scheme of the present invention, the step of embedding a digital watermark of a scheduling responsible mechanism in the power scheduling instruction data by using the national secret standard SM2 to generate a power scheduling instruction file specifically includes:
generating a private key of a dispatching responsible mechanism according to an elliptic curve cryptography mechanism in the SM2 cryptographic standard; wherein, the private key: and the integer d is [1, n-2], and the public key corresponding to the private key is as follows: p ═ d ] G, G being the base point;
acquiring information WA of digital watermarks of a dispatching responsible organization;
and respectively carrying out extended Arnold transformation on the information WA of the digital watermark by using a private key d and a public key P to respectively obtain the scrambled watermarks: WA1And WB;
performing mixed encoding on the scrambled watermarks by adopting Hadamard transform;
and embedding the watermark after the mixed coding into the power dispatching instruction data by adopting a watermark embedding algorithm based on discrete wavelet transform to generate a power dispatching instruction file.
As an optional scheme of the present invention, when the private key of the mechanism responsible for scheduling is generated according to the elliptic curve cryptography in the cryptographic standard SM 2: and (3) setting Fp as a point on an elliptic curve, and selecting an elliptic curve equation: y is2=x3+ ax + b; the base point G ═ (xG, yG) ∈ e (fp).
As an optional scheme of the present invention, the step of storing the power scheduling instruction file in a block chain specifically includes:
carrying out block chain technical processing on the power dispatching instruction file to generate a data block and carrying out digital signature;
initiating a request to a power scheduling blockchain network, requesting the power scheduling blockchain network to store the data block;
other nodes in the power dispatching block chain network verify the data block and the digital signature thereof;
after the data block and the digital signature thereof are successfully verified, the digital watermark of a dispatching responsible organization is checked;
and after the digital watermark of the dispatching responsible mechanism is checked to be correct, the data block is stored in the power dispatching block chain network.
As an optional scheme of the present invention, the step of checking the digital watermark of the scheduling responsible mechanism specifically includes:
extracting a digital watermark from the data block;
performing extended Arnold transformation on the extracted digital watermark to respectively obtain WAs1And WB;
comparing and verifying said WA1And WB, after the verification is passed, the digital watermark is checked to be correct.
Based on the same inventive concept, in a second aspect of the present invention, a system for implementing the power scheduling instruction and the digital watermarking uplink method is provided, including:
the acquisition module is used for acquiring power dispatching instruction data;
the watermark embedding module is used for embedding digital watermarks of a dispatching responsible mechanism into the power dispatching instruction data by adopting a national secret standard SM2 to generate a power dispatching instruction file;
and the uplink module is used for storing the power dispatching instruction file in a block chain to form a power dispatching instruction certificate.
As an optional aspect of the present invention, the watermark embedding module includes:
the private key generating unit is used for generating a private key of a dispatching responsible mechanism according to an elliptic curve cryptography mechanism in the national cryptographic standard SM 2;
a digital watermark information acquisition unit for acquiring information WA of digital watermark of a scheduling responsible institution;
an expansion transformation unit, configured to perform expansion Arnold transformation on the digital watermark information WA using a private key d and a public key P, respectively, to obtain scrambled watermarks: WA1And WB;
the mixed coding unit is used for carrying out mixed coding on the scrambled watermarks by adopting Hadamard transform;
and the power dispatching instruction file generating unit is used for embedding the watermark after the mixed coding into the power dispatching instruction data by adopting a watermark embedding algorithm based on discrete wavelet transformation to generate a power dispatching instruction file.
As an optional aspect of the present invention, the uplink module includes:
the data block generating unit is used for carrying out block chain technical processing on the power dispatching instruction file, generating a data block and carrying out digital signature;
a storage request unit, configured to initiate a request to a power scheduling blockchain network, requesting the power scheduling blockchain network to store the data block;
the verification unit is used for enabling other nodes in the power dispatching block chain network to verify the data blocks and the digital signatures thereof;
the verifying unit is used for verifying the digital watermark of the dispatching responsible organization after the data block and the digital signature thereof are successfully verified;
and the data block storage unit is used for storing the data block in the power dispatching block chain network after the digital watermark of the dispatching responsible mechanism is checked to be correct.
Based on the same inventive concept, in a third aspect of the present invention, there is provided a computer apparatus, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the power scheduling instruction and the digital watermarking uplink method when executing the computer program.
Based on the same inventive concept, in a fourth aspect of the present invention, a computer-readable storage medium is provided, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the power scheduling instruction and the digital watermarking uplink method.
Compared with the prior art, the invention has the following beneficial effects:
according to the power dispatching instruction and the digital watermark chaining method provided by the embodiment of the invention, power dispatching instruction data are generated according to dispatching instructions such as actual peak shaving and frequency modulation of a power grid, and a scheduling instruction file is generated by embedding the digital watermark of a dispatching responsible mechanism into the power dispatching instruction data by adopting the SM 2. And storing the scheduling instruction file in a block chain to form a power scheduling instruction certificate. The credibility of the power dispatching instruction certificate is guaranteed through a storage form of multiple copies of the block chain, and a credible power dispatching metering certificate is provided for power dispatching.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a power scheduling command and a digital watermarking uplink method according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating the generation of a scheduling instruction file according to an embodiment of the present invention.
FIG. 3 is a flowchart illustrating storing a power scheduling command file in a blockchain according to an embodiment of the present invention.
Fig. 4 is a flowchart of checking a digital watermark according to an embodiment of the present invention.
Fig. 5 is a schematic diagram illustrating the principle of generating and embedding a digital watermark in an embodiment of the present invention.
Fig. 6 is a schematic diagram illustrating the principle of extracting and verifying a digital watermark in an embodiment of the present invention.
Fig. 7 is a system block diagram for implementing a power scheduling command and a digital watermarking uplink method according to an embodiment of the present invention.
Fig. 8 is a block diagram of a computer device according to an embodiment of the invention.
Detailed Description
The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The following detailed description is exemplary in nature and is intended to provide further details of the invention. Unless otherwise defined, all technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the invention.
Example 1
The embodiment of the invention provides a power dispatching instruction and a digital watermark chaining method, which is based on the SM2 cryptographic standard, on the basis of power dispatching instruction data, a digital watermark is embedded to form a power dispatching instruction file, and the file is chained to be stored so as to ensure the authenticity of the power dispatching instruction; as shown in fig. 1, the method specifically comprises the following steps:
and S1, acquiring power dispatching instruction data.
In the specific embodiment of the invention, the power dispatching instruction data is obtained by the following steps: and the dispatching responsible mechanism or other units generate power dispatching instruction data according to the power dispatching services, such as dispatching instructions of actual peak load regulation, frequency modulation and the like of the power grid.
In an embodiment of the present invention, the content of the generated power scheduling instruction data includes: schedule number, schedule contents, schedule time, generating mechanism and executing mechanism, whether the schedule belongs to a response to a preamble scheduling operation, and number.
And S2, embedding a digital watermark of a dispatching responsible organization in the power dispatching instruction data by adopting the SM2 national secret standard to generate a power dispatching instruction file.
As shown in fig. 2 and 5, in the embodiment of the present invention, a specific manner for generating the scheduling instruction file is as follows:
s21, the dispatching responsible mechanism generates a private key of the dispatching responsible mechanism according to an elliptic curve cryptography mechanism in the SM2 cryptographic standard; wherein, the private key: the integer d ═ 1, n-2], and the public key corresponding to the private key is: p ═ d ] G, G being the base point;
specifically, in this step, according to the published "SM 2 elliptic curve public key cryptography algorithm", the elliptic curve cryptography mechanism in the national secret standard SM2, the private key of the scheduling responsible authority is generated: and (3) setting Fp as a point on an elliptic curve, and selecting an elliptic curve equation: y is2=x3+ ax + b; the base point G is (xG, yG) e (fp).
S22, acquiring information WA of digital watermarks of a dispatching responsible organization;
s23, the scheduling authority performs an extended Arnold transformation on the digital watermark information WA using the keys d and P, respectively, to obtain scrambled watermarks: WA1And WB;
s24, then, mixed coding is carried out on the scrambled watermark by adopting Hadamard transform;
and S25, embedding the mixed and coded watermark into the power dispatching instruction data by adopting a watermark embedding algorithm based on Discrete Wavelet Transform (DWT) to generate a power dispatching instruction file.
And S3, storing the power dispatching instruction file in the block chain to form a power dispatching instruction certificate. The credibility of the power dispatching instruction certificate is guaranteed in a block chain multi-copy mode.
As shown in fig. 3, in the embodiment of the present invention, when the power scheduling instruction file is stored in the blockchain, the following method is adopted:
s31, the dispatching responsible mechanism carries out block chain technology processing on the power dispatching instruction file by using a Merkle tree to generate a data block, and carries out digital signature on the data block (the power dispatching instruction file) by using a private key of the dispatching responsible mechanism;
s32, the scheduling responsible mechanism sends a request to the power scheduling blockchain network to request the power scheduling blockchain network to store a data block (power scheduling instruction file);
s33, verifying the data block (power dispatching instruction file) and the digital signature thereof by other nodes in the power dispatching block chain network;
s34, after the data block (power dispatching instruction file) and the digital signature thereof are verified successfully, the digital watermark of a dispatching responsible organization in the data block (power dispatching instruction file) is checked;
as shown in fig. 4 and 6, in this step, the digital watermark is checked in the following specific manner:
s341, extracting the digital watermark from the data block;
s342, performing extended Arnold transformation on the extracted digital watermark to respectively obtain WAs1And WB;
s343, comparison verification WA1And WB, after the verification is passed, the digital watermark is checked to be correct.
And S35, storing the data block in the power dispatching block chain network according to the block chain technology after the digital watermark of the dispatching responsible mechanism is checked to be correct.
Example 2
As shown in fig. 7, based on the same inventive concept, corresponding to any of the above embodiments of the method, the present invention provides a system for implementing a power scheduling command and a digital watermarking uplink method, including:
and the acquisition module is used for acquiring the power dispatching instruction data.
The watermark embedding module is used for embedding digital watermarks of a dispatching responsible mechanism into the power dispatching instruction data by adopting a national secret standard SM2 so as to generate a power dispatching instruction file;
the watermark embedding module specifically comprises:
the private key generating unit is used for generating a private key of a dispatching responsible mechanism according to an elliptic curve cryptography mechanism in the national cryptographic standard SM 2;
a digital watermark information acquisition unit for acquiring information WA of digital watermark of a scheduling responsible institution;
an expansion transformation unit, configured to perform expansion Arnold transformation on the digital watermark information WA using a private key d and a public key P, respectively, to obtain scrambled watermarks: WA1And WB;
the mixed coding unit is used for carrying out mixed coding on the scrambled watermarks by adopting Hadamard transform;
and the power dispatching instruction file generating unit is used for embedding the watermark after the mixed coding into the power dispatching instruction data by adopting a watermark embedding algorithm based on discrete wavelet transformation to generate a power dispatching instruction file.
The uplink module specifically includes:
the data block generating unit is used for carrying out block chain technology processing on the power dispatching instruction file, generating a data block and carrying out digital signature;
a storage request unit, configured to initiate a request to a power scheduling blockchain network, requesting the power scheduling blockchain network to store the data block;
the verification unit is used for enabling other nodes in the power dispatching block chain network to verify the data block and the digital signature thereof;
the verifying unit is used for verifying the digital watermark of the dispatching responsible organization after the data block and the digital signature thereof are successfully verified;
and the data block storage unit is used for storing the data block in the power dispatching block chain network after the digital watermark of the dispatching responsible mechanism is checked to be correct.
In some embodiments, the schedule responsible authority generates a private key of the schedule responsible authority according to an elliptic curve cryptography mechanism in the cryptographic standard SM 2; wherein, the private key: the integer d ═ 1, n-2]The public key corresponding to the private key is: p ═ d]G, G is a base point; acquiring information WA of digital watermarks of a dispatching responsible organization; the dispatching responsible organization respectively carries out extended Arnold transformation on the information WA of the digital watermark by using keys d and P to respectively obtain the scrambled watermarks: WA1And WB; then, mixed encoding is carried out on the scrambled watermarks by adopting Hadamard transform; and then embedding the mixed and coded watermark into the power dispatching instruction data by adopting a watermark embedding algorithm based on Discrete Wavelet Transform (DWT) so as to generate a power dispatching instruction file.
And the uplink module is used for storing the power dispatching instruction file in the block chain so as to form a power dispatching instruction certificate.
In some embodiments, the scheduling responsible mechanism performs block chain technology processing on the power scheduling instruction file by using a Merkle tree to generate a data block, and digitally signs the data block (the power scheduling instruction file) by using a private key of the scheduling responsible mechanism; the method comprises the steps that a scheduling responsible mechanism sends a request to a power scheduling blockchain network to request the power scheduling blockchain network to store a data block (a power scheduling instruction file); other nodes in the power dispatching block chain network verify data blocks (power dispatching instruction files) and digital signatures thereof; and after the data block (the power dispatching instruction file) and the digital signature thereof are verified successfully, the digital watermark of the dispatching responsible organization in the data block (the power dispatching instruction file) is verified. And after the digital watermark of the dispatching responsible mechanism is checked to be correct, storing the data block in the power dispatching block chain network according to the block chain technology.
In some more specific embodiments, the slave numbersExtracting digital watermarks from the blocks; performing extended Arnold transformation on the extracted digital watermark to respectively obtain WAs1And WB; comparative verification WA1And WB, after the verification is passed, the digital watermark is checked to be correct.
Example 3
As shown in fig. 8, the present invention further provides a computer apparatus 100 for power dispatching instruction and digital watermarking uplink method; the computer device 100 comprises a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on the at least one processor 102, and at least one communication bus 104.
The memory 101 may be used to store a computer program 103, and the processor 102 implements the power scheduling instructions and the digital watermarking uplink method steps 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 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data) created according to the use of the computer apparatus 100, and the like. In addition, the memory 101 may include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other non-volatile solid state storage device.
The at least one Processor 102 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The processor 102 may be a microprocessor or the processor 102 may be any conventional processor or the like, and the processor 102 is the control center of the computer device 100 and connects the various parts of the entire computer device 100 using various interfaces and lines.
The memory 101 in the computer device 100 stores a plurality of instructions to implement a power scheduling instruction and a digital watermarking uplink method, and the processor 102 can execute the plurality of instructions to implement:
acquiring power dispatching instruction data;
embedding a digital watermark of a dispatching responsible mechanism in power dispatching instruction data by adopting a national secret standard SM2 to generate a power dispatching instruction file;
and storing the power scheduling instruction file in the block chain to form a power scheduling instruction certificate.
Example 4
The modules/units integrated by the computer apparatus 100 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the above-described embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, and Read-Only Memory (ROM).
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (12)

1. The power dispatching instruction and digital watermarking uplink method is characterized by comprising the following steps:
acquiring power dispatching instruction data;
embedding a digital watermark of a dispatching responsible mechanism in the power dispatching instruction data by adopting a national secret standard SM2 to generate a power dispatching instruction file;
and storing the power scheduling instruction file in a block chain to form a power scheduling instruction certificate.
2. The power scheduling command and digital watermarking uplink method according to claim 1, wherein in the step of obtaining the power scheduling command data, the content of the power scheduling command data includes: scheduling number, scheduling contents, scheduling time, generating mechanism, executing mechanism, whether it belongs to a response to the preamble scheduling operation, and number.
3. The power dispatching command and digital watermarking uplink method according to claim 1, wherein in the step of obtaining the power dispatching command data, the power dispatching command data is obtained by: and generating power dispatching instruction data according to the actual dispatching instruction of the power grid.
4. The power dispatching instruction and digital watermarking uplink method according to claim 1, wherein the step of embedding a digital watermark of a dispatching responsible organization in the power dispatching instruction data by using a SM2 cryptographic standard to generate a power dispatching instruction file specifically comprises:
generating a private key of a dispatching responsible mechanism according to an elliptic curve cryptography mechanism in the SM2 cryptographic standard; wherein, the private key: and the integer d is [1, n-2], and the public key corresponding to the private key is as follows: p ═ d ] G, G being the base point;
acquiring information WA of digital watermarks of a dispatching responsible organization;
respectively carrying out the steps of using a private key d and a public key P to the information WA of the digital watermarkAnd (3) expanding Arnold transformation to respectively obtain the scrambled watermarks: WA1And WB;
performing mixed encoding on the scrambled watermarks by adopting Hadamard transform;
and embedding the watermark after the mixed coding into the power dispatching instruction data by adopting a watermark embedding algorithm based on discrete wavelet transform to generate a power dispatching instruction file.
5. The power dispatching instruction and digital watermarking uplink method of claim 4, wherein when generating the private key of the dispatching responsible organization according to the elliptic curve cryptography mechanism in the SM2 cryptographic standard: and (3) setting Fp as a point on an elliptic curve, and selecting an elliptic curve equation: y is2=x3+ ax + b; the base point G is (xG, yG) e (fp).
6. The power scheduling instruction and digital watermarking uplink method of claim 1, wherein the step of storing the power scheduling instruction file in a blockchain comprises:
carrying out block chain technical processing on the power dispatching instruction file to generate a data block and carrying out digital signature;
initiating a request to a power scheduling blockchain network, requesting the power scheduling blockchain network to store the data block;
verifying the data block and the digital signature thereof by other nodes in the power dispatching block chain network;
after the data block and the digital signature thereof are successfully verified, the digital watermark of a dispatching responsible organization is checked;
and after the digital watermark of the dispatching responsible mechanism is checked to be correct, the data block is stored in the power dispatching block chain network.
7. The power dispatching instruction and digital watermarking uplink method of claim 6, wherein the step of checking the digital watermark of the dispatching responsible organization specifically comprises:
extracting a digital watermark from the data block;
performing extended Arnold transformation on the extracted digital watermark to respectively obtain WAs1And WB;
verifying said WA against said1And WB, after the verification is passed, the digital watermark is checked to be correct.
8. A system for implementing the power scheduling command and digital watermarking uplink method, comprising:
the acquisition module is used for acquiring power dispatching instruction data;
the watermark embedding module is used for embedding digital watermarks of a dispatching responsible mechanism into the power dispatching instruction data by adopting a national secret standard SM2 to generate a power dispatching instruction file;
and the uplink module is used for storing the power dispatching instruction file in a block chain to form a power dispatching instruction certificate.
9. The system for implementing the power scheduling instructions and digital watermarking uplink method of claim 8, wherein the watermark embedding module comprises:
the private key generating unit is used for generating a private key of a dispatching responsible mechanism according to an elliptic curve cryptography mechanism in the national cryptographic standard SM 2;
a digital watermark information acquisition unit for acquiring information WA of digital watermark of a scheduling responsible institution;
an expansion transformation unit, configured to perform expansion Arnold transformation on the digital watermark information WA using a private key d and a public key P, respectively, to obtain scrambled watermarks: WA1And WB;
the mixed coding unit is used for carrying out mixed coding on the scrambled watermarks by adopting Hadamard transform;
and the power dispatching instruction file generating unit is used for embedding the watermark after the mixed coding into the power dispatching instruction data by adopting a watermark embedding algorithm based on discrete wavelet transformation to generate a power dispatching instruction file.
10. The system of claim 8, wherein the uplink module comprises:
the data block generating unit is used for carrying out block chain technology processing on the power dispatching instruction file, generating a data block and carrying out digital signature;
a storage request unit, configured to initiate a request to a power scheduling blockchain network, requesting the power scheduling blockchain network to store the data block;
the verification unit is used for enabling other nodes in the power dispatching block chain network to verify the data blocks and the digital signatures thereof;
the verifying unit is used for verifying the digital watermark of the dispatching responsible organization after the data block and the digital signature thereof are successfully verified;
and the data block storage unit is used for storing the data block in the power dispatching block chain network after the digital watermark of the dispatching responsible mechanism is checked to be correct.
11. A computer apparatus comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the power scheduling instructions and the digital watermarking uplink method according to any of claims 1 to 7.
12. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the power scheduling instructions and digital watermarking uplink method of any of claims 1 to 7.
CN202210515888.7A 2022-05-12 2022-05-12 Power dispatching instruction and digital watermarking uplink method, system, device and medium Pending CN114745122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210515888.7A CN114745122A (en) 2022-05-12 2022-05-12 Power dispatching instruction and digital watermarking uplink method, system, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210515888.7A CN114745122A (en) 2022-05-12 2022-05-12 Power dispatching instruction and digital watermarking uplink method, system, device and medium

Publications (1)

Publication Number Publication Date
CN114745122A true CN114745122A (en) 2022-07-12

Family

ID=82286547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210515888.7A Pending CN114745122A (en) 2022-05-12 2022-05-12 Power dispatching instruction and digital watermarking uplink method, system, device and medium

Country Status (1)

Country Link
CN (1) CN114745122A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115021940A (en) * 2022-07-14 2022-09-06 国网浙江省电力有限公司电力科学研究院 Load regulation and control data storage method, device, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115021940A (en) * 2022-07-14 2022-09-06 国网浙江省电力有限公司电力科学研究院 Load regulation and control data storage method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN102983971B (en) Certificateless signature algorithm for user identity authentication in network environment
US10992481B2 (en) Two-dimensional code generation method, apparatus, data processing method, apparatus, and server
CN102907038A (en) Attribute-based digital signature system
CN112069550B (en) Electronic contract evidence-storing system based on intelligent contract mode
CN110365488B (en) Authentication method, device and system based on untrusted environment
CN113743939A (en) Identity authentication method, device and system based on block chain
Bellare et al. Deterring certificate subversion: efficient double-authentication-preventing signatures
CN114691669A (en) Electronic certificate storage method and device, electronic equipment and storage medium
CN114745122A (en) Power dispatching instruction and digital watermarking uplink method, system, device and medium
DE102008055076A1 (en) Device and method for protecting data, computer program, computer program product
CN113722767B (en) Data integrity verification method, system, storage medium and computing equipment
CN102270285B (en) Key authorization information management method and device
CN110545170A (en) Block chain consensus method, device and equipment based on password drawing
CN113591103A (en) Identity authentication method and system between intelligent terminals of power internet of things
CN112381634A (en) Tax statistics and settlement method, device, equipment and storage medium
CN111245594A (en) Homomorphic operation-based collaborative signature method and system
CN115174037B (en) Construction method and device of chameleon hash function based on SM9 signature
CN114092092B (en) Decentralized digital certificate management system based on threshold signature and use method
CN110851804A (en) Alliance chain identity authentication method based on electronic contract
WO2023016729A1 (en) Generating digital signature shares
CN112751675B (en) Information monitoring method, system, equipment and storage medium based on block chain
CN113779147B (en) Data uplink and utilization method, device, equipment and readable storage medium
CN110830265A (en) Certificateless mixed secret signature communication method
CN115473634B (en) Improved method and device for generating linkable ring signature
CN115619947B (en) Three-dimensional modeling cooperation method and system based on blockchain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination