CN113971597A - Shared charging pile transaction system, method, equipment and terminal - Google Patents

Shared charging pile transaction system, method, equipment and terminal Download PDF

Info

Publication number
CN113971597A
CN113971597A CN202111158147.XA CN202111158147A CN113971597A CN 113971597 A CN113971597 A CN 113971597A CN 202111158147 A CN202111158147 A CN 202111158147A CN 113971597 A CN113971597 A CN 113971597A
Authority
CN
China
Prior art keywords
transaction
node
client
certificate
charging
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
CN202111158147.XA
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.)
Xi'an Lianrong Technology Co ltd
Xidian University
Original Assignee
Xi'an Lianrong Technology Co ltd
Xidian University
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 Xi'an Lianrong Technology Co ltd, Xidian University filed Critical Xi'an Lianrong Technology Co ltd
Priority to CN202111158147.XA priority Critical patent/CN113971597A/en
Publication of CN113971597A publication Critical patent/CN113971597A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention belongs to the technical field of block chain application, and discloses a shared charging pile transaction system, a method, equipment and a terminal, wherein the shared charging pile transaction system comprises an admission system, a node transaction system, an account balance migration system and an alliance committee system; the alliance committee system comprises a user information authentication module and a certificate management module; the access system comprises a registration module and a property authentication module; the node transaction system comprises a node management module, a charging pile query module, a transaction construction module, a transaction consensus module and a transaction chaining module; the account balance migration system comprises an identical-node account asset transfer module and a different-node credit module. According to the invention, point-to-point transaction is directly carried out through the shared charging pile transaction platform, the trust problem of third party participation is avoided, the transaction is completed and cannot be tampered after chaining, the transaction information is transparent, the traceability of a supervision department under special conditions is facilitated, and an incentive mechanism is introduced to promote the development of new energy automobiles and charging piles.

Description

Shared charging pile transaction system, method, equipment and terminal
Technical Field
The invention belongs to the technical field of block chain application, and particularly relates to a shared charging pile transaction system, method, equipment and terminal.
Background
Since the 21 st century, the research on energy problems of all countries in the world has not been interrupted all the time, the traditional energy system structure mainly based on petroleum and coal is continuously impacted by theory and reality, China is a big population country since ancient times, and after new China is established, in order to keep the high-speed development of industry and economy, excessive exploitation and use of resources such as coal and petroleum cause a lot of energy and environmental problems.
At present, returning to the basic aspect of daily life of people, the new energy technology can be felt by people, namely green new energy automobiles with increasing numbers on roads and newly-erected seat charging pile equipment in various parking lots. According to latest statistical data of the promotion alliance of China electric vehicle charging infrastructure, as early as 3 months in 2021, member units in the alliance report 85.1 thousands of public charging piles in total, wherein 35.5 thousands of direct current charging piles, 49.5 thousands of alternating current charging piles and 481 alternating current/direct current integrated charging piles; compared with 2 months, the number of the public charging piles in 3 months is increased by 1.32 thousands, the ring ratio is increased by 1.58%, the ring ratio is increased by 57.0%, and 2.57 thousands of public charging piles are added in 3 months from 4 months in 2020 to 2021. Actual data show that the related industry of new energy automobiles is rapidly increased like bamboo shoots in the spring after rain in China, the new energy automobiles are not technology for future of various performance defects, continuous poor flight of batteries, immature development and the like of people for years ago any more, and the development of the new energy automobiles and charging piles is a great trend for at least ten years in the future.
However, the development of the actual charging pile is difficult to match the rapid increase of the number of new energy vehicles, the proportion of new energy vehicles to the charging pile in China is about 10: 3 at present, which is equivalent to that three new energy vehicles share one charging pile device, and this does not exclude some old charging piles or charging piles which do not support super charging, so that the development and application of the charging pile are seriously inhibiting the development of new energy vehicles, and the privatization and organization of the charging pile cause extremely low user experience.
Therefore, in order to integrate and fully utilize the charging pile resources of each family, promote and stimulate the rapid landing and long-term sustainable development of the novel charging pile, and combine the advantages and characteristics of the existing block chain technology, a reliable public large-scale shared charging pile transaction system is urgently needed.
Through the above analysis, the problems and defects of the prior art are as follows: the existing charging pile is personalized and institutional, so that extremely low user experience is caused, a new energy automobile owner may have to own accounts of private transaction platforms built by multiple charging pile equipment owners simultaneously, the phenomenon is extremely inconvenient from the perspective of actual use of users, and the development of new energy technology is also restricted to a certain extent.
The difficulty in solving the above problems and defects is: due to the influence of multi-party interest relationship, all charging pile resources are difficult to integrate; how the corresponding incentive mechanism is formulated in order to attract the user to use; how to design a legal and efficient block chain-based shared charging pile transaction system.
The significance of solving the problems and the defects is as follows: the charging pile resources are integrated and fully utilized, so that the user experience can be improved, and meanwhile, power can be provided for the land falling and development of new energy industries and block chain technologies in China.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a shared charging pile transaction system, a method, equipment and a terminal, and particularly relates to a block chain-based shared charging pile transaction system, a method, equipment and a terminal.
The invention is realized in such a way that the shared charging pile transaction system comprises an admission system, a node transaction system, an account balance migration system and an alliance committee system.
The access system is used for registering user nodes and authenticating assets;
the node transaction system is used for being responsible for node information management, transaction management and linked data management;
the account balance migration system is used for being responsible for property transfer of accounts under the same node and loan of accounts under different nodes;
and the alliance committee system is used for being responsible for user information authentication and certificate management.
The systems jointly realize various work flows of the shared charging pile running on the block chain, including but not limited to user authentication, charging transaction, transaction certificate management, loan management and the like.
Further, the alliance committee system comprises a user information authentication module and a certificate management module; the access system comprises a registration module and a property authentication module; the node transaction system comprises a node management module, a charging pile query module, a transaction construction module, a transaction consensus module and a transaction chaining module; the account balance migration system comprises an identical-node account asset transfer module and a different-node credit module.
The data interaction information among the modules comprises:
1) sending registration or property data and returning result data;
2) sending certificate request data and returning certificate request result data;
3) sending certificate change data;
4) the sending node generates data;
5) sending query request data and returning charging pile data;
6) sending certificate verification request data and returning verification result data;
7) sending transaction request data and returning transaction construction result data;
8) sending node execution result data;
9) sending consensus result data;
10) sending out block data;
11) sending asset transfer request data and returning transfer result data;
12) sending loan request data;
13) sending loan transaction request data and returning transaction construction result data;
14) sending loan closing request data and returning loan closing result data;
15) and sending the loan credit loss data and returning the certificate change result data.
Further, the functions of the admission system further include:
when the same node subordinate account links up through the same node, performing one-time hash operation on all information of the account, encrypting through an account private key to generate an account encryption file, and sending the account encryption file to the subordinate node for storage, wherein the account is represented as belonging to property under the node name.
The user registers on the shared charging pile transaction platform to generate a local private key, personal or organization related information, a named account encryption file and a certificate request file consisting of the information, the alliance committee verifies the authenticity and accuracy of the information and then conducts one-time hash operation on the certificate request file to obtain h, the private key of the certificate issuing organization is used for encrypting the h to obtain a ciphertext f, and meanwhile, a final certificate is generated and sent to the user and a node is generated.
Further, the functions of the node trading system further comprise:
when a new energy automobile has a charging requirement, available charging pile resources nearby are inquired through the platform, a vehicle owner conducts point-to-point transaction through a new energy automobile account and a charging pile account through the shared charging pile platform, a client side conducts signature on an initiator account after the transaction is built, the client side sends the signature to a node to which the initiator account belongs, the node caches the transaction to a transaction pool after verifying the validity of a certificate and broadcasts the transaction, the certificate verification process is to decrypt a ciphertext of the certificate by using a public key of a certificate issuing authority to obtain h ', then encrypt the h ' by using a plaintext certificate to obtain a ciphertext h, if the comparison between the h and the h ' is the same, the node passes the verification, and the node has the certificate.
When the charging task specified in the transaction is finished, the transaction is taken out from the transaction pool according to the first-in first-out principle and packaged into blocks to be sent to other nodes, the transaction in the blocks is taken out and executed after the other nodes receive the blocks, the transaction execution result and state can be packaged in the transaction return, when the node exceeding 2/3 returns the same execution result, the common recognition is achieved, the node is taken out, the transaction is deleted from the transaction pool, and the charging transaction is finished.
Further, the functions of the account balance migration system further include:
after the verification certificate passes, the user enjoys the permissions of transaction, common identification and the like of the shared charging pile transaction platform, when the transaction is carried out on the subordinate account of the node, if the balance of the account is insufficient, other accounts under the subordinate node name are verified and automatic account transfer is carried out, and the transaction is a transaction in the node without a chain winding process.
When the balance of the account is insufficient, verifying that the balance sum of other accounts under the name of the node to which the account belongs is still insufficient, initiating a loan transaction request to other nodes on the chain, executing a normal chain transaction process to perform transaction and generate a contract if the other nodes receive the request, and sending information to a coalition committee and changing the certificate authority or canceling the certificate by the coalition committee if a loan receiver does not execute repayment transaction according to time.
Further, the functionality of the alliance-committee system further comprises:
before the transaction is established, certificates of both transaction parties are verified, a user node registration request and a property authentication request are processed, the node certificate state is processed, namely, the certificate is issued, changed or cancelled, and the local credit investigation center is connected.
Another object of the present invention is to provide a shared charging pile transaction method using the shared charging pile transaction system, including the steps of:
step one, registering a user, and sending registration data and property data to a client for processing;
step two, the client processes the registration data to judge whether the registration is successful, if so, a node is created, a transaction permission certificate is issued, and if not, the client quits and returns error information;
step three, a user searches for nearby charging piles through a client, the client verifies the node transaction certificate and returns a charging pile data set if the node transaction certificate is successful, and the client quits and returns error information if the node transaction certificate is failed;
step four, the user achieves the transaction intention with the charging pile through the client, the client establishes the transaction and monitors the charging process, and if the account balance is insufficient, the step six is executed;
step five, the charging task is completed, the client packs the transaction, a block is generated, the chain is linked after the consensus is successful, and the charging transaction is completed; when the user needs to search for a charging pile for charging, continuing to execute the third step;
step six, if the client establishes the charging transaction and the account of the payer is insufficient in the transaction process, the client automatically executes the own account asset transfer under the node to meet the transaction amount requirement and continuously executes the transaction; if the asset transfer still cannot meet the charging transaction, executing a seventh step;
step seven, if the client side still cannot meet the charging transaction after carrying out the asset transfer of the own side of the node, the user can choose to carry out loan, initiates a loan request to other nodes through the client side, if the loan transaction intention is met, executes the loan transaction and generates a loan contract, and continues to carry out the unfinished charging transaction;
step eight, if the user completes repayment operation on time, the client closes the corresponding loan contract, otherwise, the step nine is executed;
and step nine, if the user does not complete repayment operation on time, the client changes or cancels the node transaction certificate, and judges whether to report to the local credit investigation center according to default conditions.
It is a further object of the invention to provide a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
(1) user registration, namely sending registration data and property data to a client for processing;
(2) the client processes the registration data to judge whether the registration is successful, if so, a node is created and a transaction permission certificate is issued, and if not, the client quits and returns error information;
(3) a user searches nearby charging piles through a client, the client verifies the node transaction certificate and returns a charging pile data set if the node transaction certificate is successful, and the client quits and returns error information if the node transaction certificate is failed;
(4) the user achieves the transaction intention with the charging pile through the client, the client establishes a transaction and monitors the charging process, and if the account balance is insufficient, the step (6) is executed;
(5) after the charging task is completed, the client packs the transaction, generates a block, links the chain after the consensus is successful, and completes the charging transaction; when the user needs to search for a charging pile for charging, continuing to execute the step (3);
(6) if the client establishes the charging transaction and the account of the payer is insufficient in the transaction process, the client automatically executes the own account asset transfer under the node to meet the transaction amount requirement and continues to execute the transaction; if the asset transfer still cannot meet the charging transaction, executing the step (7);
(7) if the client side still cannot meet the charging transaction after carrying out the asset transfer of the own side of the node, the user can choose to carry out loan, initiates a loan request to other nodes through the client side, executes the loan transaction and generates a loan contract if the loan transaction intention is met, and continues to carry out the unfinished charging transaction;
(8) if the user completes repayment operation on time, the client closes the corresponding loan contract, otherwise, the step (9) is executed;
(9) if the user does not complete the repayment operation on time, the client changes or cancels the node transaction certificate, and judges whether to report to the local credit investigation center according to default conditions.
It is another object of the present invention to provide a computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
(1) user registration, namely sending registration data and property data to a client for processing;
(2) the client processes the registration data to judge whether the registration is successful, if so, a node is created and a transaction permission certificate is issued, and if not, the client quits and returns error information;
(3) a user searches nearby charging piles through a client, the client verifies the node transaction certificate and returns a charging pile data set if the node transaction certificate is successful, and the client quits and returns error information if the node transaction certificate is failed;
(4) the user achieves the transaction intention with the charging pile through the client, the client establishes a transaction and monitors the charging process, and if the account balance is insufficient, the step (6) is executed;
(5) after the charging task is completed, the client packs the transaction, generates a block, links the chain after the consensus is successful, and completes the charging transaction; when the user needs to search for a charging pile for charging, continuing to execute the step (3);
(6) if the client establishes the charging transaction and the account of the payer is insufficient in the transaction process, the client automatically executes the own account asset transfer under the node to meet the transaction amount requirement and continues to execute the transaction; if the asset transfer still cannot meet the charging transaction, executing the step (7);
(7) if the client side still cannot meet the charging transaction after carrying out the asset transfer of the own side of the node, the user can choose to carry out loan, initiates a loan request to other nodes through the client side, executes the loan transaction and generates a loan contract if the loan transaction intention is met, and continues to carry out the unfinished charging transaction;
(8) if the user completes repayment operation on time, the client closes the corresponding loan contract, otherwise, the step (9) is executed;
(9) if the user does not complete the repayment operation on time, the client changes or cancels the node transaction certificate, and judges whether to report to the local credit investigation center according to default conditions.
Another object of the present invention is to provide an information data processing terminal, wherein the information data processing terminal is used for implementing the shared charging pile transaction system.
By combining all the technical schemes, the invention has the advantages and positive effects that: the shared charging pile transaction system provided by the invention utilizes the block chain technology, solves the problems of inconvenient use brought to users by current personalized and decentralized charging pile markets and low charging pile resource utilization rate, and can exert the advantages of the block chain technology and promote the falling of related industries of the block chain technology in China by combining the block chain. The existing charging pile transaction system is mainly characterized in that a manufacturer incentivizes a vehicle owner to use a charging pile by giving allowance or preferential measures and the like so as to draw up customers, normal transaction price can be gradually recovered after the incentive measures are implemented for a period of time, the mode has more sufficient use cases in the industries of take-out, shared bicycle, online appointment and the like, the development process is analyzed, and the result is seen to have two different situations, namely, the result is that monopoly is formed after a competitor of a same bank is expanded in scale so as to cause insufficient supervision and be not beneficial to the rights and interests of users; the other is that the buying and the bankruptcy are caused because the profit mode suitable for the buying and the bankruptcy cannot be found after a plurality of rounds of financing. Therefore, the charging pile transaction in the traditional mode is an unorganized sub-health system, a block chain is built according to different administrative divisions, an organization or an individual links up in a node mode through registration, new energy vehicles and charging pile resources under the name are registered, corresponding accounts are created, all nodes which are registered and obtain transaction certificates can participate in the chain transaction, the resources of the nodes on the chain can be used, all effective shared transactions are stored in the link, certain incentive is conducted on two transaction parties to promote the sustainable operation of a charging pile platform, the charging pile transaction platform is automatically transferred when the multi-account balance of the same node supports the transaction to ensure the transaction success, and the loan operation is supported to be initiated to other nodes when the node balance is insufficient.
According to the invention, based on the characteristics of non-falsification of transaction data, public and transparent transaction information, point-to-point transaction, reliable traceability of data on a chain and the like of a block chain technology, the existing charging pile and new energy automobile resources are integrated, maximum benefit is brought to a charging pile owner, the new energy automobile owner can easily inquire and position the position of a nearby charging pile by only one account, the point-to-point transaction is directly carried out through a shared charging pile transaction platform, the trust problem of third party addition is avoided, the transaction is not falsified after chain connection is achieved, the transaction information is transparent, the traceability of a supervision department under special conditions is facilitated, and an incentive mechanism is introduced to promote the development of the new energy automobile and the charging pile.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a block chain general architecture diagram provided by an embodiment of the present invention.
Fig. 2 is a system block diagram of a shared charging pile transaction system according to an embodiment of the present invention.
Fig. 3 is a flowchart of a shared charging pile transaction method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Aiming at the problems in the prior art, the invention provides a shared charging pile transaction system, a method, equipment and a terminal, and the invention is described in detail with reference to the accompanying drawings.
As shown in fig. 1, the overall architecture of the blockchain in the present invention is as follows:
the system uses the fabric alliance chain to construct the blockchain system, allows access of blockchain platform nodes comprising individual nodes and mechanism nodes, accounts linked through all the nodes comprise charging pile accounts and new energy automobile accounts, and accounts linked through the same node belong to the same user or mechanism node.
And dividing each transaction chain according to administrative divisions, carrying out transactions on the same block chain by nodes under the same province, the direct municipality, the autonomous region and the special administrative region, and carrying out background supervision and dispute resolution by a local related organization with the highest authority and the highest public trust.
According to division of different administrative regions, an individual or an organization needs to register node information, including information of true charging piles and new energy vehicles under name, and the information is submitted to a block chain supervisor for verification and confirmation, after the confirmation is correct, a joint committee creates a node and issues a certificate, so that the node has the authority of transaction, consensus and the like on the block chain of the transaction system, and meanwhile, the supervisor has the revocation right of the node certificate.
According to the certificate issued by the alliance committee, the initiator account initiates a transaction request to the client, a determined receiver account is appointed to realize point-to-point transaction, and the uplink storage is carried out after the transaction is completed. If the account has insufficient funds, the account transfer under the same node can be automatically carried out, and the loan and the redemption among the accounts under different nodes can be selected to be executed.
As shown in fig. 2, the main modules and the data interaction among the modules in the present invention are as follows:
the system block diagram of the block chain-based shared charging pile transaction system comprises a alliance committee system, and a user information authentication module and a certificate management module which are arranged below the alliance committee system; an admission system, a registration module and a property authentication module below the admission system; the system comprises a node transaction system, and a node management module, a charging pile query module, a transaction construction module, a transaction consensus module and a transaction chaining module which are arranged below the node transaction system; the account balance migration system, and the same-node account asset transfer module and the different-node credit module below the same-node account balance migration system. The data interaction among the modules is shown in fig. 2, and the data interaction information in the figure is specifically as follows:
1) sending registration or property data, returning result data
2) Sending certificate request data and returning certificate request result data
3) Sending certificate change data
4) Sending node generating data
5) Sending query request data and returning charging pile data
6) Sending certificate verification request data and returning verification result data
7) Sending transaction request data and returning transaction construction result data
8) Transmitting node execution result data
9) Transmitting consensus result data
10) Sending out block data
11) Sending asset transfer request data and returning transfer result data
12) Sending loan request data
13) Sending loan transaction request data and returning transaction construction result data
14) Sending loan closing request data and returning loan closing result data
15) Sending loan loss data and returning certificate change result data
As shown in fig. 3, the block chain-based shared charging pile transaction system according to the embodiment of the present invention includes the following steps:
s101, when a user performs registration operation, a registration module and a property authentication module send the relevant registration or property data of a registrant or an organization to a user information authentication module for registration authentication or property authentication;
s102, the user information authentication module checks and authenticates the registration data or the property data and returns result data to the registration module or the property authentication module, if the returned registration result data is true, the user information authentication module sends certificate request data to the certificate management module and sends node generation data to the node management module, the certificate management module verifies after receiving the certificate request data, and if the returned certificate request data passes the verification, the user information authentication module sends the certificate data to the node management module. And after receiving the node generation data, the node management module creates a node on the block chain and account data under the node.
S103, when a user searches for a nearby charging pile by using the platform, the node management module sends query request data to the charging pile query module, the charging pile query module sends certificate verification request data to the certificate management module after receiving the query request data, the certificate management module verifies a node certificate after receiving the certificate verification request data and returns verification result data to the charging pile query module, and the charging pile query module judges whether to return charging pile data to the node management module according to the verification result data.
S104, when a user performs charging transaction operation, the node management module sends transaction request data to the transaction construction module, the transaction construction module sends certificate verification request data to the certificate management module after receiving the transaction request data, the certificate management module verifies the node certificates of both transaction parties after receiving the certificate verification request data and returns verification result data to the transaction construction module, the transaction construction module judges whether to construct a transaction according to the verification result data and sends transaction construction result data to the node management module, and the node management module judges whether to cache the transaction in a transaction pool and broadcast the transaction to other nodes after receiving the transaction construction result data.
S105, when the charging transaction task specified by the transaction constructed by the transaction construction module is completed, the node management module takes out and packages the transactions completing the charging task in the transaction pool into blocks according to the first-in first-out principle and sends the blocks to other nodes, the other nodes take out and execute the transactions in the blocks after receiving the blocks, the node management module packages the node execution result data and sends the node execution result data to the transaction common identification module, the transaction common identification module executes related common identification operation and sends the common identification result to the transaction uplink module, the transaction uplink module sends block uplink data to the node management module if the common identification is successful after receiving the common identification result data, and the node management module deletes the transaction data from the node transaction pool after receiving the block data.
S106, when the user achieves the charging transaction intention and the transaction is stored in the cache pool, but the balance of the payer account is insufficient, the node management module sends asset transfer request data to the same-node account asset transfer module, after the same-node account asset transfer module receives the asset transfer request data, the same-node account asset transfer module performs account asset transfer operation under the same node on the node to which the account belongs, and returns transfer result data to the node management module, after the node management module receives the transfer result data, if the transfer result data are successful, the charging transaction process is continuously executed, if the transfer result data are failed, the transaction failure data are returned to both transaction parties, the user can select loan execution application after receiving the transaction failure data, and otherwise, the node management module deletes the transaction from the transaction pool.
S107, after the user selects the loan operation, the node management module broadcasts loan request data to other nodes, when other nodes reach loan intention, the node management module sends the loan request data to the different node loan module, the different node loan module sends certificate verification request data to the certificate management module after receiving the loan request data, the certificate management module verifies and releases a lender node certificate after receiving the certificate verification request data and returns verification result data to the different node loan module, the different node loan module sends loan transaction request data to the transaction construction module if the verification result data are received successfully and generates a contract, the transaction construction module continues to execute the subsequent transaction construction operation after receiving the loan transaction request data, and the description is omitted.
And S108, the node executes repayment transaction in the loan contract period, the node management module sends loan closing request data to the different node loan module, and the different node loan module closes the loan contract after receiving the loan closing request data and verifying the transaction. Otherwise, the different node loan module sends loan credit loss data to the certificate management module, the certificate management module receives the loan credit loss data, verifies the loan credit loss data, performs authority change or revocation on the node certificate according to the condition of the credit loss node certificate, returns the certificate change result to the node management module, and the node management module changes or reports the node certificate to a local credit investigation center according to the certificate change result.
The technical solution of the present invention is further described below with reference to specific examples.
Example 1
1. User A drives new energy automobile account A1Charging is needed, and after nearby charging pile query is carried out through the client, driving is carried out to nearby charging pile B1A charging operation is performed.
2. User A passes through new energy automobile account A on client1To charging pile account B1A charge transaction request is initiated.
3. Account B1And after the transaction request is agreed, the client verifies the transaction certificates of the two transaction parties.
4. After the verification is passed, the client end can construct the transaction and broadcast the transaction to other credible nodes in the whole network, and then the two parties A of the transaction1And B1The charging operation is started.
5. After the charging operation is completed, the whole network trusted node takes out a group of transactions containing the transaction from each transaction pool and carries out a block chain consensus process.
6. After the consensus is finished, the client processes the consensus result and performs block uplink operation, and at this time, the account A1And B1The charging transaction of (1) is completed.
Example 2
1. User A passes through new energy automobile account A1With nearby charging pile B1Account A when charging operation is performed1The balance is insufficient.
2. The client retrieves other account assets under the name of the user A and acquires the account A2And account A2Capable of paying account A1The amount of the transaction remaining required.
3. The client automatically initiates a transfer operation, i.e. from account A2Transfer to account A1The amount of the transaction remaining required.
4. Client side authentication sectionAfter the transfer of the point account assets is successful, account A is continued1And charging pile account B1The transaction of (2).
Example 3
1. User A passes through new energy automobile account A1With nearby charging pile B1Account A when charging operation is performed1The balance is insufficient.
2. The client retrieves other account assets under the name of the user A and acquires the account A2And A3However, account A2And A3Insufficient to pay account a1The amount of the transaction remaining required.
3. The client inquires whether the node A carries out loan operation or not, and if so, the client broadcasts a loan request to the whole network.
4. If the loan intention is reached, and the client checks the certificates of both loan transaction parties, the transaction can be constructed and a loan contract is created, and the loan operation is finished at the moment.
5. Account A1And closing the contract after executing the repayment transaction according to the time, and finishing the repayment transaction.
6. If account A1If the payment is not paid according to the time, the client-side makes a contract to account A1The certificate is changed or revoked and reported to the local credit investigation center.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When used in whole or in part, can be implemented in a computer program product that includes one or more computer instructions. When loaded or executed on a computer, cause the flow or functions according to embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.)). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the purpose of illustrating the present invention and the appended claims are not to be construed as limiting the scope of the invention, which is intended to cover all modifications, equivalents and improvements that are within the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A shared charging pile transaction system is characterized by comprising an admission system, a node transaction system, an account balance migration system and an alliance committee system;
the access system is used for registering user nodes and authenticating assets;
the node transaction system is used for being responsible for node information management, transaction management and linked data management;
the account balance migration system is used for being responsible for property transfer of accounts under the same node and loan of accounts under different nodes;
and the alliance committee system is used for being responsible for user information authentication and certificate management.
2. The shared charging pile transaction system of claim 1, wherein the federation committee system includes a user information authentication module and a certificate management module; the access system comprises a registration module and a property authentication module; the node transaction system comprises a node management module, a charging pile query module, a transaction construction module, a transaction consensus module and a transaction chaining module; the account balance migration system comprises an identical-node account asset transfer module and a different-node credit module;
the data interaction information among the modules comprises:
1) sending registration or property data and returning result data;
2) sending certificate request data and returning certificate request result data;
3) sending certificate change data;
4) the sending node generates data;
5) sending query request data and returning charging pile data;
6) sending certificate verification request data and returning verification result data;
7) sending transaction request data and returning transaction construction result data;
8) sending node execution result data;
9) sending consensus result data;
10) sending out block data;
11) sending asset transfer request data and returning transfer result data;
12) sending loan request data;
13) sending loan transaction request data and returning transaction construction result data;
14) sending loan closing request data and returning loan closing result data;
15) and sending the loan credit loss data and returning the certificate change result data.
3. The shared charging pile transaction system of claim 1, wherein the functions of the admission system further comprise:
when the same node subordinate account links up through the same node, performing one-time hash operation on all information of the account, encrypting through an account private key to generate an account encryption file, and sending the account encryption file to the subordinate node for storage, wherein the account name represents that the account belongs to the property under the node name;
the user registers on the shared charging pile transaction platform to generate a local private key, personal or organization related information, a named account encryption file and a certificate request file consisting of the information, the alliance committee verifies the authenticity and accuracy of the information and then conducts one-time hash operation on the certificate request file to obtain h, the private key of the certificate issuing organization is used for encrypting the h to obtain a ciphertext f, and meanwhile, a final certificate is generated and sent to the user and a node is generated.
4. The shared charging pile transaction system of claim 1, wherein the functions of the node transaction system further comprise:
when a new energy automobile has a charging requirement, available charging pile resources nearby are inquired through a platform, an owner conducts point-to-point transaction through a new energy automobile account and a charging pile account through a shared charging pile platform, a client side conducts signature on an initiator account after transaction is built and then sends the signature to a node, the node caches the transaction to a transaction pool after certificate validity verification and broadcasts the transaction, the certificate verification process is to decrypt a ciphertext of a certificate by using a public key of a certificate issuing authority to obtain h ', then encrypt h ' by using a plaintext certificate to obtain a ciphertext h, if the comparison result between h and h ' is the same, the node is verified to have the certificate;
when the charging task specified in the transaction is finished, the transaction is taken out from the transaction pool according to the first-in first-out principle and packaged into blocks to be sent to other nodes, the transaction in the blocks is taken out and executed after the other nodes receive the blocks, the transaction execution result and state can be packaged in the transaction return, when the node exceeding 2/3 returns the same execution result, the common recognition is achieved, the node is taken out, the transaction is deleted from the transaction pool, and the charging transaction is finished.
5. The shared charging pile transaction system of claim 1, wherein the functions of the account balance migration system further comprise:
after the verification certificate passes, the user enjoys the permissions of transaction, consensus and the like of the shared charging pile transaction platform, when the transaction is carried out on the subordinate account of the node, if the balance of the account is insufficient, other accounts under the subordinate node name are verified and automatic account transfer is carried out, and the transaction is a transaction in the node without a chain winding process;
when the balance of the account is insufficient, verifying that the balance sum of other accounts under the name of the node to which the account belongs is still insufficient, initiating a loan transaction request to other nodes on the chain, executing a normal chain transaction process to perform transaction and generate a contract if the other nodes receive the request, and sending information to a coalition committee and changing the certificate authority or canceling the certificate by the coalition committee if a loan receiver does not execute repayment transaction according to time.
6. The shared charging pile transaction system of claim 1, wherein the functionality of the alliance-committee system further comprises:
before the transaction is established, certificates of both transaction parties are verified, a user node registration request and a property authentication request are processed, the node certificate state is processed, namely, the certificate is issued, changed or cancelled, and the local credit investigation center is connected.
7. A shared charging pile transaction method for operating the shared charging pile transaction system according to any one of claims 1 to 6, wherein the shared charging pile transaction method comprises the following steps:
step one, registering a user, and sending registration data and property data to a client for processing;
step two, the client processes the registration data to judge whether the registration is successful, if so, a node is created, a transaction permission certificate is issued, and if not, the client quits and returns error information;
step three, a user searches for nearby charging piles through a client, the client verifies the node transaction certificate and returns a charging pile data set if the node transaction certificate is successful, and the client quits and returns error information if the node transaction certificate is failed;
step four, the user achieves the transaction intention with the charging pile through the client, the client establishes the transaction and monitors the charging process, and if the account balance is insufficient, the step six is executed;
step five, the charging task is completed, the client packs the transaction, a block is generated, the chain is linked after the consensus is successful, and the charging transaction is completed; when the user needs to search for a charging pile for charging, continuing to execute the third step;
step six, if the client establishes the charging transaction and the account of the payer is insufficient in the transaction process, the client automatically executes the own account asset transfer under the node to meet the transaction amount requirement and continuously executes the transaction; if the asset transfer still cannot meet the charging transaction, executing a seventh step;
step seven, if the client side still cannot meet the charging transaction after carrying out the asset transfer of the own side of the node, the user can choose to carry out loan, initiates a loan request to other nodes through the client side, if the loan transaction intention is met, executes the loan transaction and generates a loan contract, and continues to carry out the unfinished charging transaction;
step eight, if the user completes repayment operation on time, the client closes the corresponding loan contract, otherwise, the step nine is executed;
and step nine, if the user does not complete repayment operation on time, the client changes or cancels the node transaction certificate, and judges whether to report to the local credit investigation center according to default conditions.
8. A computer device, characterized in that the computer device comprises a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of:
(1) user registration, namely sending registration data and property data to a client for processing;
(2) the client processes the registration data to judge whether the registration is successful, if so, a node is created and a transaction permission certificate is issued, and if not, the client quits and returns error information;
(3) a user searches nearby charging piles through a client, the client verifies the node transaction certificate and returns a charging pile data set if the node transaction certificate is successful, and the client quits and returns error information if the node transaction certificate is failed;
(4) the user achieves the transaction intention with the charging pile through the client, the client establishes a transaction and monitors the charging process, and if the account balance is insufficient, the step (6) is executed;
(5) after the charging task is completed, the client packs the transaction, generates a block, links the chain after the consensus is successful, and completes the charging transaction; when the user needs to search for a charging pile for charging, continuing to execute the step (3);
(6) if the client establishes the charging transaction and the account of the payer is insufficient in the transaction process, the client automatically executes the own account asset transfer under the node to meet the transaction amount requirement and continues to execute the transaction; if the asset transfer still cannot meet the charging transaction, executing the step (7);
(7) if the client side still cannot meet the charging transaction after carrying out the asset transfer of the own side of the node, the user can choose to carry out loan, initiates a loan request to other nodes through the client side, executes the loan transaction and generates a loan contract if the loan transaction intention is met, and continues to carry out the unfinished charging transaction;
(8) if the user completes repayment operation on time, the client closes the corresponding loan contract, otherwise, the step (9) is executed;
(9) if the user does not complete the repayment operation on time, the client changes or cancels the node transaction certificate, and judges whether to report to the local credit investigation center according to default conditions.
9. A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
(1) user registration, namely sending registration data and property data to a client for processing;
(2) the client processes the registration data to judge whether the registration is successful, if so, a node is created and a transaction permission certificate is issued, and if not, the client quits and returns error information;
(3) a user searches nearby charging piles through a client, the client verifies the node transaction certificate and returns a charging pile data set if the node transaction certificate is successful, and the client quits and returns error information if the node transaction certificate is failed;
(4) the user achieves the transaction intention with the charging pile through the client, the client establishes a transaction and monitors the charging process, and if the account balance is insufficient, the step (6) is executed;
(5) after the charging task is completed, the client packs the transaction, generates a block, links the chain after the consensus is successful, and completes the charging transaction; when the user needs to search for a charging pile for charging, continuing to execute the step (3);
(6) if the client establishes the charging transaction and the account of the payer is insufficient in the transaction process, the client automatically executes the own account asset transfer under the node to meet the transaction amount requirement and continues to execute the transaction; if the asset transfer still cannot meet the charging transaction, executing the step (7);
(7) if the client side still cannot meet the charging transaction after carrying out the asset transfer of the own side of the node, the user can choose to carry out loan, initiates a loan request to other nodes through the client side, executes the loan transaction and generates a loan contract if the loan transaction intention is met, and continues to carry out the unfinished charging transaction;
(8) if the user completes repayment operation on time, the client closes the corresponding loan contract, otherwise, the step (9) is executed;
(9) if the user does not complete the repayment operation on time, the client changes or cancels the node transaction certificate, and judges whether to report to the local credit investigation center according to default conditions.
10. An information data processing terminal, characterized in that the information data processing terminal is used for implementing the shared charging pile transaction system of claim 7.
CN202111158147.XA 2021-09-30 2021-09-30 Shared charging pile transaction system, method, equipment and terminal Pending CN113971597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111158147.XA CN113971597A (en) 2021-09-30 2021-09-30 Shared charging pile transaction system, method, equipment and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111158147.XA CN113971597A (en) 2021-09-30 2021-09-30 Shared charging pile transaction system, method, equipment and terminal

Publications (1)

Publication Number Publication Date
CN113971597A true CN113971597A (en) 2022-01-25

Family

ID=79587074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111158147.XA Pending CN113971597A (en) 2021-09-30 2021-09-30 Shared charging pile transaction system, method, equipment and terminal

Country Status (1)

Country Link
CN (1) CN113971597A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114633656A (en) * 2022-03-23 2022-06-17 车主邦(北京)科技有限公司 Private charging pile distribution method, device, system, program product and electronic equipment
CN115063927A (en) * 2022-05-30 2022-09-16 湖南天河国云科技有限公司 Shared charging system based on block chain and running equipment
CN115314227A (en) * 2022-10-10 2022-11-08 广东电网有限责任公司江门供电局 Charging pile access authentication method, system and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064309A (en) * 2018-07-02 2018-12-21 浙江大学 A kind of small micro- loan transaction system and method for commerce based on alliance's chain
CN109685504A (en) * 2018-12-20 2019-04-26 北京比新科技有限公司 It is a kind of that economic bookkeeping methods is shared based on block chain
CN111080296A (en) * 2019-12-05 2020-04-28 深圳前海微众银行股份有限公司 Verification method and device based on block chain system
CN111341024A (en) * 2020-03-05 2020-06-26 广州宏算信息科技有限公司 Charging pile sharing method, device, equipment and storage medium based on block chain
CN113435868A (en) * 2021-07-02 2021-09-24 区块动力(广州)科技有限公司 Digital asset transaction method for sharing charging pile

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064309A (en) * 2018-07-02 2018-12-21 浙江大学 A kind of small micro- loan transaction system and method for commerce based on alliance's chain
CN109685504A (en) * 2018-12-20 2019-04-26 北京比新科技有限公司 It is a kind of that economic bookkeeping methods is shared based on block chain
CN111080296A (en) * 2019-12-05 2020-04-28 深圳前海微众银行股份有限公司 Verification method and device based on block chain system
CN111341024A (en) * 2020-03-05 2020-06-26 广州宏算信息科技有限公司 Charging pile sharing method, device, equipment and storage medium based on block chain
CN113435868A (en) * 2021-07-02 2021-09-24 区块动力(广州)科技有限公司 Digital asset transaction method for sharing charging pile

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114633656A (en) * 2022-03-23 2022-06-17 车主邦(北京)科技有限公司 Private charging pile distribution method, device, system, program product and electronic equipment
CN114633656B (en) * 2022-03-23 2024-01-26 浙江安吉智电控股有限公司 Private charging pile distribution method, private charging pile distribution device, private charging pile distribution system, private charging pile distribution program product and electronic equipment
CN115063927A (en) * 2022-05-30 2022-09-16 湖南天河国云科技有限公司 Shared charging system based on block chain and running equipment
CN115314227A (en) * 2022-10-10 2022-11-08 广东电网有限责任公司江门供电局 Charging pile access authentication method, system and equipment
CN115314227B (en) * 2022-10-10 2023-01-20 广东电网有限责任公司江门供电局 Charging pile access authentication method, system and equipment

