Charging pile authorization and unlocking method and charging pile authorization method
By receiving and processing the authorization notification from the charging pile server, the target vehicle can unlock the authorized charging pile without manual unlocking, solving the problem of cumbersome charging piles and ensuring safety and convenience of electricity use.
Patent Information
- Application Number
- CN202411934247.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-12-25
AI Technical Summary
The electronic anti-theft lock of the home charging pile needs to be unlocked manually when the car owner uses it normally, which leads to inconvenience in use and is prone to prevent the vehicle from charging normally due to forgetting to unlock, affecting the user's charging experience.
By receiving the authorization notification sent by the charging pile server, the authorization relationship and communication key between the target vehicle and the authorized charging pile are determined and saved, so that the authorized charging pile can be unlocked and charged without manual unlocking.
It solves the problem of cumbersome charging piles, ensures the safety and rights of users of electricity use, and improves the convenience and efficiency of charging.
Smart Images

Figure CN119810971A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charging piles, and in particular to a charging pile authorization and unlocking method and a charging pile authorization method. Background Art
[0002] With the popularity of electric vehicles, home charging piles are widely used as a convenient charging device. Home charging piles are usually connected to the home power grid to provide power for vehicles. However, due to its convenience, if there are no safety measures, it is easy for others to use it illegally, resulting in the theft of electricity. In order to prevent this from happening, home charging piles are generally equipped with electronic anti-theft locks.
[0003] The electronic anti-theft lock uses a specific control mechanism and will only be unlocked when certain conditions (such as owner identity verification, etc.) are met, allowing power output for charging, effectively protecting the user's electricity safety and rights.
[0004] However, the current electronic anti-theft locks of home charging piles usually need to be manually unlocked when the car owner uses them normally. This manual unlocking method has many inconveniences. For example, every time the car owner uses the home charging pile, he needs to walk near the charging pile and unlock it by operating the physical buttons on the charging pile or using a mobile phone application. In actual use, many car owners forget to unlock the car due to haste, carelessness or operating habits. Once the unlocking is forgotten, the vehicle will not be able to charge normally, which brings great trouble to the car owner and seriously affects the user's charging experience.
[0005] Therefore, how to solve the cumbersome problem of charging with home charging piles while ensuring the users' electricity safety and rights has become an urgent problem to be solved. Summary of the invention
[0006] In view of this, the present invention provides a charging pile authorization and unlocking method and a charging pile authorization method to solve the problem of cumbersome charging of home charging piles while ensuring the safety and rights of users in electricity use.
[0007] In a first aspect, the present invention provides a charging pile authorization and unlocking method, which is applied to a target vehicle, and the method comprises:
[0008] Receive an authorization notification sent by a charging pile server, the authorization notification including the charging pile identification information and the communication key corresponding to the authorized charging pile to be authorized; the authorization notification is used to indicate that there is an authorization relationship between the target vehicle and the authorized charging pile;
[0009] Based on the authorization notification, determine and save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, and send confirmation information to the charging pile server;
[0010] Based on the communication key corresponding to the authorized charging pile, the authorized charging pile is unlocked, and the target vehicle is charged using the authorized charging pile.
[0011] The charging pile authorization and unlocking method provided in the embodiment of the present application receives the authorization notification sent by the charging pile server, and based on the authorization notification, determines and saves the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, thereby ensuring the accuracy of the authorization relationship between the target vehicle and the authorized charging pile that is determined and saved. Then. And send a confirmation message to the charging pile server, so that the charging pile server can determine that the authorization relationship between the target vehicle and the authorized charging pile is saved in the target vehicle. Finally, the target vehicle unlocks the authorized charging pile based on the communication key corresponding to the authorized charging pile, and uses the authorized charging pile to charge the target vehicle. Thereby avoiding the authorized charging pile from being unlocked by other vehicles, resulting in the user's electricity safety and rights and interests cannot be guaranteed. In addition, the above method does not require the user to manually unlock. Therefore, the above method achieves the solution to the cumbersome problem of charging a home charging pile while ensuring the user's electricity safety and rights and interests.
[0012] In an optional implementation, based on the authorization notification, determining and saving the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, and sending confirmation information to the charging pile server, including:
[0013] Decoding the authorization notification to obtain a decoded notification;
[0014] Generate a decryption key according to the charging pile identification information corresponding to the authorized charging pile;
[0015] Based on the decryption key and the preset decryption algorithm, the decoding notification is decrypted to determine the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile;
[0016] The authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile are saved.
[0017] The charging pile authorization and unlocking method provided in the embodiment of the present application decodes the authorization notification to obtain a decoding notification, thereby ensuring the accuracy of the obtained decoding notification. Then, according to the charging pile identification information corresponding to the authorized charging pile, a decryption key is generated to ensure the accuracy of the generated decryption key, so that the decoding notification can be decrypted based on the decryption key and the preset decryption algorithm to determine the authorization relationship between the target vehicle and the authorized charging pile, thereby ensuring the accuracy of determining the authorization relationship between the target vehicle and the authorized charging pile, and then save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile. Thus, the target vehicle can unlock the authorized charging pile based on the authorization relationship between the saved target vehicle and the authorized charging pile, and use the authorized charging pile to charge the target vehicle. Thus, while ensuring the safety and rights of the user's electricity use, the problem of cumbersome charging of home charging piles is solved.
[0018] In an optional implementation, based on the communication key corresponding to the authorized charging pile, the authorized charging pile is unlocked, and the target vehicle is charged using the authorized charging pile, including:
[0019] Monitor whether a charging gun is inserted into the charging port of the target vehicle;
[0020] If a charging gun is inserted into the charging port, monitor whether the target vehicle is currently in charging status;
[0021] If the target vehicle is not currently in a charging state, based on the authorization relationship between the target vehicle and the authorized charging pile, search for an authorized charging pile that has an authorization relationship with the target vehicle;
[0022] Based on the communication key corresponding to the authorized charging pile, the authorized charging pile is unlocked, and the target vehicle is charged using the authorized charging pile, and a charging curve is generated in real time.
[0023] The charging pile authorization and unlocking method provided in the embodiment of the present application monitors whether a charging gun is inserted into the charging port of the target vehicle; if a charging gun is inserted into the charging port, it monitors whether the target vehicle is currently in a charging state; if the target vehicle is not currently in a charging state, based on the authorization relationship between the target vehicle and the authorized charging pile, it searches for an authorized charging pile with an authorization relationship with the target vehicle, thereby ensuring the accuracy of the authorized charging pile found. Based on the communication key corresponding to the authorized charging pile, the authorized charging pile is unlocked, and the target vehicle is charged using the authorized charging pile, and a charging curve is generated in real time, so that the user does not need to manually unlock the authorized charging pile, thereby improving the efficiency of charging based on the charging pile and improving the intelligent charging experience.
[0024] In an optional implementation, based on the authorization relationship between the target vehicle and the authorized charging pile, searching for an authorized charging pile having an authorization relationship with the target vehicle includes:
[0025] Based on the authorization relationship between the target vehicle and the authorized charging pile, obtaining the charging pile identification information of the authorized charging pile having the authorization relationship with the target vehicle;
[0026] Based on Bluetooth communication, establish a communication connection with each candidate charging pile within a preset range of the target vehicle;
[0027] Obtain candidate identification information of each candidate charging pile;
[0028] Compare the charging pile identification information of the authorized charging pile with the candidate identification information of each candidate charging pile;
[0029] According to the comparison results, the authorized charging pile is determined from the candidate charging piles.
[0030] The charging pile authorization and unlocking method provided in the embodiment of the present application obtains the charging pile identification information of the authorized charging pile that has an authorization relationship with the target vehicle based on the authorization relationship between the target vehicle and the authorized charging pile; establishes a communication connection with each candidate charging pile within a preset range of the target vehicle based on Bluetooth communication; obtains the candidate identification information of each candidate charging pile; compares the charging pile identification information of the authorized charging pile with the candidate identification information of each candidate charging pile; thereby, based on the comparison result, the authorized charging pile that has an authorization relationship with the target vehicle can be determined from each candidate charging pile, thereby ensuring the accuracy and efficiency of the determined authorized charging pile.
[0031] In an optional implementation, the number of authorized charging piles is at least one, and based on the communication key corresponding to the authorized charging pile, the authorized charging pile is unlocked, and the target vehicle is charged using the authorized charging pile, including:
[0032] Send an authentication request to each authorized charging pile, and determine the authorized charging pile that sends the authentication result to the target vehicle as a standby charging pile;
[0033] Based on the communication connection with each standby charging pile, obtaining the current status corresponding to each standby charging pile;
[0034] Determine a standby charging pile that is currently in an idle state as a target charging pile;
[0035] Based on the communication key corresponding to the authorized charging pile, an unlocking instruction is sent to the target charging pile to unlock the target charging pile;
[0036] After the target charging pile is unlocked, the target battery in the target vehicle is charged based on the target charging pile.
[0037] The charging pile authorization and unlocking method provided in the embodiment of the present application sends an authentication request to each authorized charging pile, and determines the authorized charging pile that sends the authentication result to the target vehicle as a standby charging pile, thereby ensuring that the target vehicle is connected to a legal authorized charging pile, and the vehicle-side user has the right to use the authorized charging pile. Based on the communication connection with each standby charging pile, the current state corresponding to each standby charging pile is obtained, and the accuracy of the current state corresponding to the obtained authorized charging pile is ensured. The standby charging pile whose current state is idle is determined as the target charging pile, which ensures that the determined target charging pile can charge the target vehicle. Based on the communication key corresponding to the authorized charging pile, an unlocking instruction is sent to the target charging pile to unlock the target charging pile, so that there is no need for manual unlocking of the target charging pile. After the target charging pile is unlocked, the target battery in the target vehicle is charged based on the target charging pile, thereby improving the efficiency of charging the target vehicle.
[0038] In a second aspect, the present invention provides a charging pile authorization method, which is applied to the charging pile server in the first aspect or any corresponding embodiment thereof, and the method includes:
[0039] Receive an authorization request sent by a terminal device corresponding to the target vehicle, the authorization request including terminal identification information corresponding to the terminal device, vehicle identification information corresponding to the target vehicle, and charging pile identification information corresponding to an authorized charging pile to be authorized with the target vehicle; the authorization request is used to request authorization of an authorization relationship between the target vehicle, the authorized charging pile, and the terminal device;
[0040] Monitor whether the authorized charging pile is in an activated state. The activated state is used to indicate that the authorized charging pile is in an authorized state.
[0041] If the authorized charging pile is in an activated state, an authorization notification is sent to the target vehicle; the authorization notification includes the charging pile identification information corresponding to the authorized charging pile; the authorization notification is used to indicate that there is an authorization relationship between the target vehicle and the authorized charging pile;
[0042] Receive confirmation information sent by the target vehicle, and store the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device;
[0043] The authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device are synchronously sent to the terminal device.
[0044] The charging pile authorization method provided in the embodiment of the present application receives an authorization request sent by a terminal device corresponding to the target vehicle. Then, monitor whether the authorized charging pile is in an activated state. If the authorized charging pile is in an activated state, send an authorization notification to the target vehicle. Thus, the target vehicle can determine and save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile. Furthermore, the target vehicle can unlock the authorized charging pile based on the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, and use the authorized charging pile to charge the target vehicle. Then, receive the confirmation information sent by the target vehicle, and store the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device; send the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device to the terminal device synchronously. Thus, the authorization relationship between the target vehicle, the authorized charging pile and the terminal device can be saved and displayed in the terminal device. Thus, according to the authorization relationship between the target vehicle, the authorized charging pile and the terminal device, the authorized charging pile can be unlocked, and the target vehicle can be charged using the authorized charging pile. The above method does not require the user to manually unlock. Therefore, the above method solves the cumbersome problem of charging with home charging piles while ensuring the user's electricity safety and rights.
[0045] In an optional implementation, if the authorized charging pile is in an activated state, an authorization notification is sent to the target vehicle, including:
[0046] If the authorized charging pile is in an activated state, a verification request is sent to the user server, the verification request includes the terminal identification information and the vehicle identification information, and the verification request is used to request the user server to verify the binding relationship between the terminal device and the target vehicle;
[0047] Receive the verification result sent by the user server;
[0048] If the verification result indicates that there is a binding relationship between the terminal device and the target vehicle, an authorization notification is sent to the target vehicle according to the authorization request.
[0049] The charging pile authorization method provided in the embodiment of the present application, if the authorized charging pile is in an activated state, sends a verification request to the user server, so as to verify the binding relationship between the terminal device and the target vehicle, and receive the verification result sent by the user server; if the verification result indicates that there is a binding relationship between the terminal device and the target vehicle, then according to the authorization request, an authorization notification is sent to the target vehicle, thereby ensuring the accuracy and security of sending the authorization notification to the target vehicle.
[0050] In an optional implementation, before monitoring whether the authorized charging pile is in an activated state, the method further includes:
[0051] Detect whether there is an authorization relationship between the target vehicle, the authorized charging pile, and the terminal device;
[0052] If there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device, the authorization relationship and the authorization status between the target vehicle, the authorized charging pile and the terminal device are returned to the terminal device;
[0053] If there is no authorization relationship between the target vehicle, the authorized charging pile and the terminal device, it is monitored whether the authorized charging pile is in an activated state.
[0054] The charging pile authorization method provided in the embodiment of the present application detects whether there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device; if there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device, the authorization relationship and the authorization status between the target vehicle, the authorized charging pile and the terminal device are returned to the terminal device, so that there is no need to perform the operation of binding the authorization relationship between the target vehicle, the authorized charging pile and the terminal device again. If there is no authorization relationship between the target vehicle, the authorized charging pile and the terminal device, it monitors whether the authorized charging pile is in an activated state, and then continues to perform the operation of binding the authorization relationship between the target vehicle, the authorized charging pile and the terminal device. This can improve efficiency.
[0055] In an optional embodiment, the method further includes:
[0056] Obtaining a processing request sent by a terminal device; the processing request includes at least one of terminal identification information of the terminal device, vehicle identification information corresponding to other vehicles, and charging pile identification information corresponding to the charging pile to be processed;
[0057] The processing request is identified and processed according to the authorization relationship and authorization status between other vehicles, the charging pile to be processed and the terminal device.
[0058] The charging pile authorization method provided in the embodiment of the present application obtains a processing request sent by a terminal device; identifies the processing request, and processes the processing request according to the authorization relationship and authorization status between the target vehicle, the charging pile to be processed, and the terminal device, thereby ensuring the accuracy of the processing of the processing request.
[0059] In a third aspect, the present invention provides a target vehicle, comprising: an electronic device and a vehicle body, the electronic device comprising a first memory and a first processor, the first memory and the first processor being communicatively connected to each other, the first memory storing first computer instructions, the first processor executing the first computer instructions to execute the charging pile authorization and unlocking method of the first aspect or any corresponding embodiment thereof.
[0060] In a fourth aspect, the present invention provides a charging pile server, comprising: a second memory and a second processor, the second memory and the second processor are communicatively connected to each other, the second memory stores second computer instructions, and the second processor executes the charging pile authorization method of the second aspect or any corresponding embodiment thereof by executing the second computer instructions. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0062] Figure 1 is a flow chart of a charging pile authorization and unlocking method according to an embodiment of the present invention;
[0063] Figure 2 is a flow chart of another charging pile authorization and unlocking method according to an embodiment of the present invention;
[0064] Figure 3 is a schematic diagram of a charging process according to an embodiment of the present invention;
[0065] Figure 4 is a schematic diagram of charging completion according to an embodiment of the present invention;
[0066] Figure 5 is a flow chart of another charging pile authorization and unlocking method according to an embodiment of the present invention;
[0067] Figure 6 is a flow chart of “authorization and deauthorization” and “authorization status synchronization” according to an embodiment of the present invention;
[0068] Figure 7 is a flow chart of another charging pile authorization and unlocking method according to an embodiment of the present invention;
[0069] Figure 8 is a schematic diagram of a process for processing a processing request according to an embodiment of the present invention;
[0070] Fig. 9 is a flowchart of a charging system operation involving multiple components according to an embodiment of the present invention;
[0071] Fig.10 is a structural block diagram of a charging pile authorization and unlocking device according to an embodiment of the present invention;
[0072] Fig.11is a structural block diagram of a charging pile authorization device according to an embodiment of the present invention;
[0073] Fig.12 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0074] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0075] With the popularity of electric vehicles, home charging piles are widely used as a convenient charging device. Home charging piles are usually connected to the home power grid to provide power for vehicles. However, due to its convenience, if there are no safety measures, it is easy for others to use it illegally, resulting in the theft of electricity. In order to prevent this from happening, home charging piles are generally equipped with electronic anti-theft locks.
[0076] The electronic anti-theft lock uses a specific control mechanism and will only be unlocked when certain conditions (such as owner identity verification, etc.) are met, allowing power output for charging, effectively protecting the user's electricity safety and rights.
[0077] However, the current electronic anti-theft locks of home charging piles usually need to be manually unlocked when the car owner uses them normally. This manual unlocking method has many inconveniences. For example, every time the car owner uses the home charging pile, he needs to walk near the charging pile and unlock it by operating the physical buttons on the charging pile or using a mobile phone application. In actual use, many car owners forget to unlock the car due to haste, carelessness or operating habits. Once the unlocking is forgotten, the vehicle will not be able to charge normally, which brings great trouble to the car owner and seriously affects the user's charging experience.
[0078] Therefore, how to solve the cumbersome problem of charging with home charging piles while ensuring the users' electricity safety and rights has become an urgent problem to be solved.
[0079] It should be noted that the method for authorizing and unlocking a charging pile provided in the embodiment of the present application may be executed by a device for authorizing and unlocking a charging pile, and the device for authorizing and unlocking a charging pile may be implemented as part or all of an electronic device through software, hardware, or a combination of software and hardware, wherein the electronic device may be a control device in a target vehicle. In the following method embodiments, the execution subject is taken as an example of a target vehicle for explanation.
[0080] According to an embodiment of the present invention, an embodiment of a charging pile authorization and unlocking method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0081] In this embodiment, a charging pile authorization and unlocking method is provided, which can be used for the above-mentioned target vehicle. Figure 1 is a flow chart of a charging pile authorization and unlocking method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0082] Step S101, receiving an authorization notification sent by a charging pile server.
[0083] The authorization notification includes the charging pile identification information and the communication key corresponding to the authorized charging pile to be authorized; the authorization notification is used to indicate that there is an authorization relationship between the target vehicle and the authorized charging pile.
[0084] Specifically, the charging pile server may receive an authorization request sent by a terminal device corresponding to the target vehicle. The authorization request includes terminal identification information corresponding to the terminal device, vehicle identification information corresponding to the target vehicle, and charging pile identification information corresponding to the authorized charging pile to be authorized with the target vehicle; the authorization request is used to request authorization for the authorization relationship between the target vehicle, the authorized charging pile, and the terminal device.
[0085] Then, the charging pile server monitors whether the authorized charging pile is in an activated state. The activated state is used to indicate that the authorized charging pile is in an authorized state. If the authorized charging pile is in an activated state, the charging pile server establishes a communication connection with the target vehicle based on the vehicle identification information corresponding to the target vehicle, and then sends an authorization notification to the target vehicle based on the communication connection with the target vehicle. Thus, the target vehicle can receive the authorization notification sent by the charging pile server.
[0086] Step S102, based on the authorization notification, determine and save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, and send confirmation information to the charging pile server.
[0087] Specifically, after receiving the authorization notification sent by the charging pile server, the target vehicle identifies the authorization notification, determines the authorization relationship between the target vehicle and the authorized charging pile, and saves the authorization relationship between the target vehicle and the authorized charging pile. Then, based on the communication connection with the charging pile server, the target vehicle sends confirmation information to the charging pile server, so that the charging pile server can determine that the target vehicle has saved the authorization relationship between the target vehicle and the authorized charging pile.
[0088] This step will be described in detail below.
[0089] Step S103: unlock the authorized charging pile based on the communication key corresponding to the authorized charging pile, and use the authorized charging pile to charge the target vehicle.
[0090] Specifically, when the target vehicle needs to be charged, the target vehicle can unlock the authorized charging pile based on the authorization relationship between the target vehicle and the authorized charging pile and based on the communication key corresponding to the authorized charging pile, and use the authorized charging pile to charge the target vehicle.
[0091] This step will be described in detail below.
[0092] The charging pile authorization and unlocking method provided in the embodiment of the present application receives the authorization notification sent by the charging pile server, and based on the authorization notification, determines and saves the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, thereby ensuring the accuracy of the authorization relationship between the target vehicle and the authorized charging pile that is determined and saved. Then. And send a confirmation message to the charging pile server, so that the charging pile server can determine that the authorization relationship between the target vehicle and the authorized charging pile is saved in the target vehicle. Finally, the target vehicle unlocks the authorized charging pile based on the communication key corresponding to the authorized charging pile, and uses the authorized charging pile to charge the target vehicle. Thereby avoiding the authorized charging pile from being unlocked by other vehicles, resulting in the user's electricity safety and rights and interests cannot be guaranteed. In addition, the above method does not require the user to manually unlock. Therefore, the above method achieves the solution to the cumbersome problem of charging a home charging pile while ensuring the user's electricity safety and rights and interests.
[0093] In this embodiment, a charging pile authorization and unlocking method is provided, which can be used for the above-mentioned target vehicle. Figure 2 is a flow chart of a charging pile authorization and unlocking method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0094] Step S201, receiving an authorization notification sent by a charging pile server.
[0095] The authorization notification includes the charging pile identification information and the communication key corresponding to the authorized charging pile to be authorized; the authorization notification is used to indicate that there is an authorization relationship between the target vehicle and the authorized charging pile.
[0096] For details about this step, please refer to the above description of step S101, which will not be elaborated here.
[0097] Step S202, based on the authorization notification, determine and save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, and send confirmation information to the charging pile server.
[0098] Specifically, the above step S202 may include the following steps:
[0099] Step S2021, decode the authorization notification to obtain a decoded notification.
[0100] Specifically, after the target vehicle receives the authorization notification sent by the charging pile server, it can perform a Base64 decode operation on the authorization notification.
[0101] Among them, Base64 decode is the inverse process of Base64 encode, and its purpose is to restore the ciphertext obtained after encryption on the charging pile server, so as to perform subsequent decryption and restore the communication key operation.
[0102] Step S2022: Generate a decryption key based on the charging pile identification information corresponding to the authorized charging pile.
[0103] Specifically, when the charging pile server sends the authorization notification to the target vehicle, it will also send the encrypted version of the authorization notification to the target vehicle.
[0104] The target vehicle identifies the encryption method of the authorization notification, determines the generation process of the encryption key based on the charging pile identification information corresponding to the authorized charging pile, and then generates the decryption key based on the charging pile identification information corresponding to the authorized charging pile and the inverse process of the encryption key generation process.
[0105] Step S2023, based on the decryption key and the preset decryption algorithm, the decoding notification is decrypted to determine the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile.
[0106] Specifically, the electronic device can decrypt the decoding notification based on the decryption key and the preset decryption algorithm, determine the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, as well as the charging pile identification information corresponding to the authorized charging pile and the communication key of the authorized charging pile Bluetooth.
[0107] The preset decryption algorithm may be a symmetric encryption algorithm, for example, when the AES algorithm is used, the decryption key is used as input, and the ciphertext data in the decoding notification is decrypted block by block or according to the corresponding rules according to the block cipher mode (such as CBC, ECB, etc.) specified by the AES algorithm, and the ciphertext data in the decoding notification is decrypted and calculated block by block or according to the corresponding rules, and the ciphertext is gradually restored to the original plaintext information. It may also be an asymmetric encryption algorithm, for example, when the RSA algorithm is used, the corresponding private key (as the decryption key) is used, and the ciphertext in the encoded notification is decrypted according to its mathematical operation rules, and the original message content is restored through related mathematical operations such as modular exponentiation.
[0108] For example, the target vehicle can decrypt the decoding notification according to the decryption key using the AES-CBC encryption algorithm and zeropadding (zero padding, a way to fill the data to ensure that the data length meets the encryption algorithm requirements). Through this decryption process, the communication key of the authorized charging pile Bluetooth can be restored, and finally the charging pile identification information of the authorized charging pile and the communication key of the authorized charging pile Bluetooth are saved locally on the target vehicle side, which is convenient for subsequent use in related scenarios, such as realizing functions such as secure communication between the target vehicle and the authorized charging pile via Bluetooth.
[0109] Step S2024, saving the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile.
[0110] Specifically, the target vehicle stores the authorization relationship between the target vehicle and the authorized charging pile, the charging pile identification information corresponding to the authorized charging pile, and the communication key of the authorized charging pile Bluetooth locally on the target vehicle side.
[0111] Step S203: unlock the authorized charging pile based on the communication key corresponding to the authorized charging pile, and use the authorized charging pile to charge the target vehicle.
[0112] Specifically, the above step S203 may include the following steps:
[0113] Step S2031, monitor whether a charging gun is inserted into the charging port of the target vehicle.
[0114] Optionally, the target vehicle may receive an electrical signal sent by a mechanical switch of the charging port, and then monitor whether a charging gun is inserted into the charging port of the target vehicle based on the electrical signal sent by the mechanical switch of the charging port.
[0115] It should be noted that a simple mechanical switch can be installed inside the charging port. When the charging gun is inserted into the charging port, the charging gun will push or trigger the mechanical switch. The change of state of the mechanical switch (from open to closed) will generate an electrical signal.
[0116] Optionally, the target vehicle may detect the induced current of the charging port, and monitor whether a charging gun is inserted into the charging port of the target vehicle based on the induced current.
[0117] It should be noted that the charging gun and the charging port can each have an electromagnetic induction element. When the charging gun is inserted into the charging port, the proximity of the electromagnetic induction element will cause a change in the magnetic field or electric field. According to the law of electromagnetic induction, an induced current will be generated. The electronic equipment of the target vehicle can detect this induced current and determine that the charging gun has been inserted. The advantage of this method is that there is no mechanical contact part, which reduces the possibility of mechanical wear and failure.
[0118] Optionally, the target vehicle can monitor whether a charging gun is inserted into the charging port of the target vehicle based on a photoelectric signal.
[0119] Specifically, a light transmitter and a light receiver are set in the charging port, and their light paths will be blocked when the charging gun is inserted. When the light path is blocked, the light receiver cannot receive the light signal, and a signal change will be generated.
[0120] Step S2032: If a charging gun is inserted into the charging port, monitor whether the target vehicle is currently in a charging state.
[0121] Optionally, if a charging gun is inserted into the charging port, the target vehicle can measure the current through the circuit in real time based on the current sensor. When the target vehicle is in a charging state, a certain amount of charging current will flow from the charging pile to the target battery of the target vehicle.
[0122] Optionally, if a charging gun is inserted into the charging port, the target vehicle can monitor the terminal voltage of the target battery based on the voltage sensor connected to both ends of the target battery. During the charging process, the voltage of the target battery will gradually increase. According to the charging characteristic curve of the target battery, when the mother battery voltage is in the voltage range corresponding to the charging stage, it can be determined that the target vehicle is charging.
[0123] Step S2033: if the target vehicle is not currently in a charging state, based on the authorization relationship between the target vehicle and the authorized charging pile, an authorized charging pile having an authorization relationship with the target vehicle is searched.
[0124] Specifically, the above step S2033 of “searching for an authorized charging pile having an authorized relationship with the target vehicle based on the authorization relationship between the target vehicle and the authorized charging pile” may include the following steps:
[0125] Step a1: based on the authorization relationship between the target vehicle and the authorized charging pile, obtain the charging pile identification information of the authorized charging pile that has the authorization relationship with the target vehicle.
[0126] Specifically, if the target vehicle is not currently in a charging state, the target vehicle searches the storage space for the charging pile identification information of the authorized charging pile that has an authorization relationship with the target vehicle based on the authorization relationship between the target vehicle and the authorized charging pile.
[0127] Step a2: establishing a communication connection with each candidate charging pile within a preset range of the target vehicle based on Bluetooth communication.
[0128] Specifically, the target vehicle can start scanning various candidate charging piles nearby through the IOT Bluetooth module, thereby establishing a communication connection with each candidate charging pile within a preset range of the target vehicle based on Bluetooth communication.
[0129] Step a3, obtaining candidate identification information of each candidate charging pile.
[0130] Specifically, the target vehicle may obtain the candidate identification information of each candidate charging pile based on the communication connection with each candidate charging pile.
[0131] Step a4: comparing the charging pile identification information of the authorized charging pile with the candidate identification information of each candidate charging pile.
[0132] Specifically, the target vehicle compares the charging pile identification information of the authorized charging pile with the candidate identification information of each candidate charging pile.
[0133] Step a5: Determine the authorized charging pile from the candidate charging piles according to the comparison result.
[0134] Specifically, if the charging pile identification information of the authorized charging pile is consistent with the candidate identification information of the candidate charging pile, the candidate charging pile whose candidate identification information is consistent with the charging pile identification information of the authorized charging pile is determined as the authorized charging pile.
[0135] Step S2034, based on the communication key corresponding to the authorized charging pile, unlock the authorized charging pile, use the authorized charging pile to charge the target vehicle, and generate a charging curve in real time.
[0136] Specifically, the number of authorized charging piles is at least one, and the above step S2034 of "unlocking the authorized charging pile based on the communication key corresponding to the authorized charging pile, and using the authorized charging pile to charge the target vehicle" may include the following steps:
[0137] Step b1, sending an authentication request to each authorized charging pile, and determining the authorized charging pile that sends the authentication result to the target vehicle as the standby charging pile.
[0138] Specifically, the electronic device may send an authentication request to each authorized charging post based on the Bluetooth communication connection with the authorized charging post, wherein the authentication request may include vehicle identification information corresponding to the target vehicle and a charging request.
[0139] After receiving the authentication request sent by the target vehicle, the authorized charging pile compares the vehicle identification information corresponding to the target vehicle with the vehicle identification information of the authorized vehicle stored in the authorized charging pile. If the vehicle identification information corresponding to the target vehicle is consistent with the vehicle identification information of the authorized vehicle, the authentication result is sent to the target vehicle. The authentication result indicates that there is an authorized relationship between the target vehicle and the backup charging pile, and the target vehicle can use the backup charging pile for charging.
[0140] Then, the target vehicle determines the authorized charging pile that sends the authentication result to the target vehicle as the backup charging pile.
[0141] Step b2: based on the communication connection with each standby charging pile, obtaining the current status corresponding to each standby charging pile.
[0142] Specifically, the target vehicle can obtain the current status of each standby charging pile based on the communication connection with each standby charging pile.
[0143] Step b3: determine the standby charging pile that is currently in an idle state as the target charging pile.
[0144] Specifically, the target vehicle may determine a standby charging pile that is currently in an idle state as a target charging pile.
[0145] Step b4: Based on the communication key corresponding to the authorized charging pile, an unlocking instruction is sent to the target charging pile to unlock the target charging pile.
[0146] Specifically, the target vehicle can search the storage space for the communication keys corresponding to each authorized charging pile, and determine the communication key corresponding to the target charging pile from the communication keys corresponding to each authorized charging pile. Then, the target vehicle generates an unlock instruction. This instruction may be a simple digital code or a data structure with a specific format, which contains information such as the charging pile identification information of the target charging pile, the unlock request type, etc.
[0147] Then, the target vehicle uses the communication key corresponding to the target charging pile to encrypt the unlocking instruction. If the communication key is a symmetric key, the same key is used directly for encryption operations, such as using the Advanced Encryption Standard (AES) algorithm. For example, the unlocking instruction "UNLOCK-CHARGER-001" (assuming that this is an unlocking instruction for the charging pile numbered 001) is encrypted using the AES algorithm and the communication key to obtain an encrypted byte sequence.
[0148] The target vehicle then sends the encrypted unlocking command to the target charging pile through the communication channel (such as Bluetooth or Wi-Fi) established with the target charging pile. During the sending process, some additional information may also be included, such as the vehicle identification code, which is used by the charging pile to verify whether the command comes from a legitimate vehicle.
[0149] For example, in the case of Bluetooth communication, the target vehicle will send the encrypted unlocking instruction as a Bluetooth data packet to the Bluetooth receiving module of the target charging pile.
[0150] After receiving the encrypted instruction from the target vehicle, the communication module of the target charging pile will first verify the identity of the target vehicle (by verifying the vehicle identification information and other information of the target vehicle).
[0151] If the target vehicle is legitimate, the target charger will use the pre-stored communication key (which matches the key used by the vehicle) to decrypt the encrypted unlock command. Continuing with the above example, the target charger uses the same AES algorithm and communication key to decrypt the received byte sequence and restore the original unlock command "UNLOCK-CHARGER-001".
[0152] After successfully decrypting and verifying the unlock command, the control unit of the target charging station triggers the internal unlocking mechanism, which may involve controlling the relay of the electronic lock, activating the mechanical unlocking device, etc.
[0153] For example, if the charging gun of the charging pile is locked by an electromagnetic lock, after receiving and verifying the unlocking command, the control circuit of the charging pile will cut off the power supply of the electromagnetic lock, so that the charging gun can be pulled out, completing the unlocking operation of the charging pile.
[0154] Step b5: After the target charging pile is unlocked, the target battery in the target vehicle is charged based on the target charging pile.
[0155] Specifically, after the target charging pile is unlocked, the target vehicle charges the target battery in the target vehicle based on the target charging pile.
[0156] During the charging process, the vehicle-side SDK in the target vehicle detects the charging progress and SOC changes. Every 1% change, the vehicle-side charging information of the target vehicle is reported, including charging status, current power, remaining time, start time, start endurance, current current, current voltage and current power. Figure 3 shown.
[0157] After charging is completed, the vehicle SDK in the target vehicle reports the charging status information, including charging status, current power, end time, and current battery life, and stops monitoring charging information. After the gun is drawn, the process is stopped and the gun drawing event is reported. Figure 4 shown.
[0158] The charging pile authorization and unlocking method provided in the embodiment of the present application decodes the authorization notification to obtain a decoding notification, thereby ensuring the accuracy of the obtained decoding notification. Then, according to the charging pile identification information corresponding to the authorized charging pile, a decryption key is generated to ensure the accuracy of the generated decryption key, so that the decoding notification can be decrypted based on the decryption key and the preset decryption algorithm to determine the authorization relationship between the target vehicle and the authorized charging pile, thereby ensuring the accuracy of determining the authorization relationship between the target vehicle and the authorized charging pile, and then save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile. Thus, the target vehicle can unlock the authorized charging pile based on the authorization relationship between the saved target vehicle and the authorized charging pile, and use the authorized charging pile to charge the target vehicle. Thus, while ensuring the safety and rights of the user's electricity use, the problem of cumbersome charging of home charging piles is solved.
[0159] In this embodiment, a charging pile authorization method is provided, which is applied to the above-mentioned charging pile server. Figure 5 is a flow chart of a charging pile authorization method according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:
[0160] Step S301, receiving an authorization request sent by a terminal device corresponding to the target vehicle.
[0161] The authorization request includes the terminal identification information corresponding to the terminal device, the vehicle identification information corresponding to the target vehicle, and the charging pile identification information corresponding to the authorized charging pile to be authorized with the target vehicle. The authorization request is used to request authorization for the authorization relationship between the target vehicle, the authorized charging pile, and the terminal device.
[0162] Specifically, the charging pile server can receive an authorization request sent by a terminal device that is communicatively connected to the target vehicle.
[0163] Step S302, detecting whether there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device.
[0164] Specifically, the charging pile server detects whether there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device in the storage space of the charging pile server based on the terminal identification information corresponding to the terminal device included in the authorization request, the vehicle identification information corresponding to the target vehicle, and the charging pile identification information corresponding to the authorized charging pile that has an authorization relationship with the target vehicle.
[0165] Step S303: If there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device, the authorization relationship and the authorization status between the target vehicle, the authorized charging pile and the terminal device are returned to the terminal device.
[0166] Specifically, if there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device in the storage space of the charging pile server, the charging pile server returns the authorization relationship and the authorization status between the target vehicle, the authorized charging pile and the terminal device to the terminal device.
[0167] Among them, the authorization status can be the authorized status.
[0168] Step S304: If there is no authorization relationship between the target vehicle, the authorized charging pile and the terminal device, monitor whether the authorized charging pile is in an activated state.
[0169] The activation state is used to indicate that the authorized charging pile is in an authorized state.
[0170] Specifically, if the storage space of the charging pile server does not contain an authorization relationship between the target vehicle, the authorized charging pile, and the terminal device, the charging pile server monitors whether the authorized charging pile is in an activated state.
[0171] Step S305: If the authorized charging pile is in an activated state, an authorization notification is sent to the target vehicle.
[0172] Among them, the authorization notification includes the charging pile identification information corresponding to the authorized charging pile; the authorization notification is used to indicate that there is an authorization relationship between the target vehicle and the authorized charging pile.
[0173] Specifically, if the authorized charging pile is in an activated state, an authorization notification is sent to the target vehicle.
[0174] Specifically, the above step S305 may include the following steps:
[0175] Step S3051: If the authorized charging pile is in an activated state, a verification request is sent to the user server.
[0176] The verification request includes terminal identification information and vehicle identification information, and the verification request is used to request the user server to verify the binding relationship between the terminal device and the target vehicle.
[0177] Specifically, if the authorized charging pile is in an activated state, the charging pile server may send a verification request to the user server corresponding to the target vehicle.
[0178] After the user server receives the verification request sent by the charging pile service, it searches for the binding relationship between the terminal device and the target vehicle in the storage space of the user server.
[0179] If the user server finds the binding relationship between the terminal device and the target vehicle in the storage space, it is determined that there is a binding relationship between the terminal device and the target vehicle.
[0180] If the user server does not find the binding relationship between the terminal device and the target vehicle in the storage space, it is determined that there is no binding relationship between the terminal device and the target vehicle.
[0181] Then, the user server sends the verification result to the charging pile server.
[0182] Step S3052, receiving the verification result sent by the user server.
[0183] Specifically, the charging pile server receives the verification result sent by the user server.
[0184] Step S3053: If the verification result indicates that there is a binding relationship between the terminal device and the target vehicle, an authorization notification is sent to the target vehicle according to the authorization request.
[0185] Specifically, the charging pile server identifies the verification result sent by the user server. If the verification result indicates that there is a binding relationship between the terminal device and the target vehicle, the charging pile server sends an authorization notification to the target vehicle according to the authorization request.
[0186] For example, the encryption algorithm that the charging pile server can use is AES128-CBC (Cipher BlockChaining). In this mode, the encryption process will group the plaintext data into fixed data block sizes (here 128 bits, or 16 bytes), and the encryption of each data block will depend on the encryption result of the previous data block, which can effectively enhance the security of encryption.
[0187] The specific encryption process can be as follows:
[0188] The charging pile server sets the encryption key (represented by K) to 16-byte data, and the communication key (represented by M) of the authorized charging pile is also required to be 16-byte data. According to the calculation logic of the encryption algorithm, the generation of ciphertext is achieved through the formula "ciphertext = AES-CBC (K, M)".
[0189] For example, a specific example is given. When the encryption key is 0x5849414f50454e47 (16 bytes in hexadecimal), the plaintext (that is, the communication key of the charging pile) is 0x3132333435363738AA3D567834AEF5 (16 bytes in hexadecimal), after the encryption operation, the ciphertext obtained is 0x5c5c4f4e85a060a032e1e9b97a692ba4 (16 bytes in hexadecimal). At the same time, the value of the initialization vector (iv) is specified as 0. The initialization vector is used for the encryption of the first data block in the CBC mode to increase randomness.
[0190] The charging pile server generates an authorization notification based on the encrypted charging pile identification information corresponding to the authorized charging pile to be authorized and the communication key, and sends it to the target vehicle.
[0191] Step S306, receiving confirmation information sent by the target vehicle, and storing the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device.
[0192] Specifically, the charging pile server receives the confirmation information sent by the target vehicle, and stores the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device.
[0193] In an optional implementation, if the charging pile server does not receive the confirmation information sent by the target vehicle within a preset time period, the authorization notification is sent to the target vehicle again.
[0194] For example, the charging pile server initiates a retry after a timeout failure, and the target vehicle checks whether the authorized charging pile has been authorized. If the authorized charging pile is not authorized, it is necessary to re-request the charging pile identification information corresponding to the authorized charging pile; if the authorized charging pile has been authorized, directly supplement and report the confirmation result (status).
[0195] Step S307, the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device are synchronously sent to the terminal device.
[0196] Specifically, the charging pile server synchronously sends the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device to the terminal device.
[0197] The terminal device can be a mobile phone. For example, when a user opens the charging interface, the mobile phone APP and the charging pile server will send the authorization switch status synchronously. The following situations will occur, which need to be handled by the mobile phone APP one by one:
[0198] a. When the mobile phone successfully obtains the latest status, the switch of the mobile APP displays the latest status and saves it locally.
[0199] b. When the mobile phone cannot obtain the latest status (possibly due to 4G network abnormalities), the mobile phone APP needs to first check whether the last switch status is saved locally.
[0200] b-1. If yes, display it to the user according to the last status.
[0201] b-2. If not, it will show network abnormality; (When a page appears, it will show “on” by default. If no page appears, it will show “network abnormality”).
[0202] For example, Figure 6 The figure shows the flowchart of "authorization and deauthorization" and "authorization status synchronization", which involves multiple system components, including terminal equipment, user server, charging platform, message center, vehicle-side Tbox, motor SDK, etc. The authorization and deauthorization process is as follows:
[0203] Starting point: Starting from "changes in the relationship between people and cars", first determine whether it is necessary to subscribe to the changes in the relationship between people and cars from the user server.
[0204] step:
[0205] If necessary, subscribe to the user server for changes in the person-vehicle relationship (UDID+VIN+SSD).
[0206] The user server returns the subscription result.
[0207] Based on the result, determine whether the subscription is successful. If successful, proceed to the next step; if unsuccessful, return the corresponding error message.
[0208] After successful subscription, the VIN+charging pile information will be notified, and the authorization status information of the corresponding VIN will be downloaded.
[0209] Perform verification. If the verification passes, confirm that the authorization or deauthorization operation is successful and feedback the result.
[0210] If the verification fails, a timeout message will appear and you will need to re-verify.
[0211] End point: Complete the authorization or deauthorization operation and provide feedback on the result.
[0212] The authorization status synchronization process includes the following:
[0213] Starting point: Starting from "on status (UDID+VIN+SSD+on status)", first determine whether there is a record of the person-vehicle relationship and authorization status locally.
[0214] step:
[0215] If it exists, check whether the local record (UDID+VIN+SSD+power-on status) exists.
[0216] If it exists, the corresponding result is returned; if it does not exist, it will prompt that there is no record and the above process needs to be executed again.
[0217] If no record exists locally, request the person-vehicle relationship and authorization status record from the message center.
[0218] After the message center returns the record, it will be verified.
[0219] If the verification passes, it confirms that the authorization status synchronization is successful and feedback is given; if the verification fails, it prompts that it has timed out and needs to be verified again.
[0220] End point: Complete the authorization status synchronization operation and feedback the result.
[0221] This flowchart is mainly used to handle the synchronization of vehicle-related authorization operations and authorization status, ensuring that information between various system components is accurately and timely updated.
[0222] The charging pile authorization and unlocking method provided in the embodiment of the present application receives an authorization request sent by a terminal device corresponding to the target vehicle. Detect whether there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device; if there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device, the authorization relationship and the authorization status between the target vehicle, the authorized charging pile and the terminal device are returned to the terminal device, so that there is no need to perform the operation of binding the authorization relationship between the target vehicle, the authorized charging pile and the terminal device again. If there is no authorization relationship between the target vehicle, the authorized charging pile and the terminal device, monitor whether the authorized charging pile is in an activated state. If the authorized charging pile is in an activated state, send a verification request to the user server, so that the binding relationship between the terminal device and the target vehicle can be verified, and receive the verification result sent by the user server; if the verification result indicates that there is a binding relationship between the terminal device and the target vehicle, send an authorization notification to the target vehicle according to the authorization request, thereby ensuring the accuracy and security of sending the authorization notification to the target vehicle.
[0223] Thus, the target vehicle can determine and save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile. Furthermore, the target vehicle can unlock the authorized charging pile based on the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, and use the authorized charging pile to charge the target vehicle. Then, the confirmation information sent by the target vehicle is received, and the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device are stored; the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device are synchronously sent to the terminal device. Thus, the authorization relationship between the target vehicle, the authorized charging pile and the terminal device can be saved and displayed in the terminal device. Thus, according to the authorization relationship between the target vehicle, the authorized charging pile and the terminal device, the authorized charging pile can be unlocked, and the target vehicle can be charged using the authorized charging pile. The above method does not require the user to manually unlock. Therefore, the above method solves the cumbersome problem of charging a home charging pile while ensuring the user's electricity safety and rights.
[0224] In an optional embodiment of the present application, as Figure 7 As shown, the above charging pile authorization and unlocking method may also include the following steps:
[0225] Step 401: Obtain a processing request sent by a terminal device.
[0226] The processing request includes at least one of the terminal identification information of the terminal device, the vehicle identification information corresponding to other vehicles, and the charging pile identification information corresponding to the charging pile to be processed.
[0227] Specifically, the charging pile server can receive a processing request sent by the terminal device based on the communication connection between the charging pile server and the terminal device.
[0228] Among them, the processing request can be any one of binding the target vehicle corresponding to the terminal device with the charging pile to be processed (authorization required), unbinding the target vehicle corresponding to the terminal device with the charging pile to be processed (release of authorization), adding a binding relationship between the terminal device and other vehicles (authorization required), deleting the binding relationship between the terminal device and other vehicles (release of authorization), and requesting an authorization relationship between the terminal device and other vehicles and the charging pile to be processed (authorization required).
[0229] Step 402, identifying the processing request, and processing the processing request according to the authorization relationship and authorization status between other vehicles, the charging pile to be processed and the terminal device.
[0230] Specifically, the charging pile server identifies the processing request, determines the authorization relationship and authorization status between other vehicles, the charging pile to be processed and the terminal device, and then processes the processing request according to the authorization relationship and authorization status between other vehicles, the charging pile to be processed and the terminal device.
[0231] For example, Figure 8 As shown, the processing request may include charging pile binding (authorization required) or charging pile unbinding (release of authorization) or adding a person-vehicle relationship (authorization required) or deleting a person-vehicle relationship (release of authorization) or requesting authorization information (authorization required).
[0232] The first step is to judge:
[0233] The charging pile server first checks whether the terminal identification information of the terminal device included in the processing request is the pile owner corresponding to the charging pile to be processed.
[0234] If yes, go to the next judgment node.
[0235] If no, no automatic authorization or deauthorization is required.
[0236] The second step is to judge:
[0237] At the second judgment node, the charging pile server checks whether the authorization information corresponding to the terminal identification information of the terminal device exists.
[0238] If it exists, go to the next judgment node.
[0239] If not present, no automatic authorization or deauthorization is required.
[0240] The third step is to judge:
[0241] At the third judgment node, the charging pile server checks whether there is an authorization relationship and authorization status between the target vehicle and the charging pile to be processed in the authorization information.
[0242] If it exists, go to the next judgment node.
[0243] If not present, no automatic authorization or deauthorization is required.
[0244] The fourth step is to judge:
[0245] At the fourth judgment node, the charging pile server checks whether there is a binding relationship between the terminal device and the target vehicle.
[0246] If it exists, go to the next judgment node.
[0247] If not present, no automatic authorization or deauthorization is required.
[0248] The fifth step is to judge:
[0249] At the fifth judgment node, the charging pile server checks whether there is an authorization relationship between the target vehicle and the charging pile to be processed.
[0250] If there is no authorization relationship between the target vehicle and the charging pile to be processed, enter the "Authorization of the target vehicle and the charging pile to be processed" branch.
[0251] If there is an authorization relationship between the target vehicle and the charging pile to be processed, enter the "Authorize or release authorization?" branch.
[0252] Authorization Operation
[0253] If authorization is required, execute the "process of executing authorization", wherein the process of executing authorization is as described in the above implementation, and then update and store the authorization information (UID+VIN+SSID+authorization status).
[0254] If authorization is not required, the authorization process is not performed.
[0255] Deauthorization Operation
[0256] If deauthorization is required, execute the "Deauthorization Process" and then update the stored authorization information (UID+VIN+SSID+authorization status).
[0257] If deauthorization is not required, the deauthorization process is not performed.
[0258] The charging pile authorization and unlocking method provided in the embodiment of the present application obtains a processing request sent by a terminal device; identifies the processing request, and processes the processing request according to the authorization relationship and authorization status between the target vehicle, the charging pile to be processed, and the terminal device, thereby ensuring the accuracy of the processing of the processing request.
[0259] In order to better introduce the charging pile authorization and unlocking method and the charging pile authorization method provided in the embodiment of the present application. The embodiment of the present application provides a charging system operation process involving multiple components, such as Fig. 9 The specific description is as follows:
[0260] User mobile phone: The user's mobile phone communicates with the charging pile via Bluetooth. The user's mobile phone can receive the charging pile status report and control the unlocking and unlocking operations of the charging pile.
[0261] Bluetooth charging pile: The Bluetooth charging pile communicates with the user's mobile phone via Bluetooth. It can receive unlocking and unlocking instructions from the user's mobile phone and report the status of the charging pile to the user's mobile phone.
[0262] Key Bluetooth: Key Bluetooth communicates with the Bluetooth charging pile for slow charging operation. It can realize automatic cover opening and linkage unlocking functions.
[0263] IOT Bluetooth: IOT Bluetooth communicates with the Bluetooth charging pile for fast charging operation. It can realize the function of opening the charging port cover and the charging pile unlocking status prompt.
[0264] BCM (Body Control Module): BCM communicates with TMU (Remote Monitoring Unit) through CAN (Controller Area Network). It receives control instructions from TMU and controls the relevant operations of the vehicle.
[0265] TMU (Remote Monitoring Unit): TMU communicates with BCM via CAN and communicates with TPCAN via UART (Universal Asynchronous Receiver / Transmitter). It is responsible for remote monitoring and control of vehicle related operations.
[0266] TPCAN: TPCAN communicates with TMU via UART and with CDCU (Charging Control and Distribution Unit) via status reporting service. It is responsible for reporting the vehicle status information to CDCU.
[0267] CDCU (Charging Control and Distribution Unit): CDCU communicates with TPCAN through the status reporting service, and communicates with the message center and vehicle control platform. It is responsible for controlling the charging operation and reporting the charging status information to the message center and vehicle control platform.
[0268] Message Center and Vehicle Control Platform: The message center and vehicle control platform receive charging status information from CDCU and communicate with the charging platform. They are responsible for remote authorization and deauthorization operations and synchronize authorization status.
[0269] Charging platform: The charging platform communicates with the message center and the vehicle control platform and is responsible for handling remote authorization and deauthorization operations. Through communication and collaboration between multiple components, the entire system enables users to remotely control and monitor charging piles, as well as the charging platform to authorize and synchronize the status of charging piles.
[0270] In this embodiment, a charging pile authorization and unlocking device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0271] This embodiment provides a charging pile authorization and unlocking device, which is applied to a target vehicle, such as Fig.10 As shown, including:
[0272] The first receiving module 501 is used to receive an authorization notification sent by a charging pile server, wherein the authorization notification includes the charging pile identification information and the communication key corresponding to the authorized charging pile to be authorized; the authorization notification is used to indicate that there is an authorization relationship between the target vehicle and the authorized charging pile;
[0273] The determination module 502 is used to determine and save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile based on the authorization notification, and send confirmation information to the charging pile server;
[0274] The unlocking module 503 is used to unlock the authorized charging pile based on the communication key corresponding to the authorized charging pile, and use the authorized charging pile to charge the target vehicle.
[0275] In some optional embodiments, the determination module 502 is specifically used to decode the authorization notification to obtain a decoded notification; generate a decryption key based on the charging pile identification information corresponding to the authorized charging pile; decrypt the decoded notification based on the decryption key and a preset decryption algorithm to determine the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile; save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile.
[0276] In some optional embodiments, the unlocking module 503 is specifically used to monitor whether a charging gun is inserted into the charging port of the target vehicle; if a charging gun is inserted into the charging port, monitor whether the target vehicle is currently in a charging state; if the target vehicle is not currently in a charging state, based on the authorization relationship between the target vehicle and the authorized charging pile, search for an authorized charging pile that has an authorization relationship with the target vehicle; based on the communication key corresponding to the authorized charging pile, unlock the authorized charging pile, use the authorized charging pile to charge the target vehicle, and generate a charging curve in real time.
[0277] In some optional embodiments, the unlocking module 503 is specifically used to obtain the charging pile identification information of the authorized charging pile that has an authorization relationship with the target vehicle based on the authorization relationship between the target vehicle and the authorized charging pile; establish a communication connection with each candidate charging pile within a preset range of the target vehicle based on Bluetooth communication; obtain the candidate identification information of each candidate charging pile; compare the charging pile identification information of the authorized charging pile with the candidate identification information of each candidate charging pile; and determine the authorized charging pile from each candidate charging pile based on the comparison result.
[0278] In some optional embodiments, the number of authorized charging piles is at least one, and the unlocking module 503 is specifically used to send an authentication request to each authorized charging pile, and determine the authorized charging pile that sends the authentication result to the target vehicle as a backup charging pile; based on the communication connection with each backup charging pile, obtain the current status corresponding to each backup charging pile; determine the backup charging pile whose current status is idle as the target charging pile; based on the communication key corresponding to the authorized charging pile, send an unlocking instruction to the target charging pile to unlock the target charging pile; after the target charging pile is unlocked, charge the target battery in the target vehicle based on the target charging pile.
[0279] This embodiment provides a charging pile authorization device, which is applied to the charging pile server of the above-mentioned embodiment. Fig.11 As shown, including:
[0280] The second receiving module 601 is used to receive an authorization request sent by a terminal device corresponding to a target vehicle, wherein the authorization request includes terminal identification information corresponding to the terminal device, vehicle identification information corresponding to the target vehicle, and charging pile identification information corresponding to an authorized charging pile to be authorized with the target vehicle; the authorization request is used to request authorization of an authorization relationship between the target vehicle, the authorized charging pile, and the terminal device;
[0281] Monitoring module 602, used to monitor whether the authorized charging pile is in an activated state, and the activated state is used to indicate that the authorized charging pile is in an authorized state;
[0282] The first sending module 603 is used to send an authorization notification to the target vehicle if the authorized charging pile is in an activated state; the authorization notification includes the charging pile identification information corresponding to the authorized charging pile; the authorization notification is used to indicate that there is an authorization relationship between the target vehicle and the authorized charging pile;
[0283] The third receiving module 604 is used to receive the confirmation information sent by the target vehicle, and store the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device;
[0284] The second sending module 605 is used to synchronously send the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device to the terminal device.
[0285] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0286] The charging pile authorization and unlocking device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0287] The embodiment of the present invention also provides a target vehicle having the above Fig.10 The charging station authorization and unlocking device shown.
[0288] See also Fig.12 , Fig.12 is a schematic diagram of the structure of an electronic device in a target vehicle provided by an optional embodiment of the present invention, such as Fig.12 As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.12 A processor 10 is taken as an example.
[0289] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0290] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0291] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0292] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0293] The electronic device further comprises a communication interface 30 for the electronic device to communicate with other devices or a communication network.
[0294] An embodiment of the present invention also provides a charging pile server, comprising: a second memory and a second processor, the second memory and the second processor are communicatively connected to each other, the second memory stores second computer instructions, and the second processor executes the charging pile authorization method of any of the above-mentioned embodiments by executing the second computer instructions.
[0295] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0296] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0297] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A charging pile authorization and unlocking method, characterized in that: Applied to a target vehicle, the method comprises: Receive an authorization notification sent by a charging pile server, wherein the authorization notification includes the charging pile identification information and the communication key corresponding to the authorized charging pile to be authorized; the authorization notification is used to indicate that there is an authorization relationship between the target vehicle and the authorized charging pile; Based on the authorization notification, determine and save the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, and send confirmation information to the charging pile server; Based on the communication key corresponding to the authorized charging pile, the authorized charging pile is unlocked, and the target vehicle is charged using the authorized charging pile.
2. The method according to claim 1, characterized in that The determining and saving, based on the authorization notification, the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile, and sending confirmation information to the charging pile server, includes: Decoding the authorization notification to obtain a decoded notification; Generate a decryption key according to the charging pile identification information corresponding to the authorized charging pile; Based on the decryption key and the preset decryption algorithm, the decoding notification is decrypted to determine the authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile; The authorization relationship between the target vehicle and the authorized charging pile and the communication key corresponding to the authorized charging pile are saved.
3. The method according to claim 1, characterized in that The method of unlocking the authorized charging pile based on the communication key corresponding to the authorized charging pile, and charging the target vehicle using the authorized charging pile, includes: Monitor whether a charging gun is inserted into the charging port of the target vehicle; If a charging gun is inserted into the charging port, monitor whether the target vehicle is currently in a charging state; If the target vehicle is not currently in a charging state, based on the authorization relationship between the target vehicle and the authorized charging pile, searching for the authorized charging pile that has an authorization relationship with the target vehicle; Based on the communication key corresponding to the authorized charging pile, the authorized charging pile is unlocked, and the target vehicle is charged using the authorized charging pile, and a charging curve is generated in real time.
4. The method according to claim 3, characterized in that The searching, based on the authorization relationship between the target vehicle and the authorized charging pile, for the authorized charging pile having an authorization relationship with the target vehicle comprises: Based on the authorization relationship between the target vehicle and the authorized charging pile, acquiring the charging pile identification information of the authorized charging pile having an authorization relationship with the target vehicle; Based on Bluetooth communication, establishing a communication connection with each candidate charging pile within a preset range of the target vehicle; Obtaining candidate identification information of each of the candidate charging piles; Comparing the charging pile identification information of the authorized charging pile with the candidate identification information of each of the candidate charging piles; According to the comparison result, the authorized charging pile is determined from the candidate charging piles.
5. The method according to claim 3, characterized in that: The number of the authorized charging piles is at least one, and the step of unlocking the authorized charging pile based on the communication key corresponding to the authorized charging pile, and charging the target vehicle using the authorized charging pile includes: Sending an authentication request to each of the authorized charging piles, and determining the authorized charging pile that sends the authentication result to the target vehicle as a standby charging pile; Based on the communication connection with each of the standby charging piles, obtaining the current status corresponding to each of the standby charging piles; Determine the standby charging pile whose current state is an idle state as a target charging pile; Based on the communication key corresponding to the authorized charging pile, sending an unlocking instruction to the target charging pile to unlock the target charging pile; After the target charging pile is unlocked, the target battery in the target vehicle is charged based on the target charging pile.
6. A charging pile authorization method, characterized in that: Applied to the charging pile server according to any one of claims 1 to 5, the method comprises: Receive an authorization request sent by a terminal device corresponding to the target vehicle, the authorization request including terminal identification information corresponding to the terminal device, vehicle identification information corresponding to the target vehicle, and charging pile identification information corresponding to an authorized charging pile to be authorized with the target vehicle; the authorization request is used to request authorization of an authorization relationship between the target vehicle, the authorized charging pile, and the terminal device; Monitoring whether the authorized charging pile is in an activated state, wherein the activated state is used to indicate that the authorized charging pile is in an authorizable state; If the authorized charging pile is in the activated state, an authorization notification is sent to the target vehicle; the authorization notification includes the charging pile identification information corresponding to the authorized charging pile; the authorization notification is used to indicate that there is an authorization relationship between the target vehicle and the authorized charging pile; Receive confirmation information sent by the target vehicle, and store the authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device; The authorization relationship and authorization status between the target vehicle, the authorized charging pile and the terminal device are synchronously sent to the terminal device.
7. The method according to claim 6, characterized in that If the authorized charging pile is in the activated state, sending an authorization notification to the target vehicle includes: If the authorized charging pile is in the activated state, a verification request is sent to the user server, wherein the verification request includes the terminal identification information and the vehicle identification information, and the verification request is used to request the user server to verify the binding relationship between the terminal device and the target vehicle; Receiving a verification result sent by the user server; If the verification result indicates that there is a binding relationship between the terminal device and the target vehicle, an authorization notification is sent to the target vehicle according to the authorization request.
8. The method according to claim 7, characterized in that Before monitoring whether the authorized charging pile is in an activated state, the method further includes: Detecting whether there is an authorization relationship between the target vehicle, the authorized charging pile, and the terminal device; If there is an authorization relationship between the target vehicle, the authorized charging pile and the terminal device, the authorization relationship and the authorization status between the target vehicle, the authorized charging pile and the terminal device are returned to the terminal device; If there is no authorization relationship between the target vehicle, the authorized charging pile and the terminal device, it is monitored whether the authorized charging pile is in an activated state.
9. The method according to claim 6, characterized in that The method further comprises: Obtaining a processing request sent by the terminal device; the processing request includes at least one of the terminal identification information of the terminal device, the vehicle identification information corresponding to other vehicles, and the charging pile identification information corresponding to the charging pile to be processed; The processing request is identified and processed according to the authorization relationship and authorization status among the other vehicles, the charging pile to be processed and the terminal device.
10. A target vehicle, characterized in that: include: An electronic device and a vehicle body, the electronic device comprising a first memory and a first processor, the first memory and the first processor being communicatively connected to each other, the first memory storing first computer instructions, the first processor executing the charging pile authorization and unlocking method according to any one of claims 1 to 5 by executing the first computer instructions.
11. A charging pile server, characterized in that: include: A second memory and a second processor, the second memory and the second processor are communicatively connected to each other, the second memory stores second computer instructions, and the second processor executes the charging pile authorization method described in any one of claims 6 to 9 by executing the second computer instructions.
Citation Information
Patent Citations
Vehicle charging pile safety protection method and device, electronic equipment and storage medium
CN117022030A
Charging pile binding method, mobile terminal and charging pile
CN117156601A
Charging control method and device, terminal equipment and computer readable storage medium
CN117382469A
Vehicle charging pile connection method and device, storage medium and electronic device
CN117935428A