Communication method, storage medium, communication chip and charging device

By establishing a non-TLS communication link between the electric vehicle and the charging equipment, the problem of unreliable charging caused by the failure of the TLS communication link is solved, and higher charging reliability is achieved.

CN116506487BActive Publication Date: 2026-06-02AUTEL UNITED CREATION SOFTWARE DEV CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
AUTEL UNITED CREATION SOFTWARE DEV CO LTD
Filing Date
2023-05-15
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

The failure to establish a TLS communication link between the charging equipment and the electric vehicle prevented the charging equipment from charging the electric vehicle, thus reducing charging reliability.

Method used

If the establishment of a TLS communication link between the electric vehicle and the charging equipment fails, a message instructing the electric vehicle to establish a non-TLS communication link is sent to the electric vehicle to charge it through the non-TLS communication link.

Benefits of technology

It improves the success rate of establishing communication links between electric vehicles and charging equipment, and enhances the reliability of charging equipment for electric vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116506487B_ABST
    Figure CN116506487B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of communication, and discloses a communication method, a storage medium, a communication chip and a charging device, which are applied to a charging device. The method comprises the following steps: receiving a first request message sent by an electric vehicle, wherein the first request message comprises indication information that the electric vehicle supports TLS communication; obtaining historical TLS communication link establishment information between the electric vehicle and the charging device; if the historical TLS communication link establishment information indicates that the establishment of the TLS communication link between the electric vehicle and the charging device fails, sending a first response message to the electric vehicle, wherein the first response message is used for indicating that a non-TLS communication link is established between the electric vehicle and the charging device, and the method can improve the problem that the charging device cannot establish a TLS communication link with the electric vehicle, so that the charging device cannot charge the electric vehicle, and the reliability of the charging of the electric vehicle by the charging device is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, specifically to a communication method, a storage medium, a communication chip, and a charging device. Background Technology

[0002] When electric vehicles in Europe and the United States use the ISO15118 protocol to communicate with charging equipment (such as charging piles) during charging, the electric vehicle declares in the SDP (SECC Discovery Protocol) request message whether it supports TLS (Transport Layer Security) communication. After receiving the SDP request message, the charging equipment chooses whether to use TLS communication based on its own situation and informs the vehicle in the SDP response.

[0003] Because the protocol stipulates that the PNC (plug and charge) function of the ISO15118-2 protocol and the ISO15118-20 protocol must use TLS communication, when the charging device receives an SDP request message from the vehicle that includes a statement that the vehicle supports TLS, the charging device must inform the vehicle to use TLS communication in the SDP response; otherwise, the PNC function of ISO15118-2 or the ISO15118-20 protocol cannot be used.

[0004] Therefore, if the TLS communication link between the charging device and the electric vehicle fails to be established, the failure process will be repeated when the charging session is restarted, preventing the charging device from charging the electric vehicle and reducing the reliability of the charging device when charging the electric vehicle. Summary of the Invention

[0005] One objective of this application is to provide a communication method, storage medium, communication chip, and charging device, aiming to improve the problem that the charging device cannot charge the electric vehicle because the failure to establish a TLS communication link between the charging pile and the electric vehicle results in the charging device being unable to establish a TLS communication link with the electric vehicle, thus causing the charging device to be unable to charge the electric vehicle.

[0006] In a first aspect, embodiments of this application provide a communication method applied to a charging device, the method comprising:

[0007] Receive a first request message sent by the electric vehicle, the first request message including indication information that the electric vehicle supports TLS communication;

[0008] Obtain historical TLS communication link establishment information between the electric vehicle and the charging device;

[0009] If the historical TLS communication link establishment information indicates that the establishment of a TLS communication link between the electric vehicle and the charging device has failed, a first response message is sent to the electric vehicle. The first response message is used to indicate that a non-TLS communication link is established between the electric vehicle and the charging device.

[0010] In a specific example, sending the first response message to the electric vehicle includes:

[0011] The first moment when the establishment of a TLS communication link between the electric vehicle and the charging device fails is obtained;

[0012] If the time interval between the first moment and the second moment of receiving the first request message sent by the electric vehicle is less than a preset time interval, then a first response message is sent to the electric vehicle.

[0013] In a specific example, after sending the first response message to the electric vehicle, the communication method further includes:

[0014] Display primary business information;

[0015] After receiving the first service response information input by the first target user, a non-TLS communication link is established with the electric vehicle to charge the electric vehicle.

[0016] In a specific example, after sending the first response message to the electric vehicle, the communication method further includes:

[0017] Obtain the identity information of the second target user, who is the user bound to the electric vehicle;

[0018] If the identity information determines that the second target user is a preset authenticated user, a non-TLS communication link is established between the user and the electric vehicle to charge the electric vehicle.

[0019] In a specific example, after sending the first response message to the electric vehicle and before displaying the first business information, the communication method further includes:

[0020] Obtain a first certificate for the electric vehicle and a second certificate for the charging equipment;

[0021] If the verification of the second certificate using the first certificate fails, then the certificate information of the first certificate and the certificate information of the second certificate are displayed.

[0022] In a specific example, the first response message is used to instruct the electric vehicle to establish a TCP communication link with the charging device.

[0023] In a specific example, the communication method further includes:

[0024] If the historical TLS communication link establishment information is empty or the historical TLS communication link establishment information indicates that the TLS communication link between the electric vehicle and the charging device has been successfully established, then a second response message is sent to the electric vehicle. The second response message is used to indicate that the TLS communication link between the electric vehicle and the charging device has been established.

[0025] In a second aspect, embodiments of this application provide a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the method as described in any one of the first aspects.

[0026] In a third aspect, embodiments of this application provide a communication chip, comprising:

[0027] At least one processor; and,

[0028] A memory communicatively connected to the at least one processor; wherein,

[0029] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the communication method as described in any one of the first aspects.

[0030] In a fourth aspect, embodiments of this application provide a charging device, comprising:

[0031] Communication controller for charging equipment;

[0032] At least one processor is communicatively connected to the charging device communication controller; and,

[0033] A memory communicatively connected to the at least one processor; wherein,

[0034] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the communication method as described in any one of the first aspects.

[0035] In the communication method provided in this application embodiment, the charging device receives a first request message sent by an electric vehicle. The first request message includes indication information that the electric vehicle supports TLS communication. The charging device obtains historical TLS communication link establishment information between the electric vehicle and the charging device. If the historical TLS communication link establishment information indicates that the establishment of a TLS communication link between the electric vehicle and the charging device has failed, the charging device sends a first response message to the electric vehicle. The first response message is used to indicate that a non-TLS communication link should be established between the electric vehicle and the charging device. Therefore, after the establishment of a TLS communication link between the electric vehicle and the charging device fails, a message indicating that a non-TLS communication link should be established between the electric vehicle and the charging device can be sent to the electric vehicle, thereby ensuring that a communication link can be established between the electric vehicle and the charging device and subsequent charging can be carried out, thus improving the reliability of the charging device when charging the electric vehicle. Attached Figure Description

[0036] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0037] Figure 1 This application provides a schematic diagram of the structure of a communication system according to an embodiment of the present application.

[0038] Figure 2 An interactive schematic diagram of a communication method provided in an embodiment of this application;

[0039] Figure 3 An interactive schematic diagram of another communication method provided in an embodiment of this application;

[0040] Figure 4 This is a schematic diagram of the circuit structure of a charging device provided in an embodiment of this application. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0042] It should be noted that, unless there is a conflict, the various features in the embodiments of this application can be combined with each other, all of which are within the protection scope of this application. Furthermore, although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than the module division in the device or the order in the flowchart. Moreover, the terms "first," "second," and "third" used in this application do not limit the data or execution order, but only distinguish identical or similar items with essentially the same function and effect.

[0043] To better understand the communication method provided in this application, a brief introduction to existing communication protocols between electric vehicles and charging equipment is given below. Existing protocols between electric vehicles and charging equipment include the ISO 15118 protocol. The ISO 15118 protocol specifies the PNC function of the ISO 15118-2 protocol and the requirement for TLS communication in the ISO 15118-20 protocol. Specifically, when the charging equipment receives an SDP request message from the vehicle that includes a declaration that the vehicle supports TLS, the charging equipment must inform the vehicle in its SDP response to use TLS communication; otherwise, the PNC function of ISO 15118-2 or the ISO 15118-20 protocol cannot be used.

[0044] After the charging device informs the vehicle in its SDP response that it will use TLS communication, the electric vehicle uses TLS communication to establish authentication with the charging device. During authentication, the SupplyEquipment Communication Controller (SECC) in the charging device sends an SECC Certificate to the Electric Vehicle Communication Controller (EVCC) in the electric vehicle. Upon receiving the SECC Certificate, the EVCC verifies it using its stored V2G Root Certificate. Verification succeeds only if the SECC Certificate was issued by the V2G Root Certificate; otherwise, verification fails. If verification fails, a TLS communication link cannot be established between the electric vehicle and the charging device, preventing subsequent charging. When the electric vehicle restarts its session with the charging device, the authentication process repeats, resulting in verification failure and preventing the charging device from charging the electric vehicle.

[0045] This application aims to solve the above problems and proposes a communication method that, after a failure to establish a TLS communication link between an electric vehicle and the charging device, sends a message to the electric vehicle instructing it to establish a non-TLS communication link with the charging device. This ensures that a communication link can be established between the electric vehicle and the charging device for subsequent charging, thereby improving the reliability of the charging device when charging the electric vehicle.

[0046] This application provides a communication system comprising a charging device and an electric vehicle. The connection between the charging device and the electric vehicle can be wired or wireless. A wired connection can be achieved, for example, through a charging gun. A wireless connection can be achieved, for example, through an existing wireless network, such as a 3G network, 4G network, 5G network, or Wi-Fi network.

[0047] Charging equipment can be charging piles, etc., and electric vehicles can be electric bicycles, electric motorcycles, electric tricycles, electric four-wheelers, electric cars, etc.

[0048] Please see Figure 1 The communication system 100 includes a charging device 2 and a charging system 1, with the charging system 1 installed on an electric vehicle. The charging device 1 includes a charging device communication controller 11, a first processor 12, and a first memory 13. At least one first processor 12 is communicatively connected to the charging device communication controller 11 and the first memory 13, respectively. The first memory 13 stores instructions executable by at least one first processor 12. The instructions are executed by the at least one first processor 12 to enable the at least one first processor 12 to perform the communication method described below.

[0049] Please continue reading. Figure 1 The charging system 1 includes an electric vehicle communication controller 21, a second processor 22, and a second memory 23. At least one second processor 22 is communicatively connected to the second memory 23. The second processor 22 is connected to the electric vehicle communication controller 21. The second memory 23 stores instructions that can be executed by at least one second processor 22. The instructions are executed by the at least one second processor 22 to enable the at least one second processor 22 to perform the communication method described below.

[0050] As another aspect of this application's embodiments, this application provides an interactive schematic diagram of a communication method. Please refer to... Figure 2 The communication methods include:

[0051] S201, The electric vehicle sends a first request message to the charging device, the first request message including indication information that the electric vehicle supports TLS communication.

[0052] In this process, after the electric vehicle connects to the charging port of the charging equipment, it can send a first request message to the charging equipment. Specifically, this can be achieved through the electric vehicle's charging system. This first request message can be an SDP request message, which can be a SECC discovery protocol message, belonging to the ISO 15118 message (SECC Discovery Protocol). ISO 15118 is a V2G (Vehicle to Grid) communication protocol, including two charging protocols: ISO 15118-2 and ISO 15118-20. In the PNC function of the ISO 15118-2 protocol and the ISO 15118-20 protocol, TLS communication must be used between the charging equipment and the electric vehicle.

[0053] If the electric vehicle uses the PNC function of the ISO15118-2 protocol or the ISO15118-20 protocol, the vehicle can indicate its support for TLS communication in the first request message. Specifically, this can be indicated by an identification message; this identification message can be general and is not specifically limited here.