Similar Documents

Publication Publication Date Title
Zhou et al. Solutions to scalability of blockchain: A survey
JP7481747B2 (en) Method, device, storage medium and program product for carbon trading
Tan et al. A blockchain-empowered crowdsourcing system for 5G-enabled smart cities
Gao et al. A blockchain-based privacy-preserving payment mechanism for vehicle-to-grid networks
CN108256859B (en) Financial product transaction consensus method, node and system based on block chain
Chen et al. Secure electricity trading and incentive contract model for electric vehicle based on energy blockchain
CN113971597A (en) Shared charging pile transaction system, method, equipment and terminal
EP4009260A1 (en) Method for secure ledger distribution and computer system using secure distributed ledger technology
CA3088610A1 (en) Blockchain methods, nodes, systems and products
CN110414270B (en) Personal data protection system and method based on block chain
CN112765656B (en) Electric car sharing charging credible system and method based on block chain
Teng et al. A comprehensive review of energy blockchain: Application scenarios and development trends
Meijers et al. Blockchain for v2x: Applications and architectures
Wang et al. A fast and secured vehicle-to-vehicle energy trading based on blockchain consensus in the internet of electric vehicles
Chen et al. Blockchain based non-repudiable IoT data trading: Simpler, faster, and cheaper
CN112232828A (en) Power grid data transaction method and system
CN114900536A (en) Block chain-based point acceptance consensus storage method and system
CN110930158A (en) Block chain DPoS common recognition method based on reward and punishment mechanism
CN113626876B (en) Consensus method based on power grid block chain
CN101616146A (en) Based on third-party digital signature identification system and authentication method
CN110210917B (en) Electronic invoice system construction method based on multi-chain configuration
CN110910217A (en) Electronic ticket settlement method based on block chain
Waters et al. Cercoin: Carbon tracking enabling blockchain system for electric vehicles
CN104769628B (en) Method, system and the computer-readable medium negotiated for the tranaction costs for currency remittance
Yu et al. Blockchain in smart grids: a review of recent developments

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