Charging pile management method and device, equipment and storage medium

By designing a unified communication protocol and frame class code between charging piles and the operation platform, offline and online charging modes are realized, solving the problems of single charging mode and numerous communication protocols, and improving charging efficiency and user experience.

CN116853052BActive Publication Date: 2025-12-09GUANGDONG HAOYIDIAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310798920.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2025-12-09
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

Existing charging stations have a single charging mode and a variety of communication protocols, resulting in bloated and inefficient operation platforms. The charging process relies on the network, and the charging effect is affected when the network fails.

Method used

Design a communication protocol between charging piles and the operation platform, define a unified frame class code, provide offline and online charging modes, and reduce the data processing pressure on the operation platform by verifying user identity and generating corresponding charging records.

Benefits of technology

Expand charging modes, enhance user experience, reduce network dependence, and improve charging efficiency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116853052B_ABST
    Figure CN116853052B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of communication, and discloses a charging pile management method, device and equipment and a storage medium. The method comprises the following steps: a communication protocol between a charging pile and an operation platform is predefined; when a charging request is detected, the current network mode of the charging pile is acquired; when the charging pile is in an offline mode, identity information of a user to be charged is verified; whether the charging request is valid is determined according to the identity information of the user to be charged; if the charging request is valid, a charging behavior is provided according to the charging request, and an offline charging record is generated; when the charging pile is in an online mode, communication between the charging pile and the operation platform is established based on the communication protocol, a charging behavior is provided according to the charging request, an online charging record is generated, and the offline charging record is uploaded to the operation platform, so that the operation platform charges the online charging record and / or the offline charging record according to a preset charging model. The application can reduce the pressure of the operation platform on data processing and expand the charging mode of the charging pile.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a charging pile management method and device, equipment and storage medium. BACKGROUND

[0002] In the process of charging an electric vehicle using a charging pile, the charging amount of the electric vehicle needs to be charged. The existing charging method is to upload the charging information of the electric vehicle to the operation platform, and the operation platform charges according to the charging information of the electric vehicle, and then returns the charging result to the charging pile. Therefore, in the process of charging the electric vehicle, its charging process is more dependent on the network, the charging mode is single, and when the charging pile of the electric vehicle is directly connected to the operation platform, the operation platform needs to support the communication protocols of multiple manufacturers and multiple types and versions of messages, which leads to the bloated business of the platform and low efficiency, and affects the charging effect of the electric vehicle. SUMMARY

[0003] The purpose of the present application is to provide a charging pile management method, device, equipment and storage medium, which aims to solve the technical problems of single charging mode and multiple communication protocols of the existing charging pile.

[0004] The present application provides a charging pile management method, which comprises:

[0005] Predefining a communication protocol between the charging pile and the operation platform, wherein the communication protocol defines the frame class code of each action in the communication process between the charging pile and the operation platform;

[0006] When detecting a charging request, obtaining the current network mode of the charging pile, wherein the network mode includes an offline mode or an online mode;

[0007] When the charging pile is in the offline mode, verifying the identity information of the user to be charged;

[0008] According to the identity information of the user to be charged, it is judged whether the charging request is valid;

[0009] If valid, providing a charging behavior according to the charging request and generating an offline charging record;

[0010] When the charging pile is in the online mode, establishing communication between the charging pile and the operation platform based on the communication protocol, providing a charging behavior according to the charging request and generating an online charging record, uploading the offline charging record to the operation platform, so that the operation platform charges the online charging record and / or the offline charging record according to the preset charging model.

[0011] Further, the communication protocol comprises a data link layer, a network layer, a transport layer and an application layer, the data link layer is used for processing a hardware part connected to a network, the network layer is used for carrying a protocol message package, the transport layer is used for defining a channel of communication transmission, the application layer is used for communicating with the transport layer through a system call, and the protocol message package is used for realizing communication between the charging pile and the operation platform.

[0012] Further, the data structure of the protocol message comprises a start symbol, a data field, a serial number field, an encryption symbol, a frame type symbol, a message body and a frame check field, the frame type code of the charging pile is an odd number, and the frame type code of the operation platform is an even number.

[0013] Further, before the charging behavior is provided according to the charging request and the online charging record is generated, the method further comprises:

[0014] configuring device information of the charging pile on the operation platform;

[0015] uploading login authentication containing the device information of the charging pile to the operation platform, and receiving a verification result of verifying the device information of the charging pile by the operation platform;

[0016] when the verification result is a verification pass, retrieving an offline charging record stored locally by the charging pile.

[0017] Further, the charging behavior is provided according to the charging request and the offline charging record is generated, comprising:

[0018] determining an offline charging scheme in a set of offline charging strategies according to a charging type of the charging request;

[0019] providing the charging behavior according to the offline charging scheme;

[0020] when a completion instruction of the charging behavior is received, generating the offline charging record according to the charging behavior.

[0021] Further, the charging behavior is provided according to the charging request and the online charging record is generated, comprising:

[0022] determining an online charging scheme in a set of online charging strategies according to a charging type of the charging request;

[0023] providing the charging behavior according to the online charging scheme;

[0024] when a completion instruction of the charging behavior is received, generating the online charging record according to the charging behavior.

[0025] Further, the operation platform charges the online charging record and / or the offline charging record according to a preset charging model, comprising:

[0026] determine a final charging model according to a current operation rate and the preset charging model;

[0027] input the online charging record and / or the offline charging record into the final charging model for charging billing, and send the billing result to the user end;

[0028] when the offline charging record completes billing, transmit the billing result to the charging pile to update the identity information of the user to be charged.

[0029] The embodiment of the application further provides a charging pile management device, comprising:

[0030] a first module configured to predefine a communication protocol between the charging pile and the operation platform, wherein the communication protocol defines frame class codes of respective actions in a communication process between the charging pile and the operation platform;

[0031] a second module configured to acquire a current network mode of the charging pile when detecting a charging request, wherein the network mode comprises an offline mode or an online mode;

[0032] a third module configured to verify identity information of a user to be charged when the charging pile is in the offline mode;

[0033] a fourth module configured to determine whether the charging request is valid according to the identity information of the user to be charged;

[0034] a fifth module configured to provide a charging behavior according to the charging request and generate an offline charging record;

[0035] a sixth module configured to, when the charging pile is in the online mode, establish communication between the charging pile and the operation platform based on the communication protocol, provide a charging behavior according to the charging request and generate an online charging record, and upload the offline charging record to the operation platform, so that the operation platform performs charging billing on the online charging record and / or the offline charging record according to a preset charging model.

[0036] The embodiment of the application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the charging pile management method according to any one of the above embodiments when executing the computer program.

[0037] The embodiment of the application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the charging pile management method according to any one of the above embodiments.

[0038] The beneficial effects of the present application: the communication protocol between the charging pile and the operation platform is designed, the communication protocol stipulates the process, structure format and content of data interaction between the charging pile and the operation platform, the frame category code of each action in the communication process of the charging pile and the operation platform is uniformly designed to reduce the pressure of the operation platform in processing data, when detecting the charging request, selecting offline charging or online charging according to the current network mode of the charging pile, providing charging behavior when the identity information of the user to be charged is legal and the charging request is valid during offline charging, providing charging behavior according to the set communication protocol and updating the charging information of offline charging at the same time during online charging, expanding the charging mode of the charging pile, and improving the user experience. BRIEF DESCRIPTION OF DRAWINGS

[0039] Figure 1 is a flowchart of the charging pile management method provided by an embodiment of the present application.

[0040] Figure 2 is Figure 1 the flowchart before step S106 in

[0041] Figure 3 is Figure 1 the flowchart of step S105 in

[0042] Figure 4 is a flowchart of providing charging behavior according to a charging request and generating an online charging record provided by an embodiment.

[0043] Figure 5 is a flowchart of charging billing of online charging records and / or offline charging records provided by an embodiment.

[0044] Figure 6 is a structural schematic diagram of the charging pile management device provided by an embodiment of the present application.

[0045] Figure 7 is a hardware structure schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the present application will be further described below in combination with embodiments and drawings.

[0047] In the embodiments of the present application, the meaning of several is indefinite quantity, the meaning of multiple is two or more, greater than, less than, more than, etc. are understood as not including the number, above, below, etc. are understood as including the number. If the first, second is described only for the purpose of distinguishing technical features, it cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the sequence of indicated technical features.

[0048] In embodiments of the present application, the term "comprising", "containing" or any other variant thereof is intended to cover a non-exclusive inclusion, in addition to containing the listed elements, it can also contain other elements not explicitly listed.

[0049] In the related art, the charging pile communication protocol of the electric vehicle stipulates the interface communication protocol between the charging pile and the operation platform. The charging pile sends state information and transaction-related information to the operation platform through a wired / wireless network according to the communication protocol and responds to the request of the operation platform. The operation platform queries the charging pile data according to the protocol and responds to the charging pile. The communication protocol of one charging pile generally includes charging pile parameter management, charging pile state management, charging service information collection, real-time billing information and several other categories of content. The total number of messages varies from several tens to nearly a hundred according to the standards of different manufacturers. When the charging pile of the electric vehicle is directly connected to the operation platform, the platform needs to support the communication protocols of multiple manufacturers and support multiple types and versions of messages. The platform business is bloated and inefficient. When a charging pile of a manufacturer is newly connected, the platform needs to be upgraded, and the platform changes frequently, which is uncontrollable.

[0050] In addition, during the charging process of the electric vehicle, the charging process is more dependent on the network, and the charging mode is single. The public charging pile will suspend the charging service in the case of system upgrade or network failure in the service area, which causes many hidden troubles for the vehicle owner who needs to urgently charge without power.

[0051] Therefore, the embodiments of the present application provide a charging pile management method, device and equipment and a storage medium. By predefining the communication protocol between the charging pile and the operation platform, the frame category code of each action in the communication process between the charging pile and the operation platform is uniformly designed, the pressure of the operation platform in processing data is reduced, and two charging modes of online charging and offline charging are designed to expand the charging mode of the charging pile.

[0052] Figure 1 is a flowchart of the charging pile management method provided by the embodiments of the present application, Figure 1 The method in the above embodiment can include but is not limited to steps S101 to S106.

[0053] Step S101, predefine the communication protocol between the charging pile and the operation platform. The communication protocol defines the frame category code of each action in the communication process between the charging pile and the operation platform.

[0054] It should be noted that the communication protocol stipulates the process, structure format and content of the data interaction between the charging pile and the operation platform. The pre-defined communication protocol sets the frame category code of each action in the interaction process between the charging pile and the operation platform, uses the designed frame category code for transmission, represents the action in the communication process between the charging pile and the operation platform, and reduces the pressure of the operation platform in processing data.

[0055] The charging pile and the operation platform are based on the communication mode of TCP / IP Socket, and the communication between the charging pile and the operation platform is realized through the communication interface between the two, and the long connection working mode is adopted. The charging pile and the operation platform can be deployed in the same or different enterprise network environment, and are connected and communicated with each other through a local area network or the Internet. The communication connection mode of the charging pile can be a wired network interface, a wireless GPRS connection cloud platform server, or a plurality of charging piles connected with the operation platform through a concentrator. The charging pile can support the direct IP address of the server and the domain name resolution, and the address and connection port are all settable parameters.

[0056] In a specific implementation, after the development of the communication protocol content is completed, the operation platform assigns the device number of the charging pile and the platform login account, and the user can log in the cloud platform to view the uplink and downlink data frames of the charging pile and the operation platform and the uplink data analysis content. After the data frame analysis is passed, the operation platform provides the cloud platform interface and the charging card to debug the entire charging process. After the test in the test environment is passed, the platform provides the related configuration information in the formal environment.

[0057] In step S102, when the charging request is detected, the current network mode of the charging pile is acquired. The network mode includes an offline mode or an online mode.

[0058] In a specific implementation, when the user needs to charge the electric vehicle, the user generates a charging request by interacting with the charging pile. The charging request can be a card swiping operation. The user interacts with the charging pile by using the charging card previously distributed to the user to generate the charging request.

[0059] In a specific implementation, when the charging request is detected, the network information of the current charging pile is acquired. If the charging pile can interact with the Internet, it is determined that the current network mode belongs to the online mode. If the charging pile cannot interact with the Internet, it is determined that the current network mode belongs to the offline mode. In the offline mode, the Internet module of the charging pile often fails or the charging pile is in the system updating and upgrading stage, and in this case, the information cannot be interacted with the Internet.

[0060] It should be noted that the charging pile is similar to the oil filling machine in the gas station, can be fixed on the ground or wall, installed in public buildings (public buildings, shopping malls, public parking lots, etc.) and residential parking lots or charging stations, and can charge various models of electric vehicles according to different voltage levels. The input end of the charging pile is directly connected with the AC power grid, and the output end is provided with a charging plug for charging the electric vehicle. The charging pile generally provides two charging modes of conventional charging and fast charging. People can use a specific charging card to swipe on the human-computer interaction operation interface provided by the charging pile, and perform corresponding operations such as charging mode, charging time, fee data printing, etc. The charging pile display screen can display charging capacity, cost, charging time and other data.

[0061] Step S103, verifying the identity information of the user to be charged when the charging pile is in offline mode.

[0062] In a specific implementation, when it is detected that the current belongs to the offline mode, the stored identity information of the user to be charged is obtained in the storage medium local to the charging pile. If the obtaining fails, the identity of the user to be charged is illegal. If the obtaining succeeds, the historical charging data of the user to be charged is obtained. The historical charging data records the user information and the charging behavior details of the user corresponding to the charging pile. The credit record of the user to be charged is verified through the historical charging data of the user to be charged, for example, whether there is an overdue fee and the amount of the overdue fee, etc. If the verification is passed, the identity of the user to be charged is legal.

[0063] Step S104, judging whether the charging request is valid according to the identity information of the user to be charged.

[0064] It can be understood that, in the embodiment, judging whether the charging request is valid according to the identity information of the user to be charged means obtaining the identity information of the user to be charged corresponding to the charging request, which can be the identity information of the user to be charged provided by the user through card insertion or fingerprint information input or other ways. The embodiment does not limit this. For example, the identity information of the user to be charged is the chargeable list data stored locally by the current charging pile. When the charging card is distributed to the user, the card information of the charging card is recorded in the local storage space of the charging pile. The stored card information is the legal user to be charged.

[0065] Step S105, if valid, providing a charging behavior according to the charging request and generating an offline charging record.

[0066] It should be noted that the offline charging record means that after confirming the charging identity information of the user, the system will charge the vehicle according to the charging device in offline mode. After the process is completed, the charging process and the consumed power are recorded locally.

[0067] In a specific implementation, providing the charging behavior and generating the offline charging record refer to recording the entire behavior of charging the vehicle in the offline mode. The offline charging record is generated according to the recorded behavior details.

[0068] In step S106, when the charging pile is in the online mode, the communication between the charging pile and the operation platform is established based on the communication protocol, the charging behavior is provided according to the charging request, the online charging record is generated, and the offline charging record is uploaded to the operation platform, so that the operation platform charges the online charging record and / or the offline charging record according to the preset charging model.

[0069] It should be noted that the online charging record refers to charging the vehicle by the charging device in the online mode after confirming the charging identity information of the user. The charging process and the consumed power are recorded in the operation platform after the process ends.

[0070] In a specific implementation, when it is detected that the network mode is in the online mode, the corresponding charging pile is started to charge the vehicle by the communication between the charging pile and the operation platform. The charging process and the consumed power are recorded in the operation platform after the process ends, and the online charging record is obtained. At the same time, the charging pile uploads the local offline charging record to the operation platform. The operation platform charges the offline charging record and the online charging record that have not been charged. The operation platform sends the charging information generated from the online charging record to the user terminal, so that the user terminal makes payment. The operation platform updates the charging information generated from the offline charging record, and sends the updated information to each charging pile to update the identity information of the user to be charged.

[0071] The steps S101 to S106 shown in the embodiments of the application design the communication protocol between the charging pile and the operation platform. The communication protocol specifies the flow, structure format and content of data interaction between the charging pile and the operation platform. The frame class code of each action in the communication process between the charging pile and the operation platform is uniformly designed to reduce the pressure of the operation platform in processing data. When a charging request is detected, offline charging or online charging is selected according to the current network mode of the charging pile. The charging behavior is provided when the identity information of the user to be charged is legal and the charging request is valid in offline charging. The charging behavior is provided according to the set communication protocol and the charging information of offline charging is updated at the same time in online charging. The charging mode of the charging pile is expanded, and the user experience is improved.

[0072] In some embodiments, the communication protocol includes a data link layer, a network layer, a transport layer and an application layer. Among them, the data link layer is used to process the hardware part connected to the network, the network layer is used to carry the protocol message packet, the transport layer is used to define the channel of communication transmission, the application layer is used to communicate with the transport layer through system call, and the protocol message packet is used to realize the communication between the charging pile and the operation platform.

[0073] The data structure of the protocol message includes a start symbol, a data field, a sequence number field, an encryption symbol, a frame type symbol, a message body and a frame check field. The frame type code of the charging pile is odd, and the frame type code of the operation platform is even. The data length of the start symbol is 1 byte. The start symbol represents the beginning of a frame of data, and the start symbol is fixed as 0x68. The data length of the data field is not more than 200 bytes. When not encrypted, the data length is the original data length, and when encrypted, the data length is the encrypted data length. The value of the data field is the sum of the byte numbers of the sequence number field, the encryption symbol, the frame type symbol and the message body. The data length of the sequence number field is 2 bytes. The sequence number field is the sending sequence number of the data packet, which is sequentially increased from 0. If it is a response data packet, the sequence number is consistent with that of the inquiry data packet. When the charging pile and the operation platform network are disconnected and reconnected or overflowed, the sequence number is reset to 0. The data length of the encryption symbol is 1 byte. The encryption symbol is only for the message body (data unit). 0x00 indicates no encryption, and 0x01 indicates encryption. The encryption is performed by using a triple data encryption algorithm. The data length of the frame type symbol is 1 byte. The frame type symbol defines the uplink and downlink data frame (odd number defined by the pile and even number defined by the cloud platform). The data length of the frame check field is 2 bytes. The frame check field is the CRC check from the sequence number field to the data field. The check polynomial is 0x180D. The low byte is in front, and the high byte is in back.

[0074] Please refer to Figure 2 In some embodiments, before step S106, steps S201 to S203 can also be included, but are not limited to.

[0075] In step S201, the device information of the charging pile is configured on the operation platform.

[0076] In step S202, the login authentication containing the device information of the charging pile is uploaded to the operation platform, and the verification result of the operation platform verifying the device information of the charging pile is received.

[0077] In step S203, when the verification result is verified, the offline charging record stored locally by the charging pile is searched.

[0078] In step S201, the system of the charging pile pre-configures the charging pile device information such as charging pile device code, version information and communication mode on the operation platform, which is used for authentication when the charging pile accesses the operation platform.

[0079] In step S202, the operation platform communicates with the accessed charging pile, receives the message uploaded by the charging pile and containing the device information of the charging pile, and performs verification to obtain a verification result. The operation platform sends the corresponding verification result to the charging pile, and the charging pile logs in successfully. After the charging pile logs in successfully, the operation platform manages the accessed charging pile by issuing control instructions to the charging pile. The control instructions can be transmitted to the charging pile in the form of communication messages. Meanwhile, the operation platform monitors and receives information such as online status of the charging pile, real-time heartbeat of charging, real-time data of charging, and whether the charging is normal.

[0080] In step S203, the charging pile actively retrieves the offline charging record stored locally, uploads the retrieved offline charging record to the operation platform, or the operation platform issues a control instruction to the charging pile, and the charging pile receiving the control instruction retrieves the offline charging record stored locally, so that the operation platform receives the offline charging record and performs charging billing.

[0081] Please refer to Figure 3 In some embodiments, step S105 includes but is not limited to steps S301 to S303.

[0082] Step S301: determining an offline charging scheme in the offline charging strategy set according to the charging type of the charging request.

[0083] Step S302: providing a charging behavior according to the offline charging scheme.

[0084] Step S303: generating an offline charging record according to the charging behavior when receiving a completion instruction of the charging behavior.

[0085] It can be understood that the charging type supported by the present embodiment includes a variable pulse charging method, that is, a charging current pulse including a charging pulse, an intermittent pulse, and a discharging pulse.

[0086] It should be noted that each charging pile supports different charging methods due to its own configuration, and confirming the charging scheme before charging can effectively ensure the charging safety of the vehicle to be charged and reduce the damage to the automobile battery. The charging strategy can include a machine loss ratio, and the loss ratio is defined in the rate frame. The charging pile needs to add this ratio to the charging amount uploaded to the platform, such as the "loss degree" in the real-time monitoring data, which is the value obtained by adding this ratio to the "degree". Similarly, the "loss sharp power", "loss peak power", "loss flat power", "loss valley power", and "loss total power" in the transaction record can be included.

[0087] In a specific implementation, the user to be charged directly issues a charging request to the charging pile, for example, a card application, the charging pile verifies whether the charging request is valid in offline mode, displays the verification result of the charging card information to the user to be charged, and after verification, the charging pile starts the offline charging and saves the offline charging data as an offline charging record. When the user brushes the card again, the charging card is verified again, and after verification, the offline charging is ended. The offline charging record will be uploaded to the operation platform based on the predefined communication protocol when the charging pile is in online mode next time, to charge the billing.

[0088] Please refer to Figure 4 In some embodiments, providing a charging behavior according to the charging request and generating an online charging record includes but is not limited to steps S401-S403.

[0089] Step S401, determine an online charging scheme in the online charging strategy set according to the charging type of the charging request.

[0090] Step S402, provide a charging behavior according to the online charging scheme.

[0091] Step S403, generate an online charging record according to the charging behavior when receiving a completion instruction of the charging behavior.

[0092] In a specific implementation, the user to be charged uses the terminal code scanning function in the application to identify the two-dimensional code pre-issued to the charging pile to issue a charging request, the operation platform obtains the charging request and issues a control instruction to start charging to the corresponding charging pile, the charging pile receives the control instruction and provides a charging behavior for the electric vehicle of the user to be charged, and at the same time, replies to the operation platform with a start success message and a message uploading the electric vehicle battery BMS related information. The operation platform receives the message uploaded by the charging pile to form charging service data, sends the charging service data to the terminal of the user to be charged for display, and when the charging reaches the upper limit or the operation platform receives the signal of ending charging issued by the user to be charged using the terminal, the charging pile stops providing the charging behavior. The operation platform charges the billing and sends the billing result to the terminal of the user to be charged, and the user to be charged pays online.

[0093] In another specific implementation, the user to be charged issues a charging request by performing a card swiping operation in a specific area of the charging pile with the charging card, the operation platform obtains the charging request and issues a control instruction to start charging to the corresponding charging pile, the charging pile receives the control instruction and provides charging behavior for the electric vehicle of the user to be charged, displays the BMS related information of the electric vehicle battery in real time, and returns a start success message to the operation platform, when the charging reaches the upper limit or the user performs a card swiping operation in the specific area of the charging pile again, the charging pile stops providing the charging behavior, the operation platform performs charging billing on this online charging, and deducts the charging card account of the user according to the billing result.

[0094] In the above embodiment, the user can first issue a charging request by identifying the two-dimensional code pre-issued to the charging pile in the application program using the terminal code scanning function, and then perform a card swiping operation in the specific area of the charging pile to stop charging. Alternatively, the user can first perform a card swiping operation in the specific area of the charging pile with the charging card to issue a charging request, and then identify the two-dimensional code pre-issued to the charging pile in the application program using the terminal code scanning function to select to stop charging in the application program.

[0095] Please refer to Figure 5 In some embodiments, the charging billing of the online charging record and / or the offline charging record includes, but is not limited to, steps S501 to S503.

[0096] Step S501: determining a final charging model according to the current operation rate in a preset charging model.

[0097] Step S502: inputting the online charging record and / or the offline charging record into the final charging model for charging billing, and sending the billing result to the user end.

[0098] Step S503: when the offline charging record completes billing, transmitting the billing result to the charging pile to update the identity information of the user to be charged.

[0099] It can be understood that the operation rate is the charging fee set in each charging time period parameter, the charging time period parameter is a charging time period parameter pre-configured and stored in the database, and the charging time period parameter is used to divide the charging process into multiple charging time periods, for example, if the charging time period parameter is 20 minutes, every 20 minutes is a charging time period in the charging process, and the charging fee (including electricity fee and service fee) in the charging time period is the operation rate. The charging time period parameter can be configured only one, so that the charging time period parameters of all charging piles are the same; the charging time period parameter can also be configured multiple, and different charging time period parameters are configured according to the application situation of different types of charging piles, for example, the charging time period parameters of the charging pile for direct current charging and the charging pile for alternating current charging can be different.

[0100] In a specific implementation, the charging pile initiates a request for a charging billing model, the operation platform determines an operation rate according to a current billing time period parameter, thereby determining a final billing model from the plurality of billing models according to the operation rate, as a billing model in the current billing time period, the operation platform detects whether the final billing model is consistent with the current operation rate, and replies to the charging model request response, if not consistent, the charging pile needs to request a new final billing model from the operation platform, if consistent, the operation platform uses the final billing model to charge the online charging record and / or the offline charging record. The final billing model obtains the power parameter output by the charging pile after each billing time period corresponding to the timing trigger node to before the next billing time period corresponding to the timing trigger node, as the power parameter output by the charging pile in each billing time period. Wherein, the final billing model obtaining the power parameter output by the charging pile includes, obtaining the power parameter output by the charging pile at a plurality of times after each billing time period corresponding to the timing trigger node to before the next billing time period corresponding to the timing trigger node, taking the intermediate value of the plurality of times of power parameters as the power parameter output by the charging pile in each billing time period, and determining the charging consumed electric energy of the charging pile in the billing time period according to the power parameter output by the charging pile.

[0101] Please refer to Figure 6 The embodiments of the present application also provide a charging pile management device, which can implement the charging pile management method described above, and the device comprises:

[0102] The first module 601 is configured to predefine a communication protocol between the charging pile and the operation platform, and the communication protocol defines frame class codes of various actions in the communication process between the charging pile and the operation platform.

[0103] The second module 602 is configured to obtain a current network mode of the charging pile when detecting a charging request, and the network mode includes an offline mode or an online mode.

[0104] The third module 603 is configured to verify identity information of a user to be charged when the charging pile is in the offline mode.

[0105] The fourth module 604 is configured to determine whether the charging request is valid according to the identity information of the user to be charged.

[0106] The fifth module 605 is configured to provide a charging behavior according to the charging request and generate an offline charging record.

[0107] The sixth module 606 is configured to, when the charging pile is in the online mode, establish communication between the charging pile and the operation platform based on the communication protocol, provide a charging behavior according to the charging request and generate an online charging record, and upload the offline charging record to the operation platform, so that the operation platform charges the online charging record and / or the offline charging record according to a preset billing model.

[0108] The specific embodiment of the charging pile management device is basically the same as the above-mentioned specific embodiment of the charging pile management method, and will not be repeated here.

[0109] The embodiment of the present application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor implements the above-mentioned charging pile management method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.

[0110] Please refer to Figure 7 , Figure 7 The hardware structure of the electronic device of another embodiment is illustrated, which includes:

[0111] The processor 701 can be implemented in the form of a general-purpose CPU (Central Processing Unit), a microprocessor, an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits, etc., for executing related programs to implement the technical solutions provided by the embodiments of the present application.

[0112] The memory 702 can be implemented in the form of a ROM (ReadOnly Memory), a static storage device, a dynamic storage device, or a RAM (Random Access Memory), etc. The memory 702 can store an operating system and other application programs. When the technical solutions provided by the embodiments of the present application are implemented by software or firmware, the related program codes are saved in the memory 702 and are called and executed by the processor 701 to implement the charging pile management method of the embodiments of the present application.

[0113] The input / output interface 703 is used to realize information input and output.

[0114] The communication interface 704 is used to realize the communication interaction between the device and other devices. The communication can be realized by a wired manner (for example, a USB, a network cable, etc.) or a wireless manner (for example, a mobile network, WIFI, Bluetooth, etc.).

[0115] The bus 705 transmits information between various components (for example, the processor 701, the memory 702, the input / output interface 703, and the communication interface 704) of the device.

[0116] The processor 701, the memory 702, the input / output interface 703, and the communication interface 704 are connected to each other through the bus 705 to realize the communication connection between them inside the device.

[0117] The embodiment of the application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the charging pile management method.

[0118] The memory is a non-transitory computer readable storage medium, and can be used to store a non-transitory software program and a non-transitory computer executable program. In addition, the memory can include a high-speed random access memory, and can also include a non-transitory memory, for example, at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory can optionally include a memory remotely arranged relative to the processor, and the remote memory can be connected to the processor through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0119] The charging pile management method, device, equipment and storage medium provided by the embodiment of the application design the communication protocol between the charging pile and the operation platform, the communication protocol stipulates the process, structure format and content of data interaction between the charging pile and the operation platform, the frame class code of each action in the communication process of the charging pile and the operation platform is uniformly designed, so as to reduce the pressure of the operation platform in processing data, when detecting the charging request, selecting offline charging or online charging according to the current network mode of the charging pile, providing the charging behavior when the identity information of the user to be charged is legal and the charging request is valid during offline charging, providing the charging behavior according to the set communication protocol and updating the charging information of offline charging at the same time during online charging, expanding the charging mode of the charging pile, and improving the user experience.

[0120] The embodiments described in the embodiments of the application are used to more clearly illustrate the technical solutions of the embodiments of the application, and do not constitute a limitation on the technical solutions provided by the embodiments of the application. Those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the application are also applicable to similar technical problems.

[0121] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the application, and can include more or fewer steps than the figures, or combine certain steps, or different steps.

[0122] The device embodiments described above are only schematic, and the units described as separate components can or can not be physically separate, that is, can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment of the application.

[0123] Those skilled in the art can understand that all or some of the steps in the method disclosed above, the function modules / units in the system and the device can be implemented as software, firmware, hardware or appropriate combination thereof.

[0124] The terms "first", "second", "third", "fourth" and the like in the description of the application and in the claims, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the use of these terms herein is to be construed to cover a general order and / or structure unless otherwise indicated. Furthermore, the terms "comprise", "comprising", "has", "having", "includes", "including", "contain", "containing" or any other similar forms are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises, has, includes, contains items or components does not include items or components not explicitly recited.

[0125] It should be understood that, in the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" is used to describe the relationship between associated objects, which means that there can be three relationships, for example, "A and / or B" can represent three cases: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0126] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above-mentioned units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed objects can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0127] The units described as separate components above can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0128] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0129] If the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application, essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes multiple instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program storage media.

[0130] The preferred embodiments of the embodiments of the present application are described above with reference to the accompanying drawings, and the scope of the rights of the embodiments of the present application is not limited thereto. Any modifications, equivalent replacements and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of the present application shall be within the scope of the rights of the embodiments of the present application.

Claims

1. A charging pile management method, characterized in that, The application relates to a communication protocol between a pre-defined charging pile and an operation platform, which defines frame type codes of various actions in the communication process between the charging pile and the operation platform. When a charging request is detected, the current network mode of the charging pile is acquired, and the network mode comprises an offline mode or an online mode. When the charging pile is in the offline mode, the identity information of a user to be charged is verified. Whether the charging request is valid is judged according to the identity information of the user to be charged. If the charging request is valid, a charging action is provided according to the charging request, and an offline charging record is generated. When the charging pile is in the online mode, the communication between the charging pile and the operation platform is established based on the communication protocol, a charging action is provided according to the charging request, and an online charging record is generated; the offline charging record is uploaded to the operation platform, so that the operation platform charges the online charging record and / or the offline charging record according to a pre-set charging model. The communication protocol comprises a data link layer, a network layer, a transmission layer and an application layer; the data link layer is used for processing a hardware part connected with a network; the network layer is used for bearing a protocol message package; the transmission layer is used for defining a channel of communication transmission; the application layer is used for communicating with the transmission layer through a system call; and the protocol message package is used for realizing the communication between the charging pile and the operation platform. The data structure of the protocol message comprises a starting symbol, a data field, a serial number field, an encryption symbol, a frame type symbol, a message body and a frame check field; the frame type code of the charging pile is odd; and the frame type code of the operation platform is even. Before the charging action is provided according to the charging request and the online charging record is generated, the device information of the charging pile is configured to the operation platform; the login authentication containing the device information of the charging pile is uploaded to the operation platform; the verification result of the verification of the device information of the charging pile by the operation platform is received; and when the verification result is a verification pass, the offline charging record stored locally by the charging pile is searched.

2. The charging station management method according to claim 1, characterized by, The charging action is provided according to the charging type of the charging request, and an offline charging scheme is determined in a set of offline charging strategies. The charging action is provided according to the charging type of the charging request, and an online charging scheme is determined in a set of online charging strategies. The charging action is provided according to the online charging scheme. The operation platform charges the online charging record and / or the offline charging record according to a pre-set charging model, which comprises the following steps. 3.The charging pile management method of claim 1, wherein, The final charging model is determined according to the current operation rate in the pre-set charging model; the online charging record and / or the offline charging record are input into the final charging model for charging; and the charging result is sent to the user end. The charging result is transmitted to the charging pile to update the identity information of the user to be charged when the offline charging record is completed. The application relates to a communication protocol between a pre-defined charging pile and an operation platform, which defines frame type codes of various actions in the communication process between the charging pile and the operation platform. ​ 4. The charging station management method of claim 1, wherein, ​ ​ ​ ​ 5. The charging station management method of claim 1, wherein, ​ ​ ​ ​ 6. A charging pile management device, characterized in that, ​ The first module is configured to predefine a communication protocol between the charging pile and the operation platform, and the communication protocol defines frame type codes of respective actions in a communication process between the charging pile and the operation platform. The second module is configured to acquire a current network mode of the charging pile when a charging request is detected, and the network mode includes an offline mode or an online mode. The third module is configured to verify identity information of a user to be charged when the charging pile is in the offline mode. The fourth module is configured to determine whether the charging request is valid according to the identity information of the user to be charged. The fifth module is configured to provide a charging behavior according to the charging request and generate an offline charging record. The sixth module is configured to establish communication between the charging pile and the operation platform based on the communication protocol when the charging pile is in the online mode, provide the charging behavior according to the charging request and generate an online charging record, and upload the offline charging record to the operation platform, so that the operation platform charges the online charging record and / or the offline charging record according to a preset charging model. The communication protocol includes a data link layer, a network layer, a transmission layer and an application layer, the data link layer is configured to process a hardware part connected to a network, the network layer is configured to carry a protocol message package, the transmission layer is configured to define a channel of communication transmission, the application layer is configured to communicate with the transmission layer through a system call, and the protocol message package is configured to realize communication between the charging pile and the operation platform. A data structure of the protocol message includes a start symbol, a data field, a serial number field, an encryption symbol, a frame type symbol, a message body and a frame check field, the frame type code of the charging pile is odd, and the frame type code of the operation platform is even.

7. An electronic device, comprising: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the charging pile management method in any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium storing a computer program, the computer-readable storage medium comprising: The computer program is executed by the processor to implement the charging pile management method in any one of claims 1 to 5.

Citation Information

Patent Citations

  • System and method for connecting DC charging piles to charging facility operation management platform

    CN106920033A

  • Battery Charging Control Methods, Electric Vehicle Charging Methods, Battery Charging Apparatuses And Rechargeable Battery Systems

    US20100289451A1