CN115497192A - Method, device and equipment for acquiring parking time of vehicle and storage medium - Google Patents

Method, device and equipment for acquiring parking time of vehicle and storage medium Download PDF

Info

Publication number
CN115497192A
CN115497192A CN202211176653.6A CN202211176653A CN115497192A CN 115497192 A CN115497192 A CN 115497192A CN 202211176653 A CN202211176653 A CN 202211176653A CN 115497192 A CN115497192 A CN 115497192A
Authority
CN
China
Prior art keywords
time
signal
time signal
last power
acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211176653.6A
Other languages
Chinese (zh)
Other versions
CN115497192B (en
Inventor
张强
尹福利
牟丽莎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan New Energy Automobile Technology Co Ltd
Original Assignee
Chongqing Changan New Energy Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan New Energy Automobile Technology Co Ltd filed Critical Chongqing Changan New Energy Automobile Technology Co Ltd
Priority to CN202211176653.6A priority Critical patent/CN115497192B/en
Publication of CN115497192A publication Critical patent/CN115497192A/en
Application granted granted Critical
Publication of CN115497192B publication Critical patent/CN115497192B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/02Registering or indicating driving, working, idle, or waiting time only
    • G07C5/04Registering or indicating driving, working, idle, or waiting time only using counting means or digital clocks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention relates to a method, a device, equipment and a storage medium for acquiring parking time of a vehicle, which are used for acquiring a positioning time signal and a time validity signal, a last power-on time signal and a last power-off time signal which are sent by a positioning time system; then when the time validity signal changes from an invalid state to a valid state in a preset time period, comparing the state of the received positioning time signal with a preset state; and when the state of the received positioning time signal is consistent with the preset state, calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal, and taking the time acquisition difference value as parking time. When the positioning time signal is not accurate, the method judges whether the last power-on time signal is accurate, and when the last power-on time signal is accurate, the parking time is calculated by utilizing the last power-on time signal and the last power-off signal, so that the accurate parking time is obtained.

Description

Method, device and equipment for acquiring parking time of vehicle and storage medium
Technical Field
The invention relates to the technical field of vehicle signal processing, in particular to a method, a device, equipment and a storage medium for acquiring parking time of a vehicle.
Background
Time acquisition on electric vehicles is realized by TBOX (Telematics-BOX), which records time by an internal real-time clock and GPS (Global Positioning System). When the vehicle is parked, the whole vehicle may have a low voltage problem or a weak GPS signal. Because the algorithm estimation of SOC (State of Charge), SOH (State of Health) and the like in the battery management system needs to use the parking time signal, the accuracy and timeliness of the parking time signal processing influence the calculation accuracy of the algorithms of SOC, SOH and the like to a great extent, and further influence the driving feeling of the whole vehicle. Therefore, the inaccurate parking time can cause the time acquisition delay phenomenon, and further influence the running speed of the battery management system and the accuracy of the calculation result.
Disclosure of Invention
An objective of the present invention is to provide a method, an apparatus, a device and a storage medium for acquiring a parking time of a vehicle, so as to solve the problem of time acquisition delay caused by inaccurate parking time in the prior art.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a parking time acquisition method of a vehicle, the method comprising:
acquiring a positioning time signal and a time validity signal sent by a positioning time system, and acquiring a last power-on time signal and a last power-off time signal sent by a battery management system;
when the time validity signal is changed from an invalid state to a valid state within a preset time period, comparing the state of the received positioning time signal with a preset state to obtain a comparison result;
and calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal according to the comparison result, and taking the time acquisition difference value as parking time.
In an embodiment of the present invention, the method further includes:
when the time validity signal is in an invalid state all the time within a preset time period, judging that the last power-on time signal is unavailable;
and when the last power-on time signal is unavailable, the value of the parking time is reset to zero.
In an embodiment of the present invention, comparing the state of the received positioning time signal with a preset state to obtain a comparison result, includes:
comparing the length of the positioning time signal with a preset length range, and comparing the acquisition time of the positioning time signal with the acquisition time of the last power-off time signal;
when the length of the positioning time signal is within a preset length range and the acquisition time of the positioning time signal is later than the acquisition time of the last power-off time signal, the state of the positioning time signal is consistent with a preset state; and when the length of the positioning time signal exceeds a preset length range and/or the acquisition time of the positioning time signal is earlier than the acquisition time of the last power-off time signal, the state of the positioning time signal is inconsistent with a preset state.
In an embodiment of the present invention, calculating a time acquisition difference between the last power-on time signal and the last power-off time signal according to the comparison result includes:
and when the state of the positioning time signal is consistent with a preset state, calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal.
In an embodiment of the present invention, after the acquiring the difference value as the parking time, the method further includes:
and managing the electric quantity state based on the parking time, and/or managing the service life of the battery based on the parking time.
The present invention also provides a parking time acquiring apparatus of a vehicle, the apparatus including:
the acquisition module is used for acquiring a positioning time signal and a time validity signal sent by the positioning time system, and acquiring a last power-on time signal and a last power-off time signal sent by the battery management system;
the comparison module is used for comparing the state of the received positioning time signal with a preset state to obtain a comparison result when the time validity signal is changed from an invalid state to a valid state within a preset time period;
and the calculating module is used for calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal according to the comparison result, and taking the time acquisition difference value as parking time.
In an embodiment of the present invention, the apparatus further includes:
the judging module is used for judging that the last power-on time signal is unavailable when the time validity signal is in an invalid state all the time within a preset time period;
and the zeroing module is used for zeroing the value of the parking time when the last power-on time signal is unavailable.
In an embodiment of the present invention, the comparing module includes:
the comparison unit is used for comparing the length of the positioning time signal with a preset length range and comparing the acquisition time of the positioning time signal with the acquisition time of the last power-off time signal;
the judging unit is used for keeping the state of the positioning time signal consistent with a preset state when the length of the positioning time signal is within a preset length range and the acquisition time of the positioning time signal is later than the acquisition time of the last power-off time signal; and when the length of the positioning time signal exceeds a preset length range and/or the acquisition time of the positioning time signal is earlier than the acquisition time of the last power-off time signal, the state of the positioning time signal is inconsistent with a preset state.
The present invention also provides an electronic device comprising:
one or more processors;
a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic apparatus to implement a method of acquiring a parking time of a vehicle as described above.
The present invention also provides a computer readable storage medium having stored thereon computer readable instructions which, when executed by a processor of a computer, cause the computer to execute a parking time acquiring method of a vehicle as described above.
The invention has the beneficial effects that:
according to the invention, a positioning time signal and a time validity signal sent by a positioning time system are obtained, and a last power-on time signal and a last power-off time signal sent by a battery management system are obtained; then when the time validity signal changes from an invalid state to a valid state in a preset time period, comparing the state of the received positioning time signal with a preset state; and when the state of the received positioning time signal is consistent with the preset state, calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal, and taking the time acquisition difference value as parking time. When the positioning time signal is not accurate, whether the last power-on time signal is accurate is judged, and when the last power-on time signal is accurate, the parking time is calculated by utilizing the last power-on time signal and the last power-off signal, so that the accurate parking time can be obtained under the condition that the vehicle is at low voltage or the positioning signal is weak; therefore, the technical problems that the parking time is inaccurate, and the running speed of the battery management system and the accuracy of a calculation result are influenced are solved.
Drawings
Fig. 1 is a view illustrating an application scenario of a parking time acquiring method for a vehicle according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a method for obtaining a parking time of a vehicle according to an exemplary embodiment of the present application;
FIG. 3 is a flow chart of step S210 in the embodiment shown in FIG. 2 in an exemplary embodiment;
fig. 4 is a structural view of a parking time acquisition apparatus of a vehicle shown in an exemplary embodiment of the present application;
FIG. 5 illustrates a schematic structural diagram of a computer system suitable for use to implement the electronic device of the embodiments of the subject application.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the disclosure herein, wherein the embodiments of the present invention are described in detail with reference to the accompanying drawings and preferred embodiments. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be understood that the preferred embodiments are illustrative of the invention only and are not limiting upon the scope of the invention.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Fig. 1 is an application scenario diagram of a parking time acquiring method for a vehicle according to an exemplary embodiment of the present application, where as shown in fig. 1, the vehicle is networked by a TBOX (Telematics-BOX), and then acquires a Positioning time by a GPS (Global Positioning System) time System; after the vehicle is electrified at low voltage, the TBOX uploads the time of the real-time clock, then the time signal of the positioning time system is obtained by connecting the Internet, the time of the positioning time system is used as an effective value to be updated, and the updating period is set to be 1S for once updating. When the whole vehicle has the conditions of battery feeding, disconnection of low-voltage connection, poor low-voltage contact or GPS signal difference and the like, the time sent by TBOX is delayed to be updated. Therefore, in the embodiment, the BMS battery management system in the vehicle records the power-on time and the power-off time, and when the whole vehicle has battery feeding, low-voltage connection disconnection, poor low-voltage contact or GPS signal difference, the parking time is calculated by using the power-on time and the power-off time.
As shown in fig. 2, in an exemplary embodiment, a method for acquiring a parking time of a vehicle includes at least steps S210 to S230, which are described in detail as follows:
s210, acquiring a positioning time signal and a time validity signal sent by a positioning time system, and acquiring a last power-on time signal and a last power-off time signal sent by a battery management system;
in this embodiment, when generating the positioning time signal, the conventional positioning time system simultaneously generates a time validity signal indicating whether the positioning time signal is reliable, where the time validity signal includes a valid state and an invalid state; when the time validity signal is in a valid state, the corresponding positioning time signal is reliable; when the time validity signal is in an invalid state, it indicates that the corresponding positioning time signal is unreliable and possibly has time delay; the last power-on time signal and the last power-off time signal are generated by a real-time clock in the vehicle, and each time the vehicle is powered on or powered off at low voltage, a clock signal is recorded by the real-time clock; the last power-on time signal is a clock signal recorded when the vehicle is powered on for the last time, and the last power-off time signal is a clock signal recorded when the vehicle is powered off for the last time before parking.
S220, when the time validity signal is changed from an invalid state to a valid state within a preset time period, comparing the state of the received positioning time signal with a preset state to obtain a comparison result;
in step S220, when the time validity signal is in an invalid state, it indicates that there may be a delay in the positioning time signal, and the positioning time signal cannot be used to perform electric quantity state calculation and battery life calculation; at the moment, a timer in the vehicle starts a timing mode, and a positioning time signal and a time validity signal are continuously received; when the time validity signal in the valid state is received in the preset time period, the situation that the vehicle recovers from the conditions of storage battery feeding, low-voltage connection disconnection, poor low-voltage contact or GPS signal difference and the like is indicated, the local clock can work normally, and at the moment, if the corresponding positioning time signal is consistent with the preset state, the last time of electrifying the time signal is judged to be reliable.
S230, calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal according to a comparison result, and taking the time acquisition difference value as parking time;
in step S240, on the premise that the last power-on time signal is ensured to be reliable, the time difference between the last power-off time signal and the last power-on time signal is calculated, so as to obtain an accurate parking time.
As shown in fig. 3, in an embodiment of the present invention, a method for acquiring a parking time of a vehicle may further include steps S310 to S320, which are described in detail as follows:
s310, when the time validity signal is in an invalid state all the time within a preset time period, judging that the last power-on time signal is unavailable;
in step S310, if the time validity signal is in an invalid state all the time within a preset time period, it indicates that the vehicle is not powered on normally, and the working state of the local clock is uncertain, so that it is determined that the last power-on time signal is not available.
And S320, when the last power-on time signal is unavailable, resetting the value of the parking time to zero.
In step S320, when it is determined that the last power-on time signal is not available, the parking time may not be calculated by the last power-on time signal, so that the parking time is directly zeroed.
In an embodiment of the present invention, the process of comparing the state of the received positioning time signal with the preset state may include steps S410 to S420, which are described in detail as follows:
s410, comparing the length of the positioning time signal with a preset length range, and comparing the acquisition time of the positioning time signal with the acquisition time of the last power-off time signal;
s420, when the length of the positioning time signal is within a preset length range and the acquisition time of the positioning time signal is later than that of the last power-off time signal, the state of the positioning time signal is consistent with a preset state; and when the length of the positioning time signal exceeds a preset length range and/or the acquisition time of the positioning time signal is earlier than the acquisition time of the last power-off time signal, the state of the positioning time signal is inconsistent with a preset state.
In this embodiment, the preset state includes a preset length range of the signal and a time for signal acquisition, so that the length of the positioning time signal needs to be compared with the preset length range, and the acquisition time of the positioning time signal is compared with the acquisition time of the last power-off time signal.
In an embodiment of the present invention, the process of calculating the time acquisition difference between the last power-on time signal and the last power-off time signal according to the comparison result may include step S510, which is described in detail as follows:
and S510, when the state of the positioning time signal is consistent with a preset state, calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal.
In step S510, when the length of the positioning time signal is within the preset length range and the acquisition time of the positioning time signal is later than the acquisition time of the last power-off time signal, it indicates that the signal format of the positioning time signal conforms to the predefined format and is the latest acquired positioning time signal, and thus it is determined that the last power-on signal is available. Specifically, the predefined format may further include information such as location and accuracy.
In an embodiment of the present invention, the process after taking the time difference as the parking time may further include step S610, which is described in detail as follows:
s610, electric quantity state management is conducted based on the parking time, and/or battery life management is conducted based on the parking time.
After the accurate parking time is obtained in step S610, the SOC module (state of charge management module) and the SOH module (battery life management module) may calculate the state of charge and the battery life of the battery according to the accurate parking time. When the parking time is used for carrying out correlation calculation, the calculation result is more accurate. Therefore, the vehicle-mounted time is quickly processed by a simple and effective method, the influence of time delay on the calculation speed of the battery management system is solved, the time processing precision can be improved, the precision improvement of algorithms such as SOC (system on chip), SOH (sequence of events) and the like is facilitated, the calculation of the driving range of the whole vehicle is facilitated, the control of the whole vehicle is optimized, and the driving comfort is improved.
Meanwhile, the clock signal of the battery management system is utilized, so that real-time clock modules of the battery management system can be reduced, the cost of the battery management system is reduced, and the normal operation of the functions of the battery management system is ensured.
According to the method for acquiring the parking time of the vehicle, when the time validity signal is in an invalid state, the positioning time signal and the time validity signal are continuously received within a preset time period; receiving a time validity signal in a valid state in a preset time period, and judging that the last time power-on time signal is available when the positioning time signal is consistent with a preset state; and when the last power-on signal is available, calculating the last power-on time signal and the last power-off time signal to obtain the parking time. When the positioning time signal is not accurate, whether the last power-on time signal is accurate is judged, and when the last power-on time signal is accurate, the parking time is calculated by utilizing the last power-on time signal and the last power-off signal, so that the accurate parking time can be obtained under the condition that the vehicle is at low voltage or the positioning signal is weak; therefore, the technical problems that the parking time is inaccurate, and the running speed of the battery management system and the accuracy of a calculation result are influenced are solved.
As shown in fig. 4, the present invention also provides a parking time acquiring apparatus of a vehicle, the apparatus including:
the acquisition module is used for acquiring a positioning time signal and a time validity signal sent by the positioning time system, and acquiring a last power-on time signal and a last power-off time signal sent by the battery management system;
the comparison module is used for comparing the state of the received positioning time signal with a preset state when the time validity signal is changed from an invalid state to a valid state within a preset time period;
and the calculating module is used for calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal when the state of the received positioning time signal is consistent with a preset state, and taking the time acquisition difference value as parking time.
In an embodiment of the present invention, the apparatus further includes:
the judging module is used for judging that the last power-on time signal is unavailable when the time validity signal is in an invalid state all the time within a preset time period;
and the zeroing module is used for zeroing the value of the parking time when the last power-on time signal is unavailable.
In an embodiment of the present invention, the comparing module includes:
and the comparison unit is used for comparing the length of the positioning time signal with a preset length range and comparing the acquisition time of the positioning time signal with the acquisition time of the last power-off time signal.
According to the device for acquiring the parking time of the vehicle, when the time validity signal is in an invalid state, the positioning time signal and the time validity signal are continuously received within a preset time period; receiving a time validity signal in a valid state in a preset time period, and judging that the last power-on time signal is available when the positioning time signal is consistent with a preset state; and when the last power-on signal is available, calculating the last power-on time signal and the last power-off time signal to obtain the parking time. When the positioning time signal is inaccurate, whether the last power-on time signal is accurate is judged, and when the last power-on time signal is accurate, the parking time is calculated by using the last power-on time signal and the last power-off signal, so that the accurate parking time can be obtained under the condition that the vehicle is at low voltage or the positioning signal is weak; therefore, the technical problems that the parking time is inaccurate, and the running speed of the battery management system and the accuracy of a calculation result are influenced are solved.
It should be noted that the parking time acquiring device for a vehicle provided in the foregoing embodiment and the parking time acquiring method for a vehicle provided in the foregoing embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment, and is not described herein again. In practical applications, the parking time acquiring device for a vehicle provided in the above embodiments may distribute the above functions to different functional modules according to needs, that is, divide the internal structure of the device into different functional modules to complete all or part of the above described functions, which is not limited herein.
An embodiment of the present application further provides an electronic device, including: one or more processors; a storage device for storing one or more programs that, when executed by one or more processors, cause an electronic apparatus to implement a method of acquiring a parking time of a vehicle provided in the above-described respective embodiments.
FIG. 5 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application. It should be noted that the computer system 500 of the electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the application scope of the embodiments of the present application.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes, such as executing the methods in the above-described embodiments, according to a program stored in a Read-Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for system operation are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An Input/Output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output section 507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage portion 508 including a hard disk and the like; and a communication section 509 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. When the computer program is executed by a Central Processing Unit (CPU) 501, various functions defined in the system of the present application are executed.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a propagated data signal with a computer-readable computer program embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute a parking time acquisition method of a vehicle as in the previous. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist alone without being assembled into the electronic device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the parking time acquiring method of the vehicle provided in the above embodiments.
The above embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention.

Claims (10)

1. A parking time acquisition method for a vehicle, characterized by comprising:
acquiring a positioning time signal and a time validity signal sent by a positioning time system, and acquiring a last power-on time signal and a last power-off time signal sent by a battery management system;
when the time validity signal is changed from an invalid state to a valid state within a preset time period, comparing the state of the received positioning time signal with a preset state to obtain a comparison result;
and calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal according to the comparison result, and taking the time acquisition difference value as parking time.
2. The parking time acquisition method for a vehicle according to claim 1, characterized in that: the method further comprises the following steps:
when the time validity signal is in an invalid state all the time within a preset time period, judging that the last power-on time signal is unavailable;
and when the last power-on time signal is unavailable, the value of the parking time is reset to zero.
3. The parking time acquisition method for a vehicle according to claim 1, characterized in that: comparing the state of the received positioning time signal with a preset state to obtain a comparison result, wherein the comparison result comprises the following steps:
comparing the length of the positioning time signal with a preset length range, and comparing the acquisition time of the positioning time signal with the acquisition time of the last power-off time signal;
when the length of the positioning time signal is within a preset length range and the acquisition time of the positioning time signal is later than the acquisition time of the last power-off time signal, the state of the positioning time signal is consistent with a preset state; and when the length of the positioning time signal exceeds a preset length range and/or the acquisition time of the positioning time signal is earlier than the acquisition time of the last power-off time signal, the state of the positioning time signal is inconsistent with a preset state.
4. The parking time acquisition method for the vehicle according to claim 3, characterized in that: calculating the time acquisition difference value of the last power-on time signal and the last power-off time signal according to the comparison result, wherein the time acquisition difference value comprises the following steps:
and when the state of the positioning time signal is consistent with a preset state, calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal.
5. The parking time acquisition method for a vehicle according to claim 1, characterized in that: after the time acquisition difference is used as the parking time, the method further comprises the following steps:
and managing the electric quantity state based on the parking time, and/or managing the service life of the battery based on the parking time.
6. A parking time acquisition apparatus for a vehicle, characterized by comprising:
the acquisition module is used for acquiring a positioning time signal and a time validity signal sent by the positioning time system, and acquiring a last power-on time signal and a last power-off time signal sent by the battery management system;
the comparison module is used for comparing the state of the received positioning time signal with a preset state to obtain a comparison result when the time validity signal is changed from an invalid state to a valid state within a preset time period;
and the calculation module is used for calculating a time acquisition difference value of the last power-on time signal and the last power-off time signal according to the comparison result, and taking the time acquisition difference value as parking time.
7. The parking time acquisition apparatus for a vehicle according to claim 6, characterized by further comprising:
the judging module is used for judging that the last power-on time signal is unavailable when the time validity signal is in an invalid state all the time within a preset time period;
and the zeroing module is used for zeroing the value of the parking time when the last power-on time signal is unavailable.
8. The parking time acquisition device for the vehicle according to claim 6, wherein the comparison module comprises:
the comparison unit is used for comparing the length of the positioning time signal with a preset length range and comparing the acquisition time of the positioning time signal with the acquisition time of the last power-off time signal;
the judging unit is used for keeping the state of the positioning time signal consistent with a preset state when the length of the positioning time signal is within a preset length range and the acquisition time of the positioning time signal is later than the acquisition time of the last power-off time signal; and when the length of the positioning time signal exceeds a preset length range and/or the acquisition time of the positioning time signal is earlier than that of the last power-off time signal, the state of the positioning time signal is inconsistent with the preset state.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement a parking time acquisition method for a vehicle according to any one of claims 1 to 5.
10. A computer-readable storage medium, having stored thereon computer-readable instructions, which, when executed by a processor of a computer, cause the computer to execute the parking time acquiring method of any one of claims 1 to 5.
CN202211176653.6A 2022-09-26 2022-09-26 Method, device, equipment and storage medium for acquiring parking time of vehicle Active CN115497192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211176653.6A CN115497192B (en) 2022-09-26 2022-09-26 Method, device, equipment and storage medium for acquiring parking time of vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211176653.6A CN115497192B (en) 2022-09-26 2022-09-26 Method, device, equipment and storage medium for acquiring parking time of vehicle

Publications (2)

Publication Number Publication Date
CN115497192A true CN115497192A (en) 2022-12-20
CN115497192B CN115497192B (en) 2023-08-25

Family

ID=84471747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211176653.6A Active CN115497192B (en) 2022-09-26 2022-09-26 Method, device, equipment and storage medium for acquiring parking time of vehicle

Country Status (1)

Country Link
CN (1) CN115497192B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000041929A (en) * 1998-12-24 2000-07-15 서평원 Method for picking up in private exchange
JP2010208353A (en) * 2009-03-06 2010-09-24 Denso Corp Control system for vehicle
US20110184677A1 (en) * 2010-01-26 2011-07-28 Yongjun Tae Battery management system and driving method thereof
JP2013167219A (en) * 2012-02-16 2013-08-29 Toyota Motor Corp Vehicle control device, vehicle, vehicle control method, driving environment prediction device, and driving environment prediction method
KR101664073B1 (en) * 2015-07-10 2016-10-10 현대자동차 주식회사 System and method for control of idle stop and go and auto hold equipped vehicle
CN106483471A (en) * 2017-01-03 2017-03-08 重庆长安汽车股份有限公司 Cell health state evaluation method and system under a kind of whole vehicle state
JP2017180205A (en) * 2016-03-29 2017-10-05 マツダ株式会社 Control device of engine
JP2018013861A (en) * 2016-07-19 2018-01-25 本田技研工業株式会社 Parking position management system, management server, and radio terminal
CN108630007A (en) * 2017-03-23 2018-10-09 丰田自动车株式会社 Parking manages system and parking management method
CN111736083A (en) * 2020-06-24 2020-10-02 广州小鹏汽车科技有限公司 Battery health state acquisition method and device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000041929A (en) * 1998-12-24 2000-07-15 서평원 Method for picking up in private exchange
JP2010208353A (en) * 2009-03-06 2010-09-24 Denso Corp Control system for vehicle
US20110184677A1 (en) * 2010-01-26 2011-07-28 Yongjun Tae Battery management system and driving method thereof
JP2013167219A (en) * 2012-02-16 2013-08-29 Toyota Motor Corp Vehicle control device, vehicle, vehicle control method, driving environment prediction device, and driving environment prediction method
KR101664073B1 (en) * 2015-07-10 2016-10-10 현대자동차 주식회사 System and method for control of idle stop and go and auto hold equipped vehicle
JP2017180205A (en) * 2016-03-29 2017-10-05 マツダ株式会社 Control device of engine
JP2018013861A (en) * 2016-07-19 2018-01-25 本田技研工業株式会社 Parking position management system, management server, and radio terminal
CN106483471A (en) * 2017-01-03 2017-03-08 重庆长安汽车股份有限公司 Cell health state evaluation method and system under a kind of whole vehicle state
CN108630007A (en) * 2017-03-23 2018-10-09 丰田自动车株式会社 Parking manages system and parking management method
CN111736083A (en) * 2020-06-24 2020-10-02 广州小鹏汽车科技有限公司 Battery health state acquisition method and device and storage medium

Also Published As

Publication number Publication date
CN115497192B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
CN109215372B (en) Road network information updating method, device and equipment
WO2020041929A1 (en) Vehicle mileage calculation method, system and terminal device
CN112732857B (en) Road network processing method, road network processing device, electronic equipment and storage medium
CN117576651B (en) Lane line fitting method and system for driving assistance and vehicle
CN117445677A (en) Vehicle running prediction method, device, electronic equipment and storage medium
CN115497192A (en) Method, device and equipment for acquiring parking time of vehicle and storage medium
CN112017462A (en) Method, apparatus, electronic device, and medium for generating scene information
CN116481560A (en) Vehicle driving mileage calculation method, device, terminal and storage medium
CN110715654A (en) Motion track determination method and device of terminal equipment and electronic equipment
CN115683154A (en) Method, device and equipment for calculating vehicle mileage
CN116010400A (en) Method, system, device, equipment and storage medium for storing time series data of vehicle
CN112258128B (en) Target position estimation method, target position estimation device, electronic equipment and computer storage medium
CN111833608B (en) Road condition information processing method and device
US20210254987A1 (en) Route navigation device and computer readable storage medium
CN114764600A (en) Service life prediction method and device for new energy vehicle battery pack and electronic equipment
CN111131384B (en) Position sorting method and device
CN114677778A (en) Method and device for estimating remaining mileage of vehicle, electronic device and storage medium
CN111950238A (en) Automatic driving fault score table generation method and device and electronic equipment
CN112346870A (en) Model processing method and system
CN115273449B (en) Method, device, equipment and medium for identifying motorcade set nodes
CN115981288B (en) Whole vehicle network non-dormancy monitoring method and device, electronic equipment and storage medium
CN111624624A (en) Method and device for processing differential data
CN111260912A (en) Vehicle formation processing method and device
CN112073202B (en) Information generation method and device, electronic equipment and computer readable medium
CN113406962B (en) Method and device for determining test information of automatic driving vehicle and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 401133 room 208, 2 house, 39 Yonghe Road, Yu Zui Town, Jiangbei District, Chongqing

Applicant after: Deep Blue Automotive Technology Co.,Ltd.

Address before: 401133 room 208, 2 house, 39 Yonghe Road, Yu Zui Town, Jiangbei District, Chongqing

Applicant before: CHONGQING CHANGAN NEW ENERGY AUTOMOBILE TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant