Auxiliary driving method, device and equipment and medium

The system-level chip uses coordinated world time and historical system time to determine real-world time in autonomous vehicles, which solves the problem of time synchronization deviation of autonomous vehicles when they cannot receive GPS, ensures time continuity and log comparability, and improves the Adaptation ability and log check efficiency of assisted driving.

CN119094074APending Publication Date: 2024-12-06IMOTION AUTOMOTIVE TECH (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411280949.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When an autonomous vehicle cannot receive GPS time, the system time is deviated from the real time, causing the time to jump simultaneously, which may cause the crash of the autonomous driving algorithm and difficulty in logging.

Method used

Using system-level chips as time synchronization source, determine real-world time through pre-acquisitioned coordinated world time and historical system time, and synchronize it to the hardware clock to ensure time continuity and authenticity, so as to perform assisted driving services in any scenario And log.

Benefits of technology

It avoids the problem of time synchronization jump, improves the scenario adaptability of assisted driving, and reduces the difficulty of logging through real-world time, ensuring the comparability and troubleshootability of business logs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094074A_ABST
    Figure CN119094074A_ABST
Patent Text Reader

Abstract

The invention discloses an auxiliary driving method, device and equipment and a medium, and relates to the field of auxiliary driving, and the method comprises the steps that a system-on-chip as a time synchronization source determines real world time corresponding to current system time based on pre-acquired coordinated world time and corresponding historical system time; the system time is obtained through a system clock in the system-on-chip; synchronizing the real world time to a hardware clock in the system-on-chip, so that the world time of the hardware clock corresponds to the system time of the system clock; when the auxiliary driving service is executed based on the system time obtained from the system clock in real time, a service log is recorded based on the world time obtained from the hardware clock in real time, so that service information is provided for the auxiliary driving service based on a checking result of the service log. According to the method, the system-on-chip serves as a time synchronization source, the auxiliary driving service is executed in any scene through the continuous system time, and the service log is recorded based on the world time so as to reduce the log checking difficulty.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of assisted driving, and in particular to an assisted driving method, device, equipment and medium. Background Art

[0002] In autonomous vehicles, time synchronization is an important technology that involves the coordinated work between various subsystems within the vehicle, as well as the coordination between the vehicle and the external environment (such as other vehicles, traffic lights, road facilities, etc.). In addition, the requirements for time synchronization in autonomous driving algorithms are extremely high. If the time jumps by more than milliseconds, it is very easy to cause the autonomous driving algorithm to crash.

[0003] At present, most of the time synchronization sources for autonomous driving use the GPS (Global Positioning System) clock source, which means that time synchronization can only be performed in scenarios where GPS time can be received. In special scenarios such as underground garages where GPS cannot be received, since the autonomous driving time cannot be synchronized, only the system time can be used, but the system time generally deviates from the real time. When the vehicle drives to a scenario where GPS time can be received, the system time will be automatically synchronized to the GPS time. At this time, a sudden jump from the system time to the GPS time can easily cause the autonomous driving algorithm to crash, thereby causing serious traffic accidents. In addition, the recording time of autonomous driving related logs has become difficult to control, making it difficult for users to check logs. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide an assisted driving method, device, equipment and medium, which can use the system-level chip as the time synchronization source and perform assisted driving services based on the system time, so that the assisted driving services can be performed in any scenario through continuous time, and the service logs are recorded based on the real world time, so that the logs can be checked through the real world time to reduce the difficulty of troubleshooting. The specific scheme is as follows:

[0005] In a first aspect, the present application provides an assisted driving method, which is applied to a target system-level chip as a time synchronization source, comprising:

[0006] Determine the real world time corresponding to the current system time based on the pre-acquired coordinated universal time and the historical system time corresponding to the coordinated universal time; wherein the historical system time and the current system time are both times acquired from the system clock in the target system-level chip;

[0007] Synchronizing the real world time to a first hardware clock in the target SoC so that the world time of the first hardware clock corresponds to the system time of the system clock;

[0008] When executing the assisted driving service based on the system time obtained in real time from the system clock, the corresponding service log is recorded based on the world time obtained in real time from the first hardware clock, so as to provide corresponding service information for the assisted driving service based on the results of checking the service log.

[0009] Optionally, determining the real world time corresponding to the current system time based on the pre-acquired coordinated universal time and the historical system time corresponding to the coordinated universal time includes:

[0010] The current system time is modified based on the time difference between the coordinated universal time and the historical system time to obtain the corresponding real world time.

[0011] Optionally, before determining the real world time corresponding to the current system time based on the pre-acquired coordinated universal time and the historical system time corresponding to the coordinated universal time, the method further includes:

[0012] In the process of the time synchronization control unit acquiring the time synchronization signal and the coordinated universal time sent simultaneously by the peripheral device, the historical system time corresponding to the coordinated universal time is acquired from the system clock based on the time synchronization signal acquired first, and the historical system time and the coordinated universal time acquired later are sent to the target system-level chip, so that the target system-level chip acquires the current system time from the system clock when the coordinated universal time and the historical system time are acquired.

[0013] Optionally, if the peripheral device is a positioning box whose positioning accuracy meets preset high-precision requirements, the time synchronization signal is a second pulse signal, and the time synchronization signal and the coordinated universal time are information sent by the peripheral device to the time synchronization control unit simultaneously every second.

[0014] Optionally, the historical system time acquired by the time synchronization control unit is the historical system time synchronized by the target system-level chip to the time synchronization control unit based on a precise time synchronization protocol.

[0015] Optionally, the method further includes:

[0016] The system time obtained in real time from the system clock and the world time obtained in real time from the first hardware clock are synchronized to any system-level chip, so that when any system-level chip performs assisted driving services based on the system time synchronized with the target system-level chip, the corresponding service log is recorded based on the world time synchronized with the target system-level chip.

[0017] Optionally, the method further includes:

[0018] Synchronize the system time acquired in real time from the system clock to any system-level chip, so that when any system-level chip acquires the coordinated universal time and the historical system time, it acquires the system time currently synchronized by the target system-level chip, and synchronizes the current world time to a second hardware clock in any system-level chip, so that the world time of the second hardware clock is consistent with the world time of the first hardware clock, and when performing an assisted driving service based on the system time synchronized by the target system-level chip, record a corresponding service log based on the world time acquired in real time from the second hardware clock;

[0019] The current world time is the time corresponding to the currently synchronized system time determined based on the coordinated universal time and the historical system time; and the currently synchronized system time is the same as the current system time, and the current world time is the same as the real world time.

[0020] In a second aspect, the present application provides an auxiliary driving device, which is applied to a target system-level chip as a time synchronization source, including:

[0021] A time determination module, configured to determine a real world time corresponding to a current system time based on a pre-acquired coordinated universal time and a historical system time corresponding to the coordinated universal time; wherein both the historical system time and the current system time are times acquired from a system clock in the target system-level chip;

[0022] a time synchronization module, configured to synchronize the real world time to a first hardware clock in the target system-on-chip, so that the world time of the first hardware clock corresponds to the system time of the system clock;

[0023] The assisted driving module is used to record the corresponding business log based on the world time obtained in real time from the first hardware clock when performing the assisted driving service based on the system time obtained in real time from the system clock, so as to provide corresponding business information for the assisted driving service based on the results of checking the business log.

[0024] In a third aspect, the present application provides an electronic device, including:

[0025] Memory, used to store computer programs;

[0026] A processor is used to execute the computer program to implement the aforementioned assisted driving method.

[0027] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, which implements the aforementioned assisted driving method when executed by a processor.

[0028] In the present application, the target system-level chip serving as a time synchronization source determines the real world time corresponding to the current system time based on the pre-acquired coordinated universal time and the historical system time corresponding to the coordinated universal time; wherein the historical system time and the current system time are both times obtained from the system clock in the target system-level chip; the real world time is synchronized to the first hardware clock in the target system-level chip so that the world time of the first hardware clock corresponds to the system time of the system clock; when performing assisted driving services based on the system time obtained in real time from the system clock, the corresponding service logs are recorded based on the world time obtained in real time from the first hardware clock, so as to provide corresponding service information for the assisted driving services based on the results of checking the service logs. It can be seen from the above technical solution that the present application uses the target system-level chip as the time synchronization source, and performs the assisted driving service based on the system time obtained in real time from the system clock in the target system-level chip. Since the assisted driving algorithm does not rely on the authenticity of time, but relies on the continuity of time, the present application performs the assisted driving service by always using the system time of the system clock, and does not need to synchronize the system time to the real time in the scene where the real time can be received, thereby avoiding the problem of time jump and ensuring the continuity of time, so that the assisted driving service can be performed in any scene, and the scene adaptability of the assisted driving is improved. In addition, based on the relationship between world time and system time, the present application uses the real world time to synchronize the hardware clock in the target system-level chip, so that the hardware clock represents the real world time, and the real world time of the hardware clock is used to record the business log generated when the assisted driving service is executed, so that the user can compare and check the business log according to the real world time, reducing the problem of log troubleshooting difficulties caused by recording business logs with system time. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0030] Figure 1 A flowchart of an assisted driving method disclosed in this application;

[0031] Figure 2 A specific assisted driving architecture diagram disclosed in this application;

[0032] Figure 3 This is a schematic diagram of the structure of an auxiliary driving device disclosed in this application;

[0033] Figure 4 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] In some special scenarios where GPS cannot be received, since the autonomous driving time cannot be synchronized, only the system time can be used, but the system time generally deviates from the real time. When the vehicle travels to a scenario where the GPS time can be received, the system time will suddenly jump to the GPS time, which can easily cause the autonomous driving algorithm to crash, thereby causing serious traffic accidents. In addition, the recording time of autonomous driving related logs also becomes difficult to control, making it difficult for users to check logs. To this end, the present application provides an assisted driving method, which uses a system-level chip as a time synchronization source and executes assisted driving services based on system time, so that assisted driving services can be executed in any scenario through continuous time, and business logs are recorded based on real-world time, so that logs are checked through real-world time to reduce the difficulty of troubleshooting.

[0036] See also Figure 1 As shown, an embodiment of the present invention discloses an assisted driving method, which is applied to a target system-level chip as a time synchronization source, including:

[0037] Step S11, determining the real world time corresponding to the current system time based on the pre-acquired Coordinated Universal Time and the historical system time corresponding to the Coordinated Universal Time; wherein the historical system time and the current system time are both times acquired from the system clock in the target system-level chip.

[0038] Since the autonomous driving algorithm does not need to rely on the authenticity of time, but on the continuity of time, and considering that the system clock can provide the system time in any scenario, this embodiment selects a system-on-chip (SOC) with a system clock as the time synchronization source for executing the assisted driving service. However, if the service log is recorded in system time, it is easy to make it difficult for users to check the log according to the real world time. Therefore, the service log still needs to be recorded in real world time.

[0039] How does the target SoC as a time synchronization source determine the real world time? Specifically, the real world time corresponding to the current system time is determined based on the pre-acquired Coordinated Universal Time (UTC) and the historical system time corresponding to the Coordinated Universal Time. The historical system time and the current system time are both obtained from the system clock in the target SoC.

[0040] According to one embodiment, the time difference between the coordinated universal time and the historical system time corresponding to the coordinated universal time is calculated, and the current system time is modified based on the time difference to obtain the corresponding real world time. The specific calculation formula involved is: TG=TD+|T1-T0|; TG represents the real world time, TD represents the current system time, T1 represents the historical system time, and T0 represents the coordinated universal time.

[0041] Before determining the real world time corresponding to the current system time based on the Coordinated Universal Time and the historical system time, the target system-level chip needs to first obtain the Coordinated Universal Time and the historical system time. When the target system-level chip obtains the Coordinated Universal Time and the historical system time, it obtains the current system time from the system clock in the target system-level chip.

[0042] Specifically, the peripheral device simultaneously sends a time synchronization signal and a coordinated universal time to the time synchronization control unit; and in the process of the time synchronization control unit acquiring the time synchronization signal and the coordinated universal time simultaneously sent by the peripheral device, the historical system time corresponding to the coordinated universal time is acquired from the system clock in the target system-level chip based on the time synchronization signal acquired first, and the historical system time and the coordinated universal time acquired later are sent to the target system-level chip, so that when the target system-level chip acquires the coordinated universal time and the historical system time, it acquires the current system time from the local system clock.

[0043] According to one of the embodiments, the time synchronization control unit may adopt a microcontroller unit (MCU), and the time synchronization control unit includes a time synchronization module and a switch. The specific working process of the time synchronization control unit includes: the time synchronization module in the time synchronization control unit obtains the time synchronization signal and the coordinated universal time sent simultaneously by the peripheral device, and obtains the historical system time from the system clock in the target system-level chip when the time synchronization signal is obtained. At this time, the historical system time is the time corresponding to the coordinated universal time, and then the coordinated universal time and the historical system time are sent to the target system-level chip via the switch. It should be noted that in general, the transmission speed of the time synchronization signal is faster than the transmission speed of the coordinated universal time, so the time synchronization module in the time synchronization control unit will first obtain the time synchronization signal and then obtain the coordinated universal time.

[0044] Among them, for the Coordinated Universal Time, the Coordinated Universal Time can also be encapsulated into a time message, so that the time message sent by the peripheral device can be obtained through the time synchronization module in the time synchronization control unit, and the obtained time message can be parsed to obtain the Coordinated Universal Time.

[0045] Among them, for peripherals, a positioning box whose positioning accuracy meets the preset high-precision requirements can be selected. The preset high-precision requirements can be set according to the user's assisted driving requirements and are not limited here; for example, the peripheral can use PBox (Positioning Box, high-precision positioning box), which is usually composed of GNSS (Global Navigation Satellite System), IMU (Inertial Measurement Unit) and computing chip, and is a key component for achieving high-precision positioning in assisted driving.

[0046] It should be noted that when the peripheral is a positioning box whose positioning accuracy meets the preset high-precision requirements, the time synchronization signal can be a pulse per second signal (PPS), where the pulse per second signal represents the number of pulses per second. On this basis, the time synchronization signal and the coordinated universal time can be information sent by the peripheral to the time synchronization control unit at the same time every second. The pulse per second signal can be used to accurately synchronize time to the millisecond level, thereby improving the accuracy of time synchronization. Time synchronization will be continuously performed in seconds, thereby reducing the error in determining the real world time.

[0047] It should also be noted that the historical system time obtained by the time synchronization control unit is the historical system time of the target system-level chip synchronized to the time synchronization control unit based on the Generalized Precision Time Protocol (GPTP), and the time synchronization control unit sends the coordinated universal time and historical system time to the target system-level chip via ETH (EtherNet).

[0048] Step S12: Synchronize the real world time to a first hardware clock in the target system-on-chip, so that the world time of the first hardware clock corresponds to the system time of the system clock.

[0049] In this embodiment, when the target SoC determines the real world time, the real world time is synchronized to the first hardware clock in the target SoC, so that the first hardware clock reflects the real world time, and the world time of the first hardware clock in the target SoC corresponds to the system time of the system clock in the target SoC. The hardware clock may be an Ethernet hardware clock.

[0050] Step S13: When executing the assisted driving service based on the system time obtained in real time from the system clock, the corresponding service log is recorded based on the world time obtained in real time from the first hardware clock, so as to provide corresponding service information for the assisted driving service based on the results of checking the service log.

[0051] In this embodiment, the target system-level chip performs the assisted driving service based on the continuous system time obtained in real time from the local system clock, and when performing the assisted driving service, records the service log related to the assisted driving service based on the world time obtained in real time from the local first hardware clock, so as to use the world time to check the service log, and provide corresponding service information for the assisted driving service based on the log check result, so as to better perform the assisted driving service. Among them, the assisted driving service includes the perception service for perceiving the surrounding environment, the map service for providing digital maps and positioning navigation, etc. In this way, this embodiment can not only perform the assisted driving service in any scenario according to the continuous system time, but also record the relevant service logs according to the real world time, so that the user can check the service log based on the real world time.

[0052] It should be noted that this embodiment also supports time synchronization between multiple system-level chips. Specifically, in addition to the target system-level chip as the time synchronization source, there are several system-level chips that communicate data with the time synchronization control unit through Ethernet, and synchronize time with the target system-level chip as the time synchronization source based on the precise time synchronization protocol, that is, several system-level chips all use the target system-level chip as the time synchronization source. In addition, some sensors, cameras and other modules required for assisted driving can also be set in several system-level chips to realize assisted driving services, thereby greatly reducing the computing power load on the target system-level chip as the time synchronization source; and because several system-level chips all use the target system-level chip as the time synchronization source, the timestamps of the business logs related to the assisted driving business recorded by several system-level chips are consistent with the target system-level chip, so that the business logs recorded in different system-level chips can be fused and processed.

[0053] According to one of the embodiments, for any system-level chip among several system-level chips except the target system-level chip that serves as the time synchronization source, the system time obtained in real time from the local system clock is synchronized to any system-level chip through the target system-level chip based on the precise time synchronization protocol, and the world time obtained in real time from the local first hardware clock is synchronized to any system-level chip based on the precise time synchronization protocol, so that any system-level chip can perform assisted driving services based on the system time synchronized by the target system-level chip, and when performing assisted driving services, the corresponding service log is recorded based on the world time synchronized by the target system-level chip.

[0054] According to another embodiment, for any of the several SoCs except the target SoC as the time synchronization source, the system time obtained in real time from the local system clock is synchronized to any SoC through the target SoC based on the precise time synchronization protocol, so that any SoC determines the current synchronized system time of the target SoC when obtaining the coordinated universal time and the historical system time sent by the time synchronization control unit, and determines the current world time corresponding to the currently synchronized system time based on the coordinated universal time and the historical system time, and then synchronizes the current world time to the local second hardware clock, so that the world time of the second hardware clock is consistent with the world time of the first hardware clock, and when the assisted driving service is performed based on the system time synchronized by the target SoC, the corresponding service log is recorded based on the world time obtained in real time from the local second hardware clock. Among them, the currently synchronized system time is the same as the current system time, and the current world time is the same as the real world time, that is, the world time represented in real time by the first hardware clock in the target SoC and the second hardware clock in any SoC is the same, so that the timestamp of the service log related to the assisted driving service recorded by any SoC is consistent with the target SoC.

[0055] It can be seen from the above technical solution that the present application uses the target system-level chip as the time synchronization source, and performs the assisted driving service based on the system time obtained in real time from the system clock in the target system-level chip. Since the assisted driving algorithm does not rely on the authenticity of time, but relies on the continuity of time, the present application performs the assisted driving service by always using the system time of the system clock, and does not need to synchronize the system time to the real time in the scene where the real time can be received, thereby avoiding the problem of time jump and ensuring the continuity of time, so that the assisted driving service can be performed in any scene, and the scene adaptability of the assisted driving is improved. In addition, based on the relationship between world time and system time, the present application uses the real world time to synchronize the hardware clock in the target system-level chip, so that the hardware clock represents the real world time, and the real world time of the hardware clock is used to record the business log generated when the assisted driving service is executed, so that the user can compare and check the business log according to the real world time, reducing the problem of log troubleshooting difficulties caused by recording business logs with system time.

[0056] See also Figure 2 As shown, an embodiment of the present invention discloses an assisted driving method, including:

[0057] The high-precision positioning box sends the PPS second pulse signal and UTC Coordinated Universal Time (T0) to the time synchronization module in the MCU microcontroller unit at the same time every second.

