Method, device and vehicle-mounted equipment for recognizing vehicle ignition and deactivation state

By combining multi-dimensional judgment of battery voltage, bus connection status and acceleration value, the accuracy problem of traditional single-dimensional identification of vehicle ignition and shutdown status is solved, and the adaptability of the OBD terminal is improved.

CN114851985BActive Publication Date: 2025-10-10SHENZHEN NEOWAY TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210405039.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-18
Publication Date
2025-10-10
Estimated Expiration
2042-04-18

AI Technical Summary

Technical Problem

The traditional method of identifying the vehicle's ignition and shutdown status through battery voltage values ​​is difficult to adapt to different vehicle models, resulting in low recognition accuracy.

Method used

The vehicle's ignition and shutdown status are identified by combining the battery voltage value, vehicle bus connection status and acceleration value, and the vehicle's working mode and sleep mode are determined by preset conditions.

Benefits of technology

It improves the recognition accuracy of vehicle ignition and shutdown status, enhances the adaptability of OBD terminals, and solves the problem of difficulty in adapting to different vehicle models on a large scale.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114851985B_ABST
    Figure CN114851985B_ABST
Patent Text Reader

Abstract

The application relates to a vehicle ignition and fire-out state recognition method, device and vehicle-mounted equipment. The method comprises the following steps: acquiring a first battery voltage value, a first vehicle bus connection state and a first acceleration value of a vehicle; recognizing whether the vehicle is in an ignition state according to the first battery voltage value, the first vehicle bus connection state and the first acceleration value; if the vehicle is in the ignition state, entering a working mode; in the working mode, acquiring a second battery voltage value, a second vehicle bus connection state and a second acceleration value of the vehicle; recognizing whether the vehicle is in a fire-out state according to the second battery voltage value, the second vehicle bus connection state and the second acceleration value; and if the vehicle is in the fire-out state, entering a sleep mode. The method can improve the recognition accuracy of the vehicle ignition and fire-out states.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle networking technology, and in particular to a method, apparatus, vehicle-mounted equipment, storage medium, and computer program product for identifying the ignition and shutdown states of a vehicle. Background Art

[0002] With the rise of connected vehicle technology, more and more vehicles are equipped with OBD (On-Board Diagnostics) terminals. These terminals connect to the vehicle's internal bus system via the OBD interface, acquiring vehicle status data and compiling travel statistics such as mileage and fuel consumption. To accurately compile these data, the OBD terminal must correctly identify the vehicle's ignition on and off status. Traditionally, this identification has been done by reading the battery voltage via the OBD interface.

[0003] However, the battery specifications and degree of loss of vehicles of different models are different. It is difficult to adapt the OBD terminal to more models on the market by identifying the ignition and off status of the vehicle through the battery voltage value, resulting in low accuracy in identifying the ignition and off status of the vehicle. Summary of the Invention

[0004] Based on this, it is necessary to provide a method, device, vehicle-mounted equipment, computer-readable storage medium and computer program product for identifying the vehicle ignition and off status, which can improve the accuracy of identifying the vehicle ignition and off status, in order to address the above technical problems.

[0005] In a first aspect, the present application provides a method for identifying the ignition and shutdown states of a vehicle. The method comprises:

[0006] Acquiring a first battery voltage value, a first vehicle bus connection state, and a first acceleration value of the vehicle;

[0007] identifying whether the vehicle is in an ignition state based on the first battery voltage value, the first vehicle bus connection state, and the first acceleration value;

[0008] If the vehicle is in ignition state, then enter the working mode;

[0009] In the working mode, obtaining a second battery voltage value, a second vehicle bus connection state, and a second acceleration value of the vehicle;

[0010] identifying whether the vehicle is in an ignition-off state based on the second battery voltage value, the second vehicle bus connection state, and the second acceleration value;

[0011] If the vehicle is in an ignition-off state, it enters a sleep mode.

[0012] In one embodiment, identifying whether the vehicle is in an ignition state based on the first battery voltage value, the first vehicle bus connection state, and the first acceleration value includes:

[0013] Calculating a first motion noise value according to the first acceleration value;

[0014] identifying whether the first battery voltage value, the first vehicle bus connection state, or the first motion noise value satisfies a preset ignition condition;

[0015] If so, it is determined that the vehicle is in an ignition state.

[0016] In one embodiment, the preset ignition conditions include:

[0017] The first battery voltage value is greater than or equal to an ignition voltage threshold; or;

[0018] The first vehicle bus connection status is a successful connection; or;

[0019] The first motion noise value is greater than or equal to a motion threshold within a preset time period.

[0020] In one embodiment, the ignition voltage threshold is a dynamic voltage threshold determined according to a target bus connection state of the vehicle and a vehicle battery voltage value during a preset identification period.

[0021] In one embodiment, the identifying whether the vehicle is in an ignition-off state according to the second battery voltage value, the second vehicle bus connection state, and the second acceleration value includes:

[0022] calculating a second motion noise value according to the second acceleration value;

[0023] identifying whether the second battery voltage value, the second bus connection state, and the second motion noise value satisfy a preset shutdown condition;

[0024] If so, it is determined that the vehicle is in an ignition-off state.

[0025] In one embodiment, the preset shutdown condition includes: the second battery voltage value is less than the ignition voltage threshold, the second vehicle bus connection status is abnormal connection, and the second motion noise value is lower than the motion threshold within a preset time period.

[0026] In one embodiment, the method further comprises:

[0027] Acquiring first position data of the vehicle;

[0028] identify whether the vehicle is in an ignition state according to the first battery voltage value, the first vehicle bus connection state, the first acceleration value and the first position data;

[0029] In the working mode, second position data of the vehicle are acquired;

[0030] identify whether the vehicle is in an off state according to the second battery voltage value, the second vehicle bus connection state, the second acceleration value and the second position data.

[0031] In a second aspect, the present application further provides a device for identifying ignition and off states of a vehicle. The device comprises:

[0032] a first data acquisition module, configured to acquire a first battery voltage value, a first vehicle bus connection state and a first acceleration value of the vehicle;

[0033] an ignition identification module, configured to determine whether the vehicle is in an ignition state according to the first battery voltage value, the first vehicle bus connection state and the first acceleration value;

[0034] a working mode determination module, configured to enter a working mode if the vehicle is in the ignition state;

[0035] a second data acquisition module, configured to acquire a second battery voltage value, a second vehicle bus connection state and a second acceleration value of the vehicle in the working mode;

[0036] an off identification module, configured to identify whether the vehicle is in an off state according to the second battery voltage value, the second vehicle bus connection state and the second acceleration value;

[0037] a sleep mode determination module, configured to enter a sleep mode if the vehicle is in the off state.

[0038] In a third aspect, the present application further provides a vehicle-mounted device. The vehicle-mounted device comprises a memory and a processor, the memory stores a computer program, and the processor realizes the following steps when executing the computer program:

[0039] acquire a first battery voltage value, a first vehicle bus connection state and a first acceleration value of the vehicle;

[0040] identify whether the vehicle is in an ignition state according to the first battery voltage value, the first vehicle bus connection state and the first acceleration value;

[0041] if the vehicle is in the ignition state, enter a working mode;

[0042] In the working mode, a second battery voltage value, a second vehicle bus connection state and a second acceleration value of the vehicle are acquired;

[0043] It is identified whether the vehicle is in an off state according to the second battery voltage value, the second vehicle bus connection state and the second acceleration value;

[0044] If the vehicle is in the off state, the sleep mode is entered.

[0045] In a fourth aspect, the present application further provides a computer readable storage medium. The computer readable storage medium has a computer program stored thereon, and the computer program is executed by a processor to implement the following steps:

[0046] A first battery voltage value, a first vehicle bus connection state and a first acceleration value of a vehicle are acquired;

[0047] It is identified whether the vehicle is in an on state according to the first battery voltage value, the first vehicle bus connection state and the first acceleration value;

[0048] If the vehicle is in the on state, the working mode is entered;

[0049] In the working mode, a second battery voltage value, a second vehicle bus connection state and a second acceleration value of the vehicle are acquired;

[0050] It is identified whether the vehicle is in an off state according to the second battery voltage value, the second vehicle bus connection state and the second acceleration value;

[0051] If the vehicle is in the off state, the sleep mode is entered.

[0052] In a fifth aspect, the present application further provides a computer program product. The computer program product comprises a computer program, and the computer program is executed by a processor to implement the following steps:

[0053] A first battery voltage value, a first vehicle bus connection state and a first acceleration value of a vehicle are acquired;

[0054] It is identified whether the vehicle is in an on state according to the first battery voltage value, the first vehicle bus connection state and the first acceleration value;

[0055] If the vehicle is in the on state, the working mode is entered;

[0056] In the working mode, a second battery voltage value, a second vehicle bus connection state and a second acceleration value of the vehicle are acquired;

[0057] identifying whether the vehicle is in an ignition-off state based on the second battery voltage value, the second vehicle bus connection state, and the second acceleration value;

[0058] If the vehicle is in an ignition-off state, it enters a sleep mode.

[0059] The above-mentioned method, device, vehicle-mounted equipment, storage medium and computer program product for identifying the ignition and off status of a vehicle determine the ignition and off status of the vehicle based on a combination of three dimensions: battery voltage value, vehicle bus connection status and acceleration value. Compared with the traditional single-dimensional method of determining ignition on and off, the identification of the ignition and off status of the vehicle is more accurate, further improving the adaptability of the OBD terminal and effectively solving the problem that the OBD terminal is difficult to adapt to different vehicle models on a large scale. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 FIG2 is an application environment diagram of a method for identifying vehicle ignition and shutdown states in one embodiment;

[0061] Figure 2 1 is a flow chart of a method for identifying vehicle ignition and shutdown states in one embodiment;

[0062] Figure 3 1 is a flow chart of a method for identifying vehicle ignition and shutdown states in another embodiment;

[0063] Figure 4 FIG1 is a flow chart of the steps for calculating the ignition voltage threshold in one embodiment;

[0064] Figure 5 1 is a flow chart of a method for identifying vehicle ignition and shutdown states in another embodiment;

[0065] Figure 6 FIG1 is a structural block diagram of a device for identifying the ignition and shutdown states of a vehicle in one embodiment;

[0066] Figure 7 FIG. 4 is a diagram showing the internal structure of a vehicle-mounted device in one embodiment. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0068] The method for identifying the vehicle ignition and shutdown states provided in the embodiment of the present application can be applied to Figure 1In the application environment shown, the OBD (On-Board Diagnostics) terminal 102 pre-installed on the vehicle communicates with the server 104 via a network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers. The OBD terminal obtains the vehicle's first battery voltage value, first vehicle bus connection status, and first acceleration value, and identifies whether the vehicle is in the ignition state based on the first battery voltage value, first vehicle bus connection status, and first acceleration value. If the vehicle is in the ignition state, the OBD terminal enters the working mode. In the working mode, the OBD terminal can obtain vehicle status data through the vehicle's internal bus system and calculate vehicle travel data such as vehicle mileage and fuel consumption. At the same time, in the working mode, when the vehicle is turned off, the OBD terminal obtains the vehicle's second battery voltage value, second vehicle bus connection status, and second acceleration value, and then identifies whether the vehicle is in the ignition state based on the second battery voltage value, second vehicle bus connection status, and second acceleration value. If the vehicle is in the off state, the OBD terminal stops collecting vehicle travel data, uploads the vehicle status data and vehicle travel data to the server, and enters a sleep mode to avoid excessive consumption of the vehicle battery and damage to the battery. The server 104 can be a cloud server, which can be implemented as an independent server or a server cluster consisting of multiple servers.

[0069] The OBD terminal can be used to monitor multiple vehicle systems and components, including the engine, catalytic converter, particulate filter, oxygen sensor, emission control system, fuel system, and EGR (Exhaust Gas Recirculation) system. The OBD terminal connects to the ECU (Electronic Control Unit) via data from various emissions-related components. The ECU is capable of detecting and analyzing emissions-related faults. When an emissions fault occurs, the ECU records the fault data and associated codes and issues a warning light to notify the driver. The ECU ensures access to and processing of fault data through a standard data interface, allowing maintenance personnel to accurately determine the nature and location of the fault.

[0070] The working status of the OBD terminal needs to move with the vehicle. When the vehicle is ignited, it needs to accurately identify that the vehicle is ignited and enter the normal working mode. When the vehicle is turned off, it needs to accurately identify that the vehicle is turned off and enter the sleep mode to avoid consuming a large amount of vehicle battery energy when the vehicle is turned off, causing damage to the battery feed.

[0071] In one embodiment, Figure 2As shown, a method for identifying the ignition and shutdown states of a vehicle is provided, and the method is applied to Figure 1 The OBD terminal in the example is used to illustrate, including the following steps:

[0072] Step 202 : Acquire a first battery voltage value, a first vehicle bus connection state, and a first acceleration value of the vehicle.

[0073] The first battery voltage value refers to the battery voltage value obtained by the OBD terminal when the vehicle is ignited. The first bus connection status refers to the vehicle bus connection status with the vehicle's internal bus system obtained by the OBD terminal when the vehicle is ignited. The first acceleration value refers to the acceleration value obtained by the OBD terminal when the vehicle is ignited.

[0074] Specifically, the vehicle is pre-installed with an OBD terminal, which needs to accurately identify the vehicle's ignition status. Since most vehicles' batteries in normal use experience some voltage fluctuation when the vehicle is on and off, typically around 12V when the vehicle is off and 13-14V when the vehicle is on, the OBD terminal can first detect whether the vehicle has voltage fluctuations. If so, it obtains the vehicle's first battery voltage value.

[0075] The OBD terminal accesses the vehicle's internal bus system through the OBD interface to obtain vehicle status data and collect vehicle travel data such as mileage and fuel consumption. The first vehicle bus connection status can be obtained through the data response status. For example, when the acquired data is normal, the acquired first vehicle bus connection status is a successful connection. When there is no data response or the data is abnormal, the acquired first vehicle bus connection status is an abnormal connection. The vehicle status data may include data from vehicle sensors, such as vehicle speed, engine speed, coolant temperature, etc. The vehicle is equipped with numerous sensors, such as speed sensors, vehicle speed sensors, water temperature sensors, intake pressure sensors, etc., all of which are connected to the ECU. The OBD terminal can interact with the ECU through the vehicle's internal bus system to obtain the required sensor data. After the data is acquired, it can be fed back to the server in real time to achieve remote monitoring of the vehicle status.

[0076] The OBD terminal may be equipped with a gsensor (acceleration sensor), which is used for analyzing vehicle driving behavior and for vibrating to wake up the system after it goes into sleep mode. The OBD terminal may obtain the first acceleration value collected by the gsensor.

[0077] Step 204 : Identify whether the vehicle is in an ignition state based on the first battery voltage value, the first vehicle bus connection state, and the first acceleration value.

[0078] Step 206: If the vehicle is in the ignition state, enter the working mode.

[0079] The OBD terminal stores preset ignition conditions, which are used to determine whether the vehicle is in the ignition state. These conditions can include the ignition condition corresponding to the first battery voltage value, the ignition condition corresponding to the first vehicle bus connection status, or the ignition condition corresponding to the first acceleration value. These conditions are in an OR relationship; as long as any one of these conditions is met, the vehicle is determined to be in the ignition state.

[0080] Specifically, the OBD terminal can identify whether the vehicle meets the preset ignition condition based on the first battery voltage value, the first vehicle bus connection status, and the first acceleration value. If the vehicle meets the preset ignition condition, the vehicle is determined to be in the ignition state. If the vehicle does not meet the preset ignition condition, the process returns to the step of obtaining the first battery voltage value, the first vehicle bus connection status, and the first acceleration value, and continues to identify the ignition state.

[0081] For example, the OBD terminal identifies whether the first battery voltage value satisfies the ignition condition corresponding to the first battery voltage value, identifies whether the first vehicle bus connection state satisfies the ignition condition corresponding to the first vehicle bus connection state, and identifies whether the first acceleration value satisfies the ignition condition corresponding to the first acceleration value. Only one of these three conditions needs to be met to determine that the vehicle meets the preset ignition condition and is in the ignition state. If none of these conditions are met, the OBD terminal once again obtains the vehicle's first battery voltage value, first vehicle bus connection state, and first acceleration value to continue identifying the ignition state.

[0082] The working status of the OBD terminal needs to follow the vehicle. When it is determined that the vehicle is in the ignition state, the OBD terminal enters the working mode. Specifically, in the working mode, the OBD terminal will access the vehicle's internal bus system through the OBD interface. Through the interaction between the vehicle's internal bus system and the ECU, it obtains vehicle status data and counts vehicle travel data such as vehicle mileage and fuel consumption. Furthermore, the vehicle status data may include engine operating status data and emission-related component data. The OBD terminal can monitor in real time whether the vehicle's exhaust emissions exceed the standard based on the vehicle's engine operating status data. Once the standard is exceeded, an alarm will be issued immediately. At the same time, the OBD terminal can also detect and analyze whether the vehicle has an emission fault through the ECU. When an emission fault occurs, the ECU records the fault data and related codes, and issues a warning through the fault light to inform the driver.

[0083] Step 208 : In the working mode, obtain a second battery voltage value, a second vehicle bus connection state, and a second acceleration value of the vehicle.

[0084] When the OBD terminal is in working mode, when it detects voltage fluctuations in the vehicle, that is, when it detects that the vehicle is turned off, it obtains the second battery voltage value of the vehicle. The OBD terminal accesses the vehicle's internal bus system through the OBD interface to obtain vehicle status data and count vehicle travel data such as vehicle mileage and fuel consumption. The second vehicle bus connection status can be obtained through the data response status. For example, when the obtained number is normal, the obtained second vehicle bus connection status is a successful connection. When there is no data response or the data is abnormal, the obtained second vehicle bus connection status is an abnormal connection. At the same time, the OBD terminal obtains the second acceleration value collected by the gsensor.

[0085] Step 210 : Identify whether the vehicle is in an ignition-off state based on the second battery voltage value, the second vehicle bus connection state, and the second acceleration value.

[0086] Step 212: If the vehicle is in a shutdown state, it enters a sleep mode.

[0087] The OBD terminal also stores preset flameout conditions, which are used to determine if the vehicle is in the flameout state. These conditions may include a flameout condition corresponding to the second battery voltage value, a flameout condition corresponding to the second vehicle bus connection state, or a flameout condition corresponding to the second acceleration value. These conditions are in an AND relationship; all conditions must be met to determine that the vehicle is in the flameout state.

[0088] Specifically, the OBD terminal can identify whether the vehicle meets a preset flameout condition based on the second battery voltage, the second vehicle bus connection status, and the second acceleration value. If the vehicle meets the preset flameout condition, the vehicle is determined to be in the flameout state. If the vehicle does not meet the preset flameout condition, the process returns to the step of obtaining the second battery voltage, the second vehicle bus connection status, and the second acceleration value, and the flameout state identification continues.

[0089] For example, the OBD terminal identifies whether the second battery voltage value satisfies the flameout condition corresponding to the second battery voltage value, identifies whether the second vehicle bus connection state satisfies the flameout condition corresponding to the second vehicle bus connection state, and identifies whether the second acceleration value satisfies the flameout condition corresponding to the second acceleration value. When all three of these conditions are met, it can be determined that the vehicle meets the preset flameout conditions and is in the flameout state. If any one of these conditions is not met, the OBD terminal once again obtains the second battery voltage value, the second vehicle bus connection state, and the second acceleration value to continue identifying the flameout state.

[0090] After determining that the vehicle is in the off state, the OBD terminal ends the vehicle trip data statistics, reports the vehicle trip data and vehicle state data to the server. At the same time, the OBD terminal enters the sleep mode to avoid consuming a large amount of vehicle battery energy and causing battery power supply damage.

[0091] The traditional method is to determine the off state by the single dimension of the battery voltage. When the vehicle battery is used for a long time, the aging loss will cause misjudgment of the vehicle state, and the OBD terminal will work abnormally and cannot work with the off state of the vehicle.

[0092] Compared with the traditional single dimension determination of the off state, the identification of the ignition and off state of the vehicle is more accurate, and the adaptability of the OBD terminal is further improved, which effectively solves the problem that the OBD terminal is difficult to adapt to different vehicle models in a large range.

[0093] In an optional manner of the embodiment, step 204 comprises: calculating a first motion noise value according to the first acceleration value; identifying whether the first battery voltage value, the first vehicle bus connection state or the first motion noise value meets a preset ignition condition; and if so, determining that the vehicle is in the ignition state.

[0094] The OBD terminal is usually equipped with a gsensor, which collects the first acceleration value of the vehicle. The first motion noise value is calculated according to the first acceleration value. The first acceleration value collected by the gsensor can include the direction acceleration parameters of the x-axis, y-axis and z-axis of the OBD terminal. The OBD terminal can calculate the first motion noise value according to the existing motion noise value calculation method. For example, the sampling rate of the gsensor can be set to 100 Hz, and the gsensor can obtain 100 sets of corresponding acceleration of the x-axis, y-axis and z-axis within one second. Through a pre-designed calculation relationship, the corresponding total acceleration of each set of corresponding acceleration of the x-axis, y-axis and z-axis obtained by the gsensor within one second is calculated respectively, each set of corresponding total acceleration is filtered respectively, and the mean value of the filtered 100 values is calculated. Each set of corresponding total acceleration is subtracted from the mean value and the absolute value is calculated. The absolute value is respectively square rooted, then accumulated, and then divided by 100, and the obtained value is the motion noise value.

[0095] The pre-designed calculation relationship is: Wherein, a n represents the total acceleration of the nth set, n is a natural number from 1 to 100, x n , y n , z nRepresent the acceleration of the nth group of x-axis, y-axis, and z-axis respectively.

[0096] In this optional method, the preset ignition conditions include: the first battery voltage value is greater than or equal to the ignition voltage threshold; or; the first vehicle bus connection status is successfully connected; or; the first motion noise value is greater than or equal to the motion threshold within a preset time period.

[0097] The OBD terminal can use the first battery voltage being greater than or equal to the ignition voltage threshold as condition one, the first vehicle bus connection status being successfully connected as condition two, and the first motion noise being greater than or equal to the motion threshold within a preset duration as condition three. In other words, the preset ignition condition includes condition one, condition two, or condition three. If any one of conditions one to three is met, the preset ignition condition is determined to be met, and the vehicle can be determined to be in the ignition state. It is understood that the vehicle is determined to be in the ignition state when at least one of these conditions is met.

[0098] Specifically, the OBD terminal identifies whether the first battery voltage value is greater than or equal to the ignition voltage threshold. The ignition voltage threshold can be a pre-set voltage threshold. Since most batteries in normal vehicle use will produce a certain degree of voltage fluctuation when the vehicle is turned on or off, usually around 12V when the vehicle is turned off and around 13-14V when the vehicle is turned on, the battery voltage can be used as the primary criterion for determining whether the vehicle is turned on or off. If the first battery voltage value is identified as greater than or equal to the ignition voltage threshold, it is determined that the vehicle is in the ignition state.

[0099] The OBD terminal identifies whether the first vehicle bus connection status is a successful connection. Specifically, the OBD terminal can attempt to connect to the vehicle's internal bus system by scanning the vehicle bus protocol. When the connection is successful, it can be determined that the vehicle is in the ignition state. Since the bus protocol used by the vehicle is uncertain before the first connection, the OBD terminal needs to try to interact according to a variety of different bus protocols. When the interaction is successful with a certain bus protocol and some data can be read normally, it is considered that the first vehicle bus connection is successful. When the connection is successful, the OBD terminal usually memorizes the protocol and can directly try to read data with the protocol after the next ignition. When there is no data response or the data is abnormal, the first vehicle bus connection status is determined to be an abnormal connection. Generally, there will be no response to requests for data after the vehicle is turned off. After ignition, the ECU and the various sensors in the vehicle start working and data can be requested. Therefore, the vehicle bus connection status can be used as a secondary determination dimension to determine whether the vehicle is on or off.

[0100] The OBD terminal identifies whether the first motion noise value is greater than or equal to the motion threshold within a preset duration. For example, the preset duration can be 5 seconds to 10 seconds. The motion threshold can be 1600. If the motion noise value is greater than or equal to the motion threshold within 5 seconds to 10 seconds, the vehicle is considered to be in motion or idling state (the engine running at idle speed causes continuous vibration inside the vehicle), and the vehicle is confirmed to be in the ignition state.

[0101] It should be noted that, in this optional method, the above three conditions can be identified simultaneously, or they can be identified in sequence according to a preset identification order. For example, condition one can be identified first, and when condition one is not met, condition two can be identified, and so on, until the conditions are met. Of course, the embodiment of the present invention does not limit the preset identification order, and other identification orders are also within the scope of protection of the present invention. For example, condition two can be identified first, and then condition one and condition three can be identified in sequence.

[0102] In an optional method of this embodiment, the first motion noise value is calculated based on the first acceleration value to identify whether the first battery voltage value, the first vehicle bus connection status, or the first motion noise value meets the preset ignition condition. Since the preset ignition condition includes the first battery voltage value being greater than or equal to the ignition voltage threshold; or the first vehicle bus connection status being successfully connected; or the first motion noise value being greater than or equal to the motion threshold within a preset time period, it is only necessary for any one of the first battery voltage value, the first vehicle bus connection status, or the first motion noise value to meet the corresponding ignition condition to determine that the vehicle is in the ignition state. This avoids the problem of misjudging the vehicle status due to determination based on a fixed battery voltage dimension, causing the OBD terminal to operate abnormally and unable to start and stop the vehicle. This greatly improves the accuracy of identifying the vehicle's ignition status, further enhances the adaptability of the OBD terminal, and effectively solves the problem of the OBD terminal being difficult to adapt to a wide range of different vehicle models.

[0103] Furthermore, the ignition voltage threshold may be the first battery voltage value at the time of the last ignition. In this embodiment, the battery voltage value at the time of the previous ignition in the adjacent ignition times may be recorded as the ignition voltage threshold at the time of the next ignition. For example, the battery voltage value at the time of the first ignition is recorded as the ignition voltage threshold at the time of the second ignition. It is understandable that if the vehicle is in the ignition state, the first battery voltage value of the vehicle obtained will be recorded as the ignition voltage threshold, and the ignition state of the vehicle can be quickly determined by the ignition voltage threshold at the next ignition. In the case where the OBD terminal is used on the same vehicle for a long time, the ignition voltage can be dynamically adapted to the slow changes over time due to vehicle battery loss. The ignition voltage threshold memorized by the terminal is always the actual ignition voltage of the vehicle, ensuring that the terminal can stably judge the vehicle's ignition state even when used on the same vehicle for a long time.

[0104] Furthermore, the ignition voltage threshold can also be a dynamic voltage threshold determined based on the vehicle's target bus connection status and the vehicle battery voltage values ​​over a preset identification cycle. For example, the preset identification cycle can be 10 historical identification cycles. The ignition voltage threshold calculation process may include: the OBD terminal identifying whether the vehicle's target bus connection status is successfully connected. The target bus connection status refers to the vehicle bus connection status obtained during the ignition voltage threshold calculation process. If the connection is abnormal, the OBD terminal returns to the step of identifying whether the vehicle's target bus connection status is successfully connected. If the connection is successful, an identification cycle is recorded. The OBD terminal accumulates vehicle battery voltage values. When the number of recorded values ​​exceeds or equals the preset identification cycle, the accumulated vehicle battery voltage values ​​are averaged to obtain an average voltage. It is then determined whether the average voltage is greater than or equal to a preset voltage threshold. If so, the calculated average voltage is determined as the ignition voltage threshold. If not, the preset voltage threshold is determined as the ignition voltage threshold. For example, the preset voltage threshold can be 12.8V. The accumulated vehicle battery voltage value, average voltage, and number of recorded values ​​are reset to zero.

[0105] In this embodiment, the method of averaging the battery voltage values ​​over a preset identification period can further suppress voltage fluctuations during the ignition process, thereby obtaining a more reasonable ignition voltage threshold value, which has a filtering effect. The fixed point flameout voltage determination method is replaced by a dynamic adaptive point flameout voltage method, minimizing the impact of various complex operating conditions in the vehicle battery on the determination of the point flameout status, making the determination of the vehicle's point flameout status based on the battery voltage more reliable and adaptable.

[0106] In one embodiment, the first motion noise value may be calculated based on the first acceleration value after obtaining the first acceleration value, and then the first battery voltage value, the first vehicle bus connection status, and the first motion noise value may be used to determine whether the vehicle is in the ignition state. This is not limited in this embodiment.

[0107] In an optional manner of this embodiment, step 210 includes: calculating a second motion noise value based on a second acceleration value; identifying whether the second battery voltage value, the second bus connection status, and the second motion noise value meet a preset shutdown condition; if so, determining that the vehicle is in a shutdown state.

[0108] The calculation method of the second motion noise value may refer to the calculation method of the first motion noise value described above, and will not be repeated here.

[0109] Furthermore, the preset shutdown conditions include: the second battery voltage value is less than the ignition voltage threshold, the second vehicle bus connection state is abnormal, and the second motion noise value is lower than the motion threshold within a preset time period.

[0110] The OBD terminal can use the second battery voltage value being less than the ignition voltage threshold as condition four, the second vehicle bus connection status being abnormal as condition five, and the second motion noise value being lower than the motion threshold for a preset duration as condition six. In other words, the preset shutdown conditions include conditions four through six. When all conditions four through six are met, the preset shutdown conditions are met, and the vehicle is determined to be in the shutdown state. For example, the preset duration can be 5 to 10 seconds. The motion threshold can be 1600.

[0111] It should be noted that in this optional method, conditions four to six can be identified simultaneously, or they can be identified in sequence according to a preset identification order. For example, condition four can be identified first, and when condition four is met, condition five can be identified, and so on, until all conditions are identified and met. Of course, the embodiment of the present invention does not limit the preset identification order, and other identification orders are also within the scope of protection of the present invention. For example, condition five can be identified first, and then condition six and condition four can be identified in sequence.

[0112] If the preset shutdown condition is not met, that is, at least one of condition four, condition five and condition six is ​​not met, the process returns to the step of obtaining the second battery voltage value, the second vehicle bus connection status and the second acceleration value of the vehicle in the working mode.

[0113] In an optional method of this embodiment, by identifying whether the second battery voltage value is less than the ignition voltage threshold, whether the second vehicle bus connection status is abnormal, and whether the second motion noise value is lower than the motion threshold within a preset time period, the vehicle's ignition-off status is determined through a multi-dimensional combination, making the vehicle's ignition-off status identification more accurate.

[0114] In another embodiment, a method for identifying the ignition and shutdown states of a vehicle is provided. In this method, when conditions 1 to 3 of the preset ignition conditions and conditions 4 to 6 of the preset shutdown conditions are identified in sequence according to a determination order, the determination order is described as follows: identification of the battery voltage value - identification of the vehicle bus connection state - identification of the acceleration value. Figure 3 As shown, the method may include the following steps:

[0115] Step 302: Acquire first data.

[0116] A first battery voltage value, a first vehicle bus connection state, and a first acceleration value of the vehicle are acquired, and a first motion noise value is calculated according to the first acceleration value.

[0117] Step 304 : Identify whether the first battery voltage value is greater than or equal to (≥) the ignition voltage threshold. If so, proceed to step 310 ; if not, proceed to step 306 .

[0118] Step 306: Check whether the vehicle bus is connected successfully.

[0119] Identify whether the first vehicle bus connection status is successfully connected. If so, execute step 310; if not, execute step 308.

[0120] Step 308: Check whether the motion noise value indicates continuous motion.

[0121] Identify whether the first motion noise value is greater than or equal to the motion threshold within a preset time period. If so, execute step 310; if not, return to step 302.

[0122] Step 310 , determine whether the vehicle is in an ignition state.

[0123] Step 312, enter working mode.

[0124] Step 314: Acquire second data.

[0125] A second battery voltage value, a second vehicle bus connection state, and a second acceleration value of the vehicle are acquired, and a second motion noise value is calculated according to the second acceleration value.

[0126] Step 316: Identify whether the second battery voltage is less than (<) the ignition voltage threshold. If so, proceed to step 318; if not, return to step 314.

[0127] Step 318: Check whether the vehicle bus connection is abnormal.

[0128] Identify whether the second vehicle bus connection status is abnormal. If so, execute step 320; if not, return to step 314.

[0129] Step 320: Check whether the motion noise value is static.

[0130] Identify whether the second motion noise value is lower than the motion threshold within a preset time period. If so, execute step 324; if not, return to step 314.

[0131] Step 324 , determining whether the vehicle is in an ignition-off state.

[0132] Step 326, enter sleep mode.

[0133] Among them, "Y" means "yes" and "N" means "no".

[0134] In this embodiment, the vehicle's ignition and off status is determined based on a combination of three dimensions: battery voltage value, vehicle bus connection status, and acceleration value. Compared with the traditional single-dimensional method of determining ignition on and off, the vehicle's ignition and off status can be identified more accurately, further improving the adaptability of the OBD terminal and effectively solving the problem that the OBD terminal is difficult to adapt to different vehicle models on a large scale.

[0135] In one embodiment, the above method also includes: obtaining first position data of the vehicle; identifying whether the vehicle is in an ignition state based on a first battery voltage value, a first vehicle bus connection status, a first acceleration value and the first position data; in a working mode, obtaining second position data of the vehicle; identifying whether the vehicle is in an ignition-off state based on a second battery voltage value, a second vehicle bus connection status, a second acceleration value and the second position data.

[0136] The first position data refers to the vehicle position data obtained when the vehicle is ignited. The second position data refers to the vehicle position data obtained when the vehicle is turned off.

[0137] OBD terminals are typically equipped with a GPS (Global Positioning System) to acquire location data during a vehicle's journey and periodically report this data to a server, facilitating tracking of the vehicle's trajectory. This location data can be processed to determine whether the vehicle is continuously moving, and can therefore also be used as a factor in determining whether the vehicle is on or off. This allows the identification of a vehicle's on or off status based on four dimensions: battery voltage, bus connection status, acceleration, and location data.

[0138] The OBD terminal can calculate a first velocity value based on the first location data using the GPS speed measurement principle, thereby identifying whether the vehicle meets the preset ignition condition based on the first battery voltage value, the first vehicle bus connection status, the first motion noise value, or the first velocity value. If so, the vehicle is determined to be in the ignition state. If not, the process returns to the step of obtaining the vehicle's first battery voltage value, the first vehicle bus connection status, the first acceleration value, and the first location data.

[0139] Furthermore, the preset ignition conditions include: a first battery voltage greater than or equal to an ignition voltage threshold; or a first vehicle bus connection state being successfully connected; or a first motion noise value greater than or equal to a motion threshold for a preset duration; or a first speed value greater than or equal to a speed threshold for a specific duration. For example, the specific duration may be 5 to 10 seconds, and the speed threshold may be 5 km / h.

[0140] It should be noted that the four-dimensional identification method for vehicle ignition and off status simply adds an identification dimension of position data to the above three-dimensional identification method for vehicle ignition and off status. The overall identification idea is the same.

[0141] The OBD terminal may determine that the first speed value is greater than or equal to the speed threshold within a specific time period as condition seven. The above conditions one, two, three, and seven may be identified simultaneously, or may be identified sequentially according to a preset identification order. For example, condition one may be identified first, and if condition one is not satisfied, condition two may be identified, and so on, until the conditions are satisfied. Of course, the embodiments of the present invention do not limit the preset identification order, and other identification orders are also within the scope of protection of the present invention. For example, condition two may be identified first, and then condition one, condition three, and condition seven may be identified sequentially.

[0142] Similarly, after acquiring the second location data, the OBD terminal can use GPS speed measurement principles to calculate a second speed value based on the second location data, thereby identifying whether the vehicle meets the preset shutdown conditions based on the second battery voltage, the second vehicle bus connection status, the second motion noise value, or the second speed value. If so, the vehicle is determined to be in the shutdown state. In this case, the preset shutdown conditions include: the second battery voltage value is less than the ignition voltage threshold, the second vehicle bus connection status is abnormal, the second motion noise value is less than the motion threshold for a preset duration, and the second speed value is less than the speed threshold for a specific duration.

[0143] The OBD terminal determines that the first speed value is less than the speed threshold within a specific time period as condition eight. Conditions four, five, six, and eight can be identified simultaneously or sequentially according to a preset identification order. For example, condition four can be identified first, and when condition four is met, condition five can be identified, and so on, until all conditions are met. Of course, the embodiments of the present invention do not limit the preset identification order, and other identification orders are also within the scope of protection of the present invention. For example, condition five can be identified first, and then condition six, condition four, and condition eight can be identified in sequence.

[0144] If the preset shutdown conditions are not met, that is, at least one of conditions four, five, six and eight is not met, the process returns to the step of obtaining the second battery voltage value, the second vehicle bus connection status, the second acceleration value and the second position data of the vehicle in the working mode.

[0145] In this embodiment, the vehicle's ignition and shutdown status is determined based on a combination of four dimensions: battery voltage value, vehicle bus connection status, acceleration value, and position data. This avoids the problem of misjudgment of the vehicle status caused by determination based on a fixed battery voltage dimension, which causes the OBD terminal to operate abnormally and be unable to start and shut down the vehicle. This greatly improves the accuracy of identifying the vehicle's ignition and shutdown status, further enhances the adaptability of the OBD terminal, and effectively solves the problem of the OBD terminal being difficult to adapt to a wide range of different vehicle models.

[0146] In one optional aspect of this embodiment, the ignition voltage threshold is a dynamic voltage threshold determined based on the vehicle's target bus connection status, the vehicle battery voltage during a preset identification cycle, and the vehicle's location data. Specifically, the OBD terminal identifies whether the vehicle's target bus connection status is successful. If so, a single identification cycle is recorded. If not, the OBD terminal calculates the vehicle's speed based on the vehicle's location data and identifies whether the speed is greater than or equal to the speed threshold within a specified time period. If so, a single identification cycle is recorded. If not, the OBD terminal returns to the step of identifying whether the vehicle's target bus connection status is successful.

[0147] The OBD terminal then accumulates the vehicle battery voltage values. When the number of recordings is greater than or equal to the preset identification period, the accumulated vehicle battery voltage values ​​are averaged to obtain the average voltage. The OBD terminal then determines whether the average voltage is greater than or equal to a preset voltage threshold. If so, the calculated average voltage is determined as the ignition voltage threshold. If not, the preset voltage threshold is determined as the ignition voltage threshold. For example, the preset voltage threshold may be 12.8V. The accumulated vehicle battery voltage values, average voltage, and number of recordings are then reset to zero.

[0148] In this embodiment, the method of averaging the battery voltage values ​​in a preset identification period can further suppress voltage fluctuations during the ignition process, thereby obtaining a more reasonable ignition voltage threshold and achieving a filtering effect.

[0149] The following example takes the current battery voltage value as the battery voltage value of the first identification cycle, the preset identification cycle is 10 identification cycles, and the preset voltage threshold is 12.8V as an example. Figure 4 FIG. 1 is a flow chart of the steps for calculating the ignition voltage threshold in one embodiment, which may include:

[0150] Step 402: Check whether the vehicle bus is connected successfully.

[0151] Identify whether the target bus connection status is successfully connected. If so, execute step 406; if not, execute step 404.

[0152] Step 404: Whether the vehicle speed value is continuously greater than or equal to (≥) the speed threshold.

[0153] The vehicle speed value is calculated based on the vehicle position data, and it is determined whether the vehicle speed value is greater than or equal to the speed threshold value within a specific time period. If so, step 406 is executed; if not, the process returns to step 402.

[0154] Step 406, count +1.

[0155] Records one recognition cycle.

[0156] Step 408: Accumulate the current battery voltage value.

[0157] Step 410: Identify whether the number of records is greater than or equal to (≥) 10. If yes, execute step 412; if not, return to step 402.

[0158] Step 412 , averaging the accumulated vehicle battery voltage values ​​to obtain an average voltage.

[0159] Step 414 , identifying whether the average voltage is greater than or equal to (≥) 12.8 V. If so, proceed to step 416 ; otherwise, proceed to step 418 .

[0160] In step 416 , the calculated average voltage is determined as the ignition voltage threshold.

[0161] In step 418 , 12.8V is determined as the ignition voltage threshold.

[0162] Step 420: Clear the accumulated vehicle battery voltage value, average voltage, and number of records.

[0163] Among them, "Y" means "yes" and "N" means "no".

[0164] In one embodiment, the vehicle ignition and off status recognition dimensions can be adjusted based on actual conditions. Because the hardware designs of various OBD terminals vary, the four-dimensional combined recognition method can be appropriately adjusted to a three-dimensional combined recognition method based on the configuration functions that the OBD terminal lacks. Furthermore, the three-dimensional combined recognition method can be a combination corresponding to any three of the four dimensions.

[0165] In another embodiment, a method for identifying the ignition and shutdown states of a vehicle is provided. In this method, when four conditions in the preset ignition conditions and four conditions in the preset shutdown conditions are identified in sequence according to a specific order, the specific order is described as follows: identification of the battery voltage value - identification of the vehicle bus connection state - identification of the acceleration value - identification of the position data. Figure 5 As shown, the method may include the following steps:

[0166] Step 502: first data acquisition.

[0167] A first battery voltage value, a first vehicle bus connection state, a first acceleration value, and first position data of the vehicle are acquired, a first motion noise value is calculated according to the first acceleration value, and a first velocity value is calculated according to the first position data.

[0168] Step 504 : Identify whether the first battery voltage value is greater than or equal to (≥) the ignition voltage threshold. If so, proceed to step 512 ; if not, proceed to step 506 .

[0169] Step 506: Check whether the vehicle bus is connected successfully.

[0170] Identify whether the first vehicle bus connection status is successfully connected. If so, execute step 512; if not, execute step 508.

[0171] Step 508: Check whether the motion noise value indicates continuous motion.

[0172] Identify whether the first motion noise value is greater than or equal to the motion threshold within a preset time period. If so, execute step 512; if not, execute step 510.

[0173] Step 510: Whether the speed value is continuously greater than or equal to (≥) the speed threshold.

[0174] Identify whether the first speed value is greater than or equal to the speed threshold within a specific time period. If yes, execute step 512; if not, return to execute step 502.

[0175] Step 512 , determine whether the vehicle is in the ignition state.

[0176] Step 514, enter working mode.

[0177] Step 516: Acquire the second data.

[0178] A second battery voltage value, a second vehicle bus connection state, a second acceleration value, and second position data of the vehicle are acquired, a second motion noise value is calculated according to the second acceleration value, and a second velocity value is calculated according to the second position data.

[0179] Step 518 , identifying whether the second battery voltage is less than (<) the ignition voltage threshold. If so, proceed to step 520 ; if not, return to step 516 .

[0180] Step 520: Check whether the vehicle bus connection is abnormal.

[0181] Identify whether the second vehicle bus connection status is abnormal. If so, execute step 524; if not, return to step 516.

[0182] Step 524: Check whether the motion noise value is static.

[0183] Identify whether the second motion noise value is lower than the motion threshold within a preset time period. If yes, execute step 526; if not, return to execute step 516.

[0184] Step 526: Whether the speed value is continuously less than (less than) the speed threshold.

[0185] Identify whether the second speed value is less than the speed threshold value within a specific time period. If so, execute step 528; if not, return to execute step 516.

[0186] Step 528 , determine whether the vehicle is in an ignition-off state.

[0187] Step 530, enter sleep mode.

[0188] Among them, "Y" means "yes" and "N" means "no".

[0189] It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0190] Based on the same inventive concept, embodiments of the present application also provide a vehicle ignition and off state recognition device for implementing the aforementioned vehicle ignition and off state recognition method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more vehicle ignition and off state recognition device embodiments provided below can be found in the aforementioned limitations of the vehicle ignition and off state recognition method and will not be further elaborated here.

[0191] In one embodiment, Figure 6 As shown, a device for identifying the ignition and shutdown states of a vehicle is provided, comprising:

[0192] The first data acquisition module 602 is configured to acquire a first battery voltage value, a first vehicle bus connection state, and a first acceleration value of the vehicle.

[0193] The ignition identification module 604 is configured to determine whether the vehicle is in an ignition state according to the first battery voltage value, the first vehicle bus connection state, and the first acceleration value.

[0194] The working mode determination module 606 is configured to enter the working mode if the vehicle is in the ignition state.

[0195] The second data acquisition module 608 is configured to acquire a second battery voltage value, a second vehicle bus connection status, and a second acceleration value of the vehicle in the working mode.

[0196] The ignition-off recognition module 610 is configured to recognize whether the vehicle is in an ignition-off state based on the second battery voltage value, the second vehicle bus connection state, and the second acceleration value.

[0197] The sleep mode determination module 612 is configured to enter the sleep mode if the vehicle is in an ignition-off state.

[0198] In one embodiment, the ignition identification module 604 is further used to calculate a first motion noise value based on the first acceleration value; determine whether the first battery voltage value, the first vehicle bus connection status or the first motion noise value meets a preset ignition condition; if so, determine that the vehicle is in an ignition state.

[0199] In one embodiment, the preset ignition conditions include: the first battery voltage value is greater than or equal to the ignition voltage threshold; or; the first vehicle bus connection status is successfully connected; or; the first motion noise value is greater than or equal to the motion threshold within a preset time period.

[0200] In one embodiment, the ignition voltage threshold is a dynamic voltage threshold determined according to a target bus connection state of the vehicle and a vehicle battery voltage value during a preset identification period.

[0201] In one embodiment, the flameout identification module 610 is further configured to calculate a second motion noise value based on a second acceleration value; identify whether the second battery voltage value, the second bus connection status, and the second motion noise value meet a preset flameout condition; and if so, determine that the vehicle is in a flameout state.

[0202] In one embodiment, the preset shutdown conditions include: the second battery voltage value is less than the ignition voltage threshold, the second vehicle bus connection status is abnormal, and the second motion noise value is lower than the motion threshold within a preset time period.

[0203] In one embodiment, the apparatus further comprises:

[0204] The first data acquisition module 602 is further configured to acquire first position data of the vehicle;

[0205] The ignition identification module 604 is further configured to identify whether the vehicle is in an ignition state based on the first battery voltage value, the first vehicle bus connection state, the first acceleration value, and the first position data;

[0206] The working mode determination module 606 is further configured to obtain second position data of the vehicle in the working mode;

[0207] The second data acquisition module 608 is further configured to identify whether the vehicle is in an ignition-off state according to the second battery voltage value, the second vehicle bus connection state, the second acceleration value, and the second position data.

[0208] Each module in the aforementioned vehicle ignition and off status recognition device may be implemented in whole or in part via software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor within an onboard device in hardware form, or may be stored in a memory within the onboard device in software form, allowing the processor to call and execute the corresponding operations of each module.

[0209] In one embodiment, a vehicle-mounted device is provided, whose internal structure diagram can be as follows: Figure 7 As shown. The vehicle-mounted device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the vehicle-mounted device is used to provide computing and control capabilities. The memory of the vehicle-mounted device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the vehicle-mounted device is used to exchange information between the processor and an external device. The communication interface of the vehicle-mounted device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for identifying the ignition and shutdown status of a vehicle is implemented. The display unit of the vehicle-mounted device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the vehicle-mounted device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the vehicle-mounted device housing, or an external keyboard, touchpad or mouse.

[0210] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the vehicle-mounted equipment to which the solution of the present application is applied. The specific vehicle-mounted equipment may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0211] In one embodiment, a vehicle-mounted device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0212] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0213] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0214] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.

[0215] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0216] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0217] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for identifying the ignition and shutdown states of a vehicle, characterized in that: The method comprises: Obtaining a first battery voltage value, a first vehicle bus connection state, and a first acceleration value of the vehicle; the first vehicle bus connection state is connected to the vehicle's internal bus system via an OBD interface to obtain vehicle status data and calculate vehicle travel data, which is obtained by response states of the vehicle status data and the vehicle travel data; identifying whether the vehicle is in an ignition state based on the first battery voltage value, the first vehicle bus connection state, and the first acceleration value; If the vehicle is in ignition state, then enter the working mode; In the working mode, obtaining a second battery voltage value, a second vehicle bus connection state, and a second acceleration value of the vehicle; identifying whether the vehicle is in an ignition-off state based on the second battery voltage value, the second vehicle bus connection state, and the second acceleration value; the second vehicle bus connection state is connected to the vehicle's internal bus system via an OBD interface to obtain vehicle status data and calculate vehicle travel data, which is obtained based on response states of the vehicle status data and the vehicle travel data; If the vehicle is in a shutdown state, it enters a sleep mode; The method further comprises: Acquiring first position data of the vehicle; identifying whether the vehicle is in an ignition state based on the first battery voltage value, the first vehicle bus connection state, the first acceleration value, and the first position data; In the working mode, obtaining second position data of the vehicle; It is determined whether the vehicle is in an ignition-off state based on the second battery voltage value, the second vehicle bus connection state, the second acceleration value, and the second position data.

2. The method according to claim 1, characterized in that The identifying whether the vehicle is in the ignition state according to the first battery voltage value, the first vehicle bus connection state, and the first acceleration value includes: Calculating a first motion noise value according to the first acceleration value; identifying whether the first battery voltage value, the first vehicle bus connection state, or the first motion noise value satisfies a preset ignition condition; If so, it is determined that the vehicle is in an ignition state.

3. The method according to claim 2, characterized in that The preset ignition conditions include: The first battery voltage value is greater than or equal to an ignition voltage threshold; or; The first vehicle bus connection status is a successful connection; or; The first motion noise value is greater than or equal to a motion threshold within a preset time period.

4. The method according to claim 3, characterized in that The ignition voltage threshold is a dynamic voltage threshold determined according to the target bus connection state of the vehicle and a vehicle battery voltage value of a preset identification period.

5. The method according to claim 1, wherein The identifying whether the vehicle is in an ignition-off state according to the second battery voltage value, the second vehicle bus connection state, and the second acceleration value includes: calculating a second motion noise value according to the second acceleration value; identifying whether the second battery voltage value, the second vehicle bus connection state, and the second motion noise value satisfy a preset shutdown condition; If so, it is determined that the vehicle is in an ignition-off state.

6. The method according to claim 5, characterized in that The preset shutdown conditions include: the second battery voltage value is less than the ignition voltage threshold, the second vehicle bus connection state is abnormal, and the second motion noise value is lower than the motion threshold within a preset time period.

7. A device for detecting the ignition and shutdown status of a vehicle, characterized in that: The device comprises: a first data acquisition module for acquiring a first battery voltage value, a first vehicle bus connection state, and a first acceleration value of the vehicle; the first vehicle bus connection state is connected to the vehicle's internal bus system via the OBD interface to acquire vehicle status data and calculate vehicle travel data, which is acquired based on the response state of the vehicle status data and the vehicle travel data; an ignition identification module, configured to determine whether the vehicle is in an ignition state based on the first battery voltage value, the first vehicle bus connection state, and the first acceleration value; an operating mode determining module, configured to enter an operating mode if the vehicle is in an ignition state; a second data acquisition module, configured to acquire, in an operating mode, a second battery voltage value, a second vehicle bus connection state, and a second acceleration value of the vehicle; the second vehicle bus connection state being connected to an internal bus system of the vehicle via an OBD interface to acquire vehicle status data and calculate vehicle travel data, which is acquired based on a response state of the vehicle status data and the vehicle travel data; a flameout identification module, configured to identify whether the vehicle is in a flameout state based on the second battery voltage value, the second vehicle bus connection state, and the second acceleration value; a sleep mode determination module, configured to enter a sleep mode if the vehicle is in an ignition-off state; The first data acquisition module is further used to acquire first position data of the vehicle; The ignition identification module is further configured to identify whether the vehicle is in an ignition state based on the first battery voltage value, the first vehicle bus connection state, the first acceleration value, and the first position data; The working mode determination module is further configured to obtain second position data of the vehicle in the working mode; The second data acquisition module is further configured to identify whether the vehicle is in an ignition-off state based on a second battery voltage value, a second vehicle bus connection state, a second acceleration value, and second position data.

8. A vehicle-mounted device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method and device for judging ignition and flameout of vehicles and OBD boxes

    CN107618463A