Vehicle-mounted camera data transmission processing method, electronic equipment and storage medium

By obtaining camera image data and determining image description information, sending it to the on-board module for data transmission, the problem of delay and flexibility of data transmission of on-board cameras is solved, real-time transmission and flexible reading are realized, and real-time performance of advanced autonomous driving is met. need.

CN119094825APending Publication Date: 2024-12-06CHINA AUTOMOTIVE INNOVATION CORP
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, the transmission delay of on-board camera data is long and the data transmission is not flexible enough, making it difficult to meet the real-time requirements of advanced autonomous driving.

Method used

By acquiring camera image data, image description information, including device description information and cache address information, is determined, and sent to the on-board module, data transmission is carried out based on image description information, reducing transmission delay and improving data reading flexibility.

Benefits of technology

Real-time transmission of camera data is realized, transmission delay is reduced, real-time requirements of advanced autonomous driving, and flexible reading methods are provided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094825A_ABST
    Figure CN119094825A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle-mounted camera data transmission processing method, electronic equipment and a storage medium. The method comprises the following steps: acquiring image data acquired by a camera; determining image description information corresponding to the image data according to the image data; the image description information comprises equipment description information and cache address information; sending the image description information to a vehicle-mounted module subscribing to the image description information; and transmitting the image data to the vehicle-mounted module based on an access request of the vehicle-mounted module to the image data. According to the technical scheme provided by the invention, a flexible reading mode is provided for the upper layer module according to the provided equipment description information and image cache address information, and the transmission delay is reduced by transmitting the image description information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle-mounted data transmission processing, and in particular to a vehicle-mounted camera data transmission processing method. Background Art

[0002] At present, assisted autonomous driving and advanced autonomous driving vehicles are equipped with more and more cameras. With the development of integrated driving and parking technology, the role of cameras is becoming more and more important. When we obtain camera data, how to reduce the transmission delay of camera data and how to make camera data transmission more flexible have become issues that Tier 1 and OEMs consider.

[0003] Taking the currently widely used open source V4L2 driver architecture as an example, the V4L2 framework provides a device abstraction layer that allows applications to communicate with various types of video devices. The camera image reading module reads the camera data from the video device node provided by V4L2, stores it in the cache, and then publishes it through the middleware. After the camera data comes out from the kernel driver, it is copied twice, which has a large delay. Summary of the invention

[0004] The present application provides a method for processing vehicle camera data transmission, which at least solves the problem of how to reduce the transmission delay of camera data in the related art and achieve the effect of flexible reading of camera data. The technical solution of the present application is as follows:

[0005] According to a first aspect of an embodiment of the present application, a method for processing vehicle camera data transmission is provided, comprising:

[0006] In a possible implementation, image data collected by a camera is obtained;

[0007] Determine, according to the image data, image description information corresponding to the image data; the image description information includes device description information and cache address information;

[0008] Sending the image description information to a vehicle-mounted module that subscribes to the image description information;

[0009] Based on the in-vehicle module's access request to the image data, the image data is transmitted to the in-vehicle module.

[0010] In a possible implementation manner, the determining, according to the image data, image description information corresponding to the image data; the image description information including device description information and cache address information, includes:

[0011] Determine the device description information based on the image data; the device description information includes camera channel number information, image number information and image type information;

[0012] Determine the cache address information corresponding to the image data according to the image data and the device description information;

[0013] The image description information is obtained based on the device description information and the cache address information.

[0014] In a possible implementation, the determining the device description information based on the image data; the device description information including camera channel number information, image number information and image type information, includes:

[0015] Determine the camera channel number information and the image type information according to the physical access link of the camera;

[0016] The image number information is determined based on the order in which the image data arrive.

[0017] In a possible implementation, sending the image description information to a vehicle-mounted module that subscribes to the image description information includes:

[0018] The image description information is sent to the image description information acquisition module through a socket or a shared memory; the image description information acquisition module is an independent functional module;

[0019] The image description information is sent to the vehicle-mounted module that subscribes to the image description information through the image description information acquisition module.

