In-vehicle head unit quick start method, electronic device, storage medium, and program product
Patent Information
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- ECARX TECHNOLOGY PTE LTD
- Filing Date
- 2024-12-11
- Publication Date
- 2026-08-05
AI Technical Summary
Existing in-vehicle head units experience frequent wake-ups due to proximity detection, leading to power waste and reduced service life, and delayed wake-up times when entering a low-power state.
Utilizing a first and second positioning module to detect distance signals from a key terminal, sending locking, sleep, wake-up, and unlocking signals based on preset ranges and conditions to manage the head unit's power states efficiently.
This approach reduces power consumption, extends the service life of the in-vehicle head unit, and ensures quick wake-up times by optimizing power management based on real-time distance detection and user scenarios.
Smart Images

Figure CN2024138622_18062026_PF_FP_ABST
Abstract
Description
IN-VEHICLE HEAD UNIT QUICK START METHOD, ELECTRONIC DEVICE, STORAGE MEDIUM, AND PROGRAM PRODUCTTECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, and in particular, to an in-vehicle head unit quick start method, an electronic device, a storage medium, and a program product.BACKGROUND
[0002] With the development of radio frequency technologies, a short-range wireless communication technology with significant advantages of low cost, low energy consumption, low complexity, and high sensitivity meets the strong pursuit of users for wireless communication products, especially abilities to realize convenient and practical functions such as intelligent control, wireless sensing and so on.
[0003] Currently, most automobiles are equipped with a quick start function, a current control mode is to enable an in-vehicle head unit (for example, a display head unit (DHU) ) to be in a low-power state which is similar to a power sleep state of a computer host, and in this operating state, operating state data of a vehicle will be saved into a memory, and in a case that a vehicle door is unlocked, the in-vehicle head unit will immediately be woken up from the sleep state, and then re-read out the operating state data from the memory. When a user carries a key terminal and passes by the vehicle, the in-vehicle head unit will be frequently woken up, resulting in a waste of power and reduction in service life, and when the in-vehicle head unit is about to enter the low-power state, a prepositive processing process needs to consume a certain amount of processing time, at this time, if the user needs to unlock the vehicle door, the in-vehicle head unit is in the processing process of entering the low-power state, and thus cannot immediately finish being woken up, and it takes a certain amount of time for a screen to light up, which lowers user experience.SUMMARY
[0004] Technical solutions in embodiments of the present application will be described clearly and completely in the following in combination with drawings in the embodiments of the present application, and it is clear that the described embodiments are only a part of the embodiments in the present application and not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without making creative labor fall within protection scope of the present application.
[0005] A purpose of the present application is to propose an in-vehicle head unit quick start method, an electronic device, a storage medium, and a program product to solve defects in the prior art.
[0006] In a first aspect, an embodiment of the present application provides an in-vehicle head unit quick start method, applied to a vehicle control system, and the method including: acquiring, by a first positioning module and / or a second positioning module, a first distance signal between a key terminal and a vehicle; determining a first distance according to the first distance signal, and sending a locking signal if the first distance is in a first preset range; acquiring, by the second positioning module, at least one second distance signal between the key terminal and the vehicle; and sending a sleep signal if the second distance signal satisfies a preset condition; where the locking signal is used for controlling the vehicle to lock at least one vehicle door, and the sleep signal is used for controlling the vehicle control system to enter a sleep state.
[0007] In a possible implementation, a first threshold value is a minimum value of the first preset range; the sending the locking signal if the first distance is in the first preset range specifically includes: if the first distance exceeds the first threshold value, sending the locking signal.
[0008] In a possible implementation, the sending the sleep signal if the second distance signal satisfies the preset condition specifically includes: determining a second distance according to the second distance signal, and sending the sleep signal if the second distance is in a second preset range.
[0009] In a possible implementation, a second threshold value is a minimum value of the second preset range, and the sending the sleep signal if the second distance is in the second preset range specifically includes: if the second distance exceeds the second threshold value, sending the sleep signal.
[0010] In a possible implementation, the method further includes: acquiring a state of the vehicle control system, and if the vehicle control system is in the sleep state, acquiring, by the second positioning module, a third distance signal; determining a third distance according to the third distance signal, and if the third distance is less than the second threshold value, sending a wake-up signal; acquiring, by the first positioning module, a fourth distance signal; and determining a fourth distance according to the fourth distance signal, and if the fourth distance is less than the first threshold value, sending an unlocking signal; where the unlocking signal is used for controlling the vehicle to unlock at least one vehicle door, and the wake-up signal is used for controlling the vehicle control system to enter a wake-up state.
[0011] In a possible implementation, the sending the sleep signal if the second distance signal satisfies a preset condition specifically includes: if the second distance signal is not acquired within preset time, sending the sleep signal.
[0012] In a possible implementation, the acquiring, by the second positioning module, the at least one second distance signal between the key terminal and the vehicle; and sending the sleep signal if the second distance signal satisfies the preset condition, specifically includes: acquiring, by the second positioning module, second distance signals between the key terminal and the vehicle at least at two moments, and determining second distances at different moments according to the second distance signals at different moments; and if a second distance corresponding to a later moment is greater than a second distance at an earlier moment, sending the sleep signal.
[0013] In a possible implementation, the acquiring, by the second positioning module, the at least one second distance signal between the key terminal and the vehicle; and sending the sleep signal if the second distance signal satisfies the preset condition, specifically includes: acquiring, by the second positioning module, second distance signals between the key terminal and the vehicle at least at two moments, and determining second distances at different moments according to the second distance signals at different moments; acquiring, according to a preset number of times, a second distance corresponding to the number of times and a second distance at a first moment; and if the second distance corresponding to the number of times is greater than the second distance at the first moment, sending the sleep signal; or acquiring, according to preset time, a second distance corresponding to a moment closest to the preset time and the second distance at the first moment; and if the second distance corresponding to the moment closest to the preset time is greater than the second distance at the first moment, sending the sleep signal.
[0014] In a second aspect, an embodiment of the present application provides a vehicle control apparatus, applied to a vehicle control system including a first positioning module and a second positioning module, including: a distance detection module, configured to acquire change state data of distance between a key terminal and a vehicle; a processing module, configured to perform processing on the change state data of the distance; and an operation module, where the operation module includes a remote keyless entry unit, an in-vehicle head unit, an automated driving control unit, and a body control module, and the operation module is configured to receive an operation instruction.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, and a processor; where the memory stores a computer executable instruction; and the processor executes the computer executable instruction stored in the memory, to cause the processor to execute implementations in the above first aspect and / or various possible implementations of the first aspect.
[0016] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium storing a computer executable instruction wherein the computer executable instruction, when executed by a processor, is used for implementing the above first aspect and / or various possible implementations of the first aspect.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product including a computer program, the computer program, when executed by a processor, implements the above first aspect and / or various possible implementations of the first aspect.
[0018] The present application has following beneficial effects:
[0019] in the in-vehicle head unit quick start method, the electronic device, the storage medium, and the program product provided by the embodiments of the present application, a size relationship of the distance between the key terminal and the vehicle and a set threshold value is detected by the first positioning module and the second positioning module, whether the distance is in a set preset range is determined, and change state data of the distance between the key terminal and the vehicle is acquired in real time, and then an operation stage and an operation mode is determined based on a personnel state and a movement scenario, and an instruction is sent to operate the vehicle control apparatus, which effectively solves a technical problem of frequent wake-up of the in-vehicle head unit in the prior art, which easily leads to a waste of power, service life reduction, and wake-up delay.BRIEF DESCRIPTION OF DRAWINGS
[0020] FIG. 1 is a first flow diagram of an in-vehicle head unit quick start method provided by the present application.
[0021] FIG. 2 is a second flow diagram of the in-vehicle head unit quick start method provided by the present application.
[0022] FIG. 3 is a third flow diagram of an in-vehicle head unit quick start method provided by the present application.
[0023] FIG. 4 is a fourth flow diagram of an in-vehicle head unit quick start method provided by the present application.
[0024] FIG. 5 is a fifth flow diagram of an in-vehicle head unit quick start method provided by the present application.
[0025] FIG. 6 is a structural diagram of a vehicle control apparatus provided by the present application.
[0026] FIG. 7 is a structural diagram of an electronic device provided by the present application.
[0027] Reference signs:
[0028] 1, Vehicle control system; 11, First positioning module; 12, Second positioning module; 2, Vehicle control apparatus; 21, Distance detection module; 22, Processing module; 23, Operation module; 231, Remote keyless entry unit; 232, In-vehicle head unit; 233, Automated driving control unit; 234, Body control module; 3, Electronic device; 301, Communication interface; 302, Processor; 303, Memory; 304, Bus.DESCRIPTION OF EMBODIMENTS
[0029] The technical solutions in the embodiments of the present application will be described clearly and completely in the following in combination with the drawings in the embodiments of the present application, and it is clear that the described embodiments are only a part of the embodiments in the present application and not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without making creative labor fall within the protection scope of the present application.
[0030] Terms involved in the present application are first explained.
[0031] ECU: electronic control unit, usually refers to an electronic control system of an automobile in automobiles, includes an engine management system, an anti-lock braking system, automatic transmission control and other control system components, and can receive all kinds of information of a vehicle by sensors and adjust operating status of the vehicle according to preset programs and algorithms.
[0032] RKEU: a remote keyless entry unit, allows a vehicle owner to lock or unlock the vehicle by a remote operation without directly operating a key switch inside the vehicle, and can control starting and stalling of the vehicle from a certain distance.
[0033] DHU: a display head unit, which is also referred to as in-vehicle infotainment head unit, is an in-vehicle system that integrates infotainment functions and vehicle instrument display control, which provides functions of multimedia entertainment, navigation, and communication, and is also responsible for controlling display information of a dashboard, and thus safety requirements of the system are even higher, and it is necessary to ensure accuracy and stability of information, to ensure that the driver can acquire vehicle status and driving information clearly and instantaneously during a driving process, to improve driving safety.
[0034] ADCU: an automated driving control unit, is a core component dedicated to managing and coordinating an automated driving system, and responsible for processing data from various sensors (e.g., a radar, a laser radar, and a camera) and executing complex algorithms to implement automated driving functions, including environment sensing, path planning, and vehicle control.
[0035] BCM: a body control module, is also known as body computer and refers to an electronic control unit (ECU) configured to control a body electric system in automotive engineering.
[0036] UWB: an ultra wide band technology, is a wireless carrier communication technology, by using an accurate ranging ability of UWB, a plurality of anchor points arranged by the vehicle can be combined with a legal key terminal such as handheld key or a cell phone, etc., with the vehicle being approached only, to realize short-distance precise space sensing of the vehicle, and then realize autonomous judgment and vehicle control, to realize intelligent control. A specific application scenario for the present application is for vehicles. Means for realizing keyless entry of a vehicle in the prior art are, for example, Bluetooth recognition, specifically, recognizing a distance between a vehicle key (e.g., a smart phone, a smart watch) and a vehicle through Bluetooth, and determining whether to open a vehicle door with a position of the vehicle key. Bluetooth recognition is easily interfered with.
[0037] In combination with the above scenarios, it can be known that in the prior art, most automobiles are equipped with a quick start function, a current control mode is to enable an in-vehicle head unit (for example, a display head unit (DHU) ) to be in a low-power state which is similar to a power sleep state of a computer host, and in this operating state, operating state data of a vehicle will be saved into a memory, and in a case that a vehicle door is unlocked, the in-vehicle head unit will immediately be woken up from the sleep state, and then re-read out the operating state data from the memory.
[0038] The in-vehicle head unit quick start method provided in the present application, by correct technical means, solves existing technical problems in the prior art that when a relative position of a vehicle key is recognized through Bluetooth, frequent wake-up of an in-vehicle head unit due to the user passing by the vehicle, and unable to be woken up immediately while entering sleep, user experience is prone to be not good.
[0039] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems are described in detail below by way of specific embodiments. These following specific embodiments may be combined with each other, and same or similar concepts or processes may not be repeated in certain embodiments. The embodiments of the present application will be described below in combination with the drawings.
[0040] An in-vehicle head unit quick start method provided in the present application is applied to a vehicle control system 1, and the vehicle control system 1 includes a first positioning module 11 and a second positioning module 12.
[0041] FIG. 1 and FIG. 2 are flow diagrams of an in-vehicle head unit quick start method provided by the present application, the method including: S001, acquiring, by a first positioning module 11 and / or a second positioning module 12, a first distance signal between a key terminal and a vehicle; S002, determining a first distance according to the first distance signal, and sending a locking signal if the first distance is in a first preset range; S003, acquiring, by the second positioning module 12, at least one second distance signal between the key terminal and the vehicle; and S004, sending a sleep signal if the second distance signal satisfies a preset condition; where the locking signal is used for controlling the vehicle to lock at least one vehicle door, and the sleep signal is used for controlling the vehicle control system to enter a sleep state; further including: S005, acquiring a state of the vehicle control system, and if the vehicle control system is in the sleep state, acquiring, by the second positioning module 12, a third distance signal; S006, determining a third distance according to the third distance signal, and if the third distance is less than a second threshold value, sending a wake-up signal; S007, acquiring, by the first positioning module 11, a fourth distance signal; and S008, determining a fourth distance according to the fourth distance signal, and if the fourth distance is less than a first threshold value, sending an unlocking signal; where the unlocking signal is used for controlling the vehicle to unlock at least one vehicle door, and the wake-up signal is used for controlling the vehicle control system to enter a wake-up state.
[0042] For example, when a distance between the key terminal and the vehicle being in a preset range is detected by the first positioning module 11 and / or the second positioning module 12, change state data of the distance between the key terminal and the vehicle will be acquired in real time; subsequently, a personnel state and a movement scenario in which the key terminal is carried are determined by the first positioning module 11 and / or the second positioning module 12, and then an instruction is sent correspondingly to operate a vehicle control apparatus 2.
[0043] In the present application, the first positioning module may adopt a conventional positioning module such as a Bluetooth module, etc., while the second positioning module may adopt a second positioning module such as a UWB positioning module, etc. ; meanwhile, the key terminal may be divided into a vehicle key and a binding terminal that is bound to a vehicle central control system. After the key terminal performs a vehicle locking operation, an ECU does not immediately enter into a sleep state, during which a distance between the key terminal and the vehicle is determined by a UWB positioning module according to a preset detection period, so that after next unlocking, the in-vehicle head unit can directly and quickly exit from the sleep state.
[0044] For example, a first threshold value is a minimum value of the first preset range, and the second threshold value is a minimum value of the second preset range.
[0045] Further, the sending the locking signal if the first distance is in the first preset range specifically includes: if the first distance exceeds the first threshold value, sending the locking signal.
[0046] After the vehicle is parked, the first positioning module 11 and / or the second positioning module 12 receives the first distance and the fourth distance between the key terminal and the vehicle, and determines whether the key terminal enters the first preset range; if the first distance between the key terminal and the vehicle received by the first positioning module and / or the second positioning module 12 exceeds the first threshold value, the locking signal is sent, and the locking signal is used for locking at least one vehicle door of the vehicle; correspondingly, if the fourth distance between the key terminal and the vehicle received by the first positioning module and / or the second positioning module 12 is less than the first threshold value, the unlocking signal is sent, and the unlocking signal is used for unlocking at least one vehicle door of the vehicle.
[0047] Further, the sending the sleep signal if the second distance signal satisfies the preset condition specifically includes: determining a second distance according to the second distance signal, and sending the sleep signal if the second distance is in the second preset range, i.e.: if the second distance exceeds the second threshold value, sending the sleep signal.
[0048] After the first preset range is entered, the second positioning module 12 continues to receive the second distance and the third distance between the key terminal and the vehicle, and determines whether the key terminal enters a second preset range; if the second distance between the key terminal and the vehicle received by the second positioning module 12 is greater than the second threshold value, the sleep signal is sent, and the sleep signal is used for controlling the vehicle control system to enter into a sleep state; and correspondingly, if the third distance between the key terminal and the vehicle received by the second positioning module 12 is less than the second threshold value, the wake-up signal is sent, and the wake-up signal is used for controlling the vehicle control system to enter into a wake-up state.
[0049] Further, the sending the sleep signal if the second distance signal satisfies the preset condition further includes: if the second distance signal is not acquired within preset time, sending the sleep signal, which includes: (1) when the first positioning module 11 and / or the second positioning module 12 cannot acquire a distance signal of the key terminal, the sending the sleep signal if the second distance signal is not acquired within preset time specifically includes: acquiring, by the second positioning module, second distance signals between the key terminal and the vehicle at least at two moments, and determining second distances at different moments according to the second distance signals at different moments; and if a second distance corresponding to a later moment is greater than a second distance of an earlier moment, sending the sleep signal; (2) when the first positioning module 11 and / or the second positioning module 12 cannot acquire a distance signal of the key terminal, the sending the sleep signal if the second distance signal is not acquired within preset time specifically includes: acquiring, by the second positioning module, second distance signals between the key terminal and the vehicle at least at two moments, and determining second distances at different moments according to the second distance signals at different moments; acquiring, according to a preset number of times, a second distance corresponding to the number of times and a second distance at a first moment; if the second distance corresponding to the number of times is greater than the second distance at the first moment, sending the sleep signal; or, acquiring, according to preset time, a second distance corresponding to a moment closest to the preset time and a second distance at a first moment; and if the second distance corresponding to the moment closest to the preset time is greater than the second distance at the first moment, sending the sleep signal.
[0050] For example, the first preset range may be 2-5m, the second preset range may be 10-100m, and a detection interval of the first positioning module and the second positioning module 12 may be 1-4s.
[0051] When the first positioning module 11 and / or the second positioning module 12 cannot acquire the distance signal of the key terminal, the sending the sleep signal if the second distance signal is not acquired within preset time (10s) specifically includes following steps: (1) acquiring, by the second positioning module 12, second distance signals between the key terminal and the vehicle at five moments, acquiring change data of distances according to five preset detections, and if a second distance at a later moment is greater than a second distance at an earlier moment, i.e., the second distances at the five moments gradually increases, sending the sleep signal; (2) acquiring, by the second positioning module 12, second distance signals between the key terminal and the vehicle at five moments, acquiring change data of distances according to five preset detections, and if the distance continues to increase in three seconds or a distance after three seconds is greater than a distance at a first moment, sending the sleep signal.
[0052] Since the first positioning module 11 is based on radio frequency identification (RFID) and performs data exchange between devices through the 2.4GHz frequency band, in the automotive digital key application, after a mobile terminal such as a user’s smart phone, etc., is paired with a vehicle’s Bluetooth, functions of unlocking a vehicle door and starting the vehicle, etc., can be realized within a certain range, but an effective range thereof is wide (usually a few meters to tens of meters) , which may increase the risk of maloperation; and the second positioning module 12 utilizes nanosecond-level extremely narrow pulses for high-speed data transmission, and the operating frequency thereof covers a wide spectrum from 3.1 GHz to 10.6 GHz, which is not only able to measure a distance, but also capable of accurate positioning, and the error can be controlled within a few centimeters.
[0053] Thus, as a user sequentially enters the first preset range or the second preset range, the first positioning module 11 and / or the second positioning module 12 are first used for coarse positioning, and the second positioning module 12 is subsequently switched to perform fine positioning, providing a non-contact and highly accurate vehicle access experience. A vehicle door can be locked and a head unit can be caused to be in sleep after the user is away from a certain range of the vehicle, and after the user enters a certain range of the vehicle, the head unit can be woken up in advance and the vehicle door can be unlocked automatically without necessity to take out the key terminal or make any physical contact, which greatly enhances convenience.
[0054] As shown in FIG. 3, in some embodiments, a process of acquiring change state data of a distance between the key terminal and the vehicle in real time when the distance between the key terminal and the vehicle being in a preset range is detected by the first positioning module 11 and / or the second positioning module 12 includes: S100, determining, by the first positioning module 11 and / or the second positioning module 12, a personnel state, and switching to a multi-stage operation preset value; and S200, determining, by the first positioning module 11 and / or the second positioning module 12, a movement scenario, and sending an instruction to operate the vehicle control apparatus 2.
[0055] As shown in FIG. 4, in some embodiments, the step S100 includes: S110, determining, based on a size relationship between a moving speed of the key terminal and a preset value, the personnel state; and S120, switching, based on the personnel state, a configured operation mode to a corresponding preset value.
[0056] Further, the personnel state then includes low-speed moving, normal-speed moving, and high-speed moving. Specifically, a speed range value includes a first preset speed range and a second preset speed range.
[0057] When the moving speed is less than the first preset speed range, the personnel state is determined to be the low-speed moving; when the moving speed is greater than or equal to the first preset speed range and less than or equal to the second preset speed range, the personnel state is determined to be the normal-speed moving; and when the moving speed is greater than the second preset speed range, the personnel state is determined to be the high-speed moving.
[0058] Preferably, the first preset speed range is 0.8-1.0 m / sand the second preset speed range is 1.0-1.4 m / s. Due to differences in ages and stride lengths of different personnel, the moving speed may be low or high, and by switching the configured operation mode to corresponding multi-stage operation preset values with different preset speed range values, it can adapt to different user groups.
[0059] As shown in FIG. 5, in some embodiments, the step S200 includes: S210, determining, based on a moving direction of the key terminal, the movement scenario, and if the key terminal gradually moves away, proceed to S220; if the key terminal gradually approaches, proceed to S230; and if the key terminal first approaches and then moves away, proceed to S240; S220, performing, based on a moving-away distance and moving-away time, operations of vehicle door locking and in-vehicle head unit 232 sleep in stages; S230, performing, based on an approaching distance and approaching time, operations of vehicle door unlocking and in-vehicle head unit 232 wake-up in stages; S240, maintaining original states of the vehicle door and the in-vehicle head unit 232.
[0060] Further, the movement scenario includes moving away from the vehicle, approaching the vehicle, and passing by the vehicle, and the first positioning module 11 and / or the second positioning module 12 sends the instruction to operate the vehicle control apparatus 2 through the personnel state and the movement scenario.
[0061] When the first positioning module 11 and / or the second positioning module 12 detects that the key terminal is gradually moving away from the vehicle: a vehicle door locking operation is performed when the distance between the key terminal and the vehicle enters the first preset range; and an in-vehicle head unit 232 sleep operation is performed when the distance between the key terminal and the vehicle enters the second preset range.
[0062] When the first positioning module 11 and / or the second positioning module 12 detects that the key terminal is gradually approaching the vehicle: an in-vehicle head unit 232 wake-up operation is performed when the distance between the key terminal and the vehicle enters the second preset range; and a vehicle door unlocking operation is performed when the distance between the key terminal and the vehicle enters the first preset range.
[0063] When the first positioning module 11 and / or the second positioning module 12 detects that the key terminal first approaches the vehicle and then moves away from the vehicle: a vehicle door locked state and an in-vehicle head unit 232 sleep state are maintained when the distance between the key terminal and the vehicle enters the second preset range and then away from the second preset range again.
[0064] In addition, when in use, it may also allow the user to adjust time parameters and distance parameters of operations such as vehicle locking, unlocking, wake-up, sleep, etc., according to needs.
[0065] For example, the sleep and wake-up operations of the in-vehicle head unit may be set according to ACPI-STR (Advanced Configuration and Power Interface-Suspend to RAM) , which can greatly reduce energy consumption of the in-vehicle head unit, extend use time of a vehicle battery, and at the same time quickly return to a previous operating state, and provide convenient use experience for the user.
[0066] When the key terminal is away from the second preset range, and when the in-vehicle head unit is about to be in an ACPI-STR sleep state, the in-vehicle head unit will quickly store a current system’s operating status data, including running program information, system settings, temporary data, etc., into a memory. At this time, most hardware devices of the in-vehicle head unit will stop power supply or enter into a low-power mode, and only the memory will remain energized and in a low-speed refresh state to ensure that no data is lost; when the key terminal enters the second preset range, and when the in-vehicle head unit is in an ACPI-STR wake-up state, a screen may enter a black screen state or a low-brightness display state, and once the user triggers the wake-up operation, the in-vehicle head unit will quickly read the previously saved operating status data from the memory and quickly return to a state before sleep.
[0067] For example, the sleep mode is a state that in response to an acquired distance between the key terminal and the vehicle, the head unit may quickly return to a normal state from the sleep state or more functions of the head unit may be quickly woken up.
[0068] For example, when the personnel state is low-speed moving: when the key terminal is more than 2 meters away from the vehicle, a vehicle door locking operation is performed, and when the key terminal is more than 10 meters away from the vehicle, an in-vehicle head unit 232 sleep operation is performed; and when the key terminal is less than 2 meters away from the vehicle, a vehicle door unlocking operation is performed, and when the key terminal is less than 10 meters away from the vehicle, an in-vehicle head unit 232 wake-up operation is performed.
[0069] When the distance between the key terminal and the vehicle is continuously detected for five times, and the distance gradually exceeds 10 meters in 3 seconds or the distance exceeds 10 meters after 3 seconds, the vehicle door locked state and the in-vehicle head unit 232 sleep state are maintained.
[0070] For example, when the personnel state is normal-speed moving: when the key terminal is more than 3 meters away from the vehicle, the vehicle door locking operation is performed, and when the key terminal is more than 20 meters away from the vehicle, the in-vehicle head unit 232 sleep operation is performed; and when the key terminal is less than 3 meters away from the vehicle, the vehicle door unlocking operation is performed, and when the key terminal is less than 20 meters away from the vehicle, the in-vehicle head unit 232 wake-up operation is performed.
[0071] When the distance between the key terminal and the vehicle is continuously detected for five times, and the distance gradually exceeds 20 meters in 3 seconds or the distance exceeds 15 meters after 3 seconds, the vehicle door locked state and the in-vehicle head unit 232 sleep state are maintained.
[0072] For example, when the personnel state is high-speed moving: when the key terminal is more than 5 meters away from the vehicle, the vehicle door locking operation is performed, and when the key terminal is more than 50 meters away from the vehicle, the in-vehicle head unit 232 sleep operation is performed; and when the key terminal is less than 5 meters away from the vehicle, the vehicle door unlocking operation is performed, and when the key terminal is less than 50 meters away from the vehicle, the in-vehicle head unit 232 wake-up operation is performed.
[0073] When the distance between the key terminal and the vehicle is continuously detected for five times, and the distance gradually exceeds 50 meters in 3 seconds or the distance exceeds 20 meters after 3 seconds, the vehicle door locked state and the in-vehicle head unit 232 sleep state are maintained.
[0074] In summary, in the in-vehicle head unit quick start method provided by the embodiment of the present application, whether the distance between the key terminal and the vehicle is in a preset range is detected by the first positioning module 11 and the second positioning module 12, and the change state data of the distance between the key terminal and the vehicle is acquired in real time, and then an operation stage and an operation mode is determined based on a personnel state and a movement scenario, and an instruction is sent to operate the vehicle control apparatus 2, which effectively solves a technical problem of frequent wake-up of the in-vehicle head unit 232 in the prior art, which easily leads to a waste of power, service life reduction, and wake-up delay.
[0075] FIG. 6 is a structural diagram of a vehicle control apparatus 2 provided in the present application. The vehicle control apparatus 2 is applied to a vehicle control system 1 including a first positioning module 11 and a second positioning module 12.
[0076] As shown in FIG. 6, the vehicle control apparatus 2 provided in the present embodiment includes: a distance detection module 21, a processing module 22, and an operation module 23.
[0077] In one possible implementation, the distance detection module 21 is configured to acquire change state data of a distance between a key terminal and a vehicle, and transmit the data to the processing module 22 after acquisition.
[0078] In one possible implementation, the processing module 22 is configured to perform processing on the change state data of the distance and decide a specific operation (e.g., vehicle door unlocking / locking, in-vehicle head unit 232 sleep / wake-up, seat adjustment, etc. ) based on a preset distance threshold value and state logic (e.g., low-speed / normal-speed / high-speed, approaching / far away / passing by, etc. ) .
[0079] In one possible implementation, the operation module 23 is configured to receive an operation instruction, and the operation module 23 includes a remote keyless entry unit 231, an in-vehicle head unit 232, an automated driving control unit 233 and a body control module 234.
[0080] The vehicle control apparatus 2 provided in the present embodiment may execute the method provided in the above method embodiments, which are similar in implementation principles and technical effects, and which will not be repeated in the present embodiment.
[0081] As shown in FIG. 7, an electronic device 3 provided in the present embodiment includes: a communication interface 301, a processor 302, a memory 303, and a bus 304; where the communication interface 301, the processor 302, and the memory 303 accomplish communication with each other via the bus 304. The processor 302 may execute the method described above by reading and executing machine executable instructions in the memory 303 corresponding to control logic of an in-vehicle head unit quick start method, the details of which are described in the above embodiments and will not be repeated herein.
[0082] The memory 303 is configured to store a program, and the processor 302 executes the program after receiving an execution instruction. The memory 303 mentioned in the present application may be any electronic, magnetic, optical, or other physical storage apparatus and may contain stored information such as executable instructions, data, etc. Specifically, the memory 303 may be a RAM (Random Access Memory) , a flash memory, a storage drive (e.g., a hard disk drive) , any type of storage disk (e.g., an optical disk, a DVD, etc. ) , or a similar storage medium, or a combination thereof. A communication connection between this system network element and at least one other network element is realized via at least one communication interface 301 (which may be wired or wireless) , which may use the Internet, a wide area network, a local network, a metropolitan area network, etc.
[0083] In some embodiments, the above-described processor 302 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, an universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI) , a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. The bus 304 may be categorized into an address bus, a data bus, a control bus, etc.
[0084] It can be understood that interface connection relationships between various modules illustrated in the embodiments of the present application are only schematic illustrations and do not constitute a structural limitation of the electronic device 3. In other embodiments of the present application, the electronic device 3 may also utilize a different interface connection manner in the above embodiments, or a combination of a plurality of interface connection manners.
[0085] The processor 302 may be an integrated circuit chip with signal processing capabilities. In an implementation process, various steps of the above method may be implemented by integrated logic circuits of hardware in the processor 302 or by instructions in a form of software. The processor 302 described above may be an application processor (AP) , a modulation-demodulation processor, a graphics processing unit (GPU) , an image signal processor (ISP) , a controller, a video codec, a digital signal processor (DSP) , a baseband processor, and / or a neural-network processing unit (NPU) , etc. Different processing units may be separate devices or may be integrated in one or more processors 302. The controller may generate an operation control signal according to an instruction operation code and a timing signal to accomplish control of fetching and executing an instruction.
[0086] The electronic device 3 provided in the embodiment of the present application is motivated by a same technical idea as the in-vehicle head unit quick start method provided in the embodiment of the present application, and has same beneficial effect as the method adopted, operated or implemented thereof.
[0087] The present application further provides a computer program product including a computer program which, when executed by a processor 302, implements the method described above. The computer program includes one or more computer instructions which, when loaded and executed on a computer, produce, in whole or in part, a process or a function in accordance with the embodiments of the present application. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, e.g., the computer instructions may be transmitted from one website site, computer, training device, or data center to another website site, computer, training device, or data center by wired (e.g., a coaxial cable, an optical fiber, a digital subscriber line (DSL) ) or wireless (e.g., infrared, radio, microwave, etc. ) means. The computer readable storage medium may be any available medium that the computer can store or a data storage device such as a training device, data center, etc., that contains one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape) , an optical medium (e.g., a DVD) , or a semiconductor medium (e.g., a solid state disk (SSD) ) , etc.
[0088] The present application further provides a computer readable storage medium storing a computer executable instruction which, when executed by a processor 302, implements the method described above.
[0089] The above-described readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, for example a static random access memory (SRAM) , an electrically erasable programmable read only memory (EEPROM) , an erasable programmable read only memory (EPROM) , a programmable read only memory (PROM) , a read only memory (ROM) , a magnetic memory, a flash memory, a magnetic disk or an optical disk. The readable storage medium may be any available medium that can be accessed by a general-purpose or dedicated computer.
[0090] In addition, various functional units in various embodiments of the present application may be integrated in a single processing unit, or each unit may physically exist separately, or two or more units may be integrated in a single unit.
[0091] A function may be stored in a computer readable storage medium if it is implemented in the form of a software function unit and sold or used as a stand-alone product. Based on this understanding, the technical solutions of the present application may be embodied, essentially or in a part contributing to the prior art, or in a part of the technical solutions, in a form of a software product, and the computer software product is stored in a storage medium and includes a number of instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc. ) to execute all or part of steps in the methods of the various embodiments in the present application. And the afore-mentioned storage medium includes various types of media that can store program codes: a USB flash drive, a mobile hard disk, a read-only memory (ROM) , a random access memory (RAM) , a magnetic disk, or an optical disk, etc.
[0092] It can be understood by a person of ordinary skill in the art that: implementing all or a part of steps in the above described method embodiments may be accomplished by hardware associated with program instructions. The afore-mentioned program may be stored in one computer readable storage medium. The program, when executed, performs the steps in the various method embodiments described above; and the afore-mentioned storage medium includes various types of media that can store program codes: a ROM, a RAM, a magnetic disk, or an optical disk, etc.
[0093] Finally, it should be noted that: the above descriptions are merely preferred embodiments of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the afore-mentioned embodiments, those skilled in the art can still modify the technical solutions recited in the afore-mentioned embodiments or make equivalent substitutions for some of the technical features.
Claims
1.An in-vehicle head unit quick start method, applied to a vehicle control system, and comprising:acquiring (S001) , by a first positioning module and / or a second positioning module, a first distance signal between a key terminal and a vehicle;determining (S002) a first distance according to the first distance signal, and sending (S002) a locking signal if the first distance is in a first preset range;acquiring (S003) , by the second positioning module, at least one second distance signal between the key terminal and the vehicle; andsending (S004) a sleep signal if the second distance signal satisfies a preset condition;wherein the locking signal is used for controlling the vehicle to lock at least one vehicle door, and the sleep signal is used for controlling the vehicle control system to enter a sleep state.2.The in-vehicle head unit quick start method according to claim 1, wherein a first threshold value is a minimum value of the first preset range;the sending (S002) the locking signal if the first distance is in the first preset range specifically comprises: if the first distance exceeds the first threshold value, sending the locking signal.3.The in-vehicle head unit quick start method according to claim 2, wherein the sending (S004) the sleep signal if the second distance signal satisfies the preset condition specifically comprises: determining a second distance according to the second distance signal, and sending the sleep signal if the second distance is in a second preset range.4.The in-vehicle head unit quick start method according to claim 3, wherein a second threshold value is a minimum value of the second preset range, and the sending (S004) the sleep signal if the second distance is in the second preset range specifically comprises: if the second distance exceeds the second threshold value, sending the sleep signal.5.The in-vehicle head unit quick start method according to claim 4, wherein the in-vehicle head unit quick start method further comprises:acquiring (S005) a state of the vehicle control system, and if the vehicle control system is in the sleep state, acquiring (S005) , by the second positioning module, a third distance signal;determining (S006) a third distance according to the third distance signal, and if the third distance is less than the second threshold value, sending (S006) a wake-up signal;acquiring (S007) , by the first positioning module, a fourth distance signal; anddetermining (S008) a fourth distance according to the fourth distance signal, and if the fourth distance is less than the first threshold value, sending (S008) an unlocking signal;wherein the unlocking signal is used for controlling the vehicle to unlock at least one vehicle door, and the wake-up signal is used for controlling the vehicle control system to enter a wake-up state.6.The in-vehicle head unit quick start method according to claim 1, wherein the sending (S004) the sleep signal if the second distance signal satisfies a preset condition specifically comprises: if the second distance signal is not acquired within preset time, sending the sleep signal.7.The in-vehicle head unit quick start method according to claim 1, wherein the acquiring (S003) , by the second positioning module, the at least one second distance signal between the key terminal and the vehicle; and sending (S004) the sleep signal if the second distance signal satisfies the preset condition, specifically comprises:acquiring, by the second positioning module, second distance signals between the key terminal and the vehicle at least at two moments, and determining second distances at different moments according to the second distance signals at different moments;if a second distance corresponding to a later moment is greater than a second distance at an earlier moment, sending the sleep signal.8.The in-vehicle head unit quick start method according to claim 1, wherein the acquiring (S003) , by the second positioning module, the at least one second distance signal between the key terminal and the vehicle; and sending (S004) the sleep signal if the second distance signal satisfies the preset condition, specifically comprises:acquiring, by the second positioning module, second distance signals between the key terminal and the vehicle at least at two moments, and determining second distances at different moments according to the second distance signals at different moments;acquiring, according to a preset number of times, a second distance corresponding to the number of times and a second distance at a first moment; andif the second distance corresponding to the number of times is greater than the second distance at the first moment, sending the sleep signal;oracquiring, according to preset time, a second distance corresponding to a moment closest to the preset time and the second distance at the first moment; andif the second distance corresponding to the moment closest to the preset time is greater than the second distance at the first moment, sending the sleep signal.9.An electronic device (3) , comprising:a memory (303) , and a processor (302) ;wherein the memory (303) stores a computer executable instruction; andthe processor (302) executes the computer executable instruction stored in the memory (303) , to cause the processor (302) to execute the method according to any one of claims 1 to 8.10.A computer readable storage medium storing a computer executable instruction which, when executed by a processor, is used for implementing the method according to any one of claims 1 to 8.11.A computer program product, comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.