CN110210970A - Energy method of commerce, device and terminal device based on block chain - Google Patents

Energy method of commerce, device and terminal device based on block chain Download PDF

Info

Publication number
CN110210970A
CN110210970A CN201910464084.7A CN201910464084A CN110210970A CN 110210970 A CN110210970 A CN 110210970A CN 201910464084 A CN201910464084 A CN 201910464084A CN 110210970 A CN110210970 A CN 110210970A
Authority
CN
China
Prior art keywords
energy
node
block chain
data
account
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
CN201910464084.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.)
North China Electric Power University
Economic and Technological Research Institute of State Grid Hebei Electric Power Co Ltd
Original Assignee
North China Electric Power University
Economic and Technological Research Institute 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 North China Electric Power University, Economic and Technological Research Institute of State Grid Hebei Electric Power Co Ltd filed Critical North China Electric Power University
Priority to CN201910464084.7A priority Critical patent/CN110210970A/en
Publication of CN110210970A publication Critical patent/CN110210970A/en
Priority to PCT/CN2020/093053 priority patent/WO2020239044A1/en
Pending legal-status Critical Current

Links

Classifications

    • 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

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)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention is suitable for energy technology field, provide a kind of energy method of commerce, device and terminal device based on block chain, energy account is provided in block chain, energy account is used to obtain the simultaneously multi-energy data in memory block chain in the corresponding energy measurement terminal of each node, energy method of commerce includes: the Transaction Information for obtaining first node and second node in block chain, wherein, first node indicates to sell the node of the energy, and second node indicates the node of the purchase energy;Data update is carried out to the corresponding multi-energy data of second node in energy account based on Transaction Information;Based on having carried out, the corresponding multi-energy data of second node in the updated energy account of data is synchronous to the multi-energy data progress data in the energy measurement terminal of second node.The present invention is able to solve the higher problem of transaction complexity of distributed energy transaction in the prior art.

Description

Energy method of commerce, device and terminal device based on block chain
Technical field
The invention belongs to energy technology field more particularly to a kind of energy method of commerce, device and ends based on block chain End equipment.
Background technique
China greatly develops renewable energy and has built consensus, but renewable energy generate electricity by way of merging two or more grid systems with fluctuation, Having a rest property and unpredictability, electricity generation grid-connecting ratio rise, and power network fluctuation dramatically increases, and stability reduces, and cost significantly mentions Height, generated energy and electricity consumption are extremely uneven, meanwhile, oneself special circuit does not carry out sale of electricity to the distributed energy producer, It needs to trade with user by intermediate power grid mechanism.
And because of the energy source type and large number of of distributed energy producer production, the energy source type of user demand is also many More, the process of exchange by the distributed energy producer, intermediate power grid mechanism and user tripartite's composition is sufficiently complex, distributed energy The source producer and user cannot timely trade, and cause great loss to the distributed energy producer and user.
Summary of the invention
In view of this, the present invention provides a kind of energy method of commerce, device, terminal device and calculating based on block chain Machine readable storage medium storing program for executing, it is intended to reduce the transaction complexity of distributed energy transaction in the prior art.
The first aspect of the embodiment of the present invention provides a kind of energy method of commerce based on block chain, in the block chain It is provided with energy account, the energy account is for obtaining and storing the corresponding energy measurement of each node in the block chain Multi-energy data in terminal, the energy method of commerce include:
Obtain the Transaction Information of first node and second node in the block chain, wherein the first node represents The node of the energy is sold, the second node indicates the node of the purchase energy;
Data are carried out more to the corresponding multi-energy data of second node described in the energy account based on the Transaction Information Newly;
Based on having carried out the corresponding multi-energy data of second node described in the updated energy account of data to described It is synchronous that multi-energy data in the energy measurement terminal of second node carries out data.
Optionally, be additionally provided with audit node in the block chain, it is described obtain in the block chain first node and After the Transaction Information of second node further include:
The audit node is obtained to the auditing result of the Transaction Information;
Correspondingly, described be based on the Transaction Information to the corresponding multi-energy data of second node described in the energy account Carrying out data update includes:
If the auditing result is that audit passes through, based on the Transaction Information to the second section described in the energy account The corresponding multi-energy data of point carries out data update.
Optionally, the Transaction Information includes the energy purchase volume of the corresponding energy source user of the second node, the energy Source account includes electric energy account;
Correspondingly, being carried out based on the Transaction Information to the corresponding multi-energy data of second node described in the energy account Data update
According to the energy purchase volume to the energy in the corresponding multi-energy data of second node described in the electric energy account It measures data and carries out data update.
Optionally, the Transaction Information further includes the payment information of the corresponding energy source user of the second node, the energy Source account further includes fund account;
Correspondingly, being carried out based on the Transaction Information to the corresponding multi-energy data of second node described in the energy account Data update further include:
In response to the transaction confirmation message that the second node is sent, according to the payment information in the fund account Amount of currency in the corresponding multi-energy data of the second node is deducted.
Optionally, in the transaction confirmation message sent in response to the second node, according to the payment information pair After amount of currency in the corresponding multi-energy data of second node described in the fund account is deducted further include:
Information is completed in response to the transaction that the second node is sent, according to the payment information in the fund account Amount of currency in the corresponding multi-energy data of the first node is added.
Optionally, in the transaction confirmation message sent in response to the second node, according to the payment information pair Before amount of currency in the corresponding multi-energy data of second node described in the fund account is deducted further include:
Cancel information in response to the transaction that the first node is sent, terminates this transaction.
Optionally, the block chain is alliance's chain.
Optionally, the energy method of commerce further include:
The addition solicited message of the intention node of the block chain is added in acquisition request, wherein the addition solicited message The identity information of user is corresponded to including the intention node;
The addition request of the intention node is audited according to the identity information;
The block chain is added in the intention node that audit is passed through.
The second aspect of the embodiment of the present invention provides a kind of energy the transaction device based on block chain, in the block chain It is provided with energy account, the energy account is for obtaining and storing the corresponding energy measurement of each node in the block chain Multi-energy data in terminal, the energy the transaction device include:
Acquiring unit, for obtaining the Transaction Information of first node and second node in the block chain, wherein described One node represents the node for selling the energy, and the second node indicates the node of the purchase energy;
Execution unit, for being based on the Transaction Information to the corresponding energy number of second node described in the energy account According to progress data update;
Synchronization unit, based on having carried out the corresponding energy number of second node described in the updated energy account of data It is synchronous that data are carried out according to the multi-energy data in the energy measurement terminal to the second node.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the energy method of commerce as described in any one based on block chain.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, realizes as described in any one when the computer program is executed by processor based on block chain The step of energy method of commerce.
Existing beneficial effect is the present invention compared with prior art:
The present invention in block chain by being provided with energy account, and the energy account is for obtaining and storing the block Multi-energy data in chain in the corresponding energy measurement terminal of each node, passes through and obtains first node and the second section in block chain The Transaction Information of point, wherein first node indicates utility vending node, and second node indicates that the energy buys node, based on described Transaction Information carries out data update to the corresponding multi-energy data of second node described in the energy account, based on having carried out data Energy measurement terminal of the corresponding multi-energy data of second node described in the updated energy account to the second node In multi-energy data to carry out data synchronous.By block chain Technology application into distributed energy transaction, by utility vending node and The step of energy buys node and carries out direct dealing, reduces energy transaction, simplifies the process of energy transaction, reduces distribution The transaction complexity of formula energy transaction.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the energy method of commerce provided in an embodiment of the present invention based on block chain;
Fig. 2 is the implementation flow chart of another energy method of commerce based on block chain provided in an embodiment of the present invention;
Fig. 3 is the implementation flow chart of the further energy method of commerce based on block chain provided in an embodiment of the present invention;
Fig. 4 is the implementation flow chart of the another energy method of commerce based on block chain provided in an embodiment of the present invention;
Fig. 5 is the implementation flow chart of the another energy method of commerce based on block chain provided in an embodiment of the present invention;
Fig. 6 is the implementation flow chart of the another energy method of commerce based on block chain provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of the energy the transaction device provided in an embodiment of the present invention based on block chain;
Fig. 8 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
To make the object, technical solutions and advantages of the present invention clearer, pass through specific embodiment below in conjunction with attached drawing To be illustrated.
Referring to Fig. 1, it illustrates the implementation processes of the energy method of commerce provided in an embodiment of the present invention based on block chain Figure, details are as follows:
As shown in Figure 1, being provided with energy account in block chain, energy account is for obtaining each node in simultaneously memory block chain Multi-energy data in corresponding energy measurement terminal, energy method of commerce include:
S101: the Transaction Information of first node and second node in block chain is obtained, wherein first node indicates to sell energy The node in source, second node indicate the node of the purchase energy;
In embodiments of the present invention, energy account is based on the corresponding energy of node each in acquisition and memory block chain The multi-energy data of terminal is measured, the energy account of block chain interior joint can carry out data reading to its corresponding energy measurement terminal It writes, and by the storage of the multi-energy data of the measuring terminal of read-write into its energy account, block chain passes through the energy account of second node The quantity of energy in multi-energy data in family carries out reading and writing data to the corresponding energy measurement terminal of second node, and will be in read-write It stores in the corresponding energy account of second node.Energy account is also used to store the quantity of energy and amount of currency of second node, energy Source account includes electric energy account and fund account, and electric energy account can store the quantity of energy of block chain interior joint and correspond to node Energy measurement terminal carry out reading and writing data, fund account can store block chain circulation amount of currency.
In the energy transaction of block chain, first node is the node for selling the energy, and second node is the section for buying the energy Point, Transaction Information include the energy purchase volume of second node and the amount paid of corresponding energy purchase volume, and Transaction Information further includes the The type of the purchase energy of two nodes.
S102: data update is carried out to the corresponding multi-energy data of second node in energy account based on Transaction Information;
In embodiments of the present invention, second node is the node for buying the energy, based on Transaction Information in energy account the The corresponding multi-energy data of two nodes carries out data update, carries out increasing quantity of energy and to money including the electric energy account to second node Golden account reduce the operation of amount of currency.Correspondingly, first node is the node of the sale energy in transaction, based on transaction letter Breath carries out reduction quantity of energy to the electric energy account of first node and the operation to carrying out increasing amount of currency in fund account.
S103: based on having carried out in the updated energy account of data the corresponding multi-energy data of second node to second node Energy measurement terminal in multi-energy data to carry out data synchronous;
In embodiments of the present invention, after the completion of transactional operation, the increasing of quantity of energy in the energy account based on second node Multi-energy data in the energy measurement terminal of second node is carried out data and synchronized, specifically, second by the reduction for summing it up amount of currency Multi-energy data in the energy measurement terminal of node increases.Energy measurement terminal can be intelligent electric meter.
Correspondingly, based on after the completion of transactional operation, the reduction and fund of quantity of energy in the electric energy account based on first node Multi-energy data in the energy measurement terminal of first node is carried out data and synchronized by the increase of energy fund in account, and data are same Multi-energy data in energy measurement terminal of the step to reduce first node according to the energy purchase volume in Transaction Information, energy measurement Terminal can be intelligent electric meter.
The electric energy account that the quantity of energy of storage node is increased in block chain can make block chain and first node and the The corresponding energy measurement terminal of two nodes carries out the transaction of first node and second node in the synchronous process of data and block chain Process is separation, and the electric energy account in block chain carries out that communication event occurs when data are synchronous with the energy measurement terminal of node When barrier, the process of exchange of first node and second node in block chain is not influenced, can block block chain to avoid because of communication failure The problem of trading between interior nodes ensure that the timeliness traded between block chain interior nodes.
From the foregoing, it will be observed that the present invention increases the electric energy account of the quantity of energy for storage node in block chain, by block Process of exchange between chain interior nodes is separated with the data communication process of the energy measurement terminal of block chain and node, can be to avoid Because communication failure blocks the problem of trading between block chain interior nodes, can make process of exchange between block chain interior nodes not by The influence of the reading and writing data process of block chain energy measurement terminal corresponding with node, the energy method of commerce based on block chain, The step of directly trading, reduce the energy transaction utility vending node and energy purchase node, simplifies energy transaction Process, reduce distributed energy transaction transaction complexity.Solve the problems, such as that distributed energy is complicated between trading, It ensure that being normally carried out for energy transaction.
Referring to fig. 2, it illustrates the realizations of another energy method of commerce based on block chain provided in an embodiment of the present invention Flow chart, details are as follows:
S201: the Transaction Information of first node and second node in block chain is obtained, wherein first node indicates to sell energy The node in source, second node indicate the node of the purchase energy;
S203: data update is carried out to the corresponding multi-energy data of second node in energy account based on Transaction Information;
S204: based on having carried out in the updated energy account of data the corresponding multi-energy data of second node to second node Energy measurement terminal in multi-energy data to carry out data synchronous.
Above-mentioned steps S201, step S203 and step S204 can refer to the step S101 in embodiment illustrated in fig. 1 to step S103, details are not described herein.
S202: audit node is obtained to the auditing result of Transaction Information;
In embodiments of the present invention, audit node is provided in block chain, audit node is audited for auditing Transaction Information Node is used for security audit, and whether within the allowable range audit principle can be to judge the network cost currently traded, if permitting Perhaps in range, audit node, which allows to trade, to be carried out.
When transaction auditing result passes through, the increase energy is carried out to the corresponding energy account of second node based on Transaction Information Amount and the operation for reducing amount of currency.Correspondingly, carrying out the reduction energy to the corresponding energy account of first node based on Transaction Information Amount and the operation for increasing amount of currency.
Obstructed out-of-date in transaction auditing result, first node and second node selection subsequent time period carry out audit or the One node selects other nodes to trade.
Optionally, Transaction Information includes the energy purchase volume of the corresponding energy source user of second node, the energy account packet Include electric energy account;
Correspondingly, carrying out data update, packet to the corresponding multi-energy data of second node in energy account based on Transaction Information It includes:
The quantity of energy data in electric energy account in the corresponding multi-energy data of second node are counted according to energy purchase volume According to update.
In embodiments of the present invention, Transaction Information includes the energy purchase volume of the corresponding energy source user of second node, the energy Purchase volume can be the electric flux of purchase.According to energy purchase volume to the quantity of energy data in the corresponding electric energy account of second node It is updated, including, reduce to the electric energy account of first node the operation of quantity of energy.Correspondingly, corresponding to second node Electric energy account carry out increase quantity of energy operation.Increase electric energy account in block chain, electric power users are for the energy with node Quantity of energy in the measuring terminal of source carries out the synchronous quantity of energy with memory node of data.Transaction between block chain interior joint Journey is not by the shadow of the process synchronous with the quantity of energy progress data in the energy measurement terminal of node of the electric energy account in block chain Ring, when communication failure occurs for the energy measurement terminal of block chain and node, transaction between block chain node can normally into Row, after the energy measurement terminal communication recovery of block chain and node, the electric energy account of node and the energy measurement terminal of node In quantity of energy can to carry out data again synchronous.It ensure that being normally carried out for block chain transaction.
Referring to Fig. 3, it illustrates the realizations of the further energy method of commerce based on block chain provided in an embodiment of the present invention Flow chart, details are as follows:
As shown in figure 3, Transaction Information further includes the payment information of the corresponding energy source user of second node, the energy account It further include fund account;
It is also wrapped correspondingly, carrying out data update to the corresponding multi-energy data of second node in energy account based on Transaction Information It includes:
S301: the transaction confirmation message sent in response to second node,
S302: the amount of currency in the corresponding multi-energy data of second node in fund account is detained according to payment information It removes.
In embodiments of the present invention, fund account is used for circulating fund of the memory node when block chain is traded, i.e., Amount of currency.After block chain obtains the information that second node confirmation is traded with first node, according to the payment in Transaction Information Amount of currency in the corresponding fund account of acquisition of information second node, amount of currency is for the payment funding in energy transaction.
Referring to fig. 4, it illustrates the realizations of the another energy method of commerce based on block chain provided in an embodiment of the present invention Flow chart, details are as follows:
S401: the transaction confirmation message sent in response to second node,
S402: the amount of currency in the corresponding multi-energy data of second node in fund account is detained according to payment information It removes.
Above-mentioned steps S401, step S402 can refer to the step S301 in embodiment illustrated in fig. 3 to step S302, herein not It repeats again.
S403: completing information in response to the transaction that second node is sent,
S404: the amount of currency in the corresponding multi-energy data of first node in fund account is added according to payment information Add.
In embodiments of the present invention, second node receives the energy in Transaction Information in confirming its corresponding electric energy account After purchase volume, the amount of currency that block chain will acquire is added in the corresponding fund account of first node.
Referring to Fig. 5, it illustrates the realizations of the another energy method of commerce based on block chain provided in an embodiment of the present invention Flow chart, details are as follows:
As shown in figure 5, in the transaction confirmation message sent in response to second node, according to payment information in fund account Before amount of currency in the corresponding multi-energy data of second node is deducted further include:
S501: cancelling information in response to the transaction that first node is sent,
S502: this transaction is terminated.
In embodiments of the present invention, before being deducted to the amount of currency in the corresponding multi-energy data of second node, if It receives energy purchase volume that the quantity of energy in first node electric energy account is unsatisfactory in Transaction Information or first node does not need The quantity of energy in Transaction Information, the capable of emitting operation to Cancel Transaction of first node are sold, block chain is obtaining first node transmission Transaction cancel information after, this transaction can be terminated.
Optionally, block chain is alliance's chain.
In embodiments of the present invention, block chain is alliance's chain, and the node for only permitting compliance with condition is added in block chain, and accords with The node of conjunction condition can be the identical node of energy type of transaction.Alliance's chain refers to and participates in the block that node has been determined in advance Chain, only to the open all or part function of alliance internal members.Distributed energy can be made to trade using alliance's chain in the present invention The node that a type of transaction is belonged in node is added in chain, and chain interior joint number is relatively fewer, trade confirmation fast speed, note Account is at low cost, ensure that the safety of data.
Referring to Fig. 6, it illustrates the realizations of the another energy method of commerce based on block chain provided in an embodiment of the present invention Flow chart, details are as follows:
As shown in fig. 6, energy method of commerce further include:
S601: the addition solicited message of the intention node of block chain is added in acquisition request, wherein solicited message, which is added, includes Intention node corresponds to the identity information of user;
S602: the addition request of intention node is audited according to identity information;
S603: block chain is added in the intention node that audit is passed through.
It in embodiments of the present invention, must be by auditing node after the approval just if node has intention to be added in block chain Can be added in block chain becomes node, and audit principle is the corresponding identity information of audit intention node, the identity of intention node Information includes the information such as energy source type, credit, the transactions history of intention node, judges whether intention node meets block chain with this The condition traded.
Referring to Fig. 7, it illustrates the schematic diagrames of the energy the transaction device provided in an embodiment of the present invention based on block chain, in detail It states as follows:
As shown in fig. 7, being provided with energy account in block chain, energy account is for obtaining each node in simultaneously memory block chain Multi-energy data in corresponding energy measurement terminal, energy the transaction device 7 include:
Acquiring unit 71, for obtaining the Transaction Information of first node and second node in block chain, wherein first node Indicate that the node of the sale energy, second node indicate the node of the purchase energy;
Execution unit 72, for carrying out data to the corresponding multi-energy data of second node in energy account based on Transaction Information It updates;
Synchronization unit 73 has carried out the corresponding multi-energy data of second node in the updated energy account of data for being based on It is synchronous that data are carried out to the multi-energy data in the energy measurement terminal of second node.
In embodiments of the present invention, the energy the transaction device 7 based on block chain by setting acquiring unit, execution unit and Synchronization unit reduces the transaction complexity of distributed energy transaction.
Referring to Fig. 8, it illustrates the schematic diagrames of terminal device provided in an embodiment of the present invention.This implementation as shown in Figure 8 Terminal 8 in example may include memory 81, processor 80 and be stored in memory 81 and can run on processor 80 Computer program 82, which is characterized in that processor 80 realized when executing computer program 82 as based on any one of above-mentioned block The step of energy method of commerce of chain.
In embodiments of the present invention, it is realized when processor 80 executes computer program 82 above-mentioned each based on the block chain energy Step in method of commerce embodiment, such as step 101 shown in FIG. 1 is to step 103.Alternatively, the processor 80 executes institute The function of each module/unit in above-mentioned each Installation practice is realized when stating computer program 82.
It should be appreciated that in embodiments of the present invention, alleged processor 80 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
The memory 81 may include read-only memory and random access memory, and provide instruction sum number to processor 80 According to.The a part of of memory 81 can also include nonvolatile RAM.It is set for example, memory 81 can also store The information of standby type.
Illustratively, computer program 82 can be divided into one or more module/units, one or more mould Block/unit is stored in the memory 81, and is executed by above-mentioned processor 80, to complete the present invention.Said one is more A module/unit can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing State implementation procedure of the computer program 82 in the terminal 8.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, above-mentioned computer-readable storage Media storage has computer program 82, realizes when computer program 82 is executed by processor 80 and is based on block chain as described in any one The energy method of commerce the step of.
Computer-readable recording medium storage has computer program, and computer program includes program instruction, program instruction quilt The all or part of the process in above-described embodiment method is realized when processor executes, and phase can also be instructed by computer program The hardware of pass is completed, and computer program can be stored in a computer readable storage medium, the computer program is processed When device executes, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, computer program includes computer program code, meter Calculation machine program code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer can Read medium may include: can carry computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that calculating The content that machine readable medium includes can carry out increase and decrease appropriate, example according to the requirement made laws in jurisdiction with patent practice Such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and telecommunications Signal.
Computer readable storage medium can be the internal storage unit of the terminal of aforementioned any embodiment, such as terminal Hard disk or memory.Computer readable storage medium is also possible to the External memory equipment of terminal, such as the grafting being equipped in terminal Formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, computer readable storage medium can also both include the internal storage unit of terminal or wrap Include External memory equipment.Computer readable storage medium is for storing other program sum numbers needed for computer program and terminal According to.Computer readable storage medium can be also used for temporarily storing the data that has exported or will export.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (11)

1. a kind of energy method of commerce based on block chain, which is characterized in that energy account is provided in the block chain, it is described Energy account is used to obtain and store the multi-energy data in the block chain in the corresponding energy measurement terminal of each node, institute Stating energy method of commerce includes:
Obtain the Transaction Information of first node and second node in the block chain, wherein the first node indicates to sell energy The node in source, the second node indicate the node of the purchase energy;
Data update is carried out to the corresponding multi-energy data of second node described in the energy account based on the Transaction Information;
Based on having carried out the corresponding multi-energy data of second node described in the updated energy account of data to described second It is synchronous that multi-energy data in the energy measurement terminal of node carries out data.
2. the energy method of commerce according to claim 1 based on block chain, which is characterized in that also set in the block chain It is equipped with audit node, is obtained in the block chain after the Transaction Information of first node and second node described further include:
The audit node is obtained to the auditing result of the Transaction Information;
Correspondingly, described carry out the corresponding multi-energy data of second node described in the energy account based on the Transaction Information Data update
If the auditing result is that audit passes through, based on the Transaction Information to second node pair described in the energy account The multi-energy data answered carries out data update.
3. the energy method of commerce according to claim 1 based on block chain, which is characterized in that the Transaction Information includes The second node it is corresponding can source user energy purchase volume, the energy account includes electric energy account;
Correspondingly, carrying out data to the corresponding multi-energy data of second node described in the energy account based on the Transaction Information Update includes:
According to the energy purchase volume to the quantity of energy number in the corresponding multi-energy data of second node described in the electric energy account According to progress data update.
4. the energy method of commerce according to claim 3 based on block chain, which is characterized in that the Transaction Information also wraps The payment information of the corresponding energy source user of the second node is included, the energy account further includes fund account;
Correspondingly, carrying out data to the corresponding multi-energy data of second node described in the energy account based on the Transaction Information It updates further include:
In response to the transaction confirmation message that the second node is sent, according to the payment information to described in the fund account Amount of currency in the corresponding multi-energy data of second node is deducted.
5. the energy method of commerce according to claim 4 based on block chain, which is characterized in that described in response to described The transaction confirmation message that second node is sent, it is corresponding to second node described in the fund account according to the payment information After amount of currency in multi-energy data is deducted further include:
Information is completed in response to the transaction that the second node is sent, according to the payment information to described in the fund account Amount of currency in the corresponding multi-energy data of first node is added.
6. the energy method of commerce according to claim 4 based on block chain, which is characterized in that described in response to described The transaction confirmation message that second node is sent, it is corresponding to second node described in the fund account according to the payment information Before amount of currency in multi-energy data is deducted further include:
Cancel information in response to the transaction that the first node is sent, terminates this transaction.
7. the energy method of commerce according to any one of claims 1 to 6 based on block chain, which is characterized in that the area Block chain is alliance's chain.
8. the energy method of commerce according to claim 7 based on block chain, which is characterized in that the energy method of commerce Further include:
The addition solicited message of the intention node of the block chain is added in acquisition request, wherein the addition solicited message includes The intention node corresponds to the identity information of user;
The addition request of the intention node is audited according to the identity information;
The block chain is added in the intention node that audit is passed through.
9. a kind of energy the transaction device based on block chain, which is characterized in that energy account is provided in the block chain, it is described Energy account is used to obtain and store the multi-energy data in the block chain in the corresponding energy measurement terminal of each node, institute Stating energy the transaction device includes:
Acquiring unit, for obtaining the Transaction Information of first node and second node in the block chain, wherein the first segment Point indicates to sell the node of the energy, the node of the second node expression purchase energy;
Execution unit, for based on the Transaction Information to the corresponding multi-energy data of second node described in the energy account into Row data update;
Synchronization unit has carried out the corresponding energy number of second node described in the updated energy account of data for being based on It is synchronous that data are carried out according to the multi-energy data in the energy measurement terminal to the second node.
10. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor is realized in claim 1 to 8 when executing the computer program The step of energy method of commerce described in any one based on block chain.
11. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the computer program is realized described in any one of claims 1 to 8 as above when being executed by processor based on block chain The step of energy method of commerce.
CN201910464084.7A 2019-05-30 2019-05-30 Energy method of commerce, device and terminal device based on block chain Pending CN110210970A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910464084.7A CN110210970A (en) 2019-05-30 2019-05-30 Energy method of commerce, device and terminal device based on block chain
PCT/CN2020/093053 WO2020239044A1 (en) 2019-05-30 2020-05-28 Blockchain-based energy transaction method and apparatus, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910464084.7A CN110210970A (en) 2019-05-30 2019-05-30 Energy method of commerce, device and terminal device based on block chain

Publications (1)

Publication Number Publication Date
CN110210970A true CN110210970A (en) 2019-09-06

Family

ID=67789742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910464084.7A Pending CN110210970A (en) 2019-05-30 2019-05-30 Energy method of commerce, device and terminal device based on block chain

Country Status (2)

Country Link
CN (1) CN110210970A (en)
WO (1) WO2020239044A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110716977A (en) * 2019-10-17 2020-01-21 广东绿腾新能源服务有限公司 Energy data linking method and device based on block chain
WO2020239044A1 (en) * 2019-05-30 2020-12-03 国网河北省电力有限公司经济技术研究院 Blockchain-based energy transaction method and apparatus, and terminal device
CN112200533A (en) * 2020-09-22 2021-01-08 国网电力科学研究院有限公司 Block chain-based consumption voucher full-life-cycle management method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107067247A (en) * 2017-02-14 2017-08-18 阿里巴巴集团控股有限公司 A kind of fee payment method and device
US20170357966A1 (en) * 2016-06-09 2017-12-14 Mastercard International Incorporated Method and system for use of a proprietary private blockchain
CN108009821A (en) * 2017-12-20 2018-05-08 安徽幸福售电有限公司 The method to set up of self-service long-range power purchase
CN108564471A (en) * 2018-04-17 2018-09-21 南京邮电大学 Energy internet security intelligent trading system based on block chain technology and its method
CN109359985A (en) * 2018-09-19 2019-02-19 南方电网科学研究院有限责任公司 Block chain-based distributed energy transaction execution method, device and equipment
CN109785131A (en) * 2018-12-21 2019-05-21 昆明理工大学 A kind of electricity transaction method based on block chain

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3460940B1 (en) * 2017-09-20 2022-06-08 Hepu Technology Development (Beijing) Co. Ltd. Power trading system
CN108664787A (en) * 2018-05-15 2018-10-16 深圳市网心科技有限公司 Contract deployment, call method, contract audit equipment, storage medium and system
CN109583908A (en) * 2018-10-10 2019-04-05 远光软件股份有限公司 A kind of intelligent electric meter based on block chain technology
CN109377411A (en) * 2018-10-29 2019-02-22 南方电网科学研究院有限责任公司 Block chain-based centralized matching transaction method and device for power market
CN110210970A (en) * 2019-05-30 2019-09-06 国网河北省电力有限公司经济技术研究院 Energy method of commerce, device and terminal device based on block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170357966A1 (en) * 2016-06-09 2017-12-14 Mastercard International Incorporated Method and system for use of a proprietary private blockchain
CN107067247A (en) * 2017-02-14 2017-08-18 阿里巴巴集团控股有限公司 A kind of fee payment method and device
CN108009821A (en) * 2017-12-20 2018-05-08 安徽幸福售电有限公司 The method to set up of self-service long-range power purchase
CN108564471A (en) * 2018-04-17 2018-09-21 南京邮电大学 Energy internet security intelligent trading system based on block chain technology and its method
CN109359985A (en) * 2018-09-19 2019-02-19 南方电网科学研究院有限责任公司 Block chain-based distributed energy transaction execution method, device and equipment
CN109785131A (en) * 2018-12-21 2019-05-21 昆明理工大学 A kind of electricity transaction method based on block chain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020239044A1 (en) * 2019-05-30 2020-12-03 国网河北省电力有限公司经济技术研究院 Blockchain-based energy transaction method and apparatus, and terminal device
CN110716977A (en) * 2019-10-17 2020-01-21 广东绿腾新能源服务有限公司 Energy data linking method and device based on block chain
CN112200533A (en) * 2020-09-22 2021-01-08 国网电力科学研究院有限公司 Block chain-based consumption voucher full-life-cycle management method and device

