Method for realizing charging and payment services by using charging pile

Through short-distance wireless communication and SM9 algorithm, charging pile charging and payment services in a network-free environment are realized, solving the problem that charging piles cannot be charged and certified in a signal-poor environment, and improving convenience and security.

CN120260180APending Publication Date: 2025-07-04STATE GRID GANSU ELECTRIC POWER RESEARCH INSTITUTE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510132309.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-06
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In an environment with poor network signals or no network coverage, the charging and payment operations of the charging pile cannot be carried out smoothly, resulting in inefficient use and reduced user satisfaction.

Method used

Connection is established with the charging pile through short-distance wireless communication (such as Bluetooth), and authentication and payment are used using the SM9 algorithm, including information registration, key generation and signature verification of the user and charging piles, ensuring that charging authentication and fee settlement are completed in an offline environment.

Benefits of technology

The convenience of charging authentication and payment is realized in a network-free environment, which improves the convenience of charging, and ensures data security and user privacy through the SM9 algorithm to prevent fraud.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120260180A_ABST
    Figure CN120260180A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information security, in particular to a method for realizing charging and payment services by using a charging pile. Comprising the steps that a user side establishes connection with a charging pile through short-distance wireless communication; the user side sends a charging authentication request to the charging pile, generates charging order information after successful verification and authentication, and starts charging operation; after charging of the to-be-charged equipment of the user side is completed, a charging end notice is sent to the charging pile, and after the charging pile receives the charging end notice, an electricity charge consumption list is generated according to the charging order information and sent to the user side and the server; and after the user side accesses the wireless communication network, payment operation is executed based on the electricity charge usage list. According to the invention, the charging pile can still be normally used for charging in an environment with poor signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of information security, and particularly relates to a method for realizing charging and payment services by using a charging pile. Background Art

[0002] With the wide application of electric vehicles, as an important supporting facility, the wide distribution and convenient use of charging piles have a significant impact on the daily charging experience of vehicle owners. However, in the actual use process, especially in enclosed spaces such as underground garages, the experience of charging piles is often restricted by poor network signals. Although charging piles can communicate through wired means to ensure the stability of data transmission of the charging piles themselves, the mobile phones of vehicle owners often cannot communicate normally with wireless signals in areas such as underground garages, which brings a series of problems.

[0003] Currently, most charging piles on the market rely on an online authentication payment system, and users need to interact and authenticate with the charging piles through a mobile application and make payments. In areas such as underground garages, the network signal is usually weak or completely unavailable, which results in users being unable to smoothly pay the charging fees, greatly reducing the use efficiency of charging piles and the satisfaction of users.

[0004] To address this problem, existing solutions usually install signal amplifiers inside the garage, but this method is not only costly but also not applicable to all scenarios. Therefore, there is an urgent need for a new type of authentication payment method that does not rely on network signals and can securely and efficiently complete the payment operation of charging piles in an offline environment.

[0005] In view of this, the present invention is specifically proposed. Summary of the Invention

[0006] In order to solve the above technical problems existing in the prior art, the present invention provides a method for realizing charging and payment services by using a charging pile to solve the problem that some user terminals cannot normally use the charging pile for charging in an environment with poor network communication signals.

[0007] To achieve the above object, the technical solution of the present invention is as follows:

[0008] A method for realizing charging and payment services by using a charging pile, comprising:

[0009] The user terminal establishes a connection with the charging pile through short-range wireless communication, and the user terminal and the charging pile communicate through the connection;

[0010] The user terminal sends a charging authentication request to the charging pile, and the charging authentication request authenticates the user terminal through a response verification method, and generates a charging order information and starts a charging operation after successful authentication;

[0011] After the charging of the device to be charged at the client is completed, a charging end notification is sent to the charging pile. After receiving the charging end notification, the charging pile generates an electricity consumption list according to the charging order information and sends it to the client and the server;

[0012] When the client accesses the wireless communication network, a payment operation is performed based on the electricity consumption list.

[0013] Further, before the charging authentication request, it also includes: the server initializes the SM9 algorithm in the charging authentication protocol; the specific initialization steps include:

[0014] The server selects 3 elliptic curves e1, e2, e3, and respectively selects appropriate base points G1, G2 on the elliptic curves e1, e2;

[0015] The server selects an appropriate hash function Hash();

[0016] The server selects a random large integer sk m as the server's private key;

[0017] The server calculates the point Q on the elliptic curve e2 m = sk m ·G2, and publishes it as the server public key;

[0018] The server randomly selects an integer ID as the server identifier and publishes it.

[0019] Further, it also includes the login and registration of the charging pile information; the specific processing steps include:

[0020] Submit the charging pile information to the server;

[0021] The server uses the hash function to calculate the hash value of the charging pile information and uses it as the identifier ID of each charging pile c , the charging pile identifier ID c The expression is:

[0022] ID c = Hash(Hash(charging pile name)||Hash(location information)||...||Hash(service time))

[0023] where, || is the character concatenation symbol, and the parameters are inside Hash();

[0024] The server calculates the corresponding private key sk of each charging pile c , the formula for the private key sk of the charging pile c is:

[0025]

[0026] Among them, G1 is the base point on the elliptic curve e1, and sk m is the key of the server, and ID is the identifier of the server;

[0027] The server sends the charging pile identification ID c and the private key sk of the charging pile c to the corresponding charging pile.

[0028] Furthermore, the charging pile information includes: the name of the charging pile, location information, and charging pile type information.

[0029] Further, it also includes user personal information login and registration; the specific processing steps include:

[0030] The user terminal submits user personal information to the server;

[0031] The server uses a hash function to calculate the hash value of the above information and uses it as each user identification ID u ; The user identification ID u The expression is:

[0032] ID u = Hash(Hash(name) || Hash(ID number) ||... || Hash(vehicle model))

[0033] Among them, || is the character concatenation symbol, and the parameters are inside Hash();

[0034] The server calculates the corresponding user private key sk for each user u ; The expression of the user private key sk u is:

[0035]

[0036] Among them, G1 is the base point on the elliptic curve e1, and sk m is the key of the server, and ID is the identifier of the server;

[0037] The server sends the user identification ID u and the user private key sk u to the corresponding user terminal.

[0038] Further, the processing process of the charging authentication request includes:

[0039] The user terminal sends a charging authentication request to the charging pile through the Bluetooth communication channel; the charging authentication request includes: the identification ID of the user u, vehicle license plate, vehicle model and vehicle brand;

[0040] After the charging pile receives the charging authentication request, it randomly generates an integer m1, signs the integer m1 using the signature algorithm of SM9, and sends the integer m1 and the signature to the user terminal;

[0041] After the user terminal receives the integer m1 and the signature, it verifies the signature. After successful verification, it calculates the response corresponding to the integer m1 and sends it to the charging pile;

[0042] After the charging pile receives the response, it conducts response verification. After passing the verification, the authentication interaction is completed.

[0043] Furthermore, the specific processing process of calculating the corresponding response includes:

[0044] Calculate the point w on the elliptic curve e3, and the specific calculation formula is:

[0045] where e() is the bilinear pair matching operation, r1 is a randomly generated integer, G1 is the base point on the elliptic curve e1, and Q m is the public key of the server;

[0046] Calculate t based on the point w calculated on the elliptic curve e3, and the specific calculation formula is:

[0047] where represents the exclusive OR operation, Hash() is the hash algorithm, and m1 is a random integer;

[0048] Calculate σ based on t, and the specific calculation formula is: σ = (r1 - t) · sk c ;

[0049] where r1 is a randomly generated integer, and sk c is the private key of the charging pile;

[0050] Based on the above calculations, obtain the response at this moment as (t, σ).

[0051] Furthermore, the specific processing process of the response verification includes:

[0052] Calculate t1 = e(G1, Q m ) t ;

[0053] where e() is the bilinear pair matching operation, G1 is the base point on the elliptic curve e1, and Q m is the public key of the server;

[0054] Calculate t2 = e(σ, Hash(ID u ||ID) · G2 + Qm ));

[0055] Wherein, e() is a bilinear pairing matching operation, G2 is the base point on the elliptic curve e2, and Q m is the server public key, ID u is the user identifier, and ID is the identifier of the server;

[0056] Calculate

[0057] Wherein, represents the exclusive OR operation;

[0058] Check whether t = t3 holds. If it holds, the verification passes.

[0059] Furthermore, the process of generating the electricity consumption list and sending it to the user terminal and the server includes:

[0060] Send the electricity consumption list to the user terminal;

[0061] The user terminal receives the electricity consumption list, signs the electricity consumption list after confirming that it is correct, and sends the signature to the charging pile for verification. After successful verification, the order payment information is sent to the user terminal and the server.

