Abstract:
This application provides a signal processing method and a related apparatus, and in particular, relates to a laser radar. The method includes: reflecting first laser light to a detection area at a first angle by using a scanning-type reflection module; determining a first converged electrical signal based on at least two electrical signals from at least two detection units; determining at least one target distance corresponding to the detection area based on time information of the at least one characteristic signal; determining at least one detection unit group based on the at least one target distance and the first angle; and determining at least one piece of echo information in the detection area based on a first electrical signal obtained based on at least one electrical signal from a first detection unit group in the at least one detection unit group.
Abstract:
An inter-manycore communications method includes applying, by a service manager process, to a microkernel operating system for shared memory, and mapping shared memory, which is allocated by the microkernel operating system, to virtual address space of the service manager process; receiving and recording a service identifier of a system service process and a second shared memory address that corresponds to the service identifier; searching, according to a service identifier carried by a system service request, for the second shared memory address that corresponds to the service identifier carried by the system service request; and sending the service identifier carried by the system service request, a first shared memory address, and the second shared memory address that corresponds to the service identifier to a user process. According to the method, a problem that communication between a user process and a system service process needs multiple context switches can be solved.
Abstract:
An inter-manycore communications method includes applying, by a service manager process, to a microkernel operating system for shared memory, and mapping shared memory, which is allocated by the microkernel operating system, to virtual address space of the service manager process; receiving and recording a service identifier of a system service process and a second shared memory address that corresponds to the service identifier; searching, according to a service identifier carried by a system service request, for the second shared memory address that corresponds to the service identifier carried by the system service request; and sending the service identifier carried by the system service request, a first shared memory address, and the second shared memory address that corresponds to the service identifier to a user process. According to the method, a problem that communication between a user process and a system service process needs multiple context switches can be solved.
Abstract:
A core resource allocation method and apparatus, and a many-core system for allocating core resources of the many-core system are disclosed. In the method, after acquiring a quantity of idle cores needed for a user process, an execution core of the many-core system determine at least two scattered core partitions meeting the quantity, where each core partition is a set of one or multiple cores, and all cores in each core partition are idle cores. Then, the execution core combines the at least two scattered core partitions to form one continuous core partition, and allocates the formed continuous core partition to the user process. In this way, process interaction can be directly performed between different cores in a continuous core partition allocated to a user process, thereby improving efficiency of communication between processes. Furthermore, a waste of core resources can be effectively avoided.