Anti-repudiation charging method and system for double offline of equipment
By using two-way signature anchoring and secondary signature between the charging pile and the terminal, the problem of identity authentication and settlement for offline charging of devices under extreme disasters is solved, ensuring the reliability of the charging process and the accuracy of fee settlement.
Patent Information
- Application Number
- CN202610031582.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-12
- Publication Date
- 2026-02-06
AI Technical Summary
In extreme disaster situations, when both the terminal and the charging station are unable to connect to the network, existing charging solutions cannot achieve truly offline charging and are difficult to verify user identity and prevent charging trust crises.
After receiving a charging instruction, the terminal verifies the credibility of the QR code on the charging pile and generates a user authorization code. The charging pile then performs credit authentication and establishes a two-way signature anchor with the terminal. When charging ends, the charging settlement record is signed a second time to form a signature chain record.
It enables charging authentication and settlement in scenarios where both devices are offline, preventing repudiation and improving user and developer satisfaction.
Smart Images

Figure CN121479845A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] One or more embodiments of the present specification relate to the technical field of offline charging, in particular to a method for device double offline anti-fraud charging. BACKGROUND
[0002] When an extreme disaster such as an earthquake or a typhoon occurs, the terminal and the charging pile may be unable to connect to the network at the same time, so a device double offline charging method is needed. However, in the existing charging pile charging scheme, the terminal such as a mobile phone must be able to connect to the network or Bluetooth, and it is impossible to realize truly offline charging. At the same time, in the existing offline charging method, only different ways are used to realize the acquisition and recording of the basic information of the terminal user by the charging pile, and it is difficult for both the user and the service provider to prove the occurrence of the service and the determination of the operator's identity, which is easy to cause a charging trust crisis and cannot meet the use requirements of the developer and the user. SUMMARY
[0003] The embodiment of the present specification provides a method and system for device double offline anti-fraud charging, and the technical scheme is as follows:
[0004] In a first aspect, the embodiment of the present specification provides a method for device double offline anti-fraud charging, which comprises:
[0005] After the charging pile receives a charging instruction, the terminal performs trustworthiness verification on the pile end information two-dimensional code generated by the charging pile, generates a user authorization code according to the verification result, and the pile end information two-dimensional code includes charging pile ID information, current latitude and longitude information and current time information;
[0006] The charging pile performs credit authentication on the user authorization code, and anchors and starts charging according to the authentication signature result and the terminal;
[0007] In response to the end of charging, the charging pile and the terminal respectively perform secondary signature on the obtained charging settlement record, obtain a signature chain record and save it.
[0008] In a second aspect, a system for device double offline anti-fraud charging is provided, which comprises a charging pile and a terminal;
[0009] The terminal is used to perform trustworthiness verification on the pile end information two-dimensional code generated by the charging pile after the charging pile receives a charging instruction, generate a user authorization code according to the verification result, and the pile end information two-dimensional code includes charging pile ID information, current latitude and longitude information and current time information;
[0010] The charging pile is used to perform credit authentication on the user authorization code, and anchors and starts charging according to the authentication signature result and the terminal;
[0011] The charging pile and the terminal are respectively configured to perform secondary signature on the obtained charging settlement record when the charging is completed, to obtain a signature chain record and save the signature chain record.
[0012] In a third aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer readable storage medium stores instructions, and when the instructions are executed on a computer or a device processor, the computer or the device processor performs the method provided in the first aspect or any possible implementation manner of the first aspect.
[0013] The technical solutions provided by some embodiments of the present specification have at least the following beneficial effects:
[0014] In one or more embodiments of the present specification, the charging instruction is received by the charging pile, the terminal performs credibility verification on the pile-end information two-dimensional code generated by the charging pile, and generates a user authorization code according to the verification result. Then, the charging pile performs credit authentication on the user authorization code, and according to the authentication signature result, the terminal is anchored by bidirectional signature and the charging is started. Finally, in response to the end of charging, the charging pile and the terminal respectively perform secondary signature on the obtained charging settlement record, obtain a signature chain record and save the signature chain record. Through the above bidirectional identity and credit verification of the charging pile and the terminal, the charging requirement in the double offline scenario of the terminal and the charging pile end is met, and by constructing the bidirectional signature chain record, the charging fee settlement is provided with solid evidence, the purpose of preventing resistance is achieved, and the use satisfaction of the developer and the user is improved. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0016] Figure 1 A flowchart of a method for preventing resistance charging for double offline of equipment is provided for the embodiments of the present specification. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application.
[0018] The terms "first", "second", "third", and the like in the description of the specification and claims and the above-described drawings are used to distinguish different objects, and are not used to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to such processes, methods, products or devices.
[0019] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes can be made to the functions and arrangements of described elements without departing from the scope of the present description. Various examples can omit, substitute or add various procedures or components. For example, the described methods can be performed in a different order than described, and various steps can be added, omitted or combined. In addition, features described with respect to some examples can be combined into other examples.
[0020] See Figure 1 , Figure 1 The overall flowchart of the anti-fraud charging method for device double offline provided by the embodiments of the present specification is shown.
[0021] As Figure 1 shown, the anti-fraud charging method for device double offline can at least include the following steps:
[0022] Step 101, after receiving the charging instruction at the charging pile, the terminal performs credibility verification on the pile-end information two-dimensional code generated by the charging pile, and generates a user authorization code according to the verification result.
[0023] Among them, the pile-end information two-dimensional code includes charging pile ID information, current latitude and longitude information and current time information.
[0024] In the embodiment of the present specification, when an extreme disaster such as an earthquake or a typhoon occurs, a terminal such as a mobile phone or a mobile device and a charging pile can be simultaneously unable to be connected to a network, resulting in device double offline. In order to solve the problem that the charging pile can still provide charging service for the user, and effectively prevent disputes caused by the user or the charging service provider due to the cost problem after the event, a dynamic offline authentication and a two-way signature mechanism can be used. Specifically, in order to establish an initial trust relationship between the charging pile and the terminal in a double offline environment, after receiving a charging instruction issued by the user, the target charging pile in the charging system can generate a pile end information two-dimensional code according to the charging instruction. The pile end information two-dimensional code can include current charging pile ID information, current latitude and longitude information, and current time information. Then, the terminal can scan the pile end information two-dimensional code through the local APP, and perform trustworthiness verification on the pile end information two-dimensional code, that is, determine whether the target charging pile is a charging pile that has been registered in the local APP, and whether it is a trusted charging pile, to obtain a verification result. Further, when the verification result represents that the verification fails, it is proved that the target charging pile is an unknown untrusted charging pile, and the next charging process cannot be performed, the charging fails or the verification is re-performed. When the verification result represents that the verification passes, it is proved that the target charging pile is a trusted charging pile, and the terminal generates a user authorization code including a dynamic offline transaction voucher and offline verifiable, so that the charging pile can perform offline authentication in the subsequent process.
[0025] In an implementation manner, the charging pile receives a charging instruction, the terminal performs trustworthiness verification on the pile end information two-dimensional code generated by the charging pile, and generates a user authorization code according to the verification result, comprising:
[0026] The charging pile receives a charging instruction, and generates a pile end information two-dimensional code.
[0027] The terminal verifies the pile end information two-dimensional code based on a local verification database, and obtains a verification result.
[0028] In response to the verification result representing that the verification passes, the terminal generates a user authorization code based on a dynamic offline transaction voucher, and the dynamic offline transaction voucher includes user ID information, local credit level information, pre-authorization quota information, and a user signature.
[0029] In the embodiment of the present application, the user can send a charging instruction to the charging pile by clicking the "charge" button of the charging pile touch screen. In order to verify the authenticity of the charging pile in an offline state and avoid the user accessing malicious equipment, after receiving the charging instruction, the charging pile calls the charging pile ID information, the current latitude and longitude information and the current time information corresponding to the charging pile, and generates a pile end information two-dimensional code by merging them through the two-dimensional code conversion method. Then, since the terminal has stored a local verification database including information of each charging pile before going offline, the terminal first scans the pile end information two-dimensional code, and then verifies the pile end information two-dimensional code through the local verification database to determine whether the charging pile is trustworthy and obtain a verification result. When the verification result represents that the verification is passed, the terminal first generates a dynamic offline transaction voucher, wherein the dynamic offline transaction voucher can include but is not limited to user information and a user signature, wherein the user information includes user ID information, local credit level information and pre-authorization quota information, and the user signature can be a digital signature of the user information by a user private key, and finally a user authorization code is generated by merging them through the two-dimensional code conversion method.
[0030] In an implementation manner, the terminal verifies the pile end information two-dimensional code based on the local verification database to obtain a verification result, including:
[0031] The terminal queries the charging pile ID information based on the local verification database to obtain target latitude and longitude information;
[0032] The target latitude and longitude information is compared and verified with the current latitude and longitude information to obtain a verification result.
[0033] In the embodiment of the present application, when the terminal verifies the pile end information two-dimensional code, since each charging pile ID information in the pre-stored local verification database corresponds to a pre-stored latitude and longitude information, the charging pile ID information in the pile end information two-dimensional code can be queried based on the local verification database to obtain the corresponding target latitude and longitude information. Then, the target latitude and longitude information is compared and verified with the current latitude and longitude information in the pile end information two-dimensional code. When the target latitude and longitude information represents the same as the current latitude and longitude information, the verification result represents that the verification is passed. When the target latitude and longitude information represents different from the current latitude and longitude information, the verification result represents that the verification is not passed.
[0034] Step 103, the charging pile performs credit authentication on the user authorization code, and performs bidirectional signature anchoring with the terminal according to the authentication signature result and starts charging.
[0035] In the embodiments of the present application, in order to realize offline verification of the charging pile on the user identity and credit evaluation, ensure that the user has the charging qualification and payment ability, after the terminal generates the user authorization code, the charging pile scans the user authorization code displayed on the terminal APP screen through the camera, performs credit authentication, determines whether the user signature in the user authorization code is real and whether the local credit level information meets the requirements, to obtain an authentication signature result, when the authentication signature result represents that the authentication is passed, the charging pile and the terminal perform bidirectional signature anchoring, to ensure that the signature evidence of the charging pile and the terminal is saved at the beginning of charging, through the above bidirectional signature anchoring, the approval of both parties on the current charging is fixed before the charging starts, forming irrefutable starting evidence, so as to form a signature chain record of the complete charging process subsequently.
[0036] In an implementable manner, the charging pile performs credit authentication on the user authorization code, performs bidirectional signature anchoring with the terminal according to the authentication signature result, and starts charging, including:
[0037] The charging pile authenticates the user signature based on the service provider public key to obtain a first verification result;
[0038] The charging pile authenticates the local credit level information based on the credit threshold to obtain a second verification result;
[0039] In response to the first verification result and the second verification result both representing that the verification is passed, the charging pile and the terminal perform bidirectional signature anchoring and start charging.
[0040] In the embodiments of the present application, in order to ensure that the charging pile and the terminal reach a consensus on the current charging before the charging starts, and prevent unilateral denial, the user signature can be authenticated using the service provider public key first, that is, whether the user private key in the user signature is real is judged through key comparison, to obtain a first verification result, when the user signature is real, the first verification result represents that the verification is passed, otherwise, the verification is not passed. Then, in order to prevent the user who owes fees or the malicious user from occupying the charging resource, the local credit level information can be authenticated based on the credit threshold, that is, whether the local credit level value corresponding to the local credit level information is within the credit threshold or is in the local blacklist is judged, to obtain a second verification result, when the local credit level value is within the credit threshold, the second verification result represents that the verification is passed, otherwise, the verification is not passed. Further, when the first verification result and the second verification result both represent that the verification is passed, the charging pile and the terminal both sign the newly created offline charging record, after bidirectional signature anchoring is completed, the user starts charging by clicking the “start charging” button on the terminal or the charging pile screen.
[0041] In an implementable manner, the charging pile and the terminal perform bidirectional signature anchoring and start charging, including:
[0042] The charging pile signs the created offline charging record based on a pile private key to generate a pile-end charging two-dimensional code;
[0043] The terminal signs the offline charging record based on a user private key according to the pile-end charging two-dimensional code to generate a terminal charging two-dimensional code;
[0044] The pile-end charging two-dimensional code and the terminal charging two-dimensional code are used for bidirectional signature anchoring and starting charging.
[0045] In the embodiments of the present application, when the charging pile and the terminal are bidirectionally anchored by signature, the charging pile can first create an offline charging record locally, wherein the offline charging record can include but is not limited to a charging start time and a dynamic offline transaction voucher. Then, the charging pile signs the offline charging record based on a pile private key, and converts the signed offline charging record into a corresponding pile-end charging two-dimensional code by a two-dimensional code conversion method. Then, the terminal scans the pile-end charging two-dimensional code, parses the offline charging record in the pile-end charging two-dimensional code, and signs the offline charging record based on a user private key to generate a corresponding terminal charging two-dimensional code by a two-dimensional code conversion method. Further, the terminal charging two-dimensional code is provided to the charging pile for scanning and recording, and the terminal signature is written into the offline charging record. After bidirectional signature anchoring is completed, charging is started.
[0046] In response to the end of charging, the charging pile and the terminal respectively sign the obtained charging settlement record twice to obtain a signature chain record and save it.
[0047] In the embodiments of the present application, the charging pile starts charging the target until it detects that the charging is completed, then obtains the charging settlement record, and then respectively signs the charging settlement record twice by the charging pile and the terminal. If any party tampers with the local data, the signature verification will fail, and the signature chain record of the complete charging process is obtained by mutual scanning and saved in the local storage of each party, waiting for network recovery to upload the server for charging fee settlement. The charging target of device double offline is achieved, and a solid evidence is provided for subsequent charging fee settlement by forming an irreversible signature chain, and the purpose of preventing resistance is achieved.
[0048] In an implementable manner, the charging pile and the terminal respectively sign the obtained charging settlement record twice to obtain a signature chain record and save it, comprising:
[0049] The charging pile obtains the charging settlement record and determines settlement data in the charging settlement record, wherein the settlement data includes a charging end time and charging data;
[0050] The charging pile performs secondary signing on the settlement data based on a pile private key to obtain a pile-end secondary signature.
[0051] The terminal performs secondary signing on the settlement data according to a user private key to obtain a final record signature.
[0052] The pile-end secondary signature and the final record signature are counted to obtain a signature chain record and saved.
[0053] In the embodiments of the present specification, when the charging pile and the terminal perform secondary signing on the charging settlement record, the charging pile can first obtain the charging settlement record, and analyze the corresponding settlement data of the charging settlement record through a template, wherein the settlement data can include but is not limited to the charging end time and the charging data, and the charging data includes the charging amount and the charging fee. Then, the charging pile performs secondary signing on the settlement data based on a pile private key to obtain a pile-end secondary signature, and converts the settlement data after the pile-end secondary signature into a pile-end secondary signature two-dimensional code for the terminal to scan. After the terminal scans and analyzes the pile-end secondary signature two-dimensional code, the terminal performs secondary signing on the settlement data in the pile-end secondary signature two-dimensional code after confirming that the settlement data is correct according to a user private key, to obtain a final record signature. Finally, the pile-end secondary signature and the final record signature are counted to obtain a signature chain record, and saved in the local storage of the charging pile and the terminal respectively, and uploaded to the server for charging fee settlement after the network is restored.
[0054] In an implementation manner, the method further includes:
[0055] In response to adding a new charging user, the charging pile obtains user information of a target new user, and calculates a security hash value corresponding to the user information;
[0056] The charging pile maps the security hash value and a target ID for identity and stores the same, and the target ID is generated by the terminal.
[0057] In the embodiments of the present specification, when a user uses a charging pile of a charging service provider for the first time, the user personal information is not stored in the charging pile, and the new charging user needs to be added offline. In order to support the identity binding of the user who has not been pre-registered in the offline scene, the user information of the target new user can be obtained through the charging pile, and the user information can include the user physical identity card information and the bank card information after the authorization of the target new user. Then, the security hash value corresponding to the user information is calculated. Then, the charging pile prompts the user to generate a target ID through the terminal through the display screen, and then maps the security hash value and the target ID for identity. After the identity mapping is completed, the identity mapping is saved in the local storage, the registration of the new charging user is completed, and the above-mentioned device double offline charging process can be repeated in the subsequent offline charging service.
[0058] The above describes particular embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the acts or steps recited in the claims can be performed in an order other than that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown or sequential order to achieve desirable results. In some embodiments, multitasking and parallel processing can be advantageous or possible.
[0059] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be realized by means of software and / or hardware. The "unit" and "module" in the specification refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, and the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0060] The various processing units and / or modules of the embodiments of the present application can be realized by analog circuits that implement the functions described in the embodiments of the present application, or can be realized by software that executes the functions described in the embodiments of the present application.
[0061] The embodiments of the present specification also provide a non-fraudulent charging system for device double offline, the system comprising a charging pile and a terminal;
[0062] The terminal is configured to perform trustworthiness verification on a pile-end information two-dimensional code generated by the charging pile after the charging pile receives a charging instruction, generate a user authorization code according to a verification result, and the pile-end information two-dimensional code comprises charging pile ID information, current latitude and longitude information, and current time information;
[0063] The charging pile is configured to perform credit authentication on the user authorization code, perform bidirectional signature anchoring with the terminal according to an authentication signature result, and start charging;
[0064] The charging pile and the terminal are respectively configured to perform secondary signature on charging settlement records obtained when charging is completed, obtain signature chain records, and save the signature chain records.
[0065] Optionally, the charging pile is further configured to receive a charging instruction and generate a pile-end information two-dimensional code.
[0066] The terminal is further configured to perform verification on the pile-end information two-dimensional code based on a local verification database to obtain a verification result.
[0067] The terminal is also used to generate a user authorization code based on a dynamic offline transaction certificate when the verification result indicates that the verification has passed. The dynamic offline transaction certificate includes user ID information, local credit rating information, pre-authorized limit information, and user signature.
[0068] This specification also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0069] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0070] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0071] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0072] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0073] In addition, each of the function units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function unit.
[0074] When the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer readable memory. Based on this understanding, the technical solutions of the present application, essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned memory includes: a U disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0075] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be instructed by a program to related hardware, and the program can be stored in a computer readable memory, and the memory can include: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc.
[0076] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the acts or steps recited in the claims can be performed in a different order than the order in which they are recited and still achieve desirable results. In addition, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous.
Claims
1. A method for non-repudiation charging of devices in dual offline states, characterized in that, The method includes: After the charging pile receives the charging command, the terminal verifies the credibility of the QR code for the charging pile's terminal information and generates a user authorization code based on the verification result. The QR code for the charging pile's terminal information includes the charging pile ID, current latitude and longitude, and current time. The charging pile performs credit authentication on the user authorization code, performs two-way signature anchoring with the terminal based on the authentication signature result, and starts charging. In response to the end of charging, the charging pile and the terminal respectively perform a second signature on the obtained charging settlement record to obtain a signature chain record and save it.
2. The method according to claim 1, characterized in that, After the charging pile receives the charging command, the terminal verifies the credibility of the QR code on the charging pile end, and generates a user authorization code based on the verification result, including: The charging pile receives the charging command and generates a QR code containing pile information. The terminal verifies the QR code of the pile end information based on the local verification database and obtains the verification result; In response to the verification result indicating that the verification is successful, the terminal generates a user authorization code based on the dynamic offline transaction certificate, which includes user ID information, local credit rating information, pre-authorized limit information, and user signature.
3. The method according to claim 2, characterized in that, The terminal verifies the QR code of the pile end information based on a local verification database, and obtains the verification result, including: The terminal queries the charging pile ID information based on the local verification database to obtain the target latitude and longitude information; The target latitude and longitude information is compared and verified with the current latitude and longitude information to obtain the verification result.
4. The method according to claim 2, characterized in that, The charging pile performs credit authentication on the user authorization code, and performs two-way signature anchoring with the terminal based on the authentication signature result before starting charging, including: The charging pile authenticates the user's signature based on the service provider's public key to obtain a first verification result; The charging pile authenticates the local credit rating information based on a credit threshold to obtain a second verification result; In response to both the first verification result and the second verification result indicating that the verification is successful, the charging pile and the terminal perform bidirectional signature anchoring and start charging.
5. The method according to claim 4, characterized in that, The charging pile and the terminal perform two-way signature anchoring and start charging, including: The charging pile signs the created offline charging record based on the pile's private key and generates a charging QR code at the pile end; The terminal performs user private key signing on the offline charging record based on the charging QR code at the charging station, and generates a terminal charging QR code. The charging is initiated by performing two-way signature anchoring based on the charging pile QR code and the terminal charging QR code.
6. The method according to claim 1, characterized in that, The charging pile and the terminal respectively perform secondary signatures on the acquired charging settlement records to obtain and save the signature chain record, including: The charging pile acquires the charging settlement record and determines the settlement data in the charging settlement record, the settlement data including the charging end time and charging data; The charging pile performs a secondary signature on the settlement data based on the pile's private key to obtain a pile-end secondary signature. The terminal performs a secondary signature on the settlement data based on the user's private key to obtain the final record signature; The signature chain record is obtained by statistically analyzing the secondary signatures at the pile end and the final record signature, and then saved.
7. The method according to claim 1, characterized in that, The method further includes: In response to a new charging user, the charging pile obtains the user information of the target new user and calculates the security hash value corresponding to the user information; The charging pile maps and stores the security hash value to the target ID, which is generated by the terminal.
8. A non-repudiation charging system for dual offline devices, characterized in that, The system includes charging piles and terminals; The terminal is used to verify the credibility of the QR code of the charging pile terminal information generated by the charging pile after the charging pile receives the charging command, and generate a user authorization code according to the verification result. The QR code of the charging pile terminal information includes charging pile ID information, current latitude and longitude information and current time information. The charging pile is used to authenticate the user authorization code, and performs two-way signature anchoring with the terminal based on the authentication signature result and starts charging. The charging pile and the terminal are respectively used to perform a second signature on the obtained charging settlement record when the charging ends, so as to obtain a signature chain record and save it.
9. The system according to claim 8, characterized in that, The charging pile is also used to receive charging instructions and generate a QR code for pile end information. The terminal is also used to verify the QR code of the pile end information based on a local verification database to obtain the verification result; The terminal is also used to generate a user authorization code based on a dynamic offline transaction certificate when the verification result indicates that the verification has passed. The dynamic offline transaction certificate includes user ID information, local credit rating information, pre-authorized limit information, and user signature.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Identity information authentication method, client, charging pile, server and system
CN112995967A
Electric vehicle charging payment method and device
CN114299667A
Secure offline payment system
US20150278795A1
Online charging pile operation management method, system, electronic device, and storage medium
WO2021077249A1
Offline contactless payment method and system, device and storage medium
WO2023093875A1