An adaptation method, device, equipment and medium for vehicle charging
By identifying and updating the priority content of charging request information, the compatibility problem caused by inconsistent charging standards is solved, enabling adaptive connection to different versions of charging piles and ensuring successful charging.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- UNITED AUTOMOTIVE ELECTRONICS SYST
- Filing Date
- 2024-10-24
- Publication Date
- 2026-05-29
AI Technical Summary
The lack of standardized charging standards has led to incompatibility between battery management systems and charging stations, resulting in charging compatibility issues.
By identifying the standard protocol type of the charging pile, the priority content in the charging request information is dynamically updated, and multiple restarts are performed after the communication timeout to ensure the communication connection between the battery management system and the charging pile.
The charging compatibility of the battery management system has been improved, supporting multiple charging station versions and avoiding the risk of charging failure.
Smart Images

Figure CN119189779B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicles, and in particular to an adaptation method, apparatus, device, and medium for vehicle charging. Background Technology
[0002] With the rapid development of the electric vehicle industry, the market demand for charging facilities has increased dramatically, prompting the emergence of charging stations from multiple brands. However, due to updates and inconsistencies in charging standards, two versions of the charging standard currently exist on the market: those from 2011 and 2015. This results in inconsistent communication message formats among charging stations from different brands, posing a challenge to the charging compatibility of the Battery Management System (BMS).
[0003] The 2015 version, compared to the 2011 version, primarily added the Charge Handshake Message and the Battery Handshake Message, and adjusted the priority of long frame messages (such as the Battery Recognition Message, Battery Charging Profile, and Battery Charge Status Message). Specifically, this manifests as a change in the data length and priority of the Battery Recognition Message. For example, the Battery Charging Profile Message has a priority of 7 in the 2015 version, while it had a priority of 6 in the 2011 version, resulting in a change in the message identifier.
[0004] Because some charging pile devices on the market do not conform to a single standard, such as those that lack charging handshake messages but use 2015 priority, the battery management system and the charging pile cannot be matched during charging. Therefore, there are areas for improvement. Summary of the Invention
[0005] The purpose of this invention is to provide a vehicle charging adaptation method, device, equipment, and medium that enables the battery management system to be compatible with charging piles.
[0006] To solve the above-mentioned technical problems, the present invention is achieved through the following technical solution:
[0007] This invention provides an adaptation method for vehicle charging, applied in a battery management system, wherein the battery management system and the charging pile are communicatively connected via a first standard protocol or a second standard protocol, and the adaptation method includes:
[0008] Receive communication request information sent by the charging pile;
[0009] The standard protocol type is identified through the communication request information, and a charging request information is sent to the charging pile according to the standard protocol type;
[0010] Within a preset time period, determine whether the charging response information fed back by the charging pile based on the charging request information has been received;
[0011] If a charging response is received, the system will communicate with the charging pile according to the standard protocol type to begin charging.
[0012] If no charging response information is received, the restart process begins, the standard protocol type is changed, the priority content in the charging request information is updated and sent; until the corresponding charging response information is received, the charging pile is connected to the communication according to the standard protocol type to start charging.
[0013] In one embodiment of the present invention, the step of identifying the standard protocol type through the communication request information and sending charging request information to the charging pile according to the standard protocol type includes:
[0014] Identify the type of the communication request information;
[0015] When the type of the communication request information belongs to the type under the first standard protocol, the charging request information is sent to the charging pile according to the first standard protocol;
[0016] When the type of the communication request information belongs to the type under the second standard protocol, the charging request information is sent to the charging pile according to the second standard protocol.
[0017] In one embodiment of the present invention, the steps of entering the restart process, changing the standard protocol type, updating the priority content in the charging request information, and sending the updated information include:
[0018] Send a timeout request message to the charging pile;
[0019] Receive timeout information fed back by the charging pile based on the timeout request information;
[0020] The restart process will begin based on the timeout information.
[0021] The standard protocol type is changed, and the priority content in the charging request information is updated to send the updated charging request information to the charging pile.
[0022] In one embodiment of the present invention, the steps of entering the restart process, changing the standard protocol type, updating the priority content in the charging request information and sending it, until the corresponding charging response information is received, and communicating with the charging pile according to the standard protocol type to perform charging include:
[0023] Entering the restart process;
[0024] Change the protocol type and update the priority information in the charging request accordingly;
[0025] Send the updated charging request information to the charging pile;
[0026] Check if the updated charging request information has been received:
[0027] If the corresponding charging response information is received, a communication connection is established with the charging pile according to the standard protocol type to start charging;
[0028] If no corresponding charging response information is received, the process will restart until the corresponding charging response information is received, and then a communication connection will be established with the charging pile according to the standard protocol type to start charging.
[0029] In one embodiment of the present invention, the step of changing the standard protocol type, updating the priority content in the charging request information, and sending it includes:
[0030] When the type of the charging request information belongs to the first standard protocol, the protocol type is changed to the second standard protocol, and the priority content in the charging request information is updated and sent according to the second standard protocol.
[0031] When the type of the charging request information belongs to the second standard protocol, the protocol type is changed to the first standard protocol, and the priority content in the charging request information is updated and sent according to the first standard protocol.
[0032] In one embodiment of the present invention, the step of restarting the process if no corresponding charging response information is received, until the corresponding charging response information is received, and then communicating with the charging pile according to the standard protocol type to perform charging, includes:
[0033] If no corresponding charging response is received, the number of times the restart process is entered will be counted.
[0034] Charging will end when the preset number of restart attempts is reached.
[0035] Otherwise, the restart process will be initiated again until the corresponding charging response information is received, and a communication connection will be established with the charging pile according to the standard protocol type to start charging.
[0036] In one embodiment of the present invention, the step of communicating with the charging pile according to a standard protocol type to perform charging includes:
[0037] Battery information is sent to the charging pile according to the identified standard protocol type;
[0038] The system receives a message from the charging pile indicating that the identification is complete, based on the battery information, in order to begin charging.
[0039] The present invention also provides a vehicle charging adapter for use in a battery management system, wherein the battery management system is communicatively connected to a charging pile via a first standard protocol or a second standard protocol, and the adapter includes:
[0040] The information receiving module is used to receive communication request information sent by the charging pile;
[0041] The information identification module is used to identify the standard protocol type through the communication request information and send charging request information to the charging pile according to the standard protocol type;
[0042] The information judgment module is used to determine, within a preset time period, whether it has received charging response information from the charging pile based on the charging request information; if the charging response information is received, it communicates with the charging pile according to the standard protocol type to start charging; if the charging response information is not received, it enters a restart process, changes the standard protocol type, updates the priority content in the charging request information and sends it; until the corresponding charging response information is received, it communicates with the charging pile according to the standard protocol type to start charging.
[0043] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of a vehicle charging adaptation method.
[0044] The present invention also provides a computer-readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the steps of a vehicle charging adaptation method.
[0045] As described above, this invention provides a vehicle charging adaptation method, apparatus, device, and medium. By analyzing and ensuring compatibility with charging pile messages from different versions (e.g., 2011 and 2015 standards) and utilizing the ability to restart multiple times after communication timeout, it significantly improves the charging compatibility of the battery management system. In the event of a priority mismatch, the battery management system dynamically updates the priority content in the charging request information to adapt to different versions of charging piles (e.g., charging piles that combine 2011 and 2015 priorities), ensuring successful matching of charging requests. This not only enhances compatibility with charging piles conforming to the 2011 standard but also retains support for charging piles conforming to the 2015 standard, achieving adaptation to a wide range of charging pile types and avoiding the risk of charging failures due to version differences.
[0046] Of course, any product implementing this invention does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description
[0047] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 This is a flowchart of a vehicle charging adaptation method according to an embodiment of the present invention;
[0049] Figure 2 This is a schematic diagram of a vehicle charging adapter according to an embodiment of the present invention;
[0050] Figure 3 This is a schematic diagram of an electronic device according to an embodiment of the present invention.
[0051] In the diagram: 100, Information receiving module; 200, Information identification module; 300, Information judgment module; 1, Electronic device; 12, Memory; 13, Processor. Detailed Implementation
[0052] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0053] Please see Figure 1 This invention provides an adaptation method for vehicle charging, applied in a battery management system, wherein the battery management system and the charging pile are connected via a first standard protocol or a second standard protocol. The adaptation method may include the following steps:
[0054] Step S10: Receive communication request information sent by the charging pile;
[0055] Step S20: Identify the standard protocol type through the communication request information, and send the charging request information to the charging pile according to the standard protocol type;
[0056] Step S30: Within a preset time period, determine whether charging response information is received from the charging pile based on the charging request information;
[0057] Step S40: If a charging response message is received, communicate with the charging pile according to the standard protocol type to start charging;
[0058] Step S50: If no charging response information is received, proceed to the restart process, change the standard protocol type, update the priority content in the charging request information and send it; until the corresponding charging response information is received, and communicate with the charging pile according to the standard protocol type to start charging.
[0059] In one embodiment, when step S10 is executed, specifically, when the vehicle approaches the charging station and establishes a physical connection—that is, after the charging station's charging head is connected to the vehicle's charging port—the charging process will automatically begin. At this time, the charging station needs to establish a communication connection with the vehicle's battery management system to ensure the safety and efficiency of the charging process.
[0060] In one embodiment, after the vehicle and charging station are connected, the charging station first sends a communication request message to the vehicle's battery management system. Since charging stations may follow different charging standards (2011 or 2015 versions), the content of the communication request message differs depending on the version. For example, since the Charge Handshake Message is only applicable to the 2015 version of the charging standard, the communication request message sent by the charging station for the 2015 version can be a Charge Handshake Message. As another example, the Charge Recognition Message is applicable to the 2011 version of the charging standard, and the communication request message sent by the charging station for the 2011 version can be a Charge Recognition Message.
[0061] In one embodiment, when performing step S20, step S20 may specifically include the following steps:
[0062] Step S21: Identify the type of communication request information;
[0063] Step S22: When the type of the communication request information belongs to the type under the first standard protocol, send the charging request information to the charging pile according to the first standard protocol;
[0064] Step S23: When the type of the communication request information belongs to the type under the second standard protocol, send the charging request information to the charging pile according to the second standard protocol.
[0065] In one embodiment, when performing step S21, specifically, for charging piles using the 2011 version of the charging standard, the communication protocol between the charging pile and the battery management system can be represented as a first standard protocol. For charging piles using the 2015 version of the charging standard, the communication protocol between the charging pile and the battery management system can be represented as a second standard protocol.
[0066] In one embodiment, when the battery management system receives the communication request information sent by the charging pile, it can immediately parse the content of the communication request information to determine whether it belongs to the type under the first standard protocol, that is, the charging identification message type.
[0067] In one embodiment, for communication request information conforming to the first standard protocol, its type can be a charging identification message type. For communication request information conforming to the second standard protocol, its type can be a charging handshake message type. The identifiers in the charging identification message and the charging handshake message contain different content. The battery management system can determine whether the communication request information belongs to a type under the first standard protocol by recognizing the identifier content of the communication request information.
[0068] In one embodiment, when performing step S22, specifically, if the battery management system confirms that the received communication request information is not the charging handshake message of the 2015 standard, the battery management system can send charging request information to the charging pile to re-establish the communication connection.
[0069] In one embodiment, when performing step S23, specifically, if the battery management system confirms that the received communication request information is a charging handshake message according to the 2015 standard, then the battery management system will establish a communication connection with the charging pile according to the 2015 standard protocol. At this time, both parties will share necessary charging parameters, such as maximum charging capacity, voltage level, and safety protocols to optimize the charging process. Once the communication connection is successfully established, the battery management system and the charging pile begin the formal charging process. The charging strategy implemented according to the 2015 standard will ensure maximum charging efficiency and reduce battery wear.
[0070] In one embodiment, when the battery management system establishes a communication connection with the charging pile according to the 2015 version of the standard protocol, the battery management system can send a charging request message to the charging pile. The charging request message can adopt a long frame message format to meet the communication requirements of the 2015 version of the standard. The charging request message may include a data header (1CEC56F4x) and data content (10310007FF000200). The 1C in the data header indicates the message priority, specifically priority 7. The first byte of the data content is 10, indicating that the battery management system requests long frame communication.
[0071] In one embodiment, the charging pile can parse the received charging request information to identify priority content. During the parsing process, if the priority content of the corresponding long frame message set within the charging pile is also 7, it conforms to the 2015 version of the standard, and the charging pile will continue to process the request, generating and sending a charging response message. The charging response message may include a data header (1CECF456x) and data content (110701FFFF000200). The first byte of the data content is 11, indicating that the charging pile agrees to long frame communication.
[0072] In one embodiment, after receiving the charging response information from the charging pile, the battery management system prepares to send relevant battery information. The battery management system can load the battery information according to the second standard protocol (the charging standard of the 2015 version). The battery information may include specific headers and data content. The data content may cover the battery's current status information, such as rated voltage, rated capacity, and battery type. After transmission, the battery management system waits for confirmation from the charging pile to ensure complete synchronization of communication and full data reception.
[0073] In one embodiment, after successfully receiving and processing battery information, the charging pile prepares to send a message indicating completion of reception identification to notify the battery management system that the next stage of message interaction can begin. The message indicating completion of reception identification may include a data header (1CECF456x) and data content (13310007FF000200). In the data content, the first byte 13 indicates that the long frame data reception has ended, signifying that the charging pile has successfully identified and begun the parameter configuration stage.
[0074] In one embodiment, after receiving the message reception and identification completion information, the battery management system performs a final system check to ensure that the battery state and vehicle electronic devices are in a safe, rechargeable condition. Once confirmed, the battery management system begins controlling the flow of electrical energy into the battery. This process follows pre-set parameters to charge the battery with optimal power and current.
[0075] In one embodiment, during the interaction between the battery management system and the charging pile via the second standard protocol, charging request information, charging response information, battery information, and message reception and identification completion information can be combined to form a complete battery identification message.
[0076] In one embodiment, when performing step S40, step S40 may specifically include the following steps:
[0077] Step S41: Send battery information to the charging station according to the identified standard protocol type;
[0078] Step S42: Receive the identification completion information from the charging pile based on the battery information feedback message, and then proceed with charging.
[0079] In one embodiment, when performing step S41, specifically, after receiving the charging response information from the charging pile, the battery management system prepares to send relevant battery information. The battery management system can load the battery information according to a first standard protocol (the charging standard of the 2011 version) or a second standard protocol (the charging standard of the 2015 version).
[0080] In one embodiment, when performing step S42, specifically, after successfully receiving and processing the battery information, the charging pile prepares to send a message reception and identification completion message and a charging identification message to notify the battery management system that the parameter configuration process can begin. The message reception and identification completion message may include a data header and data content.
[0081] In one embodiment, after receiving the message reception and identification completion information, the battery management system performs parameter configuration and system checks to ensure that the battery status and vehicle electronic devices are in a safe, rechargeable state. Once confirmed, the battery management system begins controlling the flow of electrical energy into the battery. This process follows previously set parameters to charge the battery with optimal power and current.
[0082] In one embodiment, when performing step S50, step S50 may specifically include the following steps:
[0083] Step S511: Send a timeout request message to the charging station;
[0084] Step S512: Receive timeout information sent by the charging pile based on the timeout request information;
[0085] Step S513: Proceed to the restart process based on the timeout information;
[0086] Step S514: Change the standard protocol type and update the priority content in the charging request information to send the updated charging request information to the charging pile.
[0087] In one embodiment, when step S511 is executed, after the battery management system identifies that the charging pile uses the 2011 version of the standard, the battery management system can send a charging request message to the charging pile. The charging request message adopts a long frame message format to adapt to the communication requirements of the 2011 version of the standard. The charging request message may include a data header (18EC56F4x) and data content (10290006FF000200). The priority in the data header can be 18, where the number 18 indicates that the priority content is 6.
[0088] In one embodiment, the charging station can parse the received charging request information to identify priority content. Although the charging station is physically based on the 2011 standard, it may still be internally configured with a parsing mechanism compatible with the 2015 standard. During the parsing process, if the priority content of the corresponding long frame message set within the charging station is also 6, it conforms to the 2011 standard, and the charging station will continue to process the request, generating and sending a charging response message.
[0089] In one embodiment, the charging request information issued by the battery management system has a priority of 6, which conforms to its internal 2011 standard. However, the charging pile, due to its long frame message priority setting of 7, follows the 2015 standard, resulting in a charging request priority mismatch. Because of this priority mismatch, the charging pile identifies the request information as non-compliant and does not respond to the battery management system's message reception and identification completion message.
[0090] In one embodiment, when executing step S512, specifically, if the battery management system does not receive the message reception and identification completion information within a preset time period (e.g., 1.25s), a communication timeout determination mechanism is initiated. After confirming the communication timeout, the battery management system can send a timeout request message to the charging pile according to the SAE-J1939 communication standard, expressing the monitoring result of the current communication status. The timeout request message includes a data header (18EC56F4x) and a data content (FF03FFFFFF000200). The first byte FF of the data content represents the message type, and the following byte 03 indicates that the timeout has caused the message interaction to be interrupted.
[0091] In one embodiment, when executing steps S513 and S514, specifically, after the charging pile receives the timeout request information sent by the battery management system, it will generate and send timeout information to indicate that it has received the timeout notification and is processing it accordingly. The timeout information follows the Charging Error Management message standard, which can be associated with errors encountered in electric vehicle communication messages (such as battery identification messages, battery charging configuration messages, and battery charging status messages). After receiving the timeout information, the battery management system can enter a restart process and parse the message to determine the specific error situation.
[0092] In one embodiment, the battery management system sends a charging request to the charging pile with a priority of 6, conforming to a first standard protocol. Upon receiving the request, the charging pile discovers that its long-frame message priority is 7, conforming to a second standard protocol, resulting in a priority mismatch. Due to the priority mismatch, the charging pile does not reply with a message reception completion message. The battery management system detects a communication interruption and initiates a restart process.
[0093] In one embodiment, when performing step S50, step S50 may further include the following steps:
[0094] Step S521: Enter the restart process;
[0095] Step S522: Change the protocol type and update the priority content in the charging request information accordingly;
[0096] Step S523: Send the updated charging request information to the charging station;
[0097] Step S524: Check whether the updated charging request information has been received.
[0098] Step S525: If the corresponding charging response information is received, establish a communication connection with the charging pile according to the standard protocol type to start charging;
[0099] Step S526: If the corresponding charging response information is not received, the process is restarted again until the corresponding charging response information is received, and a communication connection is established with the charging pile according to the standard protocol type to start charging.
[0100] In one embodiment, when executing steps S521, S522, S523, S524, S525, and S526, specifically, after updating the priority of the charging request information, the battery management system can send the updated charging request information to the charging pile via a standard protocol. At this time, the priority content of the charging request information matches the requirements of the charging pile, aiming to successfully establish communication and initiate the charging process.
[0101] In one embodiment, after sending the updated charging request information to the charging pile via a standard protocol, the battery management system can check again whether it has received the corresponding charging response information; if the corresponding charging response information is received, a communication connection is established to start charging; if the corresponding charging response information is not received, the process is restarted again.
[0102] In one embodiment, when performing step S50, step S50 may further include the following steps:
[0103] Step S531: When the type of the charging request information belongs to the first standard protocol, change the protocol type to the second standard protocol, update the priority content in the charging request information according to the second standard protocol, and send it.
[0104] Step S532: When the type of the charging request information belongs to the second standard protocol, change the protocol type to the first standard protocol, update the priority content in the charging request information according to the first standard protocol, and send it.
[0105] In one embodiment, during step S531, specifically after entering the restart process, if the type of the charging request information belongs to the first standard protocol, the priority content in the charging request information is updated according to the second standard protocol. Specifically, when the battery management system determines that the priority content of the charging request information is 6 (compliant with the first standard protocol), while the charging pile requires priority 7 compliant with the second standard protocol, the battery management system updates the priority content of the charging request information to 7, and the updated charging request information is repackaged and sent to the charging pile.
[0106] In one embodiment, during step S532, specifically after entering the restart process, if the type of the charging request information belongs to the second standard protocol, the priority content in the charging request information is updated according to the first standard protocol. Specifically, when the priority content of the charging request information is 7 (compliant with the second standard protocol), but the charging pile requires priority 6 compliant with the first standard protocol, the battery management system updates the priority content of the charging request information to 6, and the updated charging request information is repackaged and sent to the charging pile.
[0107] In one embodiment, when performing step S50, step S50 may further include the following steps:
[0108] Step S541: If no corresponding charging response information is received, count the number of times the restart process is entered;
[0109] Step S542: When the number of times the restart process is entered reaches a preset number, the charging process ends;
[0110] Step S543: Otherwise, restart the process until the corresponding charging response information is received, and communicate with the charging pile according to the standard protocol type to start charging.
[0111] In one embodiment, when executing steps S541, S542, and S543, specifically, when the battery management system first enters the restart process, since the priority content of the charging request information is 6, it needs to be updated to 7 so that the priority content of the updated charging request information can match the charging pile. When the charging pile determines that the priority content of the updated charging request information matches the priority content of the corresponding long frame message set internally, it can send the corresponding message reception and identification completion information back to the battery management system to proceed with subsequent processes. At this time, the number of times the battery management system enters the restart process can be counted.
[0112] In one embodiment, after the initial restart process, if the charging pile determines that the priority content of the updated charging request information does not match the priority content of the corresponding long frame message set internally, the charging pile will not send back the corresponding message reception and identification completion information. If the battery management system does not receive the message reception and identification completion information within a preset time period, it can re-enter the restart process.
[0113] In one embodiment, when the battery management system enters the restart process for the second time, since the priority content of the charging request information has been updated to 7, it needs to be updated to 6, and the updated charging request information is sent to the charging pile so that the charging pile can make a judgment again.
[0114] In one embodiment, the priority of the charging request information needs to be updated each time the battery management system enters the restart process. The priority of the charging request information can cycle between 6 and 7. When the battery management system enters the restart process a preset number of times (e.g., 3), it needs to determine whether the corresponding charging response information has been received. If the battery management system can receive the corresponding charging response information after entering the restart process, it will communicate with the charging pile according to the identified standard protocol type to start charging, and the battery management system needs to exit the restart process. If the battery management system enters the restart process a preset number of times and still does not receive the corresponding charging response information and cannot start charging, it indicates that charging has failed and the charging process ends.
[0115] As can be seen, the above scheme significantly improves the charging compatibility of the battery management system by analyzing and ensuring compatibility with charging pile messages from different versions (e.g., 2011 and 2015 standards) and leveraging the ability to restart multiple times after communication timeout. When a priority mismatch is detected, the battery management system dynamically updates the priority content in the charging request information to adapt to different versions of charging piles (e.g., charging piles that combine 2011 and 2015 priorities), ensuring successful matching of charging requests. This not only enhances compatibility with charging piles conforming to the 2011 standard but also retains support for charging piles conforming to the 2015 standard, achieving adaptability to a wide range of charging pile types and avoiding the risk of charging failures due to version differences.
[0116] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0117] Please see Figure 2 The present invention also provides a vehicle charging adaptation method, and the adaptation device corresponds one-to-one with the adaptation methods in the above embodiments. The adaptation device may include an information receiving module 100, an information identification module 200, and an information judgment module 300. The functions of each module are as follows:
[0118] In one embodiment, the information receiving module 100 can be used to receive communication request information sent by the charging pile.
[0119] In one embodiment, the information identification module 200 can be used to identify the standard protocol type through communication request information and send charging request information to the charging pile according to the standard protocol type.
[0120] In one embodiment, the information identification module 200 may be specifically used to identify the type of communication request information; when the type of communication request information belongs to a type under a first standard protocol, to send charging request information to the charging pile according to the first standard protocol; when the type of communication request information belongs to a type under a second standard protocol, to send charging request information to the charging pile according to the second standard protocol.
[0121] In one embodiment, the information judgment module 300 can be used to determine, within a preset time period, whether it has received charging response information from the charging pile based on the charging request information; if the charging response information is received, it communicates with the charging pile according to the standard protocol type to start charging; if the charging response information is not received, it enters a restart process, changes the standard protocol type, updates the priority content in the charging request information and sends it; until the corresponding charging response information is received, and it communicates with the charging pile according to the standard protocol type to start charging.
[0122] In one embodiment, the information judgment module 300 can also be specifically used to send battery information to the charging pile according to the identified standard protocol type; and receive the identification completion information from the charging pile based on the battery information to start charging.
[0123] In one embodiment, the information judgment module 300 can also be specifically used to send timeout request information to the charging pile; receive timeout information fed back by the charging pile based on the timeout request information; enter the restart process based on the timeout information; change the standard protocol type and update the priority content in the charging request information to send the updated charging request information to the charging pile.
[0124] In one embodiment, the information judgment module 300 can also be specifically used to enter the restart process; change the protocol type and update the priority content in the charging request information accordingly; send the updated charging request information to the charging pile; detect whether the charging response information corresponding to the updated charging request information is received: if the corresponding charging response information is received, a communication connection is established with the charging pile according to the standard protocol type to start charging; if the corresponding charging response information is not received, the restart process is started again until the corresponding charging response information is received, and a communication connection is established with the charging pile according to the standard protocol type to start charging.
[0125] In one embodiment, the information judgment module 300 can also be specifically used to change the protocol type to the second standard protocol when the type of the charging request information belongs to the first standard protocol, update the priority content in the charging request information according to the second standard protocol and send it; and to change the protocol type to the first standard protocol when the type of the charging request information belongs to the second standard protocol, update the priority content in the charging request information according to the first standard protocol and send it.
[0126] In one embodiment, the information judgment module 300 can also be specifically used to count the number of times the restart process is entered if the corresponding charging response information is not received; when the number of times the restart process is entered reaches a preset number, the charging is ended; otherwise, the restart process is started again until the corresponding charging response information is received, and a communication connection is established with the charging pile according to the standard protocol type to carry out charging.
[0127] Specific limitations regarding the adapter device can be found in the limitations of the adaptation method above, and will not be repeated here. Each module in the aforementioned adapter device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the memory in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the memory can call and execute the operations corresponding to each module.
[0128] Please see Figure 3 In one embodiment, the electronic device 1 may include a memory 12, a processor 13, and a bus, and may also include a computer program stored in the memory 12 and executable on the processor 13, such as a vehicle charging adapter.
[0129] In one embodiment, the memory 12 includes at least one type of readable storage medium, including flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 12 can be an internal storage unit of the electronic device 1, such as the portable hard drive of the electronic device 1. In other embodiments, the memory 12 can also be an external storage device of the electronic device 1, such as a plug-in portable hard drive, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device 1. Furthermore, the memory 12 can include both internal and external storage units of the electronic device 1. The memory 12 can be used not only to store application software and various types of data installed on the electronic device 1, such as vehicle charging adaptation code, but also to temporarily store data that has been output or will be output.
[0130] In one embodiment, the processor 13 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits packaged with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 13 is the control unit of the electronic device 1, connecting various components of the electronic device 1 through various interfaces and lines. It executes programs or modules stored in the memory 12 (such as a power battery capacity correction program) and calls data stored in the memory 12 to perform various functions and process data of the electronic device 1.
[0131] In one embodiment, the processor 13 executes the operating system of the electronic device 1 and various installed applications. The processor 13 executes the applications to implement the steps in the above-described vehicle charging adaptation method.
[0132] In one embodiment, a computer program may be divided into one or more modules, one or more of which are stored in memory 12 and executed by processor 13 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in electronic device 1. For example, the computer program may be divided into an information receiving module 100, an information recognition module 200, and an information judgment module 300.
[0133] The embodiments of the present invention disclosed above are merely illustrative of the invention. The embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention. The invention is limited only by the claims and their full scope and equivalents.
Claims
1. A method for adapting vehicle charging, characterized in that, The method is applied in a battery management system, wherein the battery management system communicates with the charging pile via a first standard protocol or a second standard protocol, and the adaptation method includes: Receive communication request information sent by the charging pile; The standard protocol type is identified through the communication request information, and a charging request information is sent to the charging pile according to the standard protocol type; Within a preset time period, determine whether the charging response information fed back by the charging pile based on the charging request information has been received; If a charging response is received, the system will communicate with the charging pile according to the standard protocol type to begin charging. If no charging response information is received, the restart process begins, the standard protocol type is changed, the priority content in the charging request information is updated and sent; until the corresponding charging response information is received, the charging pile is connected to the communication according to the standard protocol type to start charging; The process of entering the restart procedure, changing the standard protocol type, updating the priority content in the charging request information and sending it, until the corresponding charging response information is received, and establishing a communication connection with the charging pile according to the standard protocol type to perform charging, includes: Entering the restart process; Change the protocol type and update the priority information in the charging request accordingly; Send the updated charging request information to the charging pile; Check if the updated charging request information has been received: If the corresponding charging response information is received, a communication connection is established with the charging pile according to the standard protocol type to start charging; If no corresponding charging response is received, the number of times the restart process is entered will be counted. Charging will end when the preset number of restart attempts is reached. Otherwise, the restart process will be initiated again until the corresponding charging response information is received, and a communication connection will be established with the charging pile according to the standard protocol type to start charging.
2. The vehicle charging adaptation method according to claim 1, characterized in that, The step of identifying the standard protocol type through the communication request information and sending charging request information to the charging pile according to the standard protocol type includes: Identify the type of the communication request information; When the type of the communication request information belongs to the type under the first standard protocol, the charging request information is sent to the charging pile according to the first standard protocol; When the type of the communication request information belongs to the type under the second standard protocol, the charging request information is sent to the charging pile according to the second standard protocol.
3. The vehicle charging adaptation method according to claim 1, characterized in that, The steps of entering the restart process, changing the standard protocol type, updating the priority content in the charging request information, and sending it include: Send a timeout request message to the charging pile; Receive timeout information fed back by the charging pile based on the timeout request information; The restart process will begin based on the timeout information. The standard protocol type is changed, and the priority content in the charging request information is updated to send the updated charging request information to the charging pile.
4. The vehicle charging adaptation method according to claim 1, characterized in that, The steps of changing the standard protocol type, updating the priority content in the charging request information, and sending it include: When the type of the charging request information belongs to the first standard protocol, the protocol type is changed to the second standard protocol, and the priority content in the charging request information is updated and sent according to the second standard protocol. When the type of the charging request information belongs to the second standard protocol, the protocol type is changed to the first standard protocol, and the priority content in the charging request information is updated and sent according to the first standard protocol.
5. The vehicle charging adaptation method according to claim 1, characterized in that, The step of communicating with the charging pile according to the standard protocol type to perform charging includes: Battery information is sent to the charging pile according to the identified standard protocol type; The system receives a message from the charging pile indicating that the identification is complete, based on the battery information, in order to begin charging.
6. A vehicle charging adapter, characterized in that, The vehicle charging adaptation method as described in any one of claims 1 to 5 is applied to a battery management system, wherein the battery management system is communicatively connected to the charging pile via a first standard protocol or a second standard protocol, and the adaptation device includes: The information receiving module is used to receive communication request information sent by the charging pile; The information identification module is used to identify the standard protocol type through the communication request information and send charging request information to the charging pile according to the standard protocol type; The information judgment module is used to determine, within a preset time period, whether it has received charging response information from the charging pile based on the charging request information; if the charging response information is received, it communicates with the charging pile according to the standard protocol type to start charging; if the charging response information is not received, it enters a restart process, changes the standard protocol type, updates the priority content in the charging request information and sends it; until the corresponding charging response information is received, it communicates with the charging pile according to the standard protocol type to start charging.
7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes a computer program, it implements the steps of the vehicle charging adaptation method as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the vehicle charging adaptation method as described in any one of claims 1 to 5.