Charging system, charging method and edge gateway device

Through the combination of edge gateway equipment and cloud servers, using near-field communication between mobile terminals and code scanning equipment, the control and accurate deduction of the charging system when the network is disconnected is solved, the availability and user experience of the charging system are improved, and the realization of the charging system is achieved. The accuracy and security of billing are provided.

CN118968672APending Publication Date: 2024-11-15AUTEL UNITED CREATION SOFTWARE DEV CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411218855.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing charging system cannot work properly when the charging pile is remote, the network is unstable or powered off, and the amount of pre-deductible is not accurate enough, which affects the user experience and operator reputation, lacks an effective security verification mechanism and communication delay, which limits the Development of new energy charging systems.

Method used

Using the combination of edge gateway equipment, cloud server and charging pile, through near-field communication between mobile terminals and code scanning devices, the withholding identification information is generated and verified, ensuring the safe transmission and accuracy of charging instructions and fee information, and realizing the in-disconnection Charging control and accurate deduction in network situations.

Benefits of technology

It improves the availability and user experience of charging piles, ensures the accuracy and transparency of billing, reduces operating costs, enhances the security and scalability of the system, and reduces the risks of human intervention and error authentication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118968672A_ABST
    Figure CN118968672A_ABST
Patent Text Reader

Abstract

The invention relates to the field of charging control, in particular to a charging system, a charging method and edge gateway equipment, and the charging system comprises a cloud server which is used for receiving the charging information of a target charging pile sent by a mobile terminal; the cloud server is used for generating pre-deduction fee information according to the charging information and sending the pre-deduction fee information to the mobile terminal, and the pre-deduction fee information is predicted by the cloud server according to a preset model; the edge gateway equipment is used for receiving pre-deduction identification information sent by the mobile terminal and generating a charging instruction for the target charging pile according to the pre-deduction identification information, and the pre-deduction identification information is generated by the mobile terminal according to the pre-deduction information; and the target charging pile is in communication connection with the edge gateway equipment, and is used for receiving the charging instruction from the edge gateway equipment, starting charging according to the pre-charging identification information after successful authentication with the edge gateway equipment, and generating charging data. According to the method, the charging service can be carried out when the charging pile is disconnected from the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charging control, and in particular to a charging system, a charging method and an edge gateway device. Background Art

[0002] In the field of new energy charging, traditional charging systems usually rely on cloud-based central management systems for charging control and prepayment processing. The design of this system results in the charging pile being unable to connect to the cloud-based management system when the charging pile is in a remote location, the network is unstable, or there is a power outage, and thus the service cannot be provided normally.

[0003] In addition, since the withholding amount is usually executed by cloud services and is often not accurate, this may lead to a large difference between the amount prepaid by the user and the actual charging fee, affecting user satisfaction and the reputation of the charging station operator. This network dependency and withholding accuracy problem, coupled with the lack of effective security verification mechanisms and communication delays, together constitute the main defects of the existing charging system. Problems such as poor user experience, single payment method, lack of data-driven decision support, high operating costs and poor system scalability also limit the development of new energy charging systems. Summary of the invention

[0004] An object of an embodiment of the present invention is to provide a charging system, a charging method and an edge gateway device, which are used to solve the technical problem that a charging pile cannot normally control charging and cannot accurately deduct money when there is no network connection.

[0005] In a first aspect, an embodiment of the present invention provides a charging system, characterized in that the charging system includes an edge gateway device, a cloud server, and a charging pile, wherein:

[0006] The cloud server is used to receive charging information of a target charging pile sent by a mobile terminal, the target charging pile is in an off-network state, and the mobile terminal is in communication connection with the cloud server;

[0007] The cloud server is used to generate pre-withheld fee information according to the charging information, and send the pre-withheld fee information to the mobile terminal, wherein the pre-withheld fee information is predicted by the cloud server according to a preset model;

[0008] The edge gateway device is used to receive the pre-withholding fee identification information sent by the mobile terminal, and generate a charging instruction for the target charging pile according to the pre-withholding fee identification information, and the pre-withholding fee identification information is generated by the mobile terminal according to the pre-withholding fee information;

[0009] The target charging pile is communicatively connected with the edge gateway device, and is used to receive the charging instruction from the edge gateway device, and after successful authentication with the edge gateway device, start charging according to the pre-withholding fee identification information, and generate charging data.

[0010] In combination with the first aspect, in a possible implementation, the charging system also includes a code scanning device, which is communicatively connected to the mobile terminal and the edge gateway device respectively. The code scanning device is communicatively connected to the mobile terminal and the edge gateway device respectively, and is used to scan and receive the pre-withholding fee identification information displayed by the mobile terminal, and send the pre-withholding fee identification information to the edge gateway device.

[0011] It can be seen that in this embodiment, the scanning device can establish a communication connection with the mobile terminal and the edge gateway device. Further, the communication connection between the scanning device and the edge gateway device ensures the security of the pre-withholding fee identification information and prevents the information from being tampered with during transmission.

[0012] In combination with the first aspect, in a possible implementation, the code scanning device is further used to receive a first stop charging instruction displayed by the mobile terminal, and send the first stop charging instruction to the edge gateway device; the edge gateway device is also used to calibrate the pre-withheld fee information according to the charging data after receiving the first stop charging instruction, obtain first deduction information, and send the first deduction information to the code scanning device; the cloud server is also used to receive the first deduction information sent by the mobile terminal, generate order information for the target charging pile according to the first deduction information, and send the order information to the mobile terminal, the first deduction information is sent by the code scanning device to the mobile terminal; the code scanning device is also used to receive a stop charging mark sent by the mobile terminal, and send the stop charging mark to the edge gateway device, the stop charging mark is generated by the mobile terminal according to the received order information; the edge gateway device is also used to verify the stop charging mark, obtain verification information, and send a second stop charging instruction to the target charging pile according to the verification information; the target charging pile is also used to stop charging according to the second stop charging instruction.

[0013] It can be seen that the entire process in this embodiment constitutes a complete closed loop, ensuring that the charging pile completes the charging process according to the scanning device and the edge gateway device when the network is disconnected, which is controllable and safe. From the start of charging to the end of charging, each step undergoes strict instruction verification and data transmission, allowing users to conveniently control the charging process while ensuring the accuracy and transparency of billing.

[0014] In combination with the first aspect, in a possible implementation, the edge gateway device is further used to receive the pre-withholding fee identification information sent by the mobile terminal, wherein the mobile terminal is connected to the edge gateway device by near field communication.

[0015] It can be seen that in this embodiment, the edge gateway device can directly receive the pre-withholding fee identification information from the mobile terminal. This method is fast and convenient, and reduces the steps required for the user to operate.

[0016] In combination with the first aspect, in a possible implementation, the edge gateway device is also used to receive a third stop charging instruction generated and sent by the mobile terminal, and after receiving the third stop charging instruction, obtain second deduction information according to the charging data, and send the second deduction information to the mobile device; the cloud server is also used to receive the second deduction information sent by the mobile terminal, and generate order information for the target charging pile according to the second deduction information, and send the order information to the mobile terminal, and the second deduction information is sent to the mobile terminal by the edge gateway device; the edge gateway device is also used to receive a stop charging identifier sent by the mobile terminal, verify the stop charging identifier, obtain verification information, and send a fourth stop charging instruction to the target charging pile according to the verification information, and the stop charging identifier is generated by the mobile terminal according to the received order information; the target charging pile is also used to stop charging according to the fourth stop charging instruction.

[0017] It can be seen that the entire process in this embodiment constitutes a complete closed loop, ensuring that the charging process is not interrupted when the charging pile is disconnected from the network, based on the near-field communication connection between the mobile terminal and the edge gateway device, and is controllable and safe. From the start of charging to the end of charging, each step undergoes strict command verification and data transmission, allowing users to conveniently control the charging process while ensuring the accuracy and transparency of billing.

[0018] In a second aspect, an embodiment of the present invention provides a charging method, which is applied to an edge gateway device in a charging system, wherein the charging system further includes a cloud server and a charging pile, and the charging method includes:

[0019] Acquire pre-withholding fee identification information, where the pre-withholding fee identification information is generated by the mobile device according to the pre-withholding fee information, where the pre-withholding fee information is generated by the cloud server according to the charging information of the target charging pile in the disconnected state;

[0020] A charging instruction for the target charging pile is generated according to the pre-withholding fee identification information, so that the target charging pile starts charging according to the pre-withholding fee identification information after successful authentication according to the charging instruction.

[0021] In combination with the second aspect, in a possible implementation method, the charging system also includes a code scanning device, and obtaining the pre-withholding fee identification information includes: obtaining the pre-withholding fee identification information sent by the code scanning device, and the code scanning device is communicatively connected with the edge gateway device; or, obtaining the pre-withholding fee identification information sent from the mobile terminal, and the mobile terminal is connected with the edge gateway device in near field communication.

[0022] It can be seen that in this embodiment, the scanning device can establish a communication connection with the mobile terminal and the edge gateway device. Further, the communication connection between the scanning device and the edge gateway device ensures the security of the pre-withholding fee identification information and prevents the information from being tampered with during transmission.

[0023] In combination with the second aspect, in a possible implementation, the charging instruction for the target charging pile is generated according to the pre-withholding fee identification information, so that the target charging pile starts charging according to the pre-withholding fee identification information after successful authentication. The charging method includes: verifying the pre-withholding fee identification information to obtain first verification information; generating a charging instruction for the target charging pile according to the first verification information, so that the target charging pile performs authentication according to the charging instruction, and after successful authentication, starts charging according to the pre-withholding fee identification information.

[0024] It can be seen that in this embodiment, the pre-withholding fee identification information is verified by the edge gateway device and a charging instruction is generated, which can effectively prevent unauthorized charging behavior and ensure the safe use of the charging pile. The edge gateway device can maintain communication with the charging pile to ensure the stability of the charging process.

[0025] In combination with the second aspect, in a possible implementation, after generating a charging instruction for the target charging pile according to the first verification information, the charging method also includes: receiving a first stop charging instruction; obtaining charging data of the target charging pile; calibrating the pre-withheld fee information according to the charging data to obtain first deduction information; verifying a stop charging flag to obtain second verification information, wherein the stop charging flag is generated by the mobile terminal according to the received order information, and the order information is generated by the cloud server according to the first deduction information; and sending a second stop charging instruction to the target charging pile according to the second verification information, so that the target charging pile stops charging according to the second stop charging instruction.

[0026] It can be seen that this embodiment ensures that the charging pile completes the charging process according to the edge gateway device when the network is disconnected, which is controllable and safe.

[0027] In a third aspect, an embodiment of the present invention provides a charging device, an edge gateway device in a charging system, wherein the charging system further includes a cloud server and a charging pile, and the charging method includes:

[0028] An acquisition unit, configured to acquire pre-withholding fee identification information, wherein the pre-withholding fee identification information is generated by a mobile device according to pre-withholding fee information, and the pre-withholding fee information is generated by the cloud server according to charging information of a target charging pile in an off-network state;

[0029] A generating unit is used to generate a charging instruction for the target charging pile according to the pre-withholding fee identification information, so that the target charging pile starts charging according to the pre-withholding fee identification information after successful authentication according to the charging instruction.

[0030] In a fourth aspect, an edge gateway device is provided, comprising a memory and a processor, wherein the memory is connected to the processor, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the edge gateway device implements the charging method described in the second aspect.

[0031] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method as described in the second aspect.

[0032] In the embodiments implemented by the above-mentioned charging system, charging method and edge gateway device, the charging system includes an edge gateway device, a cloud server, and a charging pile, the cloud server is used to receive charging information of a target charging pile sent by a mobile terminal, the target charging pile is in an offline state, and the mobile terminal is communicatively connected to the cloud server; the cloud server is used to generate pre-withholding fee information based on the charging information, and send the pre-withholding fee information to the mobile terminal, wherein the pre-withholding fee information is predicted by the cloud server according to a preset model; the edge gateway device is used to receive the pre-withholding fee identification information sent by the mobile terminal, and generate a charging instruction for the target charging pile according to the pre-withholding fee identification information, and the pre-withholding fee identification information is generated by the mobile terminal according to the pre-withholding fee information; the target charging pile is communicatively connected to the edge gateway device, and is used to receive the charging instruction from the edge gateway device, and after successful authentication with the edge gateway device, charging is started according to the pre-withholding fee identification information, and charging data is generated. According to the proposed mobile terminal of this embodiment, the mobile terminal can interact with the charging system to implement the entire process; first, the cloud server can receive the charging information of the target charging pile in the disconnected state sent by the mobile terminal, ensuring that the system can still handle the charging demand of the charging pile even without network connection, thereby improving the availability of the charging pile, especially in areas where the network is unstable or unavailable; secondly, by generating pre-withheld fee information through the cloud server, the charging fee can be predicted more accurately, the user's pre-withheld fee error can be reduced, and the accuracy of fee prediction can be improved; further, based on the pre-withheld fee identification information, the user can quickly scan the code, authenticate and start the charging process without manual intervention, thereby providing a convenient user experience; further, the edge gateway device verifies the pre-withheld fee identification information to ensure the security of the transaction, reduce the risk of fraud or erroneous authentication, and can automatically process the charging process after authentication, reducing human intervention and improving the automation level of the charging process; finally, the charging pile generates charging data after charging, which is helpful for subsequent billing and monitoring, ensuring the transparency of the transaction and the convenience of subsequent processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0034] Figure 1A is a schematic diagram of a charging system in one embodiment of the present invention;

[0035] Figure 1Bis another schematic diagram of a charging system in one embodiment of the present invention;

[0036] Figure 1C is a schematic diagram of a specific implementation of various components in a charging system in one embodiment of the present invention;

[0037] Figure 2A is a schematic flow chart of a charging method in one embodiment of the present invention;

[0038] Figure 2B is a schematic diagram of an interactive process of a charging method in one embodiment of the present invention;

[0039] Figure 2C is a schematic diagram of an interactive process of a charging method in one embodiment of the present invention;

[0040] Figure 3 is a schematic flow chart of a charging method in one embodiment of the present invention;

[0041] Figure 4 is a schematic structural diagram of a charging device in one embodiment of the present invention;

[0042] Figure 5 It is a schematic diagram of the structure of an edge gateway device in one embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0044] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, all within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in the present invention do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0045] In addition to the problems with the related technologies pointed out in the background technology, other related problems are also found: communication delays, especially in the charging process that requires instant response. The delay may lead to a poor user experience and even affect the charging efficiency. The existing charging system also faces problems such as a single payment method, lack of data-driven decision support, high operating costs, and poor system scalability. The restrictions on payment methods prevent users from choosing payment methods according to their preferences, lacking flexibility and convenience. At the same time, due to the inability to effectively collect and analyze charging data, operators lack the necessary insights to optimize services and develop effective business strategies. High operating costs and poor system scalability also limit the large-scale deployment and upgrading of new energy charging systems.

[0046] To address these issues, the present method proposes a charging system that can continue to provide charging services when the network is unstable or disconnected, while providing more accurate pre-withholding processing, enhancing system security and user experience, reducing operating costs, and improving system scalability and flexibility.

[0047] The following is a detailed introduction. Figure 1A , Figure 1A A schematic diagram of a charging system provided in an embodiment of the present application, wherein the charging system 10 includes an edge gateway device 20, a cloud server 30, and a charging pile 40.

[0048] In addition, during the implementation of the present application, a mobile terminal 50 is involved, and the mobile terminal 50 performs data interaction and communication with the charging system 10 to jointly implement the present application.

[0049] The mobile terminal 50 is a device composed of electronic components, including circuits, microprocessors, memory, sensors and other hardware for processing, storing and transmitting information. Mobile terminals can be portable, such as smart phones, tablet computers, laptops and wearable devices. Mobile terminals are usually able to perform multiple functions, such as data processing, communication, entertainment, navigation, etc., and can be connected to the network through various wireless or wired technologies.

[0050] Specifically, the mobile terminal 50 also provides a convenient interface for users to interact with the charging system. Users can use the mobile terminal to start and manage the charging process, view the charging status, and make payments. In addition, it can also communicate with the edge gateway device through technologies such as Bluetooth or near-field communication (NFC).

[0051] The cloud server 30 is the remote control center of the charging system, which processes and stores a large amount of data from the entire charging network, performs complex computing tasks, such as user authentication, predicting charging costs, generating withholding orders, and providing analysis services for users and operators. It is also responsible for communicating with the mobile terminal 50, receiving charging requests and sending withholding information. That is, the cloud server 30 plays a central management role in the charging system, ensuring the overall coordination and optimization of the charging system.

[0052] Furthermore, the cloud server 30 in the charging system 10 not only serves as a remote control center, but also includes a prediction model, which is used to improve the accuracy of the pre-withholding, optimize the charging experience, and improve the overall efficiency of the system. Among them, the prediction model in the cloud server 30 is built based on big data analysis and machine learning technology. The prediction model predicts the possible costs of user charging based on historical charging data, user behavior, charging pile parameters and other information. By analyzing the user's charging mode, the battery type of the vehicle and the power output of the charging pile, the prediction model can provide a more accurate amount of pre-withholding and reduce the difference between the user's actual charging cost and the pre-withholding. On the user side, the information obtained through the prediction model analysis can help them know the best charging period, find nearby idle charging piles, and predict the waiting time during the charging process. In addition, the prediction model can also provide users with personalized charging suggestions, such as arranging charging in advance according to charging habits and travel plans, thereby improving the user's overall charging experience.

[0053] Among them, the edge gateway device 20 is a key component in the charging system. It is located near the charging pile and is responsible for local processing of charging requests and management of the charging process when the network is disconnected or unstable. The edge gateway device 20 can communicate directly with the mobile terminal 50 and the charging pile 40 to perform security verification, generation and transmission of charging instructions, and preliminary processing of charging data. It acts as a bridge between the cloud server 30 and the charging pile 40, ensuring that the charging service can be carried out continuously and reliably even when the network connection is unreliable.

[0054] Optionally, the charging system further includes a code scanning device 60, which is used to connect the mobile terminal and the edge gateway device. The code scanning device 60 can exchange data with the mobile terminal and the edge gateway device through common communication connections or near field communication technologies (such as NFC, Bluetooth, Wi-Fi, etc.). Figure 1B , Figure 1B This is a schematic diagram of another charging system.

[0055] Specifically, the code scanning device 60 serves as a bridge between user interaction and system authentication. The user generates a QR code or barcode containing pre-withholding fee identification information through a mobile terminal, and then scans it using the code scanning device. This step is not only to start the charging process, but also as a way to pre-authorize the fee. When the user displays the QR code or barcode through the mobile terminal, the code scanning device reads the pre-withholding fee identification information contained therein. The pre-withholding fee identification information may include user account number, amount, timestamp and other necessary encrypted authentication information. After the code scanning device reads this information, it sends it to the edge gateway device through a secure communication connection.

[0056] Among them, the charging pile 40 is the device that actually provides charging services. It can be a charging station installed in a public place or a private place. The charging pile 40 is directly connected to the edge gateway device 20, receives charging instructions from the edge gateway, executes the charging process, and generates charging data. The charging pile 40 can also authenticate with the edge gateway device 20 to ensure that only authorized users can use the charging service.

[0057] In the present charging system 10, the specific contents of each component can be as follows: Figure 1C As shown, Figure 1C The figure is a schematic diagram of the specific implementation of each component in a charging system.

[0058] S10. The cloud server is used to receive charging information of a target charging pile sent by a mobile terminal. The target charging pile is in an off-network state. The mobile terminal is in communication connection with the cloud server.

[0059] S20. The cloud server is used to generate pre-withheld fee information according to the charging information, and send the pre-withheld fee information to the mobile terminal, wherein the pre-withheld fee information is predicted by the cloud server according to a preset model.

[0060] S30. The edge gateway device is used to receive the pre-withholding fee identification information sent by the mobile terminal, and generate a charging instruction for the target charging pile according to the pre-withholding fee identification information, and the pre-withholding fee identification information is generated by the mobile terminal according to the pre-withholding fee information.

[0061] S40, the target charging pile is communicatively connected with the edge gateway device, and is used to receive the charging instruction from the edge gateway device, and after successful authentication with the edge gateway device, start charging according to the pre-withholding fee identification information, and generate charging data.

[0062] For details of the processes S10, S20, S30 and S40, please refer to the second embodiment (a charging method, applied to a charging system).

[0063] In this embodiment, the mobile terminal proposed can interact with the charging system to implement the entire process; first, the cloud server can receive the charging information of the target charging pile in the disconnected state sent by the mobile terminal, ensuring that the system can still handle the charging needs of the charging pile even without a network connection, thereby improving the availability of the charging pile, especially in areas where the network is unstable or unavailable; secondly, by generating pre-withheld fee information through the cloud server, the charging fee can be predicted more accurately, the user's pre-withheld fee error can be reduced, and the accuracy of fee prediction can be improved; further, based on the pre-withheld fee identification information, the user can quickly scan the code, authenticate and start the charging process without manual intervention, thereby providing a convenient user experience; further, the edge gateway device verifies the pre-withheld fee identification information to ensure the security of the transaction, reduce the risk of fraud or erroneous authentication, and can automatically process the charging process after authentication, reducing human intervention and improving the automation level of the charging process; finally, the charging pile generates charging data after charging, which is helpful for subsequent billing and monitoring, ensuring the transparency of the transaction and the convenience of subsequent processing.

[0064] In a possible example, the charging system also includes a code scanning device, which is communicatively connected to the mobile terminal and the edge gateway device respectively. The code scanning device is communicatively connected to the mobile terminal and the edge gateway device respectively, and is used to scan and receive the pre-withholding fee identification information displayed by the mobile terminal, and send the pre-withholding fee identification information to the edge gateway device.

[0065] For the specific content of this embodiment, please refer to the second embodiment (a charging method, applied to a charging system).

[0066] In a possible example, the code scanning device is also used to receive the first stop charging instruction displayed by the mobile terminal, and send the first stop charging instruction to the edge gateway device; the edge gateway device is also used to calibrate the pre-deducted fee information according to the charging data after receiving the first stop charging instruction, obtain the first deduction information, and send the first deduction information to the code scanning device; the cloud server is also used to receive the first deduction information sent by the mobile terminal, generate order information for the target charging pile according to the first deduction information, and send the order information to the mobile terminal, the first deduction information is sent by the code scanning device to the mobile terminal; the code scanning device is also used to receive the stop charging mark sent by the mobile terminal, and send the stop charging mark to the edge gateway device, the stop charging mark is generated by the mobile terminal according to the received order information; the edge gateway device is also used to verify the stop charging mark, obtain verification information, and send a second stop charging instruction to the target charging pile according to the verification information; the target charging pile is also used to stop charging according to the second stop charging instruction. .

[0067] For the specific content of this embodiment, please refer to the second embodiment (a charging method, applied to a charging system).

[0068] Among them, the verification information in the above-mentioned "the edge gateway device is also used to verify the stop charging flag to obtain verification information" is the second verification information in the second embodiment.

[0069] In a possible example, the edge gateway device is also used to receive the pre-withholding fee identification information sent by the mobile terminal, wherein the mobile terminal is connected to the edge gateway device by near field communication.

[0070] For the specific content of this embodiment, please refer to the second embodiment (a charging method, applied to a charging system).

[0071] In one possible example, the edge gateway device is also used to receive a third stop charging instruction generated and sent by the mobile terminal, and after receiving the third stop charging instruction, obtain second deduction information according to the charging data, and send the second deduction information to the mobile device; the cloud server is also used to receive the second deduction information sent by the mobile terminal, and generate order information for the target charging pile according to the second deduction information, and send the order information to the mobile terminal, and the second deduction information is sent to the mobile terminal by the edge gateway device; the edge gateway device is also used to receive a stop charging identifier sent by the mobile terminal, verify the stop charging identifier, obtain verification information, and send a fourth stop charging instruction to the target charging pile according to the verification information, and the stop charging identifier is generated by the mobile terminal according to the received order information; the target charging pile is also used to stop charging according to the fourth stop charging instruction.

[0072] For the specific content of this embodiment, please refer to the second embodiment (a charging method, applied to a charging system).

[0073] Among them, the verification information in “the edge gateway device is also used to verify the stop charging mark to obtain verification information” is the third verification information in the second embodiment.

[0074] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.

[0075] Based on the charging system proposed above, the present application proposes a charging method, which is described in detail below.

[0076] See also Figure 2A , Figure 2A A flow chart of a charging method provided in an embodiment of the present invention is applied to a charging system, wherein the charging system includes an edge gateway device, a cloud server, and a charging pile. The method includes the following steps:

[0077] S201. The cloud server receives charging information of a target charging pile sent by a mobile terminal. The target charging pile is in an off-network state. The mobile terminal is in communication connection with the cloud server.

[0078] Among them, the disconnected state refers to the state where the target charging pile is not directly connected to the Internet, that is, the charging pile cannot directly connect to the cloud server, and thus cannot directly transmit data with the cloud server.

[0079] Specifically, the offline status of the charging pile may include the following situations: network signal problem, that is, the signal at the location of the charging pile is not covered, or the signal is extremely weak, resulting in the inability to establish a stable network connection; ISP service problem, that is, the Internet Service Provider (ISP) may encounter problems, such as service interruption or maintenance, which will affect the online status of the charging pile; hardware failure, that is, the internal network hardware of the charging pile (such as a modem or router) may fail, resulting in connection interruption; or, external physical factors, such as the line being dug or the hardware being damaged, may also cause the charging pile to be disconnected from the network; the firmware or software of the charging pile may fail or be misconfigured, which can interrupt its connection with the cloud server; power outage, that is, if the charging pile is shut down due to a power supply interruption, it will not be able to connect to the Internet; or, security issues, network attacks or other security threats may cause the charging pile's network service to be intentionally disconnected to protect the system and data; there is also maintenance and update, when the system maintenance or update is performed, the charging pile may be temporarily disconnected from the network, which is not the only limitation here.

[0080] Among them, in the process of a mobile device acquiring the charging information of a target charging pile that is in an offline state, a communication connection can be established between the mobile device and the target charging pile that is in an offline state. The communication connection is usually achieved through Bluetooth, Wi-Fi Direct or other near-field communication technologies. Even if the charging pile cannot access the Internet, the communication connection can still allow the mobile device to acquire the charging information of the charging pile.

[0081] Optionally, the mobile device obtains the charging information of the charging pile through a built-in sensor or camera, or obtains the charging information of the user through a user interaction interface in the mobile device, which is not limited here.

[0082] Among them, the charging information may include but is not limited to charging gun information (serial number), charging pile operator information (operator name, ID), charging pile availability, charging gun status (connection status, idle status), etc., and is not limited here.

[0083] Among them, the mobile device establishes a connection with the cloud server through a built-in communication module (such as Wi-Fi, Bluetooth, NFC, etc.).

[0084] Optionally, the mobile device can use a pre-configured communication protocol and encryption mechanism to transmit data with the cloud server to ensure the security and stability of the communication.

[0085] It can be seen that this embodiment ensures that even when the charging pile is disconnected from the network, the mobile device can effectively exchange information with the cloud server to provide users with reliable charging services.

[0086] S202. The cloud server generates pre-withheld fee information according to the charging information, and sends the pre-withheld fee information to the mobile terminal, wherein the pre-withheld fee information is predicted by the cloud server according to a preset model.

[0087] Optionally, when the cloud server receives the charging information and generates the pre-withheld fee information based on the charging information, the cloud server parses the received charging information, extracts the charging gun information (serial number), the charging pile operator information (operator name, ID), the charging pile location and other information; further, based on the operator ID and the pile serial number, obtains the configuration information of the charging pile operator of the target charging pile and the configuration information of the target charging pile, wherein the configuration information of the charging pile operator may include but is not limited to the electricity price and maximum load of each time period of the station corresponding to the charging pile location, and the configuration information of the target charging pile may include but is not limited to the maximum power and serial number; the cloud server uses the vehicle model corresponding to the mobile device, the configuration information of the charging pile operator and the configuration information of the target charging pile as input parameters, and inputs them into the preset model to predict the pre-withheld fee; the cloud server calls the payment method bound to the user to pre-withhold the fee according to the pre-withheld fee; after the cloud pre-withholding is successful, a pre-withheld order (order ID, user ID, signature information) is created to generate the pre-withheld fee information.

[0088] Among them, the above preset model is based on machine learning algorithms, such as linear regression, logistic regression, LLM model, etc. The specific training process can be: the cloud server is trained in the preset model through the charging pile output power, user ID, the maximum output power of the station in this time period, the starting power, charging time, end power, cost and other data. The training result is A. The charging rate of the user when the output power is X; B. The cost of the target charging pile location at X output power in Y time period.

[0089] Among them, the above-mentioned withholding fee information includes but is not limited to the charging pile serial number, order ID, user ID, signature information, estimated charging fee, withholding amount, etc., and is not limited here.

[0090] It can be seen that in this embodiment, the cloud server obtains the withheld fee information according to the preset model prediction, which improves the accuracy of the withheld amount and reduces the difference between the user's actual charging fee and the withheld amount.

[0091] S203, the edge gateway device receives the pre-withholding fee identification information sent by the mobile terminal, and generates a charging instruction for the target charging pile according to the pre-withholding fee identification information, wherein the pre-withholding fee identification information is generated by the mobile terminal according to the pre-withholding fee information.

[0092] The above-mentioned withholding fee identification information is a recognizable identification, which can be a QR code or other forms of digital or visual marks, and its purpose is to ensure that information can be transmitted simply, quickly and safely. And the above-mentioned withholding fee identification information contains withholding fee information, such as the charging pile serial number, order ID, user ID, signature information, etc.

[0093] To ensure that the transmitted information is secure and not tampered with, signature information will be added to the generated identifier. Signatures are usually generated using encryption algorithms to ensure that only legitimate parties can verify and interpret the data.

[0094] Optionally, the mobile terminal renders the pre-deducted fee information (charging pile serial number, order ID, user ID, signature information) into a QR code.

[0095] Among them, the pre-withholding fee identification information generated by the mobile terminal in this embodiment plays the role of an information bridge and ensures the smooth progress of the charging service process in a user-friendly and safe manner. By identifying this information, the operator can check the fee, user identity, and order details to ensure the legitimacy and accuracy of the transaction.

[0096] The edge gateway verifies the pre-withholding fee identification information through the built-in signature key. The pre-withholding fee identification information includes the charging pile serial number, order ID, user ID, and signature information.

[0097] Optionally, in the process of the edge gateway device acquiring the pre-withholding fee identification information, the edge gateway device may receive the pre-withholding fee identification information through a communication connection with a mobile terminal or a code scanning device.

[0098] Specifically, the edge gateway device communicates with the mobile terminal: the mobile terminal establishes a connection with the edge gateway device through a built-in communication module (such as Wi-Fi, Bluetooth, NFC, etc.). The mobile terminal uses a pre-configured communication protocol and encryption mechanism to transmit data with the edge gateway device to ensure the security and stability of communication. The mobile terminal sends the pre-withdrawal identification information (such as a QR code) to the edge gateway device through a near-field communication mechanism. The edge gateway device receives data from the mobile terminal through a built-in communication module, and parses and processes it.

[0099] Among them, Near Field Communication (NFC) is a technology that allows devices to communicate within a very short distance (usually a few centimeters). Users only need to bring their mobile terminal close to the edge device to transmit data even without using visual scanning.

[0100] Specifically, the process of communication connection between the code scanning device and the edge gateway device can be: first, using the code scanning device, the user provides the pre-deduction fee identification information (such as a QR code) displayed on the mobile terminal to the code scanning device of the charging station. The code scanning device may include but is not limited to a dedicated scanning gun, or a scanning module embedded in the charging pile; once the code scanning device recognizes the data in the QR code, it will transmit this information to the edge gateway device via wired or wireless means. The communication connection can be based on Wi-Fi, Bluetooth, Ethernet or any other communication protocol established by the charging station.

[0101] Among them, the charging instruction may include but is not limited to key data in the pre-withheld fee identification information, such as the charging pile serial number, order ID, user ID, etc.

[0102] It can be seen that in this embodiment, the edge gateway device can generate a charging instruction for the target charging pile according to the pre-withholding fee identification information, thereby ensuring the safety and accuracy of the charging process and reducing the risk of unauthorized use.

[0103] S204, the target charging pile receives the charging instruction from the edge gateway device, and after successful authentication with the edge gateway device, starts charging according to the pre-withheld fee identification information and generates charging data, and the target charging pile is communicatively connected with the edge gateway device.

[0104] Among them, the above-mentioned authentication can be to match the serial number of the charging pile and verify the verification status of the edge gateway to verify whether the instruction sent by the edge gateway is legal and ensure that the instruction is sent from a trustworthy source.

[0105] Among them, the charging pile is directly connected to the edge gateway device, and a specific communication protocol is usually used between the edge gateway and the charging pile for data exchange. For example, OCPP (Open Charge Point Protocol) is a widely used protocol for communication between charging piles and management systems; the edge gateway may also use other protocols, such as MQTT (Message Queuing Telemetry Transport) or RESTful API, depending on the architecture and requirements of the system. The connection between the edge gateway and the target charging pile is generally made through a local area network (LAN) or a wide area network (WAN). This may include wired networks (such as Ethernet) or wireless networks (such as Wi-Fi or cellular networks).

[0106] Optionally, the edge gateway device authenticates the charging pile according to the charging pile serial number and the currently cached verification status. Since the edge gateway device has verified the user's pre-withholding identification information in the previous process and has a cached verification status, this includes whether the user and the corresponding charging order have been authenticated.

[0107] Optionally, after successful authentication, the edge gateway device sends a successful authentication signal to the target charging pile.

[0108] Among them, the key data in the pre-deducted fee identification information is used to start the charging process, ensuring that only users who have paid the pre-deducted fee can use the charging service.

[0109] Among them, the charging data includes but is not limited to the output power, charging status, user ID and other information of the charging pile, which is not limited here.

[0110] It can be seen that in this embodiment, the charging pile only responds to charging requests that have been properly authenticated, protecting the system from unauthorized use. In addition, with charging data, users and service providers can ensure that charging services are transparent, traceable, and easy to manage.

[0111] In the embodiments implemented by the above-mentioned charging system, charging method and edge gateway device, the charging system includes an edge gateway device, a cloud server, and a charging pile, the cloud server is used to receive charging information of a target charging pile sent by a mobile terminal, the target charging pile is in an offline state, and the mobile terminal is communicatively connected to the cloud server; the cloud server is used to generate pre-withholding fee information based on the charging information, and send the pre-withholding fee information to the mobile terminal, wherein the pre-withholding fee information is predicted by the cloud server according to a preset model; the edge gateway device is used to receive the pre-withholding fee identification information sent by the mobile terminal, and generate a charging instruction for the target charging pile according to the pre-withholding fee identification information, and the pre-withholding fee identification information is generated by the mobile terminal according to the pre-withholding fee information; the target charging pile is communicatively connected to the edge gateway device, and is used to receive the charging instruction from the edge gateway device, and after successful authentication with the edge gateway device, charging is started according to the pre-withholding fee identification information, and charging data is generated. According to the proposed mobile terminal of this embodiment, the mobile terminal can interact with the charging system to implement the entire process; first, the cloud server can receive the charging information of the target charging pile in the disconnected state sent by the mobile terminal, ensuring that the system can still handle the charging demand of the charging pile even without network connection, thereby improving the availability of the charging pile, especially in areas where the network is unstable or unavailable; secondly, by generating pre-withheld fee information through the cloud server, the charging fee can be predicted more accurately, the user's pre-withheld fee error can be reduced, and the accuracy of fee prediction can be improved; further, based on the pre-withheld fee identification information, the user can quickly scan the code, authenticate and start the charging process without manual intervention, thereby providing a convenient user experience; further, the edge gateway device verifies the pre-withheld fee identification information to ensure the security of the transaction, reduce the risk of fraud or erroneous authentication, and can automatically process the charging process after authentication, reducing human intervention and improving the automation level of the charging process; finally, the charging pile generates charging data after charging, which is helpful for subsequent billing and monitoring, ensuring the transparency of the transaction and the convenience of subsequent processing.

[0112] In a possible example, the charging system also includes a code scanning device, which is communicatively connected to the mobile terminal and the edge gateway device respectively. After the mobile terminal generates the pre-withholding fee identification information and before the edge gateway device obtains the pre-withholding fee identification information, the method also includes: the code scanning device receives the pre-withholding fee identification information displayed by the mobile terminal; and the code scanning device sends the pre-withholding fee identification information to the edge gateway device.

[0113] Among them, the code scanning device may be dedicated hardware, or integrated in the edge gateway device, and then the code scanning device reads the displayed pre-withholding fee identification information.

[0114] For example, after the mobile terminal generates pre-withholding fee identification information (such as a QR code), the user can display the QR code on the screen of the mobile terminal, and the scanning device receives the pre-withholding fee identification information displayed by the mobile terminal through the near-field communication mechanism. The scanning device encrypts the received pre-withholding fee identification information to ensure the security of the information during transmission, and sends the encrypted pre-withholding fee identification information to the edge gateway device.

[0115] It can be seen that in this embodiment, the scanning device can establish a communication connection with the mobile terminal and the edge gateway device. Further, the communication connection between the scanning device and the edge gateway device ensures the security of the pre-withholding fee identification information and prevents the information from being tampered with during transmission.

[0116] In one possible example, the edge gateway device generates a charging instruction for the target charging pile based on the pre-withholding fee identification information, and the method includes: the edge gateway device verifies the pre-withholding fee identification information to obtain first verification information, and generates a charging instruction for the target charging pile based on the first verification information.

[0117] Among them, the process of the edge gateway device verifying the pre-withholding fee identification information can be that the edge gateway device uses a built-in signature key to verify the pre-withholding fee identification information. The signature key is an encryption key used to verify the integrity and source of the data, ensuring that the pre-withholding fee identification information has not been tampered with during transmission. The above verification process ensures that the pre-withholding fee identification information is generated by the cloud server and has not been tampered with during transmission. At the same time, it confirms that the information is consistent with the user's payment method and charging request.

[0118] In a specific implementation, the edge gateway device verifies the signature information of the pre-withholding fee identification information through a signature key. If the signature information verification is successful, the pre-withholding fee identification information is considered to be legal and can continue to be processed; if the signature information verification fails, the pre-withholding fee identification information is considered to be illegal and the edge gateway device will refuse to process it.

[0119] The first verification information may include but is not limited to the verification status, where the verification status is success or failure).

[0120] Specifically, when the first verification information is successful, a charging instruction for the target charging pile is generated according to the verified pre-withholding fee identification information, and the charging instruction contains key data in the pre-withholding fee identification information, such as the charging pile serial number, order ID, user ID, etc. When the first verification information is failed, the edge gateway device will refuse to process.

[0121] Wherein, when the charging system further includes a code scanning device, the interactive flow chart of the charging method S201-S205 is as follows: Figure 2B shown.

[0122] When the charging system uses near field communication, the interactive flow chart of the charging method S201-S205 is as follows: Figure 2C shown.

[0123] It can be seen that in this embodiment, the edge gateway device can obtain the pre-withholding fee identification information and verify it using the built-in signature key. If the pre-withholding fee identification information is legal, the edge gateway device will generate a charging instruction for the target charging pile, ensuring the safety and accuracy of the charging process and reducing the risk of unauthorized use.

[0124] In a possible example, after the target charging pile starts charging according to the pre-withholding fee identification information and generates charging data, the method further includes: the scanning device receives the first stop charging instruction displayed by the mobile terminal, and sends the first stop charging instruction to the edge gateway device; after receiving the first stop charging instruction, the edge gateway device calibrates the pre-withholding fee information according to the charging data to obtain first deduction information, and sends the first deduction information to the scanning device; the cloud server receives the first deduction information sent by the mobile terminal, generates order information for the target charging pile according to the first deduction information, and sends the order information to the mobile terminal, the first deduction information is sent by the scanning device to the mobile terminal; the scanning device is also used to receive the stop charging identification sent by the mobile terminal, and send the stop charging identification to the edge gateway device, the stop charging identification is generated by the mobile terminal according to the received order information; the edge gateway device verifies the stop charging identification, obtains second verification information, and sends a second stop charging instruction to the target charging pile according to the second verification information; the target charging pile stops charging according to the second stop charging instruction.

[0125] The first stop charging instruction is a stop charging instruction actively sent by the mobile terminal, so that the edge gateway device starts to execute subsequent calibration and billing processes after receiving the first stop charging instruction.

[0126] Among them, the edge gateway device adjusts the pre-deducted fee information according to the charging data and generates the actual deduction information. The calibration takes into account factors such as the actual charging amount and time.

[0127] Among them, the first deduction information is the actual deduction information during the entire charging process.

[0128] Among them, the above order information may include but is not limited to key data such as order ID, user ID, charging pile serial number, actual deduction amount, etc.

[0129] The stop charging mark may include but is not limited to a QR code or bar code containing order information.

[0130] The second verification information may include but is not limited to the verification status, where the verification status is success or failure).

[0131] The second stop charging instruction may include but is not limited to the order ID, user ID, charging pile serial number, actual deduction amount, stop charging time, etc.

[0132] Specifically, when the second verification information is successful, a second stop charging instruction is sent to the target charging pile to instruct the target charging pile to stop charging. When the second verification information is failed, the target charging pile may refuse to process.

[0133] It can be seen that the entire process in this embodiment constitutes a complete closed loop, ensuring that the charging pile completes the charging process according to the scanning device and the edge gateway device when the network is disconnected, which is controllable and safe. From the start of charging to the end of charging, each step undergoes strict instruction verification and data transmission, allowing users to conveniently control the charging process while ensuring the accuracy and transparency of billing.

[0134] In one possible example, after the mobile terminal generates the pre-withholding fee identification information and before the edge gateway device obtains the pre-withholding fee identification information, the method further includes: the edge gateway device receives the pre-withholding fee identification information sent by the mobile terminal, wherein the mobile terminal is connected to the edge gateway device in near field communication.

[0135] Specifically, the edge gateway device communicates with the mobile terminal: the mobile terminal establishes a connection with the edge gateway device through a built-in communication module (such as Wi-Fi, Bluetooth, NFC, etc.). The mobile terminal uses a pre-configured communication protocol and encryption mechanism to transmit data with the edge gateway device to ensure the security and stability of communication. The mobile terminal sends the pre-withdrawal identification information (such as a QR code) to the edge gateway device through a near-field communication mechanism. The edge gateway device receives data from the mobile terminal through a built-in communication module, and parses and processes it.

[0136] Among them, Near Field Communication (NFC) is a technology that allows devices to communicate within a very short distance (usually a few centimeters). Users only need to bring their mobile terminal close to the edge device to transmit data even without using visual scanning.

[0137] It can be seen that in this embodiment, the edge gateway device can directly receive the pre-withholding fee identification information from the mobile terminal. This method is fast and convenient, and reduces the steps required for the user to operate.

[0138] In one possible example, after the target charging pile starts charging according to the pre-withholding identification information and generates charging data, the method further includes: the edge gateway device receives a third stop charging instruction generated and sent by the mobile terminal, obtains second deduction information according to the charging data after receiving the third stop charging instruction, and sends the second deduction information to the mobile device; the cloud server receives the second deduction information sent by the mobile terminal, generates order information for the target charging pile according to the second deduction information, and sends the order information to the mobile terminal, and the second deduction information is sent to the mobile terminal by the edge gateway device; the edge gateway device receives the stop charging identification sent by the mobile terminal, verifies the stop charging identification, obtains third verification information, and sends a fourth stop charging instruction to the target charging pile according to the third verification information, and the stop charging identification is generated by the mobile terminal according to the received order information; the target charging pile stops charging according to the fourth stop charging instruction.

[0139] Among them, the third stop charging instruction is a stop charging instruction actively issued by the mobile terminal, so that the edge gateway device starts to execute subsequent calibration and billing processes after receiving the third stop charging instruction.

[0140] Among them, the edge gateway device adjusts the pre-deducted fee information according to the charging data and generates the actual deduction information. The calibration takes into account factors such as the actual charging amount and time.

[0141] Among them, the second deduction information is the actual deduction information during the entire charging process.

[0142] Among them, the above order information may include but is not limited to key data such as order ID, user ID, charging pile serial number, actual deduction amount, etc.

[0143] The stop charging mark may include but is not limited to a QR code or barcode containing order information.

[0144] The third verification information may include but is not limited to the verification status, where the verification status is success or failure).

[0145] Among them, the fourth stop charging instruction may include but is not limited to the order ID, user ID, charging pile serial number, actual deduction amount, stop charging time, etc.

[0146] Specifically, when the third verification information is successful, a fourth stop charging instruction is sent to the target charging pile to instruct the target charging pile to stop charging. When the third verification information is failed, the target charging pile may refuse to process.

[0147] It can be seen that the entire process in this embodiment constitutes a complete closed loop, ensuring that the charging process is not interrupted when the charging pile is disconnected from the network, based on the near-field communication connection between the mobile terminal and the edge gateway device, and is controllable and safe. From the start of charging to the end of charging, each step undergoes strict command verification and data transmission, allowing users to conveniently control the charging process while ensuring the accuracy and transparency of billing.

[0148] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.

[0149] See also Figure 3 , Figure 3 A flow chart of a charging method provided in an embodiment of the present invention is applied to an edge gateway device in a charging system, wherein the charging system further includes a cloud server and a charging pile. The method includes the following steps:

[0150] S301. The edge gateway device obtains pre-withholding fee identification information, where the pre-withholding fee identification information is generated by the mobile device according to the pre-withholding fee information, and the pre-withholding fee information is generated by the cloud server according to the charging information of the target charging pile in an offline state.

[0151] Optionally, in the process of the edge gateway device acquiring the pre-withholding fee identification information, the edge gateway device may receive the pre-withholding fee identification information through a communication connection with a mobile terminal or a code scanning device.

[0152] Specifically, the edge gateway device communicates with the mobile terminal: the mobile terminal establishes a connection with the edge gateway device through a built-in communication module (such as Wi-Fi, Bluetooth, NFC, etc.). The mobile terminal uses a pre-configured communication protocol and encryption mechanism to transmit data with the edge gateway device to ensure the security and stability of communication. The mobile terminal sends the pre-withdrawal identification information (such as a QR code) to the edge gateway device through a near-field communication mechanism. The edge gateway device receives data from the mobile terminal through a built-in communication module, and parses and processes it.

[0153] Among them, Near Field Communication (NFC) is a technology that allows devices to communicate within a very short distance (usually a few centimeters). Users only need to bring their mobile terminal close to the edge device to transmit data even without using visual scanning.

[0154] Specifically, the process of communication connection between the code scanning device and the edge gateway device can be: first, using the code scanning device, the user provides the pre-deduction fee identification information (such as a QR code) displayed on the mobile terminal to the code scanning device of the charging station. The code scanning device may include but is not limited to a dedicated scanning gun, or a scanning module embedded in the charging pile; once the code scanning device recognizes the data in the QR code, it will transmit this information to the edge gateway device via wired or wireless means. The communication connection can be based on Wi-Fi, Bluetooth, Ethernet or any other communication protocol established by the charging station.

[0155] The above-mentioned withholding fee identification information is a recognizable identification, which can be a QR code or other forms of digital or visual marks, and its purpose is to ensure that information can be transmitted simply, quickly and safely. And the above-mentioned withholding fee identification information contains withholding fee information, such as the charging pile serial number, order ID, user ID, signature information, etc.

[0156] Among them, the above-mentioned withholding fee information includes but is not limited to the charging pile serial number, order ID, user ID, signature information, estimated charging fee, withholding amount, etc., and is not limited here.

[0157] Among them, the specific pre-withheld fee identification information is generated by the mobile device according to the pre-withheld fee information, and the pre-withheld fee information is generated by the cloud server according to the charging information of the target charging pile in the disconnected state. Please refer to S201-S205 in the second embodiment (a charging method, applied to a charging system), which will not be repeated here.

[0158] S302: Generate a charging instruction for the target charging pile according to the pre-withholding fee identification information, so that the target charging pile starts charging according to the pre-withholding fee identification information after successful authentication according to the charging instruction.

[0159] Among them, the above-mentioned charging instructions may include but are not limited to key data in the pre-withheld fee identification information, such as the charging pile serial number, order ID, user ID, etc.

[0160] Among them, the above-mentioned authentication can be to match the serial number of the charging pile and verify the verification status of the edge gateway to verify whether the instruction sent by the edge gateway is legal and ensure that the instruction is sent from a trustworthy source.

[0161] It can be seen that in this embodiment, the edge gateway device can help identify and intercept illegal or unauthorized charging attempts based on the pre-withheld fee identification information and authentication, so that each charging must be initiated with a valid user account and order information, ensuring the safe use of the charging pile, and the edge gateway device can maintain communication with the charging pile to ensure the stability of the charging process.

[0162] In this embodiment, the edge gateway device can locally process charging requests and manage the charging process, especially in the case of unstable network or network disconnection, to ensure that the charging pile can continue to provide services, thereby improving the availability and user experience of the charging pile; further, through the pre-withholding fee identification information and authentication process, it is ensured that only verified users can use the charging service, reducing the risk of unauthorized use and improving security; and the communication connection between the edge gateway device and the charging pile and mobile device enables the charging pile to receive accurate charging information and charge, thereby ensuring the smoothness and stability of the entire charging process.

[0163] In one possible example, the charging system also includes a code scanning device, and obtaining the pre-withholding fee identification information includes: obtaining the pre-withholding fee identification information sent by the code scanning device, and the code scanning device is communicatively connected with the edge gateway device; or, obtaining the pre-withholding fee identification information sent from the mobile terminal, and the mobile terminal is connected with the edge gateway device in near field communication.

[0164] Among them, the code scanning device may be dedicated hardware, or integrated in the edge gateway device, and then the code scanning device reads the displayed pre-withholding fee identification information.

[0165] For example, after the mobile terminal generates pre-withholding fee identification information (such as a QR code), the user can display the QR code on the screen of the mobile terminal, and the scanning device receives the pre-withholding fee identification information displayed by the mobile terminal through the near-field communication mechanism. The scanning device encrypts the received pre-withholding fee identification information to ensure the security of the information during transmission, and sends the encrypted pre-withholding fee identification information to the edge gateway device.

[0166] Among them, the corresponding content of this embodiment can refer to S201-S205 and its lower embodiments in the second embodiment (a charging method, applied to a charging system), and will not be repeated here.

[0167] It can be seen that in this embodiment, the scanning device can establish a communication connection with the mobile terminal and the edge gateway device. Further, the communication connection between the scanning device and the edge gateway device ensures the security of the pre-withholding fee identification information and prevents the information from being tampered with during transmission.

[0168] In one possible example, the charging instruction for the target charging pile is generated according to the pre-withholding fee identification information, so that the target charging pile starts charging according to the pre-withholding fee identification information after successful authentication according to the charging instruction. The charging method includes: verifying the pre-withholding fee identification information to obtain first verification information; generating a charging instruction for the target charging pile according to the first verification information, so that the target charging pile performs authentication according to the charging instruction, and starts charging according to the pre-withholding fee identification information after successful authentication.

[0169] The first verification information may include but is not limited to the verification status, where the verification status is success or failure).

[0170] The edge gateway verifies the pre-withholding fee identification information through the built-in signature key. The pre-withholding fee identification information includes the charging pile serial number, order ID, user ID, and signature information.

[0171] Among them, the process of the edge gateway device verifying the pre-withholding fee identification information can be that the edge gateway device uses a built-in signature key to verify the pre-withholding fee identification information. The signature key is an encryption key used to verify the integrity and source of the data, ensuring that the pre-withholding fee identification information has not been tampered with during transmission. The above verification process ensures that the pre-withholding fee identification information is generated by the cloud server and has not been tampered with during transmission. At the same time, it confirms that the information is consistent with the user's payment method and charging request.

[0172] In a specific implementation, the edge gateway device verifies the signature information of the pre-withholding fee identification information through a signature key. If the signature information verification is successful, the pre-withholding fee identification information is considered to be legal and can continue to be processed; if the signature information verification fails, the pre-withholding fee identification information is considered to be illegal and the edge gateway device will refuse to process it.

[0173] Among them, the above-mentioned charging instructions may include but are not limited to key data in the pre-withheld fee identification information, such as the charging pile serial number, order ID, user ID, etc.

[0174] Specifically, when the first verification information is successful, a charging instruction for the target charging pile is generated according to the verified pre-withholding fee identification information, and the charging instruction contains key data in the pre-withholding fee identification information, such as the charging pile serial number, order ID, user ID, etc. When the first verification information is failed, the edge gateway device will refuse to process.

[0175] It can be seen that in this embodiment, the pre-withholding fee identification information is verified by the edge gateway device and a charging instruction is generated, which can effectively prevent unauthorized charging behavior and ensure the safe use of the charging pile. The edge gateway device can maintain communication with the charging pile to ensure the stability of the charging process.

[0176] In one possible example, after generating a charging instruction for the target charging pile according to the first verification information, the charging method further includes: receiving a first stop charging instruction; acquiring charging data of the target charging pile; calibrating the pre-withheld fee information according to the charging data to obtain first deduction information; verifying a stop charging flag to obtain second verification information, wherein the stop charging flag is generated by the mobile terminal according to the received order information, and the order information is generated by the cloud server according to the first deduction information; and sending a second stop charging instruction to the target charging pile according to the second verification information, so that the target charging pile stops charging according to the second stop charging instruction.

[0177] The first stop charging instruction is a stop charging instruction actively sent by the mobile terminal, so that the edge gateway device starts to execute subsequent calibration and billing processes after receiving the first stop charging instruction.

[0178] Among them, the first deduction information is the actual deduction information during the entire charging process.

[0179] The stop charging mark may include but is not limited to a QR code or bar code containing order information.

[0180] The second verification information may include but is not limited to the verification status, where the verification status is success or failure).

[0181] The second stop charging instruction may include but is not limited to the order ID, user ID, charging pile serial number, actual deduction amount, stop charging time, etc.

[0182] Specifically, when the second verification information is successful, a second stop charging instruction is sent to the target charging pile to instruct the target charging pile to stop charging. When the second verification information is failed, the target charging pile may refuse to process.

[0183] Among them, the corresponding content of this embodiment can refer to S201-S205 and its lower embodiments in the second embodiment (a charging method, applied to a charging system), and will not be repeated here.

[0184] It can be seen that this embodiment ensures that the charging pile completes the charging process according to the edge gateway device when the network is disconnected, which is controllable and safe.

[0185] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.

[0186] As another aspect of the embodiment of the present application, the embodiment of the present application provides a charging device, wherein the charging device may be a software module, the software module includes a number of instructions, which are stored in a memory, and the processor may access the memory and call the instructions for execution to complete the charging method described in each of the above embodiments.

[0187] See also Figure 4 , Figure 4 Schematic diagram of a charging device provided in an embodiment of the present application. An edge gateway device applied to a charging system, wherein the charging system further includes a cloud server, a charging pile, such as Figure 4 As shown, the charging device includes:

[0188] An acquisition unit 401 is used to acquire pre-withholding fee identification information, where the pre-withholding fee identification information is generated by a mobile device according to pre-withholding fee information, and the pre-withholding fee information is generated by the cloud server according to charging information of a target charging pile in an off-network state;

[0189] The generating unit 402 is configured to generate a charging instruction for the target charging pile according to the pre-withholding fee identification information, so that the target charging pile starts charging according to the pre-withholding fee identification information after successful authentication according to the charging instruction.

[0190] In this embodiment, the edge gateway device can locally process charging requests and manage the charging process, especially in the case of unstable network or network disconnection, to ensure that the charging pile can continue to provide services, thereby improving the availability and user experience of the charging pile; further, through the pre-withholding fee identification information and authentication process, it is ensured that only verified users can use the charging service, reducing the risk of unauthorized use and improving security; and the communication connection between the edge gateway device and the charging pile and mobile device enables the charging pile to receive accurate charging information and charge, thereby ensuring the smoothness and stability of the entire charging process.

[0191] In one embodiment, the charging system also includes a code scanning device, and in the obtaining of the pre-withholding fee identification information, the obtaining unit 401 is further used to: obtain the pre-withholding fee identification information sent by the code scanning device, and the code scanning device is communicatively connected to the edge gateway device; or, obtain the pre-withholding fee identification information sent from the mobile terminal, and the mobile terminal is near-field communication connected to the edge gateway device.

[0192] In one embodiment, in the step of generating a charging instruction for the target charging pile according to the pre-withholding fee identification information so that the target charging pile starts charging according to the pre-withholding fee identification information after successful authentication, the generating unit 402 is further used to: verify the pre-withholding fee identification information to obtain first verification information; generate a charging instruction for the target charging pile according to the first verification information so that the target charging pile performs authentication according to the charging instruction and starts charging according to the pre-withholding fee identification information after successful authentication.

[0193] In one embodiment, after generating a charging instruction for the target charging pile according to the first verification information, the generating unit 402 is further used to: receive a first stop charging instruction; obtain charging data of the target charging pile; calibrate the pre-withheld fee information according to the charging data to obtain first deduction information; verify a stop charging mark to obtain second verification information, wherein the stop charging mark is generated by the mobile terminal according to the received order information, and the order information is generated by the cloud server according to the first deduction information; and send a second stop charging instruction to the target charging pile according to the second verification information, so that the target charging pile stops charging according to the second stop charging instruction.

[0194] It should be noted that the above charging device can execute the charging method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in the embodiment of the charging device, please refer to the charging method provided in the embodiment of the present application.

[0195] See also Figure 5 , Figure 5 Schematic diagram of the structure of an edge gateway device provided in an embodiment of the present application. Figure 5 As shown, the edge gateway device 50 includes a processor 501 and a memory 502. The processor 501 is in communication connection with the memory 502.

[0196] The processor 501 is configured to support the edge gateway device 50 to perform the corresponding functions in the method in the above method embodiment. The processor 501 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0197] Specifically, the processor 501 may include a sending card, a receiving card and a driving chip.

[0198] The memory 502 is used to store program codes, etc. The memory 502 may include a volatile memory (VM), such as a random access memory (RAM); the memory 502 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 502 may also include a combination of the above-mentioned types of memories.

[0199] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.

[0200] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0201] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A charging system, characterized in that: The charging system includes an edge gateway device, a cloud server, and a charging pile, wherein: The cloud server is used to receive charging information of a target charging pile sent by a mobile terminal, the target charging pile is in an off-network state, and the mobile terminal is in communication connection with the cloud server; The cloud server is used to generate pre-withheld fee information according to the charging information, and send the pre-withheld fee information to the mobile terminal, wherein the pre-withheld fee information is predicted by the cloud server according to a preset model; The edge gateway device is used to receive the pre-withholding fee identification information sent by the mobile terminal, and generate a charging instruction for the target charging pile according to the pre-withholding fee identification information, and the pre-withholding fee identification information is generated by the mobile terminal according to the pre-withholding fee information; The target charging pile is communicatively connected with the edge gateway device, and is used to receive the charging instruction from the edge gateway device, and after successful authentication with the edge gateway device, start charging according to the pre-withholding fee identification information, and generate charging data.

2. The system according to claim 1, characterized in that The charging system also includes a code scanning device, which is communicatively connected to the mobile terminal and the edge gateway device respectively, and is used to scan and receive the pre-withholding fee identification information displayed by the mobile terminal, and send the pre-withholding fee identification information to the edge gateway device.

3. The system according to claim 2, characterized in that The code scanning device is also used to receive a first stop charging instruction displayed by the mobile terminal, and send the first stop charging instruction to the edge gateway device; The edge gateway device is further configured to, after receiving the first stop charging instruction, calibrate the pre-deducted fee information according to the charging data to obtain first deduction information, and send the first deduction information to the code scanning device; The cloud server is further configured to receive the first deduction information sent by the mobile terminal, generate order information for the target charging pile according to the first deduction information, and send the order information to the mobile terminal, wherein the first deduction information is sent to the mobile terminal by the code scanning device; The code scanning device is also used to receive a stop charging mark sent by the mobile terminal, and send the stop charging mark to the edge gateway device, wherein the stop charging mark is generated by the mobile terminal according to the received order information; The edge gateway device is further used to verify the stop charging flag, obtain verification information, and send a second stop charging instruction to the target charging pile according to the verification information; The target charging pile is further configured to stop charging according to the second stop charging instruction.

4. The system according to claim 1, characterized in that The edge gateway device is also used to receive the pre-withholding fee identification information sent by the mobile terminal, wherein the mobile terminal is connected to the edge gateway device by near field communication.

5. The system according to claim 4, characterized in that The edge gateway device is further configured to receive a third stop charging instruction generated and sent by the mobile terminal, obtain second deduction information according to the charging data after receiving the third stop charging instruction, and send the second deduction information to the mobile device; The cloud server is further used to receive the second deduction information sent by the mobile terminal, generate order information for the target charging pile according to the second deduction information, and send the order information to the mobile terminal, and the second deduction information is sent to the mobile terminal by the edge gateway device; The edge gateway device is further used to receive a stop charging mark sent by the mobile terminal, verify the stop charging mark, obtain verification information, and send a fourth stop charging instruction to the target charging pile according to the verification information, wherein the stop charging mark is generated by the mobile terminal according to the received order information; The target charging pile is further configured to stop charging according to the fourth stop charging instruction.

6. A charging method, characterized in that: An edge gateway device applied to a charging system, wherein the charging system further comprises a cloud server and a charging pile, and the charging method comprises: Acquire pre-withholding fee identification information, where the pre-withholding fee identification information is generated by the mobile device according to the pre-withholding fee information, where the pre-withholding fee information is generated by the cloud server according to the charging information of the target charging pile in the disconnected state; A charging instruction for the target charging pile is generated according to the pre-withholding fee identification information, so that the target charging pile starts charging according to the pre-withholding fee identification information after successful authentication according to the charging instruction.

7. The charging method according to claim 6, characterized in that: The charging system further includes a code scanning device, and the obtaining of the pre-withholding fee identification information. The charging method includes: Acquire the pre-withholding fee identification information sent by the code scanning device, the code scanning device is in communication connection with the edge gateway device; or, The pre-withholding fee identification information sent from the mobile terminal is obtained, and the mobile terminal is connected to the edge gateway device by near field communication.

8. The charging method according to claim 6, characterized in that: The charging instruction for the target charging pile is generated according to the pre-withholding fee identification information, so that the target charging pile starts charging according to the pre-withholding fee identification information after successful authentication according to the charging instruction. The charging method includes: Verifying the withholding fee identification information to obtain first verification information; A charging instruction for the target charging pile is generated according to the first verification information, so that the target charging pile performs authentication according to the charging instruction, and after successful authentication, starts charging according to the pre-withholding fee identification information.

9. The charging method according to claim 8, characterized in that: After generating a charging instruction for the target charging pile according to the first verification information, the charging method further includes: receiving a first stop charging instruction; Obtaining charging data of the target charging pile; Calibrate the pre-deduction fee information according to the charging data to obtain first deduction fee information; Verify a stop charging mark to obtain second verification information, wherein the stop charging mark is generated by the mobile terminal according to the received order information, and the order information is generated by the cloud server according to the first deduction information; According to the second verification information, a second stop charging instruction is sent to the target charging pile, so that the target charging pile stops charging according to the second stop charging instruction.

10. An edge gateway device, characterized in that: It includes a memory and a processor, the memory is connected to the processor, the processor is used to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the edge gateway device implements the charging method as described in any one of claims 6 to 9.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the charging method according to any one of claims 6 to 9.

Citation Information

Patent Citations

  • Charging pile management system and method

    CN105207287A

  • Charging pile off-line state charging starting and billing method and charging pile

    CN113345165A

  • Charging pile control method and system and storage medium

    CN114825525A

  • Market charging pile charging system

    CN118038604A