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

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

Info

Publication number
CN115497192B
CN115497192B CN202211176653.6A CN202211176653A CN115497192B CN 115497192 B CN115497192 B CN 115497192B CN 202211176653 A CN202211176653 A CN 202211176653A CN 115497192 B CN115497192 B CN 115497192B
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.)
Active
Application number
CN202211176653.6A
Other languages
Chinese (zh)
Other versions
CN115497192A (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.)
Deep Blue Automotive Technology Co ltd
Original Assignee
Deep Blue Automotive 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 Deep Blue Automotive Technology Co ltd filed Critical Deep Blue Automotive 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

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 application relates to a method, a device, equipment and a storage medium for acquiring parking time of a vehicle, wherein 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 are acquired; then when the time validity signal changes from an invalid state to an valid state in a preset time period, comparing the state of the received positioning time signal with a preset state; 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. According to the application, 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 is obtained.

Description

Method, device, equipment and storage medium for acquiring parking time of vehicle
Technical Field
The application 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 achieved by TBOX (Telematics-BOX) which records time via 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 problem of weak GPS signals. Because the parking time signal is needed for the estimation of the algorithms such as State of Charge (SOC) and SOH (State of Health) in the battery management system, the accuracy and timeliness of the processing of the parking time signal greatly influence the calculation accuracy of the algorithms such as SOC and SOH, and further influence the driving feeling of the whole vehicle. Therefore, inaccurate parking time can cause a time acquisition delay phenomenon, and further the running speed of the battery management system and the accuracy of a calculation result are affected.
Disclosure of Invention
One of the objectives of the present application is to provide a method, an apparatus, a device and a storage medium for acquiring 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 above purpose, the technical scheme adopted by the application is as follows:
a method of acquiring a parking time 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 an valid state in a preset time period, comparing the state of the received positioning time signal with the 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 application, the method further includes:
when the time availability signal is always in an invalid state within a preset time period, judging that the last power-on time signal is unavailable;
and when the last power-on time signal is not available, resetting the value of the parking time to zero.
In an embodiment of the present application, comparing a state of a 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-down time signal;
when the length of the positioning time signal is in a preset length range and the acquisition time of the positioning time signal is later than the acquisition time of the last power-down 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-down time signal, the state of the positioning time signal is inconsistent with the preset state.
In an embodiment of the present application, 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 the preset state, calculating the time acquisition difference value of the last power-on time signal and the last power-off time signal.
In an embodiment of the present application, after taking the time acquisition difference value as the parking time, the method further includes:
and carrying out electric quantity state management based on the parking time, and/or carrying out battery life management based on the parking time.
The application also provides a device for acquiring the parking time of the vehicle, which comprises the following steps:
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 the preset state when the time validity signal changes from the invalid state to the valid state in the preset time period, and obtaining a comparison result;
and the calculation module is used for 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, and taking the time acquisition difference value as parking time.
In an embodiment of the application, the apparatus further comprises:
the judging module is used for judging that the last power-on time signal is unavailable when the time validity signal is always in an invalid state 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 not available.
In an embodiment of the present application, the comparison 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-down time signal;
the judging unit is used for judging whether the length of the positioning time signal is in a preset length range or not, and if the acquisition time of the positioning time signal is later than the acquisition time of the last power-down time signal, the state of the positioning time signal is consistent with the 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-down time signal, the state of the positioning time signal is inconsistent with the preset state.
The present application also provides an electronic device including:
one or more processors;
and a storage means for storing one or more programs which, when executed by the one or more processors, cause the electronic device to implement a method of acquiring parking time of a vehicle as described above.
The present application 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 perform a method of acquiring a parking time of a vehicle as described above.
The application has the beneficial effects that:
the application obtains the positioning time signal and the time validity signal sent by the positioning time system, and obtains the last power-on time signal and the last power-off time signal sent by the battery management system; then when the time validity signal changes from an invalid state to an valid state in a preset time period, comparing the state of the received positioning time signal with a preset state; 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 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 utilizing the last power-on time signal and the last power-off signal, so that the accurate parking time can be obtained when the vehicle is in low voltage or the positioning signal is weak; therefore, the technical problems that the parking time is inaccurate and the running speed and the accuracy of the calculation result of the battery management system are affected are solved.
Drawings
Fig. 1 is an application scenario diagram of a method for acquiring parking time of a vehicle according to an exemplary embodiment of the present application;
fig. 2 is a flowchart showing a parking time acquisition method 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 block diagram showing a parking time acquisition apparatus of a vehicle according to an exemplary embodiment of the present application;
fig. 5 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the application.
Detailed Description
Further advantages and effects of the present application will become readily apparent to those skilled in the art from the disclosure herein, by referring to the accompanying drawings and the preferred embodiments. The application may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present application. It should be understood that the preferred embodiments are presented by way of illustration only and not by way of limitation.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present application by way of illustration, and only the components related to the present application are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
Fig. 1 is an application scenario diagram of a parking time acquisition method of a vehicle according to an exemplary embodiment of the present application, wherein the vehicle is networked through a TBOX (Telematics-BOX) and then acquires a positioning time through a GPS (Global Positioning System ) time system as shown in fig. 1; and after the vehicle is powered on at low voltage, uploading the time of the real-time clock by the TBOX, acquiring a time signal of the positioning time system through connecting with the Internet, updating by taking the time of the positioning time system as an effective value, and setting the updating period to be 1S for updating once. When the situation of feeding the storage battery, disconnecting low-voltage connection, poor pressure contact or GPS signal difference occurs in the whole vehicle, delay updating can occur in the time of TBOX transmission. Therefore, the power-on time and the power-off time are recorded through the BMS battery management system in the vehicle, and when the conditions of feeding of the storage battery, disconnection of low-voltage connection, poor voltage contact or GPS signal difference and the like occur in the whole vehicle, 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 parking time of a vehicle at least includes 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 the existing positioning time system generates the positioning time signal, a time validity signal for indicating whether the positioning time signal is reliable is generated at the same time, 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 indicated to be reliable; when the time validity signal is in an invalid state, the corresponding positioning time signal is unreliable, and time delay can exist; 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 last time, and the last power-off time signal is a clock signal recorded when the vehicle is powered off last time before parking.
S220, when the time validity signal is changed from an invalid state to an valid state in a preset time period, comparing the state of the received positioning time signal with the preset state to obtain a comparison result;
in step S220, when the time validity signal is in an invalid state, it is indicated that there may be a delay in the positioning time signal, and the positioning time signal cannot be used to perform the calculation of the electric quantity state and the calculation of the battery life; at the moment, a timer in the vehicle starts a timing mode, and continuously receives a positioning time signal and a time validity signal; when the time validity signal in the valid state is received in the preset time period, the situation that the vehicle is fed from the storage battery, the low-voltage connection is disconnected, the low-voltage connection is poor or the GPS signal is poor is indicated, the local clock can work normally, and the last power-on time signal is determined to be reliable if the corresponding positioning time signal is consistent with the preset state.
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 of ensuring that the last power-on time signal is 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 application, a method for obtaining 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 always in an invalid state within a preset time period, judging that the last power-on time signal is unavailable;
in step S310, the time validity signal is always in an invalid state within a preset time period, which indicates that the vehicle fails to power up normally, and the working state of the local clock is uncertain, so as to determine that the last power-up time signal is not available.
S320, when the last power-on time signal is not available, the value of the parking time is reset to zero.
In step S320, when it is determined that the last power-on time signal is not available, the parking time cannot be calculated by the last power-on time signal, so that the parking time is directly zeroed.
In an embodiment of the present application, 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-down time signal;
s420, when the length of the positioning time signal is in a preset length range and the acquisition time of the positioning time signal is later than the acquisition time of the last power-down 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-down time signal, the state of the positioning time signal is inconsistent with the preset state.
In this embodiment, the preset state includes a preset length range of the signal and a time of signal acquisition, so that the length of the positioning time signal is required to be compared with the preset length range, and the acquisition time of the positioning time signal is required to be compared with the acquisition time of the last power-down time signal.
In an embodiment of the present application, the process of calculating the time acquisition difference between the last power-up time signal and the last power-down time signal according to the comparison result may include step S510, which is described in detail below:
s510, 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 positioning time signal is consistent with a preset state.
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-on time signal, it is indicated that the signal format of the positioning time signal conforms to the predefined format and is the positioning time signal acquired last time, so that it is determined that the last power-on signal is available. Specifically, the predefined format may further include information such as position and accuracy.
In an embodiment of the present application, the process of taking the time acquisition difference value as the parking time may further include step S610, which is described in detail below:
and S610, carrying out electric quantity state management based on the parking time, and/or carrying out battery life management based on the parking time.
In step S610, after the accurate parking time is obtained, 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 utilized for carrying out related calculation, the calculation result is more accurate. Therefore, the vehicle-mounted time is rapidly 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 is improved, the precision of algorithms such as SOC, SOH and the like is improved, 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 application can reduce the real-time clock module of the battery management system by using the clock signal of the battery management system, reduce the cost of the battery management system and ensure the normal operation of the functions of the battery management system.
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 in a preset time period; when the time availability signal in the available state is received in the preset time period and the positioning time signal is consistent with the preset state, the last power-on time signal is judged to be available; 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 utilizing the last power-on time signal and the last power-off signal, so that the accurate parking time can be obtained when the vehicle is in low voltage or the positioning signal is weak; therefore, the technical problems that the parking time is inaccurate and the running speed and the accuracy of the calculation result of the battery management system are affected are solved.
As shown in fig. 4, the present application further provides a parking time acquisition apparatus for a vehicle, the apparatus 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 when the time validity signal changes from an invalid state to an valid state in a preset time period;
and the calculating module is used for calculating the 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 the preset state, and taking the time acquisition difference value as the parking time.
In an embodiment of the application, the apparatus further comprises:
the judging module is used for judging that the last power-on time signal is unavailable when the time validity signal is always in an invalid state 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 not available.
In an embodiment of the present application, the comparison 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-down time signal.
According to the parking time acquisition device 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 in a preset time period; when the time availability signal in the available state is received in the preset time period and the positioning time signal is consistent with the preset state, the last power-on time signal is judged to be available; 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 utilizing the last power-on time signal and the last power-off signal, so that the accurate parking time can be obtained when the vehicle is in low voltage or the positioning signal is weak; therefore, the technical problems that the parking time is inaccurate and the running speed and the accuracy of the calculation result of the battery management system are affected are solved.
It should be noted that, the parking time obtaining device of a vehicle provided in the foregoing embodiment and the parking time obtaining method of a vehicle provided in the foregoing embodiment belong to the same concept, and specific manners in which each module and unit perform operations have been described in detail in the method embodiments, which are not repeated herein. In practical application, the parking time acquisition device for a vehicle provided in the above embodiment may allocate the functions to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above, which is not limited herein.
The embodiment of the application also provides electronic equipment, which comprises: one or more processors; and a storage device for storing one or more programs, which when executed by the one or more processors, cause the electronic apparatus to implement a parking time acquisition method of a vehicle provided in the above embodiments.
Fig. 5 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the 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 impose any limitation on 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 (Central Processing Unit, CPU) 501, which can perform various appropriate actions and processes, such as performing 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 (Random Access Memory, RAM) 503. In the RAM 503, various programs and data required for the system operation are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other through 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 section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and the like, and 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 drive 510 is also connected to the I/O interface 505 as needed. 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 needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts 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 shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. When executed by a Central Processing Unit (CPU) 501, performs the various functions defined in the system of the present application.
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 thereof. 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 (Erasable Programmable Read Only Memory, EPROM), 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 data signal propagated in baseband or as part of a carrier wave, with a computer-readable computer program embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also 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. A computer program embodied on a 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 flowcharts 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. Where 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 involved 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 provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
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 perform a method of acquiring a parking time of a vehicle as previously described. The computer-readable storage medium may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in 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 performs a parking time acquisition method of a vehicle provided in the above-described respective embodiments.
The above embodiments are merely preferred embodiments for fully explaining the present application, and the scope of the present application is not limited thereto. Equivalent substitutions and modifications will occur to those skilled in the art based on the present application, and are intended to be within the scope of the present application.

Claims (8)

1. A method for acquiring parking time 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 an valid state in a preset time period, comparing the state of the received positioning time signal with the preset state to obtain a comparison result; 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-down time signal; when the length of the positioning time signal is in a preset length range and the acquisition time of the positioning time signal is later than the acquisition time of the last power-down time signal, the state of the positioning time signal is consistent with a preset state; 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-down time signal, the state of the positioning time signal is inconsistent with a preset state;
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 of a vehicle according to claim 1, characterized in that: the method further comprises the steps of:
when the time availability signal is always in an invalid state within a preset time period, judging that the last power-on time signal is unavailable;
and when the last power-on time signal is not available, resetting the value of the parking time to zero.
3. The parking time acquisition method of a vehicle according to claim 1, characterized in that: 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, wherein the time acquisition difference value comprises the following steps:
and when the state of the positioning time signal is consistent with the preset state, calculating the time acquisition difference value of the last power-on time signal and the last power-off time signal.
4. The parking time acquisition method of a vehicle according to claim 1, characterized in that: after taking the time acquisition difference value as the parking time, the method further comprises the following steps:
and carrying out electric quantity state management based on the parking time, and/or carrying out battery life management based on the parking time.
5. A parking time acquisition apparatus of 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 the preset state when the time validity signal changes from the invalid state to the valid state in the preset time period, and obtaining a comparison result; the comparison module comprises a comparison unit and a judging unit; 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-down time signal; the judging unit is used for judging whether the length of the positioning time signal is within a preset length range or not, and if the acquisition time of the positioning time signal is later than the acquisition time of the last power-down time signal, the state of the positioning time signal is consistent with the preset state; 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-down time signal, the state of the positioning time signal is inconsistent with a preset state;
and the calculation module is used for 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, and taking the time acquisition difference value as parking time.
6. The parking time acquisition apparatus of a vehicle according to claim 5, characterized in that the apparatus further comprises:
the judging module is used for judging that the last power-on time signal is unavailable when the time validity signal is always in an invalid state 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 not available.
7. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the electronic device to implement a method of parking time acquisition for a vehicle as claimed in any one of claims 1 to 4.
8. A computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor of a computer, cause the computer to perform a method of acquiring parking time of a vehicle according to any one of claims 1 to 4.
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 CN115497192A (en) 2022-12-20
CN115497192B true 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 (9)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101057547B1 (en) * 2010-01-26 2011-08-17 에스비리모티브 주식회사 Battery Management System and Its Driving Method

Patent Citations (9)

* 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
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
CN115497192A (en) 2022-12-20

Similar Documents

Publication Publication Date Title
WO2020041929A1 (en) Vehicle mileage calculation method, system and terminal device
CN111429902B (en) Method and apparatus for waking up a device
CN115941106A (en) Method, system, equipment and medium for testing time synchronization precision
CN117576651B (en) Lane line fitting method and system for driving assistance and vehicle
CN111694848B (en) Method and apparatus for updating data buffering using reference counts
CN115497192B (en) Method, device, equipment and storage medium for acquiring parking time of vehicle
CN108985966B (en) Electric quantity consumption calculation method and device, vehicle and computer readable storage medium
CN112590929B (en) Correction method, apparatus, electronic device, and medium for steering wheel of autonomous vehicle
CN114764600A (en) Service life prediction method and device for new energy vehicle battery pack and electronic equipment
CN112346870A (en) Model processing method and system
CN111950238A (en) Automatic driving fault score table generation method and device and electronic equipment
CN115981288B (en) Whole vehicle network non-dormancy monitoring method and device, electronic equipment and storage medium
CN111200467A (en) Calibration method and device for wireless parameters of chip and electronic equipment
CN114553353B (en) Timing method and device and vehicle-mounted wireless communication box
CN115273449B (en) Method, device, equipment and medium for identifying motorcade set nodes
WO2024075646A1 (en) Vehicle-mounted device, communication control method, and communication system
CN114136334B (en) Positioning method and device based on vehicle positioning module
CN112073202B (en) Information generation method and device, electronic equipment and computer readable medium
CN117261930B (en) Early warning method and device for fatigue driving
EP4280071A1 (en) Method and apparatus for processing dynamic information related to traffic
CN115309254A (en) Location service method, device, equipment and computer program product
CN109492695B (en) Sample processing method and device for data modeling, electronic equipment and readable medium
CN116419090A (en) Meter reading method of intelligent instrument, transmitter and storage medium
CN118227720A (en) Vehicle track segmentation method and device, electronic equipment and storage medium
CN115629913A (en) Automobile driving mileage storage and verification method and device, electronic equipment and storage medium

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