CN114155650A - Electric vehicle charging and discharging transaction system and method based on block chain - Google Patents

Electric vehicle charging and discharging transaction system and method based on block chain Download PDF

Info

Publication number
CN114155650A
CN114155650A CN202111192799.5A CN202111192799A CN114155650A CN 114155650 A CN114155650 A CN 114155650A CN 202111192799 A CN202111192799 A CN 202111192799A CN 114155650 A CN114155650 A CN 114155650A
Authority
CN
China
Prior art keywords
charging
information
request
block chain
party
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
CN202111192799.5A
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
State Grid Jibei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Jibei Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Jibei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202111192799.5A priority Critical patent/CN114155650A/en
Publication of CN114155650A publication Critical patent/CN114155650A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/003Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
    • G07F15/005Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity dispensed for the electrical charging of vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The invention discloses a block chain-based electric vehicle charging and discharging transaction system and method, wherein the method comprises the following steps: responding to the fact that the charging pile and the electric automobile complete login management system operation, and receiving an electricity selling request from an electricity selling party, wherein the electricity selling request is encrypted by preset encryption operation and then sent to a block chain, and the electricity selling party is the charging pile or the electric automobile; receiving a charging request from a charging party, wherein the charging information is encrypted by a preset encryption operation and then is sent to a block chain, and the charging party is an electric automobile or a charging pile; generating job information related to the electricity selling request and the charging request in response to confirmation of the charging request by the electricity selling party; and respectively sending the operation information to the electricity selling party and the charging party so as to facilitate the electricity selling party and the charging party to execute operation, encrypting the operation information based on a preset encryption operation and then sending the encrypted operation information to the block chain. According to the invention, the efficiency of the electric vehicle charging and discharging transaction and the trust of both transaction parties can be improved, and the user privacy data can be protected.

Description

