Heterogeneous multi-core timestamp determination method and device, equipment, medium and product

By obtaining and storing the timestamps of the image processing device and the microprocessing device in a heterogeneous multi-core environment, the problem of timestamp differences when processing image data by heterogeneous multi-cores is solved, the accuracy and consistency of the timestamps are achieved, and the efficiency of the timestamps is improved. processing efficiency.

CN118840249APending Publication Date: 2024-10-25HUIZHOU DESAY SV AUTOMOTIVE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410862029.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

When heterogeneous multi-cores process image data, the timestamps of the same frame of image data are different, making it difficult to ensure the accuracy and consistency of the timestamps.

Method used

The image processing device receives the hardware interrupt signal to obtain the current frame image data and system timestamp, sends a timestamp request signal to the microprocessing device, obtains the target logical timestamp and the target coordination timestamp, and stores these timestamps after the processing is completed to Ensure timestamp accuracy and consistency of image data.

Benefits of technology

It achieves the accuracy and consistency of image data timestamps in a heterogeneous multi-core environment, reduces the frequency of system calls, reduces time errors, and improves processing efficiency and real-time performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118840249A_ABST
    Figure CN118840249A_ABST
Patent Text Reader

Abstract

The invention discloses a heterogeneous multi-core timestamp determination method and device, equipment, a medium and a product. The method comprises the following steps: when the image processing device receives a hardware interrupt signal, acquiring current frame image data and a first system timestamp of the current frame image data; transmitting, by the image processing device, a timestamp request signal to the microprocessing device; receiving the timestamp request signal through the microprocessing device to obtain a target logic timestamp and a target coordination timestamp corresponding to the current frame image data; and storing the data address, the first system timestamp, the target logic timestamp and the target coordination timestamp corresponding to the processed image data into the first structural body through the image processing device. The system timestamp of the image processing device and the logic timestamp and the coordination timestamp in the micro-processing device can be adopted to jointly record the processing process of the image data in the image processing device, so that the accuracy and the consistency of the timestamps of the image data are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a method, device, equipment, medium and product for determining a heterogeneous multi-core timestamp. Background Art

[0002] ARM core and ISP (Image Signal Processing) core are the two most important different types of processing cores in the intelligent driving SOC (System on Chip) chip. Among them, the ARM core is the microprocessing device in the SOC chip, and the ISP core is the image processing device in the SOC chip. The visual sensor sends the collected image data to the ISP core for preprocessing, and then it is used and managed by the ARM core. The inter-core IPC (Internet Process Connection) is the bridge for image data interaction.

[0003] Since the two cores are relatively independent and have large differences in clock frequency, the processing cores use different beats and the clock references of the two systems are inconsistent. When the ARM core and the ISP core process image data, there will be differences in the timestamps representing the same frame of image data, making it difficult to ensure the accuracy and consistency of the timestamps of the same frame of image data. Summary of the invention

[0004] The embodiments of the present invention provide a heterogeneous multi-core timestamp determination method, device, equipment, medium and product, which solves the problem that when heterogeneous multi-cores process image data, there are differences in timestamps representing the same frame of image data, making it difficult to ensure the accuracy and consistency of the timestamps of the same frame of image data.

[0005] According to one aspect of the present invention, a method for determining a heterogeneous multi-core timestamp is provided, comprising:

[0006] When the image processing device receives the hardware interrupt signal, the image data of the current frame and the first system timestamp corresponding to the image data of the current frame are obtained;

[0007] Sending a timestamp request signal to a microprocessor through an image processing device, wherein the timestamp request signal is determined by the image processing device according to the current frame image data and the first system timestamp, and the image processing device and the microprocessor are in the same system-on-chip;

[0008] The microprocessor receives a timestamp request signal to obtain a target logic timestamp and a target coordination timestamp corresponding to the current frame image data;

[0009] After the processing of the current frame image data is completed, the data address, first system timestamp, target logical timestamp and target coordination timestamp corresponding to the processed image data are stored in the first structure through the image processing device, so that the processed image data, first system timestamp, target logical timestamp and target coordination timestamp can be obtained by calling the first structure through the image processing device.

[0010] According to another aspect of the present invention, a heterogeneous multi-core timestamp determination device is provided, the heterogeneous multi-core timestamp determination device comprising:

[0011] An acquisition module, used for acquiring current frame image data and a first system timestamp corresponding to the current frame image data when the image processing device receives a hardware interrupt signal;

[0012] a sending module, configured to send a timestamp request signal to a microprocessing device through an image processing device, wherein the timestamp request signal is determined by the image processing device according to the current frame image data and the first system timestamp, and the image processing device and the microprocessing device are in the same system-on-chip;

[0013] An obtaining module is used to receive a timestamp request signal through a microprocessor device, and obtain a target logic timestamp and a target coordination timestamp corresponding to the current frame image data;

[0014] A storage module is used to store the data address, first system timestamp, target logical timestamp and target coordination timestamp corresponding to the processed image data in a first structure through an image processing device after the processing of the current frame image data is completed, so as to call the first structure through the image processing device to obtain the processed image data, first system timestamp, target logical timestamp and target coordination timestamp.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the heterogeneous multi-core timestamp determination method described in any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the heterogeneous multi-core timestamp determination method described in any embodiment of the present invention when executed.

[0020] According to another aspect of the present invention, a computer program product is provided. When the computer program is executed by a processor, the computer program implements the heterogeneous multi-core timestamp determination method as described in any one of the embodiments of the present invention.

[0021] The embodiment of the present invention obtains the current frame image data and the first system timestamp corresponding to the current frame image data when the image processing device receives a hardware interrupt signal; sends a timestamp request signal to a microprocessor through the image processing device, wherein the timestamp request signal is determined by the image processing device according to the current frame image data and the first system timestamp, and the image processing device and the microprocessor are in the same system-level chip; receives the timestamp request signal through the microprocessor to obtain the target logical timestamp and the target coordination timestamp corresponding to the current frame image data; after the processing of the current frame image data is completed, the image processing device sends the data address corresponding to the processed image data to the image processing device. The address, the first system timestamp, the target logical timestamp and the target coordination timestamp are stored in the first structure, so that the image processing device calls the first structure to obtain the processed image data, the first system timestamp, the target logical timestamp and the target coordination timestamp, which solves the problem that when heterogeneous multi-cores process image data, there are differences in timestamps representing the same frame of image data, and it is difficult to ensure the accuracy and consistency of the timestamps of the same frame of image data. The image processing device can use its own system timestamp while using the logical timestamp and coordination timestamp in the microprocessor to jointly record the processing process of the image data in the image processing device, so as to ensure the accuracy and consistency of the image data timestamp.

[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0024] Figure 1is a flow chart of a heterogeneous multi-core timestamp determination method in Embodiment 1 of the present invention;

[0025] Figure 2 This is a schematic diagram of heterogeneous multi-core image data processing in a SOC chip in Embodiment 1 of the present invention;

[0026] Figure 3 is a flowchart of another heterogeneous multi-core timestamp determination method in Embodiment 1 of the present invention;

[0027] Figure 4 It is a structural schematic diagram of a heterogeneous multi-core timestamp determination device in Embodiment 2 of the present invention;

[0028] Figure 5 It is a structural schematic diagram of an electronic device in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0032] Embodiment 1

[0033] Figure 1is a flow chart of a method for determining timestamps of heterogeneous multi-cores in the first embodiment of the present invention. This embodiment is applicable to the case of determining timestamps in heterogeneous multi-cores in a SOC chip. The method can be executed by a device for determining timestamps of heterogeneous multi-cores in the embodiment of the present invention. The device can be implemented in software and / or hardware, such as Figure 1 As shown, the method specifically comprises the following steps:

[0034] S110, when the image processing apparatus receives a hardware interrupt signal, obtains current frame image data and a first system timestamp corresponding to the current frame image data.

[0035] It should be noted that the visual sensor continuously inputs the acquired image data into the MIPI-CSI-Dphy interface in the SOC chip through the MIPI interface (Mobile Industry Processor Interface), the image processing device in the SOC chip processes the image data, and the microprocessor stores, manages and uses the processed image data. Figure 2 is a schematic diagram of heterogeneous multi-core image data processing in a SOC chip in Embodiment 1 of the present invention, such as Figure 2As shown, the MIPI interface is an image sensor interface, CSI-Dphy is the D-PHY physical layer specification adopted by the CSI-2 protocol, and D-PHY is a physical layer standard for differential signal transmission, supporting high-speed data transmission. In the CSI-2 protocol, D-PHY can be used for unidirectional data transmission, usually consisting of a pair of differential clock signal lines and one or more pairs of differential data signal lines. This configuration can effectively resist electromagnetic interference and improve the transmission rate. The Virtual Channel is a transmission channel that can transmit multiple image data streams. The image data buffer is an area for temporarily storing image data, which is used to preload image data. The image processing device is the ISP core in the SOC chip, and the microprocessor is the ARM core in the SOC chip. The DRAM (Dynamic Random Access Memory) can store the image data processed by the image processing device and the microprocessor and the timestamp corresponding to the image data. The image processing device and the microprocessor can interact through IPC communication. After the visual sensor converts the optical signal into an electrical signal, it packages the image data into serial data in a certain format after signal processing, decodes the serial data into image data in a standard MIPI format through a differential data signal line, and inputs it into the CSI-Dphy of the SOC chip. It is pre-stored in the image data buffer through the transmission channel. When the image processing device receives the hardware interrupt signal sent by the MIPI interface, it can obtain the complete image data and interact with the microprocessor device through IPC communication. The data after the image processing device and the microprocessor device process the image data can be stored in DRAM, and the data in the image data buffer can also be stored in DRAM.

[0036] The image processing device is used to pre-process the image data, and the pre-processing includes noise removal, bad pixel removal, enhancement processing and other processing operations. The hardware interrupt signal is a signal sent by the MIPI image sensor interface, which is an asynchronous signal. When a frame of image data is transmitted, the image processing device will receive the hardware interrupt signal, which indicates that the current frame of image data has been transmitted, and the image processing device can obtain complete and valid current frame image data. The first system timestamp is the system timestamp corresponding to the current frame of image data obtained by the image processing device according to the system clock of the image processing device when the image processing device receives the current frame of image data interrupt.

[0037] Specifically, when the image processing device receives a hardware interrupt signal, the method for obtaining the current frame image data and the first system timestamp corresponding to the current frame image data can be: when the image processing device receives a hardware interrupt signal sent by the MIPI image sensor interface, the current frame image data is obtained, and the image processing device obtains the first system timestamp corresponding to the current frame image data according to its own system clock.

[0038] S120, sending a timestamp request signal to the microprocessing device through the image processing device, wherein the timestamp request signal is determined by the image processing device according to the current frame image data and the first system timestamp, and the image processing device and the microprocessing device are in the same system-on-chip.

[0039] The timestamp request signal is a signal from the image processing device requesting the microprocessing device to mark the timestamp of the current frame image data. The image processing device and the microprocessing device are in the same system-level chip, indicating two heterogeneous cores in the same system-level chip.

[0040] Specifically, the image processing device may send a timestamp request signal to the microprocessing device in a manner that: the image processing device sends a timestamp request signal to the microprocessing device through IPC communication, wherein the timestamp request signal may carry identification information of the current frame image data. Specifically, the timestamp request signal may be determined by the image processing device according to the current frame image data and the first system timestamp in a manner that: if the current frame image data is not the first frame image data, the image processing device obtains the second system timestamp corresponding to the previous frame image data according to the current frame image data, and if the absolute value of the difference between the first system timestamp and the second system timestamp is greater than or equal to a preset difference threshold, the image processing device generates a timestamp request signal and sends it to the microprocessing device.

[0041] S130, receiving a timestamp request signal through a microprocessor device, and obtaining a target logical timestamp and a target coordination timestamp corresponding to the current frame image data.

[0042] Among them, the target logical timestamp (MONOTONIC timestamp) is the logical timestamp of the current moment when the microprocessor receives the timestamp request signal, which is obtained by the microprocessor when the microprocessor verifies the current frame image data and successfully determines that the current frame image data is in a normal state. The logical timestamp is based on the original time of the hardware and is not affected by the system clock in the microprocessor. It is mainly used as a relative reference time for the coordination timestamp; the target coordinated timestamp (UTC timestamp) is the coordinated timestamp of the current moment when the microprocessor receives the timestamp request signal, which is obtained by the microprocessor when the microprocessor verifies the current frame image data and successfully determines that the current frame image data is in a normal state.

[0043] Specifically, the method for receiving the timestamp request signal through the microprocessor device to obtain the target logical timestamp and target coordination timestamp corresponding to the current frame image data can be: receiving the timestamp request signal through the microprocessor device, and then the microprocessor device calls the IPC interrupt processing function according to the timestamp request signal to obtain the target logical timestamp and target coordination timestamp corresponding to the current frame image data.

[0044] S140, after the processing of the current frame image data is completed, the data address, the first system timestamp, the target logical timestamp and the target coordination timestamp corresponding to the processed image data are stored in the first structure through the image processing device, so as to call the first structure through the image processing device to obtain the processed image data, the first system timestamp, the target logical timestamp and the target coordination timestamp.

[0045] The first structure is a preset structure in the image processing device and can store multiple variables.

[0046] Specifically, after the processing of the current frame image data is completed, the data address, the first system timestamp, the target logical timestamp and the target coordination timestamp corresponding to the processed image data are stored in the first structure by the image processing device, and the method of calling the first structure by the image processing device to obtain the processed image data, the first system timestamp, the target logical timestamp and the target coordination timestamp can be: the target logical timestamp and the target coordination timestamp are obtained by the image processing device, and then the current frame image data is processed, and the processing operations include noise removal, bad pixel removal, enhancement processing and other operations, and after the processing of the current frame image data is completed, the processed image data is determined According to the corresponding data address, the processed image data can be obtained through the data address corresponding to the processed image data; the data address corresponding to the processed image data, the first system timestamp (ISP_T1), the target logical timestamp (A_MONT_T) and the target coordination timestamp (A_UTC_T) are stored in the first structure by the image processing device, so that the image processing device calls the first structure to obtain at least one frame of processed image data stored in the first structure and the first system timestamp, target logical timestamp and target coordination timestamp corresponding to the image data, so as to facilitate the image processing device to analyze and process the time of at least one frame of image data.

[0047] Optionally, sending a timestamp request signal to the microprocessing device through the image processing device includes:

[0048] If the current frame image data is not the first frame image data, obtaining a second system timestamp corresponding to the previous frame image data of the current frame image data through the image processing device;

[0049] If the absolute value of the difference between the first system timestamp and the second system timestamp is greater than or equal to a preset difference threshold, sending a timestamp request signal to the microprocessing device through the image processing device;

[0050] If the current frame image data is the first frame image data, a time stamp request signal is sent to the microprocessing device via the image processing device.

[0051] The second system timestamp is the previous frame of image data of the current frame of image data, and is a system timestamp obtained according to the system clock of the image processing device. The preset difference threshold can be set according to the actual needs when the visual sensor collects image data. It should be noted that the preset difference threshold is the interval value between the two frames of image data before and after the visual sensor collects image data, and the interval value is a fixed value when the frame rate is constant.

[0052] Specifically, if the current frame image data is not the first frame image data, the method for obtaining the second system timestamp corresponding to the previous frame image data of the current frame image data through the image processing device can be: if the current frame image data is not the first frame image data, determine that the system timestamp information of the previous frame image data of the current frame image data is stored in the image processing device, and then obtain the second system timestamp corresponding to the previous frame image data of the current frame image data through the image processing device.

[0053] Specifically, if the absolute value of the difference between the first system timestamp and the second system timestamp is greater than or equal to a preset difference threshold, the method of sending a timestamp request signal to the microprocessor through the image processing device can be: if the absolute value of the difference between the first system timestamp ISP_T1 and the second system timestamp ISP_T2 is greater than or equal to the preset difference threshold, it means that the time difference between the acquisition of the current frame image data and the previous frame image data of the current frame image data belongs to a normal acquisition interval value, and the state of the current frame image data is normal, then a timestamp request signal is sent to the microprocessor through the image processing device.

[0054] Specifically, if the current frame image data is the first frame image data, the method of sending a timestamp request signal to the microprocessor device through the image processing device can be: if the current frame image data is the first frame image data, determine the system timestamp information that is not stored in other image data in the image processing device, and then send a timestamp request signal directly to the microprocessor device through the image processing device.

[0055] Optionally, after obtaining, by the image processing device, a second system timestamp corresponding to a frame of image data previous to the current frame of image data, the method further includes:

[0056] If the absolute value of the difference between the first system timestamp and the second system timestamp is less than a preset difference threshold, determining, by an image processing device, that the state information of the current frame image data is an abnormal state;

[0057] The state information of the current frame image data and the first system timestamp of the current frame image data are stored in a log of the image processing device through the image processing device.

[0058] Specifically, if the absolute value of the difference between the first system timestamp and the second system timestamp is less than a preset difference threshold, the way in which the status information of the current frame image data is determined by the image processing device to be in an abnormal state may be: if the current frame image data is not the first frame image data, and the absolute value of the difference between the first system timestamp and the second system timestamp is less than the preset difference threshold, it means that the time interval between the current frame image data acquisition and the previous frame image data is too small, and the current frame image data is very likely to be incomplete image data, then the image processing device determines that the status information of the current frame image data is in an abnormal state.

[0059] Specifically, the image processing device may store the status information of the current frame image data and the first system timestamp of the current frame image data in the log of the image processing device in a manner as follows: the image processing device may associate the current frame image data, the status information (abnormal status) of the current frame image data, and the first system timestamp of the current frame image data and store them in the log of the image processing device, so as to trace the status information and system timestamp of each frame image data through the log and perform image data analysis. At the same time, the image data device no longer sends a timestamp request signal to the microprocessor device based on the current frame image data, and the image processing device enters a hardware interrupt signal monitoring state for the next frame image data.

[0060] The image processing device determines whether the current frame image is the first frame image data. If it is the first frame image data, the image processing device directly sends a timestamp request signal to the microprocessor device. If it is not the first frame image data, the status information of the current frame image data is determined by the difference between the first system timestamp of the current frame image data and the second system timestamp of the previous frame image data. If the status information is normal, the image processing device sends a timestamp request signal to the microprocessor device. If the status information is abnormal, the image processing device stores the status information of the current frame image data and the first system timestamp of the current frame image data in the log of the image processing device. This ensures that the timestamp request signal is sent when the current frame image data is normal image data, thereby improving the efficiency of image data processing. The status information and system timestamp of each frame image data can also be traced through the log to facilitate subsequent image data analysis.

[0061] Optionally, receiving a timestamp request signal through a microprocessor device to obtain a target logic timestamp and a target coordination timestamp corresponding to the current frame image data includes:

[0062] Receiving a timestamp request signal through a microprocessor, wherein the timestamp request signal carries a current frame image data identifier;

[0063] If it is determined according to the current frame image data identifier that the current frame image data is not the first frame image data, the microprocessor device responds to the timestamp request signal to obtain a first logical timestamp and a first coordinated timestamp corresponding to the current frame image data, and a second logical timestamp and a second coordinated timestamp corresponding to the previous frame image data of the current frame image data;

[0064] If the logical time difference and the coordination time difference are the same, the first logical timestamp is determined as the target logical timestamp through the microprocessor device, and the first coordination timestamp is determined as the target coordination timestamp, wherein the logical time difference is determined based on the second logical timestamp corresponding to the previous frame image data of the current frame image data and the first logical timestamp corresponding to the current frame image data, and the coordination time difference is determined based on the second coordination timestamp corresponding to the previous frame image data of the current frame image data and the first coordination timestamp corresponding to the current frame image data.

[0065] The first logical timestamp is the logical timestamp of the current moment when the timestamp request signal is received, obtained by the microprocessor by calling the IPC interrupt processing function when the timestamp request signal is received; the first coordination timestamp is the coordination timestamp of the current moment when the timestamp request signal is received, obtained by the microprocessor by calling the IPC interrupt processing function when the timestamp request signal is received. The second logical timestamp and the second coordination timestamp are the timestamps of the previous frame of image data of the current frame, obtained by the microprocessor by calling the IPC interrupt processing function when the timestamp request signal is received.

[0066] Specifically, a timestamp request signal sent by the image processing device is received by the microprocessing device, wherein the timestamp request signal carries a current frame image data identifier.

[0067] Specifically, if it is determined according to the current frame image data identifier that the current frame image data is not the first frame image data, the microprocessor device responds to the timestamp request signal to obtain the first logical timestamp and the first coordination timestamp corresponding to the current frame image data, and the second logical timestamp and the second coordination timestamp corresponding to the previous frame image data of the current frame image data can be obtained in the following manner: If it is determined according to the current frame image data identifier that the current frame image data is not the first frame image data, the microprocessor device responds to the timestamp request signal to call the IPC interrupt processing function to obtain the first logical timestamp and the first coordination timestamp corresponding to the current frame image data, and at the same time, the second logical timestamp and the second coordination timestamp corresponding to the previous frame image data stored in the microprocessor device can also be obtained.

[0068] Specifically, if the logical time difference and the coordinated time difference are the same, the first logical timestamp is determined as the target logical timestamp by the microprocessor device, and the first coordinated timestamp is determined as the target coordinated timestamp in the following manner: the difference between the second logical timestamp (A_MONT_T2) corresponding to the previous frame image data of the current frame image data and the first logical timestamp (A_MONT_T1) corresponding to the current frame image data is determined as the logical time difference (MONO_TIME_DIFF1); the difference between the second coordinated timestamp (A_UTC_T2) corresponding to the previous frame image data of the current frame image data and the first coordinated timestamp (A_UTC_T1) corresponding to the current frame image data is determined as the coordinated time. difference (UTC_TIME_DIFF1); if the logical time difference (MONO_TIME_DIFF1) and the coordinated time difference (UTC_TIME_DIFF1) are the same, it means that the timestamp set by the microprocessor for the current frame image data is an accurate timestamp, and the first logical timestamp is determined as the target logical timestamp and the first coordinated timestamp is determined as the target coordinated timestamp by the microprocessor; if the logical time difference and the coordinated time difference are different, the microprocessor determines that the status information of the current frame image data is an abnormal state, and the microprocessor stores the status information of the current frame image data, the first logical timestamp and the first coordinated timestamp of the current frame image data in the log of the microprocessor.

[0069] Optionally, also include:

[0070] If the current frame image data is determined to be the first frame image data according to the current frame image data identifier, the microprocessor responds to the timestamp request signal to obtain a first logical timestamp and a first coordination timestamp corresponding to the current frame image data;

[0071] The first logical timestamp is determined as the target logical timestamp and the first coordination timestamp is determined as the target coordination timestamp by the microprocessor.

[0072] Specifically, if the current frame image data is determined to be the first frame image data according to the current frame image data identifier, the microprocessor device responds to the timestamp request signal to obtain the first logical timestamp and the first coordination timestamp corresponding to the current frame image data. The method can be: If the current frame image data is determined to be the first frame image data according to the current frame image data identifier, the microprocessor device responds to the timestamp request signal, calls the IPC interrupt processing function, and obtains the first logical timestamp and the first coordination timestamp corresponding to the current frame image data.

[0073] Specifically, the first logical timestamp is directly determined as the target logical timestamp by the microprocessor, and the first coordination timestamp is directly determined as the target coordination timestamp.

[0074] A timestamp request signal is received by a microprocessor device, and whether the current frame image data is the first frame image data is determined according to the current frame image data identifier carried by the timestamp request signal. If it is the first frame image data, the microprocessor device responds to the timestamp request signal to obtain the first logical timestamp and the first coordination timestamp corresponding to the current frame image data, and directly determines the first logical timestamp as the target logical timestamp, and determines the first coordination timestamp as the target coordination timestamp; if it is not the first frame image data, the microprocessor device determines whether the timestamp of the current frame image data is correct according to the logical time difference and the coordination time difference. If the logical time difference and the coordination time difference are the same, the timestamp of the current frame image data is correct, and then determines the first logical timestamp as the target logical timestamp, and determines the first coordination timestamp as the target coordination timestamp. This can improve the accuracy of the target logical timestamp and the target coordination timestamp determined by the microprocessor device at the current moment when the timestamp request signal is received, so that the microprocessor device sends the target logical timestamp and the target coordination timestamp to the image processing device to ensure the consistency of the timestamps of the same frame image data.

[0075] Optionally, after the current frame image data is processed, the following steps are further included:

[0076] Sending a processing completion signal to the microprocessing device through the image processing device, wherein the processing completion signal carries a data address corresponding to the processed image data corresponding to the current frame image data;

[0077] Responding to the processing completion signal through the microprocessor device, obtaining a third logical timestamp and a third coordination timestamp corresponding to the current frame image data;

[0078] The data address, target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp corresponding to the processed image data are stored in the second structure through the microprocessor device, so that the processed image data, target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp can be obtained by calling the second structure through the client.

[0079] The processing completion signal is a signal generated after the image processing device completes processing the current frame of image data. The third logical timestamp is the logical timestamp of the current moment when the microprocessing device receives the processing completion signal, and the third coordination timestamp is the coordination timestamp of the current moment when the microprocessing device receives the processing completion signal. The second structure is a preset structure in the microprocessing device, which can store multiple variables.

[0080] Specifically, the method of sending a processing completion signal from the image processing device to the microprocessing device can be: after the image processing device processes the current frame image data, the image processing device sends a processing completion signal to the microprocessing device, and the processing completion signal carries the data address of the processed image data corresponding to the current frame image data.

[0081] Specifically, the method of obtaining the third logical timestamp and the third coordination timestamp corresponding to the current frame image data by having the microprocessor device respond to the processing completion signal can be: the microprocessor device responds to the processing completion signal, calls the IPC interrupt processing function, and obtains the third logical timestamp and the third coordination timestamp corresponding to the end of the processing of the current frame image data.

[0082] Specifically, the data address, target logical timestamp (A_MONT_T), target coordination timestamp (A_UTC_T), third logical timestamp (A_MONT_T3) and third coordination timestamp (A_UTC_T3) corresponding to the processed image data are stored in the second structure by the microprocessor device, so that when the client uses the back-end algorithm to fuse various data (for example, data acquired by millimeter wave radar, data acquired by lidar and image data acquired by visual sensor), the client calls the data interface provided by the microprocessor device to obtain at least one frame of processed image data stored in the second structure and the target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp corresponding to the image data, so as to facilitate the analysis of continuous frame image data according to the timestamps, wherein the data address corresponding to the processed image data can also be hung in the completion queue of the microprocessor device, so as to facilitate the application layer to obtain the processed image data through the completion queue.

[0083] It should be noted that in the prior art, since most of the microprocessor devices of SOC chips run Linux or QNX systems, there is a mature framework for the use of image data. Therefore, different manufacturers have almost the same processing of the timestamp of the image data collected by the visual sensor. They all write a specific driver for different scenarios and platforms. The user space application obtains the timestamp of each frame of image data through the interface provided by the driver, and adds a system call interface to achieve the purpose of obtaining the timestamp of the image data. This method additionally increases the calling frequency of the system interface and the time overhead of process switching, and the system responds more slowly under high load conditions, which leads to a delay in the call when obtaining the timestamp, causing an increase in the video data processing error. The specially written driver interface interacts with the user, which is equivalent to dispersing the same function in different modules for processing, which is not convenient for management and maintenance.

[0084] After the processing of the current frame image data is completed, a processing completion signal is sent to the microprocessor device through the image processing device, and the third logical timestamp and the third coordination timestamp corresponding to the current frame image data are obtained, and the data address, target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp corresponding to the processed image data by the microprocessor device are stored in the second structure. The second structure in the microprocessor device can be directly called once to obtain each frame of image data, the target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp corresponding to each frame of image data, that is, the timestamp before processing and the timestamp after processing of each frame of image data, so that the user space program running in the system of the microprocessor device reduces the number of system calls, thereby reducing the time error between each frame of image data, releasing system resources, and improving the real-time processing capability of the microprocessor device.

[0085] In a specific example, Figure 3 is a flowchart of another heterogeneous multi-core timestamp determination method in Embodiment 1 of the present invention. Figure 3As shown, after receiving the hardware interrupt signal, the image processing device obtains the current frame image data and the first system timestamp corresponding to the current frame image data, determines whether the current frame image data is the first frame image data, and if so, directly generates a timestamp request signal and sends it to the microprocessing device; if not, obtains the second system timestamp of the previous frame image data of the current frame image data, determines whether the absolute value of the difference between the first system timestamp and the second system timestamp is greater than or equal to a preset difference threshold, and if so, generates a timestamp request signal and sends it to the microprocessing device; if not, determines the status information of the current frame image data through the image processing device The microprocessor receives a timestamp request signal through IPC communication to determine whether the current frame image data is the first frame image data. If so, the IPC interrupt processing function is called according to the timestamp request signal to obtain the first logical timestamp and the first coordinated timestamp corresponding to the current frame image data, and the second logical timestamp and the second coordinated timestamp corresponding to the previous frame image data of the current frame image data, and determines whether the logical time difference and the coordinated time difference are the same. If they are the same, , the first logical timestamp is determined as the target logical timestamp, and the first coordination timestamp is determined as the target coordination timestamp. If they are not the same, the state information of the current frame image data is determined to be an abnormal state through the microprocessor device, and the state information of the current frame image data, the first logical timestamp of the current frame image data, and the first coordination timestamp are stored in the log of the microprocessor device; if the current frame image data is the first frame image data, the IPC interrupt processing function is called according to the timestamp request signal to obtain the first logical timestamp and the first coordination timestamp corresponding to the current frame image data, and the first logical timestamp is directly determined as the target logical timestamp. Stamp, determine the first coordination timestamp as the target coordination timestamp, and send the target logical timestamp and the target coordination timestamp to the image processing device through the microprocessor; after receiving the target logical timestamp and the target coordination timestamp, the image processing device continues to process the current frame image data, and after the processing is completed, the image processing device stores the data address corresponding to the processed image data, the first system timestamp, the target logical timestamp and the target coordination timestamp in the first structure, so that the image processing device calls the first structure to obtain the processed image data, the first system timestamp, the target logical timestamp and the target coordination timestamp;After the image processing device completes the processing of the current frame image data, it generates a processing completion signal and sends the processing completion signal to the microprocessor device. The microprocessor device calls the IPC interrupt processing function according to the processing completion signal to obtain the third logical timestamp and the third coordination timestamp corresponding to the current frame image data. The microprocessor device stores the data address, target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp corresponding to the processed image data in the second structure, so that the client calls the second structure to obtain the processed image data, target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp. ;

[0086] The technical solution of this embodiment is as follows: when the image processing device receives a hardware interrupt signal, the current frame image data and the first system timestamp corresponding to the current frame image data are obtained; the image processing device sends a timestamp request signal to the microprocessing device, wherein the timestamp request signal is determined by the image processing device according to the current frame image data and the first system timestamp, and the image processing device and the microprocessing device are in the same system-level chip; the microprocessing device receives the timestamp request signal to obtain the target logical timestamp and the target coordination timestamp corresponding to the current frame image data; after the processing of the current frame image data is completed, the image processing device sends the data corresponding to the processed image data to the microprocessing device. The data address, the first system timestamp, the target logical timestamp and the target coordination timestamp are stored in the first structure, so that the image processing device calls the first structure to obtain the processed image data, the first system timestamp, the target logical timestamp and the target coordination timestamp, which solves the problem that when heterogeneous multi-cores process image data, there are differences in timestamps representing the same frame of image data, and it is difficult to ensure the accuracy and consistency of the timestamps of the same frame of image data. The image processing device can use its own system timestamp while using the logical timestamp and coordination timestamp in the microprocessor to jointly record the processing process of the image data in the image processing device, so as to ensure the accuracy and consistency of the image data timestamp.

[0087] Embodiment 2

[0088] Figure 4 : is a schematic diagram of the structure of a heterogeneous multi-core timestamp determination device in the second embodiment of the present invention. This embodiment is applicable to the timestamp determination in the heterogeneous multi-core of the SOC chip. The device can be implemented in software and / or hardware. The device can be integrated in any device that provides the function of heterogeneous multi-core timestamp determination, such as Figure 4 As shown, the heterogeneous multi-core timestamp determination device specifically includes: an acquisition module 210 , a sending module 220 , a obtaining module 230 and a storage module 240 .

[0089] The acquisition module 210 is used to acquire the current frame image data and the first system timestamp corresponding to the current frame image data when the image processing device receives the hardware interrupt signal;

[0090] A sending module 220, configured to send a timestamp request signal to a microprocessing device through an image processing device, wherein the timestamp request signal is determined by the image processing device according to the current frame image data and the first system timestamp, and the image processing device and the microprocessing device are in the same system-on-chip;

[0091] The obtaining module 230 is used to receive the timestamp request signal through the microprocessor device, and obtain the target logic timestamp and the target coordination timestamp corresponding to the current frame image data;

[0092] The storage module 240 is used to store the data address, first system timestamp, target logical timestamp and target coordination timestamp corresponding to the processed image data in the first structure through the image processing device after the processing of the current frame image data is completed, so as to call the first structure through the image processing device to obtain the processed image data, first system timestamp, target logical timestamp and target coordination timestamp.

[0093] Optionally, the sending module is specifically used for:

[0094] If the current frame image data is not the first frame image data, obtaining a second system timestamp corresponding to the previous frame image data of the current frame image data through the image processing device;

[0095] If the absolute value of the difference between the first system timestamp and the second system timestamp is greater than or equal to a preset difference threshold, sending a timestamp request signal to the microprocessing device through the image processing device;

[0096] If the current frame image data is the first frame image data, a time stamp request signal is sent to the microprocessing device via the image processing device.

[0097] Optionally, the sending module is further used for:

[0098] If the absolute value of the difference between the first system timestamp and the second system timestamp is less than a preset difference threshold, determining, by an image processing device, that the state information of the current frame image data is an abnormal state;

[0099] The state information of the current frame image data and the first system timestamp of the current frame image data are stored in a log of the image processing device through the image processing device.

[0100] Optionally, the obtaining module is specifically used for:

[0101] Receiving a timestamp request signal through a microprocessor, wherein the timestamp request signal carries a current frame image data identifier;

[0102] If it is determined according to the current frame image data identifier that the current frame image data is not the first frame image data, the microprocessor device responds to the timestamp request signal to obtain a first logical timestamp and a first coordinated timestamp corresponding to the current frame image data, and a second logical timestamp and a second coordinated timestamp corresponding to the previous frame image data of the current frame image data;

[0103] If the logical time difference and the coordination time difference are the same, the first logical timestamp is determined as the target logical timestamp through the microprocessor device, and the first coordination timestamp is determined as the target coordination timestamp, wherein the logical time difference is determined based on the second logical timestamp corresponding to the previous frame image data of the current frame image data and the first logical timestamp corresponding to the current frame image data, and the coordination time difference is determined based on the second coordination timestamp corresponding to the previous frame image data of the current frame image data and the first coordination timestamp corresponding to the current frame image data.

[0104] Optionally, the obtaining module is further used for:

[0105] If the current frame image data is determined to be the first frame image data according to the current frame image data identifier, the microprocessor responds to the timestamp request signal to obtain a first logical timestamp and a first coordination timestamp corresponding to the current frame image data;

[0106] The first logical timestamp is determined as the target logical timestamp and the first coordination timestamp is determined as the target coordination timestamp by the microprocessor.

[0107] Optionally, also include:

[0108] A completion signal sending module, used to send a processing completion signal to the microprocessing device through the image processing device, wherein the processing completion signal carries a data address corresponding to the processed image data corresponding to the current frame image data;

[0109] A completion signal response module, used to respond to the processing completion signal through the microprocessor device to obtain a third logical timestamp and a third coordination timestamp corresponding to the current frame image data;

[0110] A timestamp storage module is used to store the data address, target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp corresponding to the processed image data in a second structure through a microprocessor device, so as to obtain the processed image data, target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp by calling the second structure through the client.

[0111] The above-mentioned product can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0112] Embodiment 3

[0113] Figure 5 : is a structural diagram of an electronic device in Embodiment 3 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0114] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0115] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0116] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a heterogeneous multi-core timestamp determination method.

[0117] In some embodiments, the heterogeneous multi-core timestamp determination method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the heterogeneous multi-core timestamp determination method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the heterogeneous multi-core timestamp determination method in any other appropriate manner (e.g., by means of firmware).

