CN111917772B - Adaptive charging pile communication protocol method and device - Google Patents

Adaptive charging pile communication protocol method and device Download PDF

Info

Publication number
CN111917772B
CN111917772B CN202010759680.0A CN202010759680A CN111917772B CN 111917772 B CN111917772 B CN 111917772B CN 202010759680 A CN202010759680 A CN 202010759680A CN 111917772 B CN111917772 B CN 111917772B
Authority
CN
China
Prior art keywords
charging pile
message
authentication
configuration file
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010759680.0A
Other languages
Chinese (zh)
Other versions
CN111917772A (en
Inventor
武圣
宋小凤
董海波
蒋磊
林茁
田冲
侯重意
薛松
赵宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
POTEVIO NEW ENERGY CO Ltd
Original Assignee
POTEVIO NEW ENERGY CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by POTEVIO NEW ENERGY CO Ltd filed Critical POTEVIO NEW ENERGY CO Ltd
Priority to CN202010759680.0A priority Critical patent/CN111917772B/en
Publication of CN111917772A publication Critical patent/CN111917772A/en
Application granted granted Critical
Publication of CN111917772B publication Critical patent/CN111917772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/30Constructional details of charging stations
    • B60L53/305Communication interfaces
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/60Monitoring or controlling charging stations
    • B60L53/68Off-site monitoring or control, e.g. remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/12Electric charging stations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/20Information technology specific aspects, e.g. CAD, simulation, modelling, system security

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Transportation (AREA)
  • Computing Systems (AREA)
  • Power Engineering (AREA)
  • Mechanical Engineering (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The invention provides a method and a device for adapting a communication protocol of a charging pile, wherein the method comprises the following steps: configuring charging pile equipment information on a charging pile operation management platform; when the electric automobile is connected with the charging pile, a charging pile authentication message is generated, the charging pile authentication message is analyzed into an authentication configuration file through the pre-protocol adaptation platform, and the authentication configuration file is transmitted to the charging pile operation management platform; performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and accessing the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform when the charging pile access authentication is successful; receiving a charging pile communication message sent by a charging pile accessed to a charging pile operation management platform, and analyzing the charging pile communication message into a message configuration file through a front protocol adaptation platform; and calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, judging whether the current day message flow exceeds the single day flow limit or not, and uploading the message configuration file in real time or in a delayed manner.

Description

Adaptive charging pile communication protocol method and device
Technical Field
The invention relates to the technical field of communication protocol processing, in particular to a method and a device for adapting a communication protocol of a charging pile.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
The charging pile communication protocol of the electric automobile specifies an interface communication protocol between the charging pile and the charging pile operation management platform. The charging pile sends state information and related information of transaction to a charging pile operation management platform through a wired/wireless network according to the communication protocol and responds to a management platform request; and the charging pile operation management platform inquires charging pile data according to the protocol specification and gives a response to the charging pile.
Electric automobile fills electric automobile with fill electric pile and fills electric pile and need insert electric automobile and fill electric pile operation management platform, need with fill electric pile operation management platform and communicate to the management and control of electric pile operation management platform to filling electric pile is realized filling. Through filling electric pile operation management platform, can look over whether the stake is occupied, the real-time status of stake, whether charging process is normal etc.
The communication protocol of a charging pile generally comprises charging pile parameter management, charging pile state management, charging service information acquisition, real-time charging information and the like, and the standards of all manufacturers of the total message quantity are different from dozens to hundreds of different. The number of messages is large, the types are large, and the service processing difficulty of the platform is increased after the messages are directly accessed to the platform. And the communication protocol between the charging pile and the central platform of the electric automobile has no national standard, the standards used by manufacturers are different, and the platform is overstaffed in service and difficult to upgrade due to direct communication with the platform.
When a charging pile of an electric automobile is directly connected to an operation management platform, the platform supports communication protocols of a plurality of manufacturers and messages of a plurality of types and versions, the platform is too bulky to be used, the efficiency is low, the platform is updated when the pile of one manufacturer is newly connected, the platform is frequently changed, and the risk is uncontrollable.
Therefore, how to provide a new solution, which can solve the above technical problems, is a technical problem to be solved in the art.
Disclosure of Invention
The embodiment of the invention provides a communication protocol method for adaptive charging piles, which is characterized in that messages of different charging piles are unified into message configuration files through a front protocol adaptive platform and are uploaded to a charging pile operation management platform, so that unified management of the different charging piles is realized, and the method comprises the following steps:
configuring charging pile equipment information on a charging pile operation management platform;
when the electric automobile is connected with the charging pile, a charging pile authentication message is generated, the charging pile authentication message is analyzed into an authentication configuration file through the pre-protocol adaptation platform, and the authentication configuration file is transmitted to the charging pile operation management platform;
performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and accessing the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform when the charging pile access authentication is successful;
receiving a charging pile communication message sent by a charging pile accessed to a charging pile operation management platform, and analyzing the charging pile communication message into a message configuration file through a front protocol adaptation platform;
calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, and judging whether the current day message flow of the charging pile exceeds a single day flow limit or not; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode.
The embodiment of the invention also provides a device for adapting the communication protocol of the charging pile, which comprises the following steps:
the information configuration module is used for configuring the charging pile equipment information to the charging pile operation management platform;
the authentication analysis module is used for generating a charging pile authentication message when the electric automobile is connected with the charging pile, analyzing the charging pile authentication message into an authentication configuration file through the preposed protocol adaptation platform and transmitting the authentication configuration file to the charging pile operation management platform;
the charging pile access authentication module is used for performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and when the charging pile access authentication is successful, the charging pile is accessed to the charging pile operation management platform through the preposed protocol adaptation platform;
the communication analysis module is used for receiving a charging pile communication message sent by a charging pile accessed to the charging pile operation management platform and analyzing the charging pile communication message into a message configuration file through the preposed protocol adaptation platform;
the configuration file uploading module is used for calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, and judging whether the current day message flow of the charging pile exceeds the single day flow limit or not; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the adaptive charging pile communication protocol method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the method for adapting a communication protocol of a charging pile is stored in the computer-readable storage medium.
The embodiment of the invention provides a method and a device for adapting a charging pile communication protocol, which are characterized in that charging pile equipment information is firstly configured on a charging pile operation management platform, a charging pile authentication message is generated when an electric automobile is connected with a charging pile, the charging pile authentication message is analyzed into an authentication configuration file through a preposed protocol adaptation platform, and the authentication configuration file is transmitted to the charging pile operation management platform; performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and accessing the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform when the charging pile access authentication is successful; then receiving a charging pile communication message sent by a charging pile accessed to a charging pile operation management platform, and analyzing the charging pile communication message into a message configuration file through a preposed protocol adaptation platform; finally, calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, and judging whether the current day message flow of the charging pile exceeds the single day flow limit or not; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode. The embodiment of the invention connects the pre-protocol adaptation platform between the charging piles and the charging pile operation management platform, uniformly processes the messages generated by different charging piles of different manufacturers and then uploads the messages to the charging pile operation management platform, thereby realizing the uniform management of the charging piles of different models of different manufacturers, simultaneously calculating the flow of the message configuration file, screening the message configuration file for the charging piles exceeding the single-day flow limit, only reporting the charging core message, and reducing the pressure of service processing of the charging pile operation management platform; the embodiment of the invention has the advantages of simple, flexible and independent deployment, loose coupling, high cohesion, easy expansion and the like.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a method for adapting a communication protocol of a charging pile according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a charging pile operation management platform of a method for adapting a communication protocol of a charging pile according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a pre-protocol adaptation platform of a method for adapting a communication protocol of a charging pile according to an embodiment of the present invention.
Fig. 4 is a schematic processing flow diagram of a method for adapting a communication protocol of a charging pile according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a computer device for executing a method for adapting a communication protocol of a charging pile according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of an apparatus for adapting a communication protocol of a charging pile according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Fig. 1 is a schematic diagram of an adaptive charging pile communication protocol method according to an embodiment of the present invention, and as shown in fig. 1, an embodiment of the present invention provides an adaptive charging pile communication protocol method, where messages of different charging piles are unified into a message configuration file through a pre-protocol adaptation platform and uploaded to a charging pile operation management platform, so as to implement unified management of different charging piles, where the method includes:
step 101: configuring charging pile equipment information on a charging pile operation management platform;
step 102: when the electric automobile is connected with the charging pile, a charging pile authentication message is generated, the charging pile authentication message is analyzed into an authentication configuration file through the pre-protocol adaptation platform, and the authentication configuration file is transmitted to the charging pile operation management platform;
step 103: performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and accessing the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform when the charging pile access authentication is successful;
step 104: receiving a charging pile communication message sent by a charging pile accessed to a charging pile operation management platform, and analyzing the charging pile communication message into a message configuration file through a front protocol adaptation platform;
step 105: calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, and judging whether the current day message flow of the charging pile exceeds a single day flow limit or not; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode.
The method for adapting the charging pile communication protocol comprises the steps of firstly configuring charging pile equipment information on a charging pile operation management platform, generating a charging pile authentication message when an electric automobile is connected with the charging pile, analyzing the charging pile authentication message into an authentication configuration file through a preposed protocol adaptation platform, and transmitting the authentication configuration file to the charging pile operation management platform; performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and accessing the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform when the charging pile access authentication is successful; then receiving a charging pile communication message sent by a charging pile accessed to a charging pile operation management platform, and analyzing the charging pile communication message into a message configuration file through a preposed protocol adaptation platform; finally, calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, and judging whether the current day message flow of the charging pile exceeds the single day flow limit or not; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode. The embodiment of the invention connects the pre-protocol adaptation platform between the charging piles and the charging pile operation management platform, uniformly processes the messages generated by different charging piles of different manufacturers and then uploads the messages to the charging pile operation management platform, thereby realizing the uniform management of the charging piles of different models of different manufacturers, simultaneously calculating the flow of the message configuration file, screening the message configuration file for the charging piles exceeding the single-day flow limit, only reporting the charging core message, and reducing the pressure of service processing of the charging pile operation management platform; the embodiment of the invention has the advantages of simple, flexible and independent deployment, loose coupling, high cohesion, easy expansion and the like.
In order to unify the problems that the communication messages of charging piles of different models of different manufacturers are different and the charging piles with excessive flow are difficult to manage, the embodiment of the invention provides a method for adapting the communication protocol of the charging piles, which comprises the following steps:
configuring charging pile equipment information on a charging pile operation management platform;
when the electric automobile is connected with the charging pile, a charging pile authentication message is generated, the charging pile authentication message is analyzed into an authentication configuration file through the pre-protocol adaptation platform, and the authentication configuration file is transmitted to the charging pile operation management platform;
performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and accessing the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform when the charging pile access authentication is successful;
receiving a charging pile communication message sent by a charging pile accessed to a charging pile operation management platform, and analyzing the charging pile communication message into a message configuration file through a front protocol adaptation platform;
calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, and judging whether the current day message flow of the charging pile exceeds a single day flow limit or not; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode.
When the method for adapting a communication protocol of a charging pile provided by the embodiment of the present invention is implemented specifically, in an embodiment, the configuring of the charging pile device information to the charging pile operation management platform includes: charging pile equipment information such as a charging pile equipment code, version information and a communication mode is pre-configured on the charging pile operation management platform and is used for authentication when the charging pile is connected to the charging pile operation management platform. Fig. 2 is a schematic diagram of a charging pile operation management platform of a method for adapting a charging pile communication protocol according to an embodiment of the present invention, and as shown in fig. 2, the charging pile operation management platform is configured to communicate with an accessed charging pile, receive a message uploaded by the charging pile, issue a control instruction to the charging pile, and manage the accessed charging pile; the control instruction can be downloaded to the charging pile in a communication message mode. Fill electric pile operation management platform can be used for the control and receive and fill electric pile on-line condition, the real-time heartbeat of charging, the real-time data of charging, whether normal to the information such as charge.
In an embodiment of the method for adapting a communication protocol of a charging pile according to an embodiment of the present invention, the pre-protocol adaptation platform includes: the system comprises a message communication engine, a message analysis engine and a message transceiving unit;
charging pile authentication messages are analyzed into authentication configuration files through a preposed protocol adaptation platform and transmitted to a charging pile operation management platform, and the method comprises the following steps:
the charging pile authentication method comprises the steps of communicating with a charging pile through a message communication engine, receiving a charging pile authentication message, judging the protocol type of the charging pile authentication message, and calling a corresponding message analysis engine according to the protocol type of the charging pile authentication message;
importing the charging pile authentication message into a corresponding message analysis engine for analysis, and determining an authentication configuration file;
and transmitting the authentication configuration file to a charging pile operation management platform through a message receiving and transmitting unit.
When the method for adapting to the charging pile communication protocol provided by the embodiment of the present invention is implemented specifically, in an embodiment, the importing the charging pile authentication packet into a corresponding packet parsing engine for parsing to determine an authentication configuration file includes:
the charging pile authentication message is guided into a message analysis engine for analysis in a preloading and dynamic loading mode, and an authentication message header, an authentication message definition, an authentication message formatting and an authentication message output are determined;
and assembling the authentication message header, the authentication message definition, the authentication message formatting and the authentication message output according to the interface uniform format to determine an authentication configuration file.
Fig. 3 is a schematic diagram of a pre-protocol adaptation platform of a method for adapting a communication protocol of a charging pile according to an embodiment of the present invention, as shown in fig. 3, in an implementation, the pre-protocol adaptation platform includes: the system comprises a message communication engine, a message analysis engine and a message transceiving unit; the charging pile management system comprises a message communication engine, a charging pile analysis engine, a message analysis engine and a charging pile management engine, wherein the message communication engine is responsible for communicating with the charging pile and supports common protocols such as tcp, udp or modbus; the message analysis engine is used for analyzing the charging pile messages in a preloading and dynamic loading mode, determining message headers, message definitions, message formatting and message output, assembling the message headers, the message definitions, the message formatting and the message output according to an interface unified format, and determining a configuration file; the message receiving and sending unit is used for transmitting the configuration file to the charging pile operation management platform.
The configuration file is defined by message grammar, and the message grammar is a set of grammar definition based on XML and is divided into four types of message headers, message definitions, message formatting and message output; wherein:
the message header is used for cutting off the message, different message headers correspond to message protocols of different pile manufacturers, and the message header is analyzed to obtain: message protocol version, effective message length.
The message definition is the core content of the message, and mainly comprises the following steps: message command type, message attributes.
And the message formatting is used for presetting message transmission objects dto such as alarm messages, parameter messages, monitoring messages, charging messages, operation messages and the like in advance, and converting the messages into corresponding dto objects according to the message command types.
And the message output is used for outputting the message, the process from the message header to the message definition to the message formatting is the processing process of the message, and the process of the message sending is the reverse process of the process, which is not repeated.
The message receiving and sending module is used for designing and adopting different communication modes according to different message types, core charging messages such as charging and the like are sent to the charging pile operation management platform in real time through a resful interface, message objects such as states and the like are sent to corresponding message queues to be uploaded to the operation management platform in a delayed mode, and the message objects are handed to the charging pile operation management platform to be further subjected to business processing.
The electric automobile charging pile system comprises a charging pile, a pre-protocol adaptation platform, a charging pile operation management platform and a charging pile authentication management platform, wherein the charging pile authentication message is generated when the electric automobile is connected with the charging pile, transmitted to the pre-protocol adaptation platform, and analyzed into an authentication configuration file by the pre-protocol adaptation platform, and transmitted to the charging pile operation management platform, and the charging pile authentication management platform specifically comprises the following steps:
the charging pile authentication method comprises the steps of communicating with a charging pile through a message communication engine, receiving a charging pile authentication message, judging the protocol type of the charging pile authentication message, and calling a corresponding message analysis engine according to the protocol type of the charging pile authentication message; the charging pile authentication message is guided into a message analysis engine for analysis in a preloading and dynamic loading mode, and an authentication message header, an authentication message definition, an authentication message formatting and an authentication message output are determined; assembling an authentication message header, an authentication message definition, an authentication message formatting and an authentication message output according to an interface uniform format, and determining an authentication configuration file; and transmitting the authentication configuration file to a charging pile operation management platform through a message receiving and transmitting unit. In this embodiment, utilize leading agreement adaptation platform will fill electric pile authentication message and carry out unified management, analyze the electric pile authentication message that fills of the different models of different producers, convert unified authentication configuration file into, be convenient for fill electric pile operation management platform and carry out unified management, realized filling electric pile's high efficiency rationalization management.
When the method for adapting a communication protocol of a charging pile provided by the embodiment of the present invention is implemented specifically, in an embodiment, the parsing a communication packet of the charging pile into a packet configuration file through a pre-protocol adaptation platform includes:
communicating with the charging pile through a message communication engine, receiving a charging pile communication message, judging the protocol type of the charging pile communication message, and calling a corresponding message analysis engine according to the protocol type of the charging pile communication message;
and importing the charging pile communication message into a corresponding message analysis engine for analysis, and determining a message configuration file.
When the method for adapting a communication protocol of a charging pile provided by the embodiment of the present invention is implemented specifically, in an embodiment, the step of importing the communication packet of the charging pile into a corresponding packet parsing engine for parsing to determine a packet configuration file includes:
the method comprises the steps that a charging pile communication message is guided into a message analysis engine for analysis in a preloading and dynamic loading mode, and a communication message header, a communication message definition, a communication message formatting and a communication message output are determined;
and assembling the communication message header, the communication message definition, the communication message formatting and the communication message output according to the interface uniform format, and determining a message configuration file.
In an embodiment, receiving a charging pile communication message sent by a charging pile accessed to a charging pile operation management platform, and analyzing the charging pile communication message into a message configuration file through a pre-protocol adaptation platform may include: the method comprises the steps that a message communication engine is communicated with a charging pile, a charging pile communication message sent by the charging pile connected to a charging pile operation management platform is received, the protocol type of the charging pile communication message is judged, and a corresponding message analysis engine is called according to the protocol type of the charging pile communication message; the method comprises the steps that a charging pile communication message is guided into a message analysis engine for analysis in a preloading and dynamic loading mode, and a communication message header, a communication message definition, a communication message formatting and a communication message output are determined; and assembling the communication message header, the communication message definition, the communication message formatting and the communication message output according to the interface uniform format, and determining a message configuration file. In this embodiment, utilize leading agreement adaptation platform will fill electric pile communication message and carry out unified management, analyze the electric pile communication message that fills of the different models of different producers, convert unified message configuration file into, be convenient for fill electric pile operation management platform and carry out unified management, realized filling electric pile's high efficiency rationalization management.
When the method for adapting a communication protocol of a charging pile provided by the embodiment of the present invention is implemented specifically, in an embodiment, the performing access authentication on the charging pile according to the charging pile device information and the authentication configuration file includes:
extracting a version number in the charging pile equipment information, and determining a charging pile protocol version according to the version number;
and performing access authentication on the charging pile according to the protocol version of the charging pile and the version information in the authentication configuration file.
In an embodiment, when newly joining a charging pile, need to carry out access authentication to charging pile, can specifically include: extracting a version number in the charging pile equipment information, and determining a charging pile protocol version according to the version number; and performing access authentication on the charging pile according to the protocol version of the charging pile and the version information in the authentication configuration file. The charging pile is subjected to access authentication, legal management of the charging pile is facilitated, the charging pile passing through the access authentication is only managed, and management conflict between a charging pile operation management platform and other platforms is avoided.
When the method for adapting the charging pile communication protocol provided by the embodiment of the invention is specifically implemented, in one embodiment, when the charging pile access authentication fails, the charging pile is disconnected from the electric automobile, so that the problems of power loss and risk caused by illegal charging pile access can be avoided.
Specifically, when the method for adapting a communication protocol of a charging pile provided by the embodiment of the present invention is implemented, in an embodiment, when the charging pile access authentication is successful, the accessing of the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform includes:
when the charging pile access authentication is successful, the charging pile operation management platform is used for downloading the response message to the charging pile through the preposed protocol adaptation platform;
the charging pile determines a response message according to the response message;
analyzing the response message into a response configuration file through a preposed protocol adaptation platform;
and checking the consistency of the response message and the response configuration file, when the consistency check of the response message and the response configuration file passes, establishing the communication between the charging pile and the preposed protocol adaptation platform, and accessing the charging pile to the charging pile operation management platform through the preposed protocol adaptation platform.
In an embodiment, when the access authentication of the charging pile is successful, the charging pile needs to be accessed to the charging pile operation management platform through the pre-protocol adaptation platform, which specifically includes:
when the charging pile access authentication is successful, the charging pile operation management platform is used for downloading the response message to the charging pile through the preposed protocol adaptation platform; the issuing process may be a reverse process of the pre-protocol adaptation platform to analyze the message, and may include: the message receiving and sending module receives a response configuration file sent by the charging pile operation management platform, performs reverse analysis through a message analysis engine, determines a response message adaptive to the charging pile, communicates with the charging pile through a message communication engine, and sends the response message to the charging pile;
the charging pile determines a response message according to the response message;
analyzing the response message into a response configuration file through a preposed protocol adaptation platform, comprising the following steps: the method comprises the steps that a message communication engine is communicated with a charging pile, a response message sent by the charging pile which is connected to a charging pile operation management platform is received, the protocol type of the response message is judged, and a corresponding message analysis engine is called according to the protocol type of the response message; leading the response message into a message analysis engine for analysis in a preloading and dynamic loading mode, and determining a response message header, a response message definition, a response message formatting and a response message output; assembling a response message header, a response message definition, a response message formatting and a response message output according to an interface uniform format, and determining a response configuration file;
and checking the consistency of the response message and the response configuration file, when the consistency check of the response message and the response configuration file passes, establishing the communication between the charging pile and the preposed protocol adaptation platform, and accessing the charging pile to the charging pile operation management platform through the preposed protocol adaptation platform.
When the method for adapting the charging pile communication protocol provided by the embodiment of the invention is specifically implemented, in one embodiment, when the consistency check of the response message and the response configuration file is not passed, the response configuration file is recorded into an abnormal message table, and the charging pile is not accessed to a charging pile operation management platform, so that the effective management of the charging pile is realized.
Fig. 4 is a schematic processing flow diagram of a method for adapting a communication protocol of a charging pile according to an embodiment of the present invention, and as shown in fig. 4, the embodiment of the present invention further provides a processing flow of a method for adapting a communication protocol of a charging pile, which mainly includes:
1) configuring charging pile equipment information such as a charging pile equipment code, version information, a communication mode and the like into a charging pile operation management platform;
2) the charging pile is connected with the preposed protocol adaptation platform;
3) whether the charging pile can be accessed to a charging pile operation management platform is judged through the equipment codes: the accessible charging pile message enters step 4), and the illegal charging pile is disconnected;
4) and determining whether the protocol version of the current access equipment is matched with the charging pile equipment information in the charging pile operation management platform or not according to the version number of the protocol in the message.
5) Checking whether the format of the charging pile response message is correct: entering the step 6) for the message with the correct format, and recording the incorrect message into an abnormal message table;
6) calculating message flow, updating the message flow of the pile on the same day: for the pile with the over-limit flow, only reporting core charging messages such as charging and settlement in real time, filtering the messages such as state and collection according to the set regular time interval, putting the rest message configuration files into a message queue, and uploading the rest message configuration files to an operation management platform in a delayed manner to reduce the pressure of a background service system; reporting all messages for the piles with the flow not exceeding the limit;
7) reporting the message: a real-time reporting mode is adopted for transaction messages, reporting failure triggers a re-reporting process, and messages such as states, parameters and the like are communicated with a charging pile operation management platform through a message queue;
8) and receiving the reply message of the platform, and replying the reply message to the corresponding charging pile according to different communication protocols.
Aiming at different message types, different communication modes are designed, core messages such as charging and the like are sent out through a resful interface, message objects such as states and the like are directly sent to a corresponding message queue, and the message objects are delivered to a charging pile operation management platform for further service processing; according to the development needs and flexible deployment requirements of the charging pile, a micro-service architecture is adopted, the charging pile operation management platform and the preposed protocol adaptation platform are both deployed by micro-services, and the charging pile operation management platform and the preposed protocol adaptation platform can be used as the business volume continuously rises to be more than a few micro-service instances. When the traffic is small, the pre-protocol adaptation platform and the charging pile operation management platform are deployed in a set of micro-service environment, and along with gradual expansion of the traffic, the pre-protocol adaptation platform can be independently deployed in the micro-service environment and can also sink to the city, so that the pressure of a central system is reduced. The whole system is simple, flexible and independent in deployment, loose in coupling, high in cohesion and easy to expand.
Fig. 5 is a schematic diagram of a computer device for executing an adaptive charging pile communication protocol method implemented by the present invention, and as shown in fig. 5, an embodiment of the present invention further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the adaptive charging pile communication protocol method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for implementing the method for adapting a charging pile communication protocol is stored in the computer-readable storage medium.
The embodiment of the invention also provides a device for adapting the communication protocol of the charging pile, which is described in the following embodiment. Because the principle of the device for solving the problems is similar to the adaptive charging pile communication protocol method, the implementation of the device can refer to the implementation of the adaptive charging pile communication protocol method, and repeated parts are not described again.
Fig. 6 is a schematic diagram of an adaptive charging pile communication protocol device according to an embodiment of the present invention, and as shown in fig. 6, an adaptive charging pile communication protocol device according to an embodiment of the present invention may include:
the information configuration module 601 is used for configuring the charging pile equipment information to the charging pile operation management platform;
the authentication analysis module 602 is used for generating a charging pile authentication message when the electric vehicle is connected with the charging pile, analyzing the charging pile authentication message into an authentication configuration file through the pre-protocol adaptation platform, and transmitting the authentication configuration file to the charging pile operation management platform;
the charging pile access authentication module 603 is used for performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and when the charging pile access authentication is successful, accessing the charging pile to the charging pile operation management platform through the pre-protocol adaptation platform;
the communication analysis module 604 is configured to receive a charging pile communication message sent by a charging pile accessed to the charging pile operation management platform, and analyze the charging pile communication message into a message configuration file through the pre-protocol adaptation platform;
the configuration file uploading module 605 is configured to calculate a flow rate of the message configuration file, count the flow rate of the message configuration file into a current day message flow rate of the charging pile, and determine whether the current day message flow rate of the charging pile exceeds a single day flow rate limit; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode.
In an embodiment of the invention, when the device for adapting a communication protocol of a charging pile is implemented specifically, the front protocol adaptation platform includes: the system comprises a message communication engine, a message analysis engine and a message transceiving unit;
the authentication analysis module is specifically configured to:
the charging pile authentication method comprises the steps of communicating with a charging pile through a message communication engine, receiving a charging pile authentication message, judging the protocol type of the charging pile authentication message, and calling a corresponding message analysis engine according to the protocol type of the charging pile authentication message;
importing the charging pile authentication message into a corresponding message analysis engine for analysis, and determining an authentication configuration file;
and transmitting the authentication configuration file to a charging pile operation management platform through a message receiving and transmitting unit.
In an embodiment of the application specific implementation of the adaptive charging pile communication protocol device provided in the embodiment of the present invention, the authentication analysis module is further configured to:
the charging pile authentication message is guided into a message analysis engine for analysis in a preloading and dynamic loading mode, and an authentication message header, an authentication message definition, an authentication message formatting and an authentication message output are determined;
and assembling the authentication message header, the authentication message definition, the authentication message formatting and the authentication message output according to the interface uniform format to determine an authentication configuration file.
In an embodiment of the application specific implementation of the adaptive charging pile communication protocol device provided in the embodiment of the present invention, the communication analysis module is specifically configured to:
communicating with the charging pile through a message communication engine, receiving a charging pile communication message, judging the protocol type of the charging pile communication message, and calling a corresponding message analysis engine according to the protocol type of the charging pile communication message;
and importing the charging pile communication message into a corresponding message analysis engine for analysis, and determining a message configuration file.
In an embodiment of the application specific implementation of the adaptive charging pile communication protocol device provided in the embodiment of the present invention, the communication analysis module is further configured to:
the method comprises the steps that a charging pile communication message is guided into a message analysis engine for analysis in a preloading and dynamic loading mode, and a communication message header, a communication message definition, a communication message formatting and a communication message output are determined;
and assembling the communication message header, the communication message definition, the communication message formatting and the communication message output according to the interface uniform format, and determining a message configuration file.
In an embodiment of the invention, when the adaptive charging pile communication protocol device provided in the embodiment of the present invention is implemented specifically, the charging pile access authentication module is specifically configured to:
extracting a version number in the charging pile equipment information, and determining a charging pile protocol version according to the version number;
and performing access authentication on the charging pile according to the protocol version of the charging pile and the version information in the authentication configuration file.
When the adaptive charging pile communication protocol device provided by the embodiment of the invention is implemented specifically, in one embodiment, the charging pile access authentication module is further used for disconnecting the charging pile from the electric vehicle when the charging pile access authentication fails.
In an embodiment of the invention, when the adaptive charging pile communication protocol device provided in the embodiment of the present invention is implemented specifically, the charging pile access authentication module is further configured to:
when the charging pile access authentication is successful, the charging pile operation management platform is used for downloading the response message to the charging pile through the preposed protocol adaptation platform;
the charging pile determines a response message according to the response message;
analyzing the response message into a response configuration file through a preposed protocol adaptation platform;
and checking the consistency of the response message and the response configuration file, when the consistency check of the response message and the response configuration file passes, establishing the communication between the charging pile and the preposed protocol adaptation platform, and accessing the charging pile to the charging pile operation management platform through the preposed protocol adaptation platform.
In an embodiment of the adaptive charging pile communication protocol device provided by the embodiment of the present invention, in a specific implementation, the charging pile access authentication module is further configured to, when the consistency check between the response message and the response configuration file fails, record the response configuration file into an abnormal message table, and the charging pile does not access the charging pile operation management platform.
To sum up, according to the method and the device for adapting the charging pile communication protocol provided by the embodiment of the invention, the charging pile equipment information is firstly configured on the charging pile operation management platform, a charging pile authentication message is generated when the electric vehicle is connected with the charging pile, the charging pile authentication message is analyzed into an authentication configuration file through the pre-protocol adaptation platform, and the authentication configuration file is transmitted to the charging pile operation management platform; performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and accessing the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform when the charging pile access authentication is successful; then receiving a charging pile communication message sent by a charging pile accessed to a charging pile operation management platform, and analyzing the charging pile communication message into a message configuration file through a preposed protocol adaptation platform; finally, calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, and judging whether the current day message flow of the charging pile exceeds the single day flow limit or not; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode. The embodiment of the invention connects the pre-protocol adaptation platform between the charging piles and the charging pile operation management platform, uniformly processes the messages generated by different charging piles of different manufacturers and then uploads the messages to the charging pile operation management platform, thereby realizing the uniform management of the charging piles of different models of different manufacturers, simultaneously calculating the flow of the message configuration file, screening the message configuration file for the charging piles exceeding the single-day flow limit, only reporting the charging core message, and reducing the pressure of service processing of the charging pile operation management platform; the embodiment of the invention has the advantages of simple, flexible and independent deployment, loose coupling, high cohesion, easy expansion and the like, and is an efficient and reasonable communication method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A method for adapting a communication protocol of a charging pile, comprising:
configuring charging pile equipment information on a charging pile operation management platform;
when the electric automobile is connected with the charging pile, a charging pile authentication message is generated, the charging pile authentication message is analyzed into an authentication configuration file through the pre-protocol adaptation platform, and the authentication configuration file is transmitted to the charging pile operation management platform;
performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and accessing the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform when the charging pile access authentication is successful;
receiving a charging pile communication message sent by a charging pile accessed to a charging pile operation management platform, and analyzing the charging pile communication message into a message configuration file through a front protocol adaptation platform;
calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, and judging whether the current day message flow of the charging pile exceeds a single day flow limit or not; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode.
2. The method of claim 1, wherein the pre-protocol adaptation platform comprises: the system comprises a message communication engine, a message analysis engine and a message transceiving unit;
charging pile authentication messages are analyzed into authentication configuration files through a preposed protocol adaptation platform and transmitted to a charging pile operation management platform, and the method comprises the following steps:
the charging pile authentication method comprises the steps of communicating with a charging pile through a message communication engine, receiving a charging pile authentication message, judging the protocol type of the charging pile authentication message, and calling a corresponding message analysis engine according to the protocol type of the charging pile authentication message;
importing the charging pile authentication message into a corresponding message analysis engine for analysis, and determining an authentication configuration file;
and transmitting the authentication configuration file to a charging pile operation management platform through a message receiving and transmitting unit.
3. The method of claim 2, wherein importing the charging pile authentication message into a corresponding message parsing engine for parsing to determine an authentication configuration file comprises:
the charging pile authentication message is guided into a message analysis engine for analysis in a preloading and dynamic loading mode, and an authentication message header, an authentication message definition, an authentication message formatting and an authentication message output are determined; the message definition in the authentication message definition is the core content of the message; the message definition at least comprises: message command type, message attribute;
and assembling the authentication message header, the authentication message definition, the authentication message formatting and the authentication message output according to the interface uniform format to determine an authentication configuration file.
4. The method of claim 2, wherein parsing the charging pile communication packet into a packet configuration file via a pre-protocol adaptation platform comprises:
communicating with the charging pile through a message communication engine, receiving a charging pile communication message, judging the protocol type of the charging pile communication message, and calling a corresponding message analysis engine according to the protocol type of the charging pile communication message;
and importing the charging pile communication message into a corresponding message analysis engine for analysis, and determining a message configuration file.
5. The method of claim 4, wherein importing the charging pile communication message into a corresponding message parsing engine for parsing to determine a message configuration file comprises:
the method comprises the steps that a charging pile communication message is guided into a message analysis engine for analysis in a preloading and dynamic loading mode, and a communication message header, a communication message definition, a communication message formatting and a communication message output are determined; the message definition in the communication message definition is the core content of the message; the message definition at least comprises: message command type, message attribute;
and assembling the communication message header, the communication message definition, the communication message formatting and the communication message output according to the interface uniform format, and determining a message configuration file.
6. The method of claim 1, wherein performing access authentication on the charging post according to the charging post device information and the authentication configuration file comprises:
extracting a version number in the charging pile equipment information, and determining a charging pile protocol version according to the version number;
and performing access authentication on the charging pile according to the protocol version of the charging pile and the version information in the authentication configuration file.
7. The method of claim 1, wherein the charging post is disconnected from the electric vehicle when the charging post access authentication fails.
8. The method of claim 1, wherein when the charging pile access authentication is successful, accessing the charging pile to a charging pile operation management platform through a pre-protocol adaptation platform comprises:
when the charging pile access authentication is successful, the charging pile operation management platform is used for downloading the response message to the charging pile through the preposed protocol adaptation platform;
the charging pile determines a response message according to the response message;
analyzing the response message into a response configuration file through a preposed protocol adaptation platform;
and checking the consistency of the response message and the response configuration file, when the consistency check of the response message and the response configuration file passes, establishing the communication between the charging pile and the preposed protocol adaptation platform, and accessing the charging pile to the charging pile operation management platform through the preposed protocol adaptation platform.
9. The method of claim 8, wherein when the consistency check between the response message and the response configuration file fails, the response configuration file is recorded in an abnormal message table, and the charging pile does not access the charging pile operation management platform.
10. An adaptive charging pile communication protocol device, comprising:
the information configuration module is used for configuring the charging pile equipment information to the charging pile operation management platform;
the authentication analysis module is used for generating a charging pile authentication message when the electric automobile is connected with the charging pile, analyzing the charging pile authentication message into an authentication configuration file through the preposed protocol adaptation platform and transmitting the authentication configuration file to the charging pile operation management platform;
the charging pile access authentication module is used for performing access authentication on the charging pile according to the charging pile equipment information and the authentication configuration file, and when the charging pile access authentication is successful, the charging pile is accessed to the charging pile operation management platform through the preposed protocol adaptation platform;
the communication analysis module is used for receiving a charging pile communication message sent by a charging pile accessed to the charging pile operation management platform and analyzing the charging pile communication message into a message configuration file through the preposed protocol adaptation platform;
the configuration file uploading module is used for calculating the flow of the message configuration file, recording the flow of the message configuration file into the current day message flow of the charging pile, and judging whether the current day message flow of the charging pile exceeds the single day flow limit or not; when the current day message flow of the charging pile does not exceed the single day flow limit, uploading the message configuration file to a charging pile operation management platform in real time; when the current day message flow of the charging pile exceeds the single day flow limit, the charging core message is extracted from the message configuration file and uploaded to the operation management platform in real time, and the rest message configuration file is put into a message queue and uploaded to the operation management platform in a delayed mode.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing a method according to any one of claims 1 to 9.
CN202010759680.0A 2020-07-31 2020-07-31 Adaptive charging pile communication protocol method and device Active CN111917772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010759680.0A CN111917772B (en) 2020-07-31 2020-07-31 Adaptive charging pile communication protocol method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010759680.0A CN111917772B (en) 2020-07-31 2020-07-31 Adaptive charging pile communication protocol method and device

Publications (2)

Publication Number Publication Date
CN111917772A CN111917772A (en) 2020-11-10
CN111917772B true CN111917772B (en) 2022-04-29

Family

ID=73286930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010759680.0A Active CN111917772B (en) 2020-07-31 2020-07-31 Adaptive charging pile communication protocol method and device

Country Status (1)

Country Link
CN (1) CN111917772B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615835B (en) * 2020-12-09 2022-12-09 广东劲天科技有限公司 Charging pile multi-communication protocol support method and storage medium
CN112769866B (en) * 2021-02-02 2022-11-01 珠海驿联新能源汽车有限公司 Multi-protocol adaptation system and method for charging pile
CN115912529A (en) * 2021-08-03 2023-04-04 深圳英集芯科技股份有限公司 Charging demand adaptation method, electronic device, and related medium and program product
CN114124857A (en) * 2021-11-23 2022-03-01 青岛特来电新能源科技有限公司 Charging station message management system and method and electronic equipment
CN114418148B (en) * 2022-03-14 2022-06-28 普天新能源(深圳)有限公司 PaaS platform-based charging pile operation and maintenance intelligent management system and method
CN115273430A (en) * 2022-08-29 2022-11-01 北华航天工业学院 Electric automobile charging safety protection early warning system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385070A (en) * 2016-10-09 2017-02-08 北京新能源汽车股份有限公司 Charging pile type identification method and device
CN108092835A (en) * 2016-11-23 2018-05-29 普天信息技术有限公司 The detection method and device of electric automobile charging pile
WO2018120829A1 (en) * 2016-12-26 2018-07-05 上海蔚来汽车有限公司 Charging facility scheduling system and method
CN109194770A (en) * 2018-11-08 2019-01-11 北京智芯微电子科技有限公司 Obtain the system and method for charging pile real-time status
CN110493332A (en) * 2019-08-14 2019-11-22 广东省安心加科技有限公司 A kind of charging pile message processing method and its system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385070A (en) * 2016-10-09 2017-02-08 北京新能源汽车股份有限公司 Charging pile type identification method and device
CN108092835A (en) * 2016-11-23 2018-05-29 普天信息技术有限公司 The detection method and device of electric automobile charging pile
WO2018120829A1 (en) * 2016-12-26 2018-07-05 上海蔚来汽车有限公司 Charging facility scheduling system and method
CN109194770A (en) * 2018-11-08 2019-01-11 北京智芯微电子科技有限公司 Obtain the system and method for charging pile real-time status
CN110493332A (en) * 2019-08-14 2019-11-22 广东省安心加科技有限公司 A kind of charging pile message processing method and its system

Also Published As

Publication number Publication date
CN111917772A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN111917772B (en) Adaptive charging pile communication protocol method and device
EP2512163B1 (en) Method, system for defining message in machine-to-machine platform, and machine-to-machine platform
WO2018006789A1 (en) Parameter checking method and apparatus, and network management server and computer storage medium
CN105959302B (en) A kind of terminal management system and method
CN106656534A (en) Data communication method and system
CN103440142A (en) GPRS (General Packet Radio Service)-based remote upgrade and dynamic loading method
US20230114166A1 (en) Log acquisition method and apparatus, terminal, server, and computer readable storage medium
CN112134754A (en) Pressure testing method and device, network equipment and storage medium
CN115242894B (en) Data processing method, device, storage medium and computer equipment
CN113315681B (en) Automatic testing method and system based on intelligent home gateway plug-in
CN111245671A (en) Automatic integrated test system for ground test of satellite laser communication terminal
CN113364820A (en) Equipment control method and device of Internet of things service system
CN116155720A (en) CAN data acquisition remote configuration method in T-BOX
CN106775818A (en) ECU upgrade methods and ECU updating apparatus based on CAN
CN112311627B (en) Universal power protocol testing method and system based on protocol description file in XML format
CN112860555B (en) Software remote upgrading verification testing device and method
CN113204492A (en) Android application testing method and device
CN114040149A (en) Service digital intelligent evolution equipment monitoring method
CN113824587A (en) Multi-communication protocol equipment management method and system
CN112124131A (en) Unified access management method and system for charging piles based on multiple communication protocols
CN114513384B (en) Equipment control method, device, terminal and computer readable storage medium
CN112565041B (en) Hardware information configuration method, device and medium of FF field bus system
CN112953988A (en) Data docking method and device based on FTP
CN114363377B (en) Mechanical vehicle communication method and system
CN107710681B (en) Method and apparatus for upgrading multi-dwelling unit

Legal Events

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