Data transmission method and device, electronic equipment and traffic equipment

Through inter-core communication of multi-core heterogeneous chips, the size and quality of image frames are dynamically adjusted, which solves the problem of low data transmission and processing efficiency in vehicle-mounted obstacle detection, and achieves more efficient and accurate obstacle detection.

CN118587083APending Publication Date: 2024-09-03BEIJING SEMIDRIVE TECHNOLOGY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410677368.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In vehicle-mounted active avoidance scenarios, the transmission and detection of high-definition image data results in delays and inefficiencies, and it is difficult for existing technologies to effectively improve the accuracy and efficiency of obstacle detection.

Method used

Using multi-core heterogeneous chips, the size and quality of image frames are dynamically adjusted through inter-core communication, and image frames of different resolutions and qualities are sent according to the obstacle detection results, reducing data transmission volume and processing complexity, and improving detection efficiency.

Benefits of technology

It significantly reduces the delay and risk of false detection in obstacle detection, improves detection efficiency and accuracy, and optimizes data transmission and processing load by dynamically adjusting the size and quality of image frames.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587083A
    Figure CN118587083A
Patent Text Reader

Abstract

The invention provides a data transmission method and device, electronic equipment and traffic equipment, the method is applied to a multi-core heterogeneous chip at least comprising a first processor core and a second processor core, and each processor core of the multi-core heterogeneous chip and hardware resources connected with the processor core form a hardware domain. The hardware domains are physically isolated from one another. The first processor core sends the at least one first image frame to the second processor core through inter-core communication; when the second processor core detects that an obstacle exists in at least one first image frame, a first instruction is sent to the first processor core through inter-core communication; after receiving the first instruction, the first processor core sends at least one second image frame to the second processor core through inter-core communication, the at least one second image frame is a subsequent image frame of the at least one first image frame, and the size of the first image frame is smaller than that of the second image frame.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data transmission, and in particular to a data transmission method, device, electronic equipment and transportation equipment. Background Art

[0002] Currently, in the scenario of active vehicle avoidance, the images collected by the acquisition device are directly sent to the detection module for obstacle detection. In order to improve the accuracy of obstacle detection, the acquisition device usually uses a high-definition camera for image acquisition. Therefore, the amount of high-definition image data collected is large, and there is a delay when sending it to the detection module for detection. In addition, the complexity of the detection module in obstacle detection of high-definition images is high, resulting in low detection efficiency. Summary of the invention

[0003] The present application provides a data transmission method, device, electronic equipment and transportation equipment.

[0004] On one hand, an embodiment of the present application provides a data transmission method, the method is applied to a multi-core heterogeneous chip including at least a first processor core and a second processor core, each processor core of the multi-core heterogeneous chip and the hardware resources connected to the processor core constitute a hardware domain, and there is physical isolation between the hardware domains, the method comprising:

[0005] The first processor core sends at least one first image frame to the second processor core through inter-core communication;

[0006] When the second processor core detects that there is an obstacle in the at least one first image frame, the second processor core sends a first instruction to the first processor core through inter-core communication;

[0007] After receiving the first instruction, the first processor core sends at least one second image frame to the second processor core through inter-core communication, wherein the at least one second image frame is a subsequent image frame of the at least one first image frame, and a size of the first image frame is smaller than a size of the second image frame.

[0008] The method further comprises:

[0009] When the second processor core detects that there is no obstacle in the at least one second image frame, the second processor core sends a second instruction to the first processor core through inter-core communication;

[0010] After receiving the second instruction, the first processor core sends at least one third image frame to the second processor core, the at least one third image frame is a subsequent image frame of the at least one second image frame, and the size of the third image frame is smaller than the size of the second image frame.

[0011] The first image frame is acquired by the acquisition device based on the first parameter; after receiving the first instruction, the first processor core sets the parameter of the acquisition device to the second parameter, and the second image frame is acquired by the acquisition device based on the second parameter;

[0012] Correspondingly, after receiving the second instruction, the first processor core sets the parameter of the acquisition device to the third parameter, and the third image frame is acquired by the acquisition device based on the third parameter.

[0013] Before the first processor core sends at least one first image frame to the second processor core through inter-core communication, the method further includes:

[0014] The first processor core receives at least one first original image frame captured by a capture device;

[0015] The first processor core compresses the at least one first original image frame to obtain the at least one first image frame;

[0016] Accordingly, before the first processor core sends at least one third image frame to the second processor core through inter-core communication, the method further includes:

[0017] The first processor core receives at least one third original image frame captured by the capture device;

[0018] The first processor core compresses the at least one third original image frame to obtain the at least one third image frame.

[0019] Wherein, the multi-core heterogeneous chip further includes a third processor core, and the method further includes:

[0020] When the second processor core detects that there is an obstacle in the at least one second image frame, the second processor core sends a third instruction to the first processor core through inter-core communication;

[0021] After receiving the third instruction, the first processor core sends at least one fourth image frame to the third processor core through inter-core communication, where the at least one fourth image frame is a subsequent image frame of the at least one second image frame;

[0022] The third processor core stores the received at least one fourth image frame.

[0023] The first processor core compresses at least one first original image frame, including:

[0024] The first processor core determines a first quality parameter of the first original image frame;

[0025] The first processor core determines a second quality parameter based on the first quality parameter;

[0026] The first processor core determines a first image frame based on the first original image frame and a second quality parameter;

[0027] Accordingly, the first processor core compresses at least one third original image frame, including:

[0028] The first processor core determines a third quality parameter of the third original image frame;

[0029] The first processor core determines a fourth quality parameter based on the third quality parameter;

[0030] The first processor core determines a third image frame based on the third original image frame and a fourth quality parameter.

[0031] The method further comprises:

[0032] The first processor core sends the at least one first image frame for display;

[0033] Correspondingly, after receiving the first instruction, the first processor core sends the at least one second image frame for display;

[0034] After receiving the second instruction, the first processor core sends the at least one third image frame for display;

[0035] After receiving the third instruction, the first processor core sends the at least one fourth image frame for display.

[0036] Another aspect of the present application provides a data transmission device, the device comprising:

[0037] a transmission module, configured to send at least one first image frame to the second processor core through inter-core communication;

[0038] a detection module, configured to send a first instruction to the first processor core through inter-core communication when an obstacle is detected in the at least one first image frame;

[0039] The transmission module is also used to send at least one second image frame to the second processor core through inter-core communication after receiving the first instruction, and the at least one second image frame is a subsequent image frame of the at least one first image frame, and the size of the first image frame is smaller than the size of the second image frame.

[0040] Another aspect of the present application provides a chip, the chip comprising a processor, and the processor can execute the data transmission method.

[0041] Another aspect of the present application provides an electronic device, the electronic device includes a component, the component includes a chip, and the chip can execute the data transmission method.

[0042] Another aspect of the present application provides a traffic device, which includes a chip, and the chip can execute the data transmission method.

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

[0044] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become readily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, wherein:

[0045] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0046] Figure 1 A flow chart of a data transmission method according to an embodiment of the present application is shown;

[0047] Figure 2 A flow chart of a data transmission method according to another embodiment of the present application is shown;

[0048] Figure 3 A flow chart of a data transmission method according to another embodiment of the present application is shown;

[0049] Figure 4 A flow chart of a data transmission method according to another embodiment of the present application is shown;

[0050] Figure 5 A flow chart of a data transmission method according to another embodiment of the present application is shown;

[0051] Figure 6 A flow chart of a data transmission method according to another embodiment of the present application is shown;

[0052] Figure 7 A flow chart of a data transmission method according to another embodiment of the present application is shown;

[0053] Figure 8 A schematic diagram of the structure of a data transmission device according to an embodiment of the present application is shown;

[0054] Fig. 9 A schematic diagram of the chip hardware composition structure according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0055] In order to make the purpose, features, and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0056] In order to reduce the delay in obstacle detection and improve the detection efficiency, an embodiment of the present application provides a data transmission method, which is applied to a multi-core heterogeneous chip including at least a first processor core and a second processor core, each processor core of the multi-core heterogeneous chip and the hardware resources connected to the processor core constitute a hardware domain, and there is physical isolation between the hardware domains, such as Figure 1 As shown, the method includes:

[0057] Step 101: the first processor core sends at least one first image frame to the second processor core through inter-core communication.

[0058] In this embodiment, the processor core may be any one of a central processing unit core, a graphics processing unit core, an accelerator core, a digital signal processor core, etc. Inter-core communication may be implemented by any one of a shared data space, an interrupt signal, a FIFO queue (First in First out) or a hardware bus.

[0059] The first processor core receives at least one first image frame acquired by the acquisition device, and sends the at least one first image frame to the second processor core through inter-core communication.

[0060] Step 102: When the second processor core detects that an obstacle exists in the at least one first image frame, the second processor core sends a first instruction to the first processor core through inter-core communication.

[0061] After receiving at least one first image frame sent by the first processor core, the second processor core performs obstacle detection on the at least one first image frame. If the second processor core detects an obstacle in the obstacle detection of the at least one first image frame, the first instruction is sent to the first processor core through inter-core communication.

[0062] Step 103: After receiving the first instruction, the first processor core sends at least one second image frame to the second processor core through inter-core communication, wherein the at least one second image frame is a subsequent image frame of the at least one first image frame, and the size of the first image frame is smaller than the size of the second image frame.

[0063] After receiving the first instruction sent by the second processor core, the first processor core sends at least one second image frame to the second processor core through inter-core communication.

[0064] The second image frame is a subsequent image frame of the first image frame, and a size of the first image frame is smaller than a size of the second image frame.

[0065] For example, the acquisition device continuously acquires the first image frame with a resolution of 1280*720, and the first processor core continuously sends the first image frame to the second processor core through inter-core communication. When the second processor core performs obstacle detection on the 10th first image frame, it detects an obstacle and sends the first instruction to the first processor core through inter-core communication. After receiving the first instruction, the first processor core notifies the acquisition device to acquire the second image frame with a resolution of 1920*1080. Therefore, starting from the 11th image frame, the first processor core sends the second image frame with a resolution of 1920*1080 to the second processor core.

[0066] In the above scheme, when no obstacle is detected, the first processor core sends a first image frame of smaller size to the second processor core through inter-core communication, which is used for the second processor core to detect obstacles, significantly reducing the amount of data transmission and the complexity of data processing by the second processor core, and improving the efficiency of obstacle detection. When the second processor core detects an obstacle in the first image frame, it sends a first request to the first processor core through inter-core communication, so that after receiving the first request, the first processor core sends a second image frame of larger size but better image quality to the second processor core, and the second processor core can perform obstacle detection again based on the second image frame with better image quality, so as to improve the accuracy of obstacle detection.

[0067] In an example of the present application, a data transmission method is also provided, such as Figure 2 As shown, the method also includes:

[0068] Step 201: When the second processor core detects that there is no obstacle in the at least one second image frame, the second processor core sends a second instruction to the first processor core through inter-core communication.

[0069] If the second processor core does not detect an obstacle in at least one second image frame sent by the first processor core through the inter-core communication, the second processor core sends a second instruction to the first processor core through the inter-core communication.

[0070] Step 202: after receiving the second instruction, the first processor core sends at least one third image frame to the second processor core, wherein the at least one third image frame is a subsequent image frame of the at least one second image frame, and the size of the third image frame is smaller than the size of the second image frame.

[0071] After receiving the second instruction sent by the second processor core, the first processor core sends at least one third image frame to the second processor core through inter-core communication.

[0072] The third image frame is a subsequent image frame of the second image frame, and the size of the third image frame is smaller than that of the second image frame. In this embodiment, the size of the third image frame is set to be the same as that of the first image frame. In other embodiments, the size of the third image frame can be set based on specific needs. For example, the second processor core may mistakenly detect an obstacle due to the small size and poor image quality of the first image frame. Therefore, the size of the third image frame can be set to be larger than the size of the first image frame and smaller than the size of the second image frame. It is possible to reduce the risk of misdetection by the second processor core while reducing the amount of data transmission and the complexity of data processing by the second processor core.

[0073] In the above scheme, the second processor core performs obstacle detection on at least one second image frame to check whether the obstacle detected by the second processor core in at least one first image frame is a false detection. When the second processor core does not detect the obstacle in at least one second image frame, it means that the obstacle detected by the second processor core in at least one first image frame is a false detection, and the first processor core is notified to send a third image frame of a smaller size to the second processor core, so as to reduce the data transmission amount and the complexity of the second processor core processing data, and maintain high efficiency obstacle detection.

[0074] In an example of the present application, a data transmission method is also provided, wherein the first image frame is acquired by an acquisition device based on a first parameter; after receiving a first instruction, the first processor core sets the parameter of the acquisition device to a second parameter, and the second image frame is acquired by the acquisition device based on the second parameter;

