[go: up one dir, main page]

CN111861661A - An electric vehicle charging transaction method and device - Google Patents

An electric vehicle charging transaction method and device Download PDF

Info

Publication number
CN111861661A
CN111861661A CN202010693721.0A CN202010693721A CN111861661A CN 111861661 A CN111861661 A CN 111861661A CN 202010693721 A CN202010693721 A CN 202010693721A CN 111861661 A CN111861661 A CN 111861661A
Authority
CN
China
Prior art keywords
user
transaction
information
value
current
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
CN202010693721.0A
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.)
Beijing University of Posts and Telecommunications
Information and Telecommunication Branch of State Grid Henan Electric Power Co Ltd
Original Assignee
Beijing University of Posts and Telecommunications
Information and Telecommunication Branch of State Grid Henan 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 Beijing University of Posts and Telecommunications, Information and Telecommunication Branch of State Grid Henan Electric Power Co Ltd filed Critical Beijing University of Posts and Telecommunications
Priority to CN202010693721.0A priority Critical patent/CN111861661A/en
Publication of CN111861661A publication Critical patent/CN111861661A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/60Monitoring or controlling charging stations
    • B60L53/66Data transfer between charging stations and vehicles
    • B60L53/665Methods related to measuring, billing or payment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0208Trade or exchange of goods or services in exchange for incentives or rewards
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/12Electric charging stations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/20Information technology specific aspects, e.g. CAD, simulation, modelling, system security

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Game Theory and Decision Science (AREA)
  • Power Engineering (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明实施例提供一种电动汽车充电交易方法及装置,该方法包括:获取用电时间信息和用户编号信息,根据所述用户编号信息在区块链账本中查询到用户当前信誉值和用户积分余额信息;根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分;根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息,并将所述用户当前积分余额信息和本次交易的用户信誉得分写入区块链账本。通过设计了区块链充电交易的账户,使用电力积分代替了代币进行资金的流通,可以有效防止交易信息的篡改,设计了用户信誉机制,以及基于用户信誉度的服务费计算模型,有利于促进诚信交易,维持充电交易市场的健康运转。

Figure 202010693721

Embodiments of the present invention provide a method and device for charging an electric vehicle. The method includes: acquiring electricity consumption time information and user number information, and querying the user's current reputation value and user points in a blockchain ledger according to the user number information Balance information; according to the electricity consumption time information and the current credit value information of the user, determine the point value consumed by this transaction and the user credit score of this transaction; obtain the user point balance information and the point value consumed by this transaction according to the user point balance information The current point balance information, and the user's current point balance information and the user's credit score for this transaction are written into the blockchain ledger. By designing an account for charging transactions on the blockchain, using electricity points instead of tokens for the circulation of funds can effectively prevent the tampering of transaction information, design a user reputation mechanism, and a service fee calculation model based on user reputation, which is conducive to Promote honest transactions and maintain the healthy operation of the charging transaction market.

Figure 202010693721

Description

一种电动汽车充电交易方法及装置An electric vehicle charging transaction method and device

技术领域technical field

本发明涉及充电交易技术领域,尤其涉及一种电动汽车充电交易方法及装置。The present invention relates to the technical field of charging transactions, and in particular, to a method and device for charging transactions of electric vehicles.

背景技术Background technique

电动汽车凭借其高能量转换效率、低排放的特性,近些年获得了迅猛发展。然而,在我国的电动汽车产业实现了跨越式的发展的同时,依然存在着不重视充电桩、充电基础设施建设及运营模式滞后的问题,造成了有车无桩、车多桩少等发展不协调的现象。Electric vehicles have developed rapidly in recent years due to their high energy conversion efficiency and low emissions. However, while my country's electric vehicle industry has achieved leapfrog development, there are still problems of not paying attention to charging piles, charging infrastructure construction and operating mode lag, resulting in the development of vehicles with no piles, more vehicles and fewer piles, etc. phenomenon of coordination.

私人充电桩具有明显的共享经济属性,业务潜在价值巨大,具备广阔的发展前景和商业创新空间。目前,已经有不少厂商开始布局共享充电桩,以解决电动汽车充电难的问题。Private charging piles have obvious sharing economy attributes, huge potential business value, broad development prospects and commercial innovation space. At present, many manufacturers have begun to deploy shared charging piles to solve the problem of difficult charging of electric vehicles.

然而,目前充电桩共享平台大多采用中心化管理的结构,存在以下弊端:需增加额外的人力资源等成本,通过人工进行管理,车主、充电桩信息由平台单方面保管,存在用户隐私泄漏的风险,中心化管理平台无法自证清白;中心化平台一旦遭到攻击,存在用户信息泄漏、交易数据被篡改的风险,无法保证信息安全,目前充电桩网络大多是政府和企业的自组织网络,标准不统一,跨运营商协作时建立信用成本高,交易、支付过程复杂;同时数据互联互通难,容易形成信息孤岛。However, at present, most of the charging pile sharing platforms adopt a centralized management structure, which has the following drawbacks: additional human resources and other costs need to be added, and management is performed manually. , the centralized management platform cannot prove its innocence; once the centralized platform is attacked, there is a risk of user information leakage and transaction data being tampered with, and information security cannot be guaranteed. At present, most charging pile networks are self-organized networks of governments and enterprises. If it is not unified, the cost of establishing credit in cross-operator collaboration is high, and the transaction and payment processes are complicated. At the same time, data interconnection is difficult, and it is easy to form information islands.

因此,如何更好的实现电动汽车充电交易已经成为业界亟待解决的问题。Therefore, how to better realize the electric vehicle charging transaction has become an urgent problem to be solved in the industry.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种电动汽车充电交易方法及装置,用以解决上述背景技术中提出的技术问题,或至少部分解决上述背景技术中提出的技术问题。Embodiments of the present invention provide an electric vehicle charging transaction method and device, which are used to solve the technical problems raised in the above-mentioned background art, or at least partially solve the technical problems raised in the above-mentioned background art.

第一方面,本发明实施例提供一种电动汽车充电交易方法,包括:In a first aspect, an embodiment of the present invention provides an electric vehicle charging transaction method, including:

获取用电时间信息和用户编号信息,根据所述用户编号信息在区块链账本中查询到用户当前信誉值和用户积分余额信息;Obtain electricity consumption time information and user number information, and query the user's current reputation value and user point balance information in the blockchain ledger according to the user number information;

根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分;Determine the consumption points value of this transaction and the user's reputation score of this transaction according to the electricity consumption time information and the user's current reputation value information;

根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息,并将所述用户当前积分余额信息和本次交易的用户信誉得分写入区块链账本。The user's current point balance information is obtained according to the user's point balance information and the value of points consumed in this transaction, and the user's current point balance information and the user's credit score of this transaction are written into the blockchain ledger.

更具体的,所述本次交易消耗积分值包括:本次交易充电消耗积分值和本次交易服务积分值。More specifically, the point value consumed by the current transaction includes: the point value consumed by charging for the current transaction and the value of the current transaction service point value.

更具体的,所述根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值的步骤,具体包括:More specifically, the step of determining the point value consumed by this transaction according to the power consumption time information and the user's current reputation value information specifically includes:

根据所述用户当前信誉值信息获取用电价格系数;Obtain the electricity price coefficient according to the current reputation value information of the user;

根据所述用电时间信息和分时定价信息确定初步交易消耗积分值,根据所述用电价格系数和所述初步交易消耗积分值确定本次充电消耗积分值,以根据本次交易充电消耗积分值确定本次交易消耗积分值。The preliminary transaction consumption point value is determined according to the electricity consumption time information and the time-of-use pricing information, and the current charging consumption point value is determined according to the electricity price coefficient and the preliminary transaction consumption point value, so as to charge consumption points according to the current transaction The value determines the value of points consumed by this transaction.

更具体的,在所述根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息的步骤之后,所述方法还包括:More specifically, after the step of obtaining the user's current point balance information according to the user point balance information and the current transaction point consumption value, the method further includes:

根据所述用户编号信息在区块链账本中查询到用户当前交易次数;According to the user number information, the current number of transactions of the user is queried in the blockchain ledger;

根据所述用户当前交易次数、本次交易消耗积分值和用户当前信誉值计算新的用户信誉值,并将所述新的用户信誉值写入区块链账本。Calculate a new user reputation value according to the current number of transactions of the user, the value of points consumed by this transaction, and the current user reputation value, and write the new user reputation value into the blockchain ledger.

更具体的,在所述根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息的步骤之后,所述方法还包括:More specifically, after the step of obtaining the user's current point balance information according to the user point balance information and the current transaction point consumption value, the method further includes:

获取本次交易充电桩服务评分信息,并根据充电桩编号在区块链账本中查询充电桩背书经验值和充电桩当前服务评分;Obtain the charging pile service rating information for this transaction, and query the charging pile endorsement experience value and charging pile current service rating in the blockchain ledger according to the charging pile number;

根据所述本次交易充电桩服务评分信息、充电桩当前服务评分、充电桩背书经验值和充电桩当前服务评分计算新的充电桩服务评分,并将新的充电桩服务评分写入区块链账本。Calculate the new charging pile service score according to the charging pile service score information of this transaction, the current service score of the charging pile, the endorsement experience value of the charging pile and the current service score of the charging pile, and write the new charging pile service score into the blockchain ledger.

更具体的,所述根据充电桩编号在区块链账本中查询充电桩背书经验值的步骤,具体包括:More specifically, the step of querying the charging pile endorsement experience value in the blockchain ledger according to the charging pile number specifically includes:

根据充电桩编号在区块链账本中获取充电桩担任背书节点的次数;Obtain the number of times the charging pile acts as an endorsement node in the blockchain ledger according to the charging pile number;

将充电桩担任背书节点的次数与账本更新总次数求商,得到充电桩背书经验值。The number of times the charging pile serves as an endorsement node and the total number of ledger updates are calculated to obtain the endorsement experience value of the charging pile.

更具体的,在所述根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分的步骤之后,所述方法还包括:More specifically, after the step of determining the consumption points value of this transaction and the user reputation score of this transaction according to the electricity consumption time information and the user's current reputation value information, the method further includes:

根据充电桩编号在区块链账本中查询充电桩当前积分余额信息;Query the current point balance information of the charging pile in the blockchain ledger according to the charging pile number;

根据所述本次交易消耗积分值和充电桩当前积分余额信息计算新的充电桩积分余额信息,并将所述新的充电桩积分余额信息写入区块链账本。Calculate the new charging pile point balance information according to the current transaction point consumption value and the current point balance information of the charging pile, and write the new charging pile point balance information into the blockchain ledger.

第二方面,本发明实施例提供一种电动汽车充电交易装置,包括:In a second aspect, an embodiment of the present invention provides an electric vehicle charging transaction device, including:

查询模块,用于获取用电时间信息和用户编号信息,根据所述用户编号信息在区块链账本中查询到用户当前信誉值和用户积分余额信息;The query module is used to obtain electricity consumption time information and user number information, and query the user's current reputation value and user point balance information in the blockchain ledger according to the user number information;

计算模块,用于根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分;a calculation module, configured to determine the consumption point value of this transaction and the user's reputation score of this transaction according to the electricity consumption time information and the user's current reputation value information;

交易模块,用于根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息,并将所述用户当前积分余额信息和本次交易的用户信誉得分写入区块链账本。The transaction module is configured to obtain the user's current point balance information according to the user point balance information and the point consumption value of this transaction, and write the user's current point balance information and the user credit score of this transaction into the blockchain ledger.

第三方面,本发明实施例提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如第一方面所述电动汽车充电交易方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the program as described in the first aspect when the processor executes the program Describe the steps of the electric vehicle charging transaction method.

第四方面,本发明实施例提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面所述电动汽车充电交易方法的步骤。In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the electric vehicle charging transaction method according to the first aspect.

本发明实施例提供的一种电动汽车充电交易方法及装置,通过设计了区块链充电交易的账户,使用电力积分代替了代币进行资金的流通,可以有效防止交易信息的篡改,同时保证每一笔充电交易可追溯,设计了用户信誉机制,以及基于用户信誉度的服务费计算模型,有利于促进诚信交易、打击低信用用户行为,维持充电交易市场的健康运转。An electric vehicle charging transaction method and device provided by the embodiments of the present invention, by designing an account for a blockchain charging transaction, and using electricity points instead of tokens for the circulation of funds, can effectively prevent the tampering of transaction information, and ensure that every A charging transaction can be traced back, a user reputation mechanism and a service fee calculation model based on user reputation are designed, which is conducive to promoting honest transactions, combating low-credit user behavior, and maintaining the healthy operation of the charging transaction market.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1为本发明一实施例中所描述的电动汽车交易模型网络结构图;FIG. 1 is a network structure diagram of an electric vehicle transaction model described in an embodiment of the present invention;

图2为本发明一实施例所描述的区块链充电模型交易流程图;FIG. 2 is a flowchart of a blockchain charging model transaction according to an embodiment of the present invention;

图3为本发明一实施例中所描述的电动汽车充电交易方法流程示意图;3 is a schematic flowchart of an electric vehicle charging transaction method described in an embodiment of the present invention;

图4为本发明一实施例所描述的背书经验值M对充电服务评价的影响仿真图;FIG. 4 is a simulation diagram of the influence of endorsement experience value M on charging service evaluation according to an embodiment of the present invention;

图5为本发明一实施例所描述的服务质量对充电服务评价的影响仿真示意图;FIG. 5 is a schematic diagram of simulation of the influence of service quality on charging service evaluation according to an embodiment of the present invention;

图6为本发明一实施例所描述的用户信誉Rv对充电服务评价的影响仿真图;6 is a simulation diagram illustrating the influence of user reputation Rv on charging service evaluation according to an embodiment of the present invention;

图7为本发明另一实施例所描述的用户信誉Rv对充电服务评价的影响仿真图;7 is a simulation diagram of the influence of user reputation Rv on charging service evaluation according to another embodiment of the present invention;

图8为本发明一实施例所描述的基于用户信誉的服务计费仿真图;FIG. 8 is a simulation diagram of service charging based on user reputation according to an embodiment of the present invention;

图9为本发明一实施例所描述的电动汽车充电交易装置示意图;9 is a schematic diagram of an electric vehicle charging transaction device according to an embodiment of the present invention;

图10为本发明一实施例所描述的电子设备结构示意图。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, 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 accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

电动汽车充电交易方法基于联盟区块链Hyperledger Fabric进行搭建,因此是典型的Fabric网络结构,图1为本发明一实施例中所描述的电动汽车交易模型网络结构图,如图1所示,由充电交易应用程序、各充电运营商充电桩节点、排序服务节点和充电交易平台身份管理组织构成。The electric vehicle charging transaction method is built based on the consortium blockchain Hyperledger Fabric, so it is a typical Fabric network structure. Figure 1 is a network structure diagram of the electric vehicle transaction model described in an embodiment of the present invention. The charging transaction application program, the charging pile nodes of each charging operator, the ordering service node and the identity management organization of the charging transaction platform are composed.

通道是由排序节点划分和管理的私有原子广播通道,可以对通道的信息进行隔离而使得通道外的实体无法访问,实现了交易的安全性。The channel is a private atomic broadcast channel divided and managed by the ordering node, which can isolate the information of the channel and make the entities outside the channel inaccessible, thus realizing the security of the transaction.

充电交易应用程序即客户端节点,它通过连接Peer节点或排序服务节点,将用户的交易请求发送到区块链网络。每个充电运营商公司都有多个Peer节点,每个节点上都保存着智能合约。所有Peer节点都是记账节点(Commit Peer),负责维护区块链账本副本。部分Peer节点根据背书策略的设定会执行交易并对结果进行签名背书,充当了背书节点(Endorse Peer)的角色。为了提高节点的通信效率,还会有节点担任主节点(Leader Peer)和排序服务节点进行通信,负责从排序服务节点获取最新的区块并在组织内部同步。一个Peer节点可以同时担任主节点、背书节点和记账节点。排序服务节点负责交易的排序,它接收包含背书签名的合法交易并进行全局排序,将排序好的交易打包成区块并广播给Peer节点。The charging transaction application is the client node, which sends the user's transaction request to the blockchain network by connecting to the peer node or the ordering service node. Each charging operator company has multiple peer nodes, and smart contracts are stored on each node. All peer nodes are bookkeeping nodes (Commit Peers), responsible for maintaining a copy of the blockchain ledger. Some Peer nodes will execute transactions and endorse the results according to the endorsement policy settings, acting as Endorse Peers. In order to improve the communication efficiency of nodes, there will also be nodes acting as leader peers to communicate with ordering service nodes, responsible for obtaining the latest blocks from ordering service nodes and synchronizing them within the organization. A peer node can act as the master node, endorsement node and accounting node at the same time. The ordering service node is responsible for the ordering of transactions. It receives legal transactions with endorsement signatures and performs global ordering, and packages the ordered transactions into blocks and broadcasts them to peer nodes.

充电交易平台身份管理组织担任成员资格服务提供者(Membership serviceprovider,MSP)的角色,为充电运营商的节点、充电交易应用程序提供授权服务。The identity management organization of the charging transaction platform acts as a membership service provider (MSP), providing authorization services for the charging operator's nodes and charging transaction applications.

区块链系统是去中心化的设计,因此必须通过投票(少数服从多数)来维持数据的一致性,任何投票都需要经过三个过程:提案—>投票并统计结果—>记录并公布获得多数同意的提案。图2为本发明一实施例所描述的区块链充电模型交易流程图,如图2所示,由充电交易应用程序向通道中的背书节点发起交易的提案,收到提案的背书节点在验证客户端身份后,调用并模拟执行智能合约(此时并不会将交易信息写入账本),然后将执行结果和各自的证书签名返回给客户端。充电交易应用程序在收到足够数量的结果后,统计、汇总各背书节点的执行结果,将获得多数同意的提案签名后发送给排序服务节点。排序服务节点将各客户端发送的交易排序(如果各客户端交易顺序不确定,可能存在双重支付问题),并打包为区块发送给记账节点,各记账节点各自验证结果无误后,将区块记录到自己的账本中。最终,充电交易应用程序通过订阅事件收到了交易成功的通知。The blockchain system is a decentralized design, so the consistency of data must be maintained through voting (minority obeys the majority). Any voting needs to go through three processes: proposal -> vote and count the results -> record and publish the majority Agreed proposal. Figure 2 is a flow chart of a blockchain charging model transaction described in an embodiment of the present invention. As shown in Figure 2, a charging transaction application program initiates a transaction proposal to an endorsement node in the channel, and the endorsement node that receives the proposal is verifying After the client is identified, the smart contract is called and simulated to execute (the transaction information will not be written to the ledger at this time), and then the execution result and the respective certificate signature are returned to the client. After the charging transaction application receives a sufficient number of results, it counts and summarizes the execution results of each endorsement node, and signs the proposal with the majority agreement and sends it to the ordering service node. The ordering service node sorts the transactions sent by each client (if the transaction order of each client is uncertain, there may be a double payment problem), and packs it into a block and sends it to the accounting node. Blocks are recorded in their own ledger. Finally, the charging transaction application is notified that the transaction is successful by subscribing to the event.

图3为本发明一实施例中所描述的电动汽车充电交易方法流程示意图,如图3所示,包括:FIG. 3 is a schematic flowchart of an electric vehicle charging transaction method described in an embodiment of the present invention, as shown in FIG. 3 , including:

步骤S1,获取用电时间信息和用户编号信息,根据所述用户编号信息在区块链账本中查询到用户当前信誉值和用户积分余额信息;Step S1, obtaining electricity consumption time information and user number information, and querying the user's current reputation value and user point balance information in the blockchain ledger according to the user number information;

步骤S2,根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分;Step S2, according to the electricity consumption time information and the current reputation value information of the user, determine the point value consumed by this transaction and the user reputation score of this transaction;

步骤S3,根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息,并将所述用户当前积分余额信息和本次交易的用户信誉得分写入区块链账本。Step S3, obtain the user's current point balance information according to the user point balance information and the current transaction point consumption value, and write the user's current point balance information and the user credit score of this transaction into the blockchain ledger.

具体的,本发明实施例中所描述电动汽车充电交易方法在基于区块链技术的电动汽车充电交易平台上采用电力积分代替代币进行资金流的流动。用户可以购买、使用、兑换电力积分:当积分不足时,可向电力供应商或其他节点购买,多余的积分也可以兑换为电费。Specifically, the electric vehicle charging transaction method described in the embodiments of the present invention uses power points to replace tokens to flow capital flows on an electric vehicle charging transaction platform based on blockchain technology. Users can purchase, use, and exchange power points: when the points are insufficient, they can be purchased from power suppliers or other nodes, and the excess points can also be exchanged for electricity bills.

本发明实施例中所描述的用户当前信誉值是用户在每次完成电动汽车充电交易后,根据其交易行为对其信用进行评估,用户在前一次充电交易后及时支付获得一个积分奖励,反之被扣除一个积分。当用户信用较低时,限制其无法查看充电桩服务评分;当其信用值低于平台设定的最低信用阈值Rmin时,限制其无法使用充电服务。本平台最低信用阈值设为0。The current credit value of the user described in the embodiment of the present invention is that the user evaluates his credit according to his transaction behavior after each electric vehicle charging transaction is completed. One point is deducted. When the user's credit is low, it is restricted from not being able to view the charging pile service score; when the user's credit value is lower than the minimum credit threshold R min set by the platform, it is restricted from being unable to use the charging service. The minimum credit threshold of this platform is set to 0.

本发明实施例中所描述每次充电时,需要根据分时定价系统来确定,同时针对于不同的信誉度也存在不同的用电价格系数。Each charging described in the embodiment of the present invention needs to be determined according to the time-of-use pricing system, and there are also different electricity price coefficients for different credit degrees.

具体的,本发明实施例中所描述的分时定价系统可以参照电网分时定价系统,即峰谷电价,可以按照高峰、低谷、平均三段分别计算电费的一种定价制度,各个充电运营商可以根据区域的实际情况不同具体划分各个时段,例如,峰段8小时(10:00~15:00;18:00~21:00)、谷段8小时(23:00~7:00)、平段8小时(7:00~10:00;15:00~18:00;21:00~23:00)。Specifically, the time-of-use pricing system described in the embodiments of the present invention may refer to the time-of-use pricing system of the power grid, that is, the peak-valley electricity price. Each time period can be specifically divided according to the actual situation of the region, for example, 8 hours in the peak section (10:00~15:00; 18:00~21:00), 8 hours in the valley section (23:00~7:00), Flat section for 8 hours (7:00~10:00; 15:00~18:00; 21:00~23:00).

同时本发明实施例还设定了用户信誉值相关联的服务定价机制,即信誉值越高的用户需付的服务费单价越低,反之则承担更高的服务费。该机制有利于促进低信誉用户在充电交易完成后及时支付以提高信用值,维持平台的稳定运行。At the same time, the embodiment of the present invention also sets a service pricing mechanism associated with the user reputation value, that is, a user with a higher reputation value needs to pay a lower unit price of the service fee, and vice versa, bear a higher service fee. This mechanism is conducive to promoting low-credibility users to pay in time after the charging transaction is completed to increase the credit value and maintain the stable operation of the platform.

在充电完成后,按照智能合约执行交易结算的步骤,获取充电开始时间tstart和结束时间tend,并根据分时电价划分为k个时段,同时根据用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分,若支付后用户余额小于0,更新本次交易的用户信誉得分为0;否则本次交易的用户信誉得分为1,本次交易的用户信誉得分用于用户信誉值的更新,当车主信誉值不大于0时,将无法使用充电服务。After the charging is completed, execute the steps of transaction settlement according to the smart contract, obtain the charging start time t start and end time t end , and divide it into k time periods according to the time-of-use electricity price, and at the same time according to the electricity consumption time information and the user's current reputation value The information determines the value of points consumed by this transaction and the user's reputation score of this transaction. If the user's balance after payment is less than 0, the user's reputation score for updating this transaction is 0; otherwise, the user's reputation score for this transaction is 1, and this transaction The user credit score is used to update the user credit value. When the owner credit value is not greater than 0, the charging service will not be available.

将用户当前积分余额信息和本次交易的用户信誉得分写入区块链账本。Write the user's current point balance information and the user's credit score for this transaction into the blockchain ledger.

本发明实施例通过设计了区块链充电交易的账户,使用电力积分代替了代币进行资金的流通,可以有效防止交易信息的篡改,同时保证每一笔充电交易可追溯,设计了用户信誉机制,以及基于用户信誉度的服务费计算模型,有利于促进诚信交易、打击低信用用户行为,维持充电交易市场的健康运转。In the embodiment of the present invention, by designing an account for charging transactions on the blockchain, and using electricity points instead of tokens for the circulation of funds, the tampering of transaction information can be effectively prevented, and the traceability of each charging transaction is ensured, and a user reputation mechanism is designed. , and a service fee calculation model based on user reputation, which is conducive to promoting honest transactions, combating low-credit user behavior, and maintaining the healthy operation of the charging transaction market.

在上述实施例的基础上,所述本次交易消耗积分值包括:本次交易充电消耗积分值和本次交易服务积分值。On the basis of the above-mentioned embodiment, the point value consumed by the current transaction includes: the point value consumed by charging for the current transaction and the point value of the current transaction service.

所述根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值的步骤,具体包括:The step of determining the point value consumed by this transaction according to the power consumption time information and the user's current reputation value information specifically includes:

根据所述用户当前信誉值信息获取用电价格系数;Obtain the electricity price coefficient according to the current reputation value information of the user;

根据所述用电时间信息和分时定价信息确定初步交易消耗积分值,根据所述用电价格系数和所述初步交易消耗积分值确定本次充电消耗积分值,以根据本次交易充电消耗积分值确定本次交易消耗积分值。The preliminary transaction consumption point value is determined according to the electricity consumption time information and the time-of-use pricing information, and the current charging consumption point value is determined according to the electricity price coefficient and the preliminary transaction consumption point value, so as to charge consumption points according to the current transaction The value determines the value of points consumed by this transaction.

具体的,本发明实施例中的初步交易消耗积分值是未考虑用电价格系数时,计算的充电消耗的积分值,本次充电消耗积分值是考虑了用电价格系数后计算的冲段消耗的积分值。Specifically, the preliminary transaction consumption integral value in the embodiment of the present invention is the integral value of charging consumption calculated when the electricity price coefficient is not considered, and the current charging consumption integral value is the segment consumption calculated after considering the electricity price coefficient the integral value of .

本发明实施例中本次交易消耗积分值是由充电消耗积分值Fc及服务消耗积分值Fs两个部分组成,公式如下:In the embodiment of the present invention, the point consumption value of this transaction is composed of two parts: the charging consumption point value F c and the service consumption point value F s , and the formula is as follows:

Fc=fc·(Eend-Estart)F c =f c ·(E end -E start )

Fs=fs·(Eend-Estart)F s =f s ·(E end -E start )

Eend为电动汽车充电结束时电量,Estart为初始电量。由于采用分时计价,充电总电量应为充电功率与各不同电价时段充电时间乘积的总和,即:E end is the power at the end of charging the electric vehicle, and E start is the initial power. Since the time-of-use pricing is adopted, the total charging power should be the sum of the product of the charging power and the charging time in different electricity price periods, namely:

Figure BDA0002590178630000091
Figure BDA0002590178630000091

其中,P为电动汽车充电功率,tj为在当前电价时段j所经过的充电时间,k为充电时间所经过的电价不同的总时段数。在不同时段用相应的电价进行计费,得出初步交易消耗积分值,然后初步交易积分值与用电价格系数相乘后,得到本次充电消耗积分值Fc及服务消耗积分值Fs计算方法如下:Among them, P is the charging power of the electric vehicle, t j is the charging time elapsed in the current electricity price period j, and k is the total number of time periods with different electricity prices that have elapsed during the charging time. The corresponding electricity price is used for charging at different time periods, and the initial transaction consumption point value is obtained. Then, after the initial transaction point value is multiplied by the electricity price coefficient, the current charging consumption point value F c and the service consumption point value F s are calculated. Methods as below:

Figure BDA0002590178630000092
Figure BDA0002590178630000092

Figure BDA0002590178630000093
Figure BDA0002590178630000093

结合服务费单fs的计算方法,本次交易消耗积分值F公式如下:Combined with the calculation method of the service fee bill f s , the formula for the point value F consumed by this transaction is as follows:

Figure BDA0002590178630000101
Figure BDA0002590178630000101

本发明实施例提出了电价调节机制,有利于消峰填谷、减少电力设备的损耗,促使用户的充电行为更合理。The embodiment of the present invention proposes an electricity price adjustment mechanism, which is beneficial to eliminate peaks and fill valleys, reduce the loss of power equipment, and promote the user's charging behavior to be more reasonable.

在上述实施例的基础上,在所述根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息的步骤之后,所述方法还包括:On the basis of the above embodiment, after the step of obtaining the user's current point balance information according to the user's point balance information and the current transaction point consumption value, the method further includes:

根据所述用户编号信息在区块链账本中查询到用户当前交易次数;According to the user number information, the current number of transactions of the user is queried in the blockchain ledger;

根据所述用户当前交易次数、本次交易消耗积分值和用户当前信誉值计算新的用户信誉值,并将所述新的用户信誉值写入区块链账本。Calculate a new user reputation value according to the current number of transactions of the user, the value of points consumed by this transaction, and the current user reputation value, and write the new user reputation value into the blockchain ledger.

具体的,用户在每次完成电动汽车充电交易后,根据其交易行为对其信用进行评估Rv进行评估,公式如下:Specifically, after each completion of the electric vehicle charging transaction, the user evaluates his credit Rv according to his transaction behavior. The formula is as follows:

Figure BDA0002590178630000102
Figure BDA0002590178630000102

Cvk是用户v在第k次充电服务完成时获得或扣除的积分,Cvk的取值满足Cvk∈{-1,+1},用户在前一次充电交易后及时支付获得一个积分奖励,反之被扣除一个积分。当用户信用较低时,限制其无法查看充电桩服务评分;当其信用值低于平台设定的最低信用阈值Rmin时,限制其无法使用充电服务。本平台最低信用阈值设为0。C vk is the points obtained or deducted by user v when the kth charging service is completed. The value of C vk satisfies C vk ∈ {-1, +1}, and the user pays in time after the previous charging transaction to get a point reward, Otherwise, one point will be deducted. When the user's credit is low, it is restricted from not being able to view the charging pile service score; when the user's credit value is lower than the minimum credit threshold R min set by the platform, it is restricted from being unable to use the charging service. The minimum credit threshold of this platform is set to 0.

本发明实施例通过设计了用户信誉机制,以及基于用户信誉度的服务费计算模型,有利于促进诚信交易、打击低信用用户行为,维持充电交易市场的健康运转;By designing a user reputation mechanism and a service fee calculation model based on user reputation, the embodiment of the present invention is beneficial to promote honest transactions, combat low-credit user behavior, and maintain the healthy operation of the charging transaction market;

在上述实施例的基础上,在所述根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息的步骤之后,所述方法还包括:On the basis of the above embodiment, after the step of obtaining the user's current point balance information according to the user's point balance information and the current transaction point consumption value, the method further includes:

获取本次交易充电桩服务评分信息,并根据充电桩编号在区块链账本中查询充电桩背书经验值和充电桩当前服务评分;Obtain the charging pile service rating information for this transaction, and query the charging pile endorsement experience value and charging pile current service rating in the blockchain ledger according to the charging pile number;

根据所述本次交易充电桩服务评分信息、充电桩当前服务评分、充电桩背书经验值和充电桩当前服务评分计算新的充电桩服务评分,并将新的充电桩服务评分写入区块链账本。Calculate the new charging pile service score according to the charging pile service score information of this transaction, the current service score of the charging pile, the endorsement experience value of the charging pile and the current service score of the charging pile, and write the new charging pile service score into the blockchain ledger.

具体的,为激励各充电服务节点参与验证交易时的背书、维护区块链充电交易平台的稳定运行,应将背书经验值纳入到充电桩服务的评价体系中。背书经验值M由节点参与背书的频率决定,计算公式如下:Specifically, in order to encourage each charging service node to participate in the endorsement when verifying the transaction and maintain the stable operation of the blockchain charging transaction platform, the endorsement experience value should be incorporated into the evaluation system of the charging pile service. The endorsement experience value M is determined by the frequency of nodes participating in endorsement, and the calculation formula is as follows:

Figure BDA0002590178630000111
Figure BDA0002590178630000111

l为此前该节点担任背书节点的账本更新次数,L为账本更新总次数。δ为调整背书经验值的参数。l is the number of ledger updates that the node has previously acted as an endorsement node, and L is the total number of ledger updates. δ is a parameter for adjusting the endorsement experience value.

充电桩服务评分信息Rcs,n随着交易次数n的增加而更新,充电桩的服务评价由不同信用值用户给出的评分和背书经验值决定,同时考虑了初期的低评分对改善服务水平后的评价影响,公式如下:The charging pile service rating information R cs, n is updated with the increase of the number of transactions n. The service evaluation of the charging pile is determined by the ratings and endorsement experience values given by users with different credit values, and at the same time, the low rating in the early stage is considered to improve the service level. After the evaluation of the impact, the formula is as follows:

Figure BDA0002590178630000112
Figure BDA0002590178630000112

其中,Rcs,n为该充电桩上一次的充电服务评分信息,参数α决定每次评分后服务评分信息变化的速度,可通过调节α的值使得评分较低的节点在改善服务后,不会一直收到过去低评分的影响,α>1,α越大,受过去评价的影响就越久。M为之前计算出的背书经验值,Wn为信用值为Rv的用户做出的评分,该平台中Wn的范围设置为Wn∈{1,2,3,4,5}。En为充电桩在本次服务中的预计获得的评分期望,s(R)是使充电桩服务评分变化趋于平缓的一个阻尼函数。σ为阻尼函数中的参数,σ越大,阻尼函数越平缓,本系统中σ值设为0.8。Among them, R cs,n is the charging service rating information of the charging pile last time, and the parameter α determines the speed of the service rating information change after each rating. By adjusting the value of α, the node with a lower rating can not improve the service after improving the service. It will always be affected by low scores in the past, α>1, the larger the α, the longer the influence of past evaluations. M is the previously calculated endorsement experience value, W n is the score made by the user whose credit value is R v , and the range of W n in this platform is set to W n ∈ {1, 2, 3, 4, 5}. En is the expected score expectation of the charging pile in this service, and s(R) is a damping function that makes the change of the charging pile service score smooth. σ is a parameter in the damping function. The larger the σ, the smoother the damping function. In this system, the value of σ is set to 0.8.

本发明实施例.提出了充电桩服务评价机制,该机制考虑了节点背书次数的影响,有利于激励节点参与背书,维持区块链交易平台的稳定运行;同时该机制充分考虑了做出评价的用户信誉值以及历史评价对服务评分的影响。The embodiment of the present invention proposes a charging pile service evaluation mechanism, which takes into account the influence of the number of endorsements of nodes, which is beneficial to encourage nodes to participate in endorsement and maintain the stable operation of the blockchain trading platform; at the same time, the mechanism fully considers the evaluation The influence of user reputation value and historical evaluation on service score.

在上述实施例的基础上,在所述根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分的步骤之后,所述方法还包括:On the basis of the above embodiment, after the step of determining the point value consumed by the current transaction and the user credit score of the current transaction according to the electricity consumption time information and the current credit value information of the user, the method further includes: :

根据充电桩编号在区块链账本中查询充电桩当前积分余额信息;Query the current point balance information of the charging pile in the blockchain ledger according to the charging pile number;

根据所述本次交易消耗积分值和充电桩当前积分余额信息计算新的充电桩积分余额信息,并将所述新的充电桩积分余额信息写入区块链账本。Calculate the new charging pile point balance information according to the current transaction point consumption value and the current point balance information of the charging pile, and write the new charging pile point balance information into the blockchain ledger.

在本发明另一实施例中,本发明实施例在充电完成后,智能合约执行交易结算的具体步骤如下:In another embodiment of the present invention, after the charging is completed in the embodiment of the present invention, the specific steps for the smart contract to perform transaction settlement are as follows:

①获取电动汽车编号carID、充电桩编号stationID和充电功率P;①Get the electric vehicle number carID, charging pile number stationID and charging power P;

②通过账本查询接口GetState()得到车主和充电桩的余额、信誉值等数据;② Obtain data such as the balance and credit value of the car owner and the charging pile through the account book query interface GetState();

③获取充电开始时间tstart和结束时间tend,并根据分时电价划分为k个时段;③ Obtain the charging start time t s t ar t and end time t end , and divide it into k time periods according to the time-of-use electricity price;

④利用充电功率、k个时段及对应电价等参数计算出用户须支付的充电费用,并扣除车主余额中相应金额并加到充电桩余额中;④ Calculate the charging fee that the user must pay by using parameters such as charging power, k time periods and the corresponding electricity price, and deduct the corresponding amount from the owner's balance and add it to the balance of the charging pile;

⑤若支付后用户余额小于0,更新本次Cvj=0;否则Cvj=1,Cvj用于用户信誉值的更新,当车主信誉值不大于0时,将无法使用充电服务。⑤ If the user's balance after payment is less than 0, update C vj = 0 this time; otherwise, C vj = 1, C vj is used to update the user's credit value. When the owner's credit value is not greater than 0, the charging service will not be available.

⑥将新的用户余额、充电桩余额PutState()到区块链账本。⑥PutState() the new user balance and charging pile balance to the blockchain ledger.

在本发明另一实施例中,使用Python和matplotlib库对充电桩服务评价模型、基于用户信誉度的服务费计算方法进行仿真实验。第一个仿真分三部分来进行,通过仿真实验的数据分别观察背书经验值M、用户评分W以及用户信誉值Rv对充电桩服务评分曲线的影响。为使仿真数据接近真实的情况,使用正态分布N(μ,σ2)来模拟用户对充电桩的服务评分情况,期望μ可以大致反映一定服务质量下的客观评分情况,用户的信誉值Rv则服从均匀分布U(a,b);第二个仿真验证服务费计费模型中用户信誉度对服务费的影响,探究参数ρ、θ对信誉度和服务费关系的影响,以适应不同情况下对模型的微调。In another embodiment of the present invention, use Python and matplotlib libraries to conduct simulation experiments on a charging pile service evaluation model and a service fee calculation method based on user reputation. The first simulation is carried out in three parts. The influence of endorsement experience value M, user rating W, and user reputation value R v on the charging pile service rating curve is observed through the data of the simulation experiment. In order to make the simulation data close to the real situation, the normal distribution N(μ, σ 2 ) is used to simulate the user's service rating of the charging pile. It is expected that μ can roughly reflect the objective rating under a certain service quality, and the user's reputation value R v is subject to uniform distribution U(a, b); the second simulation verifies the influence of user reputation on service fee in the service fee charging model, and explores the influence of parameters ρ and θ on the relationship between reputation and service fee to adapt to different fine-tuning of the model.

1.充电桩服务评价模型的仿真1. Simulation of charging pile service evaluation model

1)背书经验值M的影响1) The influence of endorsement experience value M

