CN114299667B - Charging payment method and device for electric automobile - Google Patents

Charging payment method and device for electric automobile Download PDF

Info

Publication number
CN114299667B
CN114299667B CN202111644870.9A CN202111644870A CN114299667B CN 114299667 B CN114299667 B CN 114299667B CN 202111644870 A CN202111644870 A CN 202111644870A CN 114299667 B CN114299667 B CN 114299667B
Authority
CN
China
Prior art keywords
charging
client
information
bill
pile
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.)
Active
Application number
CN202111644870.9A
Other languages
Chinese (zh)
Other versions
CN114299667A (en
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.)
POTEVIO NEW ENERGY CO Ltd
Original Assignee
POTEVIO NEW ENERGY 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 POTEVIO NEW ENERGY CO Ltd filed Critical POTEVIO NEW ENERGY CO Ltd
Priority to CN202111644870.9A priority Critical patent/CN114299667B/en
Publication of CN114299667A publication Critical patent/CN114299667A/en
Application granted granted Critical
Publication of CN114299667B publication Critical patent/CN114299667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a charging payment method and a charging payment device for an electric automobile, and relates to the technical field of electric automobile charging, wherein the method comprises the following steps: the charging pile receives an electric vehicle charging request initiated by a client through near field communication; sending a request for acquiring user authentication information to a client; receiving user authentication information fed back by a client; verifying the user authentication information; after the verification is passed, generating charging information of the current charging; sending the charging information to a client; receiving a charging order sent by a client; after confirming that the data in the charging order is correct, starting a charging mode to charge the electric automobile; after the charging is finished, generating a charging bill; sending the charging bill to the client; after receiving the bill confirmation information, generating charge settlement information corresponding to the charged bill according to the charging rule; and sending the expense settlement information to the client. The invention can realize the point-to-point user authentication of the charging pile and the client and charging payment under an offline scene.

Description

