Shared memory access control method and device, electronic equipment and automatic driving vehicle

A shared memory and access control technology, applied in the operating system and unmanned driving fields, can solve problems such as not supporting data writing

Pending Publication Date: 2022-04-12
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The problem in the current solution is that the configuration of shared memory is fixed and does not support data writing with adaptive length

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Shared memory access control method and device, electronic equipment and automatic driving vehicle
  • Shared memory access control method and device, electronic equipment and automatic driving vehicle
  • Shared memory access control method and device, electronic equipment and automatic driving vehicle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0030] In the solution of the embodiment of the present disclosure, the structure of the shared memory is optimized, and the shared memory is logically divided into a region (Region), a block (Block) and a data buffer (Buffer), wherein a region may include one or more blocks , each block corresponds to a data buffer, the configuration information of the blocks included ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a shared memory access control method and device, electronic equipment and an automatic driving vehicle, and relates to the technical field of artificial intelligence, in particular to unmanned driving and operation system technologies. The method comprises the following steps: creating and initializing a shared memory, wherein the initialized shared memory comprises a plurality of region configuration objects, a plurality of block configuration objects and a plurality of data buffer regions; determining at least one target block through the data volume of the to-be-written data corresponding to the first process; and writing the to-be-written data into a target data buffer region corresponding to the at least one target block through the first process, storing the configuration information of the at least one target block into a region configuration object corresponding to the target region, and storing the configuration information of the target data buffer region into a block configuration object corresponding to the at least one target block. According to the method, self-adaptive length data writing is realized.

Description

technical field [0001] The present disclosure relates to unmanned driving and operating system technology in the field of artificial intelligence technology, and in particular to a shared memory access control method, device, electronic equipment and self-driving vehicle. Background technique [0002] In the same host, different modules may be in different process spaces. In order to speed up program execution efficiency and improve system performance, multi-process communication with the host is realized by using shared memory. [0003] When multiple processes need to communicate through shared memory, it is usually pre-agreed that one of the processes will be started first and a shared memory of a specified size will be created. After the memory initialization is completed, other processes will be started, and the shared memory will be mapped by other processes. to its own process space. Afterwards, the multiple processes can communicate through the shared memory, usually...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/54G06F12/02
CPCG06F2212/173G06F12/023G06F12/0284G06F9/5016G06F9/544G06F12/0253G06F2212/1016G06F2212/1041G06F12/0223G06F2212/1008G06F12/0669G06F3/0683G06F3/064G06F3/0658G06F3/0632G06F12/0246G06F2212/254G06F2212/7205G06F2212/7208G06F3/0604G06F3/0656G06F3/067
Inventor 董雷
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products