CN117979412B - Internal time synchronization method and system for vehicle-mounted communication remote terminal - Google Patents
Internal time synchronization method and system for vehicle-mounted communication remote terminal Download PDFInfo
- Publication number
- CN117979412B CN117979412B CN202410370821.8A CN202410370821A CN117979412B CN 117979412 B CN117979412 B CN 117979412B CN 202410370821 A CN202410370821 A CN 202410370821A CN 117979412 B CN117979412 B CN 117979412B
- Authority
- CN
- China
- Prior art keywords
- time
- vehicle
- remote terminal
- frequency
- preset
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 79
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000004590 computer program Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 102100034112 Alkyldihydroxyacetonephosphate synthase, peroxisomal Human genes 0.000 description 2
- 101000799143 Homo sapiens Alkyldihydroxyacetonephosphate synthase, peroxisomal Proteins 0.000 description 2
- 238000000848 angular dependent Auger electron spectroscopy Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/48—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Electric Clocks (AREA)
Abstract
The invention provides a method and a system for synchronizing internal time of a vehicle-mounted communication remote terminal, wherein the method controls an external GNSS antenna to acquire target data according to preset cycle time through a Chronyd time synchronization open source assembly, wherein the target data at least comprises a time stamp; acquiring the internal time of the vehicle-mounted communication remote terminal and a corresponding target time stamp according to the preset period time; and calibrating the internal time of the vehicle-mounted communication remote terminal according to the target time stamp so as to complete the internal time synchronization of the vehicle-mounted communication remote terminal, and effectively solving the problem of inaccurate time synchronization between the internal time of the TBOX and the external GNSS antenna while not increasing extra cost.
Description
Technical Field
The invention belongs to the technical field of internal time synchronization of vehicle-mounted communication remote terminals, and particularly relates to a method and a system for internal time synchronization of a vehicle-mounted communication remote terminal.
Background
With the rapid development of the automobile industry, more and more advanced driving assistance systems (ADVANCED DRIVER ASSISTANCE SYSTEMS, ADAS) are widely applied to automobiles, and intelligent driving systems are important configurations of automobiles to improve driving safety and driving comfort. The automatic driving automobile is often provided with a high-precision positioning system, wherein the ADAS algorithm obtains the current system position through data fusion calculation of the speed, the wheel speed, high-precision positioning data, inertial navigation, a radar, an image and the like, and the precision is in the level of sub-meters or even centimeters.
When the automobile is positioned, the requirements on high-precision positioning data are very strict, and the real-time performance and the accuracy of the data are high. The vehicle-mounted communication remote terminal (TELEMATICS BOX, TBOX) has more transmission links in the whole system, and comprises NAD (Network ACCESS DEVICE, global automobile Network access device), MCU (Microcontroller Unit, micro control unit) and the like, and the time between each module needs to be periodically synchronized.
The problem of time synchronization is mainly solved by an additional PBOX (Positioning Box) at present, but the cost is high, if the TBOX self module is only adopted for synchronization, the error between the timestamp acquired by the local location service and the system time is relatively large, that is, the time synchronization between the internal time of the TBOX and the external GNSS (Global Navigation SATELLITE SYSTEM ) antenna is problematic, and the error is 20ms or 40ms sporadically, which is unacceptable for an advanced driving assistance system.
Disclosure of Invention
Based on the above, the embodiment of the invention provides a method and a system for synchronizing internal time of a vehicle-mounted communication remote terminal, which aim to solve the problem of inaccurate time synchronization between TBOX internal time and external GNSS antenna in the prior art.
A first aspect of an embodiment of the present invention provides a method for synchronizing internal time of a vehicle-mounted communication remote terminal, which is applied to a scenario of communication connection with an external GNSS antenna, where the method includes:
Controlling the external GNSS antenna to acquire target data according to a preset period time through Chronyd time synchronization open source components, wherein the target data at least comprises a time stamp;
Acquiring the internal time of the vehicle-mounted communication remote terminal and a corresponding target time stamp according to the preset period time;
and calibrating the internal time of the vehicle-mounted communication remote terminal according to the target time stamp so as to finish the internal time synchronization of the vehicle-mounted communication remote terminal.
Further, in the step of controlling the external GNSS antenna to acquire the target data according to the preset cycle time by the Chronyd time synchronization open source assembly, the preset cycle time is dynamically adjusted.
Further, the step of dynamically adjusting the preset cycle time includes:
Acquiring a current preset period time, and acquiring a first internal time and a corresponding first timestamp of the vehicle-mounted communication remote terminal according to the current preset period time;
determining a first point in time when a difference between the first internal time and the first timestamp is greater than a first threshold;
Determining a second point in time when the difference between the first internal time and the first timestamp is greater than a second threshold, wherein the second threshold is greater than the first threshold;
acquiring the frequency acquired between the first time point and the second time point according to the current preset period time, and judging whether the frequency is smaller than a first preset frequency or not;
If yes, determining the following preset cycle time according to the current preset cycle time and the first preset frequency so as to adjust.
Further, the step of acquiring the frequency acquired between the first time point and the second time point according to the current preset cycle time and judging whether the frequency is smaller than the first preset frequency includes:
If the frequency is not less than the first preset frequency, judging whether the frequency is greater than the second preset frequency;
If yes, updating the frequency to the second preset frequency, and determining the subsequent preset cycle time according to the second preset frequency, the current preset cycle time and the frequency so as to adjust.
Further, in the step of determining the subsequent preset cycle time according to the current preset cycle time and the first preset frequency to adjust, the current preset cycle time is divided by the first preset frequency, and the calculated time is the subsequent preset cycle time.
Further, the step of updating the frequency to the second preset frequency, and determining the subsequent preset cycle time according to the second preset frequency, the current preset cycle time and the frequency, so as to perform adjustment is to multiply the current preset cycle time and the frequency, calculate the total time, divide the total time by the second preset frequency, and calculate the calculated time as the subsequent preset cycle time.
Further, in the step of calibrating the internal time of the vehicle-mounted communication remote terminal according to the target timestamp, the internal time of the vehicle-mounted communication remote terminal is replaced by the target timestamp, so that calibration is completed.
A second aspect of an embodiment of the present invention provides an internal time synchronization system of a vehicle-mounted communication remote terminal, which is applied to a scenario of communication connection with an external GNSS antenna, where the system includes:
The control module is used for controlling the external GNSS antenna to acquire target data according to preset cycle time through Chronyd time synchronization open source components, wherein the target data at least comprises a time stamp;
The acquisition module is used for acquiring the internal time of the vehicle-mounted communication remote terminal and the corresponding target time stamp according to the preset period time;
And the calibration module is used for calibrating the internal time of the vehicle-mounted communication remote terminal according to the target time stamp so as to complete the internal time synchronization of the vehicle-mounted communication remote terminal.
A third aspect of an embodiment of the present invention provides a readable storage medium including:
The readable storage medium stores one or more programs that when executed by the processor implement the in-vehicle communication remote terminal internal time synchronization method described above.
A fourth aspect of an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein:
The memory is used for storing a computer program;
The processor is used for realizing the internal time synchronization method of the vehicle-mounted communication remote terminal when executing the computer program stored in the memory.
According to the internal time synchronization method and system for the vehicle-mounted communication remote terminal, which are provided by the embodiment of the invention, the external GNSS antenna is controlled by the Chronyd time synchronization open source assembly to acquire target data according to the preset cycle time, wherein the target data at least comprises a time stamp; acquiring the internal time of the vehicle-mounted communication remote terminal and a corresponding target time stamp according to the preset period time; and calibrating the internal time of the vehicle-mounted communication remote terminal according to the target time stamp so as to complete the internal time synchronization of the vehicle-mounted communication remote terminal, and effectively solving the problem of inaccurate time synchronization between the internal time of the TBOX and the external GNSS antenna while not increasing extra cost.
Drawings
Fig. 1 is a flowchart of an implementation of a method for internal time synchronization of a vehicle-mounted communication remote terminal according to an embodiment of the present invention;
Fig. 2 is a block diagram of an internal time synchronization system of a vehicle-mounted communication remote terminal according to a second embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to a third embodiment of the present invention.
The following detailed description will be further described with reference to the above-described drawings.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "mounted" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Example 1
Referring to fig. 1, fig. 1 shows a flowchart of an implementation of an internal time synchronization method of a vehicle-mounted communication remote terminal according to an embodiment of the present invention, where the internal time synchronization method of the vehicle-mounted communication remote terminal is applied to a scenario of communication connection with an external GNSS antenna, and the method specifically includes steps S01 to S03.
In step S01, the external GNSS antenna is controlled to acquire target data according to a preset period time by means of the Chronyd time synchronization open source assembly, where the target data at least includes a time stamp.
It should be noted that, the vehicle-mounted communication remote terminal at least includes an MCU module and an NAD module communicatively connected with the MCU module, the MCU module integrates a high-pass chip and a packaged module, it receives data transmitted by a GNSS antenna, that is, target data, the target data includes at least a time stamp, and Chronyd is a high-pass integrated time synchronization open source component, which can periodically acquire the time stamp and synchronize the time stamp to a clock of the NAD module.
Specifically, the preset cycle time may be set smaller, for example, 1 second, that is, the time stamp is acquired every second and used for calibration in the subsequent step, but this is too wasteful of data processing resources, and there may be a certain error between the actual time stamp and the internal time of the vehicle-mounted remote communication terminal, and the intelligent driving of the vehicle may not be affected.
More specifically, the step of dynamically adjusting the preset cycle time includes:
acquiring a current preset period time, and acquiring a first internal time of the vehicle-mounted communication remote terminal and a corresponding first time stamp according to the current preset period time, wherein the first internal time is the actual time of the system, and the first time stamp is the standard time;
Determining a first point in time when the difference between the first internal time and the first timestamp is greater than a first threshold;
Determining a second time point when the difference value between the first internal time and the first time stamp is larger than a second threshold value, wherein the second threshold value is larger than the first threshold value, and the first threshold value and the second threshold value are evaluation values for ensuring normal operation of the system;
acquiring a frequency acquired between a first time point and a second time point according to the current preset cycle time, and judging whether the frequency is smaller than a first preset frequency or not;
if the judging frequency is smaller than the first preset frequency, the error of the actual time and the standard time of the system is rapidly increased, and the calibration is needed at a high frequency, the later preset cycle time is determined according to the current preset cycle time and the first preset frequency so as to adjust, specifically, the current preset cycle time is divided by the first preset frequency, and the calculated time is the later preset cycle time and is updated.
In addition, if the judging frequency is not less than the first preset frequency, judging whether the frequency is greater than the second preset frequency;
If the judging frequency is larger than the second preset frequency, the error change of the actual time and the standard time of the system is slower and stable, only the low-frequency calibration is needed, the frequency is updated to be the second preset frequency, the later preset cycle time is determined according to the second preset frequency, the current preset cycle time and the frequency so as to be adjusted, specifically, the current preset cycle time and the frequency are multiplied, the total time is calculated, and then the total time is divided by the second preset frequency, and the calculated time is the later preset cycle time.
And step S02, acquiring the internal time of the vehicle-mounted communication remote terminal and the corresponding target time stamp according to the preset period time.
And step S03, calibrating the internal time of the vehicle-mounted communication remote terminal according to the target time stamp so as to complete the internal time synchronization of the vehicle-mounted communication remote terminal.
It will be appreciated that the internal time of the in-vehicle communication remote terminal is replaced with the target time stamp to complete the calibration.
In summary, the embodiment of the invention provides an internal time synchronization method for a vehicle-mounted communication remote terminal, which controls an external GNSS antenna to acquire target data according to a preset period time through Chronyd time synchronization open source components, wherein the target data at least comprises a time stamp; acquiring the internal time of the vehicle-mounted communication remote terminal and a corresponding target time stamp according to the preset period time; and calibrating the internal time of the vehicle-mounted communication remote terminal according to the target time stamp so as to complete the internal time synchronization of the vehicle-mounted communication remote terminal, and effectively solving the problem of inaccurate time synchronization between the internal time of the TBOX and the external GNSS antenna while not increasing extra cost.
Example two
Referring to fig. 2, a block diagram of an internal time synchronization system of a vehicle-mounted communication remote terminal according to a second embodiment of the present invention is provided, where the internal time synchronization system 200 of a vehicle-mounted communication remote terminal is applied to a scenario of communication connection with an external GNSS antenna, and the internal time synchronization system 200 of a vehicle-mounted communication remote terminal includes:
The control module 21 is configured to control, by using the Chronyd time synchronization open source assembly, the external GNSS antenna to obtain target data according to a preset period time, where the target data at least includes a timestamp, and the preset period time is dynamically adjusted;
The obtaining module 22 is configured to obtain, according to the preset cycle time, an internal time of the vehicle-mounted communication remote terminal and a corresponding target timestamp;
And the calibration module 23 is configured to calibrate the internal time of the vehicle-mounted communication remote terminal according to the target timestamp to complete internal time synchronization of the vehicle-mounted communication remote terminal, where the internal time of the vehicle-mounted communication remote terminal is replaced by the target timestamp to complete calibration.
Further, in other embodiments of the present invention, the control module 21 includes:
The first acquisition unit is used for acquiring the current preset period time, and acquiring the first internal time and the corresponding first timestamp of the vehicle-mounted communication remote terminal according to the current preset period time;
A first determining unit configured to determine a first point in time when a difference between the first internal time and the first timestamp is greater than a first threshold;
A second determining unit configured to determine a second point in time when a difference between the first internal time and the first timestamp is greater than a second threshold, wherein the second threshold is greater than the first threshold;
the first judging unit is used for acquiring the frequency acquired between the first time point and the second time point according to the current preset cycle time and judging whether the frequency is smaller than a first preset frequency or not;
And the third determining unit is used for determining the later preset period time according to the current preset period time and the first preset frequency to adjust when the frequency is judged to be smaller than the first preset frequency, wherein the calculated time is the later preset period time by dividing the current preset period time by the first preset frequency.
Further, in other embodiments of the present invention, the control module 21 further includes:
the second judging unit is used for judging whether the frequency is larger than a second preset frequency or not if the frequency is not smaller than the first preset frequency;
And a fourth determining unit, configured to update the frequency to a second preset frequency when the frequency is determined to be greater than the second preset frequency, and determine a subsequent preset cycle time according to the second preset frequency, the current preset cycle time, and the frequency, so as to perform adjustment, where the current preset cycle time and the frequency are multiplied to calculate a total time, and the total time is divided by the second preset frequency, and the calculated time is the subsequent preset cycle time.
In summary, in the internal time synchronization system of the vehicle-mounted communication remote terminal in the above embodiment of the present invention, the external GNSS antenna is controlled to obtain target data according to a preset period time through the Chronyd time synchronization open source assembly, where the target data at least includes a time stamp; acquiring the internal time of the vehicle-mounted communication remote terminal and a corresponding target time stamp according to the preset period time; and calibrating the internal time of the vehicle-mounted communication remote terminal according to the target time stamp so as to complete the internal time synchronization of the vehicle-mounted communication remote terminal, and effectively solving the problem of inaccurate time synchronization between the internal time of the TBOX and the external GNSS antenna while not increasing extra cost.
Example III
In another aspect, referring to fig. 3, a block diagram of an electronic device according to a third embodiment of the present invention is provided, including a memory 20, a processor 10, and a computer program 30 stored in the memory and capable of running on the processor, where the processor 10 implements the method for internal time synchronization of a vehicle-mounted communication remote terminal as described above when executing the computer program 30.
The processor 10 may be, among other things, a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor or other data processing chip in some embodiments for running program code or processing data stored in the memory 20, e.g. executing an access restriction program or the like.
The memory 20 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 20 may in some embodiments be an internal storage unit of the electronic device, such as a hard disk of the electronic device. The memory 20 may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk provided on the electronic device, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), etc. Further, the memory 20 may also include both internal storage units and external storage devices of the electronic device. The memory 20 may be used not only for storing application software of an electronic device and various types of data, but also for temporarily storing data that has been output or is to be output.
It should be noted that the structure shown in fig. 3 does not constitute a limitation of the electronic device, and in other embodiments the electronic device may comprise fewer or more components than shown, or may combine certain components, or may have a different arrangement of components.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the method for synchronizing internal time of a vehicle-mounted communication remote terminal as described above.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data states, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
Claims (8)
1. The internal time synchronization method of the vehicle-mounted communication remote terminal is characterized by being applied to a scene in communication connection with an external GNSS antenna, and comprises the following steps:
Controlling the external GNSS antenna to acquire target data according to a preset period time through Chronyd time synchronization open source components, wherein the target data at least comprises a time stamp;
Acquiring the internal time of the vehicle-mounted communication remote terminal and a corresponding target time stamp according to the preset period time;
Calibrating the internal time of the vehicle-mounted communication remote terminal according to the target time stamp to complete the internal time synchronization of the vehicle-mounted communication remote terminal;
in the step of controlling the external GNSS antenna to acquire target data according to a preset period time through the Chronyd time synchronization open source assembly, the preset period time is dynamically adjusted;
The step of dynamically adjusting the preset cycle time comprises the following steps:
Acquiring a current preset period time, and acquiring a first internal time and a corresponding first timestamp of the vehicle-mounted communication remote terminal according to the current preset period time;
determining a first point in time when a difference between the first internal time and the first timestamp is greater than a first threshold;
Determining a second point in time when the difference between the first internal time and the first timestamp is greater than a second threshold, wherein the second threshold is greater than the first threshold;
acquiring the frequency acquired between the first time point and the second time point according to the current preset period time, and judging whether the frequency is smaller than a first preset frequency or not;
If yes, determining the following preset cycle time according to the current preset cycle time and the first preset frequency so as to adjust.
2. The method for synchronizing the internal time of a vehicle-mounted communication remote terminal according to claim 1, wherein the step of acquiring the frequency acquired between the first time point and the second time point according to the current preset cycle time and determining whether the frequency is smaller than a first preset frequency comprises:
If the frequency is not less than the first preset frequency, judging whether the frequency is greater than the second preset frequency;
If yes, updating the frequency to the second preset frequency, and determining the subsequent preset cycle time according to the second preset frequency, the current preset cycle time and the frequency so as to adjust.
3. The method for synchronizing internal time of a vehicle-mounted communication remote terminal according to claim 2, wherein in the step of determining the subsequent preset cycle time for adjustment according to the current preset cycle time and the first preset frequency, the calculated time is the subsequent preset cycle time by dividing the current preset cycle time by the first preset frequency.
4. The method for synchronizing internal time of a vehicle-mounted communication remote terminal according to claim 3, wherein the frequency is updated to the second preset frequency, and the subsequent preset cycle time is determined according to the second preset frequency, the current preset cycle time and the frequency, so as to perform adjustment, in the step of multiplying the current preset cycle time and the frequency, a total time is calculated, and the total time is divided by the second preset frequency, and the calculated time is the subsequent preset cycle time.
5. The method according to claim 4, wherein in the step of calibrating the internal time of the in-vehicle communication remote terminal according to the target time stamp, the internal time of the in-vehicle communication remote terminal is replaced with the target time stamp to complete the calibration.
6. An internal time synchronization system of a vehicle-mounted communication remote terminal, which is applied to a scene of communication connection with an external GNSS antenna and is used for implementing the internal time synchronization method of the vehicle-mounted communication remote terminal according to any one of claims 1 to 5, the system comprising:
The control module is used for controlling the external GNSS antenna to acquire target data according to preset cycle time through Chronyd time synchronization open source components, wherein the target data at least comprises a time stamp;
The acquisition module is used for acquiring the internal time of the vehicle-mounted communication remote terminal and the corresponding target time stamp according to the preset period time;
And the calibration module is used for calibrating the internal time of the vehicle-mounted communication remote terminal according to the target time stamp so as to complete the internal time synchronization of the vehicle-mounted communication remote terminal.
7. A readable storage medium, comprising:
the readable storage medium stores one or more programs which when executed by a processor implement the in-vehicle communication remote terminal internal time synchronization method according to any one of claims 1 to 5.
8. An electronic device comprising a memory and a processor, wherein:
The memory is used for storing a computer program;
The processor is configured to implement the in-vehicle communication remote terminal internal time synchronization method according to any one of claims 1 to 5 when executing the computer program stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410370821.8A CN117979412B (en) | 2024-03-29 | 2024-03-29 | Internal time synchronization method and system for vehicle-mounted communication remote terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410370821.8A CN117979412B (en) | 2024-03-29 | 2024-03-29 | Internal time synchronization method and system for vehicle-mounted communication remote terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117979412A CN117979412A (en) | 2024-05-03 |
CN117979412B true CN117979412B (en) | 2024-07-19 |
Family
ID=90865992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410370821.8A Active CN117979412B (en) | 2024-03-29 | 2024-03-29 | Internal time synchronization method and system for vehicle-mounted communication remote terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117979412B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019242131A1 (en) * | 2018-06-19 | 2019-12-26 | 佛山市顺德区美的电热电器制造有限公司 | Clock synchronization method and device, and computer storage medium |
Family Cites Families (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101466142B (en) * | 2009-01-08 | 2011-02-09 | 上海交通大学 | Synchronization method for layered time comparative clock in wireless sensor network |
CN104284411B (en) * | 2013-07-04 | 2018-02-09 | 普天信息技术研究院有限公司 | A kind of method of down-going synchronous cycle adjust automatically |
CN103596261B (en) * | 2013-11-05 | 2017-11-07 | 迈锐数据(北京)有限公司 | A kind of clock synchronizing method of vehicle detecting system |
CN107329398A (en) * | 2017-06-06 | 2017-11-07 | 湖南中联重科智能技术有限公司 | Car-mounted terminal time keeping system and method |
CN107229218A (en) * | 2017-06-20 | 2017-10-03 | 中通客车控股股份有限公司 | The multiple clock sources correction device and method of a kind of vehicle-mounted TBOX systems |
CN109286459B (en) * | 2017-07-21 | 2020-09-15 | 北京智云芯科技有限公司 | Time synchronization method and system |
US10996681B2 (en) * | 2018-08-24 | 2021-05-04 | Baidu Usa Llc | Time source recovery system for an autonomous driving vehicle |
CN109327899A (en) * | 2018-10-11 | 2019-02-12 | 恒大法拉第未来智能汽车(广东)有限公司 | A kind of method, apparatus and system synchronization time of mobile unit synchronization time |
CN110061797A (en) * | 2019-05-29 | 2019-07-26 | 海尔优家智能科技(北京)有限公司 | Method for synchronizing time, device, storage medium and computer equipment |
CN112087276B (en) * | 2019-06-14 | 2023-10-24 | 海能达通信股份有限公司 | Clock calibration method and device |
CN111490843B (en) * | 2020-04-03 | 2021-10-26 | 腾讯科技(深圳)有限公司 | Time checking method and device, computer equipment and storage medium |
CN111781987B (en) * | 2020-07-08 | 2022-03-22 | Oppo广东移动通信有限公司 | Real-time clock calibration method and related device |
CN112804022B (en) * | 2021-01-11 | 2023-05-23 | 深圳诺康医疗科技股份有限公司 | Multi-source signal synchronization system and method thereof |
CN112769517B (en) * | 2021-01-14 | 2024-01-12 | 武汉光庭信息技术股份有限公司 | T-BOX time synchronization method and device |
CN113271169B (en) * | 2021-04-27 | 2023-03-24 | 东风汽车集团股份有限公司 | Vehicle time service method and system based on wireless communication terminal |
CN113259899A (en) * | 2021-05-17 | 2021-08-13 | 宸芯科技有限公司 | Clock synchronization method and device, road side unit and storage medium |
WO2023141817A1 (en) * | 2022-01-26 | 2023-08-03 | 华为技术有限公司 | Time synchronization method and device and storage medium |
CN115080495B (en) * | 2022-08-22 | 2022-11-15 | 北京普太科技有限公司 | Time synchronization method and system for standard peripheral extension interface equipment |
CN116405145A (en) * | 2022-12-09 | 2023-07-07 | 小象智能(深圳)有限公司 | Data interaction synchronization method and system suitable for mobile scene |
CN116131984A (en) * | 2023-01-06 | 2023-05-16 | 苏州浪潮智能科技有限公司 | Reference time determining method and device, electronic equipment and storage medium |
CN116582214A (en) * | 2023-06-29 | 2023-08-11 | 重庆赛力斯新能源汽车设计院有限公司 | Time calibration method, device, electronic equipment and storage medium |
CN117241366A (en) * | 2023-08-31 | 2023-12-15 | 杭州海联物联科技有限公司 | Inter-gateway time synchronization method, server, gateway and computer readable medium |
CN117376836A (en) * | 2023-09-15 | 2024-01-09 | 西安龙飞网络科技有限公司 | Fault-tolerant calibration method for system time of vehicle-mounted data terminal |
-
2024
- 2024-03-29 CN CN202410370821.8A patent/CN117979412B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019242131A1 (en) * | 2018-06-19 | 2019-12-26 | 佛山市顺德区美的电热电器制造有限公司 | Clock synchronization method and device, and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN117979412A (en) | 2024-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111521979B (en) | Method and device for calibrating installation angle of vehicle-mounted radar and related equipment thereof | |
US10719957B2 (en) | System and method for calibrating on-board vehicle cameras | |
JP6305663B2 (en) | Information processing apparatus, information processing method, and information processing program | |
CN111443327A (en) | Maintaining vehicle position accuracy | |
WO2020084912A1 (en) | Sensor calibration method and sensor calibration device | |
CN110687774A (en) | Vehicle-mounted machine time calibration method, vehicle-mounted machine time calibration system, vehicle-mounted machine and vehicle | |
CN115390086B (en) | Fusion positioning method and device for automatic driving, electronic equipment and storage medium | |
US20200254947A1 (en) | Electronic Control Device, In-Vehicle System, and Power Supply Device | |
CN117979412B (en) | Internal time synchronization method and system for vehicle-mounted communication remote terminal | |
CN115371689A (en) | Fusion positioning method and device for automatic driving vehicle and electronic equipment | |
CN111605558B (en) | Vehicle speed determination method and device, electronic equipment and vehicle | |
CN109849911B (en) | Car following method, car following device and computer readable storage medium | |
CN110618826A (en) | Method and device for updating application program and terminal equipment | |
EP3905041A1 (en) | Method and apparatus for allocating data processing resources | |
CN116148821A (en) | Laser radar external parameter correction method and device, electronic equipment and storage medium | |
US20190079161A1 (en) | Vehicle communication control device | |
CN114006672A (en) | Vehicle-mounted multi-sensor data synchronous acquisition method and system | |
WO2015079731A1 (en) | Distance factor learning device, distance factor learning method, and current location calculating device | |
WO2024176611A1 (en) | Information processing system, information processing method, and storage medium | |
CN112874576A (en) | Automatic train parameter adjusting method and vehicle-mounted controller | |
CN115549884B (en) | Sensor time synchronization method, device, equipment and readable storage medium | |
CN106716422B (en) | Method for modeling a motor vehicle using time dispersion | |
CN111147164B (en) | RSSI (received Signal Strength indicator) -based OBU (on-Board Unit) equipment communication range adjusting method and device | |
CN118114498A (en) | Data filtering method, device, computer equipment, storage medium and program product | |
CN111426241B (en) | Operation parameter correction threshold determination method and device based on navigation system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |