CN110687774A - Vehicle-mounted machine time calibration method, vehicle-mounted machine time calibration system, vehicle-mounted machine and vehicle - Google Patents

Vehicle-mounted machine time calibration method, vehicle-mounted machine time calibration system, vehicle-mounted machine and vehicle Download PDF

Info

Publication number
CN110687774A
CN110687774A CN201810729049.9A CN201810729049A CN110687774A CN 110687774 A CN110687774 A CN 110687774A CN 201810729049 A CN201810729049 A CN 201810729049A CN 110687774 A CN110687774 A CN 110687774A
Authority
CN
China
Prior art keywords
time
vehicle
module
machine
network
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.)
Pending
Application number
CN201810729049.9A
Other languages
Chinese (zh)
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.)
Shanghai Qinggan Intelligent Technology Co Ltd
Original Assignee
Shanghai Qinggan Intelligent 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 Shanghai Qinggan Intelligent Technology Co Ltd filed Critical Shanghai Qinggan Intelligent Technology Co Ltd
Priority to CN201810729049.9A priority Critical patent/CN110687774A/en
Publication of CN110687774A publication Critical patent/CN110687774A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R20/00Setting the time according to the time information carried or implied by the radio signal
    • G04R20/02Setting the time according to the time information carried or implied by the radio signal the radio signal being sent by a satellite, e.g. GPS
    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R20/00Setting the time according to the time information carried or implied by the radio signal
    • G04R20/14Setting the time according to the time information carried or implied by the radio signal the radio signal being a telecommunication standard signal, e.g. GSM, UMTS or 3G

Abstract

The invention provides a vehicle-mounted machine time calibration method, a vehicle-mounted machine time calibration system, a vehicle-mounted machine and a vehicle. The method is applied to a vehicle machine of a vehicle and comprises the following steps: acquiring the instrument time of a vehicle instrument in a time period from the start of the vehicle machine to the finish of cold start of a communication module and a positioning module of the vehicle, and updating the current time of the vehicle machine according to the instrument time; when the network time obtained by the communication module or the positioning module is obtained, calculating a time difference value between the current time and the network time, and comparing the time difference value with a preset threshold value; and if the time difference is not smaller than the preset threshold, updating the current time of the vehicle machine by the network time. The invention solves the problem that the time is inaccurate after the local clock runs for a long time or the vehicle battery is powered off, and effectively ensures that the error time of the vehicle machine can be corrected in time.

Description

