CN113518129B - Method and device for interconnection and sharing of electric power energy sources - Google Patents
Method and device for interconnection and sharing of electric power energy sources Download PDFInfo
- Publication number
- CN113518129B CN113518129B CN202110835687.0A CN202110835687A CN113518129B CN 113518129 B CN113518129 B CN 113518129B CN 202110835687 A CN202110835687 A CN 202110835687A CN 113518129 B CN113518129 B CN 113518129B
- Authority
- CN
- China
- Prior art keywords
- node
- target
- energy
- data
- sharing
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000013500 data storage Methods 0.000 claims description 37
- 238000012795 verification Methods 0.000 claims description 27
- 238000004422 calculation algorithm Methods 0.000 claims description 8
- 230000003993 interaction Effects 0.000 claims description 8
- 238000012545 processing Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 4
- 229910052799 carbon Inorganic materials 0.000 abstract description 5
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 238000003066 decision tree Methods 0.000 description 2
- 238000004146 energy storage Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 229920000049 Carbon (fiber) Polymers 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000004917 carbon fiber Substances 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000035699 permeability Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y10/00—Economic sectors
- G16Y10/35—Utilities, e.g. electricity, gas or water
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0442—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Medical Informatics (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a method and a device for interconnection and sharing of electric power energy, and when the method is applied to a server, the method comprises the following steps: determining a target energy node accessed to a target sharing architecture, wherein the target sharing architecture is a logic model architecture which is built in advance and is used for realizing data interconnection sharing; acquiring node equipment data of each target energy node, wherein the node equipment data comprises a node unique identifier; establishing a shared block chain by taking a node unique identifier of each target energy node as a chain head; and storing node equipment data of each target energy node into the shared block chain. The shared electric power energy interconnection data is formed through the characteristics of decentralization, safety and reliability of the block chain, so that the whole network unified management of data resources and the data interconnection sharing are realized, and the method has the advantages of safety, reliability, low carbon, high efficiency, visibility, controllability, digitization, openness and the like, and has high practical value and popularization value in the technical field of electric power data sharing.
Description
Technical Field
The embodiment of the application relates to the technical field of power data processing, in particular to a method and a device for interconnection and sharing of power energy sources.
Background
The electric power internet of things is a specific implementation form of the internet of things in the energy field, and surrounds each link of an electric power system, the mobile interconnection technology, the artificial intelligence technology and other modern information technology and advanced communication technology are fully applied, all-thing interconnection and man-machine interaction of each link of the electric power system are realized, and an intelligent service system with comprehensive state perception, high-efficiency information processing and convenient and flexible application characteristics is created.
In the related art, power resources are distributed in each scheduling area, and a centralized management mode is adopted to provide data access service for the areas through a master/slave server. Thus, there are some problems: 1. the visibility of the data resources is limited to a single scheduling area, the data resources cannot be uniformly managed in the whole network range, and the data resources are interconnected and shared; 2. the management efficiency of data resources in the whole network range is low, and the realization of cross-region data access needs to be reprocessed after receiving original data from a data source.
Disclosure of Invention
The application provides a method and a device for interconnecting and sharing electric power energy sources, which are used for solving the problems that the conventional electric power data resources cannot be uniformly managed and the data access efficiency is low.
In a first aspect, an embodiment of the present application provides a method for sharing electric power and energy, where the method is applied to a server, and the method includes:
determining a target energy node accessed to a target sharing architecture, wherein the target sharing architecture is a logic model architecture which is built in advance and is used for realizing data interconnection sharing;
acquiring node equipment data of each target energy node, wherein the node equipment data comprises a node unique identifier;
establishing a shared block chain by taking a node unique identifier of each target energy node as a chain head;
and storing node equipment data of each target energy node into the shared block chain.
Optionally, before the determining to access to the target energy node of the target sharing architecture, the method further comprises:
receiving an access request of an energy node for the target sharing architecture;
performing identity verification on the energy node;
and if the verification is passed, the energy node is accessed to the target sharing architecture according to the access request.
Optionally, the access request includes a node unique identifier obtained when the energy node is registered;
the step of performing identity verification on the energy node comprises the following steps:
searching node unique identifiers of the energy nodes in a preset configuration file, wherein the node unique identifiers of a plurality of white lists are recorded in the preset configuration file;
if the unique node identifier is found in the preset configuration file, the verification is judged to be passed.
Optionally, the establishing the shared blockchain by using the node unique identifier of each target energy node as a chain head includes:
and carrying out asymmetric encryption on the node unique identification of each target energy node, and establishing a shared blockchain by taking the node unique identification of each encrypted target energy node as a chain head.
Optionally, the target sharing architecture includes an interface display layer, a service access layer, a service logic layer, a data space BI layer, a data access layer, and a data storage layer sequentially arranged from top to bottom; wherein,,
the interface display layer is a bridge for communication between a user and a target energy node and is used for information display and man-machine interaction;
the service access layer is used for providing an API interface for service access and verifying;
the service layer is used for providing data processing of the functional module and comprises a plurality of micro services and basic service middleware;
the business logic layer is used for loading a functional module, and comprises all functional algorithms and calculation processes required by the energy nodes;
the BI layer is used for storing the current architecture;
the data access layer is used for writing data of the energy nodes;
the data storage layer is used for storing data.
In a second aspect, an embodiment of the present application provides a method for interconnection and sharing of electric power and energy, where the method is applied to an energy node, where the energy node is a node that has been accessed into a target sharing architecture, and the target sharing architecture is a pre-constructed logic model architecture for implementing data interconnection and sharing; the target sharing architecture includes a data storage layer; the method comprises the following steps:
reading target shared data from a shared blockchain, wherein the shared blockchain is established by taking node unique identifiers of all target energy nodes accessed to the target shared architecture as a chain head, and the shared blockchain is used for storing node equipment data of all target energy nodes;
and storing the target shared data into the data storage layer.
In a third aspect, an embodiment of the present application provides an apparatus for interconnection and sharing of electric power energy, where the apparatus is applied to a server, and the apparatus includes:
the target energy node determining module is used for determining a target energy node accessed to a target sharing architecture, wherein the target sharing architecture is a logic model architecture which is built in advance and used for realizing data interconnection sharing;
the device data acquisition module is used for acquiring node device data of each target energy node, wherein the node device data comprises a node unique identifier;
the block chain establishing module is used for establishing a shared block chain by taking the unique node identifier of each target energy node as a chain head;
and the block chain data storage module is used for storing the node equipment data of each target energy node into the shared block chain.
In a fourth aspect, an embodiment of the present application provides a device for interconnection and sharing of electric power and energy, where the device is applied to an energy node, where the energy node is a node that has been accessed into a target sharing architecture, and the target sharing architecture is a pre-constructed logic model architecture for implementing data interconnection and sharing; the target sharing architecture includes a data storage layer; the device comprises:
the shared data reading module is used for reading target shared data from a shared blockchain, wherein the shared blockchain is established by taking node unique identifiers of all target energy nodes accessed to the target shared architecture as a chain head, and the shared blockchain is used for storing node equipment data of all the target energy nodes;
and the shared data storage module is used for storing the target shared data into the data storage layer.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method described above when executing the program.
In a sixth aspect, embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the above-described method.
The application has the following beneficial effects:
in this embodiment, after the target sharing architecture is constructed and the target energy nodes accessed to the target sharing architecture are determined, node equipment data of each target energy node can be obtained, the node equipment data includes a node unique identifier, then the node unique identifier of each target energy node is used as a link head, a sharing block chain is established, and the node equipment data of each target energy node is stored in the sharing block chain, so that the security of the data is improved. The shared electric power energy interconnection data is formed through the characteristics of decentralization, safety and reliability of the block chain, so that the whole network unified management of data resources and the data interconnection sharing are realized, and the method has the advantages of safety, reliability, low carbon, high efficiency, visibility, controllability, digitization, openness and the like, and has high practical value and popularization value in the technical field of electric power data sharing.
Drawings
FIG. 1 is a flowchart of an embodiment of a method for sharing power energy interconnection according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a framework of a target sharing architecture according to a first embodiment of the present application;
FIG. 3 is a flowchart of an embodiment of a method for sharing power energy interconnection provided in a second embodiment of the present application;
fig. 4 is a block diagram of an embodiment of an apparatus for sharing electric power and energy interconnection according to the third embodiment of the present application;
fig. 5 is a block diagram of an embodiment of an apparatus for sharing electric power and energy interconnection according to a fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
With the development of power technology, realizing safe, reliable, low-carbon, efficient, visual, controllable, digital and open power energy interconnection sharing is a novel mode requirement. Wherein,,
safety refers to the construction of a strong local power grid, the wide deployment of distributed power supplies and energy storage, and the capability of supporting at least 10% of loads in areas when the local power grid fails or power consumption is limited.
The reliable construction of the high-reliability distribution network rack, the promotion of area protection, self-healing and low-voltage feeder automation, and the realization of the goal that the average power failure time of customers in the whole area is less than 5 minutes and the core area of high reliability is less than 2 minutes.
The low carbon is used for planning new photovoltaic increase and triple power supply, improving the clean energy permeability and realizing 100% consumption of the distributed clean energy electric quantity. And the electric energy replacement projects such as electromagnetic kitchens, electric automobiles, electric boilers, ice storage and the like are popularized and implemented, and the proportion of the electric energy to the consumption of the terminal is improved.
The high efficiency means the integrated energy centralized utilization, the intelligent scheduling and the optimized operation of the source-network-load-storage are realized, and the integrated energy utilization efficiency is optimal. The test point AC/DC distribution network, the full DC power utilization and the carbon fiber technology reduce the energy conversion times and the transmission loss.
Visual planning intelligent substation, intelligent power distribution station, popularization of new generation intelligent terminal, extension of core region fiber to distribution transformer, full coverage of low voltage 5G+ new generation carrier wave, data penetration to low voltage user, realization of considerable measurability of each voltage level.
Controllable means that the control range is widened, remote control including transformer substations, distributed energy sources, energy storage, interruptible loads and the like is realized, and the control level is improved.
The digitization refers to establishing a digital power grid model based on GIS and 3D modeling, constructing digital and intelligent application such as planning construction, scheduling, operation and maintenance, energy consumption, service and the like, and promoting demand side management.
The opening means that an open information platform is constructed, four-network fusion, multi-meter centralized reading and other applications are promoted, and the data sharing level is improved. The interaction of the multi-energy main body is promoted, the user is guided to participate in the response of the demand side, and the novel business mode is expanded.
In order to realize the interconnection sharing of electric power and energy, advanced technology can be integrated and applied, a safe, reliable, green, efficient, intelligent and open energy ecological system is constructed, the key technical direction of energy is led, an energy business mode and a service system are innovated, sharing and cooperation win-win is jointly built, the improvement of energy service quality and system efficiency is realized, and the business card of 'energy + digital + value' is created. In order to realize free interaction, intelligent coordination and deep fusion of 'energy, numbers and values' in the intelligent energy ecological system, new technologies and new modes in physical, information, application and other aspects need to be emphasized.
The scheme for realizing the interconnection and sharing of the electric power energy sources in the embodiment is described by the following embodiment:
example 1
Fig. 1 is a flowchart of an embodiment of a method for sharing electric power and energy interconnection, which is provided in an embodiment of the present application, and the embodiment may be applied to a server, and may include the following steps:
step 110, determining a target energy node accessing the target sharing architecture.
The target sharing architecture is a logic model architecture which is built in advance and used for realizing data interconnection sharing. In this embodiment, a target sharing architecture for each energy node may be pre-built. The energy node accessing the target sharing architecture may be referred to as a target energy node in this embodiment. The energy nodes may include, among other things, various power source nodes, such as, for example, energy producer nodes, energy provider nodes, energy consumer group nodes, energy server nodes, government agency nodes, and the like.
In one example, as shown in fig. 2, the target sharing architecture may include an interface presentation layer 10, a service access layer 20, a service layer 30, a business logic layer 40, a data space BI layer 50, a data access layer 60, and a data storage layer 70, which are arranged in order from top to bottom. Each target energy node accessing the target sharing architecture may include an interface presentation layer 10, a service access layer 20, a service layer 30, a business logic layer 40, a data space BI layer 50, a data access layer 60, and a data storage layer 70 arranged in sequence from top to bottom.
The interface presentation layer 10 is a bridge between a user (e.g., a user using a target energy node) and the energy node, and provides an interactive tool for the user on one hand, and also implements a certain logic for displaying and submitting data to coordinate the operation of the user and the system on the other hand. When the interface display layer is realized, interface display and interaction can be performed through a PC end, a mobile end or an applet page.
The service access layer 20 is used for providing an API interface for service access and performing authentication. In this embodiment, the energy node may request access to the target shared architecture through the service access layer.
The service layer 30 is used to provide data processing of the functional modules, corresponding to the role of an intermediate class, which provides another generic interface to allow the caller to use the method of interface exposure without concern for how architectural or underlying changes occur, the principle of the service layer being very similar to this except that it applies the factory schema to a higher level of abstraction. Further, the service layer may include various micro services and basic service middleware, where the micro services may include, for example, a message service, a log service, a search service, a configuration service, a picture service, an authentication service, a decision tree service, a task scheduling service, a to-do service, and the like. The basic service middleware may include service administration, streaming computing, message queuing, log management, monitoring and pre-warning, object storage OSS (Object Storage Service), rules engine, and the like.
The service logic layer 40 is used to load functional modules that contain all the functional algorithms and computational processes required by the energy node. In abstract terms, the business logic layer is the portion that handles business related operations, including a series of execution and data operations. In one example, business logic layers may include business logic such as user center, file center, personal notes, to-do center, log center, task center, report center, rights management center, advisory service, personal portal, and the like.
The data space BI layer 50 is used to store the current architecture.
The data access layer 60 is used for writing data of the energy nodes.
The data storage layer 70 is used for data storage, and the storage system used in the data storage layer in this embodiment is not limited, and may be, for example, an Oracle storage system, a MySQL storage system, a Redis storage system, a distributed file storage system, an ES storage system, or the like.
In one embodiment, the energy node may access the target sharing architecture by:
receiving an access request of an energy node for the target sharing architecture; performing identity verification on the energy node; and if the verification is passed, the energy node is accessed to the target sharing architecture according to the access request.
In this embodiment, when the energy node wants to access the target sharing architecture, an access request may be sent to the server, after the server receives the access request, the server may perform identity verification on the energy node that initiates the access request according to the access request, and if the identity verification passes, the energy node may be accessed into the target sharing architecture.
In one embodiment, the access request includes a node unique identification obtained upon registration of the energy node. The server may authenticate the energy node in the following manner:
searching node unique identifiers of the energy nodes in a preset configuration file, wherein the node unique identifiers of a plurality of white lists are recorded in the preset configuration file; if the unique node identifier is found in the preset configuration file, the verification is judged to be passed.
Specifically, if the energy node wants to access the target sharing architecture, the energy node needs to register first, after the registration, the energy node can obtain the node unique identifier generated by the server, and the server can compile or preset the node unique identifier according to the node information of the energy node.
The access request initiated by the energy node for accessing the target sharing architecture can comprise the node unique identifier, and after the server receives the access request, the server can obtain the corresponding node unique identifier by analyzing the access request. The server may then invoke a preset profile that may record the unique node identifiers of the plurality of whitelists. Then, the server can search the node unique identifier of the current energy node in the preset configuration file, and if the node unique identifier is found, the identity verification is passed; otherwise, if the unique node identifier cannot be found in the preset configuration file, the verification is not passed.
Step 120, node equipment data of each target energy node is obtained, wherein the node equipment data comprises a node unique identifier.
In one implementation, node device data corresponding to the target energy nodes may be obtained through the data access layer of each target energy node, and the node device data may be stored in the data storage layer of the corresponding target energy node. The server obtains node device data for each target energy node by accessing a data storage layer for that target energy node.
And 130, establishing a shared blockchain by taking the node unique identification of each target energy node as a chain head.
After the server obtains the node equipment data of each target energy node, the node unique identifier of the target energy node can be obtained from the node equipment data of the target energy node, and then a shared blockchain with the node unique identifier as a chain head is established.
In one embodiment, step 130 may further comprise the steps of:
and carrying out asymmetric encryption on the node unique identification of each target energy node, and establishing a shared blockchain by taking the node unique identification of each encrypted target energy node as a chain head.
Specifically, the server may encrypt the node unique identifier of each target energy node by using an asymmetric algorithm, and then establish a link header based on the encrypted node unique identifier to generate the shared blockchain. By carrying out asymmetric algorithm encryption on the unique node identifier, the safety and reliability of data uploading can be ensured.
And 140, storing node equipment data of each target energy node into the shared blockchain.
In one implementation, after obtaining the node device data of the target energy node, the node device data may be encrypted using a symmetric encryption algorithm, and then the symmetrically encrypted node device data is uploaded to the shared blockchain, thereby forming shared power energy interconnection data.
In this embodiment, after the target sharing architecture is constructed and the target energy nodes accessed to the target sharing architecture are determined, node equipment data of each target energy node can be obtained, the node equipment data includes a node unique identifier, then the node unique identifier of each target energy node is used as a link head, a sharing block chain is established, and the node equipment data of each target energy node is stored in the sharing block chain, so that the security of the data is improved. The shared electric power energy interconnection data is formed through the characteristics of decentralization, safety and reliability of the block chain, so that the whole network unified management of data resources and the data interconnection sharing are realized, and the method has the advantages of safety, reliability, low carbon, high efficiency, visibility, controllability, digitization, openness and the like, and has high practical value and popularization value in the technical field of electric power data sharing.
Example two
Fig. 3 is a flowchart of an embodiment of a method for power energy interconnection sharing according to a second embodiment of the present application, where the embodiment may be applied to an energy node, where the energy node is a node that has been accessed into a target sharing architecture, and the target sharing architecture is a pre-built logic model architecture for implementing data interconnection sharing.
In one example, the target sharing architecture may include an interface presentation layer, a service access layer, a service layer, a business logic layer, a data space BI layer, a data access layer, and a data storage layer arranged in order from top to bottom. Each energy node accessed to the target sharing architecture may include an interface presentation layer, a service access layer, a service logic layer, a data space BI layer, a data access layer, and a data storage layer arranged in sequence from top to bottom.
The interface presentation layer is a bridge for communication between a user (such as a user using a target energy node) and the system, and provides an interactive tool for the user on one hand, and realizes a certain logic for displaying and submitting data on the other hand so as to coordinate the operation of the user and the system. When the interface display layer is realized, interface display and interaction can be performed through a PC end, a mobile end or an applet page.
The service access layer is used for providing an API interface for service access and verifying. In this embodiment, the energy node may request access to the target shared architecture through the service access layer.
The service layer is used to provide data processing of the functional modules, corresponding to the role of an intermediate class, which provides another generic interface that allows the caller to use the method of interface exposure without concern for how architectural or underlying changes occur, and the principle of the service layer is very similar to this except that it applies the factory schema to a higher level of abstraction. Further, the service layer may include various micro services and basic service middleware, where the micro services may include, for example, a message service, a log service, a search service, a configuration service, a picture service, an authentication service, a decision tree service, a task scheduling service, a to-do service, and the like. The basic service middleware may include service administration, streaming computing, message queuing, log management, monitoring and pre-warning, object storage OSS (Object Storage Service), rules engine, and the like.
The business logic layer is used for loading functional modules, which contain all functional algorithms and calculation processes required by the system. In abstract terms, the business logic layer is the portion that handles business related operations, including a series of execution and data operations. In one example, business logic layers may include business logic such as user center, file center, personal notes, to-do center, log center, task center, report center, rights management center, advisory service, personal portal, and the like.
The BI layer is used for storing the current architecture.
The data access layer is used for writing data of the energy nodes.
The data storage layer is used for data storage, and the storage system used by the data storage layer in this embodiment is not limited, and may be, for example, an Oracle storage system, a MySQL storage system, a Redis storage system, a distributed file storage system, an ES storage system, and the like.
Based on the above access to the energy node in the target sharing architecture, the embodiment may include the following steps:
step 310, reading target shared data from a shared blockchain, wherein the shared blockchain is established by taking node unique identifiers of all target energy nodes accessed to the target shared architecture as a chain head, and the shared blockchain is used for storing node equipment data of all target energy nodes.
In this embodiment, when an energy node accesses a target shared architecture and after a shared blockchain has been established, the energy node may request access to the shared blockchain to read target shared data from the shared blockchain.
The shared blockchain is established by taking node unique identifiers of all target energy nodes accessed into the target sharing architecture as a chain head, and is used for storing node equipment data of all the target energy nodes. Reference may be made to the description of embodiment one for the establishment procedure of a shared blockchain.
In one embodiment, the energy node may be accessed into the target sharing architecture by:
sending an access request for accessing the target sharing architecture to a server; and accessing the target sharing architecture when receiving response information of the server for the access request.
In this embodiment, the energy node may send an access request for accessing the target sharing architecture to the server, and after receiving the access request, the server performs identity verification on the energy node, and after the verification passes, sends response information to the energy node. The energy node can access to the target sharing architecture according to the response information.
And 320, storing the target shared data into the data storage layer.
After the energy node reads the target shared data from the shared blockchain, the target shared data may be stored in a local data storage layer.
In this embodiment, the energy node reads the shared power energy interconnection data from the shared blockchain by accessing the target sharing architecture, so that the efficiency of data reading can be greatly improved.
Example III
Fig. 4 is a block diagram of an embodiment of an apparatus for sharing electric power and energy interconnection, which may be located in a server and may include the following modules:
the target energy node determining module 410 is configured to determine a target energy node that is accessed to a target sharing architecture, where the target sharing architecture is a pre-constructed logic model architecture for implementing data interconnection sharing;
the device data obtaining module 420 is configured to obtain node device data of each target energy node, where the node device data includes a node unique identifier;
the blockchain establishment module 430 is configured to establish a shared blockchain with a unique node identifier of each target energy node as a link header;
and the blockchain data storage module 440 is configured to store node device data of each target energy node into the shared blockchain.
In one embodiment, the apparatus may further comprise the following modules:
an access request receiving module, configured to receive an access request of an energy node for the target sharing architecture;
the identity verification module is used for carrying out identity verification on the energy node;
and the architecture access module is used for accessing the energy node into the target sharing architecture according to the access request if the verification is passed.
In one embodiment, the access request includes a node unique identifier obtained when the energy node is registered;
the identity verification module is specifically used for:
searching node unique identifiers of the energy nodes in a preset configuration file, wherein the node unique identifiers of a plurality of white lists are recorded in the preset configuration file;
if the unique node identifier is found in the preset configuration file, the verification is judged to be passed.
In one embodiment, the blockchain establishment module 430 is specifically configured to:
and carrying out asymmetric encryption on the node unique identification of each target energy node, and establishing a shared blockchain by taking the node unique identification of each encrypted target energy node as a chain head.
In one embodiment, the target sharing architecture includes an interface display layer, a service access layer, a service logic layer, a data space BI layer, a data access layer, and a data storage layer, which are sequentially arranged from top to bottom; wherein,,
the interface display layer is a bridge for communication between a user and a target energy node and is used for information display and man-machine interaction;
the service access layer is used for providing an API interface for service access and verifying;
the service layer is used for providing data processing of the functional module and comprises a plurality of micro services and basic service middleware;
the business logic layer is used for loading a functional module, and comprises all functional algorithms and calculation processes required by the energy nodes;
the BI layer is used for storing the current architecture;
the data access layer is used for writing data of the energy nodes;
the data storage layer is used for storing data.
It should be noted that the device for sharing electric power and energy interconnection provided by the embodiment of the present application may execute the method for sharing electric power and energy interconnection provided by the first embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 5 is a block diagram of an embodiment of an apparatus for interconnection and sharing of electric power and energy, where the apparatus may be located in an energy node, where the energy node is a node that has been accessed into a target sharing architecture, and the target sharing architecture is a pre-constructed logic model architecture for implementing data interconnection and sharing; the target sharing architecture includes a data storage layer; the embodiment may include the following modules:
a shared data reading module 510, configured to read target shared data from a shared blockchain, where the shared blockchain is established according to node unique identifiers of all target energy nodes accessed to the target shared architecture as a link header, and the shared blockchain is used to store node device data of each target energy node;
and a shared data storage module 520, configured to store the target shared data in the data storage layer.
In one embodiment, the apparatus may further comprise the following modules:
the architecture access module is used for sending an access request for accessing the target sharing architecture to the server; and accessing the target sharing architecture when receiving response information of the server for the access request.
It should be noted that the device for sharing electric power and energy interconnection provided by the embodiment of the present application may execute the method for sharing electric power and energy interconnection provided by the second embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application, as shown in fig. 6, the electronic device includes a processor 610, a memory 620, an input device 660 and an output device 640; the number of processors 610 in the electronic device may be one or more, one processor 610 being taken as an example in fig. 6; the processor 610, memory 620, input devices 660, and output devices 640 in the electronic device may be connected by a bus or other means, for example in fig. 6.
The memory 620 is a computer readable storage medium, and may be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the methods in the embodiments of the present application. The processor 610 performs various functional applications of the electronic device and data processing, i.e., implements the methods described above, by running software programs, instructions, and modules stored in the memory 620.
Memory 620 may include primarily a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for functionality; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 620 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 620 may further include memory remotely located relative to processor 610, which may be connected to the electronic device via a network.
The input device 660 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. The output device 640 may include a display device such as a display screen.
Example six
The sixth embodiment of the present application also provides a storage medium containing computer-executable instructions for performing the method of the first or second embodiment when executed by a processor of a server.
From the above description of embodiments, it will be clear to a person skilled in the art that the present application may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present application.
It should be noted that, in the embodiment of the apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, so long as the corresponding function can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present application.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the application, which is set forth in the following claims.
Claims (8)
1. A method for sharing electric power energy interconnection, wherein the method is applied to a server, and the method comprises the following steps:
determining a target energy node accessed to a target sharing architecture, wherein the target sharing architecture is a logic model architecture which is built in advance and is used for realizing data interconnection sharing;
acquiring node equipment data of each target energy node, wherein the node equipment data comprises a node unique identifier;
establishing a shared block chain by taking a node unique identifier of each target energy node as a chain head;
storing node equipment data of each target energy node into the shared block chain;
before the determining to access the target energy node of the target sharing architecture, the method further comprises:
receiving an access request of an energy node for the target sharing architecture;
performing identity verification on the energy node;
if the verification is passed, the energy node is accessed to the target sharing architecture according to the access request;
the access request comprises a node unique identifier obtained when the energy node is registered;
the step of performing identity verification on the energy node comprises the following steps:
searching node unique identifiers of the energy nodes in a preset configuration file, wherein the node unique identifiers of a plurality of white lists are recorded in the preset configuration file;
if the unique node identifier is found in the preset configuration file, the verification is judged to be passed.
2. The method of claim 1, wherein the establishing a shared blockchain with the node unique identification of each target energy node as a chain head comprises:
and carrying out asymmetric encryption on the node unique identification of each target energy node, and establishing a shared blockchain by taking the node unique identification of each encrypted target energy node as a chain head.
3. The method of claim 1, wherein the target sharing architecture comprises an interface presentation layer, a service access layer, a service layer, a business logic layer, a data space BI layer, a data access layer, and a data storage layer arranged in sequence from top to bottom; wherein,,
the interface display layer is a bridge for communication between a user and a target energy node and is used for information display and man-machine interaction;
the service access layer is used for providing an API interface for service access and verifying;
the service layer is used for providing data processing of the functional module and comprises a plurality of micro services and basic service middleware;
the business logic layer is used for loading a functional module, and comprises all functional algorithms and calculation processes required by the energy nodes;
the BI layer is used for storing the current architecture;
the data access layer is used for writing data of the energy nodes;
the data storage layer is used for storing data.
4. The method is characterized in that the method is applied to energy nodes, the energy nodes are nodes which are connected to a target sharing architecture, and the target sharing architecture is a pre-constructed logic model architecture for realizing data interconnection sharing; the target sharing architecture includes a data storage layer; the method comprises the following steps:
reading target shared data from a shared blockchain, wherein the shared blockchain is established by taking node unique identifiers of all target energy nodes accessed to the target shared architecture as a chain head, and the shared blockchain is used for storing node equipment data of all target energy nodes;
and storing the target shared data into the data storage layer.
5. An apparatus for interconnected sharing of electrical energy, wherein the apparatus is applied to a server, the apparatus comprising:
the target energy node determining module is used for determining a target energy node accessed to a target sharing architecture, wherein the target sharing architecture is a logic model architecture which is built in advance and used for realizing data interconnection sharing;
the device data acquisition module is used for acquiring node device data of each target energy node, wherein the node device data comprises a node unique identifier;
the block chain establishing module is used for establishing a shared block chain by taking the unique node identifier of each target energy node as a chain head;
the block chain data storage module is used for storing node equipment data of each target energy node into the shared block chain;
an access request receiving module, configured to receive an access request of an energy node for the target sharing architecture; the identity verification module is used for carrying out identity verification on the energy node;
an architecture access module for accessing the energy node to the target sharing architecture according to the access request if the verification is passed,
the access request comprises a node unique identifier obtained when the energy node is registered;
the identity verification module is specifically used for: searching node unique identifiers of the energy nodes in a preset configuration file, wherein the node unique identifiers of a plurality of white lists are recorded in the preset configuration file; if the unique node identifier is found in the preset configuration file, the verification is judged to be passed.
6. The device is characterized in that the device is applied to energy nodes, the energy nodes are nodes which are connected to a target sharing architecture, and the target sharing architecture is a pre-constructed logic model architecture for realizing data interconnection sharing; the target sharing architecture includes a data storage layer; the device comprises:
the shared data reading module is used for reading target shared data from a shared blockchain, wherein the shared blockchain is established by taking node unique identifiers of all target energy nodes accessed to the target shared architecture as a chain head, and the shared blockchain is used for storing node equipment data of all the target energy nodes;
and the shared data storage module is used for storing the target shared data into the data storage layer.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-4 when the program is executed by the processor.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110835687.0A CN113518129B (en) | 2021-07-23 | 2021-07-23 | Method and device for interconnection and sharing of electric power energy sources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110835687.0A CN113518129B (en) | 2021-07-23 | 2021-07-23 | Method and device for interconnection and sharing of electric power energy sources |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113518129A CN113518129A (en) | 2021-10-19 |
CN113518129B true CN113518129B (en) | 2023-09-12 |
Family
ID=78067727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110835687.0A Active CN113518129B (en) | 2021-07-23 | 2021-07-23 | Method and device for interconnection and sharing of electric power energy sources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113518129B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109302501A (en) * | 2018-12-10 | 2019-02-01 | 北京八分量信息科技有限公司 | A kind of industrial control data storage method based on block chain technology, apparatus and system |
US10417219B1 (en) * | 2018-03-28 | 2019-09-17 | Macrogen, Inc. | Data sharing method based on plurality of blockchains |
CN110708390A (en) * | 2019-10-16 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Data processing method, device, apparatus and medium based on inter-node data sharing |
WO2020130331A1 (en) * | 2018-12-21 | 2020-06-25 | (주)소프트제국 | Method for sharing and verifying blocks and electronic documents between nodes in blockchain |
WO2020259352A1 (en) * | 2019-06-26 | 2020-12-30 | 华为技术有限公司 | Data processing method, node, and blockchain system |
CN113111069A (en) * | 2021-04-30 | 2021-07-13 | 永旗(北京)科技有限公司 | Data sharing method and system based on block chain |
-
2021
- 2021-07-23 CN CN202110835687.0A patent/CN113518129B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10417219B1 (en) * | 2018-03-28 | 2019-09-17 | Macrogen, Inc. | Data sharing method based on plurality of blockchains |
CN109302501A (en) * | 2018-12-10 | 2019-02-01 | 北京八分量信息科技有限公司 | A kind of industrial control data storage method based on block chain technology, apparatus and system |
WO2020130331A1 (en) * | 2018-12-21 | 2020-06-25 | (주)소프트제국 | Method for sharing and verifying blocks and electronic documents between nodes in blockchain |
WO2020259352A1 (en) * | 2019-06-26 | 2020-12-30 | 华为技术有限公司 | Data processing method, node, and blockchain system |
CN110708390A (en) * | 2019-10-16 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Data processing method, device, apparatus and medium based on inter-node data sharing |
CN113111069A (en) * | 2021-04-30 | 2021-07-13 | 永旗(北京)科技有限公司 | Data sharing method and system based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN113518129A (en) | 2021-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | Research on power Internet of Things architecture for smart grid demand | |
Zhang et al. | Blockchain and federated deep reinforcement learning based secure cloud-edge-end collaboration in power IoT | |
CN108011370A (en) | A kind of distributed energy scheduling method of commerce based on global energy block chain | |
Bagherzadeh et al. | Integration of cloud computing and IoT (CloudIoT) in smart grids: Benefits, challenges, and solutions | |
Li et al. | A blockchain-based architecture for stable and trustworthy smart grid | |
CN111786785B (en) | Block chain-based power distribution Internet of things node switching method and device | |
CN113703363B (en) | Plug-and-play method of intelligent edge computing gateway in power dispatching cloud | |
CN114281790A (en) | Multi-type load resource aggregator access system and method | |
CN115361393A (en) | Virtual constellation task management system based on alliance chain | |
Salameh et al. | A generic ontology-based information model for better management of microgrids | |
Gong et al. | Research on the ubiquitous electric power internet of things security management based on edge-cloud computing collaboration technology | |
CN113518129B (en) | Method and device for interconnection and sharing of electric power energy sources | |
CN108171487A (en) | A kind of project of transmitting and converting electricity design review system | |
Chen et al. | Big-data-based research on the architecture design of university hydropower intelligent decision service platform | |
CN108713199A (en) | Right management method, system, mobile terminal, shared charging equipment and server | |
Zhou et al. | Graph Computing and Its Application in Power Grid Analysis | |
CN114119278A (en) | Multi-station fusion power resource management system based on block chain technology | |
Yan et al. | Realization of Electric Power Communication Network | |
Yuan et al. | Architecture Design and Application Prospect of Predictive Maintenance Based on Multi-station Integration Edge Computing in Power Field | |
Hu et al. | Research on 5G security protection system for Industry | |
Gao et al. | Research on security control scheme of power distribution Internet of things | |
Duan et al. | The design and implementation of smart grid SOC platform | |
Gallego et al. | BD4OPEM H2020 project. The 4+ 1 View Model of Software Architecture for enabling AI-based services in distribution grids | |
Zhao et al. | Research on the Large-scale Application of 5G in Smart Distribution Network | |
Jiang et al. | Analysis on Network Information Security Protection Technology of Intelligent Terminal Power Monitoring System of Substation under the Support of Multimodal Multimedia Information |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |