Vehicle control method and device, electronic equipment and vehicle
By obtaining the distance data and charging identification between the vehicle and the charging pile, the active locking function of the new energy vehicle is turned off, which solves the problem of automatic locking during charging and improves the user experience and charging convenience.
Patent Information
- Application Number
- CN202410825079.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-08-27
AI Technical Summary
When new energy vehicles are charging, due to unstable Bluetooth signals, the vehicle may automatically lock, making the charging port unable to open, and the user needs to unlock it again, causing unnecessary trouble.
By obtaining the distance data between the vehicle and the charging pile, when the distance is less than or equal to the preset threshold, the charging identification of the charging pile is obtained, and based on the identification, it is judged whether the vehicle and the charging pile match, and the active locking function of the vehicle is turned off to avoid errors. Trigger latching.
When the vehicle needs to be charged and the charging pile can be charged, turning off the active locking function avoids the situation where the user accidentally triggers the locking when getting out of the car to charge the vehicle, causing the charging port to be unable to open. There is no need to unlock it again, reducing unnecessary operations and improving user experience.
Smart Images

Figure CN118544985A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle control technology, and in particular to a vehicle control method, device, electronic equipment and vehicle. Background Art
[0002] When new energy vehicles need to be charged at a charging pile, the unstable Bluetooth signal may cause the vehicle to trigger the active locking function after the user gets off the vehicle with the key, making the charging port unable to be opened. The user needs to unlock the vehicle again, causing unnecessary trouble.
[0003] In view of this, how to prevent the vehicle from being locked when the user is charging the vehicle has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In view of this, the purpose of the present disclosure is to provide a vehicle control method, device, electronic device and vehicle to solve the problem of vehicle locking when a user is charging the vehicle in the prior art.
[0005] Based on the above objectives, the first aspect of the present disclosure provides a vehicle control method, the method comprising:
[0006] Get the distance data between the vehicle and the charging pile;
[0007] In response to determining that the distance data is less than or equal to a preset distance threshold, a charging identifier of the charging pile is obtained, and based on the charging identifier, it is determined that the vehicle matches the charging pile, and an active locking function of the vehicle is turned off.
[0008] Based on the same inventive concept, the second aspect of the present disclosure provides a vehicle control device, comprising:
[0009] An acquisition module is configured to acquire distance data between the vehicle and the charging pile;
[0010] The control module is configured to obtain a charging identifier of the charging pile in response to determining that the distance data is less than or equal to a preset distance threshold, determine that the vehicle matches the charging pile based on the charging identifier, and turn off the active locking function of the vehicle.
[0011] Based on the same inventive concept, the third aspect of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.
[0012] Based on the same inventive concept, a fourth aspect of the present disclosure proposes a vehicle, which includes the vehicle control device described in the second aspect or the electronic device described in the third aspect.
[0013] From the above, it can be seen that the vehicle control method, device, electronic device and vehicle provided by the present disclosure. When the distance data between the vehicle and the charging pile is less than or equal to the preset distance threshold, and the vehicle and the charging pile are determined to match based on the charging identifier of the charging pile, the active locking function of the vehicle is turned off. In this way, in a scenario where the vehicle has a charging demand and the charging pile can charge the vehicle, turning off the active locking function of the vehicle can avoid the situation where the user accidentally triggers the active locking function of the vehicle when carrying the key to charge the vehicle, resulting in the charging port being unable to open. The user does not need to unlock the vehicle again to open the charging port, thereby reducing unnecessary operations and ensuring the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1 is a flow chart of a vehicle control method according to an embodiment of the present disclosure;
[0016] Figure 2 A schematic diagram of a vehicle and a charging pile according to an embodiment of the present disclosure;
[0017] Figure 3 is a schematic structural diagram of a vehicle control device according to an embodiment of the present disclosure;
[0018] Figure 4 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0020] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0021] Based on the description of the background technology, most high-end models are equipped with Bluetooth keys, which can realize the vehicle unlocking function through Bluetooth communication of mobile devices. Among them, the unlocking function includes Bluetooth remote control unlocking function, Bluetooth keyless unlocking function and Bluetooth active unlocking function.
[0022] Due to the instability of the Bluetooth signal itself, there is a possibility that the Bluetooth signal is erratic. When a new energy vehicle needs to be charged at a charging pile, in this scenario, the user gets off the vehicle with a mobile phone and goes to the rear of the vehicle. Due to the erratic Bluetooth signal, there is a possibility of positioning abnormalities, which may cause the vehicle to automatically lock, resulting in the charging port being unable to open, causing the user to unlock the vehicle again, causing unnecessary trouble.
[0023] As mentioned above, how to prevent the vehicle from being locked when the user is charging the vehicle has become an important research issue.
[0024] Based on the above description, if Figure 1 As shown, the vehicle control method proposed in this embodiment includes:
[0025] Step 101, obtaining the distance data between the vehicle and the charging pile.
[0026] In specific implementation, the vehicle position and the charging pile position are obtained through the positioning system; the vehicle position and the charging pile position are analyzed and processed to obtain the distance data between the vehicle and the charging pile. Among them, the positioning system includes the Global Positioning System (GPS) and the Beidou Navigation Satellite System (BDS).
[0027] In addition, a distance sensor is used to collect the distance data between the vehicle and the charging pile in real time. The distance sensor is also called a displacement sensor, which is used to collect the distance between the distance sensor and a preset object.
[0028] Step 102, in response to determining that the distance data is less than or equal to a preset distance threshold, obtaining a charging identifier of the charging pile, determining that the vehicle matches the charging pile based on the charging identifier, and turning off the active locking function of the vehicle.
[0029] In specific implementation, when the distance data between the vehicle and the charging pile is less than or equal to the preset distance threshold, it means that there is a possibility of charging the vehicle in the current scenario. Based on the charging identifier of the charging pile, it is judged whether the vehicle and the charging pile match. When the vehicle and the charging pile match, it means that the charging pile can charge the vehicle.
[0030] Among them, the charging identification (ID) is pre-set by the car manufacturer for the charging pile so that the vehicle can identify the charging according to the charging identification.
[0031] In the current scenario, the user may get off the vehicle to charge, and the charging pile can charge the vehicle. In order to avoid the active locking function being mistakenly triggered when the user gets off the vehicle to charge the vehicle, the active locking function of the vehicle is turned off (or disabled) in the current scenario.
[0032] For example, the preset distance is 5m. When the distance data between the vehicle and the charging pile is 3m, the vehicle and the charging pile are determined to match based on the charging mark of the charging pile, and the active locking function of the vehicle is turned off to prevent the active locking function from being accidentally triggered when the user gets off the vehicle to charge the vehicle, resulting in the charging port being unable to open.
[0033] In addition, it is also possible to determine in real time whether the vehicle has entered the preset distance range of the charging pile; in response to determining that the vehicle has entered the preset distance range of the charging pile, the vehicle and the charging pile are matched based on the charging identifier of the charging pile, and the active locking function of the vehicle is turned off. For example, the preset distance range of the charging pile is within 5m around the charging pile. When the vehicle enters within 5m around the charging pile, the active locking function of the vehicle is turned off.
[0034] Through the above embodiment, when the distance data between the vehicle and the charging pile is less than or equal to the preset distance threshold, and the vehicle and the charging pile are determined to match based on the charging identifier of the charging pile, the active locking function of the vehicle is turned off. In this way, when the vehicle needs to be charged and the charging pile can charge the vehicle, turning off the active locking function of the vehicle can avoid the situation where the active locking function of the vehicle is accidentally triggered when the user gets off the vehicle with the key to charge the vehicle, resulting in the charging port being unable to be opened. The user does not need to unlock the vehicle again to open the charging port, thereby reducing unnecessary operations and ensuring the user experience.
[0035] In some embodiments, step 102 includes:
[0036] Step 1021, determining whether the first charging identifier satisfies a legal identifier condition by exchanging the first charging identifier with the charging pile; wherein the legal identifier condition is a pre-set condition for determining whether the charging pile can charge the vehicle.
[0037] In specific implementation, when the distance data between the vehicle and the charging pile is less than or equal to the preset distance threshold, it means that the vehicle enters the preset distance range of the charging pile. The vehicle and the charging pile exchange the first charging mark, and determine whether the first charging mark meets the pre-set legal identification conditions, so as to determine whether the charging pile can charge the vehicle.
[0038] The first charging identifier is a charging identifier obtained by the key from the controller via a Bluetooth connection from the charging pile.
[0039] Step 1022: in response to determining that the first charging identifier satisfies the legal identifier condition, disabling the active locking function of the vehicle.
[0040] In specific implementation, when the first charging mark meets the pre-set legal mark conditions, it means that the charging pile can charge the vehicle. In this scenario, the charging pile can charge the vehicle, indicating that there is a possibility that the user gets off the vehicle to charge the vehicle in the current scenario. In order to avoid the active locking function being accidentally triggered when the user gets off the vehicle to charge the vehicle, the active locking function of the vehicle is turned off.
[0041] In another scenario, step 102 also includes: in response to determining that the distance data between the vehicle and the charging pile is less than or equal to a preset distance threshold, obtaining the current power of the vehicle; determining whether the current power of the vehicle is less than or equal to a preset power threshold; in response to determining that the current power of the vehicle is less than or equal to the preset power threshold, turning off the active locking function of the vehicle.
[0042] When the current power level of the vehicle is less than or equal to the preset power threshold, it means that the vehicle needs to be charged in the current scenario. In the current scenario, it is very likely that the user will get off the vehicle to charge the vehicle. By turning off the active locking function of the vehicle, it is avoided that the active locking function of the vehicle is accidentally triggered when the user gets off the vehicle to charge the vehicle.
[0043] Alternatively, step 1022 also includes: in response to determining that the first charging identifier satisfies the legal identification condition, obtaining the current power of the vehicle; determining whether the current power of the vehicle is less than or equal to a preset power threshold; in response to determining that the current power of the vehicle is less than or equal to the preset power threshold, turning off the active locking function of the vehicle.
[0044] After determining that the first charging mark meets the pre-set legal identification conditions, it is determined whether the current power of the vehicle is less than or equal to the preset power threshold, which can more accurately determine whether the user gets off the vehicle to charge the vehicle. When the first charging mark meets the pre-set legal identification conditions, it means that the charging pile can charge the vehicle. When the current power of the vehicle is less than or equal to the preset power threshold, it means that the vehicle needs to be charged in the current scenario. In this scenario, the user is more likely to get off the vehicle to charge the vehicle. By turning off the active locking function of the vehicle, the active locking function of the vehicle is prevented from being accidentally triggered when the user gets off the vehicle to charge the vehicle.
[0045] Through the above scheme, when the vehicle enters the preset distance range of the charging pile, the first charging mark is exchanged with the charging pile to determine whether the first charging mark meets the pre-set legal mark conditions, so as to accurately determine whether the charging pile can charge the vehicle. When the first charging mark meets the pre-set legal mark conditions, it means that the charging pile can charge the vehicle. In this scenario, it is more likely that the user will get off the vehicle to charge the vehicle. By turning off the active locking function of the vehicle, it is avoided that the active locking function of the vehicle is accidentally triggered when the user gets off the vehicle to charge the vehicle, resulting in the inability to open the charging port. The user does not need to unlock again to open the charging port, thereby ensuring the user experience.
[0046] In some embodiments, a key controller is provided in the vehicle; the key controller includes: a key slave controller; step 1021 includes:
[0047] Step 10211, using the key to establish a communication connection between the slave controller and the charging pile.
[0048] In a specific implementation, the key controller may be a Bluetooth digital key controller, which includes a Bluetooth digital key slave controller. When the distance data between the vehicle and the charging pile is less than or equal to a preset distance threshold, it indicates that the vehicle enters the preset distance range of the charging pile, and a Bluetooth communication connection or a near-field communication connection can be established between the vehicle and the charging pile. Therefore, when the distance data between the vehicle and the charging pile is less than or equal to the preset distance threshold, a Bluetooth communication connection or a near-field communication connection is established between the vehicle and the charging pile using the Bluetooth digital key slave controller.
[0049] The digital key of the vehicle allows the owner to unlock and operate the vehicle using a mobile device without using a traditional physical key. Mobile devices include mobile devices and wearable electronic devices, and wearable electronic devices include smart watches and smart bracelets.
[0050] The digital key of the vehicle is connected to the vehicle through Bluetooth communication connection, Near Field Communication (NFC) or other near field communication connection, providing convenient functions such as keyless entry and start of the vehicle, remote authorization key, personalized vehicle settings, etc. The digital key of the vehicle is part of the development of vehicle intelligence, which improves the convenience of vehicle use and attracts the attention of more and more vehicle manufacturers.
[0051] Step 10212: Use the key from the controller to exchange the first charging identifier with the charging pile through the communication connection to determine whether the first charging identifier meets the legal identifier condition.
[0052] In a specific implementation, after a Bluetooth communication connection or a near-field communication connection is established between the digital key slave controller and the charging pile, the first charging identifier is exchanged between the digital key slave controller and the charging pile through the Bluetooth communication connection or the near-field communication connection. The digital key slave controller determines whether the first charging identifier meets a pre-set legal identification condition, thereby determining whether the charging pile can charge the vehicle.
[0053] Through the above scheme, when the distance data between the vehicle and the charging pile is less than or equal to the preset distance threshold, the vehicle and the charging pile can better establish a communication connection. The key slave controller is used to establish a communication connection with the charging pile, so that the key slave controller and the charging pile can exchange the first charging identifier, so as to determine whether the first charging identifier meets the legal identification condition.
[0054] In some embodiments, the key controller further includes: a key master controller; step 1022 includes:
[0055] Step 10221: In response to determining that the first charging identifier satisfies the legal identifier condition, generate an identifier legality signal from the controller using the key.
[0056] In a specific implementation, the key controller may be a Bluetooth digital key controller, which further includes a Bluetooth digital key master controller. The Bluetooth digital key slave controller determines whether the first charging identifier satisfies a pre-set legal identification condition, and when the first charging identifier satisfies the pre-set legal identification condition, the Bluetooth digital key slave controller generates a legal identification signal.
[0057] Among them, the signal identifying legality is used to notify the Bluetooth digital key main controller that the charging pile can charge the vehicle.
[0058] Step 10222: Send the identification legitimacy signal from the key slave controller to the key master controller in the form of a controller area network signal.
[0059] During specific implementation, a signal indicating legality is identified is sent from a Bluetooth digital key slave controller to a Bluetooth digital key master controller in the form of a controller area network (CAN) signal.
[0060] Specifically, the signal type of the signal identifying the legal signal is obtained; it is determined whether the signal type of the signal identifying the legal signal is a controller area network signal type; in response to determining that the signal type of the signal identifying the legal signal is a controller area network signal type, the signal identifying the legal signal is sent from the Bluetooth digital key slave controller to the Bluetooth digital key master controller; in response to determining that the signal type of the signal identifying the legal signal is not a controller area network signal type, the signal identifying the legal signal is converted into a controller area network signal form and sent from the Bluetooth digital key slave controller to the Bluetooth digital key master controller.
[0061] Step 10223, using the key master controller to control the vehicle to enter the pre-charging mode, and turn off the active locking function of the vehicle.
[0062] In specific implementation, the Bluetooth digital key main controller receives the identification legality signal, determines that the first charging identification meets the pre-set legal identification conditions, and the charging pile can charge the vehicle. After the Bluetooth digital key main controller receives the identification legality signal, it controls the vehicle to enter the pre-charging mode, and turns off the active locking function of the vehicle in the pre-charging mode.
[0063] Through the above scheme, the key generates a signal to identify the legitimacy from the controller, and sends the signal to identify the legitimacy to the key master controller in the form of a controller LAN signal. When the key master controller receives the signal to identify the legitimacy, it controls the vehicle to enter the pre-charging mode and turns off the active locking function of the vehicle. In this way, after the vehicle enters the preset distance range of the charging pile and the charging pile is able to charge the vehicle, by turning off the active locking function of the vehicle, it is avoided that the user accidentally triggers the active locking function of the vehicle when carrying the key to charge the vehicle, resulting in the charging port being unable to be opened, and the user does not need to unlock the vehicle again to open the charging port.
[0064] In some embodiments, after step 102, the method further includes:
[0065] Step 103 , in response to determining that the vehicle is switched to a charging state, enabling an active locking function of the vehicle.
[0066] In specific implementation, when the vehicle switches to the charging state, it means that the charging port is already open in the current scenario. In the current scenario, the user will not get off the vehicle to charge the vehicle and mistakenly trigger the active locking function, causing the charging port to be unable to open. Therefore, when the vehicle switches to the charging state, in order to ensure the user's car experience, the vehicle's active locking function is turned on.
[0067] When the vehicle switches to the charging state, the active locking function of the vehicle is turned on at the charging time corresponding to the vehicle switching to the charging state. For example, if the vehicle switches to the charging state 3 minutes after the active locking function is turned off, the active locking function of the vehicle is turned on 3 minutes after the active locking function is turned off.
[0068] Through the above solution, when the vehicle switches to the charging state, the active locking function of the vehicle is turned on. In this way, the normal use of the active locking function is guaranteed in the scenario where the active locking function will not be triggered by mistake, and the active locking function is avoided from being turned off when the user wants to use it, which can ensure the user's car experience.
[0069] In some embodiments, step 103 includes:
[0070] Step 103A: in response to determining that a second charging identifier of the charging pile sent by the mobile device is received, the second charging identifier is compared with the first charging identifier.
[0071] In a specific implementation, the key controller may be a Bluetooth digital key controller, which includes a Bluetooth digital key master controller and a Bluetooth digital key slave controller.
[0072] The user scans the QR code on the charging pile through the car factory application software (Application, referred to as APP) on the mobile device, and uses the APP to trigger the charging pile to start the charging function. After the mobile device scans the QR code, the mobile device obtains the second charging identifier of the charging pile, and sends the second charging identifier to the Bluetooth digital key main controller on the vehicle through the Bluetooth signal of the mobile device. Among them, a communication connection is established between the mobile device and the Bluetooth digital key main controller, and the communication connection between the mobile device and the Bluetooth digital key main controller is a Bluetooth communication connection or a near-field communication connection.
[0073] The second charging identifier is a charging identifier obtained by the mobile device from the charging pile and sent to the key main controller.
[0074] Step 103B: using the key master controller to determine that the second charging identifier is consistent with the first charging identifier, and controlling the charging port of the vehicle to open.
[0075] In specific implementation, the Bluetooth digital key main controller compares the second charging identifier sent by the mobile device and the first charging identifier sent by the Bluetooth digital key slave controller. When the second charging identifier is consistent with the first charging identifier, the charging port of the vehicle is controlled to open.
[0076] Specifically, the opening mode of the charging port includes an electric opening mode and a manual opening mode. When the opening mode of the charging port is the electric opening mode, after the second charging identifier and the first charging identifier are verified to be consistent, a control electric signal for controlling the opening of the vehicle charging port is generated, and the charging port of the vehicle is driven to open based on the control electric signal. When the opening mode of the charging port is the manual opening mode, after the second charging identifier and the first charging identifier are verified to be consistent, a permission control signal for allowing the vehicle charging port to be opened is generated. After the permission control signal is generated, the user manually opens the charging port.
[0077] Step 103C, in response to determining that the charging port of the vehicle receives a charging signal, enabling an active locking function of the vehicle.
[0078] In specific implementation, when the charging gun is inserted into the charging port of the vehicle, a charging signal is generated. When the charging port of the vehicle receives the charging signal, the vehicle is controlled to switch from the pre-charging mode to the normal mode, and the active locking function of the vehicle is turned on, so that the user can lock the vehicle when leaving the vehicle.
[0079] Through the above scheme, by comparing the second charging identifier sent by the mobile device and the first charging identifier sent by the Bluetooth digital key from the controller, it is possible to accurately determine whether the charging pile can charge the vehicle. When the charging port of the vehicle receives the charging signal, the active locking function of the vehicle is turned on, which is convenient for the user to lock the vehicle when leaving the vehicle, avoiding the situation where the active locking function of the vehicle is always in the off state and the user cannot actively lock the vehicle when leaving the vehicle.
[0080] In some embodiments, after step 102, the method further includes:
[0081] Step 104, start timing after turning off the active locking function.
[0082] Step 105 , in response to determining that the vehicle is not switched to the charging state within a preset time period after the start of timing, an active locking function of the vehicle is enabled.
[0083] In specific implementation, the timing starts after the active locking function is turned off. If the vehicle is not switched to the charging state within the preset time after the timing starts, the active locking function of the vehicle is turned on. If the vehicle is not switched to the charging state, the active locking function of the vehicle is turned on at the timing time corresponding to the preset time after the timing starts. For example, if the preset time is 5 minutes, if the vehicle is not switched to the charging state within 5 minutes after the active locking function is turned off, the active locking function of the vehicle is turned on at the 5th minute after the timing.
[0084] Alternatively, the timing starts after the vehicle enters the pre-charging mode; in response to determining that the vehicle has not switched to the charging state within a preset time after the timing starts, the active locking function of the vehicle is turned on. For example, the preset time is 5 minutes, and the timing starts after the vehicle enters the pre-charging mode. If the vehicle does not receive a charging action within 5 minutes after the timing starts, the timing ends and the vehicle switches from the pre-charging mode to the normal mode, and the active locking function of the vehicle is turned on.
[0085] Through the above solution, if the vehicle does not switch to the charging state within the preset time after the vehicle turns off the active locking function, it means that the user has not charged the vehicle. After the start time reaches the preset time, the active locking function of the vehicle is turned on to ensure the normal use of the active locking function, avoiding the active locking function being in the closed state due to the vehicle not switching to the charging state for a long time, thereby avoiding affecting the user's car experience.
[0086] Through the above embodiment, when the distance data between the vehicle and the charging pile is less than or equal to the preset distance threshold, and the vehicle and the charging pile are determined to match based on the charging identifier of the charging pile, the active locking function of the vehicle is turned off. In this way, when the vehicle needs to be charged and the charging pile can charge the vehicle, turning off the active locking function of the vehicle can avoid the situation where the active locking function of the vehicle is accidentally triggered when the user gets off the vehicle with the key to charge the vehicle, resulting in the charging port being unable to be opened. The user does not need to unlock the vehicle again to open the charging port, thereby reducing unnecessary operations and ensuring the user experience.
[0087] It should be noted that the embodiments of the present disclosure may be further described in the following manner:
[0088] like Figure 2 As shown, Figure 2 The figure is a schematic diagram of a vehicle and a charging pile of an embodiment of the present disclosure. When the charging pile is charging the vehicle, the vehicle, the charging pile and the mobile device interact to realize the charging of the vehicle. The vehicle is provided with a Bluetooth digital key controller, which includes a Bluetooth digital key master controller and a Bluetooth digital key slave controller. The mobile device includes a mobile phone device and a wearable electronic device, and the wearable electronic device includes an electronic watch and an electronic bracelet.
[0089] The main scenario targeted by this embodiment is: a vehicle equipped with a low-power Bluetooth key enters a charging parking space to prepare for charging, and the user gets off the vehicle with a valid Bluetooth key, goes to the charging port, and takes the charging gun. At this time, the user is generally in area 1, area 2, or area 4. Due to the characteristics of the Bluetooth signal, there is an inaccurate positioning situation, and it is easy to misjudge the user's area as area 5, triggering the vehicle's Bluetooth key active locking function (the mobile phone Bluetooth key can be moved from area 1 / area 2 / area 3 / area 4 to area 5 to trigger the active locking function), resulting in the charging port being unable to be opened and needing to be unlocked again before it can be opened, causing complaints.
[0090] The main implementation method of this embodiment is: two Bluetooth key controllers are configured in the car, the Bluetooth digital key master controller is responsible for connecting with the mobile device (where the Bluetooth digital key master controller sends Bluetooth broadcasts, and the mobile device scans the broadcasts), and the Bluetooth digital key slave controller is responsible for connecting with the charging pile (where the Bluetooth digital key slave controller sends Bluetooth broadcasts, and the charging pile scans the broadcasts). In addition, the Bluetooth digital key slave controller also participates in the Bluetooth positioning of the mobile device, assisting the Bluetooth digital key master controller to complete the determination of the location of the mobile device (Bluetooth key) (positioning of area 12345).
[0091] When the vehicle moves near the charging pile (for example, within 5 meters of the charging pile), the Bluetooth digital key slave controller connects to the charging pile through Bluetooth, and exchanges a unique first charging ID (the charging ID is uniformly set by the car manufacturer and the charging pile to facilitate vehicle charging identification) through Bluetooth signals. The Bluetooth digital key slave controller notifies the Bluetooth digital key master controller of the legal identification signal in the form of a CAN signal, and the Bluetooth digital key master controller controls the vehicle to enter the pre-charging mode. In the pre-charging mode, the vehicle Bluetooth key active locking function is turned off to avoid the problem of false triggering of locking when the vehicle has not started charging.
[0092] At this time, the user gets off the car and uses the mobile device to scan the QR code through the car factory APP, and operates the APP to trigger the charging function of the charging pile. After scanning the QR code, the mobile device also obtains the second charging identifier of the charging pile, and sends it to the Bluetooth digital key main controller through the Bluetooth signal of the mobile device. The Bluetooth digital key main controller compares the second charging identifier with the first charging identifier. When the second charging identifier is consistent with the first charging identifier, the charging port cover is driven to open. The action of inserting the charging gun into the charging port cover triggers the end of the vehicle pre-charging mode and returns to normal mode. In normal mode, the active locking function of the vehicle Bluetooth key is enabled, which is convenient for users to lock the vehicle when leaving the car.
[0093] In addition, the vehicle starts timing after entering the pre-charging mode. If no charging action is performed thereafter (i.e., the pre-charging mode is not triggered to end and return to normal mode), the vehicle returns to normal mode after the preset time T (e.g., 5 minutes) ends.
[0094] In addition, if the charging port cover is not electrically controlled, it can also be opened manually. After the second charging identifier and the first charging identifier are verified to be consistent, the manual opening action of the charging port cover is allowed.
[0095] Through the above embodiments, the Bluetooth channel between the mobile device, the vehicle and the charging pile is opened, and the special mode processing is realized when the vehicle is in a charging environment, so as to avoid the false triggering of the vehicle's active locking function, thereby avoiding the problem of the charging port being unable to be opened, thereby improving the intelligence level of the vehicle, ensuring the user's car experience, and reducing customer complaints.
[0096] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0097] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0098] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a vehicle control device.
[0099] refer to Figure 3 , the vehicle control device comprises:
[0100] The acquisition module 301 is configured to acquire the distance data between the vehicle and the charging pile;
[0101] The control module 302 is configured to obtain the charging identifier of the charging pile in response to determining that the distance data is less than or equal to a preset distance threshold, determine that the vehicle matches the charging pile based on the charging identifier, and turn off the active locking function of the vehicle.
[0102] In some embodiments, the control module 302 includes:
[0103] A first charging identification judgment unit is configured to judge whether the first charging identification satisfies a legal identification condition by exchanging the first charging identification with the charging pile; wherein the legal identification condition is a pre-set condition for judging whether the charging pile can charge the vehicle;
[0104] The active locking function disabling unit is configured to disable the active locking function of the vehicle in response to determining that the first charging identifier satisfies the legal identifier condition.
[0105] In some embodiments, a key controller is provided in the vehicle; the key controller comprises: a key slave controller;
[0106] The first charging identification determination unit includes:
[0107] a communication connection establishing subunit, configured to establish a communication connection between the slave controller and the charging pile using the key;
[0108] The first charging identification judgment subunit is configured to use the key slave controller to exchange the first charging identification with the charging pile through the communication connection to judge whether the first charging identification meets the legal identification condition.
[0109] In some embodiments, the key controller further comprises: a key master controller;
[0110] The active locking function closing unit comprises:
[0111] an identification legality signal generating subunit, configured to generate an identification legality signal from the controller using the key in response to determining that the first charging identification satisfies the legality identification condition;
[0112] an identification legality signal sending subunit, configured to send the identification legality signal from the key slave controller to the key master controller in the form of a controller area network signal;
[0113] The active locking function closing subunit is configured to control the vehicle to enter a pre-charging mode using the key master controller and close the active locking function of the vehicle.
[0114] In some embodiments, the device further comprises:
[0115] The first active locking function activation module is configured to activate the active locking function of the vehicle in response to determining that the vehicle is switched to a charging state.
[0116] In some embodiments, the first active locking function activation module includes:
[0117] a comparison processing unit, configured to, in response to determining that a second charging identifier of the charging pile sent by the mobile device is received, compare the second charging identifier with the first charging identifier;
[0118] a charging port control unit, configured to use the key master controller to determine that the second charging identifier is consistent with the first charging identifier, and control the charging port of the vehicle to open;
[0119] The first active locking function activation unit is configured to activate the active locking function of the vehicle in response to determining that the charging port of the vehicle receives a charging signal.
[0120] In some embodiments, the device further comprises:
[0121] A timing module, configured to start timing after the active locking function is turned off;
[0122] The second active locking function activation module is configured to activate the active locking function of the vehicle in response to determining that the vehicle is not switched to the charging state within a preset time period after the start of timing.
[0123] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0124] The device of the above embodiment is used to implement the corresponding vehicle control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0125] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the vehicle control method described in any of the above embodiments is implemented.
[0126] Figure 4 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0127] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0128] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0129] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0130] The communication interface 1040 is used to connect a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB (Universal Serial Bus), network cable, etc.), or through a wireless mode (such as mobile network, WIFI (Wireless Fidelity), Bluetooth, etc.).
[0131] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0132] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0133] The electronic device of the above embodiment is used to implement the corresponding vehicle control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0134] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle control method described in any of the above embodiments.
[0135] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0136] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the vehicle control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0137] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle, including the vehicle control device, or electronic device, or storage medium in the above-mentioned embodiments, and the vehicle equipment implements the vehicle control method described in any of the above embodiments.
[0138] The vehicle of the above-mentioned embodiment is used to implement the vehicle control method described in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0139] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.
[0140] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0141] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0142] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A vehicle control method, characterized in that: The method comprises: Get the distance data between the vehicle and the charging pile; In response to determining that the distance data is less than or equal to a preset distance threshold, a charging identifier of the charging pile is obtained, and based on the charging identifier, it is determined that the vehicle matches the charging pile, and an active locking function of the vehicle is turned off.
2. The method according to claim 1, characterized in that The acquiring the charging identifier of the charging pile, determining that the vehicle matches the charging pile based on the charging identifier, and disabling the active locking function of the vehicle includes: By exchanging a first charging identifier with the charging pile, determining whether the first charging identifier satisfies a legal identification condition; wherein the legal identification condition is a pre-set condition for determining whether the charging pile can charge the vehicle; In response to determining that the first charging identifier satisfies the legal identifier condition, an active locking function of the vehicle is disabled.
3. The method according to claim 2, characterized in that A key controller is provided in the vehicle; The key controller comprises: a key slave controller; The step of determining whether the first charging identifier meets the legal identifier condition by exchanging the first charging identifier with the charging pile includes: Using the key to establish a communication connection between the slave controller and the charging pile; The key slave controller exchanges the first charging identifier with the charging pile through the communication connection to determine whether the first charging identifier meets a legal identifier condition.
4. The method according to claim 3, characterized in that The key controller also includes: a key master controller; In response to determining that the first charging identifier satisfies the legal identifier condition, disabling the active locking function of the vehicle includes: In response to determining that the first charging identifier satisfies the legal identifier condition, generating an identifier legality signal from the controller using the key; Sending the identification legality signal from the key slave controller to the key master controller in the form of a controller area network signal; The key master controller is used to control the vehicle to enter the pre-charging mode and turn off the active locking function of the vehicle.
5. The method according to claim 2, characterized in that: After the active locking function of the vehicle is turned off, the method further includes: In response to determining that the vehicle is switched to the charging state, an active locking function of the vehicle is activated.
6. The method according to claim 5, characterized in that In response to determining that the vehicle is switched to a charging state, enabling an active locking function of the vehicle includes: In response to determining that a second charging identifier of the charging pile sent by the mobile device is received, comparing the second charging identifier with the first charging identifier; Determining by using the key master controller that the second charging identifier is consistent with the first charging identifier, and controlling the charging port of the vehicle to open; In response to determining that the charging port of the vehicle receives a charging signal, an active locking function of the vehicle is enabled.
7. The method according to claim 1, characterized in that After the active locking function of the vehicle is turned off, the method further includes: Start timing after turning off the active locking function; In response to determining that the vehicle is not switched to the charging state within a preset time period after the start of the timing, an active locking function of the vehicle is enabled.
8. A vehicle control device, characterized in that: include: An acquisition module is configured to acquire distance data between the vehicle and the charging pile; The control module is configured to obtain a charging identifier of the charging pile in response to determining that the distance data is less than or equal to a preset distance threshold, determine that the vehicle matches the charging pile based on the charging identifier, and turn off the active locking function of the vehicle.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: Includes the vehicle control device according to claim 8 or the electronic device according to claim 9.