[0020] In a possible implementation, after the step of sending the image description information to the image description information acquisition module through a socket or a shared memory, the method includes:

[0021] Obtaining quantity information of the image description data obtained within a preset time period;

[0022] Determining a frame rate of the image data based on the quantity information, the preset duration, and the image description information;

[0023] According to the frame rate, determining whether there is a lack of frames or a frame loss;

[0024] In case of missing frames or frame loss, the upper layer algorithm is informed to handle it.

[0025] In a possible implementation, sending the image description information to a vehicle-mounted module that subscribes to the image description information includes:

[0026] Integrating the image description information acquisition module into the perception algorithm module; the perception algorithm module is located in the vehicle-mounted module;

[0027] The image description information is sent to the vehicle-mounted module that subscribes to the image description information through a socket or a shared memory.

[0028] In a possible implementation, the transmitting the image data to the vehicle-mounted module based on the vehicle-mounted module's access request to the image data includes:

[0029] Based on the access request of the vehicle-mounted module to the image data, parsing the image description information corresponding to the image data to obtain the cache address information;

[0030] Based on the cache address information, the image data is transmitted to the vehicle-mounted module.

[0031] In a possible implementation, after the step of transmitting the image data to the vehicle-mounted module based on the cache address information, the method includes:

[0032] The cache space corresponding to the image data and the image description information is released.

[0033] According to a second aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a method as described in any one of the above-mentioned first aspects.

[0034] According to a third aspect of an embodiment of the present application, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any method described in the first aspect of the embodiment of the present application.

[0035] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0036] The acquired image data is processed to determine the image description information corresponding to the image data. The image description information includes device description information and cache address information. By providing the device description information and cache address information, a flexible reading method can be provided for the upper-level module. The image description information is sent to the vehicle-mounted module that subscribes to the image description information. The vehicle-mounted module transmits the image data to the vehicle-mounted module based on the access request for the image data. During the image data transmission process, the image description information is first transmitted, and then the image data is obtained based on the image description information. This can reduce the transmission delay of the image data and better meet the real-time requirements.

[0037] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0039] Figure 1 It is a schematic diagram of an application environment according to an exemplary embodiment.

[0040] Figure 2 The present invention is a flowchart of a method for processing vehicle-mounted camera data transmission according to an exemplary embodiment.

[0041] Figure 3 The present invention is a data flow chart showing a conventional data transmission processing method for a vehicle-mounted camera according to an exemplary embodiment.

[0042] Figure 4 The data flow diagram of a method for processing vehicle camera data transmission according to an exemplary embodiment is shown in FIG. Figure 1 .

[0043] Figure 5 The data flow diagram of a method for processing vehicle camera data transmission according to an exemplary embodiment is shown in FIG. Figure 2 .

[0044] Figure 6 The present invention is a frame of an electronic device for a vehicle-mounted camera data transmission processing method according to an exemplary embodiment. Figure 1 .

[0045] Figure 7 The present invention is a frame of an electronic device for a vehicle-mounted camera data transmission processing method according to an exemplary embodiment. Figure 2 . DETAILED DESCRIPTION

[0046] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application 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 interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0048] The word "exemplary" used exclusively herein means "serving as an example, embodiment or illustrative". Any embodiment described herein as "exemplary" is not necessarily to be construed as being superior or better than other embodiments. The term "and / or" herein is merely a description of an association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of types. For example, including at least one of A, B, and C may represent any one or more elements selected from the set consisting of A, B, and C.

[0049] The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0050] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

[0051] See also Figure 1 , Figure 1 is a schematic diagram of an application environment according to an exemplary embodiment. Figure 1 As shown, the application environment may include a server 101 and a vehicle end 102 .

[0052] In an optional embodiment, the server 101 can be used to process the image data acquired by the vehicle end 102. Specifically, the server 01 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0053] In an optional embodiment, the server 101 obtains the image data collected by the camera in the vehicle end 102, and the server 101 determines the image description information corresponding to the image data based on the collected image data. The server 101 sends the image description information to the vehicle module that subscribes to the image description information. The server 101 transmits the image data to the vehicle module based on the vehicle module's access to the image data.