[0054] The electric vehicle can send the first request message to the charging device via a wired connection established by connecting the charging gun to the charging port. Alternatively, the electric vehicle can also discover the charging device wirelessly and then send the first request message to it.

[0055] S202, The charging device receives a first request message sent by the electric vehicle. The first request message includes indication information that the electric vehicle supports TLS communication.

[0056] The charging device can be a wired connection established by connecting a charging gun to the charging port of an electric vehicle, and can receive the first request message sent by the electric vehicle. Alternatively, it can receive the first request message sent by the electric vehicle wirelessly.

[0057] Upon receiving the first request message, identification information indicating that the electric vehicle supports TLS communication can be obtained from the first request message, and the electric vehicle can be determined to support TLS communication based on the identification information.

[0058] S203. The charging equipment obtains the historical TLS communication link establishment information between the electric vehicle and the charging equipment.

[0059] Historical TLS communication link establishment messages can include the link establishment message from the previous TLS communication link establishment between the charging device and the electric vehicle. This link establishment message can be understood as the link establishment message from a TLS communication link establishment that occurred before the current moment. The link establishment message can indicate whether the TLS communication link was successfully established.

[0060] S204. If the historical TLS communication link establishment information indicates that the establishment of a TLS communication link between the electric vehicle and the charging device has failed, the charging device sends a first response message to the electric vehicle. The first response message is used to indicate that a non-TLS communication link should be established between the electric vehicle and the charging device.

[0061] If historical TLS communication link establishment information indicates that the establishment of a TLS communication link between the electric vehicle and the charging device failed, it means that within a certain time interval, if the factors affecting the link establishment failure do not change, subsequent TLS communication links between the electric vehicle and the charging device will also fail. Specifically, for example, if the factor affecting the TLS communication link establishment failure is the electric vehicle's failure to authenticate the charging device's certificate, then if the certificate does not change within a certain time interval, subsequent TLS communication links between the electric vehicle and the charging device will also fail during the period when the certificate remains unchanged. This first response message can be an SDP response message.

[0062] Non-TLS communication links can include TCP communication links, etc.

[0063] S205. The electric vehicle sends a second request message to the charging equipment. The second request message is used to request the establishment of a non-TLS communication link.

[0064] Specifically, non-PNC mode of ISO15118-2 or other non-TLS protocols can be used to establish a non-TLS communication link.

[0065] After a non-TLS communication link is established between the charging device and the electric vehicle, the charging device still needs to perform external authentication on the electric vehicle. After successful external authentication, the charging device will charge the electric vehicle.

[0066] In this example, the charging device receives a first request message sent by the electric vehicle. The first request message includes indication information that the electric vehicle supports TLS communication. The charging device obtains historical TLS communication link establishment information between the electric vehicle and the charging device. If the historical TLS communication link establishment information indicates that the establishment of a TLS communication link between the electric vehicle and the charging device has failed, the charging device sends a first response message to the electric vehicle. The first response message is used to indicate that a non-TLS communication link should be established between the electric vehicle and the charging device. Therefore, after the establishment of a TLS communication link between the electric vehicle and the charging device fails, a message indicating that a non-TLS communication link should be established between the electric vehicle and the charging device can be sent to the electric vehicle, thereby ensuring that a communication link can be established between the electric vehicle and the charging device and subsequent charging can be carried out, thus improving the reliability of the charging device when charging the electric vehicle.

[0067] In one possible implementation, the method by which the charging device sends a first response message to the electric vehicle includes:

[0068] A1. Obtain the first moment when the TLS communication link between the electric vehicle and the charging equipment fails to be established;

[0069] A2. If the time interval between the first moment and the second moment of receiving the first request message sent by the electric vehicle is less than a preset time interval, then send the first response message to the electric vehicle.

[0070] The first moment when the establishment of a TLS communication link between the electric vehicle and the charging device fails can be understood as the moment when the charging session between the electric vehicle and the charging device terminates. Of course, the first moment of failure can also be the moment when the user manually disconnects the charging gun from the electric vehicle. Alternatively, it can be any other moment that can be used to characterize the failure of establishing a TLS communication link between the electric vehicle and the charging device.

[0071] The second moment when the charging device receives the first request message sent by the electric vehicle can also be the moment when the user disconnects the charging gun of the charging device from the electric vehicle after the TLS communication link between the electric vehicle and the charging device fails to be established, and then reconnects the charging gun of the charging device to the charging interface of the electric vehicle.

[0072] The preset time interval can be set based on experience or historical data; for example, it could be 60 seconds.

[0073] In this example, when the time interval between the first moment and the second moment of receiving the first request message sent by the electric vehicle is less than a preset time interval, the charging device sends a first response message to the electric vehicle, which can improve the continuity of charging and thus enhance the user experience.

[0074] In one possible implementation, after the charging device sends the first response message to the electric vehicle, it needs to perform external authentication to verify the electric vehicle's identity before charging can begin. A specific implementation method could be:

[0075] B1. Display the first business information;

[0076] B2. After receiving the first service response information input by the first target user, establish a non-TLS communication link with the electric vehicle to charge the electric vehicle.

[0077] The first piece of business information can be used to indicate the charging method, the scheduled charging time, the charging cost, etc. The first piece of business information can be displayed via QR code, voice prompts, etc., and there are no specific limitations here.

[0078] After displaying the initial service information, users can input the initial service response information via scanning a QR code, swiping a card, or other methods. This initial service response information may include details such as the actual charging time and payment status, thus completing external authentication of the electric vehicle. Afterward, a non-TLS communication link is established between the charging device and the electric vehicle, and the charging device begins charging.

[0079] In this example, after sending the first response message to the electric vehicle, the first service information is displayed. The electric vehicle is then externally authenticated using the first service information. After successful authentication, a non-TLS communication link is established with the electric vehicle and it is then charged, thus improving the reliability and practicality of charging the electric vehicle.

[0080] In one possible implementation, after the charging device sends the first response message to the electric vehicle, it needs to perform external authentication to verify the electric vehicle's identity before charging can begin. Another specific implementation method could be:

[0081] C1. Obtain the identity information of the second target user, who is the user bound to the electric vehicle;

[0082] C2. If the second target user is determined to be a pre-authenticated user based on the identity information, a non-TLS communication link is established between the user and the electric vehicle to charge the electric vehicle.

[0083] In this scenario, the second target user can be a user linked to the electric vehicle. The identity information of this second target user can be used to determine if they are a pre-defined, authenticated user. Specifically, the identity information of the second target user can be compared with the identity information of pre-defined, authenticated users to obtain a similarity score. If the similarity score between the pre-defined, authenticated user's identity information and the second target user's identity information is higher than the preset similarity score, then the second target user is determined to be a pre-defined, authenticated user. Pre-defined, authenticated users can be users who already have consumption qualifications, or users who can automatically link charging consumption deductions, etc.

[0084] In this example, by determining whether the second target user is a pre-authorized user, it is possible to quickly determine whether the electric vehicle has charging permissions. Once charging permissions are determined, charging is initiated, reducing the interactive process of displaying business information and improving the efficiency of charging the electric vehicle.

[0085] In one possible implementation, after sending the first response message to the electric vehicle and before displaying the first service information, since it has been determined that the establishment of a TLS communication link between the electric vehicle and the charging equipment has failed, the reasons for the failure can be displayed. This allows users to quickly understand the reasons for the failure during subsequent anomaly handling, improving anomaly handling efficiency. Specifically:

[0086] D1. Obtain the first certificate for the electric vehicle and the second certificate for the charging equipment;

[0087] D2. If the verification of the second certificate using the first certificate fails, then display the certificate information of the first certificate and the certificate information of the second certificate.

[0088] The charging device can send a first certificate retrieval request to the electric vehicle and obtain the first certificate based on the first certificate retrieval response sent by the electric vehicle. The first certificate could be, for example, a V2G Root Certificate. The charging device's second certificate could be a SECC Certificate.

[0089] The charging device can perform a verification process using a first certificate to verify a second certificate, obtaining a verification result. This verification can be done using a common verification method. If the verification fails, the device displays the certificate information for both the first and second certificates. This allows users to quickly identify the cause of the error—certificate verification failure—and make necessary adjustments, improving the efficiency of error handling.

[0090] Please see Figure 3This application provides an interactive schematic diagram of another communication method. Please refer to... Figure 3 The communication methods include:

[0091] S301, The electric vehicle sends a first request message to the charging device. The first request message includes indication information that the electric vehicle supports TLS communication.

[0092] In this process, after the electric vehicle connects to the charging port of the charging equipment, it can send a first request message to the charging equipment. This first request message can be an SDP request message, which can be a SECC discovery protocol message, belonging to the ISO 15118 message (SECC Discovery Protocol). ISO 15118 is a V2G (Vehicle to grid) communication protocol, including two charging protocols: ISO 15118-2 and ISO 15118-20. In the PNC function of the ISO 15118-2 protocol and in the ISO 15118-20 protocol, TLS communication must be used between the charging equipment and the electric vehicle.

[0093] If the electric vehicle uses the PNC function of the ISO15118-2 protocol or the ISO15118-20 protocol, the vehicle can indicate its support for TLS communication in the first request message. Specifically, this can be indicated by an identification message; this identification message can be general and is not specifically limited here.

[0094] The electric vehicle can send the first request message to the charging device via a wired connection established by connecting the charging gun to the charging port. Alternatively, the electric vehicle can also discover the charging device wirelessly and then send the first request message to it.

[0095] S302, The charging device receives a first request message sent by the electric vehicle, the first request message including indication information that the electric vehicle supports TLS communication.

[0096] The charging device can be a wired connection established by connecting a charging gun to the charging port of an electric vehicle, and can receive the first request message sent by the electric vehicle. Alternatively, it can receive the first request message sent by the electric vehicle wirelessly.

[0097] Upon receiving the first request message, identification information indicating that the electric vehicle supports TLS communication can be obtained from the first request message, and the electric vehicle can be determined to support TLS communication based on the identification information.

[0098] S303, The charging equipment obtains the historical TLS communication link establishment information between the electric vehicle and the charging equipment.

[0099] Historical TLS communication link establishment messages can include the link establishment message from the previous TLS communication link establishment between the charging device and the electric vehicle. This link establishment message can be understood as the link establishment message from a TLS communication link establishment that occurred before the current moment. The link establishment message can indicate whether the TLS communication link was successfully established.

[0100] S304. If the historical TLS communication link establishment information is empty or the historical TLS communication link establishment information indicates that the TLS communication link between the electric vehicle and the charging device has been successfully established, a second response message is sent to the electric vehicle. The second response message is used to indicate that the TLS communication link between the electric vehicle and the charging device has been established.

[0101] S305. The electric vehicle sends a third request message to the charging equipment. The third request message is used to request the establishment of a TLS communication link.

[0102] In this example, if the historical TLS communication link establishment information between the electric vehicle and the charging device is empty or indicates that the historical TLS communication link establishment information indicates that the TLS communication link between the electric vehicle and the charging device was successfully established, then the electric vehicle and the charging device can communicate using the TLS communication link, thereby improving the security of communication between the electric vehicle and the charging device.

[0103] It should be noted that in the above embodiments, there is no necessarily a certain order between the steps. Those skilled in the art can understand from the description of the embodiments of this application that the above steps may have different execution orders in different embodiments, that is, they may be executed in parallel or in turn, etc.

[0104] Please see Figure 4 , Figure 4 This is a schematic diagram of the circuit structure of a charging device provided in an embodiment of this application. Figure 4 As shown, the charging device 400 includes a charging device communication controller 401, one or more processors 402, and a memory 403. The processors 402, the charging device communication controller 401, and the memory 403 are communicatively connected.

[0105] The memory 403, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the method for establishing a Bluetooth connection in the embodiments of this application. The processor 402 executes the functions of the communication method provided in the above-described method embodiments by running the non-volatile software programs, instructions, and modules stored in the memory 403.

[0106] Memory 403 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 403 may optionally include memory remotely located relative to processor 402, which can be connected to processor 402 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0107] The program instructions / modules are stored in the memory 403 and, when executed by one or more processors 402, execute the communication method in any of the above method embodiments.

[0108] This application also provides a computer-readable storage medium storing computer-executable instructions that are executed by one or more processors, for example... Figure 4 One of the processors 402 can enable the one or more processors to execute the communication method in any of the above method embodiments.

[0109] This application also provides a communication chip, which includes at least one processor and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the communication method in any of the above method embodiments.

[0110] This application also provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions that, when executed by a charging device, cause the charging device to perform any of the communication methods described above.

[0111] The device or equipment embodiments described above are merely illustrative. The unit modules described as separate components may or may not be physically separate. The components shown as module units may or may not be physical units; that is, they may be located in one place or distributed across multiple network module units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0112] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and not to limit them; under the concept of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of this application as described above, which are not provided in detail for the sake of brevity; although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A communication method, characterized in that, The communication method, applied to charging devices, includes: The electric vehicle receives a first request message, which is an SDP request message and includes indication information that the electric vehicle supports TLS communication. The electric vehicle and the charging device communicate based on the ISO15118 protocol. The system acquires historical TLS communication link establishment information between the electric vehicle and the charging device. If the historical TLS communication link establishment information indicates that the establishment of a TLS communication link between the electric vehicle and the charging device failed, a first response message is sent to the electric vehicle. The first response message is an SDP response message, used to indicate that a non-TLS communication link (TCP communication link) should be established between the electric vehicle and the charging device. The non-TLS communication link is displayed as a TCP communication link, and the reason for the failure to establish the TLS communication link is shown. The reason for the failure includes the failure of the electric vehicle's first certificate to verify the charging device's second certificate. The first certificate is a V2G root certificate, and the second certificate is a SECC certificate. Sending the first response message to the electric vehicle includes: acquiring the first moment when the establishment of the TLS communication link between the electric vehicle and the charging device failed, where the first moment is the moment when the charging session between the electric vehicle and the charging device terminates; if the time interval between the first moment and the second moment when the first request message sent by the electric vehicle is received is less than a preset time interval, the first response message is sent to the electric vehicle. The preset time interval is a time interval set based on empirical values ​​or historical data.

2. The communication method according to claim 1, characterized in that, After sending the first response message to the electric vehicle, the communication method further includes: Display primary business information; After receiving the first service response information input by the first target user, a non-TLS communication link is established with the electric vehicle to charge the electric vehicle.

3. The communication method according to claim 1, characterized in that, After sending the first response message to the electric vehicle, the communication method further includes: Obtain the identity information of the second target user, who is the user bound to the electric vehicle; If the second target user is determined to be a preset authenticated user based on the identity information, a non-TLS communication link is established between the user and the electric vehicle to charge the electric vehicle.

4. The communication method according to claim 2, characterized in that, After sending the first response message to the electric vehicle and before displaying the first service information, the communication method further includes: Obtain a first certificate for the electric vehicle and a second certificate for the charging equipment; If the verification of the second certificate using the first certificate fails, then the certificate information of the first certificate and the certificate information of the second certificate are displayed.

5. The communication method according to claim 1, characterized in that, The communication method further includes: If the historical TLS communication link establishment information is empty or the historical TLS communication link establishment information indicates that the TLS communication link between the electric vehicle and the charging device has been successfully established, then a second response message is sent to the electric vehicle. The second response message is used to indicate that the TLS communication link between the electric vehicle and the charging device has been established.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the communication method as described in any one of claims 1-5.

7. A communication chip, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the communication method as described in any one of claims 1 to 5.

8. A charging device, characterized in that, include: Communication controller for charging equipment; At least one processor is communicatively connected to the charging device communication controller; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the communication method as described in any one of claims 1 to 5.