在一定的服务质量和用户信誉值下,观察分析充电桩参与区块链充电交易背书的次数对其服务评价的影响。三组数据下用户评分W均服从正态分布N(4,0.25),且用户信誉值Rv均服从均匀分布U(0.6,0.8),充电桩节点参与交易背书的活跃度可由背书经验值M反映,分别为0.1、0.5、0.8。Under a certain service quality and user reputation value, observe and analyze the impact of the number of charging piles participating in the blockchain charging transaction endorsement on its service evaluation. Under the three sets of data, the user scores W obey the normal distribution N (4, 0.25), and the user reputation value R v obeys the uniform distribution U (0.6, 0.8). The activity of the charging pile nodes participating in the transaction endorsement can be determined by the endorsement experience value M reflect, 0.1, 0.5, 0.8, respectively.

充电桩的初始评分为0,图4为本发明一实施例所描述的背书经验值M对充电服务评价的影响仿真图,如图4所示,在经历了约300次交易评分的迭代后,充电桩服务评价值稳定在用户评分正态分布的期望值μ=4上,客观的反映了其服务质量水平,符合预期。容易看出,在相同情况下背书经验值M越高,节点的服务评价越高、达到稳定评分的速度更快,有利于激励充电桩节点贡献计算能力,维护区块链充电交易平台的稳定运行。The initial score of the charging pile is 0. Figure 4 is a simulation diagram of the impact of the endorsement experience value M on the charging service evaluation according to an embodiment of the present invention. As shown in Figure 4, after about 300 iterations of transaction scores, The service evaluation value of the charging pile is stable at the expected value μ=4 of the normal distribution of user ratings, which objectively reflects its service quality level and meets expectations. It is easy to see that under the same circumstances, the higher the endorsement experience value M, the higher the service evaluation of the node and the faster the stable score is achieved, which is conducive to encouraging the charging pile nodes to contribute computing power and maintaining the stable operation of the blockchain charging trading platform. .

2)服务质量的影响2) The impact of service quality

用户评分W服从正态分布,可以大致反映特定服务质量下的用户评分情况,期望值μ不同的几个正态分布代表了充电桩提供的服务质量的不同。在相同情况下,探究充电桩提供的服务质量对其服务评分的影响,三组数据下充电桩背书经验值M均为0.2,用户信誉值Rv均服从均匀分布U(0.6,0.8),充电桩提供的充电服务质量由用户评分W表示,分别服从正态分布N(2.5,0.25)、N(3.5,0.25)、N(4.5,0.25)。充电桩服务评价初始值设为低评分1.5,图5为本发明一实施例所描述的服务质量对充电服务评价的影响仿真示意图,如图5所示,经历了约200次交易评分的迭代后,充电桩服务评价达到稳定,且稳定在各自分布的期望值μ上。用户评分服从N(4.5,0.25)的服务评分最高,最终稳定在4.5分,服从N(3.5,0.25)的次之,服从N(2.5,0.25)的最低。可见,该模型在充电桩提高自己的服务质量水平后可以消除之前低评分的影响,且服务质量越高,最终的服务评价越高。The user score W obeys a normal distribution, which can roughly reflect the user score under a specific service quality. Several normal distributions with different expected values μ represent the different service quality provided by the charging pile. Under the same circumstances, the influence of the service quality provided by the charging pile on its service score was explored. Under the three sets of data, the charging pile endorsement experience value M was 0.2, and the user reputation value R v obeyed the uniform distribution U (0.6, 0.8). The charging service quality provided by the pile is represented by the user score W, which obeys the normal distribution N(2.5, 0.25), N(3.5, 0.25), and N(4.5, 0.25) respectively. The initial value of the charging pile service evaluation is set to a low score of 1.5. Figure 5 is a schematic diagram of the simulation of the impact of the service quality on the charging service evaluation according to an embodiment of the present invention. As shown in Figure 5, after about 200 iterations of transaction scoring , the charging pile service evaluation is stable, and is stable on the expected value μ of their respective distributions. The user rating obeying N(4.5, 0.25) has the highest service score, and finally stabilizes at 4.5 points, followed by obeying N(3.5, 0.25), and the lowest obeying N(2.5, 0.25). It can be seen that the model can eliminate the influence of the previous low score after the charging pile improves its service quality level, and the higher the service quality, the higher the final service evaluation.

3)用户信誉值Rv的影响3) The influence of user reputation value R v

一个好的充电服务评价模型应该考虑到用户的信誉度,低信誉的用户可能存在随意评分、故意评低分等情况,该评价模型中的参数Rv即反映了用户信誉度对充电桩服务评分的影响。图6为本发明一实施例所描述的用户信誉Rv对充电服务评价的影响仿真图,如图6所示,三组数据下充电桩的背书经验值均为0.5,且服从用户评分为N(4.5,0.25)的正态分布,用户的信誉值则呈阶梯式下降,分别服从U(0.2,0.4)、U(0.4,0.6)、U(0.6,0.8)的均匀分布。可以看出,用户信誉度服从均匀分布U(0.6,0.8)的曲线在交易评价迭代了300次左右达到稳定,而信誉度在U(0.4,0.6)的经过了约400次交易评价迭代才稳定在期望值,而用户信誉值U(0.2,0.4)最低的曲线在500次迭代后仍未稳定。A good charging service evaluation model should take into account the user's creditworthiness. Users with low creditworthiness may score randomly or deliberately. The parameter Rv in the evaluation model reflects the user's creditworthiness to the charging pile service score. Impact. FIG. 6 is a simulation diagram of the influence of user reputation Rv on charging service evaluation according to an embodiment of the present invention. As shown in FIG. 6 , the endorsement experience values of charging piles under the three sets of data are all 0.5, and the obedience user score is N ( 4.5, 0.25) normal distribution, the user's reputation value declines in steps, obeying the uniform distribution of U(0.2, 0.4), U(0.4, 0.6), U(0.6, 0.8). It can be seen that the curve of the user reputation subject to the uniform distribution U(0.6, 0.8) reaches stability after about 300 iterations of transaction evaluation, while the credibility of U(0.4, 0.6) is stable after about 400 transaction evaluation iterations At the expected value, the curve with the lowest user reputation value U(0.2, 0.4) is still not stable after 500 iterations.

图7为本发明另一实施例所描述的用户信誉Rv对充电服务评价的影响仿真图,如图7所示,重新进行实验,该曲线的服务评价在迭代800次后终于稳定于期望值4.5左右。可见在该模型中低信誉的用户对服务评价的影响较小,有利于减小恶意评价对充电桩服务评分的影响,同时有利于促使用户提高其信誉值,更好的参与到交易评价中。2.基于用户信誉度的服务计费仿真FIG. 7 is a simulation diagram of the influence of user reputation Rv on charging service evaluation according to another embodiment of the present invention. As shown in FIG. 7 , the experiment is re-run, and the service evaluation of this curve is finally stabilized at the expected value of about 4.5 after 800 iterations. . It can be seen that users with low reputation in this model have less influence on service evaluation, which is conducive to reducing the impact of malicious evaluation on charging pile service scores, and at the same time, it is conducive to promoting users to improve their reputation value and better participate in transaction evaluation. 2. Service billing simulation based on user reputation

本模型中充电总费用由电费Fc和服务费Fs构成,其中服务费Fs可以由区块链充电交易模型来决定,低信誉的用户可能存在破坏充电桩、抢占充电桩等行为,因此计费模型应该考虑到用户的信誉值,同时考虑到设备维护成本会随着投入使用的时间而增加。图8为本发明一实施例所描述的基于用户信誉的服务计费仿真图,如图8所示,展示了服务费Fs/电费Fc比值随着用户信誉值的变化情况,可以看出在参数设为θ=0.1,ρ=1时,比值随着用户信誉度的提高而降低,有利于激励低信誉用户通过提高信誉值来减少服务费;当θ=0.1,ρ=2时服务费/电费比值会随着信誉的增加而降低的更快,可以根据用户价格敏感程度的变化对模型进行微调;当θ=0.16,ρ=1时,相比于初始情况比值都有了增长,以适应设备维护成本提高等情况。In this model, the total charging fee is composed of electricity fee F c and service fee F s , of which the service fee F s can be determined by the blockchain charging transaction model. Users with low reputation may destroy charging piles and preempt charging piles. Therefore, The billing model should take into account the user's reputation value, while taking into account that equipment maintenance costs will increase with the time it is put into use. FIG. 8 is a simulation diagram of service charging based on user reputation according to an embodiment of the present invention. As shown in FIG. 8 , it shows the change of the ratio of service fee F s / electricity fee F c with the user reputation value. It can be seen that When the parameters are set to θ=0.1, ρ=1, the ratio decreases with the increase of user reputation, which is beneficial to encourage low-credibility users to reduce service fees by increasing the reputation value; when θ=0.1, ρ=2 When the service fee is The ratio of electricity/electricity fee will decrease faster with the increase of reputation, and the model can be fine-tuned according to the change of user's price sensitivity; when θ=0.16, ρ=1, the ratio has increased compared with the initial situation. Adapt to the increase in equipment maintenance costs.

图9为本发明一实施例所描述的电动汽车充电交易装置示意图,如图9所示,包括:查询模块910、计算模块920和交易模块930;其中,查询模块910用于获取用电时间信息和用户编号信息,根据所述用户编号信息在区块链账本中查询到用户当前信誉值和用户积分余额信息;其中,计算模块920用于根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分;其中,交易模块930用于根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息,并将所述用户当前积分余额信息和本次交易的用户信誉得分写入区块链账本。FIG. 9 is a schematic diagram of an electric vehicle charging transaction device according to an embodiment of the present invention. As shown in FIG. 9 , it includes: a query module 910 , a calculation module 920 and a transaction module 930 ; wherein, the query module 910 is used to obtain electricity consumption time information and user number information, according to the user number information, the user's current reputation value and user point balance information are queried in the blockchain ledger; wherein, the calculation module 920 is used for according to the electricity consumption time information and the user's current reputation value. The information determines the point consumption value of this transaction and the user credit score of this transaction; wherein, the transaction module 930 is used to obtain the current point balance information of the user according to the user point balance information and the point consumption value of this transaction, and assign the user point balance information to the user. The current point balance information and the user credit score of this transaction are written into the blockchain ledger.

本发明实施例提供的装置是用于执行上述各方法实施例的,具体流程和详细内容请参照上述实施例,此处不再赘述。The apparatuses provided in the embodiments of the present invention are used to execute the foregoing method embodiments. For specific processes and details, please refer to the foregoing embodiments, which will not be repeated here.

本发明实施例通过设计了区块链充电交易的账户,使用电力积分代替了代币进行资金的流通,可以有效防止交易信息的篡改,同时保证每一笔充电交易可追溯,设计了用户信誉机制,以及基于用户信誉度的服务费计算模型,有利于促进诚信交易、打击低信用用户行为,维持充电交易市场的健康运转。In the embodiment of the present invention, by designing an account for charging transactions on the blockchain, and using electricity points instead of tokens for the circulation of funds, the tampering of transaction information can be effectively prevented, and the traceability of each charging transaction is ensured, and a user reputation mechanism is designed. , and a service fee calculation model based on user reputation, which is conducive to promoting honest transactions, combating low-credit user behavior, and maintaining the healthy operation of the charging transaction market.

图10为本发明一实施例所描述的电子设备结构示意图,如图10所示,该电子设备可以包括:处理器(processor)1010、通信接口(Communications Interface)1020、存储器(memory)1030和通信总线1040,其中,处理器1010,通信接口1020,存储器1030通过通信总线1040完成相互间的通信。处理器1010可以调用存储器1030中的逻辑指令,以执行如下方法:获取用电时间信息和用户编号信息,根据所述用户编号信息在区块链账本中查询到用户当前信誉值和用户积分余额信息;根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分;根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息,并将所述用户当前积分余额信息和本次交易的用户信誉得分写入区块链账本。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 10 , the electronic device may include: a processor (processor) 1010, a communications interface (Communications Interface) 1020, a memory (memory) 1030, and a communication The bus 1040, wherein the processor 1010, the communication interface 1020, and the memory 1030 complete the communication with each other through the communication bus 1040. The processor 1010 can call the logic instructions in the memory 1030 to perform the following method: obtain the electricity consumption time information and the user number information, and query the user's current reputation value and user point balance information in the blockchain ledger according to the user number information ; Determine the point value consumed by this transaction and the user credit score of this transaction according to the power consumption time information and the current credit value information of the user; obtain the current point value of the user according to the user point balance information and the current transaction consumption point value balance information, and write the user's current point balance information and the user's credit score for this transaction into the blockchain ledger.

此外,上述的存储器1030中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the memory 1030 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

本发明实施例公开一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法实施例所提供的方法,例如包括:获取用电时间信息和用户编号信息,根据所述用户编号信息在区块链账本中查询到用户当前信誉值和用户积分余额信息;根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分;根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息,并将所述用户当前积分余额信息和本次交易的用户信誉得分写入区块链账本。An embodiment of the present invention discloses a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, The computer can execute the methods provided by the above method embodiments, for example, including: obtaining electricity consumption time information and user number information, and querying the user's current reputation value and user point balance information in the blockchain ledger according to the user number information; Determine the point value consumed by this transaction and the user credit score of this transaction according to the electricity consumption time information and the current credit value information of the user; obtain the current point balance of the user according to the user point balance information and the current point consumption value of the transaction information, and write the user's current point balance information and the user's credit score for this transaction into the blockchain ledger.