Vehicle-mounted machine time calibration method, vehicle-mounted machine time calibration system, vehicle-mounted machine and vehicle
Technical Field
The invention relates to the technical field of vehicle-mounted machine software, in particular to a vehicle-mounted machine time calibration method, a vehicle-mounted machine time calibration system, a vehicle-mounted machine and a vehicle.
Background
The vehicle machine is a short name for vehicle-mounted information entertainment products installed in the automobile, is mostly installed in a center console, and can display the current time through a display screen. However, the on-board local clock may cause inaccurate running time due to long-term running or power failure of the vehicle battery. How to correct the car clock information becomes one of the issues concerned by the industry.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention provides a car-mounted device time calibration method, a calibration system, a car-mounted device, and a vehicle, which are used to solve the above problems in the prior art.
In order to achieve the above objects and other related objects, the present invention provides a method for calibrating a vehicle-mounted device time, which is applied to a vehicle-mounted device of a vehicle; the method comprises the following steps: acquiring the instrument time of a vehicle instrument in a time period from the start of the vehicle machine to the finish of cold start of a communication module and a positioning module of the vehicle, and updating the current time of the vehicle machine according to the instrument time; when the network time obtained by the communication module or the positioning module is obtained, calculating a time difference value between the current time and the network time, and comparing the time difference value with a preset threshold value; and if the time difference is not smaller than the preset threshold, updating the current time of the vehicle machine by the network time.
In an embodiment of the present invention, the method further includes: and if the time difference is larger than or equal to the preset threshold, updating the meter time of the vehicle meter by the network time.
In an embodiment of the present invention, the obtaining of the network time obtained by the communication module or the positioning module follows a time priority principle, taking the network time obtained first as a criterion, and ignoring the network time obtained later.
In an embodiment of the present invention, the communication module is a 5G module; the positioning module adopts a Beidou module.
In order to achieve the above and other related objects, the present invention provides a system for calibrating time of a vehicle-mounted device, which is applied to the vehicle-mounted device of a vehicle; the system comprises: the time calibration module is used for acquiring the instrument time of the vehicle instrument in the time period from the start of the vehicle machine to the communication module and the positioning module of the vehicle before cold start is finished so as to update the current time of the vehicle machine; a time acquisition module for acquiring the network time acquired by the communication module or the positioning module; the time judgment module is used for calculating a time difference value between the current time and the network time, comparing the time difference value with a preset threshold value and giving a judgment result; and the time calibration module is also used for updating the current time of the vehicle machine by the network time when the judgment result of the time judgment module is yes.
In an embodiment of the present invention, the time calibration module is further configured to: and updating the meter time of the vehicle meter by the network time when the time difference value is greater than or equal to the preset threshold value.
In an embodiment of the present invention, the time calibration module obtains the network time obtained by the communication module or the positioning module according to a time-first principle, based on the network time obtained first, and ignores the network time obtained later.
In an embodiment of the present invention, the communication module is a 5G module; the positioning module adopts a Beidou module.
To achieve the above and other related objects, the present invention provides a vehicle machine, including: a processor, and a memory; wherein the memory is for storing a computer program; the processor is configured to load and execute the computer program, so that the car machine executes the car machine time calibration method described above.
To achieve the above and other related objects, the present invention provides a vehicle including: the car machine as described above.
As described above, the vehicle-mounted machine time calibration method, the vehicle-mounted machine time calibration system, the vehicle-mounted machine and the vehicle solve the problem that the local clock is inaccurate in running due to long-term running or after the power of a vehicle battery is cut off, and effectively ensure that the error time of the vehicle-mounted machine can be corrected in time.
Drawings
Fig. 1 is a schematic view of an application scenario in an embodiment of the invention.
Fig. 2 is a schematic flow chart illustrating a vehicle-mounted device time calibration method according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of a car-on-board time calibration system according to an embodiment of the present invention.
Description of the element reference numerals
S21-S25
300 vehicle machine time calibration system
301 time calibration module
302 time acquisition module
303 time judging module
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Referring to fig. 1, an embodiment of the present invention provides a car-mounted device time calibration method, which is executed by the car-mounted device shown in fig. 1. The car machine is arranged on a car center console, and is respectively and electrically connected with a car instrument, a communication module and a positioning module of a car, and the car machine is specifically connected with the car instrument, the communication module and the positioning module of the car through a CAN bus. By vehicle meter is meant conventional meters such as: speedometer, tachometer, oil pressure gauge, water temperature gauge, fuel gauge, charging gauge, etc. For vehicle instruments, the time display is only an auxiliary function, and has not good precision, and generally, a user can modify the time value by adjusting a time adjusting key arranged by the user so as to reduce the travel time error. The communication module is specifically a 5G module, the positioning module is specifically a Beidou module, and the communication module and the positioning module can automatically acquire network time (such as national time service center standard time) when the communication module and the positioning module are accessed to a network.
Referring to fig. 2, the on-board unit time calibration method of the present embodiment includes the following steps:
s21: and the vehicle machine is started, and at the moment, the network module and the positioning module are not required to finish the cold start process.
S22: the vehicle machine acquires the instrument time of the vehicle instrument so as to update the current time of the vehicle machine.
The steps S21-S22 will be explained in detail. Because the car machine is after the start, the cold start of 5G module and big dipper module needs certain time, can not insert the network immediately and acquire the network time and use as car machine time correction, so, during the cold start of 5G module and big dipper module, the car machine realizes precorrection according to the time of vehicle instrument earlier, and specific implementation process is for example: the vehicle machine sends information requesting time synchronization to the vehicle instrument through the CAN bus, and after receiving the time information of the vehicle instrument, the vehicle machine synchronizes according to the time of the instrument.
S23: the vehicle machine acquires the network time of the communication module or the positioning module; if the network time is successfully acquired, executing step S24; and otherwise, continuously acquiring the network time, or waiting for the communication module and the positioning module to finish cold start, or finishing the time correction of the vehicle machine.
Specifically, the network time obtained by the communication module or the positioning module is obtained according to a time priority rule, based on the network time obtained first, and the network time obtained later is automatically ignored, for example, if the network time obtained by the communication module is obtained first, the network information obtained by the positioning module is automatically ignored, and vice versa.
S24: calculating a time difference value between the current time and the network time, comparing the time difference value with a preset threshold value, and if the time difference value is not less than the preset threshold value, executing step S25; otherwise, the time correction of the vehicle-mounted device can be finished, namely the time correction of the vehicle-mounted device is not carried out.
The preset threshold may be set according to a user requirement, for example, set to 30 seconds, and when the time difference between the obtained network time and the current time pre-corrected according to the vehicle meter is greater than or equal to 30 seconds, step S25 is performed.
S25: and the vehicle machine updates the current time of the vehicle machine according to the network time.
Further, after step S25, the method may further include the step of updating the meter time of the vehicle meter with the network time, and the specific implementation process includes: firstly, the vehicle machine sends time adjustment request information and network time information to a vehicle instrument through a CAN bus; then, the vehicle meter updates its meter time with the network time when receiving the time adjustment request information and the network time information.
Referring to fig. 3, the present embodiment provides a car-machine time calibration system 300, which is a software product used to be loaded in the car machine shown in fig. 1, so as to execute the car-machine time calibration method described in the foregoing method embodiment when running. Since the method corresponds to the foregoing method embodiment, the same technical details are not repeated.
The on-board time calibration system 300 of the present embodiment includes: the device comprises a time calibration module 301, a time acquisition module 302 and a time judgment module 303. The time calibration module 301 is configured to obtain the meter time of the vehicle meter in a time period from the start of the vehicle to the time when the communication module and the positioning module of the vehicle do not complete cold start, so as to update the current time of the vehicle, and update the current time of the vehicle with the network time when the determination result of the time determination module 303 is yes. The time obtaining module 302 is configured to obtain the network time obtained by the communication module or the positioning module, and optionally, follow a time-first principle, with the network time obtained first as a criterion, and automatically ignore the network time obtained later. The time judgment module 303 is configured to calculate a time difference between the current time and the network time, compare the time difference with a preset threshold, and give a judgment result.
In an embodiment, the time calibration module 301 further updates the meter time of the vehicle meter with the network time when the time difference is not less than the preset threshold.
Preferably, the communication module adopts a 5G module; the positioning module adopts a Beidou module.
Besides, the invention further provides the vehicle machine and a vehicle comprising the vehicle machine.
The memory of the car machine is used for storing a computer program, and the processor is used for loading and executing the computer program, so that the car machine executes all or part of the steps of the car machine time calibration method in the embodiment of the method.
In conclusion, the vehicle-mounted machine time calibration method, the calibration system, the vehicle-mounted machine and the vehicle solve the problem that the time is inaccurate due to long-term running of a local clock or power failure of a vehicle battery, and effectively ensure that the error time of the vehicle-mounted machine can be corrected in time; by utilizing the 5G module and the Beidou module for double-time adjustment, the coverage is wider, various defects in the prior art are effectively overcome, and the method has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A vehicle-mounted machine time calibration method is characterized by being applied to a vehicle-mounted machine of a vehicle; the method comprises the following steps:
acquiring the instrument time of a vehicle instrument in a time period from the start of the vehicle machine to the finish of cold start of a communication module and a positioning module of the vehicle, and updating the current time of the vehicle machine according to the instrument time;
when the network time obtained by the communication module or the positioning module is obtained, calculating a time difference value between the current time and the network time, and comparing the time difference value with a preset threshold value; and if the time difference is greater than or equal to the preset threshold, updating the current time of the vehicle machine by the network time.
2. The method of claim 1, further comprising: and if the time difference is larger than or equal to the preset threshold, updating the meter time of the vehicle meter by the network time.
3. The method of claim 1, wherein obtaining the network time obtained by the communication module or the positioning module follows a time-first principle, and the network time obtained after the obtaining is ignored with respect to the network time obtained first.
4. The method of claim 1, wherein the communication module is a 5G module; the positioning module adopts a Beidou module.
5. A vehicle-mounted machine time calibration system is characterized by being applied to a vehicle-mounted machine of a vehicle; the system comprises:
the time calibration module is used for acquiring the instrument time of the vehicle instrument in a time period from the start of the vehicle machine to the finish of cold start of the communication module and the positioning module of the vehicle, so as to update the current time of the vehicle machine;
the time acquisition module is used for acquiring the network time acquired by the communication module or the positioning module;
the time judgment module is used for calculating a time difference value between the current time and the network time, comparing the time difference value with a preset threshold value and giving a judgment result;
and the time calibration module is also used for updating the current time of the vehicle machine by the network time when the judgment result of the time judgment module is yes.
6. The system of claim 5, wherein the time calibration module is further configured to: and when the time difference is larger than or equal to the preset threshold value, updating the meter time of the vehicle meter by the network time.
7. The system of claim 5, wherein the time calibration module acquires the network time obtained by the communication module or the positioning module according to a time priority rule, and ignores the network time acquired later based on the network time acquired first.
8. The system of claim 5, wherein the communication module is a 5G module; the positioning module adopts a Beidou module.
9. The utility model provides a car machine, its characterized in that includes: a processor and a memory; wherein the content of the first and second substances,
the memory is used for storing a computer program;
the processor is configured to load and execute the computer program, so that the car machine executes the car machine time calibration method according to any one of claims 1 to 4.
10. A vehicle, characterized by comprising: the vehicle machine of claim 9.
CN201810729049.9A 2018-07-05 2018-07-05 Vehicle-mounted machine time calibration method, vehicle-mounted machine time calibration system, vehicle-mounted machine and vehicle Pending CN110687774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810729049.9A CN110687774A (en) 2018-07-05 2018-07-05 Vehicle-mounted machine time calibration method, vehicle-mounted machine time calibration system, vehicle-mounted machine and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810729049.9A CN110687774A (en) 2018-07-05 2018-07-05 Vehicle-mounted machine time calibration method, vehicle-mounted machine time calibration system, vehicle-mounted machine and vehicle

Publications (1)

Publication Number Publication Date
CN110687774A true CN110687774A (en) 2020-01-14

Family

ID=69106580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810729049.9A Pending CN110687774A (en) 2018-07-05 2018-07-05 Vehicle-mounted machine time calibration method, vehicle-mounted machine time calibration system, vehicle-mounted machine and vehicle

Country Status (1)

Country Link
CN (1) CN110687774A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669245A (en) * 2020-05-29 2020-09-15 北京百度网讯科技有限公司 Time synchronization method, device and equipment of vehicle and storage medium
CN112261614A (en) * 2020-10-16 2021-01-22 中国第一汽车股份有限公司 Vehicle-mounted system time calibration method, system, vehicle and medium
CN112416756A (en) * 2020-11-03 2021-02-26 广州六环信息科技有限公司 Clock error testing method, device and equipment for vehicle-mounted system
CN112468172A (en) * 2020-11-17 2021-03-09 常州仁千电气科技股份有限公司 Vehicle-mounted network terminal TBOX
CN113676278A (en) * 2021-08-19 2021-11-19 湖南中车时代通信信号有限公司 LKJ timing method and device based on NTP and satellite clock
CN113890784A (en) * 2021-09-30 2022-01-04 重庆长安新能源汽车科技有限公司 Clock display method and system for vehicle-mounted combination instrument assembly

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5319374A (en) * 1993-02-02 1994-06-07 Trimble Navigation Limited Precise universal time for vehicles
CN102156403A (en) * 2010-02-12 2011-08-17 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted clock device and implementation method thereof
CN202854507U (en) * 2012-08-28 2013-04-03 深圳市翰盛通讯设备有限公司 Vehicle-loaded satellite reception terminal clock correcting unit
CN103399484A (en) * 2013-07-23 2013-11-20 深圳市元征科技股份有限公司 Local clock calibrating method and vehicle-mounted equipment
CN106904133A (en) * 2017-01-22 2017-06-30 斑马信息科技有限公司 Automobile time system and its duration control method and control system
CN107329398A (en) * 2017-06-06 2017-11-07 湖南中联重科智能技术有限公司 Car-mounted terminal time keeping system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5319374A (en) * 1993-02-02 1994-06-07 Trimble Navigation Limited Precise universal time for vehicles
CN102156403A (en) * 2010-02-12 2011-08-17 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted clock device and implementation method thereof
CN202854507U (en) * 2012-08-28 2013-04-03 深圳市翰盛通讯设备有限公司 Vehicle-loaded satellite reception terminal clock correcting unit
CN103399484A (en) * 2013-07-23 2013-11-20 深圳市元征科技股份有限公司 Local clock calibrating method and vehicle-mounted equipment
CN106904133A (en) * 2017-01-22 2017-06-30 斑马信息科技有限公司 Automobile time system and its duration control method and control system
CN107329398A (en) * 2017-06-06 2017-11-07 湖南中联重科智能技术有限公司 Car-mounted terminal time keeping system and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669245A (en) * 2020-05-29 2020-09-15 北京百度网讯科技有限公司 Time synchronization method, device and equipment of vehicle and storage medium
JP2021153309A (en) * 2020-05-29 2021-09-30 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッドBeijing Baidu Netcom Science Technology Co., Ltd. Vehicle time synchronization method, device, apparatus, and storage medium
JP7263440B2 (en) 2020-05-29 2023-04-24 阿波▲羅▼智▲聯▼(北京)科技有限公司 Vehicle time synchronization method, device, equipment, and storage medium
CN112261614A (en) * 2020-10-16 2021-01-22 中国第一汽车股份有限公司 Vehicle-mounted system time calibration method, system, vehicle and medium
CN112416756A (en) * 2020-11-03 2021-02-26 广州六环信息科技有限公司 Clock error testing method, device and equipment for vehicle-mounted system
CN112468172A (en) * 2020-11-17 2021-03-09 常州仁千电气科技股份有限公司 Vehicle-mounted network terminal TBOX
CN112468172B (en) * 2020-11-17 2021-06-04 常州仁千电气科技股份有限公司 Vehicle-mounted network terminal TBOX
CN113676278A (en) * 2021-08-19 2021-11-19 湖南中车时代通信信号有限公司 LKJ timing method and device based on NTP and satellite clock
CN113890784A (en) * 2021-09-30 2022-01-04 重庆长安新能源汽车科技有限公司 Clock display method and system for vehicle-mounted combination instrument assembly