[0075] When the second processor core does not detect an obstacle in the first image frame, the acquisition device acquires the first image frame based on the first parameter. The first processor core sends the first image frame acquired based on the first parameter to the second processor core. When the second processor core detects an obstacle in the first image frame, it sends a first request to the first processor core. After receiving the first request, the first processor core sets the parameter of the acquisition device to the second parameter, and the subsequent acquisition device acquires the second image frame based on the second parameter. The first processor core sends the second image frame acquired based on the second parameter to the second processor core for obstacle detection.

[0076] Correspondingly, after receiving the second instruction, the first processor core sets the parameter of the acquisition device to the third parameter, and the third image frame is acquired by the acquisition device based on the third parameter.

[0077] Correspondingly, if the second processor core does not detect an obstacle in at least one second image frame, a second request is sent to the first processor core. After receiving the second request, the first processor core sets the parameters of the acquisition device to the third parameters, and the acquisition device acquires the third image frame based on the third parameters. The first processor core then sends the third image frame acquired based on the third parameters to the second processor core for obstacle detection.

[0078] The size of the first image frame acquired with the first parameter is smaller than the size of the second image frame acquired with the second parameter. The size of the third image frame acquired with the third parameter is smaller than the size of the second image frame acquired with the second parameter. The third parameter can be set to be the same as the first parameter or different from the first parameter.

[0079] In the above scheme, by setting different parameters for the acquisition device, the acquisition device is controlled to acquire image frames of different sizes. When the second processor core does not detect an obstacle, the acquisition device is controlled to acquire a first image frame of smaller size based on the first parameter, so as to reduce the amount of data transmission and the complexity of the second processor core in processing data. When the second processor core detects an obstacle in the first image frame, the acquisition device is controlled to acquire a second image frame of larger size but higher image quality based on the second parameter, so as to improve the accuracy of obstacle detection by the second processor core. If the second processor core does not detect an obstacle in the second image frame, the acquisition device is controlled to acquire a third image frame of a size smaller than the second image frame based on the third parameter, so as to reduce the amount of data transmission and the complexity of the second processor core in processing data, and improve the efficiency of data transmission and the efficiency of obstacle detection by the second processor core.

[0080] In an example of the present application, a data transmission method is also provided, such as Figure 3As shown, before the first processor core sends at least one first image frame to the second processor core through inter-core communication, it also includes:

[0081] Step 301: The first processor core receives at least one first original image frame captured by a capture device.

[0082] Step 302: The first processor core compresses the at least one first original image frame to obtain the at least one first image frame.

[0083] After receiving at least one first original image frame captured by the capture device, the first processor core may also compress the first original image frame to obtain a first image frame with a smaller size.

[0084] Correspondingly, such as Figure 4 As shown, before the first processor core sends at least one third image frame to the second processor core through inter-core communication, the method further includes:

[0085] Step 401: the first processor core receives at least one third original image frame captured by a capture device.

[0086] Step 402: The first processor core compresses the at least one third original image frame to obtain the at least one third image frame.

[0087] Similarly, after receiving at least one third original image frame captured by the capture device, the first processor core may also compress the third original image frame to obtain a third image frame of smaller size.

[0088] In this embodiment, the first original image frame or the third original image frame is compressed by lossless compression (such as RLE (run length encoding), LZW (Lempel Ziv Welch, string table compression algorithm), predictive coding, etc.), color space conversion, resolution modification, etc.

[0089] In the above scheme, the parameter selection of the acquisition device is usually a fixed set of options. Therefore, when the parameter options of the acquisition device cannot meet the demand, the demand can be met by further compressing the image frames acquired by the acquisition device using the first processor core. By compressing the image frames, the amount of data transmission and the complexity of data processing by the second processor core can be further reduced.

[0090] In an example of the present application, a data transmission method is also provided, such as Figure 5 As shown, the multi-core heterogeneous chip further includes a third processor core, and the method further includes:

[0091] Step 501: When the second processor core detects that an obstacle exists in the at least one second image frame, the second processor core sends a third instruction to the first processor core through inter-core communication.

[0092] If the second processor core still detects an obstacle in at least one second image frame, it means that the obstacle detection in the first image frame is not a false detection. There is indeed an obstacle in the current acquisition direction of the acquisition device. Then the second processor core sends a third instruction to the first processor core through inter-core communication.

[0093] Step 502: After receiving the third instruction, the first processor core sends at least one fourth image frame to the third processor core through inter-core communication, where the at least one fourth image frame is a subsequent image frame of the at least one second image frame.

[0094] After receiving the third instruction, the first processor core sends at least one fourth image frame to the third processor core through inter-core communication.

[0095] The fourth image frame is a subsequent image frame of the second image frame, and a size of the fourth image frame is the same as that of the second image frame, or is larger than that of the second image frame.

[0096] Step 503: The third processor core stores the received at least one fourth image frame.

[0097] The third processor core stores the received at least one fourth image frame persistently, for example, in a hard disk or a flash memory.

[0098] In the above scheme, when the second processor core detects an obstacle in the second image frame, the third instruction is sent to the first processor core. After receiving the third instruction, the first processor core sends at least one fourth image frame to the third processor core through inter-core communication, and the third processor core stores the received at least one fourth image frame. The size of the fourth image frame is the same as or larger than that of the second image frame, so the image quality of the fourth image frame is at least the same as that of the second image frame, or higher. Persistent storage of the fourth image frame can provide data support for users in the future.

[0099] In an example of the present application, a data transmission method is also provided, such as Figure 6 As shown, the first processor core compresses at least one first original image frame, including:

[0100] Step 601: The first processor core determines a first quality parameter of the first original image frame.

[0101] The quality parameters may be image parameters such as resolution and color depth.

[0102] Step 602: The first processor core determines a second quality parameter based on the first quality parameter.

[0103] The first processor core determines a second quality parameter based on the first quality parameter of the first original image frame.

[0104] For example, the quality parameter is resolution, and the first quality parameter is 1280*720. Then, based on the first quality parameter, the second quality parameter is determined to be 640*480, which is lower than the first quality parameter.

[0105] Step 603: The first processor core determines a first image frame based on the first original image frame and a second quality parameter.

[0106] The first processor core modifies the quality parameter of the first original image frame into a second quality parameter to obtain a first image frame.

[0107] Correspondingly, such as Figure 7 As shown, the first processor core compresses at least one third original image frame, including:

[0108] Step 701: The first processor core determines a third quality parameter of the third original image frame.

[0109] Step 702: The first processor core determines a fourth quality parameter based on the third quality parameter.

[0110] Likewise, the first processor core determines a fourth quality parameter based on the third quality parameter of the third original image frame.

[0111] Step 703: The first processor core determines a third image frame based on the third original image frame and a fourth quality parameter.

[0112] The first processor core modifies the quality parameter of the third original image frame into a fourth quality parameter to obtain a third image frame.

[0113] In an example of the present application, a data transmission method is also provided, the method further comprising:

[0114] The first processor core sends the at least one first image frame for display.

[0115] After determining the first image frame, the first processor core needs to send the first image frame to the second processor core through inter-core communication and also needs to display the first image frame.

[0116] Correspondingly, after receiving the first instruction, the first processor core sends the at least one second image frame for display;

[0117] Similarly, after receiving the first instruction, the first processor core not only sends the second image frame to the second processor core through inter-core communication, but also needs to send the second image frame for display.

[0118] After receiving the second instruction, the first processor core sends the at least one third image frame for display.

[0119] Similarly, after receiving the second instruction, the first processor core not only sends the third image frame to the second processor core through inter-core communication, but also needs to send the third image frame for display.

[0120] After receiving the third instruction, the first processor core sends the at least one fourth image frame for display.

[0121] Similarly, after receiving the third instruction, the first processor core not only sends the fourth image frame to the second processor core through inter-core communication, but also needs to send the fourth image frame for display.

[0122] In order to implement the above data transmission method, Figure 8 As shown, an example of the present application provides a data transmission device, including:

[0123] A transmission module 10, configured to send at least one first image frame to the second processor core through inter-core communication;

[0124] A detection module 20, configured to send a first instruction to the first processor core through inter-core communication when an obstacle is detected in the at least one first image frame;

[0125] The transmission module 20 is also used to send at least one second image frame to the second processor core through inter-core communication after receiving the first instruction, and the at least one second image frame is a subsequent image frame of the at least one first image frame, and the size of the first image frame is smaller than the size of the second image frame.

[0126] Among them, it also includes:

[0127] A communication module 30, configured to send a second instruction to the first processor core through inter-core communication when it is detected that no obstacle exists in the at least one second image frame;

[0128] The transmission module 20 is also used to send at least one third image frame to the second processor core after receiving the second instruction, wherein the at least one third image frame is a subsequent image frame of the at least one second image frame, and the size of the third image frame is smaller than the size of the second image frame.

[0129] The communication module 30 is further configured to set the parameter of the acquisition device to a second parameter after receiving the first instruction, wherein the first image frame is acquired by the acquisition device based on the first parameter, and the second image frame is acquired by the acquisition device based on the second parameter;

[0130] The communication module 30 is further configured to set the parameters of the acquisition device to third parameters after receiving the second instruction, and the third image frame is acquired by the acquisition device based on the third parameters.

[0131] Among them, it also includes:

[0132] The transmission module 20 is further used to receive at least one first original image frame captured by the capture device;

[0133] The processing module 40 is used to compress the at least one first original image frame to obtain the at least one first image frame;

[0134] The transmission module 20 is further used to receive at least one third original image frame captured by the capture device;

[0135] The processing module 40 is further configured to compress the at least one third original image frame to obtain the at least one third image frame.

[0136] The communication module 30 is further configured to send a third instruction to the first processor core through inter-core communication when an obstacle is detected in the at least one second image frame;

[0137] The transmission module 20 is further configured to send at least one fourth image frame to the third processor core through inter-core communication after receiving the third instruction, wherein the at least one fourth image frame is a subsequent image frame of the at least one second image frame;

[0138] The processing module 40 is further configured to store the received at least one fourth image frame.

[0139] Wherein, the processing module 40 is further used to determine a first quality parameter of the first original image frame;

[0140] The processing module 40 is further configured to determine a second quality parameter based on the first quality parameter;

[0141] The processing module 40 is further configured to determine a first image frame based on the first original image frame and the second quality parameter;

[0142] The processing module 40 is further configured to determine a third quality parameter of the third original image frame;

[0143] The processing module 40 is further configured to determine a fourth quality parameter based on the third quality parameter;

[0144] The processing module 40 is further configured to determine a third image frame based on the third original image frame and a fourth quality parameter.

[0145] Wherein, the transmission module 20 is further used to send the at least one first image frame for display;

[0146] The transmission module 20 is further configured to send the at least one second image frame for display after receiving the first instruction;

[0147] The transmission module 20 is further configured to send the at least one third image frame for display after receiving the second instruction;

[0148] The transmission module 20 is further configured to send the at least one fourth image frame for display after receiving the third instruction.

[0149] The hardware structure diagram of the chip provided in the embodiment of the present application is as follows: Fig. 9 As shown, the chip 800 includes at least one processor 810, a user interface 830, a memory 850 and a bus 840; the various components in the chip 800 are coupled together through the bus 840. It can be understood that the bus 840 is used to realize the connection and communication between these components. In addition to the data bus, the bus 840 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as bus 840.

[0150] The processor 810 can be built into a system on chip or an application specific integrated circuit (ASIC), or the processor 810 can be located on an independent semiconductor chip and has signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), a microprocessor, a microcontroller unit (MCU), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., wherein the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0151] The user interface 830 is used for interacting and exchanging information with the user.

[0152] The memory 850 stores executable instructions for implementing the data transmission method provided in the embodiment of the present application; the memory 850 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drive, optical disk drive, etc. The memory 850 may optionally include one or more storage devices physically located away from the processor 810.

[0153] In some embodiments, memory 850 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof.

[0154] In some embodiments, the chip 800 may further include:

[0155] Operating system 851, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, application layer, etc., for implementing various basic services and processing hardware-based tasks;

[0156] The network communication module 852 is used to reach other computing devices via one or more (wired or wireless) network interfaces 820. Exemplary network interfaces 820 include: Bluetooth, Wireless LAN (WiFi), and Universal Serial Bus (USB).

[0157] An embodiment of the present application also provides an electronic device, the electronic device includes components, the components include a chip, and the chip can execute the data transmission method provided by the embodiment of the present application.

[0158] In some optional embodiments, the component may be a chassis, a door, a main board, a dashboard, etc.

[0159] An embodiment of the present application also provides a transportation device, which includes a chip, and the chip can execute the data transmission method provided in the embodiment of the present application.

[0160] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the data transmission method provided by the embodiment of the present application.