[0058] The time synchronization module in the microcontroller unit obtains the second pulse signal and coordinated universal time sent simultaneously by the high-precision positioning box, and when the second pulse signal is obtained, the corresponding historical system time (T1) is obtained from the system clock in the system-level chip SOC0 based on the GPTP protocol, and then the coordinated universal time and historical system time are sent to the local switch, so that the switch can send the coordinated universal time and historical system time to the system-level chips SOC0, SOC1 and SOC2 via ETH Ethernet.

[0059] The coordinated universal time and the historical system time are obtained through the time service module in the system-level chip SOC0, and when the coordinated universal time and the historical system time are obtained, the current system time (TD) is obtained from the system clock in the system-level chip SOC0, and the real world time (TG) corresponding to the current system time is determined based on the time difference between the coordinated universal time and the historical system time, and then the real world time is synchronized to the first hardware clock in the system-level chip SOC0, so that the world time of the first hardware clock corresponds to the system time of the system clock. Further, when the assisted driving service in the assisted driving service module is executed based on the system time obtained in real time from the system clock in the system-level chip SOC0, the corresponding service log is recorded based on the world time obtained in real time from the first hardware clock in the system-level chip SOC0, so as to provide corresponding service information for the assisted driving service based on the results of the investigation of the service log. Among them, the first hardware clock and the system clock in the system-level chip SOC0 are both located in the Linux operating system in the system-level chip SOC0.

[0060] For the system-level chip SOC1 and SOC2, data communication is performed with the microcontroller unit via ETH Ethernet, and time synchronization is performed with the system-level chip SOC0 as the time synchronization source based on the GPTP protocol, that is, the system-level chip SOC1 and SOC2 both use the system-level chip SOC0 as the time synchronization source. In addition, the internal structure of the system-level chip SOC1 and SOC2 is the same as that of the system-level chip SOC0, for example, both include a time service module, a system clock, a hardware clock, and an auxiliary driving service module.

[0061] Furthermore, since both the SoC SOC1 and SOC2 use the SoC SOC0 as the time synchronization source, the SoC SOC1 and SOC2 can obtain the system time synchronized by the SoC SOC0 from the local system clock in real time based on the GPTP protocol, and perform the assisted driving service based on the system time synchronized by the SoC SOC0, and can also record the corresponding service logs based on the real-time world time. At the same time, the timestamps of the service logs recorded by the SoC SOC1 and SOC2 are the same as the timestamps of the service logs recorded by the SoC SOC0.

[0062] It can be seen that the present application uses the system-level chip as the time synchronization source, and performs the assisted driving service based on the system time obtained in real time from the system clock in the system-level chip. Since the assisted driving algorithm does not rely on the authenticity of time, but relies on the continuity of time, the present application performs the assisted driving service by always using the system time of the system clock, and does not need to synchronize the system time to the real time in the scene where the real time can be received, thereby avoiding the problem of time jump and ensuring the continuity of time, so that the assisted driving service can be performed in any scene, and the scene adaptability of the assisted driving is improved. In addition, based on the relationship between world time and system time, the present application uses the real world time to synchronize the hardware clock in the system-level chip, so that the hardware clock represents the real world time, and the real world time of the hardware clock is used to record the business log generated when the assisted driving service is executed, so that the user can compare and check the business log according to the real world time, reducing the problem of log troubleshooting difficulties caused by recording business logs with system time.

[0063] See also Figure 3 As shown, an embodiment of the present invention discloses an auxiliary driving device, which is applied to a target system-level chip as a time synchronization source, including:

[0064] A time determination module 11 is used to determine the real world time corresponding to the current system time based on the pre-acquired coordinated universal time and the historical system time corresponding to the coordinated universal time; wherein the historical system time and the current system time are both times acquired from the system clock in the target system-level chip;

[0065] A time synchronization module 12, configured to synchronize the real world time to a first hardware clock in the target system-on-chip, so that the world time of the first hardware clock corresponds to the system time of the system clock;

[0066] The assisted driving module 13 is used to record the corresponding business log based on the world time obtained in real time from the first hardware clock when performing the assisted driving service based on the system time obtained in real time from the system clock, so as to provide corresponding business information for the assisted driving service based on the results of checking the business log.

[0067] It can be seen from the above technical solution that the present application uses the target system-level chip as the time synchronization source, and performs the assisted driving service based on the system time obtained in real time from the system clock in the target system-level chip. Since the assisted driving algorithm does not rely on the authenticity of time, but relies on the continuity of time, the present application performs the assisted driving service by always using the system time of the system clock, and does not need to synchronize the system time to the real time in the scene where the real time can be received, thereby avoiding the problem of time jump and ensuring the continuity of time, so that the assisted driving service can be performed in any scene, and the scene adaptability of the assisted driving is improved. In addition, based on the relationship between world time and system time, the present application uses the real world time to synchronize the hardware clock in the target system-level chip, so that the hardware clock represents the real world time, and the real world time of the hardware clock is used to record the business log generated when the assisted driving service is executed, so that the user can compare and check the business log according to the real world time, reducing the problem of log troubleshooting difficulties caused by recording business logs with system time.

[0068] In some specific embodiments, the time determination module 11 includes:

[0069] The world time acquisition unit is used to modify the current system time based on the time difference between the coordinated universal time and the historical system time to obtain the corresponding real world time.

[0070] In some specific embodiments, the auxiliary driving device further includes:

[0071] A system time acquisition unit is used to acquire a historical system time corresponding to the coordinated universal time from the system clock based on the time synchronization signal acquired first during the process in which the time synchronization control unit acquires the time synchronization signal and the coordinated universal time sent simultaneously by the peripheral device, and send the historical system time and the coordinated universal time acquired later to the target system-level chip, so that the target system-level chip acquires the current system time from the system clock when acquiring the coordinated universal time and the historical system time.

[0072] In some specific embodiments, if the peripheral is a positioning box whose positioning accuracy meets the preset high-precision requirements, the time synchronization signal is a second pulse signal, and the time synchronization signal and the coordinated universal time are information sent by the peripheral to the time synchronization control unit simultaneously every second.

[0073] In some specific embodiments, the historical system time acquired by the time synchronization control unit is the historical system time synchronized by the target system-level chip to the time synchronization control unit based on a precise time synchronization protocol.

[0074] In some specific embodiments, the auxiliary driving device further includes:

[0075] The first time synchronization unit is used to synchronize the system time obtained in real time from the system clock and the world time obtained in real time from the first hardware clock to any system-level chip, so that when any system-level chip performs assisted driving services based on the system time synchronized with the target system-level chip, the corresponding service log is recorded based on the world time synchronized with the target system-level chip.

[0076] In some specific embodiments, the auxiliary driving device further includes:

[0077] A second time synchronization unit is used to synchronize the system time obtained in real time from the system clock to any system-level chip, so that any system-level chip obtains the system time currently synchronized by the target system-level chip when obtaining the coordinated universal time and the historical system time, and synchronizes the current world time to a second hardware clock in any system-level chip, so that the world time of the second hardware clock is consistent with the world time of the first hardware clock, and when performing an assisted driving service based on the system time synchronized by the target system-level chip, a corresponding service log is recorded based on the world time obtained in real time from the second hardware clock;

[0078] The current world time is the time corresponding to the currently synchronized system time determined based on the coordinated universal time and the historical system time; and the currently synchronized system time is the same as the current system time, and the current world time is the same as the real world time.

[0079] Furthermore, the present application also discloses an electronic device. Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0080] Figure 4 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the assisted driving method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0081] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0082] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0083] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, and may be Windows Server, Netware, Unix, Linux, etc. In addition to computer programs that can be used to complete the assisted driving method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 may further include computer programs that can be used to complete other specific tasks.

[0084] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the aforementioned disclosed assisted driving method. The specific steps of the method can refer to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.

