CN115292291A - Block chain-based power big data exchange method and system - Google Patents

Block chain-based power big data exchange method and system Download PDF

Info

Publication number
CN115292291A
CN115292291A CN202210997244.6A CN202210997244A CN115292291A CN 115292291 A CN115292291 A CN 115292291A CN 202210997244 A CN202210997244 A CN 202210997244A CN 115292291 A CN115292291 A CN 115292291A
Authority
CN
China
Prior art keywords
data
standard
transaction
data exchange
electric power
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
CN202210997244.6A
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.)
Guizhou Power Grid Co Ltd
Original Assignee
Guizhou Power Grid 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 Guizhou Power Grid Co Ltd filed Critical Guizhou Power Grid Co Ltd
Priority to CN202210997244.6A priority Critical patent/CN115292291A/en
Publication of CN115292291A publication Critical patent/CN115292291A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • 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/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The invention is applicable to the technical field of electric digital data processing, and particularly relates to a block chain-based electric power big data exchange method and system, wherein the method comprises the following steps: acquiring large electric power data needing to be exchanged; establishing a data exchange standard, and carrying out standardization processing on the big electric power data based on the data exchange standard to obtain a standard data packet; generating transaction code data according to the electric power big data and the standard data packet; and publishing the standard data packet in a block chain, encrypting the transaction code data, and sending a key corresponding to the corresponding transaction code data to each party of the transaction according to the transaction content. The invention determines the change between the data based on the codes, thereby obtaining the transaction code data, and only exchanges the transaction code data when in transaction, so that each trader can obtain the original big electric power data according to the transaction code data and the data exchange standard, thereby greatly reducing the transmission quantity of the data and improving the data transmission efficiency.

Description