本发明实施例提供一种非暂态计算机可读存储介质,该非暂态计算机可读存储介质存储服务器指令,该计算机指令使计算机执行上述各实施例提供的方法,例如包括:获取用电时间信息和用户编号信息,根据所述用户编号信息在区块链账本中查询到用户当前信誉值和用户积分余额信息;根据所述用电时间信息和所述用户当前信誉值信息确定本次交易消耗积分值和本次交易的用户信誉得分;根据所述用户积分余额信息和本次交易消耗积分值得到用户当前积分余额信息,并将所述用户当前积分余额信息和本次交易的用户信誉得分写入区块链账本。Embodiments of the present invention provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores server instructions, and the computer instructions cause a computer to execute the methods provided in the foregoing embodiments, for example, including: obtaining electricity usage time Information and user number information, according to the user number information, the user's current reputation value and user point balance information can be queried in the blockchain ledger; according to the electricity consumption time information and the user's current reputation value information, determine the consumption of this transaction Point value and the user credit score of this transaction; obtain the user's current point balance information according to the user point balance information and the point consumption value of this transaction, and write the user's current point balance information and the user credit score of this transaction. into the blockchain ledger.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. An electric vehicle charging transaction method is characterized by comprising the following steps:
acquiring power utilization time information and user number information, and inquiring current credit value and user point balance information of a user in a block chain account book according to the user number information;
determining a consumption integral value of the transaction and a user credit score of the transaction according to the electricity utilization time information and the current credit value information of the user;
and obtaining the current point balance information of the user according to the point balance information of the user and the consumption integral value of the transaction, and writing the current point balance information of the user and the credit score of the transaction into a block chain account book.
2. The electric vehicle charging transaction method according to claim 1, wherein the consumption credit value of the current transaction comprises: the value of the charge consumption integral of the transaction and the value of the service integral of the transaction.
3. The electric vehicle charging transaction method according to claim 2, wherein the step of determining the consumption credit value of the transaction according to the power consumption time information and the user current credit value information specifically comprises:
acquiring a power utilization price coefficient according to the current credit value information of the user;
And determining a primary transaction consumption integral value according to the electricity utilization time information and the time-sharing pricing information, determining a current charging consumption integral value according to the electricity utilization price coefficient and the primary transaction consumption integral value, and determining a current transaction consumption integral value according to the current transaction charging consumption integral value.
4. The electric vehicle charging transaction method according to claim 1, wherein after the step of obtaining the current point balance information of the user according to the point balance information of the user and the consumption point value of the transaction, the method further comprises:
inquiring the current transaction times of the user in a block chain account book according to the user number information;
and calculating a new user credit value according to the current transaction times of the user, the current transaction consumption integral value and the current user credit value, and writing the new user credit value into a block chain account book.
5. The electric vehicle charging transaction method according to claim 1, wherein after the step of obtaining the current point balance information of the user according to the point balance information of the user and the consumption point value of the transaction, the method further comprises:
acquiring service score information of the transaction charging pile, and inquiring a charging pile endorsement experience value and a charging pile current service score in a block chain account book according to the charging pile number;
And calculating a new charging pile service score according to the charging pile service score information, the charging pile current service score, the charging pile endorsement experience value and the charging pile current service score of the transaction, and writing the new charging pile service score into a block chain account book.
6. The electric vehicle charging transaction method according to claim 5, wherein the step of querying the charging pile endorsement experience value in the blockchain account book according to the charging pile number specifically comprises the following steps:
acquiring the number of times of the charging pile serving as an endorsement node in a block chain account book according to the number of the charging pile;
and (4) carrying out quotient calculation on the number of times of the charging pile serving as the endorsement node and the total number of times of updating the account book to obtain the endorsement experience value of the charging pile.
7. The electric vehicle charging transaction method according to claim 1, wherein after the step of determining a consumption credit value of the transaction and a user reputation score of the transaction according to the power consumption time information and the user current reputation value information, the method further comprises:
inquiring current point balance information of the charging pile in a block chain account book according to the number of the charging pile;
and calculating new charging pile point balance information according to the transaction consumption integral value and the current charging pile point balance information, and writing the new charging pile point balance information into a block chain account book.
8. An electric vehicle charging transaction device, comprising:
the query module is used for acquiring the electricity utilization time information and the user number information, and querying the current credit value and the user point balance information of the user in the block chain account book according to the user number information;
the calculation module is used for determining the consumption integral value of the transaction and the user credit score of the transaction according to the power consumption time information and the current credit value information of the user;
and the transaction module is used for obtaining the current point balance information of the user according to the point balance information of the user and the consumption integral value of the transaction, and writing the current point balance information of the user and the credit score of the transaction into a block chain account book.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method of electric vehicle charging transaction according to any of claims 1 to 7.
10. A non-transitory computer readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the electric vehicle charging transaction method according to any one of claims 1 to 7.
CN202010693721.0A 2020-07-17 2020-07-17 An electric vehicle charging transaction method and device Pending CN111861661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010693721.0A CN111861661A (en) 2020-07-17 2020-07-17 An electric vehicle charging transaction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010693721.0A CN111861661A (en) 2020-07-17 2020-07-17 An electric vehicle charging transaction method and device

Publications (1)

Publication Number Publication Date
CN111861661A true CN111861661A (en) 2020-10-30

Family

ID=73000965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010693721.0A Pending CN111861661A (en) 2020-07-17 2020-07-17 An electric vehicle charging transaction method and device

Country Status (1)

Country Link
CN (1) CN111861661A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112530090A (en) * 2020-11-30 2021-03-19 上海万向区块链股份公司 Charging multi-platform expense settlement method and system and equipment sharing method
CN112651744A (en) * 2020-12-30 2021-04-13 杭州趣链科技有限公司 Block chain-based credit mutual evaluation method and system and electronic equipment
CN112907763A (en) * 2021-01-21 2021-06-04 厦门信息集团大数据运营有限公司 Parking charging method and system based on credit score
CN113222763A (en) * 2021-05-25 2021-08-06 国网宁夏电力有限公司电力科学研究院 Charging transaction management method and system based on block chain
US20230169497A1 (en) * 2021-12-01 2023-06-01 Aiden Automotive Technologies, Inc. Automotive payment platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107845149A (en) * 2017-11-15 2018-03-27 国网山东省电力公司潍坊供电公司 A kind of stopping for charging payment self-service device and system
CN108765032A (en) * 2018-06-08 2018-11-06 东莞市大易产业链服务有限公司 A kind of prestige integral bookkeeping methods based on block chain technology
US20200112446A1 (en) * 2018-10-08 2020-04-09 International Business Machines Corporation Blockchain timestamp agreement
CN111311124A (en) * 2020-03-23 2020-06-19 广东安居宝数码科技股份有限公司 Charging service method, charging service device, storage medium and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107845149A (en) * 2017-11-15 2018-03-27 国网山东省电力公司潍坊供电公司 A kind of stopping for charging payment self-service device and system
CN108765032A (en) * 2018-06-08 2018-11-06 东莞市大易产业链服务有限公司 A kind of prestige integral bookkeeping methods based on block chain technology
US20200112446A1 (en) * 2018-10-08 2020-04-09 International Business Machines Corporation Blockchain timestamp agreement
CN111311124A (en) * 2020-03-23 2020-06-19 广东安居宝数码科技股份有限公司 Charging service method, charging service device, storage medium and server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112530090A (en) * 2020-11-30 2021-03-19 上海万向区块链股份公司 Charging multi-platform expense settlement method and system and equipment sharing method
CN112651744A (en) * 2020-12-30 2021-04-13 杭州趣链科技有限公司 Block chain-based credit mutual evaluation method and system and electronic equipment
CN112907763A (en) * 2021-01-21 2021-06-04 厦门信息集团大数据运营有限公司 Parking charging method and system based on credit score
CN113222763A (en) * 2021-05-25 2021-08-06 国网宁夏电力有限公司电力科学研究院 Charging transaction management method and system based on block chain
US20230169497A1 (en) * 2021-12-01 2023-06-01 Aiden Automotive Technologies, Inc. Automotive payment platform

Similar Documents

Publication Publication Date Title
CN111861661A (en) An electric vehicle charging transaction method and device
He et al. Joint operation mechanism of distributed photovoltaic power generation market and carbon market based on cross-chain trading technology
US11983782B2 (en) Method, device, storage medium and program product for carbon trading
Zhou et al. Credit-based peer-to-peer electricity trading in energy blockchain environment
CN111563786A (en) A blockchain-based virtual power plant control platform and operation method
Saxena et al. Blockchain based transactive energy systems for voltage regulation in active distribution networks
CN114663091B (en) Power trading method based on multi-chain blockchain architecture
CN112907082B (en) Block chain consensus algorithm evaluation optimization method
CN110851531B (en) Collaborative edge computing method, blockchain and collaborative edge computing system
US20120116831A1 (en) Using Cloud Brokering Services for an Opportunistic Cloud Offering
CN117196617A (en) Multi-entity spectrum transaction method based on spectrum coin
CN112819451B (en) Decentralized road traffic carbon transaction system based on block chain
Jember et al. Game and contract theory-based energy transaction management for internet of electric vehicle
CN113222763A (en) Charging transaction management method and system based on block chain
CN113987080A (en) Blockchain incentive method, device and related products based on reputation consensus
CN112613861A (en) Electric power pre-sale transaction method, device and system based on alliance chain
Zhao et al. A blockchain consensus mechanism to optimize reputation-based distributed energy trading in urban energy system
Ali et al. Integrating forecasting service and Gen2 blockchain into a local energy trading platform to promote sustainability goals
Courcoubetis et al. Network neutrality [Paid peering: Pricing and adoption incentives]
Xiong et al. Power trading Raft consensus mechanism considering green certificate and carbon emission weights
Karandikar et al. Transactive energy on hyperledger fabric
Cui et al. Blockchain-based Distributed Power Market Trading Mechanism.
CN114819779A (en) Multi-agent cross-domain cooperative operation system and method
CN112991054A (en) Electric power futures contract design method based on block chain
CN117788162A (en) Distributed green electricity trading method, system, device and medium based on blockchain

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

Application publication date: 20201030