[0161] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0162] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0163] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0164] An embodiment of the present application provides a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the data transmission method described in the present application is implemented.

[0165] The above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A data transmission method, the method being applied to a multi-core heterogeneous chip comprising at least a first processor core and a second processor core, wherein each processor core of the multi-core heterogeneous chip and the hardware resources connected to the processor core constitute a hardware domain, and there is physical isolation between the hardware domains, the method comprising: The first processor core sends at least one first image frame to the second processor core through inter-core communication; When the second processor core detects that there is an obstacle in the at least one first image frame, the second processor core sends a first instruction to the first processor core through inter-core communication; After receiving the first instruction, the first processor core sends at least one second image frame to the second processor core through inter-core communication, wherein the at least one second image frame is a subsequent image frame of the at least one first image frame, and a size of the first image frame is smaller than a size of the second image frame.

2. The method according to claim 1, further comprising: When the second processor core detects that there is no obstacle in the at least one second image frame, the second processor core sends a second instruction to the first processor core through inter-core communication; After receiving the second instruction, the first processor core sends at least one third image frame to the second processor core, the at least one third image frame is a subsequent image frame of the at least one second image frame, and the size of the third image frame is smaller than the size of the second image frame.

3. The method according to claim 1 or 2, wherein the first image frame is acquired by an acquisition device based on a first parameter; after receiving the first instruction, the first processor core sets the parameter of the acquisition device to a second parameter, and the second image frame is acquired by the acquisition device based on the second parameter; Correspondingly, after receiving the second instruction, the first processor core sets the parameter of the acquisition device to the third parameter, and the third image frame is acquired by the acquisition device based on the third parameter.

4. The method according to claim 1 or 2, before the first processor core sends at least one first image frame to the second processor core through inter-core communication, further comprising: The first processor core receives at least one first original image frame captured by a capture device; The first processor core compresses the at least one first original image frame to obtain the at least one first image frame; Accordingly, before the first processor core sends at least one third image frame to the second processor core through inter-core communication, the method further includes: The first processor core receives at least one third original image frame captured by the capture device; The first processor core compresses the at least one third original image frame to obtain the at least one third image frame.

5. The method according to claim 1, wherein the multi-core heterogeneous chip further comprises a third processor core, and the method further comprises: When the second processor core detects that there is an obstacle in the at least one second image frame, the second processor core sends a third instruction to the first processor core through inter-core communication; After receiving the third instruction, the first processor core sends at least one fourth image frame to the third processor core through inter-core communication, where the at least one fourth image frame is a subsequent image frame of the at least one second image frame; The third processor core stores the received at least one fourth image frame.

6. The method according to claim 4, wherein the first processor core compresses at least one first original image frame, comprising: The first processor core determines a first quality parameter of the first original image frame; The first processor core determines a second quality parameter based on the first quality parameter; The first processor core determines a first image frame based on the first original image frame and a second quality parameter; Accordingly, the first processor core compresses at least one third original image frame, including: The first processor core determines a third quality parameter of the third original image frame; The first processor core determines a fourth quality parameter based on the third quality parameter; The first processor core determines a third image frame based on the third original image frame and a fourth quality parameter.

7. The method according to claim 1, 2 or 5, further comprising: The first processor core sends the at least one first image frame for display; Correspondingly, after receiving the first instruction, the first processor core sends the at least one second image frame for display; After receiving the second instruction, the first processor core sends the at least one third image frame for display; After receiving the third instruction, the first processor core sends the at least one fourth image frame for display.

8. A data transmission device, comprising: a transmission module, configured to send at least one first image frame to the second processor core through inter-core communication; a detection module, configured to send a first instruction to the first processor core through inter-core communication when an obstacle is detected in the at least one first image frame; The transmission module is also used to send at least one second image frame to the second processor core through inter-core communication after receiving the first instruction, and the at least one second image frame is a subsequent image frame of the at least one first image frame, and the size of the first image frame is smaller than the size of the second image frame.

9. A chip, comprising a processor, wherein the processor is capable of executing the data transmission method according to any one of claims 1 to 5.

10. An electronic device, comprising a component, wherein the component comprises a chip, and the chip can execute the data transmission method according to any one of claims 1 to 5.

11. A transportation device, comprising a chip, wherein the chip can execute the data transmission method according to any one of claims 1 to 5.