[0062] Furthermore, after the electricity consumption list is sent to the user terminal, it also includes: the user uses a signature algorithm to sign the electricity consumption list. The signature algorithm uses the SM9 signature algorithm, and its expression is:

[0063] s u = Sig(cost||ID u ||ID c )

[0064] Wherein, Sig() is the signature algorithm in the SM9 algorithm, cost is the electricity consumption list, and ID u is the user identifier, and ID c is the charging pile identifier;

[0065] The charging pile verification uses the signature verification algorithm of SM9, and its expression is:

[0066] Verify(s u , ID u ) = 1

[0067] Wherein, Verify() is the signature verification algorithm in the SM9 algorithm, s u is the user's signature, and ID u is the user identifier.

[0068] Compared with the prior art, in the method for realizing charging and payment services by using a charging pile provided by the present invention, during the specific application process, the user terminal establishes a connection with the charging pile through short-distance wireless communication to complete the synchronization of charging and order payment information; effectively solves the problem that charging authentication can be successfully completed in an environment with poor network signal or no network coverage at all, and solves the problem that the traditional method cannot complete charging authentication in this environment, greatly improving the convenience of charging. At the same time, the improved SM9 algorithm is used to ensure data security and user privacy protection during the charging process, effectively preventing potential network security threats and fraud behaviors. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 FIG. is a schematic diagram of the method for charging and payment services provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0070] The technical solutions of the present invention will be clearly described below in conjunction with the description of the drawings. Obviously, the described embodiments are not all embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0071] It should be noted that unless otherwise specifically stated, the relative arrangements of components and steps described in these embodiments and numerical expressions should not be construed as limiting the scope of the present invention.

[0072] The following description of the exemplary embodiments is merely illustrative and in no way limits the present invention and its application or use. Technologies, methods, and devices known to those of ordinary skill in the relevant art may not be discussed in detail herein, but when applicable, these technologies, methods, and devices should be considered as part of this specification.

[0073] Embodiment 1

[0074] Refer to Figure 1 , Figure 1 FIG. is a schematic diagram of a method for realizing charging and payment services by using a charging pile proposed in an embodiment of the present invention. In this embodiment, the user terminal uses a mobile phone device for operation, and other intelligent devices can also be used; the specific processing steps include

[0075] (1) Initialize the algorithm

[0076] Before the charging authentication interaction, the server also initializes the parameters of the SM9 algorithm and other information in the charging authentication protocol. The specific initialization steps include:

[0077] (11) The server selects three elliptic curves e1, e2, and e3, and respectively selects appropriate base points G1 and G2 on the elliptic curves e1 and e2;

[0078] (12) The server selects an appropriate hash function Hash();

[0079] (13) The server selects a random large integer sk m as the server's private key;

[0080] (14) The server calculates the point Q on the elliptic curve e2 m = sk m · G2, and publishes it as the server public key;

[0081] (15) The server randomly selects an integer ID as the identifier of the server and publishes it.

[0082] (2) Charging pile registration and login

[0083] When a new charging pile is created or a charging pile is enabled, relevant information such as the name, location information, and charging pile type of the charging pile is registered with the server. The specific processing steps include:

[0084] (21) Submit charging pile information to the server; each charging pile that needs to complete authentication processing and payment processing submits relevant information about the charging pile, such as the name, location information, charging pile type, manufacturer, charging interface, rated power, voltage and current specifications, charging rate, usage fee, payment method, and service time, to the server;

[0085] (22) The server uses the hash function to calculate the hash value of the above information and uses it as the identifier ID of each charging pile c , and the expression of the charging pile identifier ID c is:

[0086] ID c = Hash(Hash(charging pile name) || Hash(location information) ||... || Hash(service time))

[0087] where, || is the character concatenation symbol, and the content inside Hash() is the corresponding parameter; Hash() is a well-known function in the art and is used to calculate the hash value of a specified object;

[0088] (23) The server calculates the corresponding private key sk of each charging pile c , and the formula for the private key sk of the charging pile c is:

[0089]

[0090] Among them, G1 is the base point on the elliptic curve e1, and sk m is the key of the server, and ID is the identifier of the server;

[0091] (24) The server sends the charging pile identification ID c and the private key sk of the charging pile c to the corresponding charging pile.

[0092] (3) User registration and login

[0093] The user's mobile phone APP, as the user side, needs to submit the user's personal information to the server: The user's personal information includes: user vehicle information, payment information, and personal information. The specific processing steps include:

[0094] (31) Submit the name, ID number, payment account information, contact information, license plate number, vehicle brand, and / or vehicle model to the server through the mobile phone APP;

[0095] (32) The server uses a hash function to calculate the hash value of the above information and uses it as each user identification ID u ; The expression of the user identification ID u is:

[0096] ID u = Hash(Hash(name) || Hash(ID number) ||... || Hash(vehicle model))

[0097] where || is the character concatenation symbol, and the parameters are inside the Hash.

[0098] (33) The server calculates the corresponding user private key sk u for each user; The expression of the user private key sk u is:

[0099]

[0100] Among them, G1 is the base point on the elliptic curve e1, and sk m is the key of the server, and ID is the identifier of the server;

[0101] (34) The server sends the user identification ID u and the user private key sk u to the corresponding user's mobile phone APP.

[0102] (4) The charging pile provides authentication and charging services

[0103] In places such as underground garages where there is no network or the network signal is poor, the user terminal establishes a connection with the charging pile through short-range wireless communication, and the user terminal and the charging pile communicate through this connection.

[0104] The short-range wireless communication can use Bluetooth communication or other short-range communication means; the user mobile phone APP (i.e., the user terminal) sends a charging authentication request to the charging pile. The charging authentication request uses the method of response verification to authenticate the user terminal. After successful authentication, charging order information is generated and the charging operation starts. The specific processing steps include:

[0105] (41) The user mobile phone APP sends a charging authentication request to the charging pile through the Bluetooth communication channel; the charging authentication request includes: the user's identification ID u , vehicle license plate, vehicle model, and vehicle brand.

[0106] (42) After receiving the charging authentication request, the charging pile randomly generates an integer m1, and uses the private key sk c to sign the integer m1 using the signature algorithm of SM9, and sends the integer m1 and the signature to the user mobile phone APP, and waits for the user mobile phone APP to respond within a predetermined time. The predetermined time can be within 8s, within 10s, and within 12s.

[0107] (43) After receiving the integer m1, the user mobile phone APP verifies the signature. After successful verification, it calculates the corresponding response of the integer m1 and sends it to the charging pile; the specific processing process of calculating the corresponding response includes:

[0108] (431) Calculate the point w on the elliptic curve e3, and the specific calculation formula is:

[0109] where e() is the bilinear pairing matching operation, r1 is a randomly generated integer, G1 is the base point on the elliptic curve e1, and Q m is the server public key.

[0110] (432) Calculate t based on the point w calculated on the elliptic curve e3, and the specific calculation formula is:

[0111] where, represents the exclusive OR operation, Hash() is the hash algorithm, and m1 is a random integer.

[0112] (433) Calculate σ based on t, and the specific calculation formula is: σ = (r1 - t) · sk c

[0113] where r1 is a randomly generated integer, and sk c is the private key of the charging pile.

[0114] Based on the above calculations, the response at this moment is obtained as (t, σ).

[0115] (44) After receiving the response, the charging pile performs response verification. After the verification passes, the authentication interaction is completed; the specific processing process of the response verification includes:

[0116] (441) Calculate t1 = e(G1, Q m ) t ;

[0117] where e() is the bilinear pairing operation, G1 is the base point on the elliptic curve e1, and Q m is the public key of the server;

[0118] (442) Calculate t2 = e(σ, Hash(ID u ||ID)·G2 + Q m )

[0119] where e() is the bilinear pairing operation, G2 is the base point on the elliptic curve e2, Q m is the public key of the server, ID u is the user identifier, and ID is the identifier of the server;

[0120] (443) Calculate

[0121] where represents the exclusive OR operation;

[0122] (444) Check whether t = t3 holds. If it holds, the verification passes.

[0123] (5) Charging fee payment processing

[0124] After the charging of the device to be charged (such as a vehicle) at the user end is completed, a charging end notification is sent to the charging pile. After receiving the charging end notification, the charging pile generates an electricity consumption list according to the charging order information and sends it to the user end and the server. The electricity consumption list records the corresponding charging fee to be paid; the specific processing steps of the corresponding charging fee payment process are as follows:

