Stopping timer determination method and device, equipment and storage medium
Through the combination of application layer and internal timing chip, the vehicle high-voltage signal is detected to calculate the downtime of PHEV vehicles, which solves the problem of inaccurate timing of traditional timers under complex working conditions and achieves accurate monitoring and control of PHEV vehicle downtime. count.
Patent Information
- Application Number
- CN202410736471.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-07
AI Technical Summary
Traditional shutdown timers are not suitable for complex PHEV hybrid vehicles and cannot accurately calculate the duration of the vehicle in an inactive state, resulting in inaccurate or interrupted timing, affecting OBD diagnosis and evaporation system monitoring.
Using a combination method of application layer and internal timing chip, by detecting the high-voltage signals of the vehicle's downward and upward movements, clearing the timing and storing the corresponding timing data, the total vehicle downtime is calculated to ensure the accuracy and continuity of the timer.
It achieves accurate monitoring and counting of PHEV vehicle shutdown timers, solves the problems of inaccurate timing and interruption, and meets the counting requirements of more than 6 hours stipulated by regulations.
Smart Images

Figure CN118778495A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile control technology, and in particular to a method, device, equipment and storage medium for determining a stop timer. Background Art
[0002] Faced with increasingly severe environmental pressure and the shortage of petroleum energy, environmental protection and economy have become the key factors in the current car chase. Hybrid cars are about to emerge. However, for PHEV (hybrid electric vehicle) with more complex intelligent control, the traditional shutdown timer is not suitable for PHEV for the duration of the inactive state of the PHEV drive system (shutdown timer) stipulated by the regulations, because when the drive system is in an inactive state, it may involve intelligent power replenishment, scheduled charging and other working conditions that wake up the VECU (vehicle control unit), which will cause the VECU to wake up midway and the shutdown timer will be temporarily interrupted, resulting in the shutdown timer not increasing or inaccurate calculation. Therefore, it is necessary to re-update the strategy for optimization, solve the problem that some OBD (on-board diagnostic system) component diagnosis needs to introduce a shutdown timer as a judgment of the diagnostic condition and the evaporation system monitoring, and the denominator growth requires the shutdown timer count to be higher than the 6 hours stipulated by the regulations.
[0003] At present, some technical solutions integrate and analyze the vehicle's down-going high-voltage signal. The engine electronic control unit determines the effective shutdown timing signal based on the shutdown timing signal sent by the relevant controller, and uses the engine electronic control unit to receive the effective shutdown timing signal to calculate the engine's various operating time, and finally calculate the engine shutdown time based on the engine's various operating time. This technical solution is suitable for traditional fuel vehicles, using the engine shutdown time as a timer, but for PHEV hybrid vehicles, it does not take into account the complex shutdown conditions. When the engine is not working, it does not mean that it is shut down, so it cannot be applied.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present application is to provide a shutdown timer determination method, device, equipment and storage medium, aiming to solve the technical problem that the prior art cannot accurately calculate the duration of the inactive state of the vehicle drive system under complex shutdown conditions of a hybrid vehicle.
[0006] To achieve the above object, the present application proposes a shutdown timer determination method, which is applied to a shutdown timer system, wherein the shutdown timer system includes an application layer and an internal timing chip, and the method includes:
[0007] When a high voltage signal of a vehicle is detected, the application layer is controlled to start clearing the timing;
[0008] When the application layer timing time reaches a first preset time, determining whether the vehicle control unit is in a dormant state;
[0009] When the vehicle control unit is in a dormant state, the internal timing chip is controlled to start resetting timing, and the first preset time is stored as first timing data;
[0010] When a high voltage signal of a vehicle is detected, the timing of the current internal chip is stored as second timing data;
[0011] The total vehicle downtime is obtained based on the first timing data and the second timing data.
[0012] In one embodiment, when the vehicle control unit is in a dormant state, after the step of controlling the internal timing chip to start clearing the timing and storing the first preset time as the first timing data, the method further includes:
[0013] When the timing time of the internal timing chip reaches a second preset time, detecting whether the vehicle control unit is activated;
[0014] When the vehicle control unit is in an activated state, controlling the application layer to start clearing the timing, and storing the second preset time as the third timing data;
[0015] When it is detected that the vehicle control unit is in a dormant state, the internal timing chip is controlled to start clearing the timing, and the current timing of the application layer is stored as the fourth timing data.
[0016] In one embodiment, after the step of storing the current timing of the application layer as fourth timing data, the method further includes:
[0017] The total vehicle downtime is obtained based on the first timing data, the second timing data, the third timing data and the fourth timing data.
[0018] In one embodiment, before the step of detecting that the vehicle control unit is in a dormant state, the method further includes:
[0019] When the application layer timing reaches a third preset time, the vehicle control unit is controlled to enter a sleep state, wherein the third preset time is equal to the fourth timing data.
[0020] In one embodiment, when the vehicle is on a high-voltage driving signal, before the step of storing the current timing of the internal chip as the second timing data, it also includes:
[0021] When a power-off signal is detected, the control application layer and the internal timing chip stop timing;
[0022] Reset the stored timing data to 0;
[0023] When a power-on signal is detected, the application layer or the internal timing chip is controlled to re-time.
[0024] In one embodiment, the step of controlling the internal timing chip to start clearing timing includes:
[0025] Controlling the application layer to generate an interrupt signal;
[0026] Transmitting the interrupt signal to an internal timer, and clearing historical timing data of the internal timer;
[0027] The internal timer is controlled to count from 0.
[0028] In one embodiment, the step of controlling the application layer to start clearing timing includes:
[0029] Controlling the application layer to generate an interrupt signal to clear the historical timing data of the application layer;
[0030] Control the application layer to start timing from 0.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a shutdown timer determination device, the device comprising:
[0032] A response module, used to control the application layer to start clearing the timing when a high-voltage signal of a vehicle is detected;
[0033] A first timing module, configured to determine whether the vehicle control unit is in a dormant state when the application layer timing time reaches a first preset time; when the vehicle control unit is in a dormant state, control the internal timing chip to start clearing the timing, and store the first preset time as first timing data;
[0034] A second timing module is used to store the current timing of the internal chip as second timing data when a high voltage signal of a vehicle is detected;
[0035] An output module is used to obtain a total vehicle downtime based on the first timing data and the second timing data.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a shutdown timer determination device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the shutdown timer determination method as described above.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the shutdown timer determination method described above are implemented.
[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the shutdown timer determination method described above are implemented.
[0039] One or more technical solutions proposed in this application have at least the following technical effects:
[0040] When a high-voltage signal is detected when the vehicle is traveling downhill, the control application layer starts to reset the timing; when the timing time of the application layer reaches the first preset time, it is determined whether the vehicle control unit is in a dormant state; when the vehicle control unit is in a dormant state, the control internal timing chip starts to reset the timing and stores the first preset time as the first timing data; when a high-voltage signal is detected when the vehicle is traveling uphill, the timing of the current internal chip is stored as the second timing data; the total vehicle downtime is obtained based on the first timing data and the second timing data. Accurately monitor the count of the PHEV vehicle downtime timer required by regulations and complete the accurate increase of the downtime timer. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1 A flowchart of a method for determining a downtimer according to an embodiment of the present invention;
[0044] Figure 2 A flowchart diagram of a second embodiment of a method for determining a downtimer of the present application is provided;
[0045] Figure 3 A structural block diagram provided for Embodiment 2 of the method for determining a downtimer of the present application;
[0046] Figure 4 A flowchart of a method for determining a downtimer according to a third embodiment of the present invention;
[0047] Figure 5 This is a schematic diagram of the module structure of a device for determining a downtime timer according to an embodiment of the present application;
[0048] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the shutdown timer determination method in the embodiment of the present application.
[0049] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0052] Since the prior art integrates and analyzes the time signals on the entire vehicle, the engine electronic control unit determines the effective shutdown timing signal based on the shutdown timing signal sent by the relevant controller.
[0053] The present application provides a solution that can accurately monitor the PHEV vehicle shutdown timer count required by regulations, solve the problem that some OBD component diagnosis needs to introduce a shutdown timer as a judgment of diagnostic conditions and evaporative system monitoring, and the denominator growth requires the shutdown timer count to be higher than the 6 hours required by regulations.
[0054] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a shutdown timer determination device, etc. The following takes the shutdown timer determination device as an example to illustrate this embodiment and the following embodiments.
[0055] Based on this, the embodiment of the present application provides a method for determining a shutdown timer, referring to Figure 1 , Figure 1 This is a flow chart of a first embodiment of a method for determining a device for a downtime timer of the present application.
[0056] In this embodiment, the shutdown timer determination method is applied to a shutdown timer system, the shutdown timer system includes an application layer and an internal timing chip, and the shutdown timer determination method includes steps S10 to S50:
[0057] Step S10, when a high voltage signal of a vehicle is detected, the control application layer starts to reset the time;
[0058] It should be noted that the downlink high voltage signal refers to the power-off process of the high voltage electrical system (usually used to drive the motor and battery management system) when the vehicle switches from a driving state to a non-driving state.
[0059] It should be understood that the application layer is used to collect and process sensor data and perform diagnostic and monitoring tasks.
[0060] Furthermore, the step of controlling the application layer to start clearing timing includes: controlling the application layer to generate an interrupt signal to clear the historical timing data of the application layer;
[0061] Control the application layer to start timing from 0.
[0062] In the specific implementation, after detecting the high-voltage signal of the vehicle going downhill, the VECU will reset the shutdown timer to 0 internally, and restart the shutdown timer by accumulating the running time of the application layer software (for example, running once every 10ms).
[0063] Step S20, when the application layer timing time reaches the first preset time, determine whether the vehicle control unit is in a dormant state;
[0064] It should be noted that the first preset time can be set freely or determined according to actual applications.
[0065] It should be understood that the vehicle control unit is responsible for coordinating and managing multiple key systems and functions of the vehicle. It integrates multiple control functions to improve the vehicle's performance, safety, energy efficiency and driving experience.
[0066] It should be noted that the vehicle control unit being in a dormant state means that it has been intentionally placed in a low-power consumption mode to reduce energy consumption when the vehicle is not driving or parked;
[0067] Even when the VECU is in sleep mode, it continues to monitor the battery status to ensure that the battery is not over-discharged or over-discharged when not needed, uses the internal timing chip to continue to perform timing tasks such as the shutdown timer, reduces or pauses data collection from non-critical sensors to save power, and shuts down or reduces the activity frequency of the communication module to reduce energy consumption.
[0068] The VECU can be awakened from sleep mode by: The driver enters the vehicle and operates the ignition switch, triggering the VECU to wake up from sleep mode. When the vehicle is hit or invaded, the safety system will wake up the VECU to take appropriate measures. According to the set time interval, the VECU can automatically wake up to perform certain tasks, such as vehicle health checks.
[0069] Step S30, when the vehicle control unit is in a dormant state, controlling the internal timing chip to start resetting timing, and storing the first preset time as the first timing data;
[0070] It should be noted that the internal timing chip is an independent hardware component used to provide accurate time measurement and timing functions. The internal timing chip can be a separate integrated circuit or integrated in the main processor of the VECU.
[0071] Further, the step of controlling the internal timing chip to start clearing timing includes: controlling the application layer to generate an interrupt signal;
[0072] Transmit the interrupt signal to the internal timer, and clear the historical timing data of the internal timer;
[0073] Control the internal timer to count from 0.
[0074] It should be noted that the application layer first generates an interrupt signal. The interrupt signal is a notification mechanism used to indicate that an event that needs to be handled immediately has occurred. Subsequently, this interrupt signal is transmitted to the internal timer. The internal timer is a dedicated hardware component responsible for providing accurate time measurement and timing functions. The arrival of the interrupt signal triggers the internal timer to perform two main operations: First, the historical timing data stored in the internal timer is cleared. This step ensures that the timer starts a new timing cycle from a known state (i.e., zero point) to avoid the impact of historical data on new timing tasks. Secondly, the internal timer is set to start timing from 0. This means that the timer starts a new timing cycle and counts upward from zero to track the passage of time from this point.
[0075] Step S40, when a high voltage signal of a vehicle is detected, the timing of the current internal chip is stored as the second timing data;
[0076] It should be noted that the up-vehicle high-voltage signal refers to the process of reactivating the high-voltage electrical system when the vehicle switches from a non-driving state (such as a parking or dormant state) to a driving state.
[0077] Step S50, obtaining the total vehicle downtime based on the first timing data and the second timing data.
[0078] It should be noted that the total vehicle downtime, i.e. the inactive time, is from the start of high pressure when the vehicle is going down to the end of high pressure when the vehicle is going up next time.
[0079] In a specific implementation, the first timing data and the second timing data are accumulated to obtain a total driving system inactivation time.
[0080] This embodiment provides a method for determining a stop timer. When a high-voltage signal is detected when the vehicle is traveling, the application layer is controlled to start clearing the timer. When the application layer timing time reaches the first preset time, it is determined whether the vehicle control unit is in a dormant state. When the vehicle control unit is in a dormant state, the internal timing chip is controlled to start clearing the timer, and the first preset time is stored as the first timing data. When a high-voltage signal is detected when the vehicle is traveling, the timing of the current internal chip is stored as the second timing data. The total vehicle downtime is obtained based on the first timing data and the second timing data. The PHEV vehicle downtime timer count specified by the regulations is accurately monitored to accurately increase the downtime timer.
[0081] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 After step 30, the shutdown timer determination method further includes steps S301 to S304:
[0082] Step S301, when the timing time of the internal timing chip reaches the second preset time, detecting whether the vehicle control unit is activated;
[0083] It should be noted that the second preset time can be set freely or determined according to actual application.
[0084] It should be noted that with regard to the duration of the PHEV drive system inactivity state (shutdown timer) stipulated by regulations, the traditional shutdown timer is not very suitable for PHEVs, because when the drive system is in an inactive state, it may involve operating conditions such as intelligent power replenishment, scheduled charging, etc. that wake up the VECU, which will cause the VECU to wake up midway and the shutdown timer will be temporarily interrupted, resulting in problems such as the shutdown timer not increasing or inaccurate calculation.
[0085] It should be understood that the activation state of the vehicle control unit refers to the state in which the ECU is fully operational and monitoring the vehicle system. In this state, the VECU is able to respond to various sensor inputs in real time, execute control algorithms, and manage multiple subsystems of the vehicle.
[0086] Step S302, when the vehicle control unit is in an activated state, the control application layer starts to reset the timing and stores the second preset time as the third timing data;
[0087] Step S303, when it is detected that the vehicle control unit is in a dormant state, the internal timing chip is controlled to start clearing the timing, and the timing of the current application layer is stored as the fourth timing data.
[0088] In a specific implementation, the internal chip timing starts again at this time and the downtime is assigned a value.
[0089] Before step S303, the method further includes: when the application layer timing reaches a third preset time, controlling the vehicle control unit to enter a sleep state, wherein the third preset time is equal to the fourth timing data.
[0090] It should be understood that the first preset time and the second preset time are not related to each other and can be freely set or determined according to actual applications.
[0091] It should be noted that, when the application layer timing does not reach the third preset time, the application layer timing is saved.
[0092] Step S304, obtaining the total downtime of the vehicle based on the first timing data, the second timing data, the third timing data and the fourth timing data.
[0093] The first timing data, the second timing data, the third timing data and the fourth timing data are accumulated to obtain a total driving system inactivation time.
[0094] like Figure 3 As shown, before sleep, the application layer starts timing from 0 until it reaches a certain time point t1. After t1, VECU enters sleep state. At this time, the internal chip starts timing from 0, timing t2. After time t2, VECU is awakened. At this time, the application layer restarts timing, timing t3. After awakening, if VECU sleeps again, the internal chip starts timing from 0 again, timing t4. After VECU wakes up, the total shutdown timing time is assigned to t1+t2+t3. When the internal chip timing t4 ends, if the driving high voltage is activated, the total shutdown timing time is assigned to t1+t2+t3+t4, and this value is maintained until the next driving high voltage.
[0095] This embodiment provides a method for determining a shutdown timer, which takes into account the condition of waking up during sleep and makes special processing for this. When waking up, the application layer continues to count, and after re-sleeping, the internal chip continues to count, avoiding interruption of the shutdown timer.
[0096] Based on the first and second embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 4 , step S40 includes steps S401 to S403:
[0097] Step S401, when a power off signal is detected, the application layer and the internal timing chip are controlled to stop timing;
[0098] It should be noted that VECU will detect the signal Battery-Disconnect, at which time VECU will directly power off and go into sleep mode. Timing errors may occur in application layer timing and chip timing, which will cause VECU shutdown timer operation errors, and the timing operation will be stopped at this time.
[0099] Step S402, resetting the stored timing data to 0;
[0100] It should be noted that VECU will forcibly reset the total shutdown time to 0 to prevent the problem of misdiagnosis enabling caused by the erroneous increase of the shutdown timer.
[0101] Step S403, when a power-on signal is detected, the application layer or the internal timing chip is controlled to reset the timing.
[0102] It should be noted that when the battery is detected to be connected normally again, VECU will monitor the signal Battery-Valid. At this time, the shutdown timer will restart from 0 and the above process will be repeated.
[0103] This embodiment provides a method for determining a shutdown timer. When a power disconnection signal is detected, the control application layer and the internal timing chip stop timing; the stored timing data is reset to 0; when a power connection signal is detected, the control application layer or the internal timing chip restarts timing. A special power disconnection scenario is taken into consideration. When this situation occurs, the shutdown timer is forced to be reset to 0 to prevent the timer from erroneously increasing.
[0104] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method for determining the shutdown timer of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0105] This application also provides a shutdown timer determination device, please refer to Figure 5 , the shutdown timer determining device comprises:
[0106] A response module 10 is used to control the application layer to start clearing the time when a high voltage signal of a vehicle is detected;
[0107] The first timing module 20 is used to determine whether the vehicle control unit is in a dormant state when the application layer timing time reaches a first preset time;
[0108] The first timing module 20 is also used to control the internal timing chip to start clearing the timing when the vehicle control unit is in a dormant state, and store the first preset time as the first timing data;
[0109] The second timing module 30 is used to store the timing of the current internal chip as the second timing data when a high voltage signal of the vehicle is detected;
[0110] The output module 40 is configured to obtain a total vehicle downtime based on the first timing data and the second timing data.
[0111] The stop timer determination device provided by the present application adopts the stop timer determination method in the above embodiment, which can solve the technical problem that the prior art cannot accurately calculate the duration of the inactive state of the vehicle drive system under the complex shutdown condition of the hybrid vehicle. Compared with the prior art, the beneficial effects of the stop timer determination device provided by the present application are the same as the beneficial effects of the stop timer determination method provided by the above embodiment, and the other technical features in the stop timer determination device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0112] The present application provides a shutdown timer determination device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the shutdown timer determination method in the above-mentioned embodiment one.
[0113] Reference below Figure 6 , which shows a schematic diagram of the structure of a downtime timer determination device suitable for implementing the embodiment of the present application. The downtime timer determination device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The shutdown timer determination device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0114] like Figure 6As shown, the shutdown timer determination device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the shutdown timer determination device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the downtimer determination device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a downtimer determination device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0115] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0116] The stop timer determination device provided by the present application adopts the stop timer determination method in the above embodiment, which can solve the technical problem that the prior art cannot accurately calculate the duration of the inactive state of the vehicle drive system under the complex shutdown condition of the hybrid vehicle. Compared with the prior art, the beneficial effects of the stop timer determination device provided by the present application are the same as the beneficial effects of the stop timer determination device method provided by the above embodiment, and the other technical features in the stop timer determination device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0117] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0118] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0119] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the shutdown timer determination method in the above-mentioned embodiment.
[0120] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0121] The computer-readable storage medium may be included in the downtime timer determination device; or may exist independently without being assembled into the downtime timer determination device.
[0122] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the shutdown timer determination device, the shutdown timer determination device: when a high-voltage signal of a vehicle driving on the vehicle is detected, controls the application layer to start clearing the timing; when the application layer timing time reaches a first preset time, determines whether the vehicle control unit is in a sleep state; when the vehicle control unit is in a sleep state, controls the internal timing chip to start clearing the timing, and stores the first preset time as the first timing data; when a high-voltage signal of a vehicle driving on the vehicle is detected, stores the timing of the current internal chip as the second timing data; and obtains the total vehicle shutdown time based on the first timing data and the second timing data.
[0123] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0124] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0125] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0126] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for determining the shutdown timer, and can solve the technical problem that the prior art cannot accurately calculate the duration of the inactive state of the vehicle drive system under the complex shutdown condition of the hybrid vehicle. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the method for determining the shutdown timer provided by the above-mentioned embodiment, and will not be elaborated here.
[0127] The present application also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the steps of the shutdown timer determination method as described above are implemented.
[0128] The computer program product provided by the present application can solve the technical problem that the prior art cannot accurately calculate the duration of the inactive state of the vehicle drive system in the case of a complex shutdown of a hybrid vehicle. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the shutdown timer determination method provided by the above embodiment, and will not be elaborated here.
[0129] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for determining a shutdown timer, characterized in that: The shutdown timer determination method is applied to a shutdown timer system, the shutdown timer system includes an application layer and an internal timing chip, and the method includes: When a high voltage signal of a vehicle is detected, the application layer is controlled to start clearing the timing; When the application layer timing time reaches a first preset time, determining whether the vehicle control unit is in a dormant state; When the vehicle control unit is in a dormant state, the internal timing chip is controlled to start resetting timing, and the first preset time is stored as first timing data; When a high voltage signal of a vehicle is detected, the timing of the current internal chip is stored as second timing data; The total vehicle downtime is obtained based on the first timing data and the second timing data.
2. The method for determining a shutdown timer according to claim 1, wherein: After the step of controlling the internal timing chip to start clearing timing when the vehicle control unit is in a dormant state and storing the first preset time as the first timing data, the method further includes: When the timing time of the internal timing chip reaches a second preset time, detecting whether the vehicle control unit is activated; When the vehicle control unit is in an activated state, controlling the application layer to start clearing the timing, and storing the second preset time as the third timing data; When it is detected that the vehicle control unit is in a dormant state, the internal timing chip is controlled to start clearing the timing, and the current timing of the application layer is stored as the fourth timing data.
3. The method for determining a shutdown timer according to claim 2, wherein: After the step of storing the current timing of the application layer as the fourth timing data, the method further includes: The total vehicle downtime is obtained based on the first timing data, the second timing data, the third timing data and the fourth timing data.
4. The method for determining a shutdown timer according to claim 2, wherein: Before the step of detecting that the vehicle control unit is in a dormant state, the method further includes: When the application layer timing reaches a third preset time, the vehicle control unit is controlled to enter a sleep state, wherein the third preset time is equal to the fourth timing data.
5. The method for determining a shutdown timer according to claim 1, wherein: When the vehicle is on the high-voltage driving signal, before the step of storing the timing of the current internal chip as the second timing data, it also includes: When a power-off signal is detected, the control application layer and the internal timing chip stop timing; Reset the stored timing data to 0; When a power-on signal is detected, the application layer or the internal timing chip is controlled to re-time.
6. The method for determining a shutdown timer according to claim 1, wherein: The step of controlling the internal timing chip to start clearing timing comprises: Controlling the application layer to generate an interrupt signal; Transmitting the interrupt signal to an internal timer, and clearing historical timing data of the internal timer; The internal timer is controlled to count from 0.
7. The method for determining a shutdown timer according to claim 1, wherein: The step of controlling the application layer to start clearing timing includes: Controlling the application layer to generate an interrupt signal to clear the historical timing data of the application layer; Control the application layer to start timing from 0.
8. A shutdown timer determination device, characterized in that: The device comprises: A response module, used to control the application layer to start clearing the timing when a high-voltage signal of a vehicle is detected; A first timing module, configured to determine whether the vehicle control unit is in a dormant state when the application layer timing time reaches a first preset time; when the vehicle control unit is in a dormant state, control the internal timing chip to start clearing the timing, and store the first preset time as first timing data; A second timing module is used to store the current timing of the internal chip as second timing data when a high voltage signal of a vehicle is detected; An output module is used to obtain a total vehicle downtime based on the first timing data and the second timing data.
9. A shutdown timer determination device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the shutdown timer determination method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the shutdown timer determination method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Calculation system and method of engine system downtime
CN110966104A
Vehicle power-off time calculation method and device, electronic equipment and storage medium
CN115027390A
Engine stop timing method and engine controller
CN116378823A
Brake system control method and device, vehicle and nonvolatile storage medium
CN116513141A
Calculation method and system for shutdown timing of engine management system and medium
CN116816516A
