Method and system for enabling four-wheel charging pile operation platform to be compatible with two-wheel charging pile, and medium
By designing a protocol adaptation module in the four-wheel charging pile operation platform, the adaptation and conversion between the two-wheel charging pile protocol and the four-wheel charging pile protocol is solved, and the problem that the four-wheel platform cannot manage the two-wheel charging piles is improved. It provides management efficiency and compatibility, and supports unified management of multi-vendor and multi-model equipment.
Patent Information
- Application Number
- CN202411570617.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-01-07
AI Technical Summary
There are large differences in the physical interface, communication protocol and charging process of four-wheel and two-wheel electric vehicle charging piles, which leads to the operation platform of four-wheel charging piles being unable to directly manage the second-wheel charging piles, which increases the management complexity and equipment maintenance of the operator. cost.
Design a protocol adaptation module, including a protocol parser, protocol mapping table and data converter, to realize the adaptation and conversion between the second-wheel charging pile protocol and the four-wheel charging pile operation platform protocol, ensuring that the second-wheel charging pile can Manage and monitor on four-wheel platforms. Through parsing, mapping and data conversion, this module ensures the correct correspondence between communication fields and format conversion between different protocols, realizing two-way communication interaction.
Through the protocol adaptation module, the four-wheel charging pile operation platform can be compatible with and manage two-wheel electric vehicle charging piles, improve the efficiency of equipment use and management, realize unified management of different types of equipment, and support multi-manufacturers and multiple models of charging equipment. Reduces operational complexity and maintenance costs.
Abstract
Description
Technical Field
[0001] The present invention relates to the field of charging piles, and in particular to a method, system and medium for a four-wheel charging pile operation platform to be compatible with a two-wheel charging pile. Background Art
[0002] With the popularization of electric vehicle charging facilities, four-wheel and two-wheel electric vehicles use different charging piles and communication protocols. In the existing technology, there are significant differences between four-wheel electric vehicle charging piles and two-wheel electric vehicle charging piles in terms of physical interface, communication protocol, charging process, etc., which makes the existing four-wheel charging pile operation platform unable to directly manage the two-wheel charging piles, increasing the management complexity of the operator and the maintenance cost of the equipment. Summary of the invention
[0003] In view of the defects of the prior art, the present invention provides a method, system and medium for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile, which can make the four-wheel charging pile operation platform compatible with and manage two-wheel electric vehicle charging piles, thereby improving the use and management efficiency of the equipment. The present invention designs a protocol adapter module, which can realize data conversion and communication between different types of charging piles, ensuring that the two-wheel charging piles can be managed and monitored on the four-wheel charging pile operation platform.
[0004] In order to solve the technical problem, the technical solution adopted by the present invention is: a method for making a four-wheel charging pile operation platform compatible with two-wheel charging piles. The method designs a protocol adaptation module for completing the adaptation and conversion between the two-wheel charging pile protocol and the four-wheel charging pile operation platform protocol. The module includes a protocol parser, a protocol mapping table and a data converter. The protocol parser is used to parse the message structure of the two-wheel charging pile communication protocol and the four-wheel charging pile operation platform protocol, and obtain the core data and control information transmitted during the communication process. The protocol mapping table sets mapping rules for different types of pile charging protocols, and provides a default value filling mechanism to configure all necessary fields. The fields between protocols are matched and filled through protocol mapping to ensure that the communication fields between different protocols correspond correctly. The data converter converts the format of the mapped data after protocol parsing, so that the four-wheel charging pile operation platform can bidirectionally receive and send the communication data of the two-wheel charging piles to complete normal communication interaction.
[0005] Furthermore, for the four-wheel charging pile operation platform protocol, the protocol parser parses the header information, command frame and data frame of the four-wheel charging pile operation platform data frame through CRC check and byte extraction, and combines the parsed contents together; for the two-wheel charging pile protocol, the protocol parser parses the device information, charging command and report status of the two-wheel charging pile through parity check and byte extraction, and combines the parsed contents together.
[0006] Furthermore, the header information includes the unique identification of the charging pile device and the charging status. The command frame stores commands, including charging start, charging stop, and parameter setting. The data frame stores charging parameters, including current, voltage, and charging time.
[0007] Furthermore, the device information includes the unique ID and status information of the charging pile, the charging command includes charging start and charging stop, and the status report includes the working status of the charging pile and the charging progress.
[0008] Furthermore, the protocol mapping rules include device status mapping, index parameter mapping, control command mapping, charging process data mapping and error status mapping. The device status mapping is to map the status description in the two-wheel charging pile protocol to the status description corresponding to the four-wheel charging pile operation platform protocol. The index parameter mapping is to map the charging parameters in the two-wheel charging pile protocol to the format requirements corresponding to the four-wheel charging pile operation platform protocol. If there are no parameters required by the four-wheel charging pile operation platform protocol in the two-wheel charging pile protocol, the default values are filled in to adapt to the requirements of the four-wheel charging pile operation platform protocol; the control command mapping is to map the control commands in the two-wheel charging pile protocol to the format requirements corresponding to the four-wheel charging pile operation platform protocol, and add default parameters after the control commands in the two-wheel charging pile protocol to adapt to the requirements of the four-wheel charging pile operation platform protocol; the charging process data mapping is to supplement the charging process information in the two-wheel charging pile protocol with default values or logical inference values, so as to meet the requirements of the four-wheel charging pile operation platform protocol, and the error status mapping is to map the error codes in the two-wheel charging pile protocol to the error status description required by the four-wheel charging pile operation platform protocol.
[0009] Furthermore, the protocol mapping table allows dynamic updating.
[0010] Furthermore, when uploading data to the four-wheel charging pile operation platform during two-wheel charging, the data conversion module encapsulates the data after protocol parsing and mapping according to the four-wheel charging pile operation platform protocol format, and generates a complete message that complies with the four-wheel charging pile operation platform protocol standard; when the four-wheel charging pile operation platform sends a control command to the two-wheel charging pile, the data conversion module simplifies the complex commands in the four-wheel charging pile operation platform protocol into a command format that can be recognized by the two-wheel charging pile, including stripping off redundant control fields and reducing the message length.
[0011] Furthermore, the four-wheel charging pile operation platform agreement is the China Electricity Council agreement.
[0012] The present invention also discloses a system for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute the method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile as described above when running the program instructions.
[0013] The present invention also discloses a storage medium storing program instructions, which, when running, execute the method for making the four-wheel charging pile operation platform compatible with the two-wheel charging pile as described above.
[0014] Beneficial effects of the present invention: Improved compatibility: The present invention uses a protocol adaptation module to enable the four-wheel charging pile operation platform to be compatible with two-wheel charging piles, thereby achieving unified management of different types of equipment.
[0015] Strong protocol versatility: The adapter module adopts a modular design and can be expanded according to different protocol requirements, supporting charging equipment from multiple manufacturers and models. DETAILED DESCRIPTION
[0016] In order to understand the features and technical contents of the present invention in more detail, the present invention is described in detail below in conjunction with embodiments. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details.
[0017] Example 1 This embodiment discloses a method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile. This method designs a protocol adaptation module, which can realize data conversion and communication between different types of charging piles, ensuring that the two-wheel charging piles can be managed and monitored on the four-wheel charging pile operation platform. The protocol adaptation module is the core component of the present invention, and its main function is to complete the adaptation and conversion between the two-wheel charging pile communication protocol and the four-wheel charging pile operation platform protocol, so that the platform can be compatible with and manage different types of charging piles.
[0018] The protocols for four-wheel charging piles are basically implemented based on the China Electricity Council protocol, while there is currently no authoritative protocol for two-wheel charging piles. They are often customized protocols by manufacturers, or simplified communication protocols, with differences in message structure, control flow, and communication methods. Therefore, the protocol adapter module needs to have parsing, mapping, and data conversion functions. It can be divided into the following three key parts: protocol parsing, protocol mapping, and data forwarding and conversion, that is, the protocol adapter module includes a protocol parser, a protocol mapping table, and a data converter. The following is a detailed introduction to the three parts.
[0019] 1. Protocol Analysis The core of the protocol parsing design is to correctly parse the message structure of different charging pile communication protocols and obtain the core data and control information transmitted during the communication process. For the China Electricity Council protocol and the second-wheel charging pile protocol, the protocol parser is designed as follows: a) Analysis of China Electricity Council Protocol: Data frame structure: The data frame structure of the CEC protocol is usually complex, including multiple information segments such as control commands, device status, charging requests, etc. The protocol parser needs to be able to parse the following: Header information: unique identification of the charging pile device, charging status (idle, charging, fault, etc.); Command frame: parse charging start, stop, parameter setting and other commands; Data frame: important charging parameters such as current, voltage, charging time, etc.
[0020] In this embodiment, the protocol parser parses the header information, command frame and data frame of the four-wheel charging pile operation platform data frame through CRC check and byte extraction, and combines the parsed contents together. The specific method is to encapsulate a method including CRC check and byte extraction according to the China Electricity Council protocol document, and combine the parsed structures. For example, if the data frame [0x12, 0x34, 0x01, 0x01, 0x0A, 0x00, 0xDC, 0x05] is received, the parsing result will be: Device: 0x1234, Status: Charging, Command: Start charging, Params: {"current": 10A, "voltage": 220V}.
[0021] Example: When parsing a charge start command of the China Electricity Council protocol, the protocol parser identifies the control code of the command (such as the command code 0x01 to start charging) and extracts parameters such as current and voltage.
[0022] b) Second-round charging pile protocol analysis: Simplified protocol: The two-wheel charging pile protocol is relatively simplified. The data frame structure of some manufacturers' custom protocols is relatively simple, and there are fewer types of parameters. The protocol parser needs to be able to parse the following: Device information: unique ID and status information to identify the charging pile; Charging commands: such as charging start and stop commands; Status report: Report the working status of the charging station and the charging progress.
[0023] The charging start command of the two-wheel charging pile protocol may only contain a start command code and a simple current parameter. The protocol parser will extract this simple information and adapt it to the complex format of the China Electricity Council.
[0024] The parsing method is: the protocol parser parses the device information, charging command and report status of the two-wheel charging pile according to the data frame structure of the device manufacturer's custom protocol through parity check and byte extraction, and combines the parsed contents together. For example, [0x56, 0x78, 0x00, 0x01, 0x0F, 0x00] is parsed as: {"deviceID":"0x5678","status":"idle","command":"start charging","current":"15A"}.
[0025] The parsed data structure is unified, which facilitates subsequent protocol mapping and data conversion processing.
[0026] 2. Protocol Mapping Protocol mapping is achieved through a protocol mapping table. The design of the protocol mapping table is to ensure that the communication fields between different protocols can correspond correctly. Specifically, it maps the data fields in the two-wheel charging pile protocol to the format required by the China Electricity Council protocol. Since the China Electricity Council protocol is relatively standardized and rich in information, while the two-wheel charging pile protocol is usually simplified, it is necessary to design an adaptation mapping rule. When the control command is issued, the complex protocol is converted into a simple two-wheel charging protocol; when the information is reported, the two-wheel charging protocol is converted to the China Electricity Council protocol for parsing and display.
[0027] Mapping rules: Four-wheel charging piles usually use the standardized China Electricity Council protocol, which defines complex and rich charging pile control and data transmission formats, such as device status, charging parameters (current, voltage, etc.), fault information, etc. Two-wheel charging piles usually use manufacturer-defined protocols or simplified communication protocols, which are usually simple in structure, have few fields, and contain less control and status information.
[0028] Therefore, the difficulty of mapping lies in how to map the simplified two-round protocol to the complex CEC protocol and handle deleted or damaged fields through preset rules.
[0029] Key issues of protocol mapping: Field differences: The CEC protocol usually contains partitioned control fields and device status, while the second-round protocol fields are relatively simple.
[0030] Parameter differences: Two-wheel charging piles may only report a single current parameter, while the China Electricity Council protocol requires multiple detailed parameters such as current and voltage.
[0031] Data richness: The CEC protocol may contain control fields such as charging mode, charging, and timeout settings, while the second-round protocol may not have these contents.
[0032] In view of the above problems, the protocol mapping table needs to preset mapping rules for different types of charging pile protocols and provide a default value filling mechanism to configure all necessary fields. The following is the key mapping part.
[0033] 1. Device status mapping The device status of two-wheel charging piles is relatively simple, usually only reporting the idle and charging status, while the China Electricity Council protocol has more convenient status descriptions, such as "idle", "charging", "fault", "maintenance", etc. Device status mapping is to map the simplified status description in the two-wheel charging pile protocol to the complex status description corresponding to the four-wheel charging pile operation platform protocol.
[0034] Example: The status of the electric connection protocol in the status of the second-wheel charging pile; Idle->Idle; Charging -> Charging (Charging).
[0035] 2. Index parameter mapping The China Electricity Council protocol usually contains detailed charging parameters such as current and voltage, while the two-wheel charging pile protocol may only provide a single current parameter. Index parameter mapping is to map the charging parameters in the two-wheel charging pile protocol to the corresponding format requirements of the four-wheel charging pile operation platform protocol. If the two-wheel charging pile protocol does not have the parameters required by the four-wheel charging pile operation platform protocol, the default values are filled in to adapt to the requirements of the four-wheel charging pile operation platform protocol.
[0036] Example: The second-wheel charging pile protocol only provides current parameters, such as 10A. The China Electricity Council protocol requires parameters such as current and voltage. When there is no voltage data, the default value, such as 220V, can be used.
[0037] Second round protocol parameters China Electricity Union protocol parameters; Current: 10A -> Current: 10A, Voltage: 220V (default).
[0038] 3. Control command mapping The control commands in the China Electricity Council protocol (such as starting charging, stopping charging, etc.) usually contain multiple parameters, such as charging mode, current limiting, timeout settings, etc., while the control commands of two-wheel charging piles are more simplified, only containing basic commands of starting and stopping. The control command mapping is to map the control commands in the two-wheel charging pile protocol to the corresponding format requirements of the four-wheel charging pile operation platform protocol, and add default parameters after the control commands in the two-wheel charging pile protocol to adapt to the requirements of the four-wheel charging pile operation platform protocol.
[0039] Example: Second-wheel charging pile command China Electricity Union protocol command; Start charging (0x01) <-> Start charging (with default parameters); Stop charging (0x02) <-> Stop charging.
[0040] 4.Charging process data mapping The data segment in the China Electricity Council protocol contains detailed charging process information, such as voltage, current, remaining time, etc., while the two-wheel protocol may only provide a small amount of charging data. The charging process data mapping is to supplement the charging process information in the two-wheel charging pile protocol with default values or logical inference values, so as to meet the requirements of the four-wheel charging pile operation platform protocol.
[0041] Example: Second round protocol data China Electricity Union protocol data; Current: 10A -> Current: 10A, Voltage: 220V, Time remaining: 30 minutes (estimated).
[0042] 5. Error status mapping The error status in the CEC protocol is usually more detailed, which may include abnormal current, abnormal voltage, communication failure, etc., while the two-wheel charging pile usually only reports a simple error code. The mapping rule needs to map the error status (error code) of the two-wheel charging pile to the complex fault description in the CEC protocol.
[0043] Example: Second-wheel charging pile error code China Electric Union protocol error status; 0x01 -> Abnormal current; 0x02 -> Voltage abnormality; 0xFF -> Communication failure.
[0044] The protocol mapping rule is one of the core technologies to ensure that two-wheel charging piles can be compatible and run on the four-wheel charging pile operation platform. Through detailed status, parameters, commands, data and error mapping, the simplified protocol of two-wheel charging piles can be mapped to the complex structure of the China Electricity Council protocol, thereby achieving unified management of the platform.
[0045] In this embodiment, the mapping table allows dynamic updates. For example, 0x01 is now mapped to current abnormality, and other manufacturers may use 0x10 corresponding to current abnormality. The mapping table is dynamically updated to adapt to more two-wheel charging pile manufacturers, thereby supporting compatibility with different versions of the protocol; and a default value filling mechanism is provided to simplify the protocol and map all fields to complex protocols.
[0046] 3. Data forwarding and conversion The data that has been parsed and mapped by the protocol is converted into a format so that the communication data of the two-wheel charging pile can be correctly identified and processed by the four-wheel platform. The data forwarding and conversion module is responsible for converting the format of the parsed and mapped data so that the communication data of the two-wheel charging pile can meet the standards of the China Electricity Council protocol and ensure that the platform can communicate bidirectionally. The data forwarding part ensures that the operation platform can bidirectionally receive and send the communication data of the two-wheel charging pile and complete normal communication interaction.
[0047] a) Data format of CEC protocol: The message of CEC protocol usually contains header, data segment and check segment, which need to be encapsulated and checked strictly according to the protocol standard. For example, when issuing a command, it is necessary to add CRC check code at the end of the message and ensure that the data length meets the requirements of CEC protocol.
[0048] b) Data format of the two-wheel charging pile protocol: The data format of the two-wheel charging pile protocol is relatively simple, the message length is short, and most of the verification methods are simple parity check or CRC check. The data forwarding and conversion module needs to properly encapsulate and verify the data according to the format requirements of the China Electricity Council protocol.
[0049] c) Data conversion process: Data encapsulation: When the two-wheel charging pile uploads data to the operation platform, the data conversion module first encapsulates the data after protocol analysis and mapping according to the CEC protocol format to generate a complete message that complies with the CEC protocol standard.
[0050] Example: The simple current data reported by the two-wheel charging pile is converted into current, voltage and time parameters that comply with the CEC protocol and encapsulated into the standard data frame of the CEC protocol.
[0051] Command issuance: When the four-wheel charging pile platform sends a control command to the two-wheel charging pile, the data conversion module needs to simplify the complex commands of the China Electricity Council protocol into a command format that the two-wheel charging pile can recognize. The specific steps include stripping off redundant control fields, reducing the message length, and ensuring that the command remains valid.
[0052] Example: The "charge start" command issued by the four-wheel platform contains detailed information such as charging mode, current limit, timeout setting, etc. The data conversion module will simplify this information into a basic "start charging" command according to the protocol requirements of the two-wheel charging pile.
[0053] The core of the protocol adapter module lies in the accuracy and efficiency of parsing, mapping and data conversion. The core information in the communication message is obtained through the protocol parser, and the field correspondence and filling between protocols are performed using the protocol mapping table. Finally, the two-way transmission and conversion of the message is completed through the data forwarding and conversion module, ensuring that the two-wheel charging pile can be smoothly operated and managed in the four-wheel charging pile operation platform.
[0054] The workflow of the protocol adaptation module is as follows: 1) Connecting to a two-wheel charging pile. When the two-wheel charging pile is connected to the four-wheel charging pile platform, the protocol adapter module first obtains the communication protocol information of the two-wheel charging pile through the protocol parser, including the data frame structure, handshake process and control commands.
[0055] 2) The protocol parser parses the communication data of the two-wheel charging pile and identifies the current status information of the charging pile, charging parameters (such as voltage, current, etc.), handshake status, equipment health report and other data.
[0056] 3) Protocol mapping and conversion. After the protocol parsing is completed, the protocol mapping table maps the data fields of the two-wheel charging pile to the standard data format of the four-wheel charging pile platform. For example, the "charging start command" of the two-wheel electric vehicle is mapped to the "start charging" command in the four-wheel platform. The data conversion module converts the protocol data packet of the two-wheel pile into the format required by the four-wheel platform.
[0057] 4) Bidirectional data transmission: After completing the data analysis and conversion, the adapter module uploads the converted data to the four-wheel charging pile operation platform. The platform can use the data to perform equipment status monitoring, charging management and other operations. Conversely, the control commands issued by the platform will also be converted into instructions that can be recognized by the two-wheel charging pile through the adapter module.
[0058] Example 2 The four-wheel charging pile platform of a charging operator needs to be compatible with the management of two-wheel electric vehicle charging piles. Through the protocol adapter module, the platform can parse the communication protocol of the two-wheel charging piles and map the data of the two-wheel piles to the standard protocol format of the four-wheel pile platform. In the end, the operator successfully monitored the charging status of the two-wheel charging piles on the platform and achieved unified management.
[0059] Example 3 In order to improve the compatibility of the platform, the operator has expanded the protocol adaptation module to support multiple two-wheeled charging pile protocols. By adding parsers and mapping rules for protocols from different manufacturers, the platform can access two-wheeled electric vehicle charging piles of different brands, greatly improving the flexibility and expansion capabilities of the operating platform.
[0060] Example 4 The disclosed embodiment provides a system in which a four-wheel charging pile operation platform is compatible with a two-wheel charging pile, including a processor and a memory. Optionally, the device may also include a communication interface and a bus. Among them, the processor, the communication interface, and the memory can communicate with each other through the bus. The communication interface can be used for information transmission. The processor can call the logic instructions in the memory to execute the invention of the four-wheel charging pile operation platform compatible with the two-wheel charging pile in Example 1.
[0061] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0062] The memory, as a computer-readable storage medium, can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiments of the present disclosure. The processor executes the function application and data processing by running the program instructions / modules stored in the memory, that is, the method of implementing the four-wheel charging pile operation platform compatible with the two-wheel charging pile in embodiment 1.
[0063] The memory includes a program storage area and a data storage area, wherein the program storage area can store an operating system and an application required for at least one function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory.
[0064] Example 5 The embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the method of making a four-wheel charging pile operation platform compatible with a two-wheel charging pile in Embodiment 1.
[0065] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0066] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.
[0067] The above description fully illustrates the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the scope of protection. As used in the description in the text, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0068] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
Claims
1. A method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile, characterized in that: This method designs a protocol adaptation module for completing the adaptation and conversion between the two-wheel charging pile protocol and the four-wheel charging pile operation platform protocol. This module includes a protocol parser, a protocol mapping table and a data converter. The protocol parser is used to parse the message structure of the two-wheel charging pile communication protocol and the four-wheel charging pile operation platform protocol, and obtain the core data and control information transmitted during the communication process. The protocol mapping table sets mapping rules for different types of pile charging protocols, and provides a default value filling mechanism to configure all necessary fields. The fields between the protocols are matched and filled through protocol mapping to ensure that the communication fields between different protocols correspond correctly. The data converter converts the format of the mapped data after protocol parsing, so that the four-wheel charging pile operation platform can bidirectionally receive and send the communication data of the two-wheel charging piles to complete normal communication interaction.
2. The method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile according to claim 1, characterized in that: For the four-wheel charging pile operation platform protocol, the protocol parser parses the header information, command frame and data frame of the four-wheel charging pile operation platform data frame through CRC check and byte extraction, and combines the parsed contents together; for the two-wheel charging pile protocol, the protocol parser parses the device information, charging command and report status of the two-wheel charging pile through parity check and byte extraction, and combines the parsed contents together.
3. The method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile according to claim 2, characterized in that: The header information includes the unique identification of the charging pile device and the charging status. The command frame stores commands, including charging start, charging stop, and parameter setting. The data frame stores charging parameters, including current, voltage, and charging time.
4. The method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile according to claim 2, characterized in that: The device information includes the unique ID and status information of the charging pile, the charging commands include charging start and charging stop, and the status report includes the working status of the charging pile and the charging progress.
5. The method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile according to claim 1, characterized in that: The protocol mapping rules include device status mapping, index parameter mapping, control command mapping, charging process data mapping and error status mapping. The device status mapping is to map the status description in the two-wheel charging pile protocol to the status description corresponding to the four-wheel charging pile operation platform protocol. The index parameter mapping is to map the charging parameters in the two-wheel charging pile protocol to the format requirements corresponding to the four-wheel charging pile operation platform protocol. If the two-wheel charging pile protocol does not have the parameters required by the four-wheel charging pile operation platform protocol, the default values are filled in to adapt to the requirements of the four-wheel charging pile operation platform protocol. Control command mapping is to map the control commands in the two-wheel charging pile protocol to the corresponding format requirements of the four-wheel charging pile operation platform protocol, and add default parameters after the control commands in the two-wheel charging pile protocol to adapt to the requirements of the four-wheel charging pile operation platform protocol; charging process data mapping is to supplement the charging process information in the two-wheel charging pile protocol with default values or logical inference values to meet the requirements of the four-wheel charging pile operation platform protocol, and error status mapping is to map the error code in the two-wheel charging pile protocol to the error status description required by the four-wheel charging pile operation platform protocol.
6. The method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile according to claim 5, characterized in that: The protocol mapping table allows dynamic updating.
7. The method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile according to claim 1, characterized in that: When uploading data to the four-wheel charging pile operation platform during two-wheel charging, the data conversion module encapsulates the data after protocol parsing and mapping according to the four-wheel charging pile operation platform protocol format, and generates a complete message that complies with the four-wheel charging pile operation platform protocol standard; when the four-wheel charging pile operation platform sends a control command to the two-wheel charging pile, the data conversion module simplifies the complex commands in the four-wheel charging pile operation platform protocol into a command format that can be recognized by the two-wheel charging pile, including stripping off redundant control fields and reducing the message length.
8. The method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile according to any one of claims 1 to 7, characterized in that: The four-wheel charging pile operation platform agreement is a China Electricity Council agreement.
9. A system for a four-wheel charging pile operation platform compatible with a two-wheel charging pile, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile as described in any one of claims 1 to 8 when running the program instructions.
10. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for making a four-wheel charging pile operation platform compatible with a two-wheel charging pile as described in any one of claims 1 to 8 is executed.
Citation Information
Cited By
Communication method between charging pile and charging platform
CN121356894A