CN114545449A - Time synchronization method and device for vehicle controller, electronic device, and storage medium - Google Patents
Time synchronization method and device for vehicle controller, electronic device, and storage medium Download PDFInfo
- Publication number
- CN114545449A CN114545449A CN202011347314.0A CN202011347314A CN114545449A CN 114545449 A CN114545449 A CN 114545449A CN 202011347314 A CN202011347314 A CN 202011347314A CN 114545449 A CN114545449 A CN 114545449A
- Authority
- CN
- China
- Prior art keywords
- time
- navigation system
- vehicle
- current
- satellite navigation
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 230000001360 synchronised effect Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/14—Receivers specially adapted for specific applications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/005—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/03—Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/23—Testing, monitoring, correcting or calibrating of receiver elements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/24—Acquisition or tracking or demodulation of signals transmitted by the system
- G01S19/25—Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS
- G01S19/256—Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS relating to timing, e.g. time of week, code phase, timing offset
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Automation & Control Theory (AREA)
- Navigation (AREA)
- Electric Clocks (AREA)
Abstract
Description
技术领域technical field
本申请涉及车辆控制器时间同步技术领域,特别涉及一种车辆控制器的时间同步方法及装置、电子设备、存储介质。The present application relates to the technical field of vehicle controller time synchronization, and in particular, to a time synchronization method and device for a vehicle controller, an electronic device, and a storage medium.
背景技术Background technique
随着车辆智能化的发展,车辆上所安装的控制器的数据量和种类也越来多。车辆上的各个控制器由于在控制过程中需要用到时间,因此都需要获取以及管理的时间。With the development of vehicle intelligence, the data volume and types of controllers installed on vehicles are also increasing. Since each controller on the vehicle needs time in the control process, it needs to acquire and manage the time.
现今,车辆中的各个控制器在时间上的获取和管理方式并不统一。许多控制器都单独采用相应的方法获取并管理所需的时间。由于,各个不同的获取方式所获取时间的准确度无法保障,所以各个控制器获取的时间与实际时间容易相差较大,并且不同获取时间的准确度上也易存在较大的差异。Today, the time acquisition and management of various controllers in a vehicle is not uniform. Many controllers have separate methods for acquiring and managing the required time. Since the accuracy of the time acquired by different acquisition methods cannot be guaranteed, the time acquired by each controller is likely to be quite different from the actual time, and the accuracy of different acquisition times is also likely to be quite different.
因此,车辆上的各个控制器之间容易存在时间差异,且所获取的时间准确度低,与实际时间存在较大差异,这容易使得各个控制器之间的通信、以及各个控制器与车用诊断设备、云后台等外部设备的通信不稳定,从而影响车辆的功能的实现。Therefore, there is likely to be a time difference between the controllers on the vehicle, and the obtained time has a low accuracy and is quite different from the actual time. The communication of external devices such as diagnostic equipment and cloud background is unstable, which affects the realization of the functions of the vehicle.
发明内容SUMMARY OF THE INVENTION
基于上述现有技术的不足,本申请提供了一种车辆控制器的时间同步方法及装置、电子设备、存储介质,以解决现有技术中车辆的各个控制器的时间不同步,且时间的准确性无法保证的问题。Based on the above-mentioned deficiencies of the prior art, the present application provides a time synchronization method and device for a vehicle controller, an electronic device, and a storage medium, so as to solve the problem that the time of each controller of the vehicle in the prior art is not synchronized, and the time is accurate. Sex cannot be guaranteed.
为了实现上述目的,本申请提供了以下技术方案:In order to achieve the above purpose, the application provides the following technical solutions:
本申请第一方面提供了一种车辆控制器的时间同步方法,包括:A first aspect of the present application provides a time synchronization method for a vehicle controller, including:
采集第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间、以及车辆的当前网络时间;collecting the current navigation system time of the first satellite navigation system, the current navigation system time of the second satellite navigation system, and the current network time of the vehicle;
判断综合导航系统时间是否满足预设准确性要求;其中,所述综合导航系统时间基于所述第一卫星导航系统的当前导航系统时间和所述第二卫星导航系统的当前导航系统时间的均值得到;Determine whether the integrated navigation system time meets the preset accuracy requirements; wherein, the integrated navigation system time is obtained based on the average value of the current navigation system time of the first satellite navigation system and the current navigation system time of the second satellite navigation system ;
若判断出所述综合导航系统时间满足预设准确性要求,则将所述综合导航系统时间作为当前所述车辆的同步时间;If it is determined that the time of the integrated navigation system meets the preset accuracy requirement, the time of the integrated navigation system is used as the current synchronization time of the vehicle;
若判断出所述综合导航系统时间不满足预设准确性要求,则将所述车辆的当前网络时间作为当前所述车辆的同步时间;If it is determined that the time of the integrated navigation system does not meet the preset accuracy requirement, the current network time of the vehicle is used as the current synchronization time of the vehicle;
向所述车辆的多个控制器发布所述同步时间,以将各个所述控制器的时间更新为所述同步时间。The synchronization time is published to a plurality of controllers of the vehicle to update the time of each of the controllers to the synchronization time.
可选地,在上述车辆控制器的时间同步方法中,所述采集第一卫星导航系统的当前导航时间、第二卫星导航系统的当前导航时间、以及车辆的当前网络时间之前,还包括:Optionally, in the above method for time synchronization of a vehicle controller, before the collection of the current navigation time of the first satellite navigation system, the current navigation time of the second satellite navigation system, and the current network time of the vehicle, the method further includes:
在多个时刻同步采集所述第一卫星导航系统和所述第二卫星导航系统的导航时间;Simultaneously collect the navigation time of the first satellite navigation system and the second satellite navigation system at multiple times;
利用采集到的多个所述第一卫星导航系统的导航时间和多个所述第二卫星导航系统的导航时间,计算得到所述第一卫星导航系统与所述第二卫星导航系统间的平均导航时间误差;Using the collected navigation time of the first satellite navigation system and the navigation time of the second satellite navigation system, calculate the average between the first satellite navigation system and the second satellite navigation system Navigation time error;
其中,所述综合导航系统时间等于所述第一卫星导航系统的当前导航时间和所述第二卫星导航系统的当前导航时间的均值,与所述平均导航时间误差的和。Wherein, the integrated navigation system time is equal to the sum of the average value of the current navigation time of the first satellite navigation system and the current navigation time of the second satellite navigation system and the error of the average navigation time.
可选地,在上述车辆控制器的时间同步方法中,所述在多个时刻同步采集所述第一卫星导航系统和所述第二卫星导航系统的导航时间,包括:Optionally, in the above method for time synchronization of a vehicle controller, the synchronous acquisition of the navigation time of the first satellite navigation system and the second satellite navigation system at multiple times includes:
每间隔第一预设时间长度同步采集一次所述第一卫星导航系统和所述第二卫星导航系统的导航时间,直至采集次数达到预设采集次数。The navigation time of the first satellite navigation system and the second satellite navigation system is synchronously collected once every first preset time length until the number of acquisitions reaches a preset number of acquisitions.
可选地,在上述车辆控制器的时间同步方法中,所述采集车辆的当前网络时间,包括:Optionally, in the above time synchronization method for a vehicle controller, the collecting the current network time of the vehicle includes:
检测所述车辆的当前网络时间;detecting the current network time of the vehicle;
若在第二预设时间长度内检测到所述车辆的当前网络时间,则采集检测到的所述车辆的当前网络时间。If the current network time of the vehicle is detected within the second preset time length, the detected current network time of the vehicle is collected.
可选地,在上述车辆控制器的时间同步方法中,所述检测所述车辆的当前网络时间之后,还包括:Optionally, in the above method for time synchronization of a vehicle controller, after the detecting the current network time of the vehicle, the method further includes:
若在所述第二预设时间长度内未检测到所述车辆的当前网络时间,则将记录的返回执行次数加一,并判断所述记录的返回执行次数是否大于预设返回次数;If the current network time of the vehicle is not detected within the second preset time length, add one to the recorded number of return executions, and determine whether the recorded number of return executions is greater than the preset number of returns;
若判断出记录的返回执行次数不大于预设返回次数,则返回执行所述在多个时刻同步采集所述第一卫星导航系统和所述第二卫星导航系统的导航时间;If it is determined that the recorded number of times of return execution is not greater than the preset number of times of return, then return to execute the synchronous acquisition of the navigation time of the first satellite navigation system and the second satellite navigation system at multiple times;
若判断出记录的返回执行次数大于预设返回次数,则将所述记录的返回执行次数清零,并在确定采集所述车辆的当前网络时间失败后,执行所述判断综合导航系统时间是否满足预设准确性要求。If it is determined that the recorded number of times of return execution is greater than the preset number of times of return, the recorded number of times of return execution is cleared, and after it is determined that the collection of the current network time of the vehicle fails, the execution of the judgment is performed to determine whether the time of the integrated navigation system satisfies the Preset accuracy requirements.
可选地,在上述车辆控制器的时间同步方法中,所述判断综合导航系统时间是否满足预设准确性要求,包括:Optionally, in the above-mentioned time synchronization method for a vehicle controller, the judging whether the time of the integrated navigation system meets a preset accuracy requirement includes:
判断所述车辆搜索到的卫星的数量是否大于预设卫星数量;其中,若判断出所述车辆搜索到的卫星的数量大于预设卫星数量,则所述综合导航系统时间满足预设准确性要求;若判断出车辆搜索到的卫星的数量未大于预设卫星数量,则所述综合导航系统时间不满足预设准确性要求。Determine whether the number of satellites searched by the vehicle is greater than the preset number of satellites; wherein, if it is determined that the number of satellites searched by the vehicle is greater than the preset number of satellites, the integrated navigation system time meets the preset accuracy requirement ; If it is determined that the number of satellites searched by the vehicle is not greater than the preset number of satellites, the time of the integrated navigation system does not meet the preset accuracy requirement.
可选地,在上述车辆控制器的时间同步方法中,所述判断出所述当前导航系统时间不满足预设准确性要求之后,还包括:Optionally, in the above time synchronization method for a vehicle controller, after judging that the current navigation system time does not meet the preset accuracy requirement, the method further includes:
判断是否成功采集到所述车辆的当前网络时间;Determine whether the current network time of the vehicle is successfully collected;
若判断出成功采集到所述车辆的当前网络时间,则执行所述将所述车辆的当前网络时间作为当前所述车辆的同步时间;If it is determined that the current network time of the vehicle is successfully collected, executing the taking the current network time of the vehicle as the current synchronization time of the vehicle;
若判断出未成功采集到所述车辆的当前网络时间,则确定未获取到当前所述车辆的同步时间。If it is determined that the current network time of the vehicle is not successfully acquired, it is determined that the current synchronization time of the vehicle is not acquired.
本申请第二方面提供了一种车辆控制器的时间同步装置,包括:A second aspect of the present application provides a time synchronization device for a vehicle controller, including:
第一采集单元,用于采集第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间、以及车辆的当前网络时间;a first collection unit, configured to collect the current navigation system time of the first satellite navigation system, the current navigation system time of the second satellite navigation system, and the current network time of the vehicle;
第一判断单元,用于判断综合导航系统时间是否满足预设准确性要求;其中,所述综合导航系统时间基于所述第一卫星导航系统的当前导航系统时间和所述第二卫星导航系统的当前导航系统时间的均值得到;The first judgment unit is used to judge whether the time of the integrated navigation system meets the preset accuracy requirement; wherein, the time of the integrated navigation system is based on the current navigation system time of the first satellite navigation system and the time of the second satellite navigation system. The mean value of the current navigation system time is obtained;
第一确定单元,用于在所述第一判断单元判断出所述综合导航系统时间满足预设准确性要求时,将所述综合导航系统时间作为当前所述车辆的同步时间;a first determination unit, configured to use the integrated navigation system time as the current synchronization time of the vehicle when the first determination unit determines that the integrated navigation system time meets a preset accuracy requirement;
第二确定单元,用于在所述第一判断单元判断出所述综合导航系统时间不满足预设准确性要求时,将所述车辆的当前网络时间作为当前所述车辆的同步时间;a second determination unit, configured to use the current network time of the vehicle as the current synchronization time of the vehicle when the first determination unit determines that the time of the integrated navigation system does not meet the preset accuracy requirement;
同步单元,用于向所述车辆的多个控制器发布所述同步时间,以将各个所述控制器的时间更新为所述同步时间。A synchronization unit, configured to issue the synchronization time to a plurality of controllers of the vehicle, so as to update the time of each of the controllers to the synchronization time.
可选地,在上述车辆控制器的时间同步装置中,还包括:Optionally, in the above-mentioned time synchronization device of the vehicle controller, it also includes:
第二采集单元,用于在多个时刻同步采集所述第一卫星导航系统和所述第二卫星导航系统的导航时间;a second acquisition unit, configured to synchronously acquire the navigation time of the first satellite navigation system and the second satellite navigation system at multiple times;
计算单元,用于利用采集到的多个所述第一卫星导航系统的导航时间和多个所述第二卫星导航系统的导航时间,计算得到所述第一卫星导航系统与所述第二卫星导航系统间的平均导航时间误差;a computing unit, configured to calculate the first satellite navigation system and the second satellite by using the collected navigation times of the first satellite navigation system and the second satellite navigation systems Average navigation time error between navigation systems;
其中,所述综合导航系统时间等于所述第一卫星导航系统的当前导航时间和所述第二卫星导航系统的当前导航时间的均值,与所述平均导航时间误差的和。Wherein, the integrated navigation system time is equal to the sum of the average value of the current navigation time of the first satellite navigation system and the current navigation time of the second satellite navigation system and the error of the average navigation time.
可选地,在上述车辆控制器的时间同步装置中,所述第二采集单元,包括:Optionally, in the above-mentioned time synchronization device of a vehicle controller, the second acquisition unit includes:
第二采集子单元,用于每间隔第一预设时间长度同步采集一次所述第一卫星导航系统和所述第二卫星导航系统的导航时间,直至采集次数达到预设采集次数。The second acquisition subunit is configured to synchronously acquire the navigation time of the first satellite navigation system and the second satellite navigation system once every first preset time length until the number of acquisitions reaches the preset number of acquisitions.
可选地,在上述车辆控制器的时间同步装置中,所述第一采集单元采集车辆的当前网络时间时,用于:Optionally, in the above-mentioned time synchronization device of the vehicle controller, when the first collection unit collects the current network time of the vehicle, it is used for:
检测所述车辆的当前网络时间,并在第二预设时间长度内检测到车辆的当前网络时间时,采集检测到的所述车辆的当前网络时间。The current network time of the vehicle is detected, and when the current network time of the vehicle is detected within a second preset time length, the detected current network time of the vehicle is collected.
可选地,在上述车辆控制器的时间同步装置中,还包括:Optionally, in the above-mentioned time synchronization device of the vehicle controller, it also includes:
第二判断单元,用于在所述第二预设时间长度内未检测到所述车辆的当前网络时间时,将记录的返回执行次数加一,并判断所述记录的返回执行次数是否大于预设返回次数;A second judging unit, configured to add one to the recorded number of returning executions when the current network time of the vehicle is not detected within the second preset time length, and determine whether the recorded number of returning executions is greater than the predetermined number of times Set the number of returns;
返回单元,用于在所述第二判断单元判断出记录的返回执行次数不大于预设返回次数时,返回第二采集单元执行所述在多个时刻同步采集所述第一卫星导航系统和所述第二卫星导航系统的导航时间;The returning unit is configured to return to the second collection unit to perform the synchronous collection of the first satellite navigation system and the the navigation time of the second satellite navigation system;
第三确定单元,用于在所述第二判断单元判断出记录的返回执行次数大于预设返回次数时,将所述记录的返回执行次数清零,并在确定采集所述车辆的当前网络时间失败后,所述第一判断单元执行所述判断综合导航系统时间是否满足预设准确性要求。A third determining unit, configured to clear the recorded number of times of returning to zero when the second determining unit determines that the number of times of returning executions recorded is greater than the preset number of returnings, and after determining to collect the current network time of the vehicle After failure, the first judging unit executes the judging whether the time of the integrated navigation system meets the preset accuracy requirement.
可选地,在上述车辆控制器的时间同步装置中,所述第一判断单元,包括:Optionally, in the above-mentioned time synchronization device for a vehicle controller, the first judgment unit includes:
第一判断子单元,用于判断所述车辆搜索到的卫星的数量是否大于预设卫星数量;其中,若判断出所述车辆搜索到的卫星的数量大于预设卫星数量,则所述综合导航系统时间满足预设准确性要求;若判断出车辆搜索到的卫星的数量未大于预设卫星数量,则所述综合导航系统时间不满足预设准确性要求。a first judging subunit for judging whether the number of satellites searched by the vehicle is greater than a preset number of satellites; wherein, if it is judged that the number of satellites searched by the vehicle is greater than the preset number of satellites, the integrated navigation The system time meets the preset accuracy requirement; if it is determined that the number of satellites searched by the vehicle is not greater than the preset number of satellites, the integrated navigation system time does not meet the preset accuracy requirement.
可选地,在上述车辆控制器的时间同步装置中,还包括:Optionally, in the above-mentioned time synchronization device of the vehicle controller, it also includes:
第三判断单元,用于在所述第一判断单元判断出所述当前导航系统时间不满足预设准确性要求之后,判断是否成功采集到所述车辆的当前网络时间;a third judging unit, configured to judge whether the current network time of the vehicle is successfully collected after the first judging unit judges that the current navigation system time does not meet the preset accuracy requirement;
其中,若第三判断单元判断出成功采集到所述车辆的当前网络时间,则第二确定单元执行所述将所述车辆的当前网络时间作为当前所述车辆的同步时间;Wherein, if the third determination unit determines that the current network time of the vehicle is successfully collected, the second determination unit executes the process of using the current network time of the vehicle as the current synchronization time of the vehicle;
第四确定单元,用于在所述第三判断单元判断出未成功采集到所述车辆的当前网络时间时,确定未获取到当前所述车辆的同步时间。A fourth determination unit, configured to determine that the current synchronization time of the vehicle is not acquired when the third determination unit determines that the current network time of the vehicle has not been successfully acquired.
本申请第三方面提供了一种电子设备,包括:A third aspect of the present application provides an electronic device, comprising:
存储器和处理器;memory and processor;
其中,所述存储器用于存储程序;Wherein, the memory is used to store programs;
所述处理器用于执行所述程序,所述程序被执行时,具体用于实现如上述任意一项所述的车辆控制器的时间同步方法。The processor is configured to execute the program, and when the program is executed, it is specifically configured to implement the time synchronization method for a vehicle controller according to any one of the above.
本申请第四方面提供了一种存储介质,用于存储计算机程序,所述计算机程序被执行时,用于实现如上述任意一项所述的车辆控制器的时间同步方法。A fourth aspect of the present application provides a storage medium for storing a computer program, and when the computer program is executed, is used to implement the time synchronization method for a vehicle controller as described in any one of the above.
本申请提供了一种车辆控制器的时间同步方法,通过采集第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间、以及车辆的当前网络时间,然后基于所述第一卫星导航系统的当前导航系统时间和第二卫星导航系统的当前导航系统时间的均值得到综合导航系统时间,并判断综合导航系统时间是否满足预设准确性要求。由于导航系统时间具有较高的准确性,所以在判断出综合导航系统时间满足预设准确性要求时,则将综合导航系统时间作为当前车辆的同步时间,若判断出综合导航系统时间不满足预设准确性要求,则选择将车辆的当前网络时间作为当前车辆的同步时间,最后向车辆的多个控制器发布同步时间,将各个控制器的时间更新为同步时间,实现了车辆的各个时间的同步及统一,并且使用导航系统时间或网络时间,有效地保证时间的准确性。The present application provides a time synchronization method for a vehicle controller, by collecting the current navigation system time of the first satellite navigation system, the current navigation system time of the second satellite navigation system, and the current network time of the vehicle, and then based on the first satellite navigation system time. The average value of the current navigation system time of one satellite navigation system and the current navigation system time of the second satellite navigation system obtains the integrated navigation system time, and judges whether the integrated navigation system time meets the preset accuracy requirement. Since the time of the navigation system has high accuracy, when it is judged that the time of the integrated navigation system meets the preset accuracy requirement, the time of the integrated navigation system is taken as the synchronization time of the current vehicle. If the accuracy requirements are set, the current network time of the vehicle is selected as the synchronization time of the current vehicle, and finally the synchronization time is released to multiple controllers of the vehicle, and the time of each controller is updated to the synchronization time, which realizes the synchronization of each time of the vehicle. Synchronized and unified, and use the navigation system time or network time to effectively ensure the accuracy of the time.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without any creative effort.
图1为本申请实施例提供的一种时间同步系统的结构示意图;1 is a schematic structural diagram of a time synchronization system according to an embodiment of the present application;
图2为本申请另一实施例提供的一种车辆控制器的时间同步方法的流程图;2 is a flowchart of a time synchronization method for a vehicle controller provided by another embodiment of the present application;
图3为本申请另一实施例提供的另一种车辆控制器的时间同步方法的流程图;3 is a flowchart of another time synchronization method for a vehicle controller provided by another embodiment of the present application;
图4为本申请另一实施例提供的一种车辆控制器的时间同步装置的结构示意图;4 is a schematic structural diagram of a time synchronization device of a vehicle controller provided by another embodiment of the present application;
图5为本申请另一实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
在本申请中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that any such relationship exists between these entities or operations. an actual relationship or sequence. Also the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or apparatus that includes a list of elements includes not only those elements, but also not expressly listed Other elements, or elements that are inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
本申请提供了一种车辆控制器的时间同步方法,以解决现有技术中车辆的各个控制器的时间不同步,且时间的准确性无法保证的问题。The present application provides a time synchronization method for a vehicle controller, so as to solve the problems in the prior art that the time of each controller of the vehicle is not synchronized, and the accuracy of the time cannot be guaranteed.
可选地,为了实现本申请提供的车辆控制器的时间同步方法,本申请实施例提供了一种时间同步系统,如图1所示,具体包括:处理器101、无线分组业务模块102(GeneralPacket Radio Service,GPRS)、第一卫星导航系统模块103以及第二卫星导航系统模块104。Optionally, in order to realize the time synchronization method of the vehicle controller provided by the present application, an embodiment of the present application provides a time synchronization system, as shown in FIG. Radio Service, GPRS), the first satellite navigation system module 103 and the second satellite navigation system module 104 .
其中,无线分组业务模块102即GPRS模块,主要用于采集车辆的当前网络时间。第一卫星导航系统模块103主要用于采集第一卫星导航系统的当前导航系统时间以及导航时间。第二卫星导航系统模块104主要用于采集第二卫星导航系统的当前导航系统时间以及导航时间。Among them, the wireless
处理器101则主要用于对第一卫星导航系统103模块以及第二卫星导航系统模块104和无线分组业务模块102采集到的数据进行处理。具体可用于:根据第一卫星导航系统的当前导航系统时间和第二卫星导航系统的当前导航时间,计算得到综合导航系统时间,并综合考虑综合导航系统时间和当前网络时间,从中选取出当前车辆的同步时间,然后将同步时间发送给各个控制器,以将各个控制器的时间更新为该同步时间。The
基于上述提供的时间同步系统,本申请另一实施例提供了一种车辆控制器的时间同步方法,如图2所示,具体包括以下步骤:Based on the time synchronization system provided above, another embodiment of the present application provides a time synchronization method for a vehicle controller, as shown in FIG. 2 , which specifically includes the following steps:
S201、采集第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间、以及车辆的当前网络时间。S201. Collect the current navigation system time of the first satellite navigation system, the current navigation system time of the second satellite navigation system, and the current network time of the vehicle.
其中,第一卫星导航系统和第二卫星导航系统分别指代两个不同的卫星导航系统。具体可以是全球定位系统(Global Positioning System,GPS)以及北斗卫星导航系统。当然,也可以是其他的卫星导航系统,例如伽利略卫星定位系统、俄罗斯格洛纳斯卫星定位系统等。The first satellite navigation system and the second satellite navigation system respectively refer to two different satellite navigation systems. Specifically, it may be a global positioning system (Global Positioning System, GPS) and a Beidou satellite navigation system. Of course, it can also be other satellite navigation systems, such as the Galileo satellite positioning system, the Russian GLONASS satellite positioning system, and the like.
当前导航系统时间指的是从卫星导航系统获得的当前的卫星导航系统的时间点,具体可以指的是协调世界时(Universal Time Coordinated,UTC),此时在采集到第一卫星导航系统的当前导航系统时间和第二卫星导航系统的当前导航系统时间后,可以根据需求将两个当前导航系统进行时间换算,换算为统一地区的时间,例如北京时间,或者在最后得到同步时间后再对同步时间进行换算。The current navigation system time refers to the time point of the current satellite navigation system obtained from the satellite navigation system, and may specifically refer to Universal Time Coordinated (UTC). After the navigation system time and the current navigation system time of the second satellite navigation system, the two current navigation systems can be converted into time in a unified area, such as Beijing time, or the synchronization can be performed after the synchronization time is finally obtained. time to convert.
其中,车辆的当前网络时间指的是当前通过车辆的通用无线分组业务模块获取到的网络时间,具体也可以是UCT时间。The current network time of the vehicle refers to the network time currently obtained through the general wireless packet service module of the vehicle, and may specifically be the UCT time.
需要说明的是,需要同步采集在当前时刻下的第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间、以及车辆的当前网络时间。It should be noted that the current navigation system time of the first satellite navigation system, the current navigation system time of the second satellite navigation system, and the current network time of the vehicle need to be synchronously collected at the current moment.
S202、判断综合导航系统时间是否满足预设准确性要求。S202. Determine whether the time of the integrated navigation system meets the preset accuracy requirement.
其中,综合导航系统时间基于第一卫星导航系统的当前导航系统时间和第二卫星导航系统的当前导航系统时间的均值得到。The integrated navigation system time is obtained based on the average value of the current navigation system time of the first satellite navigation system and the current navigation system time of the second satellite navigation system.
其中,综合导航系统时间即为综合第一卫星导航系统的当前导航系统时间和第二卫星导航系统的当前导航系统时间得到的时间。具体可以是,第一卫星导航系统的当前导航系统时间和第二卫星导航系统的当前导航系统时间的均值,或者是对该均值进行修正后得到数值等,从而通过两个卫星导航系统的当前导航系统,得到综合导航时间作为同步时间,避免单个卫星导航系统的导航系统时间带来较大的误差。The integrated navigation system time is the time obtained by integrating the current navigation system time of the first satellite navigation system and the current navigation system time of the second satellite navigation system. Specifically, it may be the average value of the current navigation system time of the first satellite navigation system and the current navigation system time of the second satellite navigation system, or a value obtained after the average value is corrected, so that the current navigation system of the two satellite navigation systems can be obtained through the current navigation system. system, the comprehensive navigation time is obtained as the synchronization time, so as to avoid the large error caused by the navigation system time of a single satellite navigation system.
由于车辆接收到的卫星导航系统的信号并不是一成不变的,也无法能保证信号一直处于较强状态。信号较弱时,所采集的卫星导航系统的导航系统时间的准确性较差,计算得到的综合导航系统时间的准确性也越差,因此需要预先设置准确性要求,以判断综合导航系统时间是否满足预设准确性要求,在满足准确性要求时才使用综合导航系统时间。具体可以,通过检测卫星信号的强度,判断综合导航系统时间是否满足预设准确性要求。当然也可以采用其他的方式,例如下述的方式。Since the signal of the satellite navigation system received by the vehicle is not static, it cannot be guaranteed that the signal is always in a strong state. When the signal is weak, the accuracy of the collected navigation system time of the satellite navigation system is poor, and the accuracy of the calculated integrated navigation system time is also worse. Therefore, it is necessary to set the accuracy requirements in advance to judge whether the integrated navigation system time is When the preset accuracy requirements are met, the integrated navigation system time is used only when the accuracy requirements are met. Specifically, it can be determined whether the time of the integrated navigation system meets the preset accuracy requirement by detecting the strength of the satellite signal. Of course, other methods can also be used, such as the following methods.
可选地,由于车辆所能搜索到的卫星数量影响着车辆接收到的卫星导航系统信号的强弱,而接收到的卫星信号的强弱决定着综合导航系统时间的准确性,所以本申请另一实施例中,步骤S202具体为:判断车辆搜索到的卫星的数量是否大于预设卫星数量。Optionally, since the number of satellites that can be searched by the vehicle affects the strength of the satellite navigation system signal received by the vehicle, and the strength of the received satellite signal determines the accuracy of the time of the integrated navigation system, this application further In one embodiment, step S202 is specifically: judging whether the number of satellites searched by the vehicle is greater than the preset number of satellites.
其中,预设卫星数量可以设置为7个,因为卫星数量为7被认为是卫星导航信号的强弱的临界标志。所以当卫星数据大于7个时,说明卫星导航信号较强,所得到的导航系统时间准确性较高,反之则说明卫星导航信号较弱,所得到的导航系统时间准确性较低。因此在判断出车辆搜索到的卫星的数量大于预设卫星数量时,则综合导航系统时间满足预设准确性要求,若判断出车辆搜索到的卫星的数量未大于预设卫星数量,则判断综合导航系统时间不满足预设准确性要求。当然,这只是其中一个可选的数量,也可以设置为更大的数值,从而保证更高的准确性。Among them, the preset number of satellites can be set to 7, because the number of satellites is considered to be a critical sign of the strength of the satellite navigation signal. Therefore, when the number of satellite data is more than 7, it means that the satellite navigation signal is strong, and the time accuracy of the obtained navigation system is high; otherwise, it means that the satellite navigation signal is weak, and the time accuracy of the obtained navigation system is low. Therefore, when it is judged that the number of satellites searched by the vehicle is greater than the preset number of satellites, the integrated navigation system time meets the preset accuracy requirement; Navigation system time does not meet preset accuracy requirements. Of course, this is only one of the optional quantities, and it can also be set to a larger value to ensure higher accuracy.
需要说明的是,导航系统时间相对于车辆的网络时间更加的准确,并且车辆的网络也更容易出现波动,准确性也更无法保障。因此在判断出综合导航系统时间满足预设准确性要求时,优先选择综合导航系统时间作为当前车辆的同步时间,即在判断出综合导航系统时间满足预设准确性要求时,执行步骤S203。相应的,若判断出综合导航系统时间不满足预设准确性要求时,则执行步骤S204。It should be noted that the time of the navigation system is more accurate than the network time of the vehicle, and the network of the vehicle is more likely to fluctuate, and the accuracy cannot be guaranteed. Therefore, when it is determined that the integrated navigation system time meets the preset accuracy requirement, the integrated navigation system time is preferentially selected as the synchronization time of the current vehicle, that is, when it is determined that the integrated navigation system time meets the preset accuracy requirement, step S203 is performed. Correspondingly, if it is determined that the time of the integrated navigation system does not meet the preset accuracy requirement, step S204 is executed.
S203、将综合导航系统时间作为当前车辆的同步时间。S203 , taking the time of the integrated navigation system as the synchronization time of the current vehicle.
S204、将车辆的当前网络时间作为当前车辆的同步时间。S204 , taking the current network time of the vehicle as the synchronization time of the current vehicle.
还需要说明的是,由于存在部分地点的网络较差,甚至没有网络等因素,因此车辆会存在连接不上网络的情况,所以并不能有效地保证在执行步骤S201时,能获取到车辆的当前网络时间。因此可选地,在本申请实施例中,在执行步骤S202判断出当前导航系统时间不满足预设准确性要求时,还可以先进一步执行:判断是否成功采集到所述车辆的当前网络时间。It should also be noted that due to factors such as poor network in some locations, or even no network, the vehicle may not be able to connect to the network, so it cannot be effectively guaranteed that the current status of the vehicle can be obtained when step S201 is executed. network time. Therefore, optionally, in this embodiment of the present application, when step S202 is executed to determine that the current navigation system time does not meet the preset accuracy requirement, further execution may be performed first: judging whether the current network time of the vehicle is successfully collected.
其中,若判断出成功采集到车辆的当前网络时间,再执行S204。可选地,若判断出未成功采集到车辆的当前网络时间,则不执行步骤S204。由于,此时的综合导航系统时间也不满足预设准确性要求,也无法使用,因此此时执行:确定未获取到当前车辆的同步时间的步骤。相应的,由于没有得到当前车辆的同步时间,此时也不再继续执行步骤S205,即本次不对各个控制器的时间进行更新,避免控制器采用准确性较低的时间。并且,还可以在指定时间段后或立即返回执行步骤S201,即再次执行本申请提供的方法,进而尝试获得准确性满足要求的同步时间,从而对控制器的时间进行更新。Wherein, if it is determined that the current network time of the vehicle is successfully collected, S204 is executed again. Optionally, if it is determined that the current network time of the vehicle has not been successfully collected, step S204 is not executed. Because the time of the integrated navigation system at this time does not meet the preset accuracy requirements and cannot be used, therefore, at this time, the step of determining the synchronization time of the current vehicle that is not obtained is performed. Correspondingly, since the synchronization time of the current vehicle is not obtained, step S205 is not continued at this time, that is, the time of each controller is not updated this time, so as to prevent the controller from adopting a time with lower accuracy. Moreover, it is also possible to return to step S201 after a specified period of time or immediately, that is, to execute the method provided in the present application again, and then try to obtain a synchronization time whose accuracy meets the requirements, so as to update the time of the controller.
S205、向车辆的多个控制器发布同步时间,以将各个控制器的时间更新为同步时间。S205. Publish the synchronization time to multiple controllers of the vehicle, so as to update the time of each controller to the synchronization time.
可选地,可以通过以太网或者车辆的CAN总线,向车辆的多个控制器发布得到的同步时间。Optionally, the obtained synchronization time may be published to multiple controllers of the vehicle through Ethernet or the CAN bus of the vehicle.
可选的,在执行步骤S205后,可选择立即返回执行步骤S201,或者在一定时间段后,返回执行步骤S201,循环本申请实施例提供的方法,从而不断地更新车辆的各个控制器的时间,保证各个控制器的时间的同步性与准确性。Optionally, after performing step S205, you can choose to immediately return to performing step S201, or return to performing step S201 after a certain period of time, and loop the method provided by this embodiment of the present application, thereby continuously updating the time of each controller of the vehicle. , to ensure the synchronization and accuracy of the time of each controller.
本申请实施例提供的一种车辆控制器的时间同步方法,通过采集第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间、以及车辆的当前网络时间,然后基于所述第一卫星导航系统的当前导航系统时间和第二卫星导航系统的当前导航系统时间的均值得到综合导航系统时间,并判断综合导航系统时间是否满足预设准确性要求。由于导航系统时间具有较高的准确性,所以在判断出综合导航系统时间满足预设准确性要求时,则将综合导航系统时间作为当前车辆的同步时间,若判断出综合导航系统时间不满足预设准确性要求,则选择将车辆的当前网络时间作为当前车辆的同步时间,最后向车辆的多个控制器发布同步时间,将各个控制器的时间更新为同步时间,实现了车辆的各个时间的同步及统一,并且使用导航系统时间或网络时间,有效地保证时间的准确性。A time synchronization method for a vehicle controller provided by an embodiment of the present application collects the current navigation system time of the first satellite navigation system, the current navigation system time of the second satellite navigation system, and the current network time of the vehicle, and then based on the The average value of the current navigation system time of the first satellite navigation system and the current navigation system time of the second satellite navigation system is used to obtain the integrated navigation system time, and it is judged whether the integrated navigation system time meets the preset accuracy requirement. Since the time of the navigation system has high accuracy, when it is judged that the time of the integrated navigation system meets the preset accuracy requirements, the time of the integrated navigation system is used as the synchronization time of the current vehicle. If the accuracy requirement is set, the current network time of the vehicle is selected as the synchronization time of the current vehicle, and finally the synchronization time is released to multiple controllers of the vehicle, and the time of each controller is updated to the synchronization time, which realizes the synchronization of the various times of the vehicle. Synchronized and unified, and use the navigation system time or network time to effectively ensure the accuracy of the time.
本申请另一实施例提供了一种车辆控制器的时间同步方法,如图3所示,具体包括以下步骤:Another embodiment of the present application provides a time synchronization method for a vehicle controller, as shown in FIG. 3 , which specifically includes the following steps:
S301、在多个时刻同步采集第一卫星导航系统和第二卫星导航系统的导航时间。S301 , synchronously collect the navigation time of the first satellite navigation system and the second satellite navigation system at multiple times.
需要说明的是,由于本申请实施例中,采集多个时刻的第一卫星导航系统和第二卫星导航系统的导航时间,用于计算当前第一卫星导航系统与第二卫星导航系统间的平均导航时间误差,因此这多个时刻应该为距离当前时刻较近的多个时刻,即在当前时刻前的多个时刻同步采集第一卫星导航系统和第二卫星导航系统的导航时间。It should be noted that, because in the embodiment of the present application, the navigation time of the first satellite navigation system and the second satellite navigation system at multiple times is collected, which is used to calculate the current average between the first satellite navigation system and the second satellite navigation system. Navigation time error, so the multiple times should be multiple times close to the current time, that is, the navigation times of the first satellite navigation system and the second satellite navigation system are collected synchronously at multiple times before the current time.
可选地,本申请另一实施例中,步骤S301的一种具体实施方式,具体为:每间隔第一预设时间长度同步采集一次,第一卫星导航系统和第二卫星导航系统的导航时间,直至采集次数达到预设采集次数。Optionally, in another embodiment of the present application, a specific implementation of step S301 is specifically: synchronously collect once every first preset time length, the navigation time of the first satellite navigation system and the second satellite navigation system , until the collection times reach the preset collection times.
例如,可以将第一预设时间长度设置为10毫秒,预设采集次数为10次,若第一卫星导航系统和第二导航系统为GPS导航系统和北斗导航系统,则获取的导航时间,可以记为:GPS_T1和BeiDou_T1、GPS_T2和BeiDou_T2、GPS_T3和BeiDou_T3、…、GPS_T10和BeiDou_T10。For example, the first preset time length may be set to 10 milliseconds, and the preset number of acquisitions may be 10 times. If the first satellite navigation system and the second navigation system are GPS navigation systems and Beidou navigation systems, the acquired navigation time can be Record as: GPS_T1 and BeiDou_T1, GPS_T2 and BeiDou_T2, GPS_T3 and BeiDou_T3, ..., GPS_T10 and BeiDou_T10.
S302、利用采集到的多个第一卫星导航系统的导航时间和多个第二卫星导航系统的导航时间,计算得到第一卫星导航系统与第二卫星导航系统间的平均导航时间误差。S302. Calculate the average navigation time error between the first satellite navigation system and the second satellite navigation system by using the collected navigation time of the first satellite navigation system and the navigation time of the second satellite navigation system.
具体的,分别计算得到每个时刻同步采集到的第一卫星导航系统的导航时间减去第二卫星导航系统的导航时间的差值,然后将计算得到的各个差值的总和处于预设采集次数,得到第一卫星导航系统与第二卫星导航系统间的平均导航时间误差。Specifically, the difference between the navigation time of the first satellite navigation system and the navigation time of the second satellite navigation system that is synchronously collected at each moment is calculated separately, and then the sum of the calculated differences is at the preset number of collection times. , to obtain the average navigation time error between the first satellite navigation system and the second satellite navigation system.
例如,基于上述例子中,在采集10次得到的导航时间,则第一卫星导航系统与第二卫星导航系统间的平均导航时间误差等于:[(GPS_T1-BeiDou_T1)+(GPS_T2-BeiDou_T2)+(GPS_T3-BeiDou_T3)+…+(GPS_T10-BeiDou_T10)]/10。For example, based on the above example, the average navigation time error between the first satellite navigation system and the second satellite navigation system is equal to: [(GPS_T1-BeiDou_T1)+(GPS_T2-BeiDou_T2)+( GPS_T3-BeiDou_T3)+…+(GPS_T10-BeiDou_T10)]/10.
其中,在本申请实施例中,当前导航系统时间等于第一卫星导航系统的当前导航时间和第二卫星导航系统的当前导航时间的均值,与平均导航时间误差的和Wherein, in the embodiment of the present application, the current navigation system time is equal to the average value of the current navigation time of the first satellite navigation system and the current navigation time of the second satellite navigation system, and the sum of the average navigation time error
S303、采集第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间,并检测车辆的当前网络时间。S303: Collect the current navigation system time of the first satellite navigation system and the current navigation system time of the second satellite navigation system, and detect the current network time of the vehicle.
需要说明的是,由于平均导航时间误差具有时效性,因此需要在执行步骤S302后,立即执行步骤S303。It should be noted that, since the average navigation time error is time-sensitive, step S303 needs to be performed immediately after step S302 is performed.
需要说明的是,由于车辆的网络易受多种因素的影响,因此可能无法快速采集到当前网络时间。而由于时效性问题,需要保证采集第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间,以及车辆的当前网络时间为同一时刻,或近似于同一时刻的时间。因此,在开始检测车辆的网络时间值第二预设时间长度内,实时判断是否检测到车辆的当前网络时间。It should be noted that since the network of the vehicle is easily affected by various factors, it may not be possible to quickly collect the current network time. However, due to the problem of timeliness, it is necessary to ensure that the current navigation system time of the first satellite navigation system, the current navigation system time of the second satellite navigation system, and the current network time of the vehicle are collected at the same time, or a time close to the same time. Therefore, within the second preset time length of starting to detect the network time value of the vehicle, it is determined in real time whether the current network time of the vehicle is detected.
S304、判断在第二预设时间长度内是否检测到车辆的当前网络时间。S304. Determine whether the current network time of the vehicle is detected within the second preset time length.
具体的,在开始检测车辆的网络时间值第二预设时间长度内,实时判断是否检测到车辆的当前网络时间。由于考虑时效性问题,因此第二预设时间长度通常设置的相对较短,例如设置为1秒钟。Specifically, within a second preset time length of starting to detect the network time value of the vehicle, it is determined in real time whether the current network time of the vehicle is detected. Due to the consideration of the problem of timeliness, the second preset time length is usually set relatively short, for example, set to 1 second.
其中,若在第二预设时间长度内检测到车辆的当前网络时间,即判断在第二预设时间长度内检测到车辆的当前网络时间则可以停止判断,并采执行步骤S305。若在第二预设时间长度内未检测到车辆的当前网络时间,则执行步骤S306。Wherein, if the current network time of the vehicle is detected within the second preset time length, that is, if it is determined that the current network time of the vehicle is detected within the second preset time length, the determination can be stopped, and step S305 is performed. If the current network time of the vehicle is not detected within the second preset time length, step S306 is executed.
S305、采集检测到的车辆的当前网络时间。S305. Collect the current network time of the detected vehicle.
需要说明的是,在执行步骤S305后,接着即可执行步骤S307。It should be noted that, after step S305 is executed, step S307 can be executed next.
S306、将记录的返回执行次数加一,并判断记录的返回执行次数是否大于预设返回次数。S306. Add one to the recorded number of times of return execution, and determine whether the recorded number of times of return and execution is greater than the preset number of times of return.
由于采集数据的过程耗时相对较短,因此在本申请实施例中,在运行采集车辆的当前的网络时间失败时,可尝试多次采集,在多次采集均失败后,再执行后续的步骤。由于采集车辆的当前网络时间失败,若要再次尝试采集车辆的当前网络时间,则先前获取两个卫星导航系统的当前导航系统时间和平均导航时间误差已失去时效性,因此也要重新获取。所以,本申请实施例中,若判断出记录的返回执行次数不大于预设返回次数,则并返回执行步骤S301。Since the process of collecting data takes a relatively short time, in the embodiment of the present application, when the current network time of the vehicle fails to be collected, multiple attempts may be made to collect the data, and the subsequent steps will be performed after the multiple collections fail. . Since the acquisition of the current network time of the vehicle fails, if you try to collect the current network time of the vehicle again, the current navigation system time and the average navigation time error of the two satellite navigation systems previously acquired have lost their timeliness, so they must be acquired again. Therefore, in this embodiment of the present application, if it is determined that the recorded number of times of return execution is not greater than the preset number of times of return, the process returns to step S301.
可选地,返回执行次数设置为大于0的整数,但不宜设置过大,例如可以设置为3。当然,也可以将返回执行次数可以设置为0,即在未采集到车辆的当前网络时间时,直接执行后续步骤,不再尝试获取车辆的当前网络时间。因为在未获取到车辆的当前网络时间时,可能已采集到满足预设准确性要求的综合导航系统时间,此时可以得到具有较高准确性的同步时间的。即使执行后续步骤,确定出综合导航系统时间不满足预设准确性要求,届时也可再返回执行步骤S301,也同样能达到多次获取车辆的网络时间的目的。Optionally, the return execution times is set to an integer greater than 0, but it should not be set too large, for example, it can be set to 3. Of course, the number of times of return execution can also be set to 0, that is, when the current network time of the vehicle is not collected, the subsequent steps are directly executed, and no attempt is made to obtain the current network time of the vehicle. Because when the current network time of the vehicle is not obtained, the time of the integrated navigation system that meets the preset accuracy requirement may have been collected, and at this time, the synchronization time with higher accuracy can be obtained. Even if the subsequent steps are performed and it is determined that the time of the integrated navigation system does not meet the preset accuracy requirement, the step S301 can be returned to execute at that time, and the purpose of obtaining the network time of the vehicle for multiple times can also be achieved.
若判断出记录的返回执行次数大于预设返回次数,执行步骤S307。可选地,在执行步骤S307前还可先执行:将记录的返回执行次数清零,并在确定采集车辆的当前网络时间失败后。If it is determined that the recorded number of times of return execution is greater than the preset number of times of return, step S307 is performed. Optionally, before step S307 is performed, it may also be performed first: clearing the recorded number of times of return execution to zero, and after it is determined that the collection of the current network time of the vehicle fails.
S307、判断综合导航系统时间是否满足预设准确性要求。S307. Determine whether the time of the integrated navigation system meets the preset accuracy requirement.
需要说明的是,步骤S307的具体实施方式可与步骤S202相同,因此可相应地参考上述方法实施例中的步骤S202的具体实施过程,此处不再赘述。It should be noted that, the specific implementation manner of step S307 may be the same as that of step S202, so reference may be made to the specific implementation process of step S202 in the above method embodiments, which will not be repeated here.
其中,若判断出综合导航系统时间满足预设准确性要求,则执行步骤S308。若判断出综合导航系统时间不满足预设准确性要求,则执行步骤S309。Wherein, if it is determined that the time of the integrated navigation system meets the preset accuracy requirement, step S308 is executed. If it is determined that the time of the integrated navigation system does not meet the preset accuracy requirement, step S309 is executed.
还需要说明的是,通常都能采集到第一卫星导航系统和第二卫星导航系统的当前导航系统时间,从而得到综合导航系统时间,仅是存在准确性高低的问题。但是,无法保证每次都能获取到综合导航系统时间,因此可选地,在执行步骤S307前,也还可以先进一步判断是否获取到综合导航系统时间,若判断出获取到综合导航系统时间,则执行步骤S307,若判断出未获取到综合导航系统时间,则可以直接执行步骤S309。It should also be noted that the current navigation system time of the first satellite navigation system and the second satellite navigation system can usually be collected, so as to obtain the integrated navigation system time, but there is a problem of accuracy. However, it cannot be guaranteed that the time of the integrated navigation system can be obtained every time, so optionally, before step S307 is executed, it is also possible to further judge whether the time of the integrated navigation system is obtained. Then step S307 is executed, and if it is determined that the time of the integrated navigation system has not been obtained, step S309 may be executed directly.
S308、将当前导航系统时间作为当前车辆的同步时间。S308, taking the current navigation system time as the synchronization time of the current vehicle.
需要说明的是,在执行步骤S308后,执行步骤S312。It should be noted that, after step S308 is performed, step S312 is performed.
S309、判断是否成功采集到车辆的当前网络时间。S309. Determine whether the current network time of the vehicle is successfully collected.
其中,若判断出成功采集到车辆的当前网络时间,则执行步骤S310。若判断出未成功采集到车辆的当前网络时间,则执行步骤S311。Wherein, if it is determined that the current network time of the vehicle is successfully collected, step S310 is executed. If it is determined that the current network time of the vehicle has not been successfully collected, step S311 is executed.
S310、将车辆的当前网络时间作为当前车辆的同步时间。S310. Use the current network time of the vehicle as the synchronization time of the current vehicle.
需要说明的是,在执行步骤S310后,执行步骤S312。It should be noted that, after step S310 is performed, step S312 is performed.
S311、确定未获取到当前车辆的同步时间。S311. Determine that the synchronization time of the current vehicle is not obtained.
需要说明的是,在执行步骤S311后,则相当于指示不再执行步骤S312。可选地,在执行步骤S311后,可选择立即返回执行步骤S301,或者在一定时间段后,返回执行步骤S301,从而循环本申请实施例提供的方法。It should be noted that, after step S311 is executed, it is equivalent to instructing that step S312 is not executed again. Optionally, after step S311 is performed, it is possible to choose to return to step S301 immediately, or return to perform step S301 after a certain period of time, thereby looping the method provided by this embodiment of the present application.
S312、向车辆的多个控制器发布所述同步时间,以将各个控制器的时间更新为同步时间S312. Publish the synchronization time to multiple controllers of the vehicle, so as to update the time of each controller to the synchronization time
其中,步骤S312的具体实施方式可相应地参考上述实施例中的步骤S205的实施方式,此处不再赘述。For the specific implementation of step S312, reference may be made to the implementation of step S205 in the foregoing embodiment, and details are not repeated here.
本申请实施例提供的一种车辆控制器的时间同步方法,通过获取多个时刻的第一卫星导航系统和第二卫星导航系统的导航时间,并利用获取的导航时间计算得到两个卫星导航系统的平均导航时间误差,然后采集第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间、以及车辆的当前网络时间,基于第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间的均值、平均导航时间误差得到综合导航系统时间,从而提高综合导航系统时间的准确性。然后,在成功获取当前网络时间或多次尝试获取当前网络时间后,若综合导航系统时间是否满足预设准确性要求时,则优先将综合导航系统时间作为当前车辆的同步时间,否则选择将车辆的当前网络时间作为当前车辆的同步时间,最后向车辆的多个控制器发布同步时间,将各个控制器的时间更新为同步时间,实现了车辆的各个时间的同步及统一,并且使用导航系统时间或网络时间,有效地保证时间的准确性。In a method for time synchronization of a vehicle controller provided by an embodiment of the present application, the navigation times of the first satellite navigation system and the second satellite navigation system are acquired at multiple times, and the two satellite navigation systems are obtained by calculating the acquired navigation time. Then collect the current navigation system time of the first satellite navigation system, the current navigation system time of the second satellite navigation system, and the current network time of the vehicle, based on the current navigation system time of the first satellite navigation system, The mean value of the current navigation system time and the average navigation time error of the second satellite navigation system can obtain the integrated navigation system time, thereby improving the accuracy of the integrated navigation system time. Then, after successfully obtaining the current network time or trying to obtain the current network time several times, if the time of the integrated navigation system meets the preset accuracy requirements, the time of the integrated navigation system is preferentially used as the synchronization time of the current vehicle; otherwise, the vehicle is selected to be The current network time is used as the synchronization time of the current vehicle, and finally the synchronization time is released to multiple controllers of the vehicle, and the time of each controller is updated to the synchronization time, which realizes the synchronization and unification of the various times of the vehicle, and uses the navigation system time. or network time, effectively guaranteeing the accuracy of the time.
本申请另一实施例提供了一种车辆控制器的时间同步装置,如图4所示,包括以下单元:Another embodiment of the present application provides a time synchronization device for a vehicle controller, as shown in FIG. 4 , including the following units:
第一采集单元401,用于采集第一卫星导航系统的当前导航系统时间、第二卫星导航系统的当前导航系统时间、以及车辆的当前网络时间。The first collection unit 401 is configured to collect the current navigation system time of the first satellite navigation system, the current navigation system time of the second satellite navigation system, and the current network time of the vehicle.
第一判断单元402,用于判断综合导航系统时间是否满足预设准确性要求。The first judging unit 402 is configured to judge whether the time of the integrated navigation system meets the preset accuracy requirement.
其中,综合导航系统时间基于第一卫星导航系统的当前导航系统时间和第二卫星导航系统的当前导航系统时间的均值得到。The integrated navigation system time is obtained based on the average value of the current navigation system time of the first satellite navigation system and the current navigation system time of the second satellite navigation system.
第一确定单元403,用于在第一判断单元402判断出综合导航系统时间满足预设准确性要求时,将综合导航系统时间作为当前车辆的同步时间。The first determination unit 403 is configured to use the integrated navigation system time as the synchronization time of the current vehicle when the first determination unit 402 determines that the integrated navigation system time meets the preset accuracy requirement.
第二确定单元404,用于在第一判断单元402判断出综合导航系统时间不满足预设准确性要求时,将车辆的当前网络时间作为当前车辆的同步时间。The second determination unit 404 is configured to use the current network time of the vehicle as the synchronization time of the current vehicle when the first determination unit 402 determines that the time of the integrated navigation system does not meet the preset accuracy requirement.
同步单元405,用于向车辆的多个控制器发布同步时间,以将各个控制器的时间更新为同步时间。The
可选地,本申请另一实施例提供的车辆控制器的时间同步装置中,还包括以下单元:Optionally, the time synchronization device for a vehicle controller provided by another embodiment of the present application further includes the following units:
第二采集单元,用于在多个时刻同步采集第一卫星导航系统和第二卫星导航系统的导航时间。The second acquisition unit is configured to synchronously acquire the navigation time of the first satellite navigation system and the second satellite navigation system at multiple times.
计算单元,用于利用采集到的多个第一卫星导航系统的导航时间和多个第二卫星导航系统的导航时间,计算得到第一卫星导航系统与第二卫星导航系统间的平均导航时间误差。The computing unit is used to calculate the average navigation time error between the first satellite navigation system and the second satellite navigation system by using the collected navigation time of the first satellite navigation system and the navigation time of the second satellite navigation system .
其中,综合导航系统时间等于第一卫星导航系统的当前导航时间和第二卫星导航系统的当前导航时间的均值,与平均导航时间误差的和。Wherein, the integrated navigation system time is equal to the average value of the current navigation time of the first satellite navigation system and the current navigation time of the second satellite navigation system, and the sum of the average navigation time error.
可选地,本申请另一实施例提供的车辆控制器的时间同步装置中的第二采集单元,包括:Optionally, the second acquisition unit in the time synchronization device of the vehicle controller provided by another embodiment of the present application includes:
第二采集子单元,用于每间隔第一预设时间长度同步采集一次第一卫星导航系统和第二卫星导航系统的导航时间,直至采集次数达到预设采集次数。The second acquisition subunit is configured to synchronously acquire the navigation time of the first satellite navigation system and the second satellite navigation system once every first preset time length until the number of acquisitions reaches the preset number of acquisitions.
可选地,本申请另一实施例提供的车辆控制器的时间同步装置中的第一采集单元采集车辆的当前网络时间时,用于:检测车辆的当前网络时间,并在第二预设时间长度内检测到车辆的当前网络时间时,采集检测到的车辆的当前网络时间。Optionally, when the first collection unit in the time synchronization device of the vehicle controller provided by another embodiment of the present application collects the current network time of the vehicle, it is used for: detecting the current network time of the vehicle, and at the second preset time. When the current network time of the vehicle is detected within the length, the current network time of the detected vehicle is collected.
可选地,本申请另一实施例提供的车辆控制器的时间同步装置中,还可以包括以下单元:Optionally, the time synchronization device for a vehicle controller provided by another embodiment of the present application may further include the following units:
第二判断单元,用于在第二预设时间长度内未检测到车辆的当前网络时间时,将记录的返回执行次数加一,并判断记录的返回执行次数是否大于预设返回次数。The second judging unit is configured to add one to the recorded return execution times when the current network time of the vehicle is not detected within the second preset time length, and determine whether the recorded return execution times is greater than the preset return times.
返回单元,用于在第二判断单元判断出记录的返回执行次数不大于预设返回次数时,返回第二采集单元执行在多个时刻同步采集第一卫星导航系统和第二卫星导航系统的导航时间。The returning unit is configured to return to the second acquisition unit to perform the synchronous acquisition of the navigation of the first satellite navigation system and the second satellite navigation system at multiple times when the second determination unit determines that the recorded number of times of return execution is not greater than the preset number of returns time.
第三确定单元,用于在第二判断单元判断出记录的返回执行次数大于预设返回次数时,将记录的返回执行次数清零,并在确定采集车辆的当前网络时间失败后,第一判断单元执行判断综合导航系统时间是否满足预设准确性要求。The third determining unit is configured to clear the recorded number of times of returning to zero when the second determining unit determines that the number of times of returning executions recorded is greater than the preset number of returning, and after determining that the collection of the current network time of the vehicle fails, the first determination The unit executes judgment whether the time of the integrated navigation system meets the preset accuracy requirement.
可选地,本申请另一实施例提供的车辆控制器的时间同步装置中的第一判断单元,包括:Optionally, the first judgment unit in the time synchronization device of the vehicle controller provided by another embodiment of the present application includes:
第一判断子单元,用于判断车辆搜索到的卫星的数量是否大于预设卫星数量。The first judging subunit is used for judging whether the number of satellites searched by the vehicle is greater than the preset number of satellites.
其中,若判断出车辆搜索到的卫星的数量大于预设卫星数量,则综合导航系统时间满足预设准确性要求;若判断出车辆搜索到的卫星的数量未大于预设卫星数量,则综合导航系统时间不满足预设准确性要求。Among them, if it is determined that the number of satellites searched by the vehicle is greater than the preset number of satellites, the integrated navigation system time meets the preset accuracy requirement; if it is determined that the number of satellites searched by the vehicle is not greater than the preset number of satellites, the integrated navigation system The system time does not meet the preset accuracy requirements.
可选地,本申请另一实施例提供的车辆控制器的时间同步装置中,还可以进一步包括以下单元:Optionally, the time synchronization device for a vehicle controller provided by another embodiment of the present application may further include the following units:
第三判断单元,用于在第一判断单元判断出当前导航系统时间不满足预设准确性要求之后,判断是否成功采集到车辆的当前网络时间。The third judging unit is configured to judge whether the current network time of the vehicle is successfully collected after the first judging unit judges that the current navigation system time does not meet the preset accuracy requirement.
其中,若第三判断单元判断出成功采集到车辆的当前网络时间,则第二确定单元执行将车辆的当前网络时间作为当前车辆的同步时间。Wherein, if the third determination unit determines that the current network time of the vehicle is successfully collected, the second determination unit executes to use the current network time of the vehicle as the synchronization time of the current vehicle.
第四确定单元,用于在第三判断单元判断出未成功采集到车辆的当前网络时间时,确定未获取到当前车辆的同步时间。The fourth determination unit is configured to determine that the synchronization time of the current vehicle is not acquired when the third determination unit determines that the current network time of the vehicle has not been successfully acquired.
需要说明的是,本申请上述实施例中的各个单元的具体工作过程可相应地参考上述方法实施例中的相应的步骤的实施过程,此处不再赘述。It should be noted that, for the specific working process of each unit in the foregoing embodiments of the present application, reference may be made to the implementation process of the corresponding steps in the foregoing method embodiments, which will not be repeated here.
本申请另一实施例提供了一种存储介质,用于存储计算机程序,计算机程序被执行时,实现如上述任意一个实施例提供车辆控制器的时间同步方法。Another embodiment of the present application provides a storage medium for storing a computer program. When the computer program is executed, the time synchronization method for a vehicle controller provided by any one of the foregoing embodiments is implemented.
其中,该存储介质为计算机存储介质,具体包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Wherein, the storage medium is a computer storage medium, specifically including permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory ( ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
本申请另一实施例提供了一种电子设备,如图5所示,包括:Another embodiment of the present application provides an electronic device, as shown in FIG. 5 , including:
存储器501和处理器502。
其中,存储器501用于存储程序。处理器502用于执行存储器501存储的程序,且该程序被执行时,具体用于实现如上述任意一个实施例提供的视频多模态模型的生成方法或实现如上述任意一个实施例提供的视频筛选方法。Among them, the
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of functionality. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, this application is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011347314.0A CN114545449A (en) | 2020-11-26 | 2020-11-26 | Time synchronization method and device for vehicle controller, electronic device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011347314.0A CN114545449A (en) | 2020-11-26 | 2020-11-26 | Time synchronization method and device for vehicle controller, electronic device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114545449A true CN114545449A (en) | 2022-05-27 |
Family
ID=81660341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011347314.0A Pending CN114545449A (en) | 2020-11-26 | 2020-11-26 | Time synchronization method and device for vehicle controller, electronic device, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114545449A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116131984A (en) * | 2023-01-06 | 2023-05-16 | 苏州浪潮智能科技有限公司 | Reference time determining method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705892A (en) * | 2002-10-22 | 2005-12-07 | 高通股份有限公司 | Method and apparatus for optimizing GPS-based position location in presence of time varying frequency error |
US20060103574A1 (en) * | 2004-11-12 | 2006-05-18 | Geier George J | Satellite positioning system receiver time determination in minimum satellite coverage |
CN110830141A (en) * | 2019-11-26 | 2020-02-21 | 北京小马智行科技有限公司 | Time synchronization method, system, storage medium and processor |
CN111756463A (en) * | 2019-03-29 | 2020-10-09 | 北京航迹科技有限公司 | Time synchronization system and method for vehicle |
-
2020
- 2020-11-26 CN CN202011347314.0A patent/CN114545449A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705892A (en) * | 2002-10-22 | 2005-12-07 | 高通股份有限公司 | Method and apparatus for optimizing GPS-based position location in presence of time varying frequency error |
US20060103574A1 (en) * | 2004-11-12 | 2006-05-18 | Geier George J | Satellite positioning system receiver time determination in minimum satellite coverage |
CN111756463A (en) * | 2019-03-29 | 2020-10-09 | 北京航迹科技有限公司 | Time synchronization system and method for vehicle |
CN110830141A (en) * | 2019-11-26 | 2020-02-21 | 北京小马智行科技有限公司 | Time synchronization method, system, storage medium and processor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116131984A (en) * | 2023-01-06 | 2023-05-16 | 苏州浪潮智能科技有限公司 | Reference time determining method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110830141B (en) | Time synchronization method, system, storage medium and processor | |
CN112102518B (en) | Synchronization method and device of vehicle maintenance reminding information, server and storage medium | |
US20220163348A1 (en) | Positioning method and electronic device | |
CN111624550B (en) | Vehicle positioning method, device, equipment and storage medium | |
CN110609308B (en) | Terminal position positioning method and device, storage medium and computer equipment | |
US9639999B2 (en) | System and method for estimating speed of a vehicle | |
CN113012429B (en) | Vehicle road multi-sensor data fusion method and system | |
CN115060289A (en) | Positioning trajectory accuracy evaluation method, device and electronic equipment, storage medium | |
CN114812595B (en) | State early warning method and device for fusion positioning, electronic equipment and storage medium | |
CN109982426A (en) | A kind of automatic driving vehicle sensing data offline synchronization method | |
CN114545449A (en) | Time synchronization method and device for vehicle controller, electronic device, and storage medium | |
CN113324560B (en) | A method, system and computer readable medium for obtaining vehicle mileage | |
CN115371689A (en) | Fusion positioning method and device for automatic driving vehicle and electronic equipment | |
CN113890668A (en) | Multi-sensor time synchronization method and device, electronic equipment and storage medium | |
CN104598574A (en) | Method and device for storing massive GPS (global positioning system) data | |
CN117708074A (en) | Data verification method and electronic equipment | |
CN103837130B (en) | Data processing method and device for airborne laser scanning system | |
CN114993332A (en) | Fusion positioning method and device for automatic driving vehicle and electronic equipment | |
CN107302748B (en) | Positioning method and device | |
CN115755131A (en) | Method, device and medium for satellite positioning | |
CN114006672A (en) | Vehicle-mounted multi-sensor data synchronous acquisition method and system | |
CN111124592B (en) | Simulation task execution method and device | |
CN114488229A (en) | Positioning accuracy determination method, positioning device, positioning equipment and storage medium | |
CN115248041A (en) | Transmission method, device, medium and electronic equipment for combined positioning measurement data | |
CN115407381B (en) | A method and device for measuring posture |
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 |