Vehicle time correction method and related equipment

Obtain and parse network data packets through T-BOX to obtain cloud time, correct the vehicle system time, solve the time error problem caused by the lack of RTC clock chip in the vehicle system, improve time accuracy and reduce hardware costs.

CN116243586BActive Publication Date: 2024-09-03VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310099278.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-01
Publication Date
2024-09-03
Estimated Expiration
2043-02-01

AI Technical Summary

Technical Problem

When the vehicle system lacks an RTC clock chip or the chip fails, the system time is inconsistent with the real time, resulting in errors.

Method used

Obtain network data packets through T-BOX, analyze and obtain the cloud time, and compare it with the local time of the vehicle. If the time difference exceeds the preset threshold, use the cloud time to correct the system time of the vehicle.

Benefits of technology

It improves the accuracy of vehicle time, reduces the hardware cost of the vehicle system, and enables time correction in the absence of an RTC clock chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116243586B
    Figure CN116243586B
Patent Text Reader

Abstract

The present invention discloses a vehicle time correction method and related equipment. The method includes: obtaining a network data packet through a T‑BOX; correcting the vehicle computer time based on the above network data packet, the current time of the vehicle computer and a preset threshold. A vehicle computer time correction method provided by an embodiment of the present application obtains a network data packet through a T‑BOX, and parses the network data packet to obtain the cloud time, compares the cloud time with the local time of the vehicle computer, and judges the accuracy of the vehicle computer time through a preset threshold. If it exceeds the preset threshold, the cloud time is used to correct the time of the local vehicle computer system to improve the accuracy of the vehicle computer time. When the vehicle system lacks an RTC clock chip or the RTC clock chip fails, the system time can be corrected through the current solution, reducing the hardware cost of the vehicle system and achieving the effect of reducing costs and increasing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the automotive field, and more specifically, to a vehicle time correction method and related equipment. Background Art

[0002] In existing vehicle systems, there is an RTC real-time clock, which provides the system with accurate real-time time, or provides an accurate time reference for continuing to calculate the system date and time when the system is shut down. RTC is an integrated circuit, usually called a clock chip, which is a hardware-based function. When the vehicle system lacks an RTC clock chip, after the vehicle system is shut down and restarted, the system time will not match the real-time time, resulting in errors in the time inside the vehicle. Summary of the invention

[0003] A series of simplified concepts are introduced in the Summary of the Invention, which will be further described in detail in the Detailed Description of the Invention. The Summary of the Invention does not mean to attempt to define the key features and essential technical features of the claimed technical solution, nor does it mean to attempt to determine the scope of protection of the claimed technical solution.

[0004] In a first aspect, the present invention provides a vehicle time correction method, the method comprising:

[0005] Get network data packets through T-BOX;

[0006] The vehicle computer time is corrected based on the above network data packet, the current vehicle computer time and the preset threshold.

[0007] Optionally, the above-mentioned correction of the vehicle computer time based on the above-mentioned network data packet, the current time of the vehicle computer and a preset threshold value includes:

[0008] Obtaining network time based on the above network data packets;

[0009] When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0010] Optionally, the above network time includes broadcast network time, which is obtained by monitoring the broadcast packet sent by T-BOX when the vehicle system is powered on;

[0011] When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time, including:

[0012] When the time difference between the broadcast network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0013] Optionally, the above network time includes network protocol time, and the above network protocol time is obtained when the vehicle computer detects a network change;

[0014] In the case where the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes:

[0015] When the time difference between the network protocol time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0016] Optionally, the network time includes GPS data time, which is obtained when the vehicle computer uses the timestamp in the GPS data packet within a fixed period;

[0017] In the case where the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes:

[0018] When the time difference between the GPS data time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the GPS data time.

[0019] Optionally, the above method further includes:

[0020] When at least one of the broadcast network time, the network protocol time and the GPS data time is obtained, the vehicle computer time is corrected in the order of priority of the GPS data time, the network protocol time and the broadcast network time.

[0021] Optionally, the above method further includes:

[0022] Get network speed information;

[0023] The vehicle computer time is corrected for a second time based on the network speed information.

[0024] In a second aspect, the present invention further provides a vehicle time correction device, comprising:

[0025] An acquisition unit, used to acquire network data packets through T-BOX;

[0026] The correction unit is used to correct the vehicle computer time based on the above network data packet, the current time of the vehicle computer and a preset threshold.

[0027] In a third aspect, an electronic device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement the steps of the vehicle time correction method of any one of the first aspects described above when executing the computer program stored in the memory.

[0028] In a fourth aspect, the present invention further proposes a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the vehicle time correction method of any one of the above items in the first aspect is implemented.

[0029] In summary, the vehicle time correction method of the embodiment of the present application includes: obtaining a network data packet through T-BOX; correcting the vehicle computer time based on the above network data packet, the current time of the vehicle computer and a preset threshold. A vehicle computer time correction method provided in an embodiment of the present application obtains a network data packet through T-BOX, and parses the network data packet to obtain the cloud time, compares the cloud time with the local time of the vehicle computer, and judges the accuracy of the vehicle computer time through a preset threshold. If it exceeds the preset threshold, the local vehicle computer system time is corrected using the cloud time to improve the accuracy of the vehicle computer time. When the vehicle system lacks an RTC clock chip or the RTC clock chip fails, the system time can be corrected through the current solution, reducing the hardware cost of the vehicle system and achieving the effect of reducing costs and increasing efficiency.

[0030] The vehicle time correction method proposed in this application and other advantages, objectives and features of the present invention will be reflected in part through the following description, and will also be understood by technicians in this field through research and practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present specification. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0032] Figure 1 A schematic diagram of a vehicle time correction method flow chart provided in an embodiment of the present application;

[0033] Figure 2 A schematic diagram of the principle of a vehicle time correction method provided in an embodiment of the present application;

[0034] Figure 3 A schematic diagram of the structure of a vehicle time correction device provided in an embodiment of the present application;

[0035] Figure 4 A schematic diagram of the structure of a vehicle time correction electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The embodiment of the present application provides a method for correcting the time of a vehicle computer. The network data packet obtained by T-BOX is parsed to obtain the cloud time, the cloud time is compared with the local time of the vehicle computer, and the accuracy of the time of the vehicle computer is judged by a preset threshold. If it exceeds the preset threshold, the cloud time is used to correct the time of the local vehicle computer system to improve the accuracy of the vehicle computer time. When the vehicle system lacks an RTC clock chip or the RTC clock chip fails, the system time can be corrected through the current solution, reducing the hardware cost of the vehicle system and achieving the effect of reducing costs and increasing efficiency.

[0037] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0038] See also Figure 1 , is a flow chart of a vehicle time correction method provided in an embodiment of the present application, which may specifically include:

[0039] S120, obtaining network data packets through T-BOX;

[0040] For example, T-BOX (Telematics BOX, Internet of Vehicles system) consists of four parts: host, vehicle-mounted T-BOX, mobile phone APP and background system. The host is mainly used for in-car audio and video entertainment and vehicle information display; the vehicle-mounted T-BOX is mainly used to communicate with the background system / mobile phone APP to realize the vehicle information display and control of the mobile phone APP. When the user sends a control command through the mobile phone APP, the TSP background will send a monitoring request instruction to the vehicle-mounted T-BOX. After the vehicle obtains the control command, it sends a control message through the CAN bus and realizes the control of the vehicle, and finally feeds back the operation results to the user's mobile phone APP.

[0041] The external BOX in the vehicle system has a built-in GPS module. When T-BOX interacts with the cloud, it will obtain network data packets, which include timestamps. By obtaining network data packets through T-BOX and parsing the messages in the network data packets, the time information in the cloud can be obtained.

[0042] S130, correcting the vehicle computer time based on the network data packet, the current vehicle computer time and a preset threshold.

[0043] Exemplarily, based on the cloud time information obtained from the network data packet, the obtained time is compared with the current time of the vehicle computer. If the error between the two is within a preset threshold, the time on the vehicle computer is not corrected. If it exceeds the preset threshold, the time of the vehicle computer system is corrected based on the time information obtained from the network data packet.

[0044] In summary, the embodiment of the present application provides a method for correcting the time of a vehicle computer, which obtains network data packets through T-BOX, parses the network data packets to obtain cloud time, compares the cloud time with the local time of the vehicle computer, and judges the accuracy of the time of the vehicle computer through a preset threshold. If it exceeds the preset threshold, the cloud time is used to correct the time of the local vehicle computer system to improve the accuracy of the vehicle computer time. When the vehicle system lacks an RTC clock chip or the RTC clock chip fails, the system time can be corrected through the current solution, reducing the hardware cost of the vehicle system and achieving the effect of reducing costs and increasing efficiency.

[0045] In some examples, the above-mentioned correction of the vehicle computer time based on the above-mentioned network data packet, the current time of the vehicle computer and the preset threshold value includes:

[0046] Obtaining network time based on the above network data packets;

[0047] When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0048] For example, according to the network data packets of data exchange between T-BOX and the cloud, the time information in the data packets is parsed, and the time difference is obtained with the current time of the vehicle computer. When the time difference is greater than the preset threshold, the network time is corrected as the vehicle computer time. When the time difference is less than the preset threshold, no adjustment is made. It should be noted that the time difference can be set to 2 minutes.

[0049] In some examples, the network time includes broadcast network time, which is obtained by monitoring a broadcast packet sent by the T-BOX when the vehicle system is powered on;

[0050] When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time, including:

[0051] When the time difference between the broadcast network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0052] For example, after the vehicle system is powered on, the vehicle system monitors the network broadcast packet sent by the T-BOX, obtains the broadcast network time according to the network broadcast packet, and initializes the calibration once each time the vehicle is powered on. If the time difference between the two is greater than a preset threshold, the vehicle system time is corrected using the network time. If the T-BOX broadcast is not monitored within the preset time, the monitoring is terminated and the vehicle system time is not adjusted.

[0053] In some examples, the network time includes a network protocol time, and the network protocol time is obtained when the vehicle computer detects a network change;

[0054] In the case where the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes:

[0055] When the time difference between the network protocol time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0056] For example, when the system network of the vehicle computer changes, the vehicle computer monitors the network changes, synchronizes the clock from the network time protocol server of TBOX, obtains the corresponding timestamp data, and calibrates the network protocol time. When the difference between the network protocol time and the current time of the vehicle computer is greater than a preset threshold, the vehicle computer time is corrected using the network time. If it is within the preset threshold, no adjustment is made.

[0057] In some examples, the network time includes GPS data time, which is obtained when the vehicle computer uses a timestamp in a GPS data packet within a fixed period;

[0058] In the case where the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes:

[0059] When the time difference between the GPS data time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the GPS data time.

[0060] For example, when TBOX obtains valid positioning, it continuously reports GPS timestamp data. Through the SomeIP interface, the timestamp data of the GPS data reported by TBOX is monitored. After obtaining the timestamp data and parsing it, it is called back to report to the time management module. After the time management module obtains the timestamp data, it performs relevant validity checks. If the difference with the system time is greater than 2 minutes, the acquired GPS data timestamp data is set to the system, thereby correcting the system time. The time interval for timestamp data calibration can be set to calibrate once per minute, and try 30 times; if the calibration is successful once, cancel the monitoring, and do not monitor the calibration data before restarting.

[0061] In some examples, the method further includes:

[0062] When at least one of the broadcast network time, the network protocol time and the GPS data time is obtained, the vehicle computer time is corrected in the order of priority of the GPS data time, the network protocol time and the broadcast network time.

[0063] For example, if the broadcast network time, network protocol time and GPS data time are obtained at the same time, or if one of the broadcast network time, network protocol time and GPS data time is obtained, the vehicle computer time is corrected in the priority order of GPS data time, network protocol time and broadcast network time. The GPS data time includes the vehicle's precise positioning data, and the time information obtained during the system setting process is more accurate.

[0064] In some examples, the method further includes:

[0065] Get network speed information;

[0066] The vehicle computer time is corrected for a second time based on the network speed information.

[0067] For example, in the process of time calibration using network data obtained by T-BOX, it is necessary to obtain cloud time through network transmission. However, when the network speed of T-BOX is slow, a large time delay may occur. By monitoring the network speed information, the influence of the network speed information is taken into account in the process of vehicle time correction. For example, when the network speed is lower than the preset network speed, according to the current network speed and the comparison table of network speed and time correction information, the vehicle time that has been corrected once is corrected twice to obtain a more accurate vehicle time.

[0068] In summary, the vehicle computer time correction method provided by the embodiment of the present application can take the network transmission speed into consideration in the vehicle computer time correction process, so that the vehicle computer time correction result is more accurate.

[0069] like Figure 2 The above is a schematic diagram of the principle of a vehicle time correction method.

[0070] The vehicle time correction method is mainly divided into four modules: power-on time calibration module, network protocol time calibration module, timestamp data time calibration module, and time calibration rule determination module.

[0071] Power-on time calibration module: When the vehicle system is powered on, it monitors the network broadcast packets sent by TBOX and performs time calibration. Calibration is performed once every time the power is turned on and initialized. If no TBOX broadcast is monitored within 30 seconds, the monitoring ends.

[0072] Network protocol time calibration module: When the vehicle system network changes, the clock is synchronized from the TBOX network time protocol server, the corresponding timestamp data is obtained, and the network protocol time is calibrated.

[0073] Timestamp data time calibration module: When TBOX obtains valid positioning, it continuously reports GPS timestamp data. Through the SomeIP interface, the timestamp data reported by TBOX is monitored. After obtaining the timestamp data and parsing it, it is called back to report to the time management module. After the time management module obtains the timestamp data, it performs relevant validity checks. If the difference with the system time is greater than 2 minutes, the obtained timestamp data is set to the system to correct the system time. Timestamp data calibration interval: calibrate once per minute, try 30 times; if the calibration is successful once, cancel the monitoring, and do not monitor the calibration data before restarting.

[0074] Time calibration rule determination module: Timestamp data has higher priority than network time protocol time, which is higher than electrical calibration time; the three times are compared, and if the difference is greater than 2 minutes, the system time is corrected in order of priority.

[0075] See also Figure 3 , an embodiment of the vehicle time correction device in the embodiment of the present application may include:

[0076] An acquisition unit 21 is used to acquire network data packets through the T-BOX;

[0077] The correction unit 22 is used to correct the vehicle computer time based on the above network data packet, the current time of the vehicle computer and a preset threshold.

[0078] like Figure 4 As shown, an embodiment of the present application also provides an electronic device 300, including a memory 310, a processor 320, and a computer program 311 stored in the memory 320 and executable on the processor, and when the processor 320 executes the computer program 311, the steps of any of the above-mentioned vehicle time correction methods are implemented.

[0079] Since the electronic device introduced in this embodiment is a device used to implement a vehicle time correction device in the embodiment of the present application, based on the method introduced in the embodiment of the present application, technical personnel in this field can understand the specific implementation mode of the electronic device of this embodiment and its various variations. Therefore, how the electronic device implements the method in the embodiment of the present application is not introduced in detail here. As long as the equipment used by technical personnel in this field to implement the method in the embodiment of the present application is within the scope of protection of this application.

[0080] In the specific implementation process, when the computer program 311 is executed by the processor, it can achieve Figure 1 Any implementation method in the corresponding embodiment includes:

[0081] Get network data packets through T-BOX;

[0082] The vehicle computer time is corrected based on the above network data packet, the current vehicle computer time and the preset threshold.

[0083] In some implementations, the above-mentioned correction of the vehicle computer time based on the above-mentioned network data packet, the current time of the vehicle computer and the preset threshold value includes:

[0084] Obtaining network time based on the above network data packets;

[0085] When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0086] In some implementations, the network time includes a broadcast network time, which is obtained by monitoring a broadcast packet sent by the T-BOX when the vehicle system is powered on;

[0087] When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time, including:

[0088] When the time difference between the broadcast network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0089] In some implementations, the network time includes a network protocol time, and the network protocol time is obtained when the vehicle computer detects a network change;

[0090] In the case where the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes:

[0091] When the time difference between the network protocol time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0092] In some embodiments, the network time includes GPS data time, which is obtained when the vehicle computer uses the timestamp in the GPS data packet within a fixed period;

[0093] In the case where the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes:

[0094] When the time difference between the GPS data time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the GPS data time.

[0095] In some embodiments, the above method further comprises:

[0096] When at least one of the broadcast network time, the network protocol time and the GPS data time is obtained, the vehicle computer time is corrected in the order of priority of the GPS data time, the network protocol time and the broadcast network time.

[0097] In some embodiments, the above method further comprises:

[0098] Get network speed information;

[0099] The vehicle computer time is corrected for a second time based on the network speed information.

[0100] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0101] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0102] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0103] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0104] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0105] The embodiment of the present application further provides a computer program product, which includes computer software instructions. When the computer software instructions are executed on a processing device, the processing device executes the process of vehicle time correction in the corresponding embodiment, including:

[0106] Get network data packets through T-BOX;

[0107] The vehicle computer time is corrected based on the above network data packet, the current vehicle computer time and the preset threshold.

[0108] In some implementations, the above-mentioned correction of the vehicle computer time based on the above-mentioned network data packet, the current time of the vehicle computer and the preset threshold value includes:

[0109] Obtaining network time based on the above network data packets;

[0110] When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0111] In some implementations, the network time includes a broadcast network time, which is obtained by monitoring a broadcast packet sent by the T-BOX when the vehicle system is powered on;

[0112] When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time, including:

[0113] When the time difference between the broadcast network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0114] In some implementations, the network time includes a network protocol time, and the network protocol time is obtained when the vehicle computer detects a network change;

[0115] In the case where the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes:

[0116] When the time difference between the network protocol time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

[0117] In some embodiments, the network time includes GPS data time, which is obtained when the vehicle computer uses the timestamp in the GPS data packet within a fixed period;

[0118] In the case where the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes:

[0119] When the time difference between the GPS data time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the GPS data time.

[0120] In some embodiments, the above method further comprises:

[0121] When at least one of the broadcast network time, the network protocol time and the GPS data time is obtained, the vehicle computer time is corrected in the order of priority of the GPS data time, the network protocol time and the broadcast network time.

[0122] In some embodiments, the above method further comprises:

[0123] Get network speed information;

[0124] The vehicle computer time is corrected for a second time based on the network speed information.

[0125] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.

[0126] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0127] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0131] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A vehicle time correction method, It is characterized in that include: Get network data packets through T-BOX; Correcting the vehicle computer time based on the network data packet, the vehicle computer current time and a preset threshold; Get network speed information; Secondarily correcting the vehicle computer time based on the network speed information; The second correction of the vehicle computer time based on the network speed information includes: when the network speed is lower than the preset network speed, second correction is made to the corrected vehicle computer time according to the current network speed and a comparison table of network speed and time correction information.

2. The method according to claim 1, It is characterized in that The method of correcting the vehicle computer time based on the network data packet, the current time of the vehicle computer and the preset threshold value includes: Acquire network time based on the network data packet; When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

3. The method according to claim 2, It is characterized in that The network time includes the broadcast network time, which is obtained by monitoring the broadcast packet sent by the T-BOX when the vehicle system is powered on; When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes: When the time difference between the broadcast network time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

4. The method according to claim 3, It is characterized in that The network time includes the network protocol time, and the network protocol time is obtained when the vehicle computer detects a network change; When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes: When the time difference between the network protocol time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the network time.

5. The method according to claim 4, It is characterized in that The network time includes GPS data time, which is obtained when the vehicle computer uses the timestamp in the GPS data packet within a fixed period; When the time difference between the network time and the current time of the vehicle computer is greater than the preset threshold, correcting the vehicle computer time based on the network time includes: When the time difference between the GPS data time and the current time of the vehicle computer is greater than the preset threshold, the vehicle computer time is corrected based on the GPS data time.

6. The method according to claim 5, It is characterized in that Also includes: When at least one of the broadcast network time, the network protocol time and the GPS data time is obtained, the vehicle computer time is corrected in the order of priority of the GPS data time, the network protocol time and the broadcast network time.

7. A vehicle time correction device, the correction device being used to implement the vehicle time correction method according to any one of claims 1 to 6, It is characterized in that include: An acquisition unit, used to acquire network data packets through T-BOX; The correction unit is used to correct the vehicle computer time based on the network data packet, the current time of the vehicle computer and a preset threshold.

8. An electronic device, include: A memory and a processor, wherein the processor is used to implement the steps of the vehicle time correction method as described in any one of claims 1 to 6 when executing the computer program stored in the memory.

9. A computer-readable storage medium having a computer program stored thereon, Features: When the computer program is executed by a processor, the vehicle time correction method according to any one of claims 1 to 6 is implemented.