Electric vehicle charging and discharging control method based on interconnection protocol
By automatically reading the VIN and verifying the user account after the electric vehicle is connected to the charging and discharging equipment, the system supports charging and discharging mode selection and stop strategy, which solves the shortcomings of bidirectional charging and discharging and user identification in the existing protocol, realizes intelligent control and personalized services, and improves user experience and system security.
Patent Information
- Application Number
- CN202511879132.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-12
- Publication Date
- 2026-02-10
AI Technical Summary
Existing electric vehicle charging protocols lack standardized bidirectional charging and discharging communication processes, user identification is cumbersome, charging and discharging strategies lack dynamic control capabilities, and personalized value-added services cannot be provided, thus limiting intelligent connectivity and user experience.
After establishing a connection between the electric vehicle and the charging/discharging equipment, the system automatically reads the vehicle identification number (VIN), combines it with user account verification, supports charging/discharging mode selection and stop strategy parameters, monitors the operating status in real time and compares it with strategy thresholds, thereby achieving intelligent control and automatic termination of the charging/discharging session.
It improves the user experience, supports bidirectional energy flow, simplifies identity authentication, enables precise control and personalized services, and enhances system security and cross-platform interoperability.
Smart Images

Figure CN121492745A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electric vehicle charging and discharging technology, and more specifically, to an electric vehicle charging and discharging control method based on an interoperability protocol. Background Technology
[0002] With the rapid development and widespread adoption of the electric vehicle (EV) industry, the interconnectivity of charging infrastructure has become a crucial link in supporting convenient user travel and efficient grid coordination. Currently, the industry has initially established an interoperable charging protocol for electric vehicles, aiming to break down business barriers between different charging operator platforms and achieve basic interoperability of cross-platform charging services. However, existing protocols still have significant limitations in functional design and technical architecture, making it difficult to meet the future development needs of intelligent connectivity, vehicle-to-grid (V2G) interaction, and personalized energy services.
[0003] First, the current protocol only focuses on one-way charging scenarios and does not define standardized communication processes and interface specifications for discharging services (such as V2G, V2H, etc.). This results in vehicles with bidirectional charging and discharging capabilities being unable to achieve interoperability of discharging services between heterogeneous platforms, which seriously restricts the potential of electric vehicles to participate in power system regulation as distributed energy storage resources.
[0004] Secondly, regarding user identification and activation mechanisms, the protocols generally rely on manual scanning of QR codes on charging piles to trigger the charging process. This method is not only cumbersome and provides a poor user experience, but it also cannot directly link vehicle identity information, hindering the implementation of advanced functions such as "plug-and-charge" and contactless payment, and making it difficult to support automated and intelligent charging and discharging scheduling.
[0005] Third, existing protocols lack the ability to dynamically control charging and discharging strategies. The charging process typically adopts a rough "start-fully charge-stop" model, which cannot perform refined and adaptive management based on user-preset conditions (such as target charge level, charging amount, and end time) or the vehicle's real-time status (such as battery state of charge (SOC) and state of health (SOH), thus limiting the improvement of charging efficiency and user satisfaction.
[0006] Finally, because the agreement does not provide a flexible mechanism for passing strategy parameters, charging service platforms are unable to launch differentiated and personalized value-added services such as "charging to 80%", "automatic stop after 30 yuan consumption", and "priority charging during off-peak hours", which weakens operators' service innovation capabilities and user stickiness in the market. Summary of the Invention
[0007] The technical problem to be solved by the present invention is to provide an electric vehicle charging and discharging control method based on an interconnection protocol that improves user experience, in order to address the shortcomings of the above-mentioned technical solutions.
[0008] This invention provides a charging and discharging control method for electric vehicles based on an interoperability protocol, the method comprising the following steps: S1. After the electric vehicle establishes a physical connection with the charging and discharging equipment, the charging and discharging equipment automatically reads the vehicle identification number (VIN) of the electric vehicle from the vehicle communication interface and reports it to the interoperability platform. S2, the interoperability platform verifies whether there is an associated user account or enterprise account based on the vehicle identification code (VIN), and verifies whether the user account or enterprise account has the authority to perform charging and discharging at the current site, and uses the vehicle identification code (VIN) as the unique vehicle identity identifier for this charging and discharging session. S3, the user selects the charging / discharging mode and the corresponding stop strategy parameters through a third-party application platform or the vehicle system; wherein, the charging / discharging mode is charging or discharging, and the stop strategy parameters include the strategy type and its corresponding strategy threshold; S4, the third-party platform initiates inter-platform identity authentication with the interoperability platform through the interoperability standard interface, and after successful authentication, calls the start charging and discharging interface to send the vehicle identification number (VIN), charging and discharging flag, and stop strategy parameters to the interoperability platform. S5, the interoperability platform controls the charging and discharging equipment to perform operations of charging the vehicle or feeding power from the vehicle to the grid according to the charging and discharging flag, and monitors the operating status data in real time during the charging and discharging process; S6, compare the running status data with the policy threshold in the stop policy parameters, and when any preset stop condition is met, automatically send a stop command to the charging and discharging device to terminate the current charging and discharging session; S7. After charging and discharging are completed, an order containing the vehicle identification number (VIN), charging and discharging mode, strategy execution result and billing information is generated and pushed to the third-party platform via the interconnection protocol.
[0009] In the electric vehicle charging and discharging control method based on the interconnection protocol described in this invention, in step S1, the charging and discharging device reads the vehicle identification code (VIN) from the battery management system (BMS) or on-board communication module of the electric vehicle through the vehicle-to-pile communication protocol.
[0010] In the electric vehicle charging and discharging control method based on the interoperability protocol described in this invention, the interoperability standard interface in step S2 includes a query_token interface. The third-party platform obtains an authentication token by calling the query_token interface and carries the authentication token in the header of subsequent query_token interface requests for identity verification.
[0011] In the electric vehicle charging and discharging control method based on the interconnection protocol described in this invention, in step S3, the strategy type in the stop strategy parameter is selected from at least one of the following: automatically charging or discharging to the minimum power threshold, based on cumulative charging and discharging amount, based on consumption amount, based on duration, or based on battery state of charge (SOC), wherein the strategy type based on consumption amount is only applicable to the charging mode. When the strategy type is automatic charging or discharging to the minimum power threshold, there is no need to set a strategy threshold. The system will automatically terminate the charging and discharging operation when the vehicle is fully charged, the user account or enterprise account balance is insufficient, or the battery state of charge (SOC) reaches the preset safety lower limit.
[0012] In the electric vehicle charging and discharging control method based on the interconnection protocol described in this invention, the charging and discharging flag bit in step S4 is a binary field used to indicate the energy flow direction of this charging and discharging session; wherein, a value of 0 indicates charging, and a value of 1 indicates discharging.
[0013] In the electric vehicle charging and discharging control method based on the interconnection protocol described in this invention; in step S5, when the strategy type is based on the battery state of charge (SOC): if it is a charging operation, charging is stopped when the vehicle SOC is detected to reach the strategy threshold; if it is a discharging operation, discharging is stopped when the vehicle SOC is detected to drop to the strategy threshold.
[0014] In the electric vehicle charging and discharging control method based on the interconnection protocol described in this invention, in step S5, when the charging and discharging mode is discharging, the charging and discharging device switches the circuit topology of the internal power module according to the charging and discharging flag bit, changes the energy flow direction from input mode to output mode, and communicates with the battery management system (BMS) of the electric vehicle to negotiate discharge parameters. After obtaining permission from the BMS, the discharging operation is started.
[0015] In the electric vehicle charging and discharging control method based on the interconnection protocol described in this invention, in step S5, during the charging and discharging process, the operating status data includes real-time power, cumulative charging and discharging amount, used time, consumption amount, and vehicle state of charge (SOC); wherein, during the discharging process, the real-time power is a negative value, used to indicate that energy flows from the vehicle to the power grid.
[0016] In the electric vehicle charging and discharging control method based on the interconnection protocol described in this invention, in step S6, the charging and discharging device is equipped with a smart meter that supports bidirectional metering, used to measure the amount of electricity fed from the vehicle to the power grid during the discharging process, and to calculate the discharging revenue based on the amount of electricity fed.
[0017] In the electric vehicle charging and discharging control method based on the interconnection protocol described in this invention, the order in step S7 includes a unique session identifier, vehicle identification number (VIN), charging and discharging mode, start and end time, energy flow direction, actual charging and discharging amount, consumption amount or discharging revenue, strategy execution result, and charging and discharging device number, and is pushed to the third-party platform through the interconnection protocol to complete status synchronization and settlement.
[0018] The electric vehicle charging and discharging control method based on the interconnection protocol of the present invention automatically reads the vehicle identification number (VIN) after the electric vehicle is physically connected to the charging and discharging equipment, and uses it as the unique identifier of the charging and discharging session. Combined with the dual verification of user account and site permissions, it effectively prevents unauthorized access and illegal operation, and significantly improves system security and compliance.
[0019] It supports bidirectional energy flow for charging and discharging. Users can flexibly set stop strategies through the vehicle system or third-party platforms. The system monitors the operating status in real time and compares it with the strategy threshold to achieve intelligent start-stop and precise control, meeting diverse needs such as grid interaction, peak-valley arbitrage and battery protection.
[0020] Based on standardized interconnection protocols, third-party platforms can securely authenticate and invoke unified interfaces to initiate commands, thereby connecting the information links between vehicles, devices, and platforms and enhancing cross-platform interoperability and system scalability.
[0021] After charging and discharging are complete, the system automatically generates a structured order containing the Vehicle Identification Number (VIN), mode, execution result, and billing information, and pushes it to a third-party platform to automate transactions and ensure data transparency, supporting settlement, service, and supervision. The entire process requires no manual input from the user, making it simple to operate. At the same time, an intelligent termination mechanism prevents overcharging and over-discharging, balancing convenience and battery safety. Attached Figure Description
[0022] Figure 1 This is a flowchart illustrating an embodiment of the electric vehicle charging and discharging control method based on an interoperability protocol according to the present invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0025] like Figure 1 As shown, Figure 1 This is a flowchart illustrating an embodiment of an electric vehicle charging and discharging control method based on an interoperability protocol according to the present invention. The method provides an electric vehicle charging and discharging control method based on an interoperability protocol, the method comprising the following steps: In step S1, after the electric vehicle establishes a physical connection with the charging and discharging equipment, the charging and discharging equipment automatically reads the vehicle identification number (VIN) of the electric vehicle from the vehicle communication interface and reports it to the interoperability platform. In step S2, the interoperability platform verifies whether there is an associated user account or enterprise account based on the vehicle identification code (VIN), and verifies whether the user account or enterprise account has the authority to perform charging and discharging at the current site, and uses the vehicle identification code (VIN) as the unique vehicle identity identifier for this charging and discharging session. In step S3, the user selects the charging / discharging mode and the corresponding stop strategy parameters through a third-party application platform or the vehicle's infotainment system; wherein, the charging / discharging mode is charging or discharging, and the stop strategy parameters include the strategy type and its corresponding strategy threshold. In step S4, the third-party platform initiates inter-platform identity authentication with the interoperability platform through the interoperability standard interface, and after successful authentication, calls the start charging and discharging interface to send the vehicle identification number (VIN), charging and discharging flag, and stop strategy parameters to the interoperability platform. In step S5, the interoperability platform controls the charging and discharging equipment to perform operations of charging the vehicle or feeding power from the vehicle to the grid according to the charging and discharging flag, and monitors the operating status data in real time during the charging and discharging process. In step S6, the running status data is compared with the policy threshold in the stop policy parameters. When any preset stop condition is met, a stop command is automatically sent to the charging and discharging device to terminate the current charging and discharging session. In step S7, after charging and discharging are completed, an order containing the vehicle identification number (VIN), charging and discharging mode, strategy execution result and billing information is generated and pushed to the third-party platform via the interconnection protocol.
[0026] In one embodiment, in step S1, the charging and discharging device reads the vehicle identification number (VIN) from the battery management system (BMS) or onboard communication module of the electric vehicle via a vehicle-to-pile communication protocol.
[0027] In one embodiment, the interoperability standard interface in step S2 includes a query_token interface. The third-party platform obtains an authentication token by calling the query_token interface and carries the authentication token in the header of subsequent query_token interface requests for identity verification.
[0028] In one embodiment, in step S3, the strategy type in the stop strategy parameter is selected from at least one of the following: automatically charge or discharge to a minimum power threshold, by cumulative charge / discharge amount, by consumption amount, by duration, or by battery state of charge (SOC), wherein the strategy type by consumption amount is only applicable to charging mode. When the strategy type is automatic charging or discharging to the minimum power threshold, there is no need to set a strategy threshold. The system will automatically terminate the charging and discharging operation when the vehicle is fully charged, the user account or enterprise account balance is insufficient, or the battery state of charge (SOC) reaches the preset safety lower limit.
[0029] In one embodiment, the charge / discharge flag bit in step S4 is a binary field used to indicate the energy flow direction of this charge / discharge session; wherein, a value of 0 indicates charging and a value of 1 indicates discharging.
[0030] In one embodiment, in step S5, when the strategy type is based on battery state of charge (SOC): if it is a charging operation, charging is stopped when the vehicle SOC is detected to reach the strategy threshold; if it is a discharging operation, discharging is stopped when the vehicle SOC is detected to drop to the strategy threshold.
[0031] In one embodiment, in step S5, when the charging / discharging mode is discharging, the charging / discharging device switches the circuit topology of the internal power module according to the charging / discharging flag bit, changes the energy flow direction from input mode to output mode, and communicates with the battery management system (BMS) of the electric vehicle to negotiate discharge parameters. After obtaining permission from the BMS, the discharge operation is started.
[0032] In one embodiment, during the charging and discharging process in step S5, the operating status data includes real-time power, cumulative charging and discharging amount, elapsed time, consumption amount, and vehicle state of charge (SOC); wherein, during the discharging process, the real-time power is a negative value, used to indicate that energy flows from the vehicle to the power grid.
[0033] In one embodiment, the charging and discharging device in step S6 is equipped with a smart meter that supports bidirectional metering, used to measure the amount of electricity fed from the vehicle to the power grid during the discharge process, and to calculate the discharge revenue based on the amount of electricity fed.
[0034] In one embodiment, the order in step S7 includes a session unique identifier, vehicle identification number (VIN), charging / discharging mode, start and end time, energy flow direction, actual charging / discharging amount, consumption amount or discharging revenue, strategy execution result, and charging / discharging device number, and is pushed to the third-party platform through the interconnection protocol to complete status synchronization and settlement.
[0035] This invention is applicable to vehicle-to-grid (V2G) interaction scenarios in cross-carrier platform environments, supports bidirectional energy flow for charging and discharging, and achieves seamless identity authentication through the vehicle identification number (VIN).
[0036] During the system initialization phase, the operator (such as the interoperability platform) pre-binds the vehicle identification number (VIN) of the vehicle with its corresponding user account or enterprise account, and configures the usage permissions of the user account or enterprise account at the designated charging and discharging station (such as site whitelist, credit status, package validity, etc.).
[0037] When a user drives their electric vehicle to a public charging station, they insert the charging gun into the vehicle's charging port to complete the physical connection. At this time, the charging equipment (such as a smart charging pile) actively reads the vehicle identification number (VIN) from the electric vehicle's battery management system (BMS) or on-board communication module through a standard vehicle-to-pile communication protocol (such as GB / T 27930 or ISO 15118).
[0038] After obtaining the Vehicle Identification Number (VIN), the charging / discharging equipment reports it to the interoperability platform (such as a national or regional charging operation platform) via a secure communication channel. Upon receiving the VIN, the interoperability platform performs a double verification in its database. First, confirm whether the Vehicle Identification Number (VIN) is linked to a valid user account or enterprise account; Secondly, verify whether the user account or enterprise account is authorized to perform charging and discharging operations on the current site.
[0039] If both verifications pass, the interoperability platform will establish the Vehicle Identification Number (VIN) as the unique identifier for this charging and discharging session, replacing the traditional authentication method that relies on users scanning codes or swiping cards, and achieving a plug-and-play, seamless interactive experience.
[0040] Users can select the charging / discharging mode (charging or discharging) for this operation through third-party application platforms (such as operator apps) or the vehicle's infotainment system, and set the stop strategy parameters. This embodiment supports the following five refined stop strategies: Strategy 1: Automatically charge / discharge to the minimum threshold: No specific value needs to be set. During charging, the system automatically stops when the vehicle is fully charged or the user's account balance is insufficient; during discharging, the system automatically stops when the vehicle's SOC reaches a preset safety minimum threshold, such as 15%.
[0041] Strategy 2 by time: For example, if the user sets the strategy value to 20, the charging / discharging will automatically stop after 20 minutes.
[0042] Strategy 3 by Amount: This strategy applies only to charging. For example, if a user sets the strategy value to 5, the charging will automatically stop when the cost reaches 5 yuan.
[0043] Strategy 4 by power consumption: For example, if the user sets the strategy value to 100 units: kWh, it will automatically stop when the cumulative charge / discharge amount reaches 100 kWh.
[0044] Strategy 5 based on SOC: For example, if a user performs a charging operation and sets the strategy value to 90, the charging will automatically stop when the vehicle battery's SOC reaches 90%; if a user performs a discharging operation and sets the strategy value to 20, the discharging will automatically stop when the SOC drops to 20%.
[0045] After the user confirms the policy, the third-party platform must first establish a secure trust with the interoperability platform. It initiates an authentication request by calling a standard interoperability interface, such as the `query_token` interface defined in the "Technical Specification for Information Interaction of Electric Vehicle Charging Infrastructure". After verifying the third-party platform's qualifications, the interoperability platform returns a time-sensitive authentication token. Subsequently, all business interface calls (including initiating charging / discharging commands) must include this time-sensitive authentication token in the HTTP request header to ensure secure communication.
[0046] After authentication is completed, the third-party platform calls the start charging / discharging interface to send a start request to the interoperability platform, which includes: Vehicle Identification Number (VIN); Charge / discharge flag; used to indicate the direction of energy flow in this charge / discharge session; the charge / discharge flag is a binary field, where 0 indicates charging and 1 indicates discharging; Strategy type and corresponding strategy threshold.
[0047] After parsing the request, the interoperability platform performs session validity verification again based on the Vehicle Identification Number (VIN), and generates control commands based on the charging / discharging flags to send to the charging / discharging equipment. If it is a charging operation, the device draws power from the grid in the normal mode to supply power to the vehicle.
[0048] If it is a discharge operation, the equipment controller first switches the circuit topology of the internal power module, such as by reconfiguring the relay or IGBT bridge arm, to change the energy flow direction from "grid → vehicle" to "vehicle → grid". Subsequently, a handshake is established with the electric vehicle's battery management system (BMS) via the vehicle-to-charging communication protocol to negotiate parameters such as discharge voltage, current, and maximum power. Only after obtaining explicit permission from the BMS will the operation of drawing power from the vehicle's battery and feeding power to the grid be initiated, ensuring the safety and compatibility of the discharge process.
[0049] During the charging and discharging process, the charging and discharging equipment collects real-time operating status data, including: The real-time power discharge value is negative, such as -5 kW, indicating reverse feeding; Cumulative charge / discharge capacity (kWh); Time elapsed in minutes; Consumption amount for charging or discharging, and the benefit of discharging. Vehicle SOC%.
[0050] The aforementioned data is periodically reported to the interoperability platform via a status push interface. The platform's policy control module continuously compares real-time data with user-defined policy thresholds. Once any stop condition is met, such as SOC=90%, power consumption=10 kWh, or time=30 min, a stop command is immediately generated and sent to the charging and discharging equipment. The entire process requires no manual intervention from the user, achieving highly automated energy management.
[0051] Specifically, throughout the entire charging and discharging process, the system continuously monitors various operational status data, including real-time power, cumulative energy consumption, elapsed time, consumption amount (or discharge revenue), and vehicle SOC. The charging and discharging strategy control module compares these data with user-preset strategy thresholds in real time. Once any stopping condition is met (e.g., SOC reaches 90%), the module immediately and automatically generates a stop command and sends it to the charging and discharging equipment. No manual intervention from the user is required throughout the process, achieving highly intelligent energy management.
[0052] During the discharge process, the smart meter built into the charging station (which supports bidirectional metering) records the net output electricity flowing from the vehicle to the grid. Simultaneously, the "charging power" field in the real-time data received by the platform via the status push interface will display a negative value (e.g., -7 kW), intuitively indicating that energy is flowing in the reverse direction. The billing system calculates the user's discharge revenue based on this negative electricity value.
[0053] After the charging / discharging session ends, the interoperability platform will generate a complete electronic order. This order includes, but is not limited to, the following information: Vehicle Identification Number (VIN), charging / discharging mode, start and end times, energy flow direction, actual charging / discharging amount, cost (or benefit), strategy execution result (e.g., "normally stopped due to SOC=90%)", and charging / discharging device number.
[0054] To ensure consistency across platforms, the interoperability platform asynchronously pushes this order information to the requesting third-party platform via an interoperability protocol. Once the third-party platform receives the order, it can display the final bill to the user and complete its internal settlement process.
[0055] Through the above-described embodiments, the present invention effectively overcomes the limitations of the prior art and provides users with a safer, more convenient, and smarter charging and discharging experience.
[0056] This invention can be applied to scenarios such as public charging and discharging facility networks, vehicle-to-grid (V2G) applications, intelligent energy management of fleets, and virtual power plant dispatching.
[0057] Compared with the prior art, the present invention has the following technical effects: This invention fully supports vehicle-to-grid (V2G) charging within a standardized interoperability protocol framework. It covers key technical aspects such as bidirectional energy dispatch command issuance, BMS safety coordination, and circuit topology switching, and establishes a mechanism for metering, billing, and order synchronization during charging. This capability provides practical technical support for emerging energy internet applications such as virtual power plants, grid frequency and peak regulation, and distributed energy collaboration, filling a gap in bidirectional energy management within existing charging infrastructure.
[0058] By utilizing the Vehicle Identification Number (VIN) as the core identity identifier, the system can automatically match the vehicle with the user's account and verify permissions after the physical charging gun is plugged in, completely eliminating the traditional authentication methods that rely on scanning codes, swiping cards, or manual input. This mechanism creates the preconditions for "plug-and-charge / discharge" and contactless payment, greatly simplifying the user's operation process and lowering the threshold for use, making it especially suitable for public charging and discharging scenarios with high frequency and cross-platform use.
[0059] This invention introduces five flexible and selectable shutdown strategies (including those based on time, battery level, cost, SOC, and automatic charging / discharging to a safe threshold), and supports dynamic configuration and real-time comparison of strategy parameters. Users can independently select the optimal control mode according to their own needs (such as cost control, battery protection, and time scheduling) to achieve more economical and safer energy management. Simultaneously, this strategy system also provides underlying capability support for operators to develop value-added services such as time-of-use pricing, green energy priority, and load response.
[0060] This invention is based entirely on existing interoperability protocol standards (such as query_token authentication, startup / status / order interfaces, etc.) for functional extension, without requiring a reconstruction of the existing platform architecture. It seamlessly supports traditional unidirectional charging services and can be smoothly upgraded to support bidirectional V2G services, effectively protecting existing infrastructure investments. Furthermore, its modular design allows for easy integration of future new strategy types, communication protocols, or metering rules, giving the system excellent evolution capabilities and ecosystem adaptability.
[0061] In summary, this invention not only solves the technical defects of existing technologies such as cumbersome identity authentication, limited functionality, and lack of intelligent control, but also promotes the transformation of electric vehicles from "electricity terminals" to "mobile energy storage units" while ensuring safety and compatibility.
[0062] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0063] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0064] Therefore, the above description is only a preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention. The scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A charging and discharging control method for electric vehicles based on an interoperability protocol, characterized in that, The method includes the following steps: S1. After the electric vehicle establishes a physical connection with the charging and discharging equipment, the charging and discharging equipment automatically reads the vehicle identification number (VIN) of the electric vehicle from the vehicle communication interface and reports it to the interoperability platform. S2, the interoperability platform verifies whether there is an associated user account or enterprise account based on the vehicle identification code (VIN), and verifies whether the user account or enterprise account has the authority to perform charging and discharging at the current site, and uses the vehicle identification code (VIN) as the unique vehicle identity identifier for this charging and discharging session. S3, the user selects the charging / discharging mode and the corresponding stop strategy parameters through a third-party application platform or the vehicle system; wherein, the charging / discharging mode is charging or discharging, and the stop strategy parameters include the strategy type and its corresponding strategy threshold; S4, the third-party platform initiates inter-platform identity authentication with the interoperability platform through the interoperability standard interface, and after successful authentication, calls the start charging and discharging interface to send the vehicle identification number (VIN), charging and discharging flag, and stop strategy parameters to the interoperability platform. S5, the interoperability platform controls the charging and discharging equipment to perform operations of charging the vehicle or feeding power from the vehicle to the grid according to the charging and discharging flag, and monitors the operating status data in real time during the charging and discharging process; S6, compare the running status data with the policy threshold in the stop policy parameters, and when any preset stop condition is met, automatically send a stop command to the charging and discharging device to terminate the current charging and discharging session; S7. After charging and discharging are completed, an order containing the vehicle identification number (VIN), charging and discharging mode, strategy execution result and billing information is generated and pushed to the third-party platform via the interconnection protocol.
2. The electric vehicle charging and discharging control method based on the interoperability protocol according to claim 1, characterized in that, In step S1, the charging and discharging device reads the vehicle identification number (VIN) from the battery management system (BMS) or on-board communication module of the electric vehicle via the vehicle-to-pile communication protocol.
3. The electric vehicle charging and discharging control method based on the interoperability protocol according to claim 1, characterized in that, The interoperability standard interface mentioned in step S2 includes the query_token interface. The third-party platform obtains an authentication token by calling the query_token interface and carries the authentication token in the header of subsequent query_token interface requests for identity verification.
4. The electric vehicle charging and discharging control method based on the interoperability protocol according to claim 1, characterized in that, In step S3, the strategy type in the stop strategy parameter is selected from at least one of the following: automatically charge or discharge to the minimum power threshold, by cumulative charge / discharge amount, by consumption amount, by duration, or by battery state of charge (SOC), wherein the strategy type by consumption amount is only applicable to the charging mode. When the strategy type is automatic charging or discharging to the minimum power threshold, there is no need to set a strategy threshold. The system will automatically terminate the charging and discharging operation when the vehicle is fully charged, the user account or enterprise account balance is insufficient, or the battery state of charge (SOC) reaches the preset safety lower limit.
5. The electric vehicle charging and discharging control method based on the interoperability protocol according to claim 1, characterized in that, In step S4, the charge / discharge flag is a binary field used to indicate the energy flow direction of this charge / discharge session; a value of 0 indicates charging, and a value of 1 indicates discharging.
6. The electric vehicle charging and discharging control method based on the interoperability protocol according to claim 3, characterized in that, In step S5, when the strategy type is based on battery state of charge (SOC): if it is a charging operation, charging is stopped when the vehicle SOC is detected to reach the strategy threshold; if it is a discharging operation, discharging is stopped when the vehicle SOC is detected to drop to the strategy threshold.
7. The electric vehicle charging and discharging control method based on the interoperability protocol according to claim 5, characterized in that, In step S5, when the charging / discharging mode is discharging, the charging / discharging device switches the circuit topology of the internal power module according to the charging / discharging flag bit, changes the energy flow direction from input mode to output mode, and communicates with the battery management system (BMS) of the electric vehicle to negotiate discharge parameters. After obtaining permission from the BMS, the discharge operation is started.
8. The electric vehicle charging and discharging control method based on the interoperability protocol according to claim 1, characterized in that, In step S5, during the charging and discharging process, the operating status data includes real-time power, cumulative charging and discharging amount, used time, consumption amount, and vehicle state of charge (SOC); wherein, during the discharging process, the real-time power is a negative value, used to indicate that energy flows from the vehicle to the power grid.
9. The electric vehicle charging and discharging control method based on the interoperability protocol according to claim 1, characterized in that, In step S6, the charging and discharging device is equipped with a smart meter that supports bidirectional metering, used to measure the amount of electricity fed from the vehicle to the power grid during the discharge process, and to calculate the discharge revenue based on the amount of electricity fed.
10. The electric vehicle charging and discharging control method based on the interoperability protocol according to claim 1, characterized in that, In step S7, the order includes a unique session identifier, vehicle identification number (VIN), charging / discharging mode, start and end time, energy flow direction, actual charging / discharging amount, consumption amount or discharge revenue, strategy execution result, and charging / discharging device number. It is then pushed to the third-party platform via the interconnection protocol to complete status synchronization and settlement.