[0054] In addition, it should be noted that Figure 1 What is shown is only one application environment of the vehicle-mounted camera transmission processing method provided by this application.

[0055] In the embodiments of this specification, the server 101 and the vehicle end 102 may be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitation thereto.

[0056] The following describes a specific embodiment of a vehicle-mounted camera data transmission processing method of the present application. Figure 2 It is a flowchart of a method for processing vehicle-mounted camera data transmission according to an exemplary embodiment. This specification provides method operation steps such as the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in the order of the method shown in the embodiment or the accompanying drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 2 As shown, the method may include the following steps:

[0057] In step S201, image data collected by a camera is obtained.

[0058] In the present embodiment, the camera may be any one or more cameras installed in any car; the image data may be image frame data captured by the camera.

[0059] In a possible implementation, when the car is started, a camera installed in the car starts to collect image data.

[0060] In step S203, image description information corresponding to the image data is determined according to the image data.

[0061] In the present embodiment, the image data may be an image frame data, and the image description information corresponding to the image data may be obtained according to the image data. The image data may also be a group of image frames, and the image description information corresponding to the group of image frame data may be obtained according to the image frame data. The image description information may be determined according to the camera from which the image data comes, the order in which the image data is generated, the type of the image data, and the address at which the image data is stored.

[0062] In a possible implementation, the image description information includes device description information and cache address information. The device description information is determined based on the image data; the device description information includes camera channel number information, image number information, and image type information; the cache address information corresponding to the image data is determined based on the image data and the device description information; the image description information is obtained based on the device description information and the cache address information.

[0063] In the present embodiment, device description information and image cache address information are provided for image data, which can provide a flexible access method for upper-layer modules.

[0064] In one possible implementation, device description information is determined based on image data; the device description information includes camera channel number information, image number information and image type information, including: determining the camera channel number information and image type information based on the physical access link of the camera; determining the image number information based on the order in which the image data arrives.

[0065] In the present embodiment, the camera channel number information may be pre-configured, different input links may be connected to different cameras, and different cameras may correspond to different camera channel numbers and image types. The image number information may be determined based on the camera channel number and the order in which the image data arrives under the camera channel, and the image number information may be image frame number information. The cache address information may be determined based on the camera channel number information, the image number information, and the image type information, and the image data obtained from the same camera channel may be stored in a continuous cache address space based on the image number information, and the module that subscribes to the image data in the application layer may obtain the image data quickly and timely based on the continuous cache address.

[0066] In step S205, the image description information is sent to the vehicle-mounted module that subscribes to the image description information.

[0067] In the present embodiment, the vehicle-mounted module may be a module for acquiring image description information, a module for subscribing to image data, or a module for processing image description information and image data. For example, in an autonomous driving vehicle, the vehicle-mounted module may also be a vehicle control module or an autonomous driving module.

[0068] In a possible implementation, sending the image description information to a vehicle-mounted module that subscribes to the image description information includes: sending the image description information to an image description information acquisition module via a socket or shared memory; the image description information acquisition module may be an independent functional module; and sending the image description information to the vehicle-mounted module that subscribes to the image description information via the image description information acquisition module.

[0069] In a possible implementation, the graphic description information acquisition module can be an independent functional module. The image description information acquisition module can not only acquire the image description information but also determine the frame rate of the image data according to the number of image description information acquired within a preset time length, the image description information and the preset time length. By monitoring the frame rate of the image data, it can be determined whether there are fewer frames or frame losses; if there are fewer frames or frame losses, the upper-layer algorithm is informed to process. Exemplarily, the image description information acquisition module can count the average number of image description information acquired within 1 second, and one image description information can correspond to a group of image frames of a certain number, or it can correspond to one image frame. The number of image description information and the image description information acquired within 1 second can be counted to determine the frame rate of the image data, and whether there are fewer frames or frame losses can be determined according to the frame rate; if there are fewer frames or frame losses, the upper-layer algorithm is informed to process.