Block chain-based power big data exchange method and system
Technical Field
The invention belongs to the technical field of electric digital data processing, and particularly relates to a block chain-based electric power big data exchange method and system.
Background
The block chain is a chain formed by blocks. Each block holds certain information, which are linked in a chain according to a respective generated time sequence. This chain is maintained in all servers, and as long as one server can work in the entire system, the entire blockchain is secure.
The big electric data mainly come from electricity generation, transmission, transformation, distribution, power utilization and scheduling links of electric power production and electric energy use, and can be roughly divided into three types: firstly, detecting or monitoring data of power grid operation and equipment; marketing data of the power enterprise, such as transaction electricity price, electricity selling quantity, electricity utilization customers and the like; and thirdly, managing data of the power enterprise.
In the current power big data exchange method, an index is established for power big data, so that the time for data retrieval is reduced through the index, and when the power big data exchange is performed, a large amount of data migration is required, wherein a large amount of repeated data exists, and the efficiency of data exchange is affected.
Disclosure of Invention
The embodiment of the invention aims to provide a block chain-based electric big data exchange method, and aims to solve the problem that a large amount of data migration is needed when electric big data exchange is carried out, wherein a large amount of repeated data is contained, and the efficiency of data exchange is influenced.
The embodiment of the invention is realized in such a way that a block chain-based power big data exchange method comprises the following steps:
acquiring large electric power data needing to be exchanged;
establishing a data exchange standard, and carrying out standardization processing on the big electric power data based on the data exchange standard to obtain a standard data packet;
generating transaction code data according to the electric power big data and the standard data packet;
and publishing the standard data packet in a block chain, encrypting the transaction code data, and sending a key corresponding to the corresponding transaction code data to each party of the transaction according to the transaction content.
Preferably, the step of constructing a data exchange standard, and performing standardization processing on the big power data based on the data exchange standard to obtain a standard data packet specifically includes:
constructing a power equipment database, wherein the power equipment database stores the models of all power equipment and parameters of operation under different working conditions;
reading the model corresponding to each power device and the parameters running under different working conditions, and determining a data exchange standard;
and carrying out data decomposition on the big electric power data according to a data exchange standard to obtain a standard data packet, wherein the standard data packet stores unique codes corresponding to parameters under each working condition, and the unique codes of the equipment with the same model are continuously numbered.
Preferably, the step of generating transaction code data according to the power big data and the standard data packet specifically includes:
classifying the data according to the equipment model contained in the electric power big data to obtain model classification data;
inquiring a standard data packet, identifying the data of the equipment corresponding to each model, and determining a corresponding unique code;
and comparing the unique numbers corresponding to the two adjacent groups of data to generate transaction code data.
Preferably, the step of publishing the standard data packet to the blockchain and performing encryption processing on the transaction code data specifically includes:
publishing a standard data packet to a blockchain, wherein the data exchange standard is not encrypted;
randomly selecting a group of data in a data exchange standard, and converting the group of data into binary codes;
intercepting the binary code with the preset length to obtain a code segment, and calling a corresponding encryption algorithm from the encryption algorithm database according to the code segment to encrypt the transaction code data.
Preferably, after the key is successfully transmitted, feedback information from each transaction party is received.
Preferably, the key is retransmitted if no feedback information is received after a preset time period.
Another object of an embodiment of the present invention is to provide a power big data exchange system based on a block chain, where the system includes:
the data acquisition module is used for acquiring the electric power big data needing to be exchanged;
the standardization processing module is used for constructing a data exchange standard and carrying out standardization processing on the electric power big data based on the data exchange standard to obtain a standard data packet;
the data generation module is used for generating transaction code data according to the electric power big data and the standard data packet;
and the data transaction module is used for publishing the standard data packet to the block chain, encrypting the transaction code data and sending a key corresponding to the corresponding transaction code data to each transaction party according to the transaction content.
Preferably, the normalization processing module includes:
the system comprises a database construction unit, a database management unit and a database management unit, wherein the database construction unit is used for constructing a power equipment database, and the power equipment database stores the models of all power equipment and parameters running under different working conditions;
the standard formulation module is used for reading the model corresponding to each power device and the parameters running under different working conditions and determining a data exchange standard;
and the data decomposition unit is used for carrying out data decomposition on the large electric power data according to a data exchange standard to obtain a standard data packet, unique codes corresponding to parameters under each working condition are stored in the standard data packet, and the unique codes of the equipment with the same model are continuously numbered.
Preferably, the data generating module includes:
the data classification unit is used for classifying the data according to the equipment model contained in the electric power big data to obtain model classification data;
the data identification unit is used for inquiring the standard data packet, identifying the data of the equipment corresponding to each model and determining the corresponding unique code;
and the number comparison unit is used for comparing the unique numbers corresponding to the two adjacent groups of data to generate transaction code data.
Preferably, the data transaction module includes:
the data publishing unit is used for publishing a standard data packet to the block chain, and the data exchange standard is not encrypted;
the data conversion unit is used for randomly selecting a group of data in the data exchange standard and converting the group of data into binary codes;
and the encryption algorithm calling unit is used for intercepting the binary code with the preset length to obtain a code segment, and calling a corresponding encryption algorithm from the encryption algorithm database according to the code segment to encrypt the transaction code data.
According to the block chain-based electric power big data exchange method provided by the embodiment of the invention, all data are represented by codes by standardizing electric power big data, meanwhile, the change between the data is determined based on the codes, so that transaction code data is obtained, and only the transaction code data is exchanged when transaction is carried out, so that all traders can obtain original electric power big data according to the transaction code data and the data exchange standard, the transmission quantity of the data is greatly reduced, and the data transmission efficiency is improved.
Drawings
Fig. 1 is a flowchart of a method for exchanging power big data based on a block chain according to an embodiment of the present invention;
fig. 2 is a flowchart of a step of constructing a data exchange standard, and performing standardized processing on big power data based on the data exchange standard to obtain a standard data packet according to an embodiment of the present invention;
FIG. 3 is a flowchart of the steps provided in an embodiment of the present invention to generate transaction code data from power big data and standard data packets;
FIG. 4 is a flowchart of steps provided in an embodiment of the present invention for publishing a standard data packet to a blockchain and encrypting transaction code data;
fig. 5 is an architecture diagram of a power big data exchange system based on a block chain according to an embodiment of the present invention;
FIG. 6 is a block diagram of a standardized processing module according to an embodiment of the present invention;
FIG. 7 is an architecture diagram of a data generation module according to an embodiment of the present invention;
fig. 8 is an architecture diagram of a data transaction module according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements should not be limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present application.
The big electric data mainly come from various links of power generation, power transmission, power transformation, power distribution, power utilization and scheduling of electric power production and electric energy use, and can be roughly divided into three types: firstly, detecting or monitoring data of power grid operation and equipment; marketing data of the power enterprise, such as trade price, electricity selling quantity, electricity utilization customers and the like; and thirdly, managing data of the power enterprise. In the current power big data exchange method, an index is established for power big data, so that the time for data retrieval is reduced through the index, and when the power big data exchange is performed, a large amount of data migration is required, wherein a large amount of repeated data exists, and the efficiency of data exchange is affected.
According to the invention, all data are represented by codes through standardization processing of the big electric power data, and meanwhile, the change among the data is determined based on the codes, so that the transaction code data is obtained.
As shown in fig. 1, a flowchart of a block chain-based power big data exchange method provided in an embodiment of the present invention is shown, where the method includes:
and S100, acquiring the electric power big data needing to be exchanged.
In this step, the big power data that needs to be exchanged is obtained, and for both parties that need to exchange data, the big power data includes a data supplier and a data demander, where the data supplier uploads the data that needs to be exchanged, so as to obtain the big power data, and the big power data includes various types of data, such as parameter data corresponding to different power generation devices, such as power generation power, power generation time, device models, and so on.
S200, establishing a data exchange standard, and carrying out standardization processing on the electric power big data based on the data exchange standard to obtain a standard data packet.
In this step, a data exchange standard is constructed, in order to reduce the number of data processing, all data need to be standardized, for one device, each model has corresponding operating parameters, and under different working conditions, the changes of the operating parameters are consistent, that is, the operating parameters of the device corresponding to each model are determined, the changes of the operating parameters corresponding to all the working conditions are counted, for example, a model device has 10 working conditions, each working condition has independent operating parameters, that is, the working condition data corresponding to the model is determined to be obtained, the working conditions corresponding to all the model devices and the corresponding data are counted, that is, the working condition data of all the devices can be determined, and the working condition data form a standard data packet.
And S300, generating transaction code data according to the electric power big data and the standard data packet.
In this step, a standard data packet is parsed, the standard data packet includes all operating states of all devices, and a corresponding unique code is set for a parameter under each operating condition, which means that all data can be represented by the unique code, and the conversion between operating conditions can be characterized by the change of the unique code, so that the power big data is gradually converted into a transaction code characterized by the unique code according to the power big data serving as original data and the standard data packet serving as a reference, and the data to be exchanged is sent to a corresponding transaction party in the form of the transaction code.
S400, publishing the standard data packet in the block chain, encrypting the transaction code data, and sending a key corresponding to the corresponding transaction code data to each transaction party according to the transaction content.
In the step, a standard data packet is published in a block chain, the standard data packet includes data under various working conditions corresponding to all equipment models and corresponding unique numbers, the standard data packet can be obtained from the block chain after a transaction party obtains corresponding transaction code data, the standard data packet is recovered according to the transaction code data to obtain electric power big data, in order to ensure the safety of the data, the transaction code data is encrypted to prevent the electric power big data from being leaked due to stealing, the transaction code data is sent to the corresponding transaction party after being encrypted, then a key corresponding to the corresponding transaction code data is sent to the corresponding transaction party, the transaction party decrypts the transaction code data according to the key, and then the electric power big data is recovered according to the decrypted transaction code data.
As shown in fig. 2, as a preferred embodiment of the present invention, the step of constructing a data exchange standard, and performing standardization processing on the big power data based on the data exchange standard to obtain a standard data packet specifically includes:
s201, constructing a power equipment database, wherein the model of all power equipment and the parameters of the power equipment running under different working conditions are stored in the power equipment database.
In this step, an electrical equipment database is constructed, and data stored in the electrical equipment database are all provided by each transaction party, for example, a data provider provides equipment information and various parameters of the equipment during operation, and all the data are stored in the electrical equipment database, such as a power change curve, a voltage change curve and a current change curve under different loads.
And S202, reading the model corresponding to each power device and the parameters running under different working conditions, and determining a data exchange standard.
In the step, the model corresponding to each power device and the parameters of operation under different working conditions are read, in the process, all data corresponding to each power device are read one by one, the curve is divided according to the working curve under the corresponding working condition, taking voltage as an example, the power and current under different voltages are taken as the parameters under the working condition, so that the accurate parameters are used for each working condition, the finer the division of the working conditions is, the more the number of the obtained working conditions is, and the more the data used for exchanging is.
And S203, carrying out data decomposition on the big electric power data according to a data exchange standard to obtain a standard data packet, wherein the standard data packet stores unique codes corresponding to parameters under each working condition, and the unique codes of the equipment with the same model are continuously numbered.
In the step, data decomposition is carried out on the big electric power data according to a data exchange standard, so that the equipment model contained in the big electric power data is determined, parameters under corresponding working conditions are called according to the data exchange standard, a group of unique codes are set for each working condition corresponding to each equipment model, when the codes are determined, the equipment model is used as a prefix, if the equipment of the A0003 model has 20 working conditions, the corresponding unique codes are A000301, A000302, A000303 \8230, \8230, and A000320, and after the working conditions of the equipment of all models are coded, a standard data packet is obtained.
As shown in fig. 3, as a preferred embodiment of the present invention, the step of generating transaction code data according to the power big data and the standard data packet specifically includes:
s301, classifying the data according to the equipment model contained in the electric power big data to obtain model classification data.
In this step, the data is classified according to the device types contained in the big electric power data, and the unique codes can be classified through classification due to different prefixes of the unique codes corresponding to different device types.
S302, inquiring the standard data packet, identifying the data of the equipment corresponding to each model, and determining the corresponding unique code.
In this step, a standard data packet is queried, and a unique code corresponding to each working condition of each device is recorded in the standard data packet, so that the unique code corresponding to each group of power big data can be determined by decomposing the power big data, for example, the power big data contains values of current and voltage at different moments, and the standard data packet is queried accordingly to determine a corresponding unique code.
And S303, comparing the unique numbers corresponding to the two adjacent groups of data to generate transaction code data.
In this step, comparing the unique numbers corresponding to two adjacent sets of data, as the consecutive numbering is performed during the numbering, the switching between the operating modes will result in a change of the unique number, if the unique code corresponding to a certain model of equipment at the current time is a000301, and the unique code corresponding to the next time is a000303, then the unique code a000303 does not need to be completely recorded, and a000301 is subtracted from the number of a000303 to obtain 2, and for convenience of determining the change order of the unique code, the added number is attached with "+", that is, i.e., +2, then a series of operating mode changes may be represented by "+" - "and a difference in number, if the unique codes corresponding to a series of operating modes are a000301, a000309, a000305, a000316, and a000320, then the transaction code is a000301+8-4, and after all the equipment is counted, the transaction code data may be obtained.
As shown in fig. 4, as a preferred embodiment of the present invention, the step of publishing the standard data packet to the blockchain and encrypting the transaction code data specifically includes:
s401, publishing the standard data packet to the block chain, wherein the data exchange standard is not encrypted.
In this step, the standard data packet is published in the block chain, and since the standard data packet includes the working conditions corresponding to all types of devices and the corresponding unique codes, when data exchange is performed, each trader only obtains a series of transaction codes, so that corresponding data needs to be recovered according to the standard data packet, and the data exchange standard is not encrypted, so that each trader can conveniently extract and use the data.
S402, randomly selecting a group of data in the data exchange standard, and converting the group of data into binary codes.
In this step, a set of data in the data exchange standard is randomly selected, specifically, the data exchange standard is represented by 16, and 5 characters contained in the data exchange standard are randomly selected and converted into binary codes.
And S403, intercepting the binary code with the preset length to obtain a code segment, and calling a corresponding encryption algorithm from the encryption algorithm database according to the code segment to encrypt the transaction code data.
In this step, intercepting the binary code with preset length, for example intercepting the four-digit binary code, to determine a group of decimal digits, querying an encryption algorithm database according to the digits, calling a corresponding encryption algorithm to encrypt the transaction code data, wherein the encryption algorithm database not only contains the encryption algorithm, but also contains a corresponding key for decryption; after the secret key is successfully sent, feedback information from each transaction party is received; and if the feedback information is not received after the preset time length is exceeded, the secret key is retransmitted.
As shown in fig. 5, a block chain-based power big data exchange system provided for an embodiment of the present invention includes:
the data acquisition module 100 is configured to acquire the big power data that needs to be exchanged.
In the system, a data obtaining module 100 obtains big electric data to be exchanged, and for both parties performing data exchange, the data providing party and the data requiring party are included, wherein the data providing party uploads the data to be exchanged to obtain the big electric data, and the big electric data includes various data, such as parameter data corresponding to different power generation devices, such as power generation power, power generation time, device models, and the like.
And the standardization processing module 200 is used for constructing a data exchange standard and standardizing the electric power big data based on the data exchange standard to obtain a standard data packet.
In the system, the standardization processing module 200 constructs a data exchange standard, and in order to reduce the number of data processing, it is necessary to standardize all data, and for an apparatus, each model has corresponding operating parameters, and under different working conditions, the variation of the operating parameters is consistent, that is, the operating parameters of the apparatus corresponding to each model are determined, the variation of the operating parameters corresponding to all the working conditions is counted, for example, an a model apparatus has 10 working conditions, and each working condition has independent operating parameters, that is, it is determined that there is working condition data corresponding to the model, and the working conditions and corresponding data corresponding to all the models of apparatus are counted, that is, it is possible to determine the working condition data of all the apparatuses, and the above working condition data constitute a standard data packet.
And the data generation module 300 is used for generating transaction code data according to the electric power big data and the standard data packet.
In the system, the data generation module 300 analyzes a standard data packet, the standard data packet includes all the operating states of all the devices, and a corresponding unique code is set for the parameter under each working condition, which means that all the data can be represented by the unique code, and the conversion between the working conditions can be characterized by the change of the unique code, so that the power big data is used as the original data, the standard data packet is used as the reference, the power big data is gradually converted into the transaction code characterized by the unique code, and the data to be exchanged is sent to the corresponding transaction party in the form of the transaction code.
The data transaction module 400 is configured to publish the standard data packet in the block chain, encrypt the transaction code data, and send a key corresponding to the transaction code data to each transaction party according to the transaction content.
In the system, a data transaction module 400 publishes a standard data packet in a block chain, wherein the standard data packet contains data under various working conditions corresponding to all equipment models and corresponding unique numbers, after a transaction party obtains corresponding transaction code data, the standard data packet can be obtained from the block chain, and is recovered according to the transaction code data to obtain electric power big data.
As shown in fig. 6, as a preferred embodiment of the present invention, the normalization processing module 200 includes:
the database building unit 201 is configured to build an electrical device database, where models of all electrical devices and parameters of the electrical devices operating under different working conditions are stored in the electrical device database.
In this module, the database building unit 201 builds a power device database, where the data stored in the power device database are provided by each transaction party, for example, the data provider provides device information and various parameters of the device during operation, and all the data are stored in the power device database, such as a power change curve, a voltage change curve and a current change curve under different loads.
And the standard establishing module 202 is configured to read the model corresponding to each power device and the parameters of operation under different working conditions, and determine a data exchange standard.
In this module, the standard setting module 202 reads the model corresponding to each power device and the parameters of operation under different working conditions, in this process, all data corresponding to each power device are read one by one, the curves are divided according to the working curves under the corresponding working conditions, taking voltage as an example, the power and current under different voltages are taken as the parameters under the working conditions, so that each working condition is accurately defined by the parameters, the finer the division of the working conditions is, the more the number of the obtained working conditions is, and the more the data used for exchanging is, the more the accuracy is.
And the data decomposition unit 203 is configured to perform data decomposition on the large electric power data according to a data exchange standard to obtain a standard data packet, where the standard data packet stores unique codes corresponding to parameters under each working condition, and the unique codes of devices of the same model are numbered consecutively.
In the module, the data decomposition unit 203 performs data decomposition on the electric power big data according to a data exchange standard, so as to determine the device model included in the electric power big data, so as to invoke parameters under corresponding working conditions according to the data exchange standard, set a group of unique codes for each working condition corresponding to each device model, and when determining the codes, use the device model as a prefix, if the device of the a0003 model has 20 middle working conditions, then the corresponding unique codes are a000301, a000302, a000303 \8230, \8230, and a000320, and after encoding the working conditions of the devices of all models, a standard data packet is obtained.
As shown in fig. 7, as a preferred embodiment of the present invention, the data generating module 300 includes:
the data classification unit 301 is configured to classify data according to the device model included in the power big data to obtain model classification data.
In this module, the data classification unit 301 classifies the data according to the device model included in the power big data, and since prefixes of unique codes corresponding to different device models are different, classification of the unique codes can be completed through classification.
The data identification unit 302 is configured to query the standard data packet, identify the data of the device corresponding to each model, and determine a corresponding unique code.
In this module, the data identification unit 302 queries a standard data packet, and records a unique code corresponding to each operating condition of each device in the standard data packet, so that the unique code corresponding to each group of power big data can be determined by decomposing the power big data, for example, the power big data contains values of current and voltage at different times, and the standard data packet is queried accordingly to determine a corresponding unique code.
And the number comparison unit 303 is used for comparing the unique numbers corresponding to the two adjacent groups of data to generate transaction code data.
In this module, the number comparison unit 303 compares unique numbers corresponding to two adjacent sets of data, and since consecutive numbering is performed during numbering, switching between operating conditions will cause a change in the unique number, and if the unique code corresponding to the current time of a certain model of equipment is a000301, and the unique code corresponding to the next time is a000303, then it is not necessary to completely record the unique code a000303, and a000301 is subtracted from the number of a000303 to obtain 2, and for convenience of determining the change order of the unique code, the increased number is attached with "+", that is, +2, and then a series of operating condition changes can be represented by "+" - "and a difference in number, if the unique codes corresponding to a series of operating conditions are a000301, a000309, a000305, a000316, and a000320, then the transaction code is a000301+8-4+11, and after all the equipment is counted, the transaction code data can be obtained.
As shown in fig. 8, as a preferred embodiment of the present invention, the data transaction module 400 includes:
a data publishing unit 401, configured to publish the standard data packet to the blockchain, where the data exchange standard is not encrypted.
In this module, the data publishing unit 401 publishes the standard data packet in the block chain, and since the standard data packet includes the working conditions corresponding to all types of devices and the corresponding unique codes, when data exchange is performed, each transactor obtains only a series of transaction codes, so that corresponding data needs to be recovered according to the standard data packet, and the data exchange standard is not encrypted, so that each transactor can extract and use the data conveniently.
A data conversion unit 402, configured to randomly select a set of data in the data exchange standard, and convert the set of data into a binary code.
In this module, the data conversion unit 402 randomly selects a set of data in the data exchange standard, specifically, the data exchange standard is represented by 16 systems, and randomly selects 5 characters contained therein, and converts the characters into binary codes.
The encryption algorithm retrieving unit 403 is configured to intercept a binary code with a preset length to obtain a code segment, and retrieve a corresponding encryption algorithm from the encryption algorithm database according to the code segment to encrypt the transaction code data.
In this module, the encryption algorithm retrieving unit 403 intercepts a binary code of a preset length, for example, intercepts a four-digit binary code to determine a set of decimal digits, queries an encryption algorithm database according to the decimal digits, retrieves a corresponding encryption algorithm to encrypt the transaction code data, where the encryption algorithm database not only contains the encryption algorithm, but also contains a corresponding key for decryption; after the secret key is successfully sent, feedback information from each transaction party is received; and if the feedback information is not received after the preset time length is exceeded, the secret key is retransmitted.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
The above description is intended to be illustrative of the preferred embodiment of the present invention and should not be taken as limiting the invention, but rather, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (10)

