Vehicle locking method, device and equipment and vehicle
By detecting the scheduled charging function and user intention after the vehicle receives the lock command, the charging gun is ensured to be successfully locked. This solves the problem of charging failure caused by faulty or unplugged charging guns in the scheduled charging technology, enables the vehicle to be charged as expected, and guarantees the user's travel plan and usage experience.
Patent Information
- Application Number
- CN202511229728.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-29
- Publication Date
- 2025-10-17
AI Technical Summary
Existing scheduled charging technology may cause the vehicle to fail to charge as expected in the event of a vehicle failure or the charging gun is not fully plugged in, affecting the user's travel plans and usage experience.
After the vehicle receives the lock command, it detects whether the scheduled charging function is turned on and sets the scheduled charging parameters to determine whether the user has the intention to charge. If there is a charging intention and the charging gun lock signal is received, the lock command is executed. The charging gun lock signal is issued when the charging pile is turned on, indicating that the charging gun has been successfully locked.
Ensure that the vehicle can be charged through the charging pile according to the scheduled charging parameters after locking the vehicle, avoid affecting the user's travel plans and usage experience, and reduce unnecessary operations and waste of resources.
Smart Images

Figure CN120792579A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a vehicle locking method, device, equipment and vehicle. BACKGROUND
[0002] With the development of science and technology and the continuous promotion of energy-saving and emission-reduction policy, the popularity rate of new energy vehicles is increasing year by year. As the most common and convenient charging method for household new energy vehicles, plug-in charging is widely used. In order to reduce the cost of electricity, most users will choose to charge at night when the electricity price is low. At this time, the pre-charge function provided by the vehicle plays an important role. Users can flexibly set the charging time through this function to achieve intelligent and economical charging management.
[0003] However, the existing pre-charge technology still has some defects in actual application. For example, the user has correctly set the pre-charge time and performed the action of plugging in the charging gun. In theory, the vehicle should automatically start charging at the pre-ordered time period. However, in some cases, such as vehicle failure or charging gun not plugged in, the vehicle cannot perform the charging operation as expected, the vehicle's power does not increase the next day, and the user's travel plan and use experience are affected. SUMMARY
[0004] Based on the defects and deficiencies of the existing technology, the present application provides a vehicle locking method, device, equipment and vehicle. When the vehicle receives a locking instruction, the pre-charge function of the vehicle is turned on and the pre-charge parameters are set, the user has a charging intention and receives a charging gun locking signal, the locking instruction is executed, solving the problem that the vehicle cannot charge as expected after locking, affecting the user's travel plan and use experience.
[0005] According to a first aspect of an embodiment of the present application, a vehicle locking method is provided, comprising: After the vehicle receives a locking instruction, it is detected whether the pre-charge function of the vehicle is turned on and the pre-charge parameters are set; If the pre-charge function of the vehicle is turned on and the pre-charge parameters are set, it is determined whether the user has a charging intention; If the user has a charging intention and receives a charging gun locking signal, the locking instruction is executed. The charging gun locking signal is sent when the charging pile is turned on, indicating that the charging gun has been successfully locked.
[0006] Since the charging gun locking signal is sent when the charging pile is turned on, and indicates that the charging gun has been successfully locked, receiving the charging gun locking signal can determine that the vehicle can be normally charged. At this time, the locking instruction is executed. Since the pre-charge function of the vehicle is turned on and the pre-charge parameters are set, it can be ensured that the vehicle can be charged through the charging pile according to the pre-charge parameters, avoiding affecting the user's travel plan and ensuring the user's use experience.
[0007] According to a second aspect of the embodiments of the present application, a locking device is provided, comprising: a detection module configured to detect whether a pre-booking charging function of the vehicle is enabled and pre-booking charging parameters are set after the vehicle receives a locking instruction; a judgment module configured to judge whether a user has a charging intention if the pre-booking charging function of the vehicle is enabled and the pre-booking charging parameters are set; an execution module configured to execute the locking instruction if the user has the charging intention and a charging gun locking signal is received, the charging gun locking signal being sent when a charging pile is enabled and indicating that the charging gun has been successfully locked.
[0008] According to a third aspect of the embodiments of the present application, an electronic device is provided, comprising a memory and a processor; the memory is connected with the processor and is configured to store a program; the processor is configured to realize the locking method according to the first aspect by running the program in the memory.
[0009] According to a fourth aspect of the embodiments of the present application, a storage medium is provided, the storage medium storing a computer program, the computer program being run by a processor to realize the locking method according to the first aspect.
[0010] According to a fifth aspect of the embodiments of the present application, a computer program product is provided, the computer program product comprising computer program instructions, the computer program instructions being run by a processor to cause the processor to execute the locking method according to the first aspect.
[0011] According to a sixth aspect of the embodiments of the present application, a vehicle is provided, the vehicle being provided with the locking device according to the second aspect or the electronic device according to the third aspect.
[0012] In the above locking method, device, equipment and vehicle, after the vehicle receives a locking instruction, it is detected whether a pre-booking charging function of the vehicle is enabled and pre-booking charging parameters are set, and when the pre-booking charging function is enabled and the pre-booking charging parameters are set, if a user has a charging intention and a charging gun locking signal is received, the locking instruction is executed. In the present application, since the charging gun locking signal is sent when a charging pile is enabled and indicates that the charging gun has been successfully locked, when the pre-booking charging function is enabled and the pre-booking charging parameters are set and the user has the charging intention, the charging gun locking signal is received, it can be determined that the vehicle can be normally charged, at this time, the locking instruction is executed, which can ensure that the vehicle can be charged through the charging pile according to the set pre-booking charging parameters after locking, compared with the prior art of locking after setting the pre-booking charging time and executing the action of inserting the charging gun, thereby effectively ensuring the travel plan and use experience of the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.
[0014] FIG. 1 A flowchart of a vehicle locking method according to an embodiment of the present application is shown.
[0015] FIG. 2 This is a schematic structural diagram of a vehicle locking device provided in an embodiment of the present application.
[0016] FIG. 3 A schematic diagram of the structure of an electronic device proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0018] SUMMARY As described in the background technology, with the popularity of new energy vehicles, in order to reduce electricity costs, most users choose to charge their vehicles during the off-peak period at night when electricity prices are lower. At this time, the scheduled charging function equipped in the vehicle plays an important role. Users can use this scheduled charging function to flexibly set the charging time and realize intelligent and economical charging management. In actual use, after the user sets the scheduled charging time and inserts the charging gun of the charging pile into the charging port of the vehicle, the charging pile does not start normally, or the charging gun fails to plug into place due to vehicle connection resistance, etc., which will cause the vehicle to fail to perform the charging operation as expected, resulting in the vehicle's power not increasing the next day, affecting the user's travel plan and usage experience.
[0019] On this basis, the inventor further found that the vehicle can be charged only when the charging gun is locked and the charging pile is opened. The charging gun locking signal is set to be sent when the charging gun is opened, indicating that the charging gun has been successfully locked. Therefore, after the vehicle receives the lock vehicle instruction, it is detected that the vehicle's scheduled charging function is opened and the scheduled charging parameters are set. It is determined that the user has a charging intention. When the charging gun locking signal is received, it can be determined that the charging pile can charge the vehicle. At this time, the lock vehicle instruction is executed, and the vehicle can be charged through the charging pile according to the set preset charging parameters after the vehicle is locked, thereby ensuring the user's travel plan and use experience.
[0020] Based on the above idea, the present embodiment of the specification provides a lock vehicle method, which will be exemplarily described below in combination with the drawings.
[0021] Exemplary methods Please refer to FIG. 1 In an exemplary embodiment, a lock vehicle method is provided, which is applied to any electronic device that can communicate with a vehicle and control the vehicle to lock, such as a whole vehicle controller. As shown in FIG. 1 The lock vehicle method includes steps S101-S103: S101: After the vehicle receives a lock vehicle instruction, it is detected whether the vehicle's scheduled charging function is opened and the scheduled charging parameters are set.
[0022] The scheduled charging parameters include scheduled charging time, upper limit of power, charging duration, and / or scheduled form, etc.
[0023] Specifically, the scheduled charging time is the start time and / or end time of the scheduled charging, such as the start time 22:00 and / or the end time 6:00. The upper limit of power is the maximum power that the vehicle needs to charge, such as 80%. The charging duration is the duration from the start time to the end time of the scheduled charging, such as 8h. The scheduled form is a single scheduled charging or a repeated scheduled charging, such as a cycle mode of every working day or every day, etc.
[0024] The scheduled charging function of the vehicle can be set through a corresponding function switch, which can be a virtual button or a physical button.
[0025] Therefore, it can be determined whether the scheduled charging function is opened by checking whether the function switch of the scheduled charging function of the vehicle's central control is in the opened state.
[0026] Alternatively, other existing technologies, such as querying the terminal application of the vehicle, can be used to detect whether the scheduled charging function of the vehicle is opened.
[0027] Correspondingly, whether the reservation charging parameter of the vehicle is set can be detected by querying the central control of the vehicle or a corresponding terminal application.
[0028] Specifically, the reservation charging function can be in an always-on state.
[0029] S102: If the reservation charging function of the vehicle is turned on and the reservation charging parameter is set, it is determined whether the user has a charging intention.
[0030] The user refers to the user of the vehicle. Generally, the user of the vehicle is the owner of the vehicle.
[0031] In addition, whether the user has a charging intention can be determined based on the charging habit of the user, that is, based on the charging habit of the user, in combination with the current situation parameter, it is determined whether the user has a charging intention. The charging habit of the user can be obtained by analyzing the historical charging data of the user or the reservation charging parameter usually set by the user. The current situation parameter includes the time when the lock vehicle instruction is received, the location of the vehicle, etc.
[0032] Specifically, the current situation parameter is compared with the charging habit of the user to determine whether the user has a charging intention.
[0033] For example, the time when the lock vehicle instruction is received and the location of the vehicle are compared with the reservation charging time, and the user habit is to reserve charging in the valley period after the vehicle is parked in the parking lot of the community where the home is located after work on weekdays. If the time when the lock vehicle instruction is received is the work time, the difference between the time and the reservation charging time in the reservation charging parameter is less than a preset difference, and the location of the vehicle is the parking lot of the community where the home is located, it is determined that the user has a charging intention. If the time when the lock vehicle instruction is received is before the work time, the difference between the time when the lock vehicle instruction is received and the reservation charging time is greater than or equal to the preset difference, and the location of the vehicle is the parking lot of the company, it is determined that the user has no charging intention.
[0034] Alternatively, whether the user has a charging intention can be determined based on whether a charging port cover opening signal is received, that is, whether a charging port cover opening signal is received is determined, and based on whether the charging port cover opening signal is received, it is determined whether the user has a charging intention.
[0035] The charging port cover opening signal is used to indicate that the charging port outer cover of the vehicle body is opened.
[0036] In addition, the charging port cover opening signal is usually obtained by detecting whether the charging port outer cover is opened through a sensor arranged at the charging port outer cover. Specifically, when the sensor detects that the charging port outer cover is opened, the charging port cover opening signal is sent to the electronic device for controlling the locking of the vehicle. Of course, when the sensor detects that the charging port outer cover is not opened, the charging port cover opening signal is also sent to the electronic device for controlling the locking of the vehicle, which represents that the charging port outer cover on the vehicle body is not opened.
[0037] Specifically, if the charging port cover opening signal is received, it is determined that the user has the charging intention; if the charging port cover opening signal is not received, it is determined that the user does not have the charging intention.
[0038] Since the charging port outer cover of the vehicle is usually in the closed state when there is no charging intention, and is automatically or manually adjusted to the opened state when the user has the charging intention, the charging port cover opening signal represents that the charging port outer cover is in the opened state, and therefore, whether the user has the charging intention can be accurately determined based on whether the charging port cover opening signal is received.
[0039] In addition, if the vehicle's scheduled charging function is not opened, or the vehicle's scheduled charging function is opened but the scheduled charging function is not set, the locking instruction is executed. At this time, before the locking instruction is executed, the scheduling prompt information can be generated, and the user is reminded to schedule charging based on the scheduling prompt information, so as to avoid the inconvenience caused by the user forgetting to charge.
[0040] Specifically, the user can be reminded in the form of voice and / or text based on the scheduling prompt information, that is, the scheduling prompt information is played and / or displayed in the form of voice and / or text.
[0041] Exemplarily, the scheduling prompt information is "Do you need to schedule charging?"
[0042] Alternatively, specifically, before the locking instruction is executed, if the battery power is less than the preset power, the scheduling prompt information is generated, and the user is reminded based on the scheduling prompt information; if the battery power is not less than the preset power, the scheduling prompt information is not generated, and the locking instruction is executed. The preset power can be determined based on experience, for example, 30%.
[0043] The operation of detecting whether the vehicle's scheduled charging function is opened and setting the scheduled charging parameters can also be performed before the vehicle receives the locking instruction. After it is determined that the vehicle's scheduled charging function is opened and the scheduled charging parameters are set, when the vehicle receives the locking instruction, it is directly determined whether the user has the charging intention.
[0044] S103: If the user has the charging intention and the charging gun locking signal is received, the locking instruction is executed.
[0045] Correspondingly, if the user has no charging intention, the lock vehicle instruction is executed.
[0046] The charging gun locking signal is sent when the charging pile is turned on, indicating that the charging gun has been successfully locked.
[0047] Specifically, if the charging gun locking signal is received within a preset time period in which the time difference from the time when the lock vehicle instruction is received is less than a preset time difference, it is determined that the charging gun locking signal is received, and if the charging gun locking signal is not received within the preset time period in which the time difference from the time when the lock vehicle instruction is received is less than the preset time difference, it is determined that the charging gun locking signal is not received.
[0048] Specifically, the charging gun locking signal is sent by the charging machine to the electronic device controlling the locking of the vehicle in response to the locking bolt extension signal received by the charging machine. The locking bolt extension signal is sent by a sensor provided at the electronic lock of the charging port to the charging machine after detecting that the locking bolt of the electronic lock is extended. The electronic lock is used to lock the charging gun to prevent the charging gun from being accidentally disconnected from the charging port during charging.
[0049] That is, the sensor at the electronic lock of the charging port is used to detect whether the locking bolt of the electronic lock is extended. After the sensor detects that the locking bolt of the electronic lock is extended, the locking bolt extension signal is sent to the charging machine of the vehicle, and the charging machine feeds back the charging gun locking signal to the electronic device controlling the locking of the vehicle to inform the electronic device that the charging gun has been successfully locked.
[0050] Specifically, after the charging pile is started and the charging gun is fully inserted, the electronic lock is controlled by the charging machine to be locked, so that the locking bolt of the electronic lock is extended. Therefore, when the charging pile is not started or the charging gun is not fully inserted, the charging gun locking signal will not be triggered, and the receipt of the charging gun locking signal can determine that the charging pile can charge the vehicle. It can be understood that the charging pile described in each embodiment refers to the charging pile to which the charging gun belongs.
[0051] The fully inserted charging gun refers to the connection of the charging socket / charging port and the pin of the charging gun.
[0052] The starting of the charging pile can be realized in response to user operation, which is card swiping or turning on Bluetooth. For specific introduction of the operation, please refer to the prior art.
[0053] In the embodiment, since the charging gun locking signal is sent when the charging pile is turned on and represents that the charging gun has been successfully locked, when the reservation charging function is turned on and the reservation charging parameters are set and the user has a charging intention, the charging gun locking signal is received, it can be determined that the vehicle can be normally charged, at this time, the lock vehicle instruction is executed, compared with the prior art in which the vehicle is locked after the reservation charging time is set and the charging gun is inserted, it can be ensured that the vehicle can be charged through the charging pile according to the set reservation charging parameters after the vehicle is locked, thereby effectively ensuring the travel plan and use experience of the user.
[0054] In addition, in the prior art, in order to avoid repeatedly setting the reservation charging parameters, many users will set a repeated reservation form when setting the reservation charging parameters, in actual work and life, there may be a case that the user has set the reservation charging but has no charging intention after locking the vehicle, for example, the user uses the repeated reservation form to reserve the vehicle charging in the power price valley period after work every weekday, when the user parks the vehicle and locks the vehicle after driving the vehicle to work, there is no charging intention, when the user parks the vehicle and locks the vehicle after driving the vehicle to work, there is a charging intention.
[0055] Since whether the vehicle can be normally charged after the user has no charging intention has no influence on the use of the user, whether the vehicle can be normally charged after the user has a charging intention will affect whether the vehicle can be charged as expected after the vehicle is locked, thereby affecting the use plan and use experience of the user. In the case that it is determined that the user has no charging intention, the lock vehicle instruction is directly executed, in the case that it is determined that the user has a charging intention, the lock vehicle instruction is executed only after the charging gun locking signal is received, compared with the prior art in which the action of inserting the charging gun is directly executed in the case that the reservation charging function is turned on, it can be well reduced that unnecessary operation and resource waste are reduced, it can be ensured that the vehicle can be charged as expected after the vehicle is locked, thereby ensuring the travel plan and use experience of the user.
[0056] In order to quickly identify whether there is a charging intention, in some embodiments, when it is judged whether the charging port cover opening signal is received, a first feedback signal sent by a first sensor arranged at the charging port is received, the first feedback signal is analyzed, a signal value represented by the first feedback signal is obtained, and whether the first feedback signal is the charging port cover opening signal is judged based on the signal value of the first feedback signal.
[0057] The first sensor is used to detect whether the charging port cover is opened.
[0058] Specifically, the first sensor is a pressure sensor and / or an infrared sensor. That is, the first sensor is a pressure sensor, or the first sensor is an infrared sensor, or the first sensor includes a pressure sensor and an infrared sensor.
[0059] The first sensor emits a first feedback signal in real time or periodically. Then, each first feedback signal emitted by the first sensor is analyzed to obtain a signal value represented by each first feedback signal.
[0060] If the first sensor is a pressure sensor, the first feedback signal represents the pressure applied by the charging port cover to the pressure sensor. The first feedback signal is analyzed to obtain a pressure value applied by the charging port cover to the pressure sensor.
[0061] Generally, when a user presses the free side of the charging port cover with a certain force, the free side of the charging port cover is popped away from the hinge side, i.e., the charging port cover is opened.
[0062] Specifically, if the pressure sensor at the charging port is arranged at the hinge side of the charging port cover, the pressure value applied by the charging port cover to the pressure sensor is larger when the charging port cover is not opened, and the pressure value applied by the charging port cover to the pressure sensor is smaller when the charging port cover is opened.
[0063] At this time, if the pressure value applied by the charging port cover to the pressure sensor represented by the analyzed first feedback signal is less than a first preset pressure value, the first feedback signal represents that the charging port cover is opened. Correspondingly, if the pressure value applied by the charging port cover to the pressure sensor represented by the analyzed first feedback signal is greater than or equal to the first preset pressure value, the first feedback signal represents that the charging port cover is not opened.
[0064] Generally, the first preset pressure value is 0 or slightly greater than 0.
[0065] Alternatively, specifically, if the pressure sensor at the charging port is arranged at the free side of the charging port cover, the pressure value applied by the charging port cover to the pressure sensor is larger when the user presses the free side to open the charging port cover, and the pressure value applied by the charging port cover to the pressure sensor is smaller before the user presses the free side to open the charging port cover.
[0066] At this time, if the pressure value applied by the charging port cover to the pressure sensor represented by the analyzed first feedback signal is greater than or equal to a second preset pressure value, the first feedback signal represents that the charging port cover is opened. Correspondingly, if the pressure value applied by the charging port cover to the pressure sensor represented by the analyzed first feedback signal is less than the second preset pressure value, the first feedback signal represents that the charging port cover is not opened.
[0067] The first preset pressure value is less than the second preset pressure value.
[0068] If the first sensor is an infrared sensor, the first feedback signal represents whether the infrared sensor receives the infrared reflected by the charging port cover after emitting infrared to the charging port cover.
[0069] At this time, if the signal value represented by the first feedback signal is a first preset value, for example, 1, it indicates that the infrared sensor receives the infrared reflected by the charging port cover after emitting infrared to the charging port cover, and the first feedback signal represents that the charging port cover is not opened. Correspondingly, if the signal value represented by the first feedback signal is a second preset value, for example, 0, it indicates that the infrared sensor does not receive the infrared reflected by the charging port cover after emitting infrared to the charging port cover, and the first feedback signal represents that the charging port cover is not opened.
[0070] If the first sensor includes a pressure sensor and an infrared sensor, the first feedback signals sent by the pressure sensor and the infrared sensor are analyzed respectively, and based on the signal values of the first feedback signals sent by the pressure sensor and the infrared sensor, it is determined that at least one of the first feedback signals sent by the two sensors represents that the charging port cover is opened, and it is determined that the first feedback signal sent by the first sensor represents that the charging port cover is opened. Correspondingly, if based on the signal values of the first feedback signals sent by the two sensors, it is determined that the first feedback signals sent by the two sensors both represent that the charging port cover is not opened, it is determined that the first feedback signal sent by the first sensor represents that the charging port cover is not opened.
[0071] Specifically, after it is determined that the first feedback signal sent by the first sensor represents that the charging port cover is not opened, it is determined that the first feedback signal is not a charging port cover opening signal, that is, it can be determined that the charging port cover opening signal is not received. Correspondingly, after it is determined that the first feedback signal sent by the first sensor represents that the charging port cover is opened, it is determined that the first feedback signal is a charging port cover opening signal, that is, it can be determined that the charging port cover opening signal is received.
[0072] In this way, since the signal value of the first feedback signal sent by the first sensor can represent whether the charging port cover is opened, by analyzing the first feedback signal to obtain the signal value of the first feedback signal, based on the signal value of the first feedback signal obtained by analysis, it can be quickly determined whether the charging port cover opening signal is received, thereby determining the user's intention.
[0073] Of course, the first sensor can also be provided with a processor to directly identify and process the signal detected by the first sensor. At this time, the first sensor can directly emit a charging port cover opening signal when the charging port cover is opened. In this way, the electronic device can directly determine whether the charging port cover opening signal is received by analyzing the signal sent by the first sensor, thereby determining the user's intention.
[0074] In order to determine whether a charging gun locking signal is received, in some embodiments, a second feedback signal emitted by a second sensor arranged at the charging port is received, the second feedback signal is analyzed to obtain a signal value represented by the second feedback signal, and based on the signal value of the second feedback signal, it is determined whether the second feedback signal is a charging gun locking signal.
[0075] The second sensor is used to detect whether the lock tongue of the electronic lock in the charging port for locking the charging gun is extended.
[0076] Specifically, the second sensor sends out a second feedback signal in real time or periodically. Afterwards, each second feedback signal received from the second sensor is analyzed to obtain a signal value represented by each second feedback signal.
[0077] If the second sensor is an infrared distance sensor, the second feedback signal represents the duration or intensity of the infrared light sent by the sensor to the position where the lock tongue of the electronic lock for locking the charging gun is extended and reflected back to the sensor.
[0078] If the signal value represented by the second feedback signal, i.e., the duration of time it takes for the infrared light to be reflected back to the sensor, is greater than a preset duration, then the second feedback signal is determined to indicate that the electronic lock's lock tongue is not extended, i.e., the charging gun is not locked. Correspondingly, if the signal value represented by the second feedback signal is less than or equal to the preset duration, then the second feedback signal is determined to indicate that the electronic lock's lock tongue is extended, i.e., the charging gun is locked.
[0079] Alternatively, generally, the infrared rays emitted by the second sensor have the same intensity. Therefore, the attenuation of the reflected infrared rays can be represented based on the intensity of the infrared rays reflected back to the second sensor. The smaller the intensity of the reflected infrared rays, the greater the attenuation, and the longer the infrared rays propagate. At this point, if the signal value represented by the second feedback signal, i.e., the value of the infrared ray intensity reflected back to the sensor, is greater than a preset intensity, then it is determined that the second feedback signal indicates that the electronic lock's lock tongue has been extended, i.e., the charging gun is locked. Correspondingly, if the signal value represented by the second feedback signal is less than or equal to the preset intensity, then it is determined that the second feedback signal indicates that the electronic lock's lock tongue has not been extended, i.e., the charging gun is not locked.
[0080] The attenuation of the infrared light reflected back to the second sensor can be represented by a voltage signal, that is, the second feedback signal can also be a voltage signal. The greater the value of the voltage signal, the greater the attenuation of the infrared light. At this point, if the signal value represented by the second feedback signal, that is, the value of the voltage signal represented by the second feedback signal, is greater than a preset voltage value, then it is determined that the second feedback signal indicates that the lock tongue of the electronic lock is not extended, that is, the charging gun is not locked. Correspondingly, if the signal value represented by the second feedback signal is less than or equal to the preset voltage value, then it is determined that the second feedback signal indicates that the lock tongue of the electronic lock is extended, that is, the charging gun is locked.
[0081] When it is determined that the second feedback signal represents that the charging gun is locked, the second feedback signal can be determined as the charging gun locking signal, i.e., the charging gun locking signal is received. Correspondingly, when it is determined that the second feedback signal represents that the charging gun is not locked, the second feedback signal can be determined as not being the charging gun locking signal, i.e., the charging gun locking signal is not received.
[0082] In this way, since the signal value of the second feedback signal emitted by the second sensor can represent whether the charging gun is locked, by analyzing the second feedback signal to obtain the signal value of the second feedback signal, it can be quickly determined whether the charging gun locking signal is received, so as to determine whether the charging pile can charge the vehicle as expected.
[0083] Of course, the second sensor can also be provided with a processor to directly identify and process the signal detected by the second sensor. At this time, the second sensor can directly emit the charging gun locking signal when the charging gun is locked. In this way, the signal emitted by the second sensor can be directly analyzed, and it is not necessary to judge the analysis result, so as to determine whether the charging gun locking signal is received, so as to determine whether the charging pile can charge the vehicle as expected.
[0084] In order to ensure the travel plan and use experience of the user, in some embodiments, if the user has a charging intention and the charging gun locking signal is not received, the lock vehicle instruction is refused to be executed, and a first prompt information is generated, and the user is prompted to check whether the charging pile is started and whether the charging gun is locked based on the first prompt information.
[0085] The judgment method of whether the charging gun locking signal is received can be referred to the above description, which will not be repeated here.
[0086] Based on the introduction of the charging gun locking signal, if the charging gun locking signal is not received, it represents that the charging gun is not successfully locked or the charging pile is not started. At this time, the vehicle cannot be charged through the charging pile after the lock vehicle instruction is executed.
[0087] Specifically, based on the first prompt information, the user is prompted to check whether the charging pile is started or the charging gun is locked through a voice reminding mode.
[0088] More specifically, the first prompt information is sent to a voice system, and the voice system is controlled to play the first prompt information.
[0089] Exemplarily, the first prompt information is "reservation charging cannot be executed, please check whether the charging gun is locked or the charging pile is started".
[0090] Alternatively, specifically, based on the first prompt information, the first prompt information is displayed on the central control display screen or the user terminal through a text reminding mode.
[0091] More specifically, the first prompt information is sent to the central control system, and the central control display screen is controlled to display the first prompt information.
[0092] Alternatively, specifically, based on the first prompt information, the user is prompted to check whether the charging pile is started and whether the charging gun is locked by a horn reminding mode. The horn reminding mode is a preset form of horn sound. That is, the first prompt information is a preset form of horn sound.
[0093] More specifically, based on the first prompt information, the vehicle horn system is controlled to continuously sound in a preset form.
[0094] The preset form can be a horn sounding mode that is different from a lock car horn sounding mode and a search car horn sounding mode. For example, the lock car horn sounding mode is one sound, the search car horn sounding mode is two sounds, and the preset form can be three consecutive sounds.
[0095] Alternatively, based on different actual situations, the user can be reminded in multiple ways such as the above voice, text, and horn.
[0096] In this embodiment, the fact that the charging gun locking signal is not received indicates that the charging pile is not started or the charging gun is not successfully locked. At this time, the charging pile cannot charge the vehicle, and the user's charging intention cannot be satisfied. At this time, the lock car instruction is refused to be executed, the first prompt information is generated, and the user is reminded to check whether the charging pile is started and whether the charging gun is locked based on the first prompt information. The user can be reminded in time to eliminate factors affecting the normal charging of the vehicle, so that the charging pile is started and the charging gun is locked to ensure that the vehicle can be charged through the charging pile according to the preset charging parameters after the vehicle is locked, and the user's travel plan and use experience are avoided to be affected.
[0097] To ensure the user's use experience, in some embodiments, after the user is prompted to check whether the charging pile is started and whether the charging gun is locked based on the first prompt information, the first feedback information given by the user in response to the first prompt information is received. If the first feedback information indicates that the charging pile is started and the charging gun is locked, the lock car instruction is executed.
[0098] After the user is prompted based on the first prompt information, the user checks whether the charging pile is started and whether the charging gun is locked in response to the first prompt information, and then the user inputs the first feedback information.
[0099] The first feedback information is used to indicate whether the charging pile is started and whether the charging gun is locked.
[0100] If the user checks that the charging pile is started and the charging gun is locked, or the user performs the operation of starting the charging pile and inserting the charging gun, and then the charging pile is started and the charging gun is locked, the user inputs the first feedback information. At this time, the first feedback information indicates that the charging pile is started and the charging gun is locked.
[0101] Correspondingly, if the user checks that the charging pile is not started or the charging gun is not locked, and the charging pile is still not started or the charging gun is still not locked after the user performs the operation of starting the charging pile and inserting the charging gun, and then the user inputs the first feedback information, at this time, the first feedback information represents that the charging pile is not started or the charging gun is not locked.
[0102] By analyzing the first feedback information, the content represented by the first feedback information is obtained, and when the content represented by the first feedback information is that the charging pile is started and the charging gun is locked, the lock vehicle instruction is executed. At this time, the lock vehicle instruction is executed, which can meet the charging intention of the user and charge the vehicle at the corresponding time according to the user's expectation after the vehicle is locked.
[0103] Specifically, it is determined that the first feedback information represents that the charging pile is started and the charging gun is locked, and whether the charging gun locking signal is received, the lock vehicle instruction is automatically executed or the lock vehicle instruction is refused.
[0104] That is, it is determined that the first feedback information represents that the charging pile is started and the charging gun is locked, and the charging gun locking signal is received, and the lock vehicle instruction is automatically executed. It is determined that the first feedback information represents that the charging pile is started and the charging gun is locked, but the charging gun locking signal is not received, and the lock vehicle instruction is refused. In this way, the vehicle can be locked when it is possible to charge the vehicle as expected, thereby effectively guaranteeing the user experience and avoiding affecting the user's travel plan.
[0105] Alternatively, specifically, after receiving the first feedback information representing that the charging pile is started and the charging gun is locked, the user terminal and / or the central control display are sent the chargeable prompt information, which is used to prompt the user that the vehicle can be charged by the charging pile as expected. Then, a new lock vehicle instruction sent by the user based on the charging prompt information is received, and the vehicle is controlled to lock in response to the new lock vehicle instruction.
[0106] In this embodiment, after the user is prompted to check whether the charging pile is started and the charging gun is locked based on the first prompt information, the first feedback information representing that the charging pile is started and the charging gun is locked is received, which can represent that the charging pile can normally charge the vehicle as expected. At this time, the lock vehicle instruction is executed, which can charge the vehicle according to the user's set reservation charging parameters after the vehicle is locked, thereby avoiding affecting the user's travel plan and use experience.
[0107] In order to ensure that the vehicle can be normally locked and unnecessary resource waste is avoided, in some embodiments, after the user has the charging intention and the locking instruction is refused to be executed when the charging gun locking signal is not received, a second prompt information is generated, and the user is prompted to confirm whether he has the charging intention based on the second prompt information. Then, the second feedback information given by the user in response to the second prompt information is received. If the second feedback information represents that the user does not have the charging intention, a third prompt information is generated, and the user is prompted to check whether the charging port outer cover is malfunctioning based on the third prompt information.
[0108] Specifically, the user is prompted to confirm whether he has the charging intention by voice playing, text display, horn prompting and the like based on the second prompt information.
[0109] Since the user starts the charging pile and the plug-in charging gun to the charging port only when he has the charging intention, if the user does not perform the action of starting the charging pile and the plug-in charging gun, it represents that the user may actually not have the charging intention. In this case, if the charging port cover opening signal is received, the charging port outer cover may be accidentally opened or malfunctioning. At this time, if the second feedback information given by the user is received and the second feedback information represents that the user does not have the charging intention, it can be determined that the charging port outer cover is accidentally opened or malfunctioning.
[0110] At this time, the third prompt information is generated, and whether the charging port outer cover is malfunctioning is checked based on the third prompt information.
[0111] Correspondingly, if the second feedback information given by the user is received and the second feedback information represents that the user has the charging intention, it can be determined that the charging port outer cover is not accidentally opened or malfunctioning. At this time, the first prompt information can be generated to prompt the user to check whether the charging pile is started and the charging gun is locked but the charging gun locking signal is still not received.
[0112] In the embodiment, in response to the second feedback information given by the second prompt information, when the second feedback information represents that the user does not have the charging intention, the third prompt information is generated and the user is prompted to check whether the charging port outer cover is malfunctioning. This facilitates the user to timely find the malfunction of the charging port outer cover and take measures to eliminate the malfunction, avoids the error judgment of whether the user has the charging intention due to the failure to timely find the malfunction, and thus avoids the resource waste caused by repeatedly prompting the user to check whether the charging pile is started or the charging gun is locked due to the error judgment.
[0113] Alternatively, according to different actual needs, the locking instruction can be refused to be executed when the user has the charging intention and the charging gun locking signal is not received, and the first prompt information is generated and the user is prompted at least once, and then the operation of generating the second prompt information is performed.
[0114] In order to ensure the user's travel plan and use experience, in some embodiments, if the user has a charging intention and receives the charging gun locking signal, the vehicle is charged by the charging pile according to the reserved charging parameters after the lock vehicle instruction is executed, and the charging progress information is fed back to the user.
[0115] The charging progress information includes the battery power. Specifically, the battery power is the power of the battery that provides power for the vehicle to travel.
[0116] Of course, the charging progress information can also include charging time, start charging time, end charging time and the like.
[0117] Specifically, the vehicle is charged by the opened charging pile connected to the vehicle according to the reserved charging parameters, the parameters in the charging process are monitored, the parameters in the charging process are summarized as charging progress information, and the charging progress information is sent to the user terminal, so that the charging progress information is pushed to the user through the application of the user terminal automatically or in response to the user's query demand.
[0118] In this way, in the embodiment, the user can know the charging condition of the vehicle under the reserved charging parameters set by the user based on the charging progress information fed back by the electronic device, so that the user can discover the abnormal charging of the vehicle in time and take measures in time when the vehicle is abnormally charged to ensure the user's travel plan and use experience.
[0119] Exemplary systems The above lock vehicle method is applied to a system for locking a vehicle that can control reserved charging, and the system includes a vehicle and an electronic device, the electronic device is in communication connection with the vehicle, and the vehicle can be locked by the electronic device.
[0120] The vehicle is provided with a charging port for charging a battery that can provide power for the vehicle, including a charging port inner cover and a charging port outer cover. The charging port outer cover is located on the vehicle body and is a sheet metal part. A charging port cover sensor is arranged at the charging port outer cover, and the charging port cover sensor is used to detect whether the charging port outer cover is opened. After detecting that the charging port outer cover is opened, a charging port opening signal is sent to the electronic device.
[0121] The charging port is also provided with an electronic lock for locking the charging gun inserted into the charging port on the charging pile. A lock tongue sensor is arranged at the electronic lock, and the lock tongue sensor is used to detect whether the lock tongue is extended.
[0122] The vehicle is also provided with a charging machine, and the charging machine is used to drive the electronic lock to lock when the charging pile is started, that is, to extend the lock tongue to lock the charging gun inserted into the charging port on the charging pile, and to feed back a charging gun locking signal to the electronic device when receiving the lock tongue extension signal sent by the lock tongue sensor.
[0123] The electronic device detects whether the vehicle's pre-charge function is turned on and pre-charge parameters are set when the vehicle receives a lock vehicle instruction, and controls the vehicle to lock based on whether a charging port cover opening signal and a charging gun locking signal are received. For specific implementation of the process, see the above embodiments.
[0124] For example, in the lock vehicle process associated with pre-charge, the electronic device (such as a controller or the control system in which it is located) detects whether pre-charge is set, and if so, executes the following logic: A sensor is provided at the charging port (external) cover on the vehicle body to detect whether the charging port cover is opened, and if so, the sensor feeds a signal A (i.e., the above-mentioned charging port cover opening signal) to the electronic device, where the charging port cover is opened, indicating that the user is about to perform a charging gun insertion action. The signal defined as signal B is that the charging machine drives the electronic lock to extend the locking tongue to lock the electronic gun. A sensor is provided at the electronic lock to detect whether the locking tongue is extended, and if so, the sensor feeds a signal C to the charging machine, and the charging machine feeds a signal D (i.e., the above-mentioned charging gun locking signal) to the electronic device, indicating that the charging gun has been successfully locked. Where only when the charging pile is started by swiping the card / opening Bluetooth, etc., the charging machine will drive the electronic lock to lock (the charging gun inserted into the charging port).
[0125] When the vehicle is locked, the electronic device detects whether signal A is received, and if not, directly executes the lock vehicle instruction; if signal A is received, it is simultaneously detected whether signal D is received. Where if signal D is received, the lock vehicle instruction is executed; if signal D is not received, the lock vehicle instruction is refused, and the electronic device transmits information about the refusal to execute the lock vehicle instruction to the vehicle infotainment voice system, which broadcasts "pre-charge cannot be executed, please check whether the charging gun is locked or the charging pile is in the starting state" through the vehicle infotainment voice system, and after the voice broadcast ends, controls the vehicle horn system to sound 3 times in succession to distinguish from the lock vehicle horn and the search vehicle horn, prompting the user to reinsert or remove the charging gun or start the charging pile.
[0126] Exemplary apparatus As shown in FIG. 2 The present application embodiment further provides a lock vehicle device, comprising a detection module 201, a judgment module 202, and an execution module 203.
[0127] Among them, The detection module 201 is configured to detect whether the vehicle's pre-charge function is turned on and pre-charge parameters are set after the vehicle receives a lock vehicle instruction; The judgment module 202 is configured to judge whether the user has a charging intention if the vehicle's pre-charge function is turned on and pre-charge parameters are set; The execution module 203 is configured to execute the locking instruction if the user has the charging intention and the charging gun locking signal is received, and the charging gun locking signal is sent when the charging pile is turned on, indicating that the charging gun has been successfully locked.
[0128] The locking device provided by the embodiment belongs to the same application concept as the locking method provided by the above-mentioned embodiments of the application, can execute the method provided by any of the above-mentioned embodiments of the application, has the function modules and beneficial effects corresponding to the execution method, and has the function modules and beneficial effects corresponding to the execution method. Technical details not described in detail in the embodiment can be referred to the specific processing content of the locking method provided by the above-mentioned embodiments of the application, which will not be described here.
[0129] The functions realized by the above detection module 201, judgment module 202 and execution module 203 can be realized by calling software by the same or different processors, and the embodiments of the application are not limited.
[0130] Exemplary electronic devices Another embodiment of the application further provides an electronic device, as shown in FIG. 3 The electronic device includes a memory 300 and a processor 310.
[0131] The memory 300 is connected with the processor 310, and is configured to store programs. The processor 310 is configured to realize the locking method disclosed in any of the above-mentioned embodiments by running the programs stored in the memory 300.
[0132] Specifically, the electronic device can further include a bus, a communication interface 320, an input device 330 and an output device 340.
[0133] The processor 310, the memory 300, the communication interface 320, the input device 330 and the output device 340 are connected with each other through the bus. The bus can include a channel for transmitting information between various components of the computer system.
[0134] The processor 310 can be a general processor, such as a general central processing unit (CPU), a microprocessor, or the like, or can be an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs of the present application. It can also be a digital signal processor (DSP), an application-specific integrated circuit ASIC, a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
[0135] The processor 310 can include a main processor and can also include a baseband chip, a modem, or the like.
[0136] The memory 300 stores programs for executing the technical solutions of the present application, and can also store operating systems and other key services. Specifically, the programs can include program codes, and the program codes include computer operation instructions. More specifically, the memory 300 can include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a magnetic disk storage, a flash memory, and the like.
[0137] The input device 330 can include a device that receives data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor, and the like.
[0138] The output device 340 can include a device that allows information to be output to a user, such as a display screen, a printer, a speaker, and the like.
[0139] The communication interface 320 can include a device using any transceiver to communicate with other devices or communication networks, such as an Ethernet, a radio access network (RAN), a wireless local area network (WLAN), and the like.
[0140] The processor 310 executes the programs stored in the memory 300 and calls other devices, which can be used to implement each step of any one of the lock methods provided by the embodiments of the present application.
[0141] Those skilled in the art can understand that, FIG. 3The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0142] The embodiment of the present application also provides a chip, which comprises a processor and a data interface. The processor reads and runs a program stored on a memory through the data interface to execute the locking method introduced in any of the above embodiments. The specific processing process and advantages thereof can be referred to the above-mentioned embodiment of the locking method.
[0143] The embodiment of the present application also provides a vehicle, which is provided with the locking device shown in the above FIG. 2 or the electronic device shown in the above. FIG. 3
[0144] In addition to the above method and device, the embodiment of the present application provides a computer program product, which comprises computer program instructions. When the computer program instructions are executed by a processor, the processor executes the steps of the locking method according to various embodiments of the present application described in the above “Exemplary Method” section of the specification.
[0145] The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of the present application, including an object-oriented programming language, such as Java, C++, etc., and a conventional procedural programming language, such as “C” language or similar programming language. The program code can be executed entirely on a user computing device, partially on a user device, as an independent software package, partially on a user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0146] In addition, the embodiment of the present application also provides a storage medium, which stores a computer program. The computer program is executed by a processor to execute the steps of the locking method according to various embodiments of the present application described in the above “Exemplary Method” section of the specification.
[0147] The basic principles of the present application are described above in combination with specific embodiments, but it should be pointed out that the advantages, advantages, effects, etc. mentioned in the present application are only examples and not limitations, and these advantages, advantages, effects, etc. cannot be considered as the must-have of each embodiment of the present application. In addition, the above-mentioned specific details are only for the purpose of example and for the purpose of understanding, and are not limited to the above-mentioned specific details. The above-mentioned details do not limit the present application to be realized by the above-mentioned specific details.
[0148] The block diagrams of the devices, apparatuses, equipment, systems involved in the present application are only illustrative examples and are not intended to require or imply that the connections, arrangements, configurations must be as shown in the block diagrams. These devices, apparatuses, equipment, systems can be connected, arranged, configured in any manner as will be appreciated by those skilled in the art. Words such as "include," "contain," "have," and the like are open-ended words that are intended to mean "including but not limited to," and are to be used interchangeably. The words "or" and "and" as used herein are intended to mean "and / or," and are to be used interchangeably. The word "such as" as used herein is intended to mean "such as but not limited to," and is to be used interchangeably.
[0149] It should also be noted that in the devices, apparatuses and methods of the present application, each component or step can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions of the present application.
[0150] The above description of disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein can be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0151] It should be understood that the adjectives "first", "second", "third", "fourth", "fifth" and "sixth" used in the embodiments of the present application are only used for more clearly describing the technical solutions and cannot be used to limit the protection scope of the present application.
[0152] The above description has been given for the purpose of illustration and description. Furthermore, this description does not intend to limit the embodiments of the present application to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations of the aspects and embodiments discussed above.
Claims
1. A method for locking a vehicle, characterized in that: The method comprises: After receiving the lock command, the vehicle detects whether the scheduled charging function of the vehicle is turned on and sets the scheduled charging parameters; If the scheduled charging function of the vehicle is turned on and the scheduled charging parameters are set, determining whether the user has the intention to charge; If the user intends to charge and receives a charging gun locking signal, the vehicle locking instruction is executed. The charging gun locking signal is issued when the charging pile is turned on, indicating that the charging gun has been successfully locked.
2. The method for locking a vehicle according to claim 1, wherein: The determining whether the user has a charging intention includes: Determine whether a charging port cover opening signal is received; If a charging port cover opening signal is received, it is determined that the user has a charging intention, and the charging port cover opening signal is used to indicate that a charging port cover on the vehicle body is opened; If the charging port cover opening signal is not received, it is determined that the user has no intention to charge.
3. The method for locking a vehicle according to claim 2, wherein: The determining whether the charging port cover opening signal is received includes: receiving a first feedback signal from a first sensor disposed at the charging port, the first sensor being used to detect whether the charging port cover is open; parsing the first feedback signal to obtain a signal value represented by the first feedback signal; Based on the signal value of the first feedback signal, it is determined whether the first feedback signal is the charging port cover opening signal.
4. The method for locking a vehicle according to claim 1, wherein: The method further comprises: receiving a second feedback signal from a second sensor disposed at the charging port, the second sensor being configured to detect whether a lock tongue of an electronic lock in the charging port, which is configured to lock the charging gun, is extended; parsing the second feedback signal to obtain a signal value represented by the second feedback signal; Based on the signal value of the second feedback signal, it is determined whether the second feedback signal is the charging gun locking signal.
5. The method for locking a vehicle according to any one of claims 1 to 4, characterized in that: The method further comprises: If the user intends to charge and has not received the charging gun locking signal, the vehicle locking instruction is refused to be executed, and a first prompt message is generated. Based on the first prompt message, the user is prompted to check whether the charging pile is started and whether the charging gun is locked.
6. The vehicle locking method according to claim 5, characterized in that: After prompting the user to check whether the charging pile is started and whether the charging gun is locked based on the first prompt information, the method further includes: receiving first feedback information given by the user in response to the first prompt information; If the first feedback information indicates that the charging pile is started and the charging gun is locked, the vehicle locking instruction is executed.
7. The vehicle locking method according to claim 5, characterized in that: After refusing to execute the vehicle locking instruction, the method further includes: generating a second prompt message, and prompting the user to confirm whether the user intends to charge based on the second prompt message; receiving second feedback information given by the user in response to the second prompt information; If the second feedback information indicates that the user has no intention to charge, a third prompt message is generated, and based on the third prompt message, the user is prompted to check whether the charging port cover is faulty.
8. A car locking device, characterized in that: The device comprises: A detection module is used to detect whether the scheduled charging function of the vehicle is turned on and set the scheduled charging parameters after the vehicle receives the vehicle lock command; a judgment module, configured to judge whether the user has a charging intention if the scheduled charging function of the vehicle is turned on and the scheduled charging parameters are set; The execution module is used to execute the vehicle locking instruction if the user has the intention to charge and receives the charging gun locking signal. The charging gun locking signal is issued when the charging pile is turned on, indicating that the charging gun has been successfully locked.
9. An electronic device, characterized in that: including memory and processor; The memory is connected to the processor and is used to store programs; The processor is configured to implement the vehicle locking method according to any one of claims 1 to 7 by running the program in the memory.
10. A vehicle, characterized in that: The vehicle is provided with the vehicle locking device as described in claim 8 or the electronic device as described in claim 9.