Charging payment method and device for electric automobile
Technical Field
The invention relates to the technical field of electric automobile charging, in particular to an electric automobile charging payment method and device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
At present, an electric vehicle charging service network of a charging operator mostly adopts a centralized control mode of a central platform and a charging pile. Before each charging, a user is required to be connected to the central platform through a user terminal to carry out user authentication, then the central platform controls the charging pile to complete charging of the electric automobile, and after the charging is completed, the charging pile reports charging settlement information to the central platform, and the central platform modifies relevant information of a user account according to the charging settlement information.
However, the centralized control mode of the central platform plus the charging pile has higher requirement on network quality, when the charging pile or the user terminal is disconnected with the network of the central platform, user authentication before charging cannot be performed, and the central platform cannot remotely control the charging pile, so that charging cannot be performed; or under the condition of poor network quality, the speed of establishing network connection between the charging pile or the user terminal and the central platform is low, and charging payment cannot be smoothly carried out after charging is completed, so that the charging and payment efficiency of a user is extremely low, and the user experience is seriously influenced.
Disclosure of Invention
The embodiment of the invention provides a charging payment method for an electric automobile, which is used for smoothly completing user authentication and charging payment flow before charging under the condition of network disconnection or poor network quality, improving user charging and payment efficiency and further improving user experience, and is applied to a charging pile, and comprises the following steps:
when the charging pile and the client are in an offline state, receiving an electric vehicle charging request initiated by the client through near field communication;
according to the electric automobile charging request, a request for acquiring user authentication information is sent to a client;
receiving user authentication information fed back by a client according to a request for acquiring the user authentication information; so that the client side obtains the user authentication information from the security module SE according to the request for obtaining the user authentication information; the user authentication information includes a user electronic wallet record; the user electronic wallet records are historical charging transaction records of the user corresponding to the client side or other historical transaction records of the user by using the electronic wallet;
checking the user authentication information;
after the verification is passed, charging information is generated, wherein the charging information comprises charging pile information and a charging key; the charging key is used for encrypting the data of the current charging;
The charging information is sent to the client, so that the client generates a charging order according to the charging information;
receiving a charging order sent by a client, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
confirming a charging order, and starting a charging mode to charge the electric automobile after confirming that the data in the charging order is correct;
after the charging is finished, generating a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
sending the charging bill to the client so that the client confirms the charging bill;
after receiving bill confirmation information sent by the client, generating charge settlement information corresponding to the charge bill according to a charging rule;
sending the charge bill corresponding charge settlement information to the client so that the client stores the charge bill corresponding charge settlement information;
under the condition that the charging pile and the charging management platform are connected in a network, charging bills and charge settlement information corresponding to the charging bills are sent to the charging management platform, so that the charging management platform modifies account information corresponding to the client after verifying the charging bills and the charge settlement information corresponding to the charging bills, and charging payment is completed;
The user authentication information fed back by the client according to the request for obtaining the user authentication information comprises: signing by a client private key and recording by a user electronic purse encrypted by a charging pile public key;
verifying the user authentication information, including:
signature verification is carried out on the electronic wallet records of the users by using the public key of the client;
after the signature verification is passed, decrypting the user electronic wallet record by using the charging stake private key;
and carrying out compliance verification on the decrypted electronic wallet records of the user, wherein the compliance verification comprises whether the electronic wallet records are blacklisted or not and/or whether unpaid charging records exist or not.
The embodiment of the invention also provides a charging and paying method for the electric automobile, which is used for smoothly completing user authentication and charging and paying flow before charging under the condition of network disconnection or poor network quality, improving the charging and paying efficiency of the user and further improving the user experience, and is applied to a client, and the method comprises the following steps:
when the charging pile and the client are in an offline state, sending an electric vehicle charging request to the charging pile through near field communication;
receiving a request for acquiring user authentication information sent by a charging pile, wherein the request for acquiring the user authentication information comprises a charging pile public key;
Acquiring user authentication information from the security module SE according to the request for acquiring the user authentication information; the user authentication information includes a user electronic wallet record; the user electronic wallet records are historical charging transaction records of the user corresponding to the client side or other historical transaction records of the user by using the electronic wallet;
transmitting the user authentication information to a charging pile so that the charging pile can verify the user authentication information and generate charging information, wherein the charging information comprises charging pile information and a charging key; the charging key is used for encrypting the data of the current charging;
receiving charging information sent by a charging pile;
generating a charging order according to the charging information, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
the method comprises the steps of sending a charging order to a charging pile, enabling the charging pile to start a charging mode according to the charging order to charge an electric automobile, and generating a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
receiving a charging bill sent by a charging pile;
After confirming that the data in the charging bill is correct, the bill confirmation information is sent to the charging pile so that the charging pile can generate the charge settlement information corresponding to the charging bill;
receiving charge bill corresponding charge settlement information sent by a charge pile;
under the condition that the client and the charging management platform are connected through a network, the charging bill and the charge settlement information corresponding to the charging bill are sent to the charging management platform, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed;
before sending the user authentication information to the charging pile, the charging pile further comprises:
encrypting the user electronic wallet record by using the charging pile public key;
signing the encrypted user electronic wallet record by using a client private key;
transmitting the user authentication information to the charging pile, comprising:
and sending the client public key and the signed encrypted user electronic wallet record to the charging pile.
The embodiment of the invention also provides an electric automobile charging and paying device, which is used for smoothly completing user authentication and charging and paying process before charging under the condition of network disconnection or poor network quality, improving user charging and paying efficiency and further improving user experience, and is applied to a charging pile, and comprises the following steps:
The first receiving module is used for receiving an electric vehicle charging request initiated by the client through near field communication when the charging pile and the client are in an offline state;
the first sending module is used for sending a request for acquiring user authentication information to the client according to the electric automobile charging request; so that the client side obtains the user authentication information from the security module SE according to the request for obtaining the user authentication information; the user authentication information includes a user electronic wallet record; the user electronic wallet records are historical charging transaction records of the user corresponding to the client side or other historical transaction records of the user by using the electronic wallet;
the second receiving module is used for receiving user authentication information fed back by the client according to the request for acquiring the user authentication information;
the verification module is used for verifying the user authentication information;
the charging information generation module is used for generating charging information after verification is passed, wherein the charging information comprises charging pile information and a charging key; the charging key is used for encrypting the data of the current charging;
the second sending module is used for sending the charging information to the client so that the client generates a charging order according to the charging information;
The third receiving module is used for receiving a charging order sent by the client, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
the charging module is used for confirming the charging order, and starting a charging mode to charge the electric automobile after confirming that the data in the charging order is correct;
the charging system comprises a bill generation module, a charging module and a charging module, wherein the bill generation module is used for generating a charging bill after charging is finished, and the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
the third sending module is used for sending the charging bill to the client so that the client confirms the charging bill;
the settlement module is used for generating charge settlement information corresponding to the charge bill according to the charging rule after receiving the bill confirmation information sent by the client;
the fourth sending module is used for sending the charge bill corresponding charge settlement information to the client so that the client stores the charge bill corresponding charge settlement information;
the fifth sending module is used for sending the charging bill and the charge settlement information corresponding to the charging bill to the charging management platform under the condition that the charging pile and the charging management platform are connected in a network mode, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed;
The user authentication information fed back by the client according to the request for obtaining the user authentication information comprises: signing by a client private key and recording by a user electronic purse encrypted by a charging pile public key;
the verification module is specifically used for:
signature verification is carried out on the electronic wallet records of the users by using the public key of the client;
after the signature verification is passed, decrypting the user electronic wallet record by using the charging stake private key;
and carrying out compliance verification on the decrypted electronic wallet records of the user, wherein the compliance verification comprises whether the electronic wallet records are blacklisted or not and/or whether unpaid charging records exist or not.
The embodiment of the invention also provides an electric automobile charging and paying device, which is used for smoothly completing user authentication and charging and paying process before charging under the condition of network disconnection or poor network quality, improving user charging and paying efficiency and further improving user experience, and is applied to a client, and the device comprises:
the first sending module is used for sending an electric vehicle charging request to the charging pile through near field communication when the charging pile and the client are in an offline state;
the first receiving module is used for receiving a request for acquiring user authentication information sent by the charging pile, wherein the request for acquiring the user authentication information comprises a charging pile public key;
The information acquisition module is used for acquiring the user authentication information from the security module SE according to the request for acquiring the user authentication information; the user authentication information includes a user electronic wallet record; the user electronic wallet records are historical charging transaction records of the user corresponding to the client side or other historical transaction records of the user by using the electronic wallet;
the second sending module is used for sending the user authentication information to the charging pile so that the charging pile can check the user authentication information and generate charging information, and the charging information comprises charging pile information and a charging key; the charging key is used for encrypting the data of the current charging;
the second receiving module is used for receiving the charging information sent by the charging pile;
the order generation module is used for generating a charging order according to the charging information, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
the third sending module is used for sending the charging order to the charging pile so that the charging pile starts a charging mode according to the charging order to charge the electric automobile and generates a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
The third receiving module is used for receiving the charging bill sent by the charging pile;
the fourth sending module is used for sending bill confirmation information to the charging pile after confirming that the data in the charging bill is correct, so that the charging pile generates the charge settlement information corresponding to the charging bill;
the fourth receiving module is used for receiving the charge settlement information corresponding to the charge bill sent by the charging pile;
the fifth sending module is used for sending the charging bill and the charge settlement information corresponding to the charging bill to the charging management platform under the condition that the client and the charging management platform are connected in a network mode, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed;
the first encryption signature module is used for before the second sending module sends the user authentication information to the charging pile:
encrypting the user electronic wallet record by using the charging pile public key;
signing the encrypted user electronic wallet record by using a client private key;
the second sending module is specifically configured to:
and sending the client public key and the signed encrypted user electronic wallet record to the charging pile.
The embodiment of the invention also provides a computer device which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the electric vehicle charging and paying method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the electric vehicle charging and paying method when being executed by a processor.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program realizes the electric vehicle charging payment method when being executed by a processor.
In the embodiment of the invention, a charging pile receives an electric vehicle charging request initiated by a client through near field communication; according to the electric automobile charging request, a request for acquiring user authentication information is sent to a client; receiving user authentication information fed back by a client according to a request for acquiring the user authentication information; verifying the user authentication information; after the verification is passed, charging information is generated, wherein the charging information comprises charging pile information and a charging key; the charging information is sent to the client, so that the client generates a charging order according to the charging information; receiving a charging order sent by a client, and starting a charging mode to charge the electric automobile after confirming that the data in the charging order is correct; after the charging is finished, generating a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount; sending the charging bill to the client so that the client confirms the charging bill; after receiving bill confirmation information sent by the client, generating charge settlement information corresponding to the charge bill according to a charging rule; sending the charge bill corresponding charge settlement information to the client so that the client stores the charge bill corresponding charge settlement information; under the condition that the charging pile and the charging management platform are connected in a network, the charging bill and the charge settlement information corresponding to the charging bill are sent to the charging management platform, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed. Compared with the technical scheme of charging in a centralized control mode of a central platform and a charging pile in the prior art, the embodiment of the invention can realize the point-to-point local connection of the charging pile and a client under an offline scene through near field communication, thereby completing user authentication and charging flow, and simultaneously, after charging is completed, local related transaction records can be synchronized to a charging management platform under an online scene, thereby realizing clear settlement, further improving the charging and payment efficiency of users, and further improving user experience.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
fig. 1 is a flowchart of an electric vehicle charging payment method applied to a charging pile according to an embodiment of the present invention;
fig. 2 is a flowchart of an electric vehicle charging payment method applied to a client according to an embodiment of the present invention;
fig. 3 is a schematic diagram of information interaction for charging and paying for an electric vehicle by applying the method provided by the embodiment of the invention;
fig. 4 is a schematic diagram of an electric vehicle charging payment device applied to a charging pile according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another electric vehicle charging payment device applied to a charging pile according to an embodiment of the present invention;
fig. 6 is a schematic diagram of another electric vehicle charging payment device applied to a charging pile according to an embodiment of the present invention;
Fig. 7 is a schematic diagram of an electric vehicle charging and paying device applied to a client according to an embodiment of the present invention;
fig. 8 is a schematic diagram of still another electric vehicle charging and paying device applied to a client according to an embodiment of the present invention;
fig. 9 is a schematic diagram of still another electric vehicle charging and paying device applied to a client according to an embodiment of the present invention;
fig. 10 is a schematic diagram of still another electric vehicle charging and paying device applied to a client according to an embodiment of the present invention;
fig. 11 is a schematic diagram of still another electric vehicle charging and paying device applied to a client according to an embodiment of the present invention;
fig. 12 is a schematic diagram of still another electric vehicle charging and paying device applied to a client according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present invention and their descriptions herein are for the purpose of explaining the present invention, but are not to be construed as limiting the invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are open-ended terms, meaning including, but not limited to. Reference to the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is used to schematically illustrate the practice of the present application, and is not limited thereto and may be appropriately adjusted as desired.
The research shows that the electric automobile charging service network built by the charging operators at present mainly has the following problems:
1. the centralized control mode of the central platform and the charging pile requires that the network of the central platform and the charging pile is unobstructed, which improves the requirements of the construction environment of the charging pile to a certain extent and increases the construction cost.
2. Under the off-line scene, because the credibility between the client and the charging pile cannot be established through the authentication of the center platform, the charging pile cannot charge the electric automobile.
3. Under the condition of unstable network, charging payment efficiency is slower after charging is completed, and user experience is poor.
In view of the above, there is a need for developers to find a way to establish authentication and billing locally through point-to-point communication. Therefore, the embodiment of the invention provides a charging payment method and a charging payment device for an electric automobile, wherein a charging pile and a client can establish local connection through near field communication so as to realize point-to-point identity authentication between the charging pile and the client in an offline scene; and after the charging is completed, the charging pile and the client can utilize the electronic wallet of the user to carry out local point-to-point payment settlement. Under the condition that the charging pile and the client can establish network connection with a charging management platform (namely a center platform), a charging bill is sent to the charging management platform, and the charging management platform carries out balance modification of the user electronic wallet, so that account information synchronization of a local account and the charging management platform can be realized.
As shown in fig. 1, a flowchart of an electric vehicle charging payment method provided by an embodiment of the present invention is applied to a charging pile, and the method may include the following steps:
step 101, receiving an electric vehicle charging request initiated by a client through near field communication;
step 102, according to the electric automobile charging request, a request for acquiring user authentication information is sent to a client;
step 103, receiving user authentication information fed back by the client according to the request for obtaining the user authentication information;
104, checking the user authentication information;
step 105, after verification is passed, generating charging information, wherein the charging information comprises charging pile information and a charging key;
step 106, the charging information is sent to the client so that the client generates a charging order according to the charging information;
step 107, receiving a charging order sent by a client, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
step 108, confirming the charging order, and starting a charging mode to charge the electric automobile after confirming that the data in the charging order is correct;
Step 109, after charging is finished, generating a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
step 110, the charging bill is sent to the client so that the client confirms the charging bill;
step 111, after receiving the bill confirmation information sent by the client, generating fee settlement information corresponding to the charged bill according to the charging rule;
step 112, sending the charge bill corresponding charge settlement information to the client so that the client stores the charge bill corresponding charge settlement information;
and 113, under the condition that the charging pile and the charging management platform are connected in a network, sending the charging bill and the charge settlement information corresponding to the charging bill to the charging management platform, so that the charging management platform modifies the account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed.
In the embodiment of the invention, compared with the technical scheme of charging in a centralized control mode of a central platform and a charging pile in the prior art, the embodiment of the invention can realize the point-to-point local connection of the charging pile and a client under an offline scene through near field communication so as to finish user authentication and charging flow, and simultaneously, after charging is finished, local related transaction records can be synchronized to a charging management platform under an online scene so as to realize clear settlement, thereby improving the charging and payment efficiency of users and further improving user experience.
In step 101, the client initiates an electric vehicle charging request to the charging pile through Near Field Communication (NFC), and the charging pile receives the electric vehicle charging request.
The electric vehicle charging request may be a request for indicating that the client requests to establish near field communication connection with the charging pile so as to charge the electric vehicle.
In the embodiment of the invention, local connection can be established through near field communication under the scene that any one or both of the client and the charging pile are offline; or, in a scene that the network environment of either the client or the charging pile is poor, the local connection can be established through near field communication.
In this way, the embodiment of the invention can establish the point-to-point trusted authentication of the charging pile and the client through the near field communication technology, and realize the distributed control of the charging process. And the near field communication technology has no requirement on the network of the charging management platform and the charging pile, so that the coupling property of the charging management platform and the charging pile and the complexity of charging control business logic are reduced to a certain extent, the network construction cost is reduced, and the operation benefit is improved.
In addition, since the charging transaction is in an offline scenario, the charging business process is easily subjected to various security attacks, such as agent attacks, which cause losses to users and operators, and therefore, various security risks in the offline scenario must be fully considered. Therefore, in the embodiment of the invention, a public key infrastructure (Public Key Infrastructure, PKI) is also adopted to establish a unified trusted domain of the client and the charging pile, so that various security risks of the charging business process in an offline environment are reduced.
In step 102, the charging pile establishes a local connection with the client according to the electric vehicle charging request initiated by the client. And sends a request for acquiring user authentication information to the client.
The request for obtaining the user authentication information may include a charging pile public key.
Specifically, the client receives the request for obtaining the user authentication information, and obtains the user authentication information from the secure module SE, where the user authentication information may include a client public key, a user electronic wallet record, user identity information, charging vehicle information, and so on.
The electronic wallet record of the user can be a historical charging transaction record of the user corresponding to the client, or other historical transaction records of the user using the electronic wallet.
The secure module SE of the client may be used to implement functions such as secure storage of data, encryption and decryption operations, and the like, so as to improve security of data storage and data transmission.
In the embodiment of the invention, in order to ensure the safety of user data transmission, a client needs to encrypt and sign user authentication information, and specifically, the client encrypts a user electronic purse record by using a charging pile public key; and signing the encrypted user electronic wallet record by using the client private key, and sending the client public key and the signed encrypted user electronic wallet record to the charging pile.
In step 103, the charging pile receives the user authentication information fed back by the client. The user authentication information includes a client public key and a user electronic wallet record signed with a client private key and encrypted with a charging stub public key.
In step 104, the charging pile verifies the user authentication information.
Specifically, the step 104 may include:
signature verification is carried out on the electronic wallet records of the users by using the public key of the client;
after the signature verification is passed, decrypting the user electronic wallet record by using the charging stake private key;
and carrying out compliance verification on the decrypted electronic wallet records of the user, wherein the compliance verification comprises whether the electronic wallet records are blacklisted or not and/or whether unpaid charging records exist or not.
In this way, in the embodiment of the invention, through compliance verification on the electronic wallet records of the user, the charging of the user which does not meet the regulations can be avoided, and the loss to the charging operator is avoided.
In step 105, after the user authentication information is checked, the charging pile may generate charging information of the current charging according to the user authentication information. The charging information may include charging stake information and a charging key.
The charging pile information may include a charging pile number, charging operator information to which the charging pile belongs, charging billing information, and the like. The charging key is a key for encrypting data of the current charging.
In step 106, the charging pile sends charging information to the client.
Specifically, to ensure the security of the data transmission process, before the step 106, the method further includes:
generating a charging key, and encrypting the charging pile information by using the charging key;
encrypting the charging key by using a client public key carried by the user authentication information;
signing the encrypted charging pile information and the encrypted charging key by using a charging pile private key;
the step 106 may specifically include:
and sending the signed encrypted charging pile information and the encrypted charging key to the client.
The client receives a signature sent by the charging pile and signed by the charging pile private key: after the charging pile information is encrypted with the charging key and the charging key is encrypted with the client public key, the charging information needs to be decrypted and signed.
Specifically, the client performs signature verification on charging pile information and a charging key by using a charging pile public key; after the signature verification is passed, the client decrypts the charging key by using the client private key; and the client decrypts the encrypted charging pile information by using the decrypted charging key to obtain decrypted charging pile information.
And the client generates a charging order according to the decrypted charging pile information. The charge order may include: charging pile information, client information, a charging amount, a charging period, a charging duration, and a charging amount.
To ensure data security, the client may encrypt and sign the charging order before sending it to the charging stake. Specifically, the client encrypts the charging order by using the charging key; the client signs the encrypted charging order by using a client private key; and the client sends the signed encrypted charging order to the charging pile.
In the embodiment of the invention, after the client generates the charging order, the preset bill amount can be frozen in the electronic wallet of the user.
Therefore, by freezing the preset bill amount, smooth payment after the current charging can be ensured, and charging failure caused by insufficient balance in the electronic wallet to pay the amount of the current charging is avoided.
In step 107, the charging pile receives the charging order sent by the client.
In the step 108, the charging pile confirms the charging order, and starts the charging mode to charge the electric vehicle after confirming that the data in the charging order is correct.
Specifically, since the charging order sent by the client is a charging order signed with the client private key and encrypted with the charging key, in step 108, the confirmation of the charging order may include:
carrying out signature verification on the charging order by using the public key of the client;
after the signature verification is passed, decrypting the charging order with the charging key;
and confirming whether the data in the decrypted charging order is correct.
After the charging pile determines that the data in the decrypted charging order is correct, a charging mode can be started to charge the electric automobile.
In the above step 109, after the end of the charging, the charging stake generates a charging bill, which may include a transaction serial number, charging stake information, client information, a charge amount, a charging period, a charging duration, a charging amount, and the like.
In step 110 described above, the charging stake transmits a charging bill to the client.
To ensure the security of the data transmission, before the step 110, the method may further include:
encrypting a charging bill by using a charging key;
signing the encrypted charging bill by using the charging pile private key;
step 110 may specifically include:
And sending the signed encrypted charging bill to the client.
After receiving a charging bill sent by a charging pile, signed by a charging pile private key and encrypted by the charging key, the client performs signature verification on the charging bill by using the charging pile public key; after the signature verification is passed, the client decrypts the charging bill by using the charging key; the client confirms whether the data in the decrypted charging bill is correct.
And when the client confirms that the data in the decrypted charging bill is correct, encrypting the bill confirmation information by using the charging key, signing the encrypted bill confirmation information by using a private key of the client, and sending the signed encrypted bill confirmation information to the charging pile.
In step 111, after receiving the signed encrypted bill confirmation information sent by the client, the charging pile performs signature verification on the bill confirmation information by using the client public key, decrypts the bill confirmation information by using the charging key after the signature verification is passed, and generates the charge settlement information corresponding to the charging bill according to the charging rule when the bill confirmation information is confirmed to be correct.
The charging rule may be a charging rule preset by the charging pile, and may be calculated according to a charging unit price, a duration, a charging amount, and the like.
In addition, in the embodiment of the present invention, after the charging pile generates the charge bill corresponding to the charge settlement information, the charging pile may store the charge bill of the present charge and the corresponding charge settlement information into the security module SE of the charging pile, so as to ensure that the data cannot be stolen or lost.
In step 112, the charging post encrypts the charge settlement information corresponding to the charging bill by using the charging key, signs by using the charging post private key, and then sends the encrypted charge settlement information to the client.
The client receives the charge settlement information which is sent by the charge pile and is signed by the charge pile private key and encrypted by the charge key, the charge pile public key is utilized to carry out signature verification on the charge settlement information, after the signature verification is passed, the charge key is utilized to decrypt the charge settlement information, the decrypted charge settlement information is confirmed to be correct, and a charge bill and the corresponding charge settlement information are stored in a safety module SE of the client so as to ensure that data cannot be stolen or lost.
Therefore, the embodiment of the invention can realize local point-to-point charging transaction settlement without passing through the charging management platform under the condition that the charging pile and the client cannot be connected with the charging management platform through the near field communication technology.
In addition, in embodiments of the present invention, it is also contemplated that local related transaction records may be synchronized to the central platform in a suitable manner.
In step 113, in the case that the charging pile is online, the charging bill and the charge settlement information corresponding to the charging bill may be sent to the charging management platform, and the charging management platform may perform verification according to the charging bill and the charge settlement information corresponding to the charging bill sent by the charging pile and the client respectively, and after the verification passes, modify the account information corresponding to the client, so as to complete charging payment.
Specifically, the verification of the charging bill and the charge settlement information corresponding to the charging bill by the charging management platform may be to confirm that the charging bill sent by the charging pile and the charging bill sent by the client are consistent with the charge settlement information corresponding to the charging bill.
Therefore, the synchronization of the local account information and the account information of the charging management platform can be ensured, and clear settlement is realized.
Based on the above description, the embodiment of the invention provides another electric vehicle charging and paying method, which is applied to the client of the electric vehicle charging and paying system. The implementation of the method can refer to the implementation of the electric vehicle charging payment method taking the charging pile as the execution main body, and the repetition is not repeated.
As shown in fig. 2, another method for charging and paying for an electric vehicle according to an embodiment of the present invention is applied to a client, and the method includes:
step 201, sending an electric vehicle charging request to a charging pile through near field communication;
step 202, receiving a request for acquiring user authentication information sent by a charging pile, wherein the request for acquiring the user authentication information comprises a charging pile public key;
step 203, according to the request for obtaining the user authentication information, obtaining the user authentication information from the security module SE;
step 204, the user authentication information is sent to the charging pile, so that the charging pile verifies the user authentication information and generates charging information, wherein the charging information comprises charging pile information and a charging key;
step 205, receiving charging information sent by a charging pile;
step 206, generating a charging order according to the charging information, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
step 207, sending the charging order to the charging pile, so that the charging pile starts a charging mode according to the charging order to charge the electric automobile, and generating a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
Step 208, receiving a charging bill sent by the charging pile;
step 209, after confirming that the data in the charging bill is correct, sending bill confirmation information to the charging pile so that the charging pile generates fee settlement information corresponding to the charging bill;
step 210, receiving charge settlement information corresponding to a charge bill sent by a charging pile;
step 211, under the condition that the client and the charging management platform establish network connection, the charging bill and the charge settlement information corresponding to the charging bill are sent to the charging management platform, so that the charging management platform modifies the account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed.
In an embodiment of the present invention, the user authentication information includes a client public key and a user electronic wallet record;
before sending the user authentication information to the charging pile, the charging pile further comprises:
encrypting the user electronic wallet record by using the charging pile public key;
signing the encrypted user electronic wallet record by using a client private key;
transmitting the user authentication information to the charging pile, comprising:
and sending the client public key and the signed encrypted user electronic wallet record to the charging pile.
In an embodiment of the present invention, the user authentication information includes a client public key; the charging information includes a signature with a charging stake private key: charging pile information encrypted with a charging key, and a charging key encrypted with a client public key;
before generating the charging order according to the charging information, the method further comprises:
carrying out signature verification on the charging pile information and the charging key by using the charging pile public key;
after the signature verification is passed, decrypting the charging key by using the client private key;
decrypting the charging pile information by using the decrypted charging key to obtain decrypted charging pile information;
generating a charging order according to the charging information, including:
and generating a charging order according to the decrypted charging pile information.
In an embodiment of the present invention, before sending the charging order to the charging pile, the method further includes:
encrypting the charging order by using the charging key;
signing the encrypted charging order by using a client private key;
sending the charging order to the charging pile, comprising:
and sending the signed encrypted charging order to the charging pile.
In an embodiment of the present invention, the charging bill is a charging bill signed with a charging pile private key and encrypted with a charging key;
Before sending the bill confirmation information to the charging pile, the method further comprises the following steps:
carrying out signature verification on the charging bill by using the charging pile public key;
after the signature verification is passed, decrypting the charging bill by using the charging key;
and confirming whether the data in the decrypted charging bill is correct.
In an embodiment of the present invention, after generating the charging order according to the charging information, the method further includes:
the preset billing amount is frozen in the user's electronic wallet.
In order to more clearly illustrate the charging and paying method for the electric automobile, as shown in fig. 3, an information interaction schematic diagram for charging and paying the electric automobile by applying the method provided by the embodiment of the invention comprises the following steps:
1. the client and the charging pile are in an offline state (including the condition that one party is offline or both parties are offline at the same time), and the client establishes local connection with the charging pile through an NFC technology;
2. the charging pile initiates a request for acquiring user authentication information to the client, wherein the request comprises a charging pile public key;
3. after receiving the request, the client acquires user authentication information (comprising a client public key, a user electronic wallet record and the like) from the secure module SE area, encrypts the user electronic wallet record by using the charging pile public key, and signs user authentication information to be sent by using the client private key;
4. The client sends the signed user authentication information to the charging pile;
5. after receiving the user authentication information, the charging pile performs signature verification by using the client public key, the signature verification passes, and the charging pile private key is used for decrypting the user authentication information; the charging stake checks for compliance of the user charging (i.e., the user's electronic purse record), including: whether to put on a black list, whether to have outstanding records, etc.;
6. if the user charging compliance check passes, the charging pile generates a charging key used for the current charging, and encrypts charging pile information of the current charging by using the charging key;
7. the charging pile encrypts the charging key by using the client public key and signs the charging pile information and the charging key by using the charging pile private key;
8. the charging pile sends the authentication information (namely, signing by a charging pile private key, a charging key encrypted by a client public key and charging pile information encrypted by the charging key) related to the charging pile to the client;
9. the client-side uses the public key of the charging pile to check the authentication information related to the charging pile sent by the charging pile, and after the check passes, the client-side private key is used for decrypting the charging key, and the charging pile information is decrypted by the charging key; the client generates a charging order according to the related information of the charging stake, and freezes the preset amount of the order in the electronic wallet; the client encrypts the information related to the charging order by using a charging key, and signs the information related to the charging order by using a client private key;
10. The client returns charging order related information to the charging pile;
11. the charging pile performs signature verification on the data by using the client public key, and decrypts the order data by using the encryption charging key after the signature verification passes; after the charging order data is confirmed to be correct, the charging pile starts charging;
12. after the charging is completed, the charging pile finishes charging and generates a charging bill, and the charging bill information comprises: charging transaction serial number, charging time, charging user mark, charging pile mark, charging duration, charging amount and charging amount; the charging pile encrypts a charging bill by using a charging key and signs the charging bill by using a charging pile private key;
13. the charging pile sends the charging account list to the client;
14. the client side checks and decrypts to obtain charging bill data; after the client confirms that the charging bill is correct, encrypting bill confirmation information by using a charging key and signing by using a private key of the client;
15. the client sends bill confirmation information to the charging pile;
16. after receiving the bill confirmation information, the charging pile checks the signature, decrypts, if the bill confirmation information is confirmed to be correct, the charging settlement is finished locally according to the charging rule, and relevant records are reserved in a safety module SE of the charging pile.
17. The charging pile encrypts charging settlement information by using a charging key and signs by using a private key of the charging pile;
18. The charging pile transmits charging settlement information to the client,
19. the client terminal decrypts the charging settlement information, verifies the signature and decrypts the charging settlement information, and keeps relevant records in a client terminal security module SE;
20. after the client and the charging pile are online, respectively sending charging and billing records to a charging management platform;
21. and the charging management platform modifies account information of the charging management platform according to the charging record, ensures that the local account information is synchronous with the account information of the charging management platform, and realizes clear settlement.
The electric vehicle charging payment method provided by the embodiment of the invention can realize the transition from the traditional centralized control online charging network to the distributed control online/offline all-weather charging network, and the whole charging service does not depend on the real-time online of the charging management platform any more, so that the difficulty of the deployment of the charging piles is greatly reduced, the quality requirement on a communication network is reduced, the complexity of the service logic of the center platform is reduced, the construction cost of the charging network is greatly reduced, the real 7×24-hour charging service experience without disconnection is provided for users, and the operation efficiency and benefit are improved.
It should be noted that, in the technical scheme of the invention, the acquisition, storage, use, processing and the like of the data all conform to the relevant regulations of national laws and regulations.
The embodiment of the invention also provides an electric automobile charging payment device, which is described in the following embodiment. Because the principle of the device for solving the problem is similar to that of the electric vehicle charging payment method, the implementation of the device can be referred to the implementation of the electric vehicle charging payment method, and the repeated parts are not repeated.
As shown in fig. 4, an embodiment of the present invention provides an electric vehicle charging payment device, which is applied to a charging pile, and the device includes:
a first receiving module 401, configured to receive an electric vehicle charging request initiated by a client through near field communication;
a first sending module 402, configured to send a request for obtaining user authentication information to a client according to the electric vehicle charging request;
a second receiving module 403, configured to receive user authentication information fed back by the client according to a request for obtaining the user authentication information;
a verification module 404, configured to verify the user authentication information;
a charging information generating module 405, configured to generate charging information after the verification passes, where the charging information includes charging pile information and a charging key;
a second sending module 406, configured to send the charging information to the client, so that the client generates a charging order according to the charging information;
A third receiving module 407, configured to receive a charging order sent by a client, where the charging order includes charging pile information, client information, a preset charging amount, a preset charging duration, and a preset charging amount;
the charging module 408 is configured to confirm the charging order, and after confirming that the data in the charging order is correct, start a charging mode to charge the electric vehicle;
the bill generation module 409 is configured to generate a charging bill after charging is completed, where the charging bill includes charging pile information, client information, a charging amount, a charging period, a charging duration, and a charging amount;
a third sending module 410, configured to send the charging bill to the client, so that the client confirms the charging bill;
the settlement module 411 is configured to generate charge settlement information corresponding to the charged bill according to a charging rule after receiving the bill confirmation information sent by the client;
a fourth sending module 412, configured to send the charge bill corresponding charge settlement information to the client, so that the client stores the charge bill corresponding charge settlement information;
and the fifth sending module is used for sending the charging bill and the charge settlement information corresponding to the charging bill to the charging management platform under the condition that the charging pile and the charging management platform are connected in a network mode, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed.
In an embodiment of the present invention, the request for obtaining the user authentication information includes a charging pile public key; the user authentication information comprises a client public key and a user electronic purse record which is signed by a client private key and encrypted by a charging pile public key;
the verification module 404 is specifically configured to:
signature verification is carried out on the electronic wallet records of the users by using the public key of the client;
after the signature verification is passed, decrypting the user electronic wallet record by using the charging stake private key;
and carrying out compliance verification on the decrypted electronic wallet records of the user, wherein the compliance verification comprises whether the electronic wallet records are blacklisted or not and/or whether unpaid charging records exist or not.
In an embodiment of the present invention, as shown in fig. 5, the apparatus of fig. 4 further includes a first cryptographic signing module 501 configured to, before the second sending module sends the charging information to the client:
generating a charging key, and encrypting the charging pile information by using the charging key;
encrypting the charging key by using a client public key carried by the user authentication information;
signing the encrypted charging pile information and the encrypted charging key by using a charging pile private key;
the second sending module is specifically configured to:
and sending the signed encrypted charging pile information and the encrypted charging key to the client.
In an embodiment of the present invention, the charging order is a charging order signed by a client private key and encrypted by a charging key;
the charging module is specifically used for:
carrying out signature verification on the charging order by using the public key of the client;
after the signature verification is passed, decrypting the charging order with the charging key;
and confirming whether the data in the decrypted charging order is correct.
In an embodiment of the present invention, as shown in fig. 6, the apparatus of fig. 4 further includes a second cryptographic signing module 601, configured to, before the third sending module sends the charging bill to the client:
encrypting a charging bill by using a charging key;
signing the encrypted charging bill by using the charging pile private key;
the third sending module is specifically configured to:
and sending the signed encrypted charging bill to the client.
As shown in fig. 7, an electric vehicle charging and paying device provided by an embodiment of the present invention is applied to a client, and the device includes:
a first sending module 701, configured to send an electric vehicle charging request to the charging pile through near field communication;
a first receiving module 702, configured to receive a request for obtaining user authentication information sent by a charging pile, where the request for obtaining user authentication information includes a charging pile public key;
An information acquisition module 703, configured to acquire the user authentication information from the security module SE according to the request for acquiring the user authentication information;
the second sending module 704 is configured to send the user authentication information to the charging pile, so that the charging pile verifies the user authentication information and generates charging information, where the charging information includes charging pile information and a charging key;
the second receiving module 705 is configured to receive charging information sent by the charging pile;
an order generation module 706, configured to generate a charging order according to the charging information, where the charging order includes charging pile information, client information, a preset charging amount, a preset charging duration, and a preset charging amount;
the third sending module 707 is configured to send the charging order to the charging pile, so that the charging pile starts a charging mode according to the charging order to charge the electric vehicle, and generate a charging bill, where the charging bill includes charging pile information, client information, a charging amount, a charging time period, a charging duration, and a charging amount;
a third receiving module 708, configured to receive a charging bill sent by the charging pile;
a fourth sending module 709, configured to send bill confirmation information to the charging pile after confirming that the data in the charging bill is correct, so that the charging pile generates fee settlement information corresponding to the charging bill;
A fourth receiving module 710, configured to receive fee settlement information corresponding to the charging bill sent by the charging pile;
and the fifth sending module 711 is configured to send the charging bill and the charge settlement information corresponding to the charging bill to the charging management platform when the client and the charging management platform establish network connection, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and completes charging payment.
In an embodiment of the present invention, the user authentication information includes a client public key and a user electronic wallet record;
as shown in fig. 8, the apparatus of fig. 7 further includes a first cryptographic signing module 801 for, before the second transmitting module transmits the user authentication information to the charging pile:
encrypting the user electronic wallet record by using the charging pile public key;
signing the encrypted user electronic wallet record by using a client private key;
the second sending module is specifically configured to:
and sending the client public key and the signed encrypted user electronic wallet record to the charging pile.
In an embodiment of the present invention, the user authentication information includes a client public key; the charging information includes a signature with a charging stake private key: charging pile information encrypted with a charging key, and a charging key encrypted with a client public key;
As shown in fig. 9, the apparatus of fig. 7 further includes a first decryption module 901, configured to, before the order generation module generates the charging order according to the charging information:
carrying out signature verification on the charging pile information and the charging key by using the client public key;
after the signature verification is passed, decrypting the charging key by using the client private key;
decrypting the charging pile information by using the decrypted charging key to obtain decrypted charging pile information;
the order generation module is specifically configured to:
and generating a charging order according to the decrypted charging pile information.
In an embodiment of the present invention, as shown in fig. 10, the apparatus of fig. 7 further includes a second cryptographic signature module 1001, configured to, before the third sending module sends the charging order to the charging pile:
encrypting the charging order by using the charging key;
signing the encrypted charging order by using a client private key;
the third sending module is specifically configured to:
and sending the signed encrypted charging order to the charging pile.
In an embodiment of the present invention, the charging bill is a charging bill signed with a charging pile private key and encrypted with a charging key;
as shown in fig. 11, the apparatus of fig. 7 further includes a second decryption module 1101 for, before the fourth transmission module transmits the bill confirmation information to the charging pile:
Carrying out signature verification on the charging bill by using the charging pile public key;
after the signature verification is passed, decrypting the charging bill by using the charging key;
and confirming whether the data in the decrypted charging bill is correct.
In an embodiment of the present invention, as shown in fig. 12, the apparatus of fig. 7 further includes a freezing module 1201, configured to, after the order generating module generates the charging order according to the charging information:
the preset billing amount is frozen in the user's electronic wallet.
The embodiment of the invention also provides a computer device which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the electric vehicle charging and paying method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the electric vehicle charging and paying method when being executed by a processor.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program realizes the electric vehicle charging payment method when being executed by a processor.
In the embodiment of the invention, a charging pile receives an electric vehicle charging request initiated by a client through near field communication; according to the electric automobile charging request, a request for acquiring user authentication information is sent to a client; receiving user authentication information fed back by a client according to a request for acquiring the user authentication information; verifying the user authentication information; after the verification is passed, charging information is generated, wherein the charging information comprises charging pile information and a charging key; the charging information is sent to the client, so that the client generates a charging order according to the charging information; receiving a charging order sent by a client, and starting a charging mode to charge the electric automobile after confirming that the data in the charging order is correct; after the charging is finished, generating a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount; sending the charging bill to the client so that the client confirms the charging bill; after receiving bill confirmation information sent by the client, generating charge settlement information corresponding to the charge bill according to a charging rule; sending the charge bill corresponding charge settlement information to the client so that the client stores the charge bill corresponding charge settlement information; under the condition that the charging pile and the charging management platform are connected in a network, the charging bill and the charge settlement information corresponding to the charging bill are sent to the charging management platform, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed. Compared with the technical scheme of charging in a centralized control mode of a central platform and a charging pile in the prior art, the embodiment of the invention can realize the point-to-point local connection of the charging pile and a client under an offline scene through near field communication, thereby completing user authentication and charging flow, and simultaneously, after charging is completed, local related transaction records can be synchronized to a charging management platform under an online scene, thereby realizing clear settlement, further improving the charging and payment efficiency of users, and further improving user experience.
The electric vehicle charging payment method provided by the embodiment of the invention can realize the transition from the traditional centralized control online charging network to the distributed control online/offline all-weather charging network, and the whole charging service does not depend on the real-time online of the charging management platform any more, so that the difficulty of the deployment of the charging piles is greatly reduced, the quality requirement on a communication network is reduced, the complexity of the service logic of the center platform is reduced, the construction cost of the charging network is greatly reduced, the real 7×24-hour charging service experience without disconnection is provided for users, and the operation efficiency and benefit are improved.
In the embodiment of the invention, the safety module SE can be used for realizing the functions of safe storage, encryption and decryption operation and the like of data, and the safety of data storage and data transmission is improved.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (14)

1. An electric vehicle charging payment method, characterized by being applied to a charging pile, the method comprising:
when the charging pile and the client are in an offline state, receiving an electric vehicle charging request initiated by the client through near field communication;
according to the electric automobile charging request, a request for acquiring user authentication information is sent to a client; so that the client side obtains the user authentication information from the security module SE according to the request for obtaining the user authentication information; the user authentication information includes a user electronic wallet record; the user electronic wallet records are historical charging transaction records of the user corresponding to the client side or other historical transaction records of the user by using the electronic wallet;
Receiving user authentication information fed back by a client according to a request for acquiring the user authentication information;
checking the user authentication information;
after the verification is passed, charging information is generated, wherein the charging information comprises charging pile information and a charging key; the charging key is used for encrypting the data of the current charging;
the charging information is sent to the client, so that the client generates a charging order according to the charging information;
receiving a charging order sent by a client, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
confirming a charging order, and starting a charging mode to charge the electric automobile after confirming that the data in the charging order is correct;
after the charging is finished, generating a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
sending the charging bill to the client so that the client confirms the charging bill;
after receiving bill confirmation information sent by the client, generating charge settlement information corresponding to the charge bill according to a charging rule;
Sending the charge bill corresponding charge settlement information to the client so that the client stores the charge bill corresponding charge settlement information;
under the condition that the charging pile and the charging management platform are connected in a network, charging bills and charge settlement information corresponding to the charging bills are sent to the charging management platform, so that the charging management platform modifies account information corresponding to the client after verifying the charging bills and the charge settlement information corresponding to the charging bills, and charging payment is completed;
the user authentication information fed back by the client according to the request for obtaining the user authentication information comprises: signing by a client private key and recording by a user electronic purse encrypted by a charging pile public key;
verifying the user authentication information, including:
signature verification is carried out on the electronic wallet records of the users by using the public key of the client;
after the signature verification is passed, decrypting the user electronic wallet record by using the charging stake private key;
and carrying out compliance verification on the decrypted electronic wallet records of the user, wherein the compliance verification comprises whether the electronic wallet records are blacklisted or not and/or whether unpaid charging records exist or not.
2. The method of claim 1, wherein prior to sending the charging information to the client, further comprising:
Generating a charging key, and encrypting the charging pile information by using the charging key;
encrypting the charging key by using a client public key carried by the user authentication information;
signing the encrypted charging pile information and the encrypted charging key by using a charging pile private key;
transmitting charging information to the client, comprising:
and sending the signed encrypted charging pile information and the encrypted charging key to the client.
3. The method of claim 1, wherein the charge order is a charge order signed with a client private key and encrypted with a charge key;
confirming the charging order, comprising:
carrying out signature verification on the charging order by using the public key of the client;
after the signature verification is passed, decrypting the charging order with the charging key;
and confirming whether the data in the decrypted charging order is correct.
4. The method of claim 1, wherein prior to sending the charging bill to the client, further comprising:
encrypting a charging bill by using a charging key;
signing the encrypted charging bill by using the charging pile private key;
sending the charging bill to the client, comprising:
and sending the signed encrypted charging bill to the client.
5. An electric vehicle charging payment method, characterized by being applied to a client, the method comprising:
when the charging pile and the client are in an offline state, sending an electric vehicle charging request to the charging pile through near field communication;
receiving a request for acquiring user authentication information sent by a charging pile, wherein the request for acquiring the user authentication information comprises a charging pile public key;
acquiring user authentication information from the security module SE according to the request for acquiring the user authentication information; the user authentication information includes a user electronic wallet record; the user electronic wallet records are historical charging transaction records of the user corresponding to the client side or other historical transaction records of the user by using the electronic wallet;
transmitting the user authentication information to a charging pile so that the charging pile can verify the user authentication information and generate charging information, wherein the charging information comprises charging pile information and a charging key; the charging key is used for encrypting the data of the current charging;
receiving charging information sent by a charging pile;
generating a charging order according to the charging information, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
The method comprises the steps of sending a charging order to a charging pile, enabling the charging pile to start a charging mode according to the charging order to charge an electric automobile, and generating a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
receiving a charging bill sent by a charging pile;
after confirming that the data in the charging bill is correct, the bill confirmation information is sent to the charging pile so that the charging pile can generate the charge settlement information corresponding to the charging bill;
receiving charge bill corresponding charge settlement information sent by a charge pile;
under the condition that the client and the charging management platform are connected through a network, the charging bill and the charge settlement information corresponding to the charging bill are sent to the charging management platform, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed;
before sending the user authentication information to the charging pile, the charging pile further comprises:
encrypting the user electronic wallet record by using the charging pile public key;
signing the encrypted user electronic wallet record by using a client private key;
Transmitting the user authentication information to the charging pile, comprising:
and sending the client public key and the signed encrypted user electronic wallet record to the charging pile.
6. The method of claim 5, wherein the user authentication information comprises a client public key; the charging information includes a signature with a charging stake private key: charging pile information encrypted with a charging key, and a charging key encrypted with a client public key;
before generating the charging order according to the charging information, the method further comprises:
carrying out signature verification on the charging pile information and the charging key by using the charging pile public key;
after the signature verification is passed, decrypting the charging key by using the client private key;
decrypting the charging pile information by using the decrypted charging key to obtain decrypted charging pile information;
generating a charging order according to the charging information, including:
and generating a charging order according to the decrypted charging pile information.
7. The method of claim 5, wherein prior to sending the charging order to the charging stake, further comprising:
encrypting the charging order by using the charging key;
signing the encrypted charging order by using a client private key;
Sending the charging order to the charging pile, comprising:
and sending the signed encrypted charging order to the charging pile.
8. The method of claim 5, wherein the charging bill is a charging bill signed with a charging stake private key and encrypted with a charging key;
before sending the bill confirmation information to the charging pile, the method further comprises the following steps:
carrying out signature verification on the charging bill by using the charging pile public key;
after the signature verification is passed, decrypting the charging bill by using the charging key;
and confirming whether the data in the decrypted charging bill is correct.
9. The method of claim 5, further comprising, after generating the charge order based on the charge information:
the preset billing amount is frozen in the user's electronic wallet.
10. An electric vehicle charging payment device, characterized in that it is applied to charging stake, said device includes:
the first receiving module is used for receiving an electric vehicle charging request initiated by the client through near field communication when the charging pile and the client are in an offline state;
the first sending module is used for sending a request for acquiring user authentication information to the client according to the electric automobile charging request; so that the client side obtains the user authentication information from the security module SE according to the request for obtaining the user authentication information; the user authentication information includes a user electronic wallet record; the user electronic wallet records are historical charging transaction records of the user corresponding to the client side or other historical transaction records of the user by using the electronic wallet;
The second receiving module is used for receiving user authentication information fed back by the client according to the request for acquiring the user authentication information;
the verification module is used for verifying the user authentication information;
the charging information generation module is used for generating charging information after verification is passed, wherein the charging information comprises charging pile information and a charging key; the charging key is used for encrypting the data of the current charging;
the second sending module is used for sending the charging information to the client so that the client generates a charging order according to the charging information;
the third receiving module is used for receiving a charging order sent by the client, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
the charging module is used for confirming the charging order, and starting a charging mode to charge the electric automobile after confirming that the data in the charging order is correct;
the charging system comprises a bill generation module, a charging module and a charging module, wherein the bill generation module is used for generating a charging bill after charging is finished, and the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
the third sending module is used for sending the charging bill to the client so that the client confirms the charging bill;
The settlement module is used for generating charge settlement information corresponding to the charge bill according to the charging rule after receiving the bill confirmation information sent by the client;
the fourth sending module is used for sending the charge bill corresponding charge settlement information to the client so that the client stores the charge bill corresponding charge settlement information;
the fifth sending module is used for sending the charging bill and the charge settlement information corresponding to the charging bill to the charging management platform under the condition that the charging pile and the charging management platform are connected in a network mode, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed;
the user authentication information fed back by the client according to the request for obtaining the user authentication information comprises: signing by a client private key and recording by a user electronic purse encrypted by a charging pile public key;
the verification module is specifically used for:
signature verification is carried out on the electronic wallet records of the users by using the public key of the client;
after the signature verification is passed, decrypting the user electronic wallet record by using the charging stake private key;
and carrying out compliance verification on the decrypted electronic wallet records of the user, wherein the compliance verification comprises whether the electronic wallet records are blacklisted or not and/or whether unpaid charging records exist or not.
11. An electric vehicle charging payment device, characterized by being applied to a client, the device comprising:
the first sending module is used for sending an electric vehicle charging request to the charging pile through near field communication when the charging pile and the client are in an offline state;
the first receiving module is used for receiving a request for acquiring user authentication information sent by the charging pile, wherein the request for acquiring the user authentication information comprises a charging pile public key;
the information acquisition module is used for acquiring the user authentication information from the security module SE according to the request for acquiring the user authentication information; the user authentication information includes a user electronic wallet record; the user electronic wallet records are historical charging transaction records of the user corresponding to the client side or other historical transaction records of the user by using the electronic wallet;
the second sending module is used for sending the user authentication information to the charging pile so that the charging pile can check the user authentication information and generate charging information, and the charging information comprises charging pile information and a charging key; the charging key is used for encrypting the data of the current charging;
the second receiving module is used for receiving the charging information sent by the charging pile;
The order generation module is used for generating a charging order according to the charging information, wherein the charging order comprises charging pile information, client information, a preset charging amount, a preset charging duration and a preset charging amount;
the third sending module is used for sending the charging order to the charging pile so that the charging pile starts a charging mode according to the charging order to charge the electric automobile and generates a charging bill, wherein the charging bill comprises charging pile information, client information, a charging amount, a charging time period, a charging duration and a charging amount;
the third receiving module is used for receiving the charging bill sent by the charging pile;
the fourth sending module is used for sending bill confirmation information to the charging pile after confirming that the data in the charging bill is correct, so that the charging pile generates the charge settlement information corresponding to the charging bill;
the fourth receiving module is used for receiving the charge settlement information corresponding to the charge bill sent by the charging pile;
the fifth sending module is used for sending the charging bill and the charge settlement information corresponding to the charging bill to the charging management platform under the condition that the client and the charging management platform are connected in a network mode, so that the charging management platform modifies account information corresponding to the client after verifying the charging bill and the charge settlement information corresponding to the charging bill, and charging payment is completed;
The first encryption signature module is used for before the second sending module sends the user authentication information to the charging pile:
encrypting the user electronic wallet record by using the charging pile public key;
signing the encrypted user electronic wallet record by using a client private key;
the second sending module is specifically configured to:
and sending the client public key and the signed encrypted user electronic wallet record to the charging pile.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 9 when executing the computer program.
13. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method of any of claims 1 to 9.
14. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the method of any of claims 1 to 9.
CN202111644870.9A 2021-12-29 2021-12-29 Charging payment method and device for electric automobile Active CN114299667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111644870.9A CN114299667B (en) 2021-12-29 2021-12-29 Charging payment method and device for electric automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111644870.9A CN114299667B (en) 2021-12-29 2021-12-29 Charging payment method and device for electric automobile

Publications (2)

Publication Number Publication Date
CN114299667A CN114299667A (en) 2022-04-08
CN114299667B true CN114299667B (en) 2023-08-08

Family

ID=80972265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111644870.9A Active CN114299667B (en) 2021-12-29 2021-12-29 Charging payment method and device for electric automobile

Country Status (1)

Country Link
CN (1) CN114299667B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115001775B (en) * 2022-05-26 2024-04-26 国网北京市电力公司 Data processing method, device, electronic equipment and computer readable storage medium
CN116452198B (en) * 2023-06-14 2023-09-01 南京能可瑞科技有限公司 Offline authorization and charging method and system for charging pile

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225348A (en) * 2015-09-28 2016-01-06 深圳充电网科技有限公司 Based on the charging pile management method of Quick Response Code
WO2016177843A1 (en) * 2015-05-07 2016-11-10 Thanksys Nv A security approach for storing credentials for offline use and copy-protected vault content in devices
CN107085891A (en) * 2017-03-01 2017-08-22 安文科技有限公司 The method of mobile terminal and mobile terminal start and stop charging pile
CN108389325A (en) * 2018-02-11 2018-08-10 深圳市图灵奇点智能科技有限公司 Settlement method and system, automobile, charging pile, server-side, program and medium
CN112995967A (en) * 2021-02-09 2021-06-18 全球能源互联网研究院有限公司 Identity information authentication method, client, charging pile, server and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177843A1 (en) * 2015-05-07 2016-11-10 Thanksys Nv A security approach for storing credentials for offline use and copy-protected vault content in devices
CN105225348A (en) * 2015-09-28 2016-01-06 深圳充电网科技有限公司 Based on the charging pile management method of Quick Response Code
CN107085891A (en) * 2017-03-01 2017-08-22 安文科技有限公司 The method of mobile terminal and mobile terminal start and stop charging pile
CN108389325A (en) * 2018-02-11 2018-08-10 深圳市图灵奇点智能科技有限公司 Settlement method and system, automobile, charging pile, server-side, program and medium
CN112995967A (en) * 2021-02-09 2021-06-18 全球能源互联网研究院有限公司 Identity information authentication method, client, charging pile, server and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ESAM在电动汽车充电桩中的应用;陈宋宋;王丽丽;项彬;于亮亮;;电力系统通信(第04期);42-46 *

Also Published As

Publication number Publication date
CN114299667A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CA3005598C (en) Methods and systems for conjugated authentication and authorization
KR20210132725A (en) Electric Vehicle Charging Station System
CN114299667B (en) Charging payment method and device for electric automobile
WO2022027957A1 (en) Safe distribution method, device and system of vehicle bluetooth key and storage medium
CN112543927B (en) Equipment upgrading method and related equipment
Roberts et al. An authentication framework for electric vehicle-to-electric vehicle charging applications
CN109617675B (en) Method and system for authenticating identifiers of both sides between charge and discharge facility and user terminal
CN108122112A (en) Electronic ID card based on authentication device signs and issues certification and safety payment system
CN112689981B (en) Communication authentication system and method between vehicle, charging station, and charging station management server
CN109741068A (en) Internetbank inter-bank contracting method, apparatus and system
CN109861956B (en) Data verification system, method, device and equipment based on state channel
CN102521777B (en) A kind of method and system realizing remote credit
CN113556710A (en) Vehicle Bluetooth key method and device and vehicle
CN104579659A (en) Device for safety information interaction
CN112134694A (en) Data interaction method, master station, terminal and computer readable storage medium
CN102693478A (en) Trading method of bid security during bidding procedure and system thereof
CN108399544B (en) Method and device for auxiliary signing of block chain contract based on Internet of things
Kilic Plug and Charge solutions with vehicle-to-grid communication
CN113525152B (en) Charging authentication method and device
CN115776675A (en) Data transmission method and device for vehicle-road cooperation
CN108389042B (en) Method and device for realizing auxiliary fee settlement by intelligent mobile phone
CN114302382A (en) Charging payment method and device for electric vehicle across operator platforms
JP4148465B2 (en) Electronic value distribution system and electronic value distribution method
CN116541818A (en) Digital certificate issuing method, device and system
CN116331047A (en) Transaction verification method and device for charging pile, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant