A memory resource control method, device, equipment and storage medium

By monitoring and releasing the memory resources of the radar program in the vehicle-mounted millimeter-wave radar sensor system, and executing the next program according to the preset sequence, the problem of insufficient memory in the vehicle-mounted millimeter-wave radar sensor system is solved, reducing processor costs and improving memory Utilization.

CN114153600BActive Publication Date: 2024-09-24CHINA AUTOMOTIVE INNOVATION CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111363964.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-17
Publication Date
2024-09-24
Estimated Expiration
2041-11-17

AI Technical Summary

Technical Problem

In vehicle-mounted millimeter-wave radar sensor systems, with the improvement of distance resolution and speed resolution, the amount of data is large, and the memory space of commonly used mainstream radar processors cannot meet the demand, resulting in higher costs.

Method used

By monitoring the execution progress of multiple radar programs, the memory resources of the completed programs are released, and the next program to be executed is determined according to the preset sequence, and the program to be executed is executed based on the free memory resources to realize the reuse of memory resources.

Benefits of technology

It reduces the consumption of memory resources, reduces the cost of the processor, meets the usage requirements of the automotive millimeter-wave radar sensor for the processor memory space, and improves the utilization of memory resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114153600B
    Figure CN114153600B
Patent Text Reader

Abstract

The present invention proposes a memory resource control method, device, equipment and storage medium. The method includes: monitoring the execution progress of a radar program to be monitored among multiple radar programs executed in a preset order, wherein the radar program to be monitored is at least one radar program among the multiple radar programs; when monitoring a target program whose execution progress changes from an executing state to an ending state, releasing the memory resources occupied by the target program when it is executed, wherein the target program is one of the at least one program to be monitored; determining the program to be executed after the target program among the multiple radar programs according to the preset order of the multiple radar programs; and executing the program to be executed based on the free memory resources and the released memory resources. After the execution of the target program ends, the memory resources occupied by the target program when it is executed can be released, and the released memory resources can be used by the program to be executed, so as to realize the reuse of memory resources and make the most effective and efficient use of limited memory resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of radar, and in particular to a memory resource control method, device, equipment and storage medium. Background Art

[0002] Automotive millimeter-wave radar sensor systems sample reflected signals from target objects. After sampling, the data needs to be processed. As range and velocity resolutions increase, the amount of data increases, and the memory space of commonly used mainstream radar processors cannot meet these requirements. Therefore, processors with larger memory spaces are often selected, resulting in higher costs. Summary of the Invention

[0003] In order to meet the requirements of vehicle-mounted millimeter-wave radar sensors for processor memory space usage, the present invention proposes a memory resource control method, device, equipment and storage medium. The present invention is specifically implemented with the following technical solutions.

[0004] A memory resource control method provided by this application includes:

[0005] monitoring an execution progress of a radar program to be monitored among a plurality of radar programs executed in a preset order, wherein the radar program to be monitored is at least one radar program among the plurality of radar programs;

[0006] When monitoring a target program whose execution progress changes from an executing state to a finished state, releasing memory resources occupied by the target program when the target program is executed, the target program being one of the at least one program to be monitored;

[0007] determining, according to a preset order of the plurality of radar programs, a program to be executed after the target program among the plurality of radar programs;

[0008] The program to be executed is executed based on the idle memory resources and the released memory resources.

[0009] In a possible implementation, the correspondence between the target program and the program to be executed includes at least one of the following:

[0010] When the target program is a radar boot loader program, the program to be executed is a range-dimensional Fourier program;

[0011] When the target program is the distance-dimensional Fourier program, the programs to be executed include a velocity-dimensional Fourier program, an incoherent accumulation program, and a constant false alarm detection program;

[0012] When the target program is the constant false alarm detection program, the program to be executed is an angle estimation program.

[0013] In a possible implementation, the target program is a radar boot loader; and releasing memory resources occupied by the target program when it is executed includes:

[0014] The operating resources and data resources occupied by the radar boot loader when being executed are released.

[0015] In a possible implementation, the target program is a distance-dimensional Fourier program; and releasing memory resources occupied by the target program when it is executed includes:

[0016] The data resources occupied by the discarded data corresponding to the range-dimensional Fourier program are released, where the discarded data is data discarded after the radar sampling data is processed according to the range-dimensional Fourier program.

[0017] In a possible implementation, the target program is a constant false alarm detection program; and releasing memory resources occupied by the target program when it is executed includes:

[0018] Release data resources occupied by detection data corresponding to the constant false alarm detection program, the detection data being incoherent accumulated data obtained by processing velocity dimension data according to the incoherent accumulation program, the velocity dimension data being obtained by processing distance dimension data according to the velocity dimension Fourier program, and the distance dimension data being obtained by processing radar sampling data according to the distance dimension Fourier program.

[0019] In a possible implementation, the number of the programs to be executed is at least one.

[0020] In a possible implementation, when monitoring that the execution progress of the target program changes from an executing state to an ending state, releasing the memory resources occupied by the target program during execution includes:

[0021] When the target program is detected and the target program is not a terminal radar program, memory resources occupied by the target program when it is executed are released, and the terminal radar program is the last program executed among the multiple radar programs.

[0022] In addition, the present application also provides a memory resource control device, comprising:

[0023] a monitoring module, configured to monitor the execution progress of a radar program to be monitored among a plurality of radar programs executed in a preset order, wherein the radar program to be monitored is at least one radar program among the plurality of radar programs;

[0024] a first control module, configured to release memory resources occupied by a target program when monitoring that the target program has changed its execution progress from an executing state to a finished state, wherein the target program is one of at least one program to be monitored;

[0025] a determination module, configured to determine, among the plurality of radar programs, a program to be executed subsequent to the target program according to a preset order of the plurality of radar programs;

[0026] The second control module is used to execute the program to be executed based on the idle memory resources and the released memory resources.

[0027] In addition, the present application also provides a memory resource control device, including:

[0028] processor;

[0029] a memory for storing processor-executable instructions;

[0030] The processor is configured to execute:

[0031] monitoring an execution progress of a radar program to be monitored among a plurality of radar programs executed in a preset order, wherein the radar program to be monitored is at least one radar program among the plurality of radar programs;

[0032] When monitoring a target program whose execution progress changes from an executing state to a finished state, releasing memory resources occupied by the target program when the target program is executed, the target program being one of the at least one program to be monitored;

[0033] determining, according to a preset order of the plurality of radar programs, a program to be executed after the target program among the plurality of radar programs;

[0034] The program to be executed is executed based on the idle memory resources and the released memory resources.

[0035] The present application also provides a computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions implement the above-mentioned method when executed by a processor.

[0036] In this application, after the execution of the target program is completed, the memory resources occupied by the target program during execution can be released. The released memory resources can be used by the program to be executed, realizing the reuse of memory resources, making the most effective and efficient use of limited memory resources, and meeting the vehicle-mounted millimeter-wave radar sensor's requirements for processor memory space. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 1 is a flow chart showing a method for controlling memory resources according to an exemplary embodiment;

[0039] Figure 2 The figure is a block diagram of a memory resource control device according to an exemplary embodiment. DETAILED DESCRIPTION

[0040] Various exemplary embodiments, features, and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.

[0041] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0042] In addition, numerous specific details are provided in the detailed description below to better illustrate the present application. Those skilled in the art will appreciate that the present application can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present application.

[0043] In order to meet the requirements of vehicle-mounted millimeter-wave radar sensors for processor memory space usage, the present invention proposes a memory resource control method, device, equipment and storage medium. The present invention is specifically implemented with the following technical solutions.

[0044] A memory resource control method provided in an embodiment of this specification can be applied to a vehicle-mounted millimeter-wave radar. The vehicle-mounted millimeter-wave radar can perform radar detection on the detection object, obtain a detection signal, process the detection signal based on memory resources, and obtain an analysis result of the detection object. The detection object can be other vehicles, pedestrians, buildings, etc. in the vehicle's environment.

[0045] Combine Figure 1 As shown, the memory resource control method provided in the embodiment of this specification includes:

[0046] Step S101: monitoring the execution progress of a radar program to be monitored among a plurality of radar programs executed in a preset order, where the radar program to be monitored is at least one radar program among the plurality of radar programs.

[0047] In the embodiments of this specification, radar programs may be all programs used by a vehicle-mounted millimeter-wave radar to acquire and process detection signals. The number of radar programs may be two or more. Radar programs may include a radar bootloader program, a detection signal receiving program, a detection signal sampling program, a range Fourier transform program, and the like. Radar programs have an execution sequence, with multiple radar programs executed sequentially according to a preset order. The next radar program can be executed after the previous radar program completes. Radar program execution information may be information representing the execution status of the radar program. The execution status may include an executing state, a completed state, and an unexecuted state. The executing state indicates that the program is currently being executed based on memory resources, which may include running resources and data resources. The completed state may indicate that the program has completed execution. The unexecuted state may indicate that the program is waiting to be executed.

[0048] The radar program to be monitored may be part of a plurality of radar programs; the execution order of the plurality of radar programs to be monitored may be continuous or discontinuous; or the execution order of some of the plurality of radar programs to be monitored may be continuous while the execution order of others may be discontinuous. In the embodiments of this specification, the execution progress of at least one radar program to be monitored may be monitored simultaneously.

[0049] Step S102: when monitoring a target program whose execution progress changes from an executing state to an ending state, releasing memory resources occupied by the target program during execution, the target program being one of the at least one program to be monitored.

[0050] In an embodiment of the present specification, when the execution progress of any radar program to be monitored changes from an executing state to a completed state, the radar program to be monitored can be identified as a target program, and the memory resources occupied by the radar program to be monitored during execution can be released. In an embodiment of the present specification, the memory resources occupied by the target program during execution can be partially released, or all of the memory resources occupied by the target program during execution can be released.

[0051] Step S103: determining a program to be executed after the target program among the multiple radar programs according to a preset order of the multiple radar programs.

[0052] In the embodiments of this specification, the pending program is a radar program; multiple radar programs have an execution order, and the pending program is executed after the target program; based on preset execution order information, the program after the target program can be determined as the pending program. There is at least one pending program.

[0053] Step S104: Execute the program to be executed based on the idle memory resources and the released memory resources.

[0054] In the embodiment of this specification, free memory resources may refer to memory resources not occupied by any program when executing the target program, and released memory resources may refer to memory resources released in step S102. In the embodiment of this specification, released memory resources may be used as data resources of the program to be executed.

[0055] In the embodiments of this specification, after the execution of the target program is completed, the memory resources occupied by the target program during execution can be released. The released memory resources can be used by the program to be executed, thereby realizing the reuse of memory resources, making the most effective and efficient use of limited memory resources, and meeting the vehicle-mounted millimeter-wave radar sensor's requirements for processor memory space.

[0056] In one possible implementation, the correspondence between the target program and the program to be executed includes at least one of the following:

[0057] When the target program is a radar boot loader program, the program to be executed is a range-dimensional Fourier program;

[0058] When the target program is a distance-dimensional Fourier program, the programs to be executed include a velocity-dimensional Fourier program, an incoherent accumulation program, and a constant false alarm detection program;

[0059] When the target program is a constant false alarm detection program, the program to be executed is an angle estimation program.

[0060] In an embodiment of the present specification, the radar program to be monitored may include a radar bootloader program, a range Fourier transform program, and a constant false alarm detection program. When it is detected that the program whose execution progress changes from the executing state to the completed state is the radar bootloader program, the program to be executed may be determined to be the range Fourier transform program; when it is detected that the program whose execution progress changes from the executing state to the completed state is the range Fourier transform program, the program to be executed may be determined to include a velocity Fourier transform program, an incoherent accumulation program, and a constant false alarm detection program; and when it is detected that the program whose execution progress changes from the executing state to the completed state is the constant false alarm detection program, the program to be executed may be determined to be the angle estimation program.

[0061] In a possible implementation, the target program is a radar boot loader; releasing memory resources occupied by the target program when being executed includes releasing running resources and data resources occupied by the radar boot loader when being executed.

[0062] The radar bootloader, also known as the bootloader, in the embodiments of this specification is a program that runs after the radar is powered on. Running the radar bootloader checks whether the radar program needs to be updated. If not, execution continues with the next program. If an update is required, the radar program can be updated, and the next program after the radar bootloader can be executed after the update is complete. Running the radar bootloader facilitates timely updates of the radar program, providing users with more accurate radar detection results and more comprehensive radar detection capabilities. In the embodiments of this specification, after the radar bootloader completes execution, the runtime and data resources occupied by the radar bootloader are released. The released memory resources can then be used to execute subsequent programs, improving memory resource utilization.

[0063] In the embodiments of this specification, after the radar bootloader program completes execution, the detection signal receiving program and the detection signal sampling program can continue to execute. The detection signal receiving program controls the radar to receive detection signals, and the detection signal sampling program controls the radar to sample the detection signals and obtain radar sampled data. After the detection signal sampling program completes execution, the range Fourier transform program is executed to perform range Fourier transform processing on the radar sampled data to obtain range data. During the execution of the range Fourier transform program, the execution can be based on idle and released memory resources, enabling memory resource reuse and improving memory resource utilization.

[0064] Memory resources can be divided into code running resources and data resources; the embodiment of this specification can release the code running resources and data resources of the bootloader program, which can be used as data resources for subsequent programs, and can solve the problem in the existing technology that data resources cannot meet usage requirements.

[0065] In the embodiments of this specification, taking into account the fact that the bootloader and its subsequent programs (such as the distance Fourier program) are independent and mutually exclusive (cannot exist and run at the same time), the running resources and data resources occupied by the bootloader are released after the bootloader is executed, and the released running resources and data resources are used to execute the distance Fourier program, which can expand the data space of the distance Fourier program. Among them, whether the bootloader's code running resources and data resources can be released and used as data resources for the distance Fourier program requires not only the allocation of the bootloader's code running resources and data resources to the data resources in the architecture, but also the chip hardware support for the code running on the data resources.

[0066] In one possible implementation, the target program is a range-dimensional Fourier program; releasing memory resources occupied by the target program when it is executed includes: releasing data resources occupied by discarded data corresponding to the range-dimensional Fourier program, where the discarded data is data discarded after radar sampling data is processed according to the range-dimensional Fourier program.

[0067] In the embodiment of this specification, the specific amount of discarded data can be determined according to system indicators. Discarding some data in the range-dimensional Fourier processing can ensure a higher range resolution while occupying less data resources.

[0068] In the embodiments of this specification, after the execution of the range-dimensional Fourier program is completed, the data resources occupied by the range-dimensional Fourier program during execution are released. These data resources are the data resources occupied by the discarded data. When processing radar sampled data according to the range-dimensional Fourier program, a portion of the radar sampled data is discarded. This discarded data is the discarded data. For example, after performing range-dimensional Fourier processing on 3Mbytes of radar sampled data, a portion of the points are discarded. Originally, 1024 points of radar sampled data are reduced to 512 points after the range-dimensional Fourier processing. With 48 points discarded, the occupied data resources are 144Kbytes. After the execution of the range-dimensional Fourier program is completed, these 144Kbytes of memory resources can be released. The released memory resources can be used to execute subsequent programs, thereby improving memory resource utilization. This embodiment of this specification releases the data space occupied by the range-dimensional Fourier program, not shutting down the range-dimensional Fourier program. The range-dimensional Fourier program still exists, just like subsequent programs, but the data space used by the range-dimensional Fourier program can also be reused by subsequent programs.

[0069] In an embodiment of the present specification, after the execution of the range-dimensional Fourier program is completed, the velocity-dimensional Fourier program can be executed to obtain velocity-dimensional data; then, the incoherent accumulation program can be executed to perform incoherent accumulation processing on the velocity-dimensional data to obtain incoherent accumulated data; and after the execution of the incoherent accumulation program is completed, the constant false alarm detection program can be executed to perform constant false alarm detection processing on the incoherent accumulated data to obtain constant false alarm detection result data. After the execution of the range-dimensional Fourier program is completed, the velocity-dimensional Fourier program, the incoherent accumulation program, and the constant false alarm detection program can be executed based on idle memory resources and released memory resources, thereby achieving reuse of memory resources and improving memory resource utilization.

[0070] In a possible implementation, the target program is a constant false alarm detection program; releasing memory resources occupied by the target program during execution includes:

[0071] Release the data resources occupied by the detection data corresponding to the constant false alarm detection program. The detection data is the incoherent accumulation data obtained by processing the speed dimension data according to the incoherent accumulation program. The speed dimension data is obtained by processing the distance dimension data according to the speed dimension Fourier program. The distance dimension data is obtained by processing the radar sampling data according to the distance dimension Fourier program.

[0072] In the embodiments of this specification, after the CFAR detection program is executed, the data detected during the CFAR detection process (incoherent accumulated data) is released. The incoherent accumulated data is obtained after the incoherent accumulation program is executed. In the embodiments of this specification, the released memory resources can be used to execute subsequent programs, thereby improving the utilization rate of memory resources. In the embodiments of this specification, what is released is the data resources occupied by the CFAR detection program, not the CFAR detection program. The CFAR detection program still exists as the subsequent program, but the data space used by the CFAR detection program can be reused by the subsequent program.

[0073] In the embodiments of this specification, after the CFAR detection program is executed, an angle estimation program can be executed to perform angle estimation processing on the CFAR detection result data to obtain angle estimation data. The angle estimation program can be executed based on idle memory resources and released memory resources, thereby achieving reuse of memory resources and improving memory resource utilization.

[0074] In a possible implementation, the number of the to-be-executed programs is at least one. In the embodiment of this specification, the released memory resources can be used for the subsequent execution of any to-be-executed program.

[0075] In a possible implementation, when monitoring that the execution progress of the target program changes from an executing state to a finished state, releasing the memory resources occupied by the target program during execution includes:

[0076] When a target program is detected and is a non-terminal radar program, memory resources occupied by the target program when it is executed are released. The terminal program is the last program executed among multiple radar programs.

[0077] In the embodiment of this specification, the terminal radar program can be the program at the end of the execution order of multiple radar programs. If the target program is the terminal program, since there is no next program to be executed, the memory resources occupied by the target program when it is executed may not be released.

[0078] In the embodiment of the present specification, after the execution of the radar boot loader program is completed, the running resources and data resources occupied by the radar boot loader program when being executed are released, and the running resources and data resources released this time can be used to execute the distance dimension Fourier program; after the execution of the distance dimension Fourier program is completed, the data resources occupied by the target data are released, and the data resources released this time can be used to execute the speed dimension Fourier program, the incoherent accumulation program and the constant false alarm detection program; after the execution of the constant false alarm detection program is completed, the data resources occupied by the detection data corresponding to the constant false alarm detection program are released, and the data resources released this time can be used to execute the angle estimation program.

[0079] In the prior art, to meet system performance requirements, processors with larger memory sizes are often selected at a higher cost. However, the present invention frees up memory resources occupied by completed programs, reducing memory consumption and, consequently, processor costs. It also allows for sampling more detection signals within limited memory space, improving range or velocity resolution. A processor that previously required 6MB of memory to execute radar programs would only require 5.5MB of memory after implementing the memory resource control method provided in the embodiments of this specification.

[0080] Combine Figure 2 As shown, the embodiment of this specification also provides a memory resource control device, including:

[0081] A monitoring module 10 is configured to monitor the execution progress of a radar program to be monitored among a plurality of radar programs executed in a preset order, where the radar program to be monitored is at least one radar program among the plurality of radar programs;

[0082] A first control module 20 is configured to release memory resources occupied by a target program when detecting that the target program has changed its execution progress from an executing state to a finished state, wherein the target program is one of the at least one program to be monitored;

[0083] a determination module 30 for determining a program to be executed after the target program among the plurality of radar programs according to a preset order of the plurality of radar programs;

[0084] The second control module 40 is configured to execute the program to be executed based on the idle memory resources and the released memory resources.

[0085] In the embodiments of this specification, after the execution of the target program is completed, the memory resources occupied by the target program during execution can be released. The released memory resources can be used by the program to be executed, thereby realizing the reuse of memory resources, making the most effective and efficient use of limited memory resources, and meeting the vehicle-mounted millimeter-wave radar sensor's requirements for processor memory space.

[0086] In one possible implementation, the correspondence between the target program and the program to be executed includes at least one of the following:

[0087] When the target program is a radar boot loader program, the program to be executed is a range-dimensional Fourier program;

[0088] When the target program is a distance-dimensional Fourier program, the programs to be executed include a velocity-dimensional Fourier program, an incoherent accumulation program, and a constant false alarm detection program;

[0089] When the target program is a constant false alarm detection program, the program to be executed is an angle estimation program.

[0090] In a possible implementation, the target program is a radar boot loader program; the first control module 20 includes a first control unit, and the first control unit is configured to release the operating resources and data resources occupied by the radar boot loader program when the program is executed.

[0091] In one possible implementation, the target program is a range-dimensional Fourier program; the first control module 20 includes a second control unit, which is used to release data resources occupied by discarded data corresponding to the range-dimensional Fourier program, and the discarded data is data discarded after the radar sampling data is processed according to the range-dimensional Fourier program.

[0092] In one possible implementation, the target program is a constant false alarm detection program; the first control module 20 includes a third control unit, which is used to release data resources occupied by detection data corresponding to the constant false alarm detection program, the detection data is incoherent accumulation data obtained by processing velocity dimension data according to the incoherent accumulation program, the velocity dimension data is obtained by processing distance dimension data according to the velocity dimension Fourier program, and the distance dimension data is obtained by processing radar sampling data according to the distance dimension Fourier program.

[0093] In a possible implementation, the number of programs to be executed is at least one.

[0094] In one possible implementation, the first control module 20 is used to release the memory resources occupied by the target program when it is executed when the target program is detected and the target program is not a terminal radar program. The terminal radar program is the last program executed among multiple radar programs.

[0095] It should be noted that the apparatus provided in the above embodiments, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0096] In addition, an embodiment of this specification further provides a memory resource control device, including:

[0097] processor;

[0098] a memory for storing processor-executable instructions;

[0099] The processor is configured to execute:

[0100] monitoring an execution progress of a radar program to be monitored among a plurality of radar programs executed in a preset order, where the radar program to be monitored is at least one radar program among the plurality of radar programs;

[0101] releasing memory resources occupied by the target program when the target program is being executed upon detecting that the execution progress has changed from an executing state to an ending state, the target program being one of the at least one program to be monitored;

[0102] determining a program to be executed after the target program among the plurality of radar programs according to a preset order of the plurality of radar programs;

[0103] Execute the pending program based on the free memory resources and released memory resources.

[0104] In addition, an embodiment of this specification further provides a computer-readable storage medium having computer program instructions stored thereon, and the computer program instructions implement the above-mentioned memory resource control method when executed by a processor.

[0105] The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.

[0106] A computer-readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination thereof. As used herein, a computer-readable storage medium is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through an electrical wire.

[0107] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.

[0108] The computer program instructions for performing the operation of the present application can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data or source code or object code written in any combination of one or more programming languages, programming languages ​​include object-oriented programming languages-such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming languages. Computer-readable program instructions can be executed completely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or executed completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer by any type of network-including local area network (LAN) or wide area network (WAN), or can be connected to an external computer (such as utilizing an Internet service provider to connect by the Internet). In certain embodiments, by utilizing the state information of computer-readable program instructions to personalize electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (PLAs), the electronic circuits can execute computer-readable program instructions, thereby realizing various aspects of the present application.

[0109] Various aspects of the present application are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0110] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0111] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0112] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a special hardware-based system that performs the function or action of the specification, or can be implemented with a combination of special hardware and computer instructions.

[0113] The embodiments of the present application have been described above. The above description is illustrative and not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, practical applications, or technical improvements to existing technologies, or to enable other persons skilled in the art to understand the embodiments disclosed herein.

Claims