Similar Documents

Publication Publication Date Title
CN110687774A (en) Vehicle-mounted machine time calibration method, vehicle-mounted machine time calibration system, vehicle-mounted machine and vehicle
US20190250902A1 (en) On-board update system, on-board update device, and communication device update method
CN108710499B (en) Method and device for flashing vehicle-mounted ECU software of electric vehicle
US8589058B2 (en) Method of retrieving information for a motor vehicle
TW201803756A (en) Customized fuel recommendations
US20210125419A1 (en) Energy management system and method
US10394251B2 (en) Cloud-based connectivity energy budget manager
US20200158786A1 (en) System and method for determining a status of a vehicle battery
CN102833348A (en) Synchronization method of mileage data of vehicle
CN111090445A (en) Vehicle service upgrading method, device and system
CN115495133B (en) DBC dynamic self-adaptive updating method and device, electronic equipment and storage medium
CN108985966B (en) Electric quantity consumption calculation method and device, vehicle and computer readable storage medium
CN115128985A (en) Vehicle remote control method and device, electronic equipment and medium
CN102087111A (en) Vehicle navigation method
CN113483850A (en) Method, device and equipment for calculating remaining oil endurance mileage and storage medium
CN113011852A (en) Vehicle maintenance reminding method and device, vehicle-mounted equipment and storage medium
CN113516798B (en) Meter adjustment vehicle judging method and device
CN112277651A (en) Electric vehicle mileage verification method and related equipment
US9893954B2 (en) Method and apparatus for tuning CAN communication model
CN115071496A (en) Display control method and device for battery electric quantity, storage medium and electronic device
CN114022978B (en) Calibration method, key, vehicle, system, electronic device and readable storage medium
US9052987B2 (en) Vehicle information system for motor vehicles with at least two engines, motor vehicle and method
CN108093396B (en) Method and device for updating APN (Access Point name) of vehicle-mounted system
CN112416756A (en) Clock error testing method, device and equipment for vehicle-mounted system
CN114553353B (en) Timing method and device and vehicle-mounted wireless communication box

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200114