[0118] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0119] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0120] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0121] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0122] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0123] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0124] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0125] An embodiment of the present invention further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the method for determining a heterogeneous multi-core timestamp according to any embodiment of the present invention is implemented.

[0126] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A heterogeneous multi-core timestamp determination method, It is characterized in that include: When the image processing device receives the hardware interrupt signal, the image data of the current frame and the first system timestamp corresponding to the image data of the current frame are obtained; Sending a timestamp request signal to a microprocessor through an image processing device, wherein the timestamp request signal is determined by the image processing device according to the current frame image data and the first system timestamp, and the image processing device and the microprocessor are in the same system-on-chip; The microprocessor receives a timestamp request signal to obtain a target logic timestamp and a target coordination timestamp corresponding to the current frame image data; After the processing of the current frame image data is completed, the data address, first system timestamp, target logical timestamp and target coordination timestamp corresponding to the processed image data are stored in the first structure through the image processing device, so that the processed image data, first system timestamp, target logical timestamp and target coordination timestamp can be obtained by calling the first structure through the image processing device.

2. The method according to claim 1, It is characterized in that Sending a timestamp request signal to a microprocessor through an image processing device includes: If the current frame image data is not the first frame image data, obtaining a second system timestamp corresponding to the previous frame image data of the current frame image data through the image processing device; If the absolute value of the difference between the first system timestamp and the second system timestamp is greater than or equal to a preset difference threshold, sending a timestamp request signal to the microprocessing device through the image processing device; If the current frame image data is the first frame image data, a time stamp request signal is sent to the microprocessing device via the image processing device.

3. The method according to claim 2, It is characterized in that After obtaining the second system timestamp corresponding to the previous frame image data of the current frame image data through the image processing device, the method further includes: If the absolute value of the difference between the first system timestamp and the second system timestamp is less than a preset difference threshold, determining, by an image processing device, that the state information of the current frame image data is an abnormal state; The state information of the current frame image data and the first system timestamp of the current frame image data are stored in a log of the image processing device through the image processing device.

4. The method according to claim 1, It is characterized in that Receiving a timestamp request signal through a microprocessor device to obtain a target logic timestamp and a target coordination timestamp corresponding to the current frame image data includes: Receiving a timestamp request signal through a microprocessor, wherein the timestamp request signal carries a current frame image data identifier; If it is determined according to the current frame image data identifier that the current frame image data is not the first frame image data, the microprocessor device responds to the timestamp request signal to obtain a first logical timestamp and a first coordinated timestamp corresponding to the current frame image data, and a second logical timestamp and a second coordinated timestamp corresponding to the previous frame image data of the current frame image data; If the logical time difference and the coordination time difference are the same, the first logical timestamp is determined as the target logical timestamp through the microprocessor device, and the first coordination timestamp is determined as the target coordination timestamp, wherein the logical time difference is determined based on the second logical timestamp corresponding to the previous frame image data of the current frame image data and the first logical timestamp corresponding to the current frame image data, and the coordination time difference is determined based on the second coordination timestamp corresponding to the previous frame image data of the current frame image data and the first coordination timestamp corresponding to the current frame image data.

5. The method according to claim 4, It is characterized in that Also includes: If the current frame image data is determined to be the first frame image data according to the current frame image data identifier, the microprocessor responds to the timestamp request signal to obtain a first logical timestamp and a first coordination timestamp corresponding to the current frame image data; The first logical timestamp is determined as the target logical timestamp and the first coordination timestamp is determined as the target coordination timestamp by the microprocessor.

6. The method according to claim 1, It is characterized in that After the current frame image data is processed, it also includes: Sending a processing completion signal to the microprocessing device through the image processing device, wherein the processing completion signal carries a data address corresponding to the processed image data corresponding to the current frame image data; Responding to the processing completion signal through the microprocessor device, obtaining a third logical timestamp and a third coordination timestamp corresponding to the current frame image data; The data address, target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp corresponding to the processed image data are stored in the second structure through the microprocessor device, so that the processed image data, target logical timestamp, target coordination timestamp, third logical timestamp and third coordination timestamp can be obtained by calling the second structure through the client.

7. A heterogeneous multi-core timestamp determination device, It is characterized in that include: An acquisition module, used for acquiring current frame image data and a first system timestamp corresponding to the current frame image data when the image processing device receives a hardware interrupt signal; a sending module, configured to send a timestamp request signal to a microprocessing device through an image processing device, wherein the timestamp request signal is determined by the image processing device according to the current frame image data and the first system timestamp, and the image processing device and the microprocessing device are in the same system-on-chip; An obtaining module is used to receive a timestamp request signal through a microprocessor device, and obtain a target logic timestamp and a target coordination timestamp corresponding to the current frame image data; A storage module is used to store the data address, first system timestamp, target logical timestamp and target coordination timestamp corresponding to the processed image data in a first structure through an image processing device after the processing of the current frame image data is completed, so as to call the first structure through the image processing device to obtain the processed image data, first system timestamp, target logical timestamp and target coordination timestamp.

8. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the heterogeneous multi-core timestamp determination method according to any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the heterogeneous multi-core timestamp determination method according to any one of claims 1 to 6 when executed.

10. A computer program product, It is characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the heterogeneous multi-core timestamp determination method according to any one of claims 1 to 6.