1. A memory resource control method, characterized in that: include: monitoring the execution progress of a radar program to be monitored among a plurality of radar programs executed in a preset order, wherein the radar program to be monitored is at least one radar program among the plurality of radar programs; the plurality of radar programs include a radar boot loader program, a range-dimensional Fourier program, a velocity-dimensional Fourier program, an incoherent accumulation program, a constant false alarm detection program, and an angle estimation program; When monitoring a target program whose execution progress changes from an executing state to an ending state, releasing memory resources occupied by the target program when the target program is executed, the target program being one of the at least one program to be monitored; When the target program is a distance-dimensional Fourier program, data resources occupied by discarded data corresponding to the distance-dimensional Fourier program are released, and the distance-dimensional Fourier program is not closed and still exists; When the target program is a constant false alarm detection program, releasing data resources occupied by detection data corresponding to the constant false alarm detection program, and the constant false alarm detection program is not closed and still exists; Determining, according to a preset order of the plurality of radar programs, a program to be executed after the target program among the plurality of radar programs; The program to be executed is executed based on the free memory resources and the released memory resources.

2. The memory resource control method according to claim 1, characterized in that: The correspondence between the target program and the program to be executed includes at least one of the following: When the target program is a radar boot loader program, the program to be executed is a range-dimensional Fourier program; When the target program is the distance dimension Fourier program, the programs to be executed include a velocity dimension Fourier program, an incoherent accumulation program and a constant false alarm detection program; When the target program is the constant false alarm detection program, the program to be executed is an angle estimation program.

3. The memory resource control method according to claim 1, characterized in that: The target program is a radar boot loader; and releasing the memory resources occupied by the target program when being executed includes: The operating resources and data resources occupied by the radar bootloader when being executed are released.

4. The memory resource control method according to claim 1, characterized in that: The number of the programs to be executed is at least one.

5. The memory resource control method according to claim 1, characterized in that: When the target program is detected to have its execution progress changed from being executed to being ended, releasing the memory resources occupied by the target program when being executed includes: When the target program is detected and the target program is not a terminal radar program, memory resources occupied by the target program when it is executed are released, and the terminal radar program is the last program executed among the multiple radar programs.

6. A memory resource control device, characterized in that: include: A monitoring module, used to monitor the execution progress of a radar program to be monitored among multiple radar programs executed in a preset order, wherein the radar program to be monitored is at least one radar program among the multiple radar programs; the multiple radar programs include a radar boot loader program, a range-dimensional Fourier program, a velocity-dimensional Fourier program, an incoherent accumulation program, a constant false alarm detection program, and an angle estimation program; A first control module is used to release the memory resources occupied by the target program when the target program is detected to have its execution progress changed from being executed to being ended, wherein the target program is one of at least one program to be monitored; When the target program is a distance-dimensional Fourier program, data resources occupied by discarded data corresponding to the distance-dimensional Fourier program are released, and the distance-dimensional Fourier program is not closed and still exists; When the target program is a constant false alarm detection program, releasing data resources occupied by detection data corresponding to the constant false alarm detection program, and the constant false alarm detection program is not closed and still exists; A determination module, configured to determine a program to be executed after the target program among the plurality of radar programs according to a preset order of the plurality of radar programs; The second control module is used to execute the program to be executed based on the idle memory resources and the released memory resources.

7. A memory resource control device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute: monitoring the execution progress of a radar program to be monitored among a plurality of radar programs executed in a preset order, wherein the radar program to be monitored is at least one radar program among the plurality of radar programs; the plurality of radar programs include a radar boot loader program, a range-dimensional Fourier program, a velocity-dimensional Fourier program, an incoherent accumulation program, a constant false alarm detection program, and an angle estimation program; When monitoring a target program whose execution progress changes from an executing state to an ending state, releasing memory resources occupied by the target program when the target program is executed, the target program being one of the at least one program to be monitored; When the target program is a distance-dimensional Fourier program, data resources occupied by discarded data corresponding to the distance-dimensional Fourier program are released, and the distance-dimensional Fourier program is not closed and still exists; When the target program is a constant false alarm detection program, releasing data resources occupied by detection data corresponding to the constant false alarm detection program, and the constant false alarm detection program is not closed and still exists; Determining, according to a preset order of the plurality of radar programs, a program to be executed after the target program among the plurality of radar programs; The program to be executed is executed based on the free memory resources and the released memory resources.

8. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.