Also Published As

Publication number Publication date
WO2020239044A1 (en) 2020-12-03

Similar Documents

Publication Publication Date Title
CN110163590B (en) Payment withholding method and device based on block chain, electronic equipment and storage medium
CN110706114B (en) Block chain-based default asset processing method and device and electronic equipment
CN108197944B (en) Resource transaction method and device based on block chain technology
CN110210970A (en) Energy method of commerce, device and terminal device based on block chain
CN110503558A (en) A kind of processing method and processing device based on block catenary system
CN101727712B (en) Transfer method for electronic cash
US20200202396A1 (en) Blockchain-based invoice creation method apparatus, and electronic device
WO2021042810A1 (en) Asset settlement method and apparatus employing blockchain, and electronic device
CN112365119B (en) Distribution network electric energy distributed transaction model based on distributed database support
CN111383119A (en) Asset management method and device based on block chain and electronic equipment
CN108665364A (en) Sell bill of lading checking method and terminal device
EP4162644A1 (en) Convergent consensus method for distributed ledger transaction processing
CN108629689A (en) A method of limit is carried out to transaction
CN109919588A (en) A kind of method and apparatus for preventing from repeating to pay
CN112330181A (en) Enterprise credit evaluation method and device based on block chain
CN111798230A (en) Block chain based staged payment method, device and equipment
CN110443612B (en) Block chain-based reimbursement expense segmentation method and device and electronic equipment
CN106096925A (en) A kind of smart card, the recharge method of a kind of smart card and system
CN110060149A (en) Risk management and control method and system after a kind of loan
CN109903145A (en) Verification of data method, apparatus, equipment and system
CN113128998B (en) Service processing method, device and system of block chain system
CN110060163A (en) Method of commerce, system, medium and the device of podcast chain based on ether mill
US20220180436A1 (en) Resource conversion data processing method and apparatus, computer device, and storage medium
US10991045B2 (en) Blockchain-based settlement method, apparatus, and electronic device
CN109711821A (en) Digital wallet transaction and creation method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190906

RJ01 Rejection of invention patent application after publication