[0125] (51) After the charging of the device to be charged at the user end is completed, the mobile phone APP is used to send a charging end notification to the charging pile. After receiving the charging end notification, the charging pile calculates the electricity consumption cost cost according to the charging order information; the charging order information includes information such as the charging degree and charging time;

[0126] After the charging pile signs the electricity consumption, it is sent to the user's mobile phone APP; the signature is that the charging pile uses the private key sk cSign the charging cost and send it to the user's mobile APP.

[0127] (52) The user's mobile APP receives the signed electricity consumption list. If there is no objection and the user agrees to pay, then use the signature algorithm to sign the electricity consumption list and the charging pile information. After signing, send the user's signature s u to the charging pile; the signature algorithm uses the SM9 signature algorithm, and its expression is:

[0128] s u = Sig(cost||ID u ||ID c )

[0129] where Sig() is the signature algorithm in the SM9 algorithm, cost is the electricity consumption list, ID u is the user identification, and ID c is the charging pile identification.

[0130] The charging pile verifies the signature sent by the user using the signature verification algorithm of SM9. Verify whether the expressions are equal. If they are equal, the verification is successful; its expression is:

[0131] Verify(s u ,ID u )

[0132] where Verify() is the signature verification algorithm in the SM9 algorithm, s u is the user's signature, and ID u is the user identification.

[0133] (53) After receiving the signature, the charging pile verifies it. After successful verification, it sends the electricity consumption list to the user's mobile APP and uploads the signature and the transaction details (i.e., the electricity consumption list) to the server;

[0134] (54) When the user leaves a place without network environment, the user pays the cost of this transaction based on the electricity consumption list; specifically, when the user leaves a place without network environment such as an underground garage and the mobile phone can connect to the network, use the network to pay the cost of this transaction according to the electricity consumption list, which solves the problem that the traditional method cannot complete the charging authentication in this environment and greatly improves the charging convenience.

[0135] In summary, the present invention has the following advantages:

[0136] 1. Offline operation portability: In an environment with poor network signals or no network coverage at all, the charging authentication can be successfully completed, solving the problem that the traditional method cannot complete the charging authentication in this environment and greatly improving the charging convenience.

[0137] 2. High security: The improved SM9 algorithm ensures data security and user privacy protection during the charging process, effectively preventing potential network security threats and fraud behaviors.

[0138] The above specific implementation manners are only used to illustrate the technical solutions of the present invention rather than to limit them. Although the present invention has been described in detail with reference to the examples, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the scope of the technical solutions of the present invention, and they should all be covered within the scope of the claims of the present invention.

Claims

1. A method for implementing charging and payment services using a charging pile, characterized in that, Including: The client establishes a connection with the charging pile through short - range wireless communication, and communicates between the client and the charging pile through this connection. The client sends a charging authentication request to the charging pile. The charging authentication request authenticates the client through a response verification method, and generates charging order information and starts charging operations after successful authentication. After the device to be charged at the client is fully charged, it sends a charging end notification to the charging pile. After receiving the charging end notification, the charging pile generates an electricity consumption list according to the charging order information and sends it to the client and the server. When the client accesses the wireless communication network, a payment operation is performed based on the electricity consumption list.

2. The method for implementing charging and payment services using a charging pile according to claim 1, wherein Before the charging authentication request, it also includes: The server initializes the SM9 algorithm in the charging authentication protocol; The specific initialization steps include: The server selects 3 elliptic curves e1, e2, e3, and respectively selects appropriate base points G1, G2 on the elliptic curves e1, e2. The server selects an appropriate hash function Hash(). The server selects a random large integer sk m as the server's secret key; The server calculates the point Q on the elliptic curve e2 m = sk m ·G2 and makes it public as the server public key; The server randomly selects an integer ID as the identifier of the server and makes it public.

3. The method for implementing charging and payment services using a charging pile according to claim 1, characterized in that, It also includes the login and registration of charging pile information. The specific processing steps include: Submit the charging pile information to the server. The server calculates the hash value of the charging pile information using a hash function and uses it as the identification ID for each charging pile c , the identification ID of the charging pile c The expression is: ID c = Hash(Hash(Charging pile name) || Hash(Location information) ||... || Hash(Service time)) Among them, || is a character concatenation symbol, and the content inside Hask() is the corresponding parameter. The server calculates the corresponding private key sk of each charging pile c , and the private key sk of the charging pile c is calculated by the formula: Among them, G1 is the base point on the elliptic curve e1, and sk m is the secret key of the server, and ID is the identifier of the server; The server sends the charging pile identification ID c and the private key sk of the charging pile c to the corresponding charging pile.

4. The method for implementing charging and payment services using a charging pile according to claim 3, wherein The charging pile information includes: charging pile name, location information, and charging pile type information.

5. The method for implementing charging and payment services using a charging pile according to claim 1, wherein It also includes the login and registration of user personal information. The specific processing steps include: The client submits user personal information to the server. The server uses a hashing function to calculate the hash value of the above information and uses it as each user identification ID u ; The user identification ID u The expression is: ID u = Hash(Hash(Name) || Hash(Identity number) ||... || Hash(Vehicle model)) Among them, || is a character concatenation symbol, and the content inside Hash() is the corresponding parameter. The server calculates the corresponding user private key sk for each user u ; The user private key sk u has the following expression: Among them, G1 is the base point on the elliptic curve e1, and sk m is the key of the server, and ID is the identifier of the server; The server sends the user identification ID u and the user private key sk u to the corresponding client.

6. The method for implementing charging and payment services using a charging pile according to claim 1, wherein, The processing process of the charging authentication request includes: The client sends a charging authentication request to the charging pile through the Bluetooth communication channel; the charging authentication request includes: the identification ID of the user u , vehicle license plate, vehicle model, and vehicle brand; After receiving the charging authentication request, the charging pile randomly generates an integer m1, signs the integer m1 using the signature algorithm of SM9, and sends the integer m1 and the signature to the client. After receiving the integer m1 and the signature, the client verifies the signature. After successful verification, it calculates the corresponding response based on the integer m1 and sends it to the charging pile. After receiving the response, the charging pile performs response verification. After passing the verification, the authentication interaction is completed.

7. The method for realizing charging and payment services by using a charging pile according to claim 6, characterized in that, For the calculation of the corresponding response, the specific processing process includes: Calculate the point w on the elliptic curve e3, and the specific calculation formula is: w = e(G1, Q m ) r1 ; Among them, e() is a bilinear pairing matching operation, r1 is a randomly generated integer, G1 is the base point on the elliptic curve e1, and Q m is the server public key; Calculate t based on the point w on the computational elliptic curve e3, and the specific calculation formula is as follows: Among them, represents the exclusive OR operation, Hash() is the hash algorithm, and m1 is a random integer; Calculate σ based on t, and the specific calculation formula is: σ = (r1 - t) · sk c ; where r1 is a randomly generated integer, and sk c is the private key of the charging pile; Based on the above calculation, the obtained response at this moment is (t, σ).

8. The method for charging and payment services according to claim 6, characterized in that, The specific processing process of the response verification includes: Calculate t1 = e(G1, Q m ) t ; where e() is a bilinear pairing operation, G1 is the base point on the elliptic curve e1, and Q m is the server public key; Calculate t2 = e(σ, Hash(ID u ||ID)·G2 + Q m ); Among them, e() is a bilinear pairing operation, G2 is the base point on the elliptic curve e2, Q m is the server public key, ID u is the user identifier, and ID is the identifier of the server; Calculation Among them, represents an exclusive OR operation; Check whether t = t3 holds. If it holds, the verification passes.

9. The method for charging and payment services according to claim 1, wherein The processing process of generating the electricity consumption list and sending it to the client and the server includes: Send the electricity consumption list to the client. The client receives the electricity consumption list, signs the electricity consumption list after confirming it is correct, and sends the signature to the charging pile for verification. After successful verification, it sends the order payment information to the client and the server.

10. The method for charging and payment services according to claim 9, characterized in that, After the electricity consumption list is sent to the client, it also includes: The client signs the electricity consumption list using the signature algorithm. The signature algorithm uses the SM9 signature algorithm, and its expression is: s u = Sig(cost||ID u ||ID c ) Among them, Sig() is the signature algorithm in the SM9 algorithm, cost is the electricity consumption list, ID u is the user identification, and ID c is the charging pile identification; The charging pile verifies using the SM9 signature verification algorithm, and its expression is: Verify(s u , ID u ) = 1 Among them, Verify() is the signature verification algorithm in the SM9 algorithm, and s u is the signature of the user, and ID u is the user identifier.

Citation Information

Patent Citations

  • Electric vehicle charging payment method and device

    CN114299667A

  • Payment method and device, charging pile, readable storage medium and chip

    CN114997845A