1. A method for exchanging power big data based on a block chain is characterized by comprising the following steps:
acquiring large electric power data needing to be exchanged;
establishing a data exchange standard, and carrying out standardization processing on the big electric power data based on the data exchange standard to obtain a standard data packet;
generating transaction code data according to the electric power big data and the standard data packet;
and publishing the standard data packet in a block chain, encrypting the transaction code data, and sending a key corresponding to the corresponding transaction code data to each party of the transaction according to the transaction content.
2. The block chain-based power big data exchange method according to claim 1, wherein the step of constructing a data exchange standard and standardizing power big data based on the data exchange standard to obtain a standard data packet specifically includes:
constructing a power equipment database, wherein the power equipment database stores the models of all power equipment and parameters of operation under different working conditions;
reading the model corresponding to each power device and the parameters running under different working conditions, and determining a data exchange standard;
and carrying out data decomposition on the big electric power data according to a data exchange standard to obtain a standard data packet, wherein the standard data packet stores unique codes corresponding to parameters under each working condition, and the unique codes of the equipment with the same model are continuously numbered.
3. The blockchain-based power big data exchange method according to claim 1, wherein the step of generating the transaction code data according to the power big data and the standard data packet specifically includes:
classifying the data according to the equipment model contained in the electric power big data to obtain model classification data;
inquiring a standard data packet, identifying the data of the equipment corresponding to each model, and determining a corresponding unique code;
and comparing the unique numbers corresponding to the two adjacent groups of data to generate transaction code data.
4. The blockchain-based power big data exchange method according to claim 1, wherein the step of publishing the standard data packet to the blockchain and performing encryption processing on the transaction code data specifically includes:
publishing a standard data packet to a blockchain, wherein the data exchange standard is not encrypted;
randomly selecting a group of data in a data exchange standard, and converting the group of data into binary codes;
intercepting binary codes with preset lengths to obtain code segments, and calling corresponding encryption algorithms from the encryption algorithm database according to the code segments to encrypt transaction code data.
5. The blockchain-based power big data exchange method according to claim 1, wherein after the key is successfully transmitted, feedback information from each transaction party is received.
6. The blockchain-based power big data exchange method according to claim 5, wherein if the feedback information is not received for more than a preset time period, the key is retransmitted.
7. A power big data exchange system based on a block chain is characterized in that the system comprises:
the data acquisition module is used for acquiring the electric power big data needing to be exchanged;
the standardization processing module is used for constructing a data exchange standard and carrying out standardization processing on the electric power big data based on the data exchange standard to obtain a standard data packet;
the data generation module is used for generating transaction code data according to the electric power big data and the standard data packet;
and the data transaction module is used for publishing the standard data packet to the block chain, encrypting the transaction code data and sending a key corresponding to the corresponding transaction code data to each party of the transaction according to the transaction content.
8. The blockchain-based power big data exchange system according to claim 7, wherein the standardization processing module includes:
the system comprises a database construction unit, a database management unit and a database management unit, wherein the database construction unit is used for constructing a power equipment database, and the power equipment database stores the models of all power equipment and parameters running under different working conditions;
the standard formulation module is used for reading the model corresponding to each power device and the parameters running under different working conditions and determining a data exchange standard;
and the data decomposition unit is used for performing data decomposition on the electric power big data according to a data exchange standard to obtain a standard data packet, wherein the standard data packet stores unique codes corresponding to parameters under each working condition, and the unique codes of the equipment with the same model are continuously numbered.
9. The blockchain-based power big data exchange system according to claim 7, wherein the data generation module includes:
the data classification unit is used for classifying the data according to the equipment model contained in the electric power big data to obtain model classification data;
the data identification unit is used for inquiring the standard data packet, identifying the data of the equipment corresponding to each model and determining the corresponding unique code;
and the number comparison unit is used for comparing the unique numbers corresponding to the two adjacent groups of data to generate transaction code data.
10. The blockchain-based power big data exchange system according to claim 7, wherein the data transaction module includes:
the data publishing unit is used for publishing a standard data packet to the block chain, and the data exchange standard is not encrypted;
the data conversion unit is used for randomly selecting a group of data in the data exchange standard and converting the data into binary codes;
and the encryption algorithm calling unit is used for intercepting the binary code with the preset length to obtain a code segment, and calling a corresponding encryption algorithm from the encryption algorithm database according to the code segment to encrypt the transaction code data.
CN202210997244.6A 2022-08-19 2022-08-19 Block chain-based power big data exchange method and system Pending CN115292291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210997244.6A CN115292291A (en) 2022-08-19 2022-08-19 Block chain-based power big data exchange method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210997244.6A CN115292291A (en) 2022-08-19 2022-08-19 Block chain-based power big data exchange method and system

Publications (1)

Publication Number Publication Date
CN115292291A true CN115292291A (en) 2022-11-04

Family

ID=83829234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210997244.6A Pending CN115292291A (en) 2022-08-19 2022-08-19 Block chain-based power big data exchange method and system

Country Status (1)

Country Link
CN (1) CN115292291A (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676934A (en) * 2008-09-17 2010-03-24 北京正辰科技发展有限责任公司 Code standardized management system
WO2013037516A1 (en) * 2011-09-15 2013-03-21 Rwe Ag Method and device for assigning a measured value recorded by a charging station to a transaction
CN105069546A (en) * 2015-07-15 2015-11-18 国网天津市电力公司 Multi-service cost budget requirement data processing method for electric power enterprise
US20180219964A1 (en) * 2017-01-30 2018-08-02 Dell Products, L.P. Method and system to convert globally unique identifiers to electronic data interchange document identifiers
CN108965384A (en) * 2018-06-04 2018-12-07 温州市图盛科技有限公司 A kind of electricity transaction management-control method and device based on block chain
CN110827168A (en) * 2019-09-26 2020-02-21 国网山东省电力公司菏泽供电公司 Electric quantity data processing method based on block chain and electronic equipment
CN111105310A (en) * 2019-12-25 2020-05-05 北京科东电力控制系统有限责任公司 Distributed power generation transaction system and method
CN111209585A (en) * 2020-02-11 2020-05-29 广州电力交易中心有限责任公司 Data processing method and system based on electric power transaction
CN111459461A (en) * 2020-04-24 2020-07-28 上海积成能源科技有限公司 Energy use right verification and transaction system and method based on Internet of things and block chain technology
CN111489164A (en) * 2020-04-09 2020-08-04 国网电子商务有限公司 Electric power transaction method and device based on Internet of things identification and block chain and electronic equipment
CN112036886A (en) * 2020-09-17 2020-12-04 昆明电力交易中心有限责任公司 Block chain-based power big data exchange method and system
CN112818057A (en) * 2021-01-07 2021-05-18 杭州链城数字科技有限公司 Data exchange method and device based on block chain
CN113239401A (en) * 2021-06-03 2021-08-10 厦门理工学院 Big data analysis system and method based on power Internet of things and computer storage medium
CN113239402A (en) * 2021-06-03 2021-08-10 厦门理工学院 Power network data analysis method based on block chain and electronic equipment
CN113315753A (en) * 2021-04-25 2021-08-27 国网浙江省电力有限公司电力科学研究院 Block data credibility recovery method based on coding technology
CN113627626A (en) * 2021-07-23 2021-11-09 上海和数软件有限公司 Power equipment management system based on block chain
CN113887171A (en) * 2021-10-28 2022-01-04 西安热工研究院有限公司 Measuring point code standardization automatic conversion method for wind power generation system
CN114172722A (en) * 2021-12-06 2022-03-11 国网新疆电力有限公司信息通信公司 Power consumer access control method and system based on block chain intelligent contract

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676934A (en) * 2008-09-17 2010-03-24 北京正辰科技发展有限责任公司 Code standardized management system
WO2013037516A1 (en) * 2011-09-15 2013-03-21 Rwe Ag Method and device for assigning a measured value recorded by a charging station to a transaction
CN105069546A (en) * 2015-07-15 2015-11-18 国网天津市电力公司 Multi-service cost budget requirement data processing method for electric power enterprise
US20180219964A1 (en) * 2017-01-30 2018-08-02 Dell Products, L.P. Method and system to convert globally unique identifiers to electronic data interchange document identifiers
CN108965384A (en) * 2018-06-04 2018-12-07 温州市图盛科技有限公司 A kind of electricity transaction management-control method and device based on block chain
CN110827168A (en) * 2019-09-26 2020-02-21 国网山东省电力公司菏泽供电公司 Electric quantity data processing method based on block chain and electronic equipment
CN111105310A (en) * 2019-12-25 2020-05-05 北京科东电力控制系统有限责任公司 Distributed power generation transaction system and method
CN111209585A (en) * 2020-02-11 2020-05-29 广州电力交易中心有限责任公司 Data processing method and system based on electric power transaction
CN111489164A (en) * 2020-04-09 2020-08-04 国网电子商务有限公司 Electric power transaction method and device based on Internet of things identification and block chain and electronic equipment
CN111459461A (en) * 2020-04-24 2020-07-28 上海积成能源科技有限公司 Energy use right verification and transaction system and method based on Internet of things and block chain technology
CN112036886A (en) * 2020-09-17 2020-12-04 昆明电力交易中心有限责任公司 Block chain-based power big data exchange method and system
CN112818057A (en) * 2021-01-07 2021-05-18 杭州链城数字科技有限公司 Data exchange method and device based on block chain
CN113315753A (en) * 2021-04-25 2021-08-27 国网浙江省电力有限公司电力科学研究院 Block data credibility recovery method based on coding technology
CN113239401A (en) * 2021-06-03 2021-08-10 厦门理工学院 Big data analysis system and method based on power Internet of things and computer storage medium
CN113239402A (en) * 2021-06-03 2021-08-10 厦门理工学院 Power network data analysis method based on block chain and electronic equipment
CN113627626A (en) * 2021-07-23 2021-11-09 上海和数软件有限公司 Power equipment management system based on block chain
CN113887171A (en) * 2021-10-28 2022-01-04 西安热工研究院有限公司 Measuring point code standardization automatic conversion method for wind power generation system
CN114172722A (en) * 2021-12-06 2022-03-11 国网新疆电力有限公司信息通信公司 Power consumer access control method and system based on block chain intelligent contract

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨宗强;叶生;: "电气设备的编码管理与身份认证系统设计", 电气应用, no. 22, pages 98 - 114 *
柳焕章, 段献忠, 李银红, 刘天斌, 杨钢: "电力系统继电保护数据交换标准的探讨", 电力系统自动化, no. 07, pages 41 - 44 *

Similar Documents

Publication Publication Date Title
CN111756522A (en) Data processing method and system
CN116015766B (en) Data safety transmission system for computer
CN113286297A (en) Wireless data encryption transmission method and device, computer equipment and storage medium
CN114363412A (en) Message data processing method and device, computer equipment and storage medium
CN106204329A (en) A kind of intelligent grid load management system
CN102546185A (en) Data encrypting method and encrypted data transmitting device
CN115292291A (en) Block chain-based power big data exchange method and system
CN112528323A (en) Data processing method and device
CN114492491B (en) Data management system for NFC label application
CN116385028A (en) Carbon asset data management method, device and server
CN112949985B (en) Power grid engineering supervision method and device based on block chain and computer equipment
CN114172722B (en) Power user access control method and system based on blockchain intelligent contract
CN114244635B (en) Encryption type data coding method of communication equipment
CN111708795B (en) Object identification generation method, object identification updating device, computer equipment and medium
CN111414341B (en) Data normalization description method in Internet of things environment
Habtemariam et al. Privacy preserving predictive analytics with smart meters
CN112905573A (en) Mass power grid data management and storage system
CN112699182A (en) Engineering cost data management system
CN112053095A (en) Cargo monitoring method and device, computer equipment and storage medium
CN113572599B (en) Power data transmission method, data source equipment and data access equipment
CN115396241B (en) Data encryption method and data encryption system
CN117131464B (en) Availability evaluation method and system for power grid data
CN113779621B (en) Data sharing method based on block chain
CN112235100B (en) Electric energy meter soft encryption authentication method and remote authentication system thereof
Pinheiro et al. Trust-Oriented Protocol for Continuous Monitoring of Stored Files in Cloud

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20221104

RJ01 Rejection of invention patent application after publication