[0085] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0086] Professionals may further appreciate 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 interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0087] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0088] Finally, it should be noted that, in this article, 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 any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0089] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A driving assistance method, characterized in that: Applicable to target SoCs as time synchronization sources, including: Determine the real world time corresponding to the current system time based on the pre-acquired coordinated universal time and the historical system time corresponding to the coordinated universal time; wherein the historical system time and the current system time are both times acquired from the system clock in the target system-level chip; Synchronizing the real world time to a first hardware clock in the target SoC so that the world time of the first hardware clock corresponds to the system time of the system clock; When executing the assisted driving service based on the system time obtained in real time from the system clock, the corresponding service log is recorded based on the world time obtained in real time from the first hardware clock, so as to provide corresponding service information for the assisted driving service based on the results of checking the service log.

2. The assisted driving method according to claim 1, characterized in that: The determining the real world time corresponding to the current system time based on the pre-acquired coordinated universal time and the historical system time corresponding to the coordinated universal time comprises: The current system time is modified based on the time difference between the coordinated universal time and the historical system time to obtain the corresponding real world time.

3. The assisted driving method according to claim 1, characterized in that: Before determining the real world time corresponding to the current system time based on the pre-acquired coordinated universal time and the historical system time corresponding to the coordinated universal time, the method further includes: In the process of the time synchronization control unit acquiring the time synchronization signal and the coordinated universal time sent simultaneously by the peripheral device, the historical system time corresponding to the coordinated universal time is acquired from the system clock based on the time synchronization signal acquired first, and the historical system time and the coordinated universal time acquired later are sent to the target system-level chip, so that the target system-level chip acquires the current system time from the system clock when the coordinated universal time and the historical system time are acquired.

4. The assisted driving method according to claim 3, characterized in that: If the peripheral device is a positioning box whose positioning accuracy meets the preset high-precision requirements, the time synchronization signal is a second pulse signal, and the time synchronization signal and the coordinated universal time are information sent by the peripheral device to the time synchronization control unit simultaneously every second.

5. The assisted driving method according to claim 3, characterized in that: The historical system time acquired by the time synchronization control unit is the historical system time synchronized to the time synchronization control unit by the target system-level chip based on a precise time synchronization protocol.

6. The assisted driving method according to any one of claims 1 to 5, characterized in that: Also includes: The system time obtained in real time from the system clock and the world time obtained in real time from the first hardware clock are synchronized to any system-level chip, so that when any system-level chip performs assisted driving services based on the system time synchronized with the target system-level chip, the corresponding service log is recorded based on the world time synchronized with the target system-level chip.

7. The assisted driving method according to any one of claims 1 to 5, characterized in that: Also includes: Synchronize the system time acquired in real time from the system clock to any system-level chip, so that when any system-level chip acquires the coordinated universal time and the historical system time, it acquires the system time currently synchronized by the target system-level chip, and synchronizes the current world time to a second hardware clock in any system-level chip, so that the world time of the second hardware clock is consistent with the world time of the first hardware clock, and when performing an assisted driving service based on the system time synchronized by the target system-level chip, record a corresponding service log based on the world time acquired in real time from the second hardware clock; Among them, the current world time is the time corresponding to the currently synchronized system time determined based on the coordinated universal time and the historical system time; and the currently synchronized system time is the same as the current system time, and the current world time is the same as the real world time.

8. A driving assistance device, characterized in that: Applicable to target SoCs as time synchronization sources, including: A time determination module, configured to determine a real world time corresponding to a current system time based on a pre-acquired coordinated universal time and a historical system time corresponding to the coordinated universal time; wherein both the historical system time and the current system time are times acquired from a system clock in the target system-level chip; a time synchronization module, configured to synchronize the real world time to a first hardware clock in the target system-on-chip, so that the world time of the first hardware clock corresponds to the system time of the system clock; The assisted driving module is used to record the corresponding business log based on the world time obtained in real time from the first hardware clock when performing the assisted driving service based on the system time obtained in real time from the system clock, so as to provide corresponding business information for the assisted driving service based on the results of checking the business log.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the assisted driving method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the assisted driving method as described in any one of claims 1 to 7.