[0070] In one possible implementation, the accuracy and real-time performance of image data are highly required in the field of autonomous driving. Using image description information can reduce the delay in image data transmission and reduce memory consumption. During data transmission, if there are fewer frames or lost frames, the upper-layer algorithm is informed to handle them, which can reduce the risk of data confusion and loss.

[0071] In a possible implementation, the image description information acquisition module can be integrated into the perception algorithm module, and the perception algorithm module is located in the vehicle-mounted module; the image description information is sent to the vehicle-mounted module that subscribes to the image description information through a socket or shared memory.

[0072] In a possible implementation, the image description information can pass through multiple modules. Exemplarily, after the image description information is generated by the camera driver in the kernel, it first passes through the middleware, which integrates the image description information acquisition module. The middleware needs to send the image description information to the perception algorithm module that subscribes to the image data. The image description information can also pass through only one module, and the image description information acquisition module is located in the perception algorithm module, that is, the image description information only passes through the perception algorithm module. Two image data acquisition modules are designed, which can be flexibly selected according to the system software architecture.

[0073] In step S207, based on the vehicle-mounted module's access request to the image data, the image data is transmitted to the vehicle-mounted module.

[0074] In this embodiment, based on the vehicle-mounted module's access request to the image data, the image description information corresponding to the image data is parsed to obtain the cache address information. After the vehicle-mounted module obtains the cache address information, the image data is obtained from the cache space corresponding to the cache address.

[0075] In a possible implementation, after the step of transmitting the image data to the vehicle-mounted module based on the cache address information, the vehicle end releases the cache space corresponding to the image data and the image description information.

[0076] Figure 3 FIG. 1 is a data flow chart showing a conventional data transmission processing method for a vehicle-mounted camera according to an exemplary embodiment. Figure 3 As shown in the figure, the image data is copied twice. The camera first sends the acquired camera data to the middleware through the camera driver, and the camera data is copied for the first time in the middleware. After the middleware obtains the camera data, the APP (Application) needs the camera data, so the second copy occurs in the APP (Application). Therefore, the image data is copied twice after it is generated. Since each image data transmission has to go through two copies, it will cause a large transmission delay of the image data.

[0077] Figure 4 The data flow diagram of a method for processing vehicle camera data transmission according to an exemplary embodiment is shown in FIG. Figure 1 .like Figure 4The camera shown generates image description information when the acquired camera data passes through the camera driver. The image description information includes device description information and cache address information. The device description information includes camera channel number information, image number information and image type information. At this time, the middleware acquires the image description information, that is, the image description information is copied once in the middleware. The middleware can monitor the frame rate of the image according to the number of image description information acquired within the preset time and the image description information, and can determine whether frame loss or frame shortage occurs according to the frame rate. In the case of frame loss or frame shortage, the upper layer algorithm can be informed. Compared with the traditional data processing method of the vehicle-mounted camera, the image description information is copied in the middleware instead of the image data, which reduces the copying time and thus reduces the transmission delay of the image data. The perception layer needs to obtain the image data, and the perception layer needs to copy the image description information from the middleware once. The perception layer that obtains the image description information can obtain the cache address of the image data. After the perception layer obtains the cache address of the image data, it can obtain the image data from the kernel. The first two copies are copies of the image description information. The space occupied by the image description information is much smaller than the space size of the image data. Therefore, the time taken to copy the image description information is much shorter than the time taken to copy the image data and can be ignored. As shown in the data flow chart, only one necessary copy of the image data is performed, which reduces the transmission delay of the camera data.

[0078] Figure 5 The data flow diagram of a method for processing vehicle camera data transmission according to an exemplary embodiment is shown in FIG. Figure 2 .like Figure 5 The camera shown generates image description information corresponding to the camera data when the acquired image data passes through the camera driver. The perception algorithm module of the application layer needs to obtain image data. At this time, the image description information acquisition module in the perception algorithm module first obtains the image description information. The image description information is sent by the camera driver to the image description information acquisition module in the application layer through a socket or shared memory method. After the image description information acquisition module obtains the image description information, it obtains the cache address of the image data in the image description information. The perception algorithm module of the application layer obtains the image data from the camera driver according to the cache address, that is, the perception algorithm module makes a copy of the image data. Figure 5 The flowchart shown also only makes one necessary copy of the image data, thereby reducing the transmission delay of the camera data.

[0079] Figure 6 is a block diagram of an electronic device for a vehicle-mounted camera data transmission processing method according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for data transmission and processing of a vehicle-mounted camera is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.

[0080] Those skilled in the art will understand that Figure 6 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0081] Figure 7 is a block diagram of an electronic device for a vehicle-mounted camera data transmission processing method according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The electronic device includes a processor, a memory and a network interface connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for data transmission and processing of a vehicle-mounted camera is implemented.

[0082] Those skilled in the art will understand that Figure 7 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0083] In an exemplary embodiment, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the vehicle-mounted camera data transmission processing method as in the embodiment of the present application.

[0084] In an exemplary embodiment, a computer-readable storage medium is also provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the vehicle-mounted camera data transmission processing method in the embodiment of the present application. The computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0085] In an exemplary embodiment, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the method for processing vehicle-mounted camera data transmission in an embodiment of the present application.

[0086] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0087] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0088] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for processing vehicle-mounted camera data transmission, characterized in that: include: Get the image data collected by the camera; Determine, according to the image data, image description information corresponding to the image data; the image description information includes device description information and cache address information; Sending the image description information to a vehicle-mounted module that subscribes to the image description information; Based on the in-vehicle module's access request to the image data, the image data is transmitted to the in-vehicle module.

2. The method according to claim 1, characterized in that The step of determining image description information corresponding to the image data according to the image data; the image description information including device description information and cache address information, includes: Determine the device description information based on the image data; the device description information includes camera channel number information, image number information and image type information; Determine the cache address information corresponding to the image data according to the image data and the device description information; The image description information is obtained based on the device description information and the cache address information.

3. The method according to claim 2, characterized in that The device description information is determined based on the image data; the device description information includes camera channel number information, image number information and image type information, including: Determine the camera channel number information and the image type information according to the physical access link of the camera; The image number information is determined based on the order in which the image data arrive.

4. The method according to claim 1, characterized in that: The step of sending the image description information to a vehicle-mounted module that subscribes to the image description information includes: The image description information is sent to the image description information acquisition module through a socket or a shared memory; the image description information acquisition module is an independent functional module; The image description information is sent to the vehicle-mounted module that subscribes to the image description information through the image description information acquisition module.

5. The method according to claim 4, characterized in that After the step of sending the image description information to the image description information acquisition module by means of a socket or a shared memory, the method further includes: Obtaining information on the quantity of the image description information obtained within a preset time period; Determining a frame rate of the image data based on the quantity information, the preset duration, and the image description information; According to the frame rate, determining whether there is a lack of frames or a frame loss; In case of missing frames or frame loss, the upper layer algorithm is informed to handle it.

6. The method according to claim 1, characterized in that The step of sending the image description information to a vehicle-mounted module that subscribes to the image description information includes: Integrating the image description information acquisition module into the perception algorithm module; the perception algorithm module is located in the vehicle-mounted module; The image description information is sent to the vehicle-mounted module that subscribes to the image description information through a socket or a shared memory.

7. The method according to claim 1, characterized in that The step of transmitting the image data to the vehicle-mounted module based on the vehicle-mounted module's access request to the image data comprises: Based on the access request of the vehicle-mounted module to the image data, parsing the image description information corresponding to the image data to obtain the cache address information; Based on the cache address information, the image data is transmitted to the vehicle-mounted module.

8. The method according to claim 7, characterized in that After the step of transmitting the image data to the vehicle-mounted module based on the cache address information, the method further includes: The cache space corresponding to the image data and the image description information is released.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the camera data transmission processing method as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the camera data transmission processing method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Traffic video monitoring management control system

    CN106327875A

  • Image transmission method and device and readable storage medium

    CN116320190A

  • Video data sharing method and system

    CN116401221A

  • Camera sharing method, device, equipment and system

    CN116916146A

  • Vehicle-mounted image transmission method and device, electronic equipment and storage medium

    CN118612272A