CN115225982A - Data transmission method and device of distributed energy transaction system - Google Patents

Data transmission method and device of distributed energy transaction system Download PDF

Info

Publication number
CN115225982A
CN115225982A CN202210520533.7A CN202210520533A CN115225982A CN 115225982 A CN115225982 A CN 115225982A CN 202210520533 A CN202210520533 A CN 202210520533A CN 115225982 A CN115225982 A CN 115225982A
Authority
CN
China
Prior art keywords
user terminal
node
intelligent electric
distributed energy
data
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
CN202210520533.7A
Other languages
Chinese (zh)
Inventor
王鸿玺
李飞
石振刚
陶鹏
申洪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Marketing Service Center of State Grid Hebei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Marketing Service Center of State Grid Hebei Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Marketing Service Center of State Grid Hebei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202210520533.7A priority Critical patent/CN115225982A/en
Publication of CN115225982A publication Critical patent/CN115225982A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/20Arrangements in telecontrol or telemetry systems using a distributed architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/70Arrangements in the main station, i.e. central controller
    • H04Q2209/75Arrangements in the main station, i.e. central controller by polling or interrogating the sub-stations

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Public Health (AREA)
  • Tourism & Hospitality (AREA)
  • Primary Health Care (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Water Supply & Treatment (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a data transmission method and device of a distributed energy transaction system. The data transmission method is applied to a distributed energy transaction system, the distributed energy transaction system comprises a server node and a smart meter node, and the data transmission method comprises the following steps: if a data request sent by a user terminal is received, judging whether the user terminal and the intelligent electric meter node are in a connection state; the data request is used for requesting electric power transaction data of a user; and if the user terminal is in a connection state with the intelligent electric meter node, sending first indication information to the intelligent electric meter node, wherein the first indication information is used for indicating the intelligent electric meter node to send electric power transaction data to the user terminal. The data transmission method and the data transmission system can reduce the data volume in the data transmission process of the distributed energy transaction system and improve the data transmission speed and stability of the distributed energy transaction system.

Description

Data transmission method and device of distributed energy transaction system
Technical Field
The invention relates to the technical field of power grids, in particular to a data transmission method and device of a distributed energy transaction system.
Background
The energy internet is based on the existing energy supply system and the power distribution network, integrates a new energy technology and an internet technology through an advanced power electronic technology and an information technology, interconnects a large number of distributed energy collection devices and distributed energy storage devices, and realizes energy peer-to-peer exchange and a shared network with bidirectional flow of energy and information. No matter the traditional power grid or the energy internet under the information energy fusion, the transmission of the power flow needs to be transmitted or exchanged hierarchically according to the characteristics of regional distribution, so that the effective transmission and the efficient utilization of the energy can be realized, and the safety and the orderly management and control can be ensured.
The block chain is a block chain type data structure formed by packaging transaction information into data blocks in time sequence. The blockchain technology is essentially a decentralized encryption database, the trust problem of the participants and the safety problem of data are solved by technical means of encryption and a distributed consensus mechanism, and the data stored on the blockchain are jointly maintained by nodes of the whole network, so that value information is effectively transmitted. The characteristics of the block chain comprise the characteristics of non-tampering, traceability, transparency to participants and the like, and therefore trust and transfer value are created. By using the intelligent contract, the contract rules agreed by both parties can be automatically executed without human intervention, and the block chain technology is further added as the characteristic of 'trust machine', so that the intelligent contract can become a credit infrastructure of 'trust society' under wide application.
At present, a distributed energy transaction system exists, in the system, a blockchain module is additionally arranged in an intelligent electric meter, and the system is communicated with a server node in a power grid in a wireless or wired mode to form a blockchain framework of the power grid, so that safe and reliable storage and transmission of power transaction data are realized, and further, convenient and efficient power transaction and settlement are realized.
In order to achieve transparency of settlement of power transactions, power consumers need access to data in the blockchain system. In the data access process, a power consumer communicates with a server node in a blockchain system through the internet, and after receiving a communication request of the power consumer, the server node needs to communicate with a blockchain module in a terminal electricity meter to acquire the latest data information and send the latest data information to the power consumer. The large number of power consumers causes large data transmission consumption in the blockchain system, which is not favorable for the stability of data transmission in the blockchain system.
Disclosure of Invention
The invention provides a data transmission method and device of a distributed energy transaction system, which can reduce the data volume of the distributed energy transaction system in the data transmission process and improve the data transmission speed and stability of the distributed energy transaction system.
In a first aspect, the present invention provides a data transmission method for a distributed energy trading system, which is applied to the distributed energy trading system, where the distributed energy trading system includes a server node and a smart meter node, and the data transmission method includes: if a data request sent by a user terminal is received, judging whether the user terminal is in a connection state with the intelligent ammeter node; the data request is used for requesting power transaction data of a user; and if the user terminal is in a connection state with the intelligent electric meter node, sending first indication information to the intelligent electric meter node, wherein the first indication information is used for indicating the intelligent electric meter node to send electric power transaction data to the user terminal.
The invention provides a data transmission method of a distributed energy transaction system, wherein when a user terminal requests electric power transaction data, a server node judges whether the user terminal and an intelligent electric meter node are in a connected state or not, and when the user terminal and the intelligent electric meter node are in the connected state, the server node indicates the intelligent electric meter node to directly send the electric power transaction data to the user terminal. Compared with the technical scheme that the server node acquires the electric power transaction data from the intelligent electric meter node and then sends the electric power transaction data to the user terminal, the method and the system can indicate the intelligent electric meter node to directly send the electric power transaction data to the user terminal when the user terminal is connected with the intelligent electric meter node, reduce the data volume of a data transmission process between the server node and the intelligent electric meter node in the distributed energy transaction system, improve the data transmission speed of the distributed energy transaction system, and further improve the stability of the distributed energy transaction system.
In a possible implementation manner, the data transmission method further includes: and if the user terminal is not in a connection state with the intelligent electric meter node, sending second indication information to the user terminal, wherein the second indication information is used for indicating the user terminal to select an equipment node for acquiring electric power transaction data, and the equipment node comprises a server node and the intelligent electric meter node.
In one possible implementation, the data request further includes a user terminal identifier; judging whether user terminal and smart electric meter node are in connected state, still including before: inquiring a registration table, and determining whether a user terminal identifier exists in the registration table; if so, determining that the terminal is a legal terminal, and executing the step of judging whether the user terminal and the intelligent electric meter node are in a connection state; and if the terminal does not exist, determining that the terminal is not a legal terminal, and sending third indication information to the user terminal, wherein the third indication information is used for indicating the user terminal to perform safe registration.
In one possible implementation manner, the data transmission method further includes: receiving registration request information sent by a user terminal, wherein the registration request information comprises a user terminal identifier and an intelligent electric meter node identifier to be connected by a user; and establishing a registration record based on the user terminal identifier and the node identifier of the intelligent electric meter to be connected, and commonly identifying the registration record in the distributed energy transaction system.
In one possible implementation, the registering the registration record in the distributed energy trading system includes: signing the registration record to generate consensus information; sending the consensus information to other server nodes in the distributed energy transaction system to indicate the other server nodes to verify the consensus information; receiving verification results sent by other server nodes, wherein the verification results are used for indicating whether the consensus information passes the verification; if the verification result is that the number of passed verification is larger than the set value, the consensus is determined to be successful, and the registration record is stored in the registration table.
In a second aspect, an embodiment of the present invention provides a data transmission method for a distributed energy trading system, which is applied to the distributed energy trading system, where the distributed energy trading system includes a server node and a smart meter node, and the data transmission method includes: receiving first indication information sent by a server node, wherein the first indication information is used for indicating an intelligent electric meter node to send electric power transaction data to a user terminal; extracting power transaction data from the storage area based on the first indication information; and transmitting the electric power transaction data to the user terminal.
The invention provides a data transmission method of a distributed energy transaction system, which can directly send the latest electric power transaction data to a user terminal by an intelligent electric meter node under the instruction of a server node, and the electric power transaction data is not required to be sent to the server node by the intelligent electric meter node and then forwarded to the user terminal by the server node, so that the data volume of the data transmission process between the server node and the intelligent electric meter node in the distributed energy transaction system is reduced, the data transmission speed of the distributed energy transaction system is improved, and the stability of the distributed energy transaction system is further improved.
In one possible implementation manner, the data transmission method further includes: receiving a connection state judgment instruction sent by a server node, wherein the connection state judgment instruction comprises a user terminal identifier; generating a connection state judgment response based on the connection state judgment indication, wherein the connection state judgment response comprises a function of indicating whether the user terminal and the intelligent electric meter node are in a connection state or not; and sending a connection state judgment response to the server node.
In one possible implementation manner, the smart meter node comprises a block chain storage area and an external storage area; transmitting power transaction data to a user terminal, comprising: copying the electric power transaction data to an external storage area of the intelligent electric meter node; and sending the electric power transaction data in the external storage area to the user terminal through a connecting channel between the user terminal and the intelligent electric meter node.
In one possible implementation, the connection channel includes one of the following: bluetooth, wiFi and USB.
In a third aspect, an embodiment of the present invention provides a data transmission device for a distributed energy trading system, where the data transmission device is applied to the distributed energy trading system, the distributed energy trading system includes a server node and a smart meter node, and the data transmission device includes a communication module and a processing module. The communication module is used for receiving a data request sent by a user terminal, and the data request is used for requesting power transaction data of a user. The processing module is used for judging whether the user terminal is in a connection state with the intelligent electric meter node or not if a data request sent by the user terminal is received; and if the user terminal is in a connection state with the intelligent electric meter node, sending first indication information to the intelligent electric meter node, wherein the first indication information is used for indicating the intelligent electric meter node to send electric power transaction data to the user terminal.
In a fourth aspect, an embodiment of the present invention further provides a data transmission device for a distributed energy trading system, where the data transmission device is applied to the distributed energy trading system, the distributed energy trading system includes a server node and a smart meter node, and the data transmission device includes a communication module and a processing module. The communication module is used for receiving first indication information sent by the server node, and the first indication information is used for indicating the intelligent electric meter node to send electric power transaction data to the user terminal; the processing module is used for extracting the electric power transaction data from the storage area based on the first indication information; and transmitting the electric power transaction data to the user terminal.
In a fifth aspect, an embodiment of the present invention provides a distributed energy trading system, where the distributed energy trading system includes a server node and a smart meter node, where the server node is configured to execute the method according to the first aspect and any one of the possible implementations of the first aspect, and the smart meter node is configured to execute the method according to the second aspect and any one of the possible implementations of the second aspect.
In a sixth aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores a computer program, and the processor is configured to call and execute the computer program stored in the memory to perform the method according to any one of the possible implementations of the first aspect and the first aspect, or the steps of the method according to any one of the possible implementations of the second aspect and the second aspect.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program is characterized in that, when being executed by a processor, the computer program implements the method according to any one of the possible implementations of the first aspect and the first aspect, or the steps of the method according to any one of the possible implementations of the second aspect and the second aspect.
The technical effects brought by any one of the implementation manners of the second aspect to the seventh aspect may refer to the technical effects brought by the corresponding implementation manners of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the embodiments or drawings used in the prior art description, and obviously, the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a distributed energy transaction system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a data transmission method of a distributed energy transaction system according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a data transmission method of another distributed energy trading system according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a data transmission method of another distributed energy trading system according to an embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating a data transmission method of another distributed energy trading system according to an embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating a data transmission method of another distributed energy trading system according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a data transmission method of another distributed energy trading system according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of a data transmission method of another distributed energy transaction system according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a data transmission device of a distributed energy transaction system according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In the description of the present invention, "/" means "or" unless otherwise specified, for example, a/B may mean a or B. "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. Further, "at least one" or "a plurality" means two or more. The terms "first", "second", and the like do not necessarily limit the number and execution order, and the terms "first", "second", and the like do not necessarily limit the difference.
In the embodiments of the present application, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion for ease of understanding.
Furthermore, the terms "comprising" and "having" and any variations thereof as referred to in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules, but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a distributed energy transaction system according to an embodiment of the present invention. As shown in fig. 1, the distributed energy trading system includes a server node, a smart meter node, and a user. The server nodes and the intelligent electric meter nodes form a block chain network, safe and reliable storage and transmission of electric power transaction data in the distributed energy transaction system are achieved, and then convenient and efficient electric power transaction and settlement are achieved.
In some embodiments, the number of server nodes may be multiple, and for example, the server nodes may be the first server node 111, the second server node 112, and the third server node 113 shown in fig. 1.
In some embodiments, the smart meter node may be a smart meter on the supply side or a smart meter on the load side. For example, the smart meter nodes may be a first smart meter node 121, a second smart meter node 122, and a third smart meter node 123 as shown in fig. 1.
In some embodiments, the user may be a donor-side user. For example, the user may be a coal fired thermal power plant, a natural gas power plant, a wind power plant, a photovoltaic power plant, and the like. Alternatively, the user may also be an energy storage device, a distributed wind and solar power generation user, or the like. For example, the user 131 may be a photovoltaic power generation user in a household unit. Customer 132 may be a coal fired power plant.
In another embodiment, the user may also be a load-side user. Illustratively, the user may be a cell resident, a factory, various high energy-consuming power equipment, or the like. Illustratively, user 133 may be a subscriber to a cell.
As a possible implementation manner, the distributed energy transaction system may store the electric power transaction data detected by the smart meter node periodically and commonly. Or when the distributed energy transaction system receives the trigger information, the power transaction data detected by the intelligent electric meter nodes are subjected to consensus storage.
In order to achieve transparency of settlement of electric power transactions, electric power consumers need to access data in the blockchain system. In the data access process, the power consumer communicates with a server node in the blockchain system through the internet, and after receiving a communication request of the power consumer, the server node needs to communicate with a blockchain module in the terminal ammeter to acquire the latest data information and send the latest data information to the power consumer.
On the one hand, the electric power transaction data comprises various real-time metering data such as real-time load, voltage, current, frequency, load rate, power factors, voltage unbalance, harmonic conditions and the like, and the electric power transaction data is various in types and large in data volume. On the other hand, the number of the users accessing the distributed energy trading system at the same time is larger due to the larger number of the power users. Therefore, during the process of accessing the latest power transaction data by a large-scale user, a large data transmission consumption may be caused in the blockchain system, which is not favorable for the stability of data transmission in the blockchain system.
To solve the above technical problem, as shown in fig. 2, an embodiment of the present invention provides a data transmission method for a distributed energy transaction system. The data transmission method is applied to a distributed energy transaction system as shown in fig. 1, the distributed energy transaction system comprises a server node and a smart meter node, and the data transmission method comprises steps S201-S203.
S201, receiving a data request sent by a user terminal.
In some embodiments, the user terminal may be a cell phone, a computer, or a PDA.
In the embodiment of the application, the data request is used for requesting the electric power transaction data of the user.
The electric power transaction data comprises real-time metering data and electric power transaction results. The real-time metering data is data obtained by real-time metering of the intelligent electric meter nodes. And calculating the electric power transaction result for the intelligent electric meter node to obtain the data to be transacted and the transacted data of the user corresponding to the intelligent electric meter node.
In some embodiments, the data request may include a start time, an end time, and a type of the power transaction data.
In other embodiments, the data request may also include identification information of the user or identification information of the user terminal. Thus, the server node may determine power transaction data corresponding to the user based on the identification information of the user. Or the server node can also determine whether the user terminal is legal or not based on the identification information of the user terminal, thereby improving the data security.
In other embodiments, the data request may further include identification information of the intelligent electricity meter node corresponding to the user or the user terminal.
S202, if a data request sent by the user terminal is received, whether the user terminal and the intelligent electric meter node are in a connection state or not is judged.
In some embodiments, when the user terminal and the smart meter node are in a connected state, the user terminal and the smart meter node may be connected through a connection channel. Illustratively, the connection channel may be one of: bluetooth, wiFi and USB.
As a possible implementation manner, the server node may query, through a registration table in a memory of the server node, a status identifier in the registration table, where the status identifier is used to indicate whether the user terminal and the smart meter node are in a connected state. And if the state identifier indicates that the user terminal and the intelligent electric meter node are in the connection state, determining that the user terminal and the intelligent electric meter node are in the connection state. And if the state identification indicates that the user terminal and the intelligent electric meter node are in the unconnected state, determining that the user terminal and the intelligent electric meter node are not in the unconnected state.
As another possible implementation manner, the server node may send, to the smart meter node, query information indicating whether the user terminal and the smart meter node are determined to be in a connected state. And after receiving the query information, the intelligent electric meter node determines whether the user terminal and the intelligent electric meter node are in a connection state, and sends a determination result to the server node. Therefore, the server node finishes the process of judging whether the user terminal and the intelligent electric meter node are in the connection state.
For example, as shown in fig. 3, the server node may determine whether the user terminal and the smart meter node are in a connected state through steps S2021-S2024.
S2021, the server node sends a connection state judgment instruction to the intelligent electric meter node.
Wherein, the connection state judgment indication comprises a user terminal identification.
And S2022, generating a connection state judgment response by the intelligent electric meter node based on the connection state judgment instruction.
And the connection state judgment response comprises a step of indicating whether the user terminal and the intelligent electric meter node are in a connection state or not.
S2023, the intelligent ammeter node sends a connection state judgment response to the server node.
S2024, the server node judges whether the response confirms that the user terminal and the intelligent electric meter node are in the connection state or not based on the connection state.
Therefore, the server node can be communicated with the intelligent electric meter node to determine whether the user terminal and the intelligent electric meter node are in the connection state or not, so that the determined connection state is more accurate, the success rate of the intelligent electric meter node for sending electric power transaction data to the user terminal is improved, and the success rate of the user terminal for obtaining the electric power transaction data is improved.
As another possible implementation manner, the server node may further send, to the user terminal, query information for indicating whether the user terminal and the smart meter node are determined to be in a connected state. And after receiving the query information, the user terminal determines whether the user terminal is in a connection state with the intelligent electric meter node, and sends a determination result to the server node. Therefore, the server node completes the judgment process of whether the user terminal and the intelligent electric meter node are in the connection state or not.
As another possible implementation manner, the server node may also send query information for indicating whether the user terminal and the smart meter node are determined to be in a connected state to the user terminal and the smart meter node at the same time. And when the determination result of the user terminal and the determination result of the intelligent electric meter node are both in a connection state, determining that the user terminal and the intelligent electric meter node are in the connection state.
S203, if the user terminal is connected with the intelligent electric meter node, sending first indication information to the intelligent electric meter node.
In the embodiment of the application, the first indication information is used for indicating the smart meter node to send the power transaction data to the user terminal.
In some embodiments, the first indication information may include a user terminal identification and identification information of the power transaction data.
The invention provides a data transmission method of a distributed energy transaction system, wherein when a user terminal requests electric power transaction data, a server node judges whether the user terminal and an intelligent electric meter node are in a connected state or not, and when the user terminal and the intelligent electric meter node are in the connected state, the server node indicates the intelligent electric meter node to directly send the electric power transaction data to the user terminal. Compared with the technical scheme that the server node acquires the electric power transaction data from the intelligent electric meter node and then sends the electric power transaction data to the user terminal, the method and the system can indicate the intelligent electric meter node to directly send the electric power transaction data to the user terminal when the user terminal is connected with the intelligent electric meter node, reduce the data volume of a data transmission process between the server node and the intelligent electric meter node in the distributed energy transaction system, improve the data transmission speed of the distributed energy transaction system, and further improve the stability of the distributed energy transaction system.
Optionally, as shown in fig. 4, the data transmission method of the distributed energy trading system according to the embodiment of the present invention further includes step S204.
And S204, if the user terminal is not in a connection state with the intelligent electric meter node, sending second indication information to the user terminal.
In the embodiment of the application, the second indication information is used for indicating the user terminal to select the equipment node for acquiring the electric power transaction data. The equipment nodes comprise a server node and a smart meter node.
Therefore, the embodiment of the invention can provide the user terminal with the selection opportunity of the equipment node for acquiring the electric power transaction data, and improves the convenience of the user terminal for accessing the electric power transaction data.
Optionally, in the data transmission method of the distributed energy transaction system provided in the embodiment of the present invention, before determining whether the user terminal and the node of the smart meter are in the connection state, the prediction apparatus may further determine whether the user terminal is legal, and when the user terminal is a legal terminal, continue to determine the connection state between the user terminal and the smart meter. Therefore, the method and the device can judge the legality of the user before judging the connection state between the user terminal and the intelligent electric meter, and improve the safety in the data transmission process.
Illustratively, as shown in fig. 5, the predicting means may determine the validity of the user terminal based on steps S301-S304.
S301, inquiring the registration table, and determining whether the user terminal identification exists in the registration table.
S302, if yes, determining that the user terminal is a legal terminal, and executing a step of judging whether the user terminal and the intelligent electric meter node are in a connection state.
In some embodiments, the user terminal is a legitimate terminal, indicating that the user terminal has securely registered with the server node.
And S303, if the third indication information does not exist, determining that the user terminal is not a legal terminal, and sending the third indication information to the user terminal.
And the third indication information is used for indicating the user terminal to perform security registration.
Therefore, the embodiment of the invention can judge the legality of the user before judging the connection state between the user terminal and the intelligent ammeter, thereby improving the safety in the data transmission process.
It is understood that the user may perform active registration with the user terminal, and may perform passive registration based on the third indication information.
Illustratively, as shown in FIG. 6, the registration process of the user terminal may be implemented based on steps S401-S402.
S401, receiving the registration request information sent by the user terminal.
The registration request information comprises a user terminal identification and an intelligent electric meter node identification to be connected by a user.
S402, establishing a registration record based on the user terminal identification and the intelligent electric meter node identification to be connected, and identifying the registration record in the distributed energy transaction system.
As a possible implementation manner, the server node may establish a mapping relationship between the user terminal identifier and the node identifier of the smart meter to be connected, so as to establish the registration record.
Therefore, when the user terminal requests registration, a registration record between the user terminal and the intelligent electric meter node to be connected is established, and the user terminal can conveniently access the intelligent electric meter node.
As a possible implementation, as shown in fig. 6, the server node may agree on a registration record in the distributed energy trading system based on steps S501-S504.
And S501, signing the registration record to generate the consensus information.
And S502, sending the consensus information to other server nodes in the distributed energy transaction system to instruct the other server nodes to verify the consensus information.
S503, receiving a verification result sent by other server nodes, wherein the verification result is used for indicating whether the common identification information passes the verification.
And S504, if the verification result is that the number of passed verification is larger than the set value, determining that the consensus is successful, and storing the registration record in a registration table.
Therefore, the consensus of the registration record in the block chain network can be realized, and the safety of the data transmission process is further improved.
As shown in fig. 7, an embodiment of the present invention further provides a data transmission method of a distributed energy transaction system, which is applied to the distributed energy transaction system, the distributed energy transaction system includes a server node and a smart meter node, an execution subject of the data transmission method is the smart meter node, and the data transmission method includes the following steps.
S203, receiving the first indication information sent by the server node.
The first indication information is used for indicating the intelligent electric meter node to send electric power transaction data to the user terminal.
In some embodiments, the first indication information may include a user terminal identification and identification information of the power transaction data.
And S205, extracting the electric power transaction data from the storage area based on the first indication information.
As a possible implementation manner, the smart meter node may extract, based on the identification information of the power transaction data, the power transaction data corresponding to the identification information from the storage area.
And S206, transmitting the electric power transaction data to the user terminal.
In some embodiments, the smart meter node includes a blockchain storage area and an external storage area.
As a possible implementation manner, the smart meter node may copy the electric power transaction data to an external storage area of the smart meter node; and sending the electric power transaction data in the external storage area to the user terminal through a connecting channel between the user terminal and the intelligent electric meter node.
Wherein the connecting channel comprises one of the following: bluetooth, wiFi and USB.
The invention provides a data transmission method of a distributed energy transaction system, which can directly send the latest electric power transaction data to a user terminal by an intelligent electric meter node under the instruction of a server node, and the electric power transaction data is not required to be sent to the server node by the intelligent electric meter node and then forwarded to the user terminal by the server node, so that the data volume of the data transmission process between the server node and the intelligent electric meter node in the distributed energy transaction system is reduced, the data transmission speed of the distributed energy transaction system is improved, and the stability of the distributed energy transaction system is further improved.
Optionally, the data transmission method of the distributed energy transaction system provided by the embodiment of the present invention further includes steps S2021 to S2023. The execution main body is an intelligent electric meter node.
S2021, receiving a connection state determination instruction sent by the server node.
Wherein, the connection state judgment indication comprises a user terminal identification.
S2022 generates a connection state determination response based on the connection state determination instruction.
And the connection state judgment response comprises a step of indicating whether the user terminal and the intelligent electric meter node are in a connection state or not.
As a possible implementation manner, the smart meter node may obtain the user terminal identifier in a connection state with the smart meter node, compare the user terminal identifier with the user terminal identifier in the connection state judgment indication, determine that the user terminal and the smart meter node are in the connection state when the user terminal identifier and the user terminal identifier are the same, and generate a connection state judgment response.
S2023, sending a connection state determination response to the server node.
Therefore, the server node can acquire and determine whether the user terminal and the intelligent electric meter node are in the connection state through communication with the intelligent electric meter node, so that the determined connection state is more accurate, the success rate of the intelligent electric meter node for sending electric power transaction data to the user terminal is improved, and the success rate of the user terminal for acquiring the electric power transaction data is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 8 is a schematic structural diagram illustrating a data transmission device of a distributed energy trading system according to an embodiment of the present invention, where the data transmission device is applied to the distributed energy trading system, the distributed energy trading system includes a server node and a smart meter node, and the data transmission device 600 includes a communication module 601 and a processing module 602.
When the data transmission device 600 is applied to a server node, the data transmission device 600 is used to perform the data transmission method of the distributed energy transaction system shown in fig. 2 to 7.
The communication module 601 is configured to receive a data request sent by a user terminal, where the data request is used to request power transaction data of a user.
The processing module 602 is configured to determine whether the user terminal and the smart meter node are in a connected state if a data request sent by the user terminal is received; and if the user terminal is in a connection state with the intelligent electric meter node, sending first indication information to the intelligent electric meter node, wherein the first indication information is used for indicating the intelligent electric meter node to send electric power transaction data to the user terminal.
In a possible implementation manner, the processing module 602 is further configured to send second indication information to the user terminal if the user terminal and the smart meter node are not in a connected state, where the second indication information is used to indicate the user terminal to select an equipment node for acquiring the electric power transaction data, and the equipment node includes a server node and a smart meter node.
In one possible implementation, the data request further includes a user terminal identifier; the processing module 602 is further configured to query the registry, and determine whether the user terminal identifier exists in the registry; if so, determining that the terminal is a legal terminal, and executing the step of judging whether the user terminal and the intelligent electric meter node are in a connection state; and if the terminal does not exist, determining that the terminal is not a legal terminal, and sending third indication information to the user terminal, wherein the third indication information is used for indicating the user terminal to perform safe registration.
In a possible implementation manner, the processing module 602 is further configured to receive registration request information sent by a user terminal, where the registration request information includes a user terminal identifier and an identifier of a node of the smart meter to which a user is to be connected; and establishing a registration record based on the user terminal identifier and the node identifier of the intelligent electric meter to be connected, and commonly identifying the registration record in the distributed energy transaction system.
In a possible implementation manner, the processing module 602 is specifically configured to sign a registration record to generate consensus information; sending the consensus information to other server nodes in the distributed energy transaction system to indicate the other server nodes to verify the consensus information; receiving verification results sent by other server nodes, wherein the verification results are used for indicating whether the consensus information passes the verification; if the verification result is that the number of passed verification is larger than the set value, the successful consensus is determined, and the registration record is stored in the registration table.
When the data transmission device 600 is applied to a smart meter node, the data transmission device 600 is used to execute a data transmission method of the distributed energy transaction system shown in fig. 2 to 7.
The communication module 601 is configured to receive first indication information sent by a server node, where the first indication information is used to indicate an intelligent meter node to send power transaction data to a user terminal.
A processing module 602, configured to extract power transaction data from the storage area based on the first indication information; and transmitting the electric power transaction data to the user terminal.
In a possible implementation manner, the communication module 601 is further configured to receive a connection state judgment indication sent by the server node, where the connection state judgment indication includes a user terminal identifier. The processing module 602 is further configured to generate a connection state judgment response based on the connection state judgment indication, where the connection state judgment response includes a connection state that indicates whether the user terminal and the smart meter node are in a connection state. The communication module 601 is further configured to send a connection state determination response to the server node.
In one possible implementation manner, the smart meter node comprises a block chain storage area and an external storage area; the processing module 602 is specifically configured to copy the electric power transaction data to an external storage area of the smart meter node; the communication module 601 is specifically configured to send the electric power transaction data in the external storage area to the user terminal through a connection channel between the user terminal and the smart meter node.
In one possible implementation, the connection channel includes one of the following: bluetooth, wiFi and USB.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 9, the electronic apparatus 700 of this embodiment includes: a processor 701, a memory 702, and a computer program 703 stored in said memory 702 and executable on said processor 701. The processor 701 implements the steps in the above method embodiments, such as the steps 201 to 203 shown in fig. 2, when executing the computer program 703. Alternatively, the processor 701, when executing the computer program 703, implements the functions of each module/unit in each device embodiment described above, for example, the functions of the communication module 601 and the processing module 602 shown in fig. 8.
Illustratively, the computer program 703 may be partitioned into one or more modules/units that are stored in the memory 702 and executed by the processor 701 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 703 in the electronic device 700. For example, the computer program 703 may be divided into the communication module 601 and the processing module 602 shown in fig. 8.
The Processor 701 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 702 may be an internal storage unit of the electronic device 700, such as a hard disk or a memory of the electronic device 700. The memory 702 may also be an external storage device of the electronic device 700, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the electronic device 700. Further, the memory 702 may also include both an internal storage unit and an external storage device of the electronic device 700. The memory 702 is used for storing the computer program and other programs and data required by the terminal. The memory 702 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and simplicity of description, the foregoing functional units and modules are merely illustrated in terms of their division, and in practical applications, the foregoing functional allocation may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described or recited in detail in a certain embodiment, reference may be made to the descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the method according to the embodiments of the present invention may also be implemented by instructing related hardware through a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media may not include electrical carrier signals or communication signals as subject to legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the present invention, and are intended to be included within the scope thereof.

Claims (10)

1. The data transmission method of the distributed energy transaction system is applied to the distributed energy transaction system, the distributed energy transaction system comprises a server node and a smart meter node, and the data transmission method comprises the following steps:
if a data request sent by a user terminal is received, judging whether the user terminal and the intelligent electric meter node are in a connection state; the data request is used for requesting electric power transaction data of a user;
if the user terminal is connected with the intelligent electric meter node, first indication information is sent to the intelligent electric meter node, and the first indication information is used for indicating the intelligent electric meter node to send the electric power transaction data to the user terminal.
2. The method of claim 1, wherein the data transmission method further comprises:
and if the user terminal is not in a connection state with the intelligent electric meter node, sending second indication information to the user terminal, wherein the second indication information is used for indicating the user terminal to select an equipment node for acquiring electric power transaction data, and the equipment node comprises a server node and the intelligent electric meter node.
3. The method of claim 1, wherein the data request further comprises a user terminal identification;
the judging whether the user terminal and the intelligent electric meter node are in a connection state or not further comprises the following steps:
inquiring a registration table, and determining whether the user terminal identification exists in the registration table;
if so, determining that the user terminal is a legal terminal, and executing the step of judging whether the user terminal and the intelligent electric meter node are in a connection state;
and if the third indication information does not exist, determining that the user terminal is not a legal terminal, and sending third indication information to the user terminal, wherein the third indication information is used for indicating the user terminal to perform safe registration.
4. The method of claim 1, wherein the data transmission method further comprises:
receiving registration request information sent by the user terminal, wherein the registration request information comprises a user terminal identifier and an intelligent electric meter node identifier to be connected by a user;
and establishing a registration record based on the user terminal identification and the intelligent electric meter node identification to be connected, and commonly identifying the registration record in the distributed energy transaction system.
5. The method of claim 4, wherein the registering the registration record to be agreed upon in the distributed energy trading system comprises:
signing the registration record to generate consensus information;
sending the consensus information to other server nodes in the distributed energy transaction system to instruct the other server nodes to verify the consensus information;
receiving a verification result sent by other server nodes, wherein the verification result is used for indicating whether the consensus information passes the verification;
and if the verification result is that the number of passed verification is greater than a set value, determining that the consensus is successful, and storing the registration record in a registration table.
6. The data transmission method of the distributed energy transaction system is applied to the distributed energy transaction system, the distributed energy transaction system comprises a server node and a smart meter node, and the data transmission method comprises the following steps:
receiving first indication information sent by a server node, wherein the first indication information is used for indicating an intelligent electric meter node to send electric power transaction data to a user terminal;
extracting the power transaction data from a storage area based on the first indication information;
and sending the electric power transaction data to the user terminal.
7. The method of claim 6, wherein the data transmission method further comprises:
receiving a connection state judgment indication sent by a server node, wherein the connection state judgment indication comprises a user terminal identifier;
generating a connection state judgment response based on the connection state judgment indication, wherein the connection state judgment response comprises a function of indicating whether the user terminal and the intelligent electric meter node are in a connection state or not;
and sending the connection state judgment response to the server node.
8. The method of claim 6, wherein the smart meter node comprises a blockchain storage area and an external storage area;
the sending the power transaction data to the user terminal includes:
copying the electric power transaction data to an external storage area of a smart meter node;
and sending the electric power transaction data in the external storage area to the user terminal through a connecting channel between the user terminal and the intelligent electric meter node.
9. The data transmission device of the distributed energy transaction system is characterized by being applied to the distributed energy transaction system, wherein the distributed energy transaction system comprises a server node and an intelligent electric meter node, and the data transmission device comprises a communication module and a processing module;
the communication module is used for receiving a data request sent by a user terminal, wherein the data request is used for requesting power transaction data of a user;
the processing module is used for judging whether the user terminal is in a connection state with the intelligent electric meter node or not if a data request sent by the user terminal is received; if the user terminal is connected with the intelligent electric meter node, first indication information is sent to the intelligent electric meter node, and the first indication information is used for indicating the intelligent electric meter node to send the electric power transaction data to the user terminal.
10. The data transmission device of the distributed energy transaction system is characterized by being applied to the distributed energy transaction system, wherein the distributed energy transaction system comprises a server node and an intelligent electric meter node, and the data transmission device comprises a communication module and a processing module;
the communication module is used for receiving first indication information sent by the server node, and the first indication information is used for indicating the intelligent electric meter node to send electric power transaction data to the user terminal;
the processing module is used for extracting the electric power transaction data from the storage area based on the first indication information; and sending the electric power transaction data to the user terminal.
CN202210520533.7A 2022-05-12 2022-05-12 Data transmission method and device of distributed energy transaction system Pending CN115225982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210520533.7A CN115225982A (en) 2022-05-12 2022-05-12 Data transmission method and device of distributed energy transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210520533.7A CN115225982A (en) 2022-05-12 2022-05-12 Data transmission method and device of distributed energy transaction system

Publications (1)

Publication Number Publication Date
CN115225982A true CN115225982A (en) 2022-10-21

Family

ID=83608110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210520533.7A Pending CN115225982A (en) 2022-05-12 2022-05-12 Data transmission method and device of distributed energy transaction system

Country Status (1)

Country Link
CN (1) CN115225982A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115913787A (en) * 2023-02-16 2023-04-04 国网浙江省电力有限公司 File encryption and decryption transmission method suitable for electric power data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115913787A (en) * 2023-02-16 2023-04-04 国网浙江省电力有限公司 File encryption and decryption transmission method suitable for electric power data

Similar Documents

Publication Publication Date Title
Chen et al. Secure electricity trading and incentive contract model for electric vehicle based on energy blockchain
Su et al. A secure charging scheme for electric vehicles with smart communities in energy blockchain
CN109034840B (en) Green certificate transaction method and system based on clean energy generation
EP3460940B1 (en) Power trading system
CN107909358B (en) Energy settlement method, device and system
CN101753312B (en) Security certification method and security certification device for power grid equipment and negative control terminal
US9688155B2 (en) Authentication and pairing of a mobile device to an external power source
US20200394651A1 (en) Dynamic off-chain digital currency transaction processing
US11682086B2 (en) Operating smart sensors using distributed ledgers
CN110795767B (en) Electric power transaction method, device and system and trusted cloud platform
CN109168139B (en) WiFi sharing method based on block chain and server
KR20130143446A (en) Method for authenticating low efficiency device
CN111582850B (en) Electric charge recharging method and device based on mobile phone bank
CN110969436A (en) Block chain ammeter with digital assets
CN109767205A (en) A kind of payment two-dimension code safe payment methods and system without re-authentication
CN115225982A (en) Data transmission method and device of distributed energy transaction system
CN113626765A (en) Energy data processing method, device, equipment and storage medium
CN110827007B (en) Block chain-based electric charge settlement method, electronic equipment and storage device
KR20220037571A (en) Renewable energy trading system using a renewable energy supply platform and method for operating the system
JP7230216B2 (en) How to determine the shared service index based on the communication certificate sharing service
CN115641174A (en) Electricity charge determining method and device, storage medium and electronic equipment
CN112785299B (en) Method and device for roaming transaction based on blockchain
CN110850790A (en) Intelligent electric energy meter management auxiliary device of thing networking
KR20220037581A (en) Apparatus and method for authenticating power consumption details based on blockchain
KR102442283B1 (en) Blockchain-based AMI device verification system and method

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