Electric vehicle charging and discharging transaction system and method based on block chain
Technical Field
The invention relates to the technical field of electric power, in particular to an electric vehicle charging and discharging transaction system and method based on a block chain.
Background
Under the dual pressure of global energy crisis and environmental pollution, the development of new energy automobiles is commonly known by all countries, and governments of all countries in the world successively come out excellent subsidy policies to promote the development of electric automobiles. With the continuous perfection of electric automobile charging infrastructure, electric automobiles occupy a large load in a power grid, and have the function of energy storage, so that the electric automobiles play a very important role in the construction process of an energy internet.
The electric automobile is not only a simple energy consumer, but also can become a production investment consumer. For example, the electric automobile does not simply purchase power to the power grid, but the surplus power is stored in the electric automobile during the off-peak period of the power consumption; in the peak period of electricity utilization, the electric steam also participates in electricity selling. The electric automobile participates in electricity utilization transaction, so that the effects of peak clipping and valley filling can be achieved. Because electric vehicles and new energy resources have randomness and uncertainty, the traditional centralized electric power transaction has high maintenance cost, low processing efficiency and poor real-time performance, and is difficult to meet high-frequency small-amount transaction requests of electric vehicle transactions. In addition, the problems that a plurality of vehicles are used, particularly, an operation type public charging pile is few, a large number of charging piles are idle for individuals, and how to establish a trust relationship between the individuals to complete electricity utilization transactions are needed to be solved preferentially exist.
Disclosure of Invention
In view of the above, the present invention provides a block chain-based electric vehicle charging and discharging transaction method, device and system to solve at least one of the above-mentioned problems.
According to a first aspect of the present invention, there is provided a block chain-based electric vehicle charging and discharging transaction method, the method including:
responding to the fact that the charging pile and the electric automobile complete login management system operation, and receiving an electricity selling request from an electricity selling party, wherein the electricity selling request is encrypted by preset encryption operation and then sent to a block chain, and the electricity selling party is the charging pile or the electric automobile;
receiving a charging request from a charging party, wherein the charging information is encrypted by the preset encryption operation and then is sent to a block chain, and the charging party is an electric automobile or a charging pile;
responding to confirmation of the power selling party to the charging request, and generating operation information related to the power selling request and the charging request;
and respectively sending the operation information to the electricity selling party and the charging party so as to facilitate the electricity selling party and the charging party to execute operation, encrypting the operation information based on the preset encryption operation and then sending the operation information to a block chain.
According to a second aspect of the present invention, there is provided a block chain-based electric vehicle charging and discharging transaction method, which is applied to an electric vehicle, the method including:
responding to the fact that the electric automobile finishes logging in a management system operation, sending an electricity selling request to the management system, so that the management system can encrypt the electricity selling request based on a preset encryption operation and then send the electricity selling request to a block chain;
receiving job information from the management system in response to receiving and confirming a charging request from a charging pile, the job information being generated based on the electricity selling request and the charging request;
executing operation according to the operation information and the charging pile;
and sending the job operation information to the management system so that the management system can encrypt the job operation information based on the preset encryption operation and then send the encrypted job operation information to the block chain.
According to a third aspect of the present invention, there is provided a block chain-based electric vehicle charging and discharging transaction device, the device being located in a management system, the device comprising:
the system comprises a power selling request receiving unit, a power selling management unit and a power selling management unit, wherein the power selling request receiving unit is used for responding to the fact that a charging pile and an electric automobile complete login management system operation and receiving a power selling request from a power selling party, the power selling request is encrypted by preset encryption operation and then sent to a block chain, and the power selling party is the charging pile or the electric automobile;
the charging request receiving unit is used for receiving a charging request from a charging party, wherein the charging information is encrypted by the preset encryption operation and then is sent to the block chain, and the charging party is an electric automobile or a charging pile;
a job information generating unit for generating job information related to the power selling request and the charging request in response to confirmation of the charging request by the power selling party;
and the operation information sending unit is used for respectively sending the operation information to the electricity selling party and the charging party so as to facilitate the electricity selling party and the charging party to execute operation, and sending the operation information to the block chain after encrypting the operation information based on the preset encryption operation.
According to a fourth aspect of the present invention, there is provided a block chain-based electric vehicle charging and discharging transaction apparatus, the apparatus being located in an electric vehicle, the apparatus including:
the electric automobile electricity selling request sending unit is used for responding to the fact that the electric automobile finishes logging in a management system operation, sending an electricity selling request to the management system, so that the management system encrypts the electricity selling request based on a preset encryption operation and then sends the electricity selling request to the block chain;
the electric vehicle operation information receiving unit is used for responding to the charging request received and confirmed from the charging pile, receiving operation information from the management system, and the operation information is generated based on the electricity selling request and the charging request;
the electric vehicle operation execution unit is used for executing operation with the charging pile according to the operation information;
and the electric vehicle operation information sending unit is used for sending operation information to the management system so that the management system can encrypt the operation information based on the preset encryption operation and then send the operation information to the block chain.
According to a fifth aspect of the present invention, an electric vehicle charging and discharging transaction system based on a block chain includes: the electric vehicle charging and discharging transaction device based on the block chain is located in the management system, the electric vehicle charging and discharging transaction device based on the block chain is located in the electric vehicle, the charging pile and the node located in the block chain are located in the electric vehicle.
According to a sixth aspect of the present invention, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the program.
According to a seventh aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above method.
According to the technical scheme, after the charging pile and the electric automobile complete the operation of logging in the management system, by receiving the electricity selling request from the electricity selling party and the charging request from the charging party, when the power selling party confirms the charging request, generating operation information related to the power selling request and the charging request, and then respectively sending the operation information to the power selling party and the charging party so as to facilitate the power selling party and the charging party to execute operation, meanwhile, the operation information is encrypted based on the preset encryption operation and then sent to the block chain, compared with the traditional centralized electric power transaction, the technical scheme constructs a transaction flow based on the block chain, improves the efficiency of the electric vehicle charging and discharging transaction and the trust of both transaction parties, meanwhile, privacy data of users are protected, and electric vehicles and personal charging piles are promoted to actively participate in electric power trading and power grid peak shaving.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are 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 block diagram of a block chain based power job processing system according to an embodiment of the present invention;
fig. 2 is a block diagram of the structure of the management system power job processing apparatus 1 according to the embodiment of the present invention;
fig. 3 is a block diagram of the structure of an electric vehicle electric power job processing apparatus 2 according to the embodiment of the present invention;
fig. 4 is a block diagram of the structure of the charging pile 3 according to the embodiment of the present invention;
FIG. 5 is a block chain technology based V2G electric vehicle transaction system exemplary structure diagram according to an embodiment of the invention;
FIG. 6 is a schematic diagram of a block chain technology-based electric vehicle charging/discharging transaction system model according to an embodiment of the present invention;
fig. 7(a) is a flowchart of an electric vehicle charging transaction request according to an embodiment of the present invention;
FIG. 7(b) is a flow chart of a power selling transaction request of an electric vehicle according to an embodiment of the invention;
fig. 8(a) is a flowchart of an electric vehicle charging transaction execution according to an embodiment of the present invention;
FIG. 8(b) is a flowchart illustrating an electric car electricity selling transaction according to an embodiment of the present invention;
fig. 9 is a payment flow diagram of a charging user according to an embodiment of the present invention;
FIG. 10 is a block link point schematic according to an embodiment of the invention;
FIG. 11 is a flowchart illustrating uplink data encryption according to an embodiment of the present invention;
FIG. 12 is a block diagram of an example transaction system based on fog calculations, according to an embodiment of the invention;
FIG. 13 is a flow chart of a method of power job processing according to an embodiment of the present invention;
fig. 14 is a flowchart of a block chain-based power job processing method applied to an electric vehicle according to an embodiment of the present invention;
fig. 15 is a schematic block diagram of a system configuration of an electronic apparatus 600 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In view of the problems that the traditional centralized power transaction is high in maintenance cost, low in processing efficiency and poor in real-time performance, and cannot meet the high-frequency small-amount transaction request of the electric vehicle transaction, and meanwhile, the trust sense of both parties of the power transaction is low, embodiments of the invention provide a block chain-based electric vehicle charging and discharging transaction scheme, or a block chain-based power operation processing scheme. Embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Fig. 1 is a block diagram of a block chain-based power job processing system according to an embodiment of the present invention, and as shown in fig. 1, the power job processing system (which may be referred to as an electric vehicle charging/discharging transaction system) specifically includes: the power operation processing device 1 located in the management system (hereinafter referred to as the management system power operation processing device 1), the power operation processing device 2 located in the electric vehicle (hereinafter referred to as the electric vehicle power operation processing device 2), the charging pile 3 and the block link node 4 located in the block chain, wherein the power operation processing device 1 of the management system receives operation (which may be referred to as transaction) information from the power operation processing device 2 and the charging pile 3, encrypts the received information and transmits the encrypted information to the block chain node 4, so that private data of a user can be effectively protected.
For better understanding of the present invention, the management system electric power work processing apparatus 1, the electric vehicle electric power work processing apparatus 2, and the charging pile 3 are described in detail below, respectively.
(1) Management system electric power job processing apparatus 1
Fig. 2 is a block diagram of the configuration of the management system power job processing apparatus 1, and as shown in fig. 2, the management system power job processing apparatus 1 includes: a power selling request receiving unit 11, a charging request receiving unit 12, a job information generating unit 13, and a job information transmitting unit 14, wherein:
the electricity selling request receiving unit 11 is used for responding to the charging pile and the electric automobile to finish the operation of logging in the management system, and receiving an electricity selling request (including the electricity selling quantity, the electricity selling price and the like) from an electricity selling party, wherein the electricity selling request is encrypted by a preset encryption operation and then sent to the block chain, and the electricity selling party is the charging pile or the electric automobile;
a charging request receiving unit 12, configured to receive a charging request from a charging party, where the charging information is encrypted by the predetermined encryption operation and then sent to the block chain, and the charging party is an electric vehicle or a charging pile;
a job information generating unit 13 for generating job information related to the power selling request and the charging request in response to confirmation of the charging request by the power selling party;
and the work information sending unit 14 is used for sending the work information to the power selling party and the charging party respectively so as to facilitate the power selling party and the charging party to execute work operation, and sending the work information to the block chain after encrypting the work information based on the preset encryption operation.
Preferably, the predetermined encryption operation may be an encryption operation based on an SM4 (cryptographic algorithm) algorithm.
As can be seen from the above description, after the charging pile and the electric vehicle complete the operation of the login management system, the electricity selling request from the electricity selling party received by the electricity selling request receiving unit 11 and the charging request from the charging party received by the charging request receiving unit 12 are received, when the electricity selling party confirms the charging request, the operation information generating unit 13 generates operation information related to the electricity selling request and the charging request, and then the operation information transmitting unit 14 transmits the operation information to the electricity selling party and the charging party, respectively, so that the electricity selling party and the charging party perform operation, and simultaneously encrypt the operation information based on the predetermined encryption operation and transmit the operation information to the block chain, compared with the traditional centralized electric power transaction, the embodiment of the invention constructs a transaction flow based on the block chain, thereby improving the efficiency of the electric vehicle charging and discharging transaction and the trust of both parties, meanwhile, privacy data of users are protected, and electric vehicles and personal charging piles are promoted to actively participate in electric power trading and power grid peak shaving.
In practical operation, the management-system electric-power job processing apparatus 1 described above further includes: a job operation information acquisition unit and a job operation information transmission unit, wherein:
a job operation information acquisition unit for acquiring job operation information;
and the job operation information sending unit is used for encrypting the job operation information based on the preset encryption operation and then sending the encrypted job operation information to the block chain.
Through the job operation information acquisition unit and the job operation information sending unit, private data in a job process can be protected.
In practical operation, the management-system electric-power job processing apparatus 1 described above further includes: a job settlement information generating unit, a job settlement information transmitting unit, and a payment information transmitting unit, wherein:
a job settlement information generating unit configured to generate job settlement information based on job operation information in response to completion of a job operation;
the operation settlement information sending unit is used for sending the operation settlement information to the electricity selling party and the charging party respectively;
and the payment information sending unit is used for responding to the completion of the payment operation of the charger, encrypting the payment information of the charger based on the preset encryption operation and then sending the encrypted payment information to the block chain.
Through the operation settlement information generating unit, the operation settlement information sending unit and the payment information sending unit, payment operation can be carried out on transactions of the electricity selling party and the charging party, and meanwhile, the payment information can be protected through the block chain.
(2) Electric vehicle electric power operation processing device 2
Fig. 3 is a block diagram showing the configuration of the electric vehicle electric power job processing apparatus 2, and as shown in fig. 3, the electric vehicle electric power job processing apparatus 2 includes: an electric vehicle electricity sales request transmitting unit 21, an electric vehicle work information receiving unit 22, an electric vehicle work execution unit 23, and an electric vehicle work operation information transmitting unit 24, wherein:
the electric vehicle electricity selling request sending unit 21 is used for responding to the fact that the electric vehicle finishes logging in a management system operation, sending an electricity selling request to the management system, so that the management system encrypts the electricity selling request based on a preset encryption operation and then sends the electricity selling request to the block chain;
an electric vehicle operation information receiving unit 22 for receiving operation information from the management system in response to receiving and confirming a charging request from a charging pile, the operation information being generated based on the electricity selling request and the charging request;
the electric vehicle operation execution unit 23 is used for executing operation with the charging pile according to the operation information;
and an electric vehicle operation information sending unit 24, configured to send operation information to the management system, so that the management system encrypts the operation information based on the predetermined encryption operation and sends the encrypted operation information to the block chain.
In practical operation, the device 2 further comprises: and the electric vehicle operation settlement information receiving unit is used for receiving electric vehicle operation settlement information from the management system in response to the completion of the operation so as to facilitate the charging pile to execute payment operation, wherein the operation settlement information is generated based on the operation information.
(3) Charging pile 3
Fig. 4 is a block diagram of a charging pile 3, and as shown in fig. 4, the charging pile 3 includes: a charging pile charging request sending unit 31, a charging pile work information receiving unit 32, a charging pile work execution unit 33, and a charging pile work operation information sending unit 34, wherein:
a charging request sending unit 31 for sending a charging request to the management system in response to the charging pile completing the operation of logging in the management system, so that the management system encrypts the charging request based on a predetermined encryption operation and sends the encrypted charging request to a block chain;
a charging pile operation information receiving unit 32 configured to receive operation information from the management system in response to confirmation of the charging request by the electric vehicle, the operation information being generated based on the power selling request and the charging request transmitted by the electric vehicle;
the charging pile operation executing unit 33 is used for executing operation with the electric vehicle according to the operation information;
a charging pile operation information sending unit 34, configured to send operation information to the management system, so that the management system encrypts the operation information based on the predetermined encryption operation and sends the encrypted operation information to the block chain.
In actual operation, fill electric pile 3 and still include: and a charging pile job settlement information receiving unit for receiving charging pile job settlement information from the management system in response to completion of a job operation so that the charging pile performs a payment operation, wherein the job settlement information is generated based on the job operation information.
According to the embodiment of the invention, the transaction process is constructed based on the block chain, so that the efficiency of the electric vehicle charging and discharging transaction and the trust of both transaction parties are improved, the privacy data of the user are protected, and the electric vehicle and the personal charging pile are promoted to actively participate in the electric power transaction and the power grid peak shaving.
In practical operation, the above units may be arranged in combination or singly according to practical operation, and the present invention is not limited thereto.
For a further understanding of the present invention, embodiments of the present invention are described in detail below in connection with the exemplary system presented in FIG. 5.
Fig. 5 is a block-chain-technology-based V2G (Vehicle-to-grid) electric Vehicle transaction system example structure diagram, as shown in fig. 5, the example system including: an administrator connected to the blockchain (the administrator may correspond to the management system described above), a charging pile (corresponding to the charging pile described above), a new energy vehicle, and a V2G vehicle, wherein the new energy vehicle and the V2G vehicle correspond to the electric vehicles described above. Wherein:
and the administrator (also called as an administrator node) is used for generating an encrypted secret key of the user, managing authority information of the charging pile, the new energy automobile and the V2G automobile and auditing registration information of the new registered user.
Charging piles, including personal charging piles and public (or shared) charging piles operated by grid companies. The built-in smart electric meter of charging pile can calculate and record user's transaction electric quantity in real time. And the new energy automobile and the V2G automobile trading user complete the electric power trading according to the trading record in the intelligent ammeter and the trading contract intelligent contract agreed in advance.
The new energy automobile and the V2G automobile (which can be collectively called as an electric automobile) purchase electricity from a power grid when the electricity consumption of the power grid is in a low ebb; when the power consumption of the power grid is in a peak, the electric automobile sells the electric power purchased in the valley, and gains are obtained from the electric power. Electric vehicles can be classified into electric vehicles for selling electricity and electric vehicles for purchasing electricity (or called charging) according to different transaction roles. Each electric automobile can select the role of the electric automobile in the electric power transaction according to the actual situation.
The electric vehicle charging and discharging transaction system based on the block chain technology utilizes the strong advantages of decentralization, non-tampering, traceability and the like of the block chain, and solves the problems of low transaction efficiency, high management difficulty, weak trust of both transaction parties and the like in the V2G electric vehicle charging and discharging transaction. A centralized leading node does not exist in the block chain, the nodes are equal in status and are automatically and spontaneously maintained together through a consensus mechanism, and the requirement of realizing self-adaptive scheduling through user cooperation in the electric vehicle charging and discharging transaction system is met. All the nodes in the block chain share all the historical data, but the data is only visible to the nodes with the authority, so that fairness, justice and openness of transaction are realized, and the problem of privacy protection is solved. Meanwhile, the intelligent contract which can be flexibly programmed in the block chain solves the problems of system analysis and transaction execution.
The model of the electric vehicle charging and discharging transaction system based on the block chain technology is shown in fig. 6, and mainly comprises two parts: (1) user registration and login, and (2) charging and discharging transactions between the charging pile and the electric automobile are carried out. The following describes in detail charging and discharging transactions between the charging pile and the electric vehicle by taking the shared charging pile as an example and combining the model shown in fig. 6.
Referring to fig. 7(a), a transaction request process for charging an electric vehicle includes:
step 1, sharing a charging pile user to log in a system and releasing electricity selling information, wherein the electricity selling information comprises: and after the charging cost and the service cost of the electric automobile are successfully issued, broadcasting the charging cost and the service cost to all block chain nodes, generating a hash value of the electricity selling information, and uploading the hash value to the block chain.
And 2, logging in a system by the new energy vehicle owner and the V2G vehicle owner, selecting a charging pile according to the charging requirement of the new energy vehicle owner and submitting a transaction request, broadcasting all block chain nodes after the request is successful, generating a hash value of the electricity purchasing information, and uploading the hash value to the block chain.
And 3, confirming the transaction information by the shared charging pile user, broadcasting to all block chain nodes after the confirmation is successful, generating a hash value of the confirmation information, and uploading to the block chain. Before the transaction information is linked, the privacy information needs to be encrypted.
And 4, the system issues transaction information and forms an electronic contract.
Referring to fig. 7(b), a process of requesting an electric car electricity selling transaction includes:
step 1, a new energy vehicle owner and a V2G vehicle owner log in a system, electricity selling information is issued, the electricity selling information comprises transaction electric quantity and transaction electricity price information, after the electricity selling information is successfully issued, the electricity selling information is broadcasted to all block chain link points, a hash value of the electricity selling information is generated, and the hash value is uploaded to a block chain.
And 2, the shared charging pile user logs in the system, submits a power purchase information request according to the power purchase demand of the user, broadcasts the power purchase information request to all block chain nodes after the power purchase information request is successful, generates a hash value of the power purchase information, and uploads the hash value to the block chain.
And 3, confirming the transaction information by the new energy vehicle owner and the V2G vehicle owner, broadcasting to all block chain link points after the successful confirmation, generating a hash value of the confirmation information, and uploading to the block chain. Before the transaction information is linked, the privacy information needs to be encrypted.
And 4, the system issues transaction information and forms an electronic contract.
Referring to fig. 8(a), the process for executing the charging transaction for the electric vehicle includes:
step 1, when a new energy vehicle owner or V2G carries out charging transaction, the vehicle owner is connected with a charging pile, and after connection, the charging state is returned. And after the connection is successful, broadcasting the link points of all the blocks, generating a hash value of the connection state information, and uploading the hash value to the block chain.
And 2, after connection is successful, the system feeds back information to a new energy vehicle owner or a V2G vehicle owner and a shared charging pile user, and the user can inquire the charging state information of the electric vehicle in real time.
And 3, after the charging is finished, broadcasting all the block chain link points by the system, generating a hash value of the charging finishing information, and uploading the hash value to the block chain. There are three cases of the end-of-charge condition: the user stops through system operation, the charging time is finished and the electric automobile is fully charged.
And 4, after charging is finished, the system sends charging information to both transaction parties, after the user confirms that the charging information is finished, the transaction execution is finished, the charging information is broadcasted to all block chain nodes, the hash value of the user confirmation information is generated, and the hash value is uploaded to the block chain. Before the user confirms the uplink of the information, the privacy information needs to be encrypted.
And 5, the system issues transaction execution information to generate a settlement list.
Referring to fig. 8(b), an execution flow of the electric car electricity selling transaction includes:
step 1, connecting the new energy vehicle owner and the V2G vehicle owner to a charging pile, and returning to a discharging (namely electricity selling) state after connection. And after the connection is successful, broadcasting the link points of all the blocks, generating a hash value of the connection state information, and uploading the hash value to the block chain.
And 2, after the connection is successful, the system feeds back information to the new energy vehicle owner, the V2G vehicle owner and the shared charging pile user. The user can inquire the discharge state information of the electric automobile in real time.
And 3, after the discharging is finished, broadcasting all the block chain link points, generating a hash value of the discharging finishing information, and uploading the hash value to the block chain. There are three conditions for the end of discharge: and the user stops the system operation, finishes the discharging time, and reaches the discharging amount set by the electric automobile and the electric automobile is lower than the set minimum electric quantity.
And 4, after the discharging is finished, the system sends discharging information to both parties of the transaction, after the user confirms that the discharging is finished, the transaction execution is finished, the hash value of the user confirmation information is generated and is uploaded to the block chain, and the broadcast is broadcasted to all block chain nodes. Before the user confirms the uplink of the information, the privacy information needs to be encrypted.
And 5, the system issues transaction execution information to generate a settlement list.
Fig. 9 is a payment flow chart of the charging user, and as shown in fig. 9, the payment flow includes:
step 1, the system sends a settlement order to the electricity purchasing (i.e., charging) user.
And 2, the user pays the electricity purchasing cost according to the settlement sheet, broadcasts the electricity purchasing cost to all the block chain nodes after successful payment, generates the hash value of the user payment information and uploads the hash value to the block chain. Before the user payment information is uplink, the privacy information needs to be encrypted.
And 3, the system sends payment information to the electricity selling user, and the transaction is completed.
Compared with the traditional transaction system, the transaction data generated by the system of the embodiment of the invention is encrypted and uploaded to the block chain, so that the traceability and the non-falsification of the whole transaction process are ensured, a basis is provided for a user to solve transaction disputes, the trust sense of both transaction parties is improved, and the cost of manual management and maintenance is reduced.
In one embodiment, the V2G electric vehicle transaction system based on the blockchain technology can be developed based on a domestic autonomous controllable interest chain blockchain platform, for example, an application layer selects Vue framework and HTML5, a service layer uses Spring Boot framework, a data layer uses MySQL and other databases, and an intelligent contract is developed by Go language.
The application layer is divided into an application service and an application terminal, wherein: the application service is mainly responsible for specific business logic processing, is a part of interaction between a user and a system, and provides functions of authentication, role authentication, contract management, key management and the like for the user; the application terminal provides a login system entrance and a service development way for the power transaction user, and the charging pile user, the new energy automobile user and the V2G electric automobile user mainly log in the system through the mobile terminal APP.
In the transaction system, the block chain link points are divided into a light node and an accounting node, as shown in fig. 10, the accounting node is similar to the administrator node, and is a block chain consensus node, and records all data of the block chain; the light node is a service node of the block chain system, does not participate in block chain consensus and mainly participates in electric vehicle transaction.
The infrastructure layer of accounting node and light node is different, and the distributed storage of data is realized mainly to the infrastructure layer through utilizing the block chain technique, guarantees traceable, the not falsifiable of transaction, has solved the difficulty of manual management, dispatch, maintenance, wherein:
1) the accounting node stores the complete information of all blocks of the block chain in the infrastructure layer, and can provide data request and block verification for the network for maintaining the operation of the system. A P2P communication network is formed between the accounting node and the light node, and the bottom technical architecture of the electric vehicle charging and discharging transaction system is realized.
2) And the light node, the light node and the accounting node are connected with each other to realize communication.
Infrastructure layer extension layer on the infrastructure layer, because the function of account keeping node and light node, the realization of extension layer is also different, wherein:
1) and the extended layer of the accounting node realizes complex data processing in the settlement process through an intelligent contract, and the privacy of private data is enhanced through a password service.
2) And the light node, the extension layer of which does not relate to the deployment and operation of the intelligent contract, only stores the key of the private data related to the self-registration information and the transaction. Therefore, the system realizes the safety protection of the private information through the password service.
When the transaction system is established, the administrator node registers, broadcasts to all block chain nodes after the registration is successful, generates a hash value of registration information and uploads the hash value to the block chain.
The charging pile users, the new energy automobile users and the V2G automobile users need to be registered before participating in the transaction, the registration information is broadcasted to all block chain nodes after the administrator node passes the audit, hash values of the registration information are generated, and the hash values are uploaded to the block chain.
In order to ensure the transaction security, the user can be activated after the user is successfully registered. After activation is successful, the administrator node distributes authority to the user node, and after operation is successful, the administrator node broadcasts all the block chain nodes, generates hash values of activation information and uploads the hash values to the block chain.
In the user registration process, the following authentication modes can be included:
1) single factor authentication, typically password authentication, is used. When a user registers and logs in the system, a user name and a password need to be provided, the requested resource is returned after verification, and otherwise, the access is denied. The password authentication is single-factor authentication, and is simple to implement and low in cost. And uploading the user registration information to the block chain after the user registration information is processed by the Hash function.
2) Double factor and multiple factor authentication. When a user registers and logs in the system, two (double factors) or more (multiple factors) different authentication factors need to be provided to prove that the identity is legal, so that the data security is protected. Compared with password authentication, multi-factor authentication has higher security level, but has higher cost and complex realization. Multi-factor authentication requires the user to provide not only a username and password, but also other identity credentials (typically a security token or biometric factor). And (4) processing the user registration information through a hash function, calculating to obtain a corresponding hash value, and uploading the hash value to the block chain. The dual-factor and multi-factor authentication adds an additional safety layer to the identity authentication process by increasing the difficulty of an attacker in accessing the system, makes up for the identity authentication risk caused by single-factor authentication, and further ensures the identity information safety and key data safety of a user.
In one embodiment, to secure uplink data of a user, the system will encrypt the uplink data of the user, which may be based on an SM4 block data encryption method, fig. 11 is a uplink data encryption flow chart, as shown in fig. 11, the flow includes:
step 1, encrypting user privacy data by using an SM4 national cryptographic algorithm, wherein the user privacy data comprises identity card information, addresses, declared electric quantity, declared electricity price and the like.
And 2, calculating a hash value of the uplink information of the user by using SHA-256 (hash algorithm), wherein the uplink information of the user comprises encrypted private data and other non-encrypted data.
And 3, uploading the uplink information of the user and the hash value of the uplink information to the block chain.
In practical operation, the ul storing procedure of the user transaction data comprises:
step 1, user registration and key generation: the electric vehicle charging and discharging transaction system firstly completes registration, becomes a legal node of a block chain network after passing the identity authentication of a block chain system administrator node, and acquires a pseudonym set and a certificate thereof for data encryption. When the user registration is successful, the metadata index table of the data storage is downloaded from the administrator node.
Step 2, transaction data uploading: an uploading request is sent to the block chain heavy node, wherein the uploading request comprises a pseudonymous certificate and digital signature information currently used by the node, and authenticity of a data source is guaranteed. After receiving the request, the block chain heavy node verifies the request and the identity information, and responds to the uploading request after passing the verification. And then, encrypting the transaction data and the transaction data signature information by using the public key of the current pseudonym, and encrypting the final uploaded transaction data by using the public key of the block chain heavy node.
Step 3, collecting and uploading transaction data by the block chain heavy nodes: verifying the uploaded data by the block chain heavy node, and storing the verified data locally at the block chain heavy node; otherwise, it is directly ignored.
Step 4, transaction data uplink: and at intervals, the block chain heavy node sends the transaction data collected by the block chain heavy node to the current block accounting node. To ensure the security during transmission, the blockchain heavy node encrypts the transaction data with the public key of the accounting node. After receiving the data, the block accounting node verifies the data, and after the data is verified, the block accounting node adds the data into the uplink data of the current block; otherwise, it is directly ignored. After the block accounting node receives the uplink transaction data of all the blocks, the public keys of other block chain heavy nodes are used for encrypting the data respectively and are sent to the corresponding block chain heavy nodes. After each block chain heavy node receives the uplink block data, the authenticity and the validity of the data are verified, and after the verification is passed, a block generation success request is sent to the accounting node block; otherwise, sending a package generation request. After the accounting block node receives the successful requests of other nodes, the block chain is broadcast with block generation success information, and the block generation is successful; otherwise, repeating the above process until success.
In the implementation process, the transaction system can further construct an aggregation framework based on a fog calculation and management system (namely, an administrator), electric vehicles (including new energy vehicles and V2G vehicles), charging piles and nodes located in a block chain.
Fig. 12 is a diagram of an example transaction system based on fog computing, which, as shown in fig. 12, mainly includes the following five entities: electric automobile, fill electric pile, fog node, cloud server and trusted authority (have the function of above-mentioned management system). Firstly, suppose that the coverage area is divided into m (j is more than or equal to 0 and less than or equal to m) sub-areas, and each sub-area is provided with an electric vehicle EVijAnd (i is more than or equal to 0 and less than or equal to n, and j is more than or equal to 0 and less than or equal to m) represents the ith electric automobile EV in the area j, and all the m x n electric automobiles form the information collection layer. Thus, each sub-area is deployed with one fog node to collect and aggregate power transaction data from its own sub-area. FogjAnd j is more than or equal to 0 and less than or equal to m, the fog nodes under the area j are represented, all m fog nodes form an information convergence layer, and the information convergence layer is positioned at the edge of the network and is positioned between the information collection layer and the service support layer.
An information collection layer: the information collection layer is located at the user side and comprises an electric automobile and a charging pile. At this level, the electric vehicle may purchase power to the grid during low-cost periods and inject excess power to the grid during high-cost periods to obtain certain benefits.
An information convergence layer: the information aggregation layer is positioned at the edge of the network, and is mainly composed of a large number of fog nodes between the information collection layer and the service support layer, the fog nodes belong to different areas, the layer can select one aggregation node according to the residual computing resources of all the fog nodes in each time slot, and the rest are common fog nodes. The common fog node is responsible for summarizing the electric power transaction data of all EVs in the area to which the fog node belongs, and specifically, when the EVs in the area to which the fog node belongs upload the electric power transaction data, the common fog node is responsible for aggregating the information, generating blocks, adding the blocks to a block chain through a consensus mechanism, and uploading the blocks to the aggregation node. The aggregation node is responsible for performing secondary aggregation on the electric power transaction data uploaded by all the fog nodes on the layer to obtain the electric power transaction data of the whole area, packaging the electric power transaction data into blocks according to related information, adding the newly generated blocks into the chain through a consensus mechanism, uploading the blocks to the service supporting layer, and waiting for the cloud server to decrypt and analyze the blocks.
A service support layer: the service supporting layer comprises a cloud server and is mainly responsible for decrypting and analyzing the data reports uploaded at the lower layer.
The trusted authority: it is primarily responsible for generating and managing common parameters and keys for entities in the system. Meanwhile, it generates a bloom filter by collecting pseudonyms of EV and fog nodes and sends the bloom filter to the corresponding entity.
By integrating the aggregation framework constructed by the fog calculation and the block chain technology, powerful support can be provided for safe, reliable and efficient electric power transaction of the V2G network.
Based on similar inventive concepts, the embodiment of the present invention further provides a block chain based power job processing method (or referred to as a block chain based electric vehicle charging and discharging transaction method), which is preferably applicable to the management system power job processing apparatus 1 described above.
Fig. 13 is a flowchart of the electric power job processing method, which includes, as shown in fig. 13:
step 1301, responding to the fact that the charging pile and the electric automobile complete login management system operation, receiving an electricity selling request from an electricity selling party, wherein the electricity selling request is encrypted by preset encryption operation and then sent to a block chain, and the electricity selling party is the charging pile or the electric automobile;
step 1302, receiving a charging request from a charging party, wherein the charging information is encrypted by the predetermined encryption operation and then sent to a block chain, and the charging party is an electric vehicle or a charging pile;
step 1303, responding to the confirmation of the electricity selling party to the charging request, and generating operation information related to the electricity selling request and the charging request;
and 1304, respectively sending the operation information to the electricity seller and the charger so that the electricity seller and the charger can execute operation, encrypting the operation information based on the preset encryption operation, and sending the encrypted operation information to a block chain.
The predetermined encryption operation here may be an encryption operation based on the SM4 algorithm.
As can be seen from the above description, after the charging pile and the electric vehicle complete the operation of logging in the management system, by receiving the electricity selling request from the electricity selling party and receiving the charging request from the charging party, when the power selling party confirms the charging request, generating operation information related to the power selling request and the charging request, and then respectively sending the operation information to the power selling party and the charging party so as to facilitate the power selling party and the charging party to execute operation, meanwhile, the operation information is encrypted based on the preset encryption operation and then sent to the block chain, compared with the traditional centralized electric power transaction, the embodiment of the invention constructs the transaction flow based on the block chain, improves the efficiency of the electric vehicle charge-discharge transaction and the trust of both transaction parties, meanwhile, privacy data of users are protected, and electric vehicles and personal charging piles are promoted to actively participate in electric power trading and power grid peak shaving.
After the power selling party and the charging party execute the operation, the operation information can be obtained, and the operation information is encrypted based on the preset encryption operation and then sent to the block chain.
When the job operation is completed, job settlement information can be generated according to the job operation information; then the operation settlement information is respectively sent to the electricity selling party and the charging party; and in response to the completion of the payment operation of the charger, encrypting the payment information of the charger based on the preset encryption operation and then sending the encrypted payment information to a block chain.
Fig. 14 is a flowchart of a block chain-based electric power job processing method applied to an electric vehicle, which is applicable to the electric vehicle electric power job processing apparatus 2 described above, and as shown in fig. 14, the flowchart includes:
step 1401, responding to the electric automobile completing logging in management system operation, sending an electricity selling request to the management system, so that the management system encrypts the electricity selling request based on a preset encryption operation and sends the electricity selling request to a block chain;
step 1402, in response to receiving and confirming the charging request from the charging pile, receiving job information from the management system, wherein the job information is generated based on the electricity selling request and the charging request;
step 1403, executing operation with the charging pile according to the operation information;
step 1404, sending the job operation information to the management system, so that the management system encrypts the job operation information based on the predetermined encryption operation and sends the encrypted job operation information to the blockchain.
Through the steps, the electricity selling transaction of the electric automobile and the charging pile is realized.
After the operation is completed, operation settlement information from the management system is received and sent to the charging pile, so that the charging pile can conveniently execute payment operation, wherein the operation settlement information is generated based on the operation information.
For the specific execution process of the above steps, reference may be made to the description in the above system embodiment, and details are not described here.
The present embodiment also provides an electronic device, which may be a desktop computer, a tablet computer, a mobile terminal, and the like, but is not limited thereto. In this embodiment, the electronic device may be implemented with reference to the above method embodiments and the block chain-based power job processing apparatus/system embodiments, and the contents thereof are incorporated herein, and repeated descriptions thereof are omitted.
Fig. 15 is a schematic block diagram of a system configuration of an electronic apparatus 600 according to an embodiment of the present invention. As shown in fig. 15, the electronic device 600 may include a central processor 100 and a memory 140; the memory 140 is coupled to the central processor 100. Notably, this diagram is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the blockchain-based power job processing functionality may be integrated into the central processor 100. The central processor 100 may be configured to control as follows:
responding to the fact that the charging pile and the electric automobile complete login management system operation, and receiving an electricity selling request from an electricity selling party, wherein the electricity selling request is encrypted by preset encryption operation and then sent to a block chain, and the electricity selling party is the charging pile or the electric automobile;
receiving a charging request from a charging party, wherein the charging information is encrypted by the preset encryption operation and then is sent to a block chain, and the charging party is an electric automobile or a charging pile;
responding to confirmation of the power selling party to the charging request, and generating operation information related to the power selling request and the charging request;
and respectively sending the operation information to the electricity selling party and the charging party so as to facilitate the electricity selling party and the charging party to execute operation, encrypting the operation information based on the preset encryption operation and then sending the operation information to a block chain.
As can be seen from the above description, the electronic device provided in the embodiment of the present application, after the charging pile and the electric vehicle complete the operation of the login management system, by receiving the electricity selling request from the electricity selling party and receiving the charging request from the charging party, when the power selling party confirms the charging request, generating operation information related to the power selling request and the charging request, and then respectively sending the operation information to the power selling party and the charging party so as to facilitate the power selling party and the charging party to execute operation, meanwhile, the operation information is encrypted based on the preset encryption operation and then sent to the block chain, compared with the traditional centralized electric power transaction, the embodiment of the invention constructs the transaction flow based on the block chain, improves the efficiency of the electric vehicle charge-discharge transaction and the trust of both transaction parties, meanwhile, privacy data of users are protected, and electric vehicles and personal charging piles are promoted to actively participate in electric power trading and power grid peak shaving.
In another embodiment, the block chain based power job processing apparatus/system may be configured separately from the central processor 100, for example, the block chain based power job processing apparatus/system may be configured as a chip connected to the central processor 100, and the block chain based power job processing function is realized by the control of the central processor.
As shown in fig. 15, the electronic device 600 may further include: communication module 110, input unit 120, audio processing unit 130, display 160, power supply 170. It is noted that the electronic device 600 does not necessarily include all of the components shown in FIG. 15; furthermore, the electronic device 600 may also comprise components not shown in fig. 15, which may be referred to in the prior art.
As shown in fig. 15, the central processor 100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, the central processor 100 receiving input and controlling the operation of the various components of the electronic device 600.
The memory 140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 100 may execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides input to the cpu 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display an object to be displayed, such as an image or a character. The display may be, for example, an LCD display, but is not limited thereto.
The memory 140 may be a solid state memory such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 140 may also be some other type of device. Memory 140 includes buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage section 142, and the application/function storage section 142 is used to store application programs and function programs or a flow for executing the operation of the electronic device 600 by the central processing unit 100.
The memory 140 may also include a data store 143, the data store 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 144 of the memory 140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging application, address book application, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter/receiver) 110 is coupled to the central processor 100 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide audio output via the speaker 131 and receive audio input from the microphone 132 to implement general telecommunications functions. Audio processor 130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, an audio processor 130 is also coupled to the central processor 100, so that recording on the local can be enabled through a microphone 132, and so that sound stored on the local can be played through a speaker 131.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the above block chain-based power job processing method.
In summary, the embodiment of the invention provides a vehicle-grid interactive electric vehicle transaction scheme based on a block chain technology for solving the problems of low transaction efficiency, high management difficulty, weak trust of both transaction parties and the like in the charge-discharge transaction of a V2G electric vehicle, so that the electric vehicle and a personal charging pile are promoted to actively participate in electric power transaction and power grid peak shaving, and the transaction efficiency is improved.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings. The many features and advantages of the embodiments are apparent from the detailed specification, and thus, it is intended by the appended claims to cover all such features and advantages of the embodiments which fall within the true spirit and scope thereof. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the embodiments of the invention to the exact construction and operation illustrated and described, and accordingly, all suitable modifications and equivalents may be resorted to, falling within the scope thereof.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (18)

1. A block chain-based electric vehicle charging and discharging transaction method is characterized by comprising the following steps:
responding to the fact that the charging pile and the electric automobile complete login management system operation, and receiving an electricity selling request from an electricity selling party, wherein the electricity selling request is encrypted by preset encryption operation and then sent to a block chain, and the electricity selling party is the charging pile or the electric automobile;
receiving a charging request from a charging party, wherein the charging information is encrypted by the preset encryption operation and then is sent to a block chain, and the charging party is an electric automobile or a charging pile;
responding to confirmation of the power selling party to the charging request, and generating operation information related to the power selling request and the charging request;
and respectively sending the operation information to the electricity selling party and the charging party so as to facilitate the electricity selling party and the charging party to execute operation, encrypting the operation information based on the preset encryption operation and then sending the operation information to a block chain.
2. The method of claim 1, wherein after the power seller and the charger perform the job operation, the method further comprises:
and acquiring operation information, encrypting the operation information based on the preset encryption operation, and sending the encrypted operation information to a block chain.
3. The method of claim 2, wherein after the power seller and the charger perform the job operation, the method further comprises:
generating job settlement information according to the job operation information in response to completion of the job operation;
the operation settlement information is respectively sent to the electricity selling party and the charging party;
and in response to the completion of the payment operation of the charger, encrypting the payment information of the charger based on the preset encryption operation and then sending the encrypted payment information to a block chain.
4. The method of claim 1, wherein when the power selling party is an electric vehicle, the charging party is the charging post, and the predetermined encryption operation is an encryption operation based on an SM4 algorithm.
5. A block chain-based electric vehicle charging and discharging transaction method is characterized by being applied to an electric vehicle, and comprises the following steps:
responding to the fact that the electric automobile finishes logging in a management system operation, sending an electricity selling request to the management system, so that the management system can encrypt the electricity selling request based on a preset encryption operation and then send the electricity selling request to a block chain;
receiving job information from the management system in response to receiving and confirming a charging request from a charging pile, the job information being generated based on the electricity selling request and the charging request;
executing operation according to the operation information and the charging pile;
and sending the job operation information to the management system so that the management system can encrypt the job operation information based on the preset encryption operation and then send the encrypted job operation information to the block chain.
6. The method of claim 5, wherein after sending job operation information to the management system, the method further comprises:
and receiving job settlement information from the management system in response to completion of the job operation so as to facilitate the charging pile to perform a payment operation, wherein the job settlement information is generated based on the job operation information.
7. A block chain-based electric vehicle charging and discharging transaction device is characterized in that the device is located in a management system and comprises:
the system comprises a power selling request receiving unit, a power selling management unit and a power selling management unit, wherein the power selling request receiving unit is used for responding to the fact that a charging pile and an electric automobile complete login management system operation and receiving a power selling request from a power selling party, the power selling request is encrypted by preset encryption operation and then sent to a block chain, and the power selling party is the charging pile or the electric automobile;
the charging request receiving unit is used for receiving a charging request from a charging party, wherein the charging information is encrypted by the preset encryption operation and then is sent to the block chain, and the charging party is an electric automobile or a charging pile;
a job information generating unit for generating job information related to the power selling request and the charging request in response to confirmation of the charging request by the power selling party;
and the operation information sending unit is used for respectively sending the operation information to the electricity selling party and the charging party so as to facilitate the electricity selling party and the charging party to execute operation, and sending the operation information to the block chain after encrypting the operation information based on the preset encryption operation.
8. The apparatus of claim 7, further comprising:
a job operation information acquisition unit for acquiring job operation information;
and the job operation information sending unit is used for encrypting the job operation information based on the preset encryption operation and then sending the encrypted job operation information to the block chain.
9. The apparatus of claim 8, further comprising:
a job settlement information generating unit configured to generate job settlement information based on job operation information in response to completion of a job operation;
the operation settlement information sending unit is used for sending the operation settlement information to the electricity selling party and the charging party respectively;
and the payment information sending unit is used for responding to the completion of the payment operation of the charger, encrypting the payment information of the charger based on the preset encryption operation and then sending the encrypted payment information to the block chain.
10. The apparatus of claim 7, wherein when the power selling party is an electric vehicle, the charging party is the charging post, and the predetermined encryption operation is an encryption operation based on an SM4 algorithm.
11. The utility model provides an electric automobile charges and discharges transaction device based on blockchain which characterized in that, the device is located electric automobile, the device includes:
the electric automobile electricity selling request sending unit is used for responding to the fact that the electric automobile finishes logging in a management system operation, sending an electricity selling request to the management system, so that the management system encrypts the electricity selling request based on a preset encryption operation and then sends the electricity selling request to the block chain;
the electric vehicle operation information receiving unit is used for responding to the charging request received and confirmed from the charging pile, receiving operation information from the management system, and the operation information is generated based on the electricity selling request and the charging request;
the electric vehicle operation execution unit is used for executing operation with the charging pile according to the operation information;
and the electric vehicle operation information sending unit is used for sending operation information to the management system so that the management system can encrypt the operation information based on the preset encryption operation and then send the operation information to the block chain.
12. The apparatus of claim 11, further comprising:
and the electric vehicle operation settlement information receiving unit is used for receiving electric vehicle operation settlement information from the management system in response to the completion of the operation so as to facilitate the charging pile to execute payment operation, wherein the operation settlement information is generated based on the operation information.
13. The utility model provides an electric automobile charges and discharges transaction system based on block chain which characterized in that, electric automobile charges and discharges transaction system includes: the block chain based electric vehicle charging and discharging transaction device located in the management system according to any one of claims 7 to 10, the block chain based electric vehicle charging and discharging transaction device located in the electric vehicle according to claim 11 or 12, the charging pile, and the node located in the block chain.
14. The system of claim 13, wherein the electric vehicle charging and discharging transaction system constructs an aggregation framework based on fog calculations and the management system, the electric vehicle, the charging pile, and the nodes located in the block chain.
15. The system of claim 13, wherein the charging post comprises:
the charging pile charging request sending unit is used for responding to the fact that the charging pile completes logging in the management system operation, sending a charging request to the management system, so that the management system can encrypt the charging request based on a preset encryption operation and then send the charging request to a block chain;
a charging pile operation information receiving unit, configured to receive operation information from the management system in response to confirmation of the charging request by the electric vehicle, where the operation information is generated based on the power selling request and the charging request sent by the electric vehicle;
the charging pile operation execution unit is used for executing operation with the electric vehicle according to the operation information;
and the charging pile operation information sending unit is used for sending operation information to the management system so that the management system can encrypt the operation information based on the preset encryption operation and then send the operation information to the block chain.
16. The system of claim 15, wherein the charging post further comprises:
and a charging pile job settlement information receiving unit for receiving charging pile job settlement information from the management system in response to completion of a job operation so that the charging pile performs a payment operation, wherein the job settlement information is generated based on the job operation information.
17. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the processor executes the program.
18. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202111192799.5A 2021-10-13 2021-10-13 Electric vehicle charging and discharging transaction system and method based on block chain Pending CN114155650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111192799.5A CN114155650A (en) 2021-10-13 2021-10-13 Electric vehicle charging and discharging transaction system and method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111192799.5A CN114155650A (en) 2021-10-13 2021-10-13 Electric vehicle charging and discharging transaction system and method based on block chain

Publications (1)

Publication Number Publication Date
CN114155650A true CN114155650A (en) 2022-03-08

Family

ID=80462430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111192799.5A Pending CN114155650A (en) 2021-10-13 2021-10-13 Electric vehicle charging and discharging transaction system and method based on block chain

Country Status (1)

Country Link
CN (1) CN114155650A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717670A (en) * 2017-09-20 2018-10-30 赫普科技发展(北京)有限公司 A kind of electricity transaction system
CN108932617A (en) * 2018-07-18 2018-12-04 深圳汽航院科技有限公司 A kind of charging pile charge system based on block chain
CN109345714A (en) * 2018-08-31 2019-02-15 华北电力大学(保定) A kind of charging network operating method of charging pile and electric car
CN110138538A (en) * 2019-05-09 2019-08-16 南京邮电大学 The smart grid security and secret protection data aggregation method calculated based on mist
CN110866067A (en) * 2019-11-06 2020-03-06 华南理工大学 Body area network real-time data processing method and system based on fog calculation and block chain
CN111047440A (en) * 2019-11-12 2020-04-21 深圳润世华研发科技有限公司 Distributed shared charging pile transaction system and method based on block chain
CN111106620A (en) * 2019-09-10 2020-05-05 浙江大学 Electric automobile charging distributed management scheme based on block chain
CN111372243A (en) * 2020-03-18 2020-07-03 南京邮电大学 Safe distributed aggregation and access system and method based on fog alliance chain
CN111832066A (en) * 2020-05-20 2020-10-27 南京邮电大学 Block chain assisted V2G security authentication and private data aggregation method
CN111882758A (en) * 2020-07-30 2020-11-03 上海电机学院 Electric vehicle charging pile sharing platform control method based on block chain

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717670A (en) * 2017-09-20 2018-10-30 赫普科技发展(北京)有限公司 A kind of electricity transaction system
CN108932617A (en) * 2018-07-18 2018-12-04 深圳汽航院科技有限公司 A kind of charging pile charge system based on block chain
CN109345714A (en) * 2018-08-31 2019-02-15 华北电力大学(保定) A kind of charging network operating method of charging pile and electric car
CN110138538A (en) * 2019-05-09 2019-08-16 南京邮电大学 The smart grid security and secret protection data aggregation method calculated based on mist
CN111106620A (en) * 2019-09-10 2020-05-05 浙江大学 Electric automobile charging distributed management scheme based on block chain
CN110866067A (en) * 2019-11-06 2020-03-06 华南理工大学 Body area network real-time data processing method and system based on fog calculation and block chain
CN111047440A (en) * 2019-11-12 2020-04-21 深圳润世华研发科技有限公司 Distributed shared charging pile transaction system and method based on block chain
CN111372243A (en) * 2020-03-18 2020-07-03 南京邮电大学 Safe distributed aggregation and access system and method based on fog alliance chain
CN111832066A (en) * 2020-05-20 2020-10-27 南京邮电大学 Block chain assisted V2G security authentication and private data aggregation method
CN111882758A (en) * 2020-07-30 2020-11-03 上海电机学院 Electric vehicle charging pile sharing platform control method based on block chain

Similar Documents

Publication Publication Date Title
Su et al. A secure charging scheme for electric vehicles with smart communities in energy blockchain
CN108650270B (en) Data sharing method and system based on alliance chain and incentive mechanism
Chen et al. Secure electricity trading and incentive contract model for electric vehicle based on energy blockchain
Nguyen et al. Modeling and analysis of data trading on blockchain-based market in IoT networks
CN110599261B (en) Electric automobile safety electric power transaction and excitation system based on energy source block chain
CN110581854B (en) Intelligent terminal safety communication method based on block chain
Li et al. A consortium blockchain-enabled secure and privacy-preserving optimized charging and discharging trading scheme for electric vehicles
TW201916633A (en) Certificate management-based method and system for charging electric vehicle
CN109450877B (en) Block chain-based distributed IDaaS identity unified authentication system
CN109168139B (en) WiFi sharing method based on block chain and server
CN112434343A (en) Virtual power plant safety scheduling and transaction method based on dual block chain technology
CN111047440A (en) Distributed shared charging pile transaction system and method based on block chain
CN101916415A (en) On-demand service method for software license in cloud computing platform
CN109003207B (en) Residence permit information processing method and platform based on block chain
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
Zhang et al. Smart contract for secure billing in ride-hailing service via blockchain
CN110599697A (en) Vehicle sharing method, device and equipment based on block chain and storage medium
CN115049398A (en) Complete data asset trusted management and value transfer system and method
CN112784310A (en) Certificate management method, certificate authorization center, management node and Internet of vehicles terminal
CN114154993A (en) Block chain-based V2G network cross-domain transaction security method
CN110910110A (en) Data processing method and device and computer storage medium
CN112688775B (en) Management method and device of alliance chain intelligent contract, electronic equipment and medium
CN111768189B (en) Charging pile operation method, device and system based on block chain
Razmjouei et al. DAG-based smart contract for dynamic 6G wireless EVs charging system
Monrat et al. Blockchain mobility solution for charging transactions of electrical vehicles

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: 20220308

RJ01 Rejection of invention patent application after publication