High-speed data stream data distribution method based on task feedback

By adopting the data distribution method, priority sorting and task volume assessment based on task feedback in radar signal processing, the problems of uneven CPU utilization and disordered data output in radar signal processing are solved, and high real-time tasks are realized. Fast response and orderly data flow.

CN118819783APending Publication Date: 2024-10-22THE 724TH RESEARCH INSTITUTE OF CHINA STATE SHIPBUILDING CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410927857.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

In radar signal processing, existing technology cannot effectively solve the problems of uneven utilization of each CPU processing module and disordered data output during multi-beam parallel processing, and cannot guarantee rapid response to high real-time tasks.

Method used

Using a high-speed data flow data distribution method based on task feedback, the received data is prioritized and task volume evaluated through the data distribution decision-making module. Combined with the running status of the CPU processing module, high-level tasks are prioritized and the processing with the smallest allocation delay is selected. module for data distribution.

Benefits of technology

It achieves full utilization of CPU processing power, ensures rapid response to high real-time tasks, and improves the orderliness of the data output without destroying the first-in, first-out requirement of the total data flow.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819783A_ABST
    Figure CN118819783A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of high-speed data distribution in a radar signal processing technology, and provides a high-speed data stream data distribution method based on task feedback. In order to meet data distribution requirements of information parallel processing when radar information processing adopts a hardware stacking structure and solve the problem of unbalanced processing utilization rate of multiple CPU modules, each CPU module feeds back a current task execution state in real time while fully considering factors such as task data size, transmission time delay and processing time delay, so that the processing efficiency is improved. According to the method, the first-in first-out of the total data flow is realized as far as possible on the premise of ensuring the priority, the processing capacity of a CPU (Central Processing Unit) is fully utilized, and meanwhile, the quick response performance of a high-real-time task is ensured. The method has wide application value in the aspect of radar parallel information processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of high-speed data distribution in radar signal processing technology, and in particular relates to a high-speed data stream data distribution method based on task feedback. Background Art

[0002] In order to meet the needs of multi-beam parallel processing of echo data, the radar information processing hardware often adopts a stacking structure. The CPU processing modules are the same in the system, and the running programs of the modules in the parallel processing part are also the same. Each processing module passively completes the information processing of multiple beam channels according to the received data. When the data is distributed unevenly or the task complexity is different, there will be problems such as uneven CPU utilization of each processing module and disordered data output.

[0003] To solve this problem, the method of distributing data after the current processing module is idle can be adopted. However, in this method, most of the CPU resources are idle during data transmission, and the CPU utilization rate is low. Radar systems often use the method of cyclic data transmission, ignoring the task status of the current processing module. Although this method can enhance the CPU utilization rate, it still does not solve the problem of disordered data output, and cannot guarantee the rapid response of high real-time tasks. Summary of the invention

[0004] In view of the problems existing in the background technology and the needs in actual engineering, the present invention proposes a high-speed data stream data distribution method based on task feedback, which prioritizes the received data and evaluates the task data volume, and collects the operating status of the CPU processing module at the same time, and distributes data based on the criteria of giving priority to high-level tasks and minimizing the delay parameters of task allocation for tasks of the same level, so as to make full use of the processing power of the CPU, meet the first-in-first-out requirement of the total data stream, and ensure the rapid response of high real-time tasks.

[0005] In order to achieve the above object, the technical solution of the present invention includes:

[0006] The present invention comprises a data distribution decision module and a CPU processing module, wherein the data distribution decision module performs data stream reception, protocol analysis, parameter calculation, state acquisition and task allocation, and the processing module processes the data. The method comprises:

[0007] Step 1: The data distribution decision module receives the radar high-speed information flow data packet through the high-speed data transmission medium, caches and analyzes the data packet, analyzes the current task priority parameter Priority_Task_k, k=0, 1 represents the task priority normal and urgent respectively, and calculates the current task transmission delay parameter TimeTrans_CurTask and the current task processing delay parameter TimeProc_CurTask according to the data packet size and transmission rate;

[0008] Step 2: Determine the current state of each CPU processing module of the radar. First, remove the CPU processing modules with abnormal states, that is, do not distribute data to them. For the CPU processing modules with normal states, calculate the processing delay parameter Module_n_TimeProc_Processing of the current pending task, where n=0, 1...N represents the number of CPU processing modules.

[0009] Step 3, according to the parameters TimeTrans_CurTask and TimeProc_CurTask calculated in step 1, the parameter TimeProc_CurTask counted in step 2, combined with the current system time parameter Time_Sys_Cur and the state feedback time parameter Time_Sys_Module_n of the processing unit, calculate the task allocation delay parameter TimeThelta_n of each CPU processing module;

[0010] Step 4: Based on the parameter Priority_Task_k obtained in step 1 and the parameter TimeThelta_n counted in step 3, first check the task priority, and distribute data based on the principle of giving priority to high-level tasks and minimizing the time delay parameters for tasks of the same level.

[0011] Preferably, assuming that the current task data size is DataSize_CurTask and the high-speed data transmission rate is TransRate, the calculation method of the current task processing delay parameter TimeTrans_CurTask in step 1 is:

[0012] TimeTrans_CurTask=DataSize_CurTask / TransRate

[0013] The parameter TimeProc_CurTask is recorded through data statistics and cached in the data distribution decision module in advance.

[0014] Preferably, the calculation process of the task allocation delay parameter TimeThelta_n in step 3 includes:

[0015] TimeThelta_n=Module_n_TimeProc_Processing-

[0016] (Time_Sys_Cur-Time_Sys_Module_n)-TimeTrans_CurTask.

[0017] Preferably, step 4 also includes: if the current task priority parameter is high level, i.e. Priority_Task_1, then select the CPU processing module with the smallest parameter Module_n_TimeProc_Processing to directly distribute data; if the current task priority parameter is normal, i.e. Priority_Task_0, then select the processing module with the smallest parameter TimeThelta_n to distribute data.

[0018] Compared with the prior art, the present invention selects data distribution processing modules based on the criteria of giving priority to high-level tasks and minimizing the delay parameters of task allocation for tasks of the same level. While ensuring the first-in-first-out of the total data flow as much as possible, it fully utilizes the processing power of the CPU and ensures rapid response to high real-time tasks.

[0019] The present invention is further described in detail below in conjunction with the accompanying drawings and preferred embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 The embodiment of the present invention implements the process.

[0021] Figure 2 The embodiment of the present invention processes the task feedback processing flow within the processing module.

[0022] Figure 3 The data distribution decision information processing flow of the embodiment of the present invention. DETAILED DESCRIPTION

[0023] The present invention proposes a high-speed data stream data distribution method based on task feedback, and the preferred implementation process includes:

[0024] Step 1: Assume that the current mission data is 10-beam radar search echo data, the cycle length is 400us, the sampling rate is 5MHz, the number of coherent pulses is 16, the high-speed data transmission rate is 3.125Gb / s, the data bit width is 32bit, and perform conventional MTD processing. Then the current mission data size is:

[0025] DataSize_CurTask=10*16*400*5*2*32=19.53125Mb

[0026] The current task transmission delay parameter TimeTrans_CurTask is calculated as:

[0027] TimeTrans_CurTask=19.53125 / 0.8 / 3.125 / 1024 / 1000≈7.63(ms)

[0028] According to the previous data processing delay statistics, the current task processing delay parameters are:

[0029] TimeProc_CurTask=4(ms)

[0030] Step 2, set the total number of current processing modules to 3, that is, N=3, the status of module 1 is abnormal; the feedback status of module 2 is normal, the current processing delay parameter of pending tasks Module_n_TimeProc_Processing=10ms, and the status feedback time parameter Time_Sys_Module_2=0ms; the feedback status of module 3 is normal, the current processing delay of pending tasks Module_n_TimeProc_Processing=15ms, and the status feedback time parameter Time_Sys_Module_2=1ms;

[0031] Step 3, set the current system time parameter Time_Sys_Cur = 2ms, and perform status judgment and parameter TimeThelta_n calculation for each processing module. Eliminate processing module 1 according to the processing module status, and then calculate the parameter TimeThelta_n of each processing module according to the parameter TimeTrans_CurTask obtained in step 1 and the parameter Module_n_TimeProc_Processing obtained in step 2. The calculation method is:

[0032] TimeThelta_2=10-(2-0)-7.63=0.37(ms)

[0033] TimeThelta_3=15-(2-1)-7.63=6.37(ms)

[0034] Step 4: Because the current task is to search for data, the task is normal, and the task level is Priority_Task_0, the minimum task allocation delay parameter is used as the criterion. Because TimeThelta_3>TimeThelta_2, the task data is sent to processing module 2.

[0035] The present invention proposes a high-speed data stream data distribution method based on task feedback, which fully utilizes the processing power of the CPU while ensuring the first-in-first-out requirement of the total data stream as much as possible, and at the same time ensures the rapid response of high real-time tasks, and has wide applicability.

Claims

1. A high-speed data stream data distribution method based on task feedback, characterized in that: Step 1: The data distribution decision module receives the radar high-speed information flow data packet through the high-speed data transmission medium, caches and analyzes the data packet, analyzes the current task priority parameter Priority_Task_k, k=0, 1 represents the task priority normal and urgent respectively, and calculates the current task transmission delay parameter TimeTrans_CurTask and the current task processing delay parameter TimeProc_CurTask according to the data packet size and transmission rate; Step 2: Determine the current state of each CPU processing module of the radar. First, remove the CPU processing modules with abnormal states, that is, do not distribute data to them. For the CPU processing modules with normal states, calculate the processing delay parameter Module_n_TimeProc_Processing of the current pending task, where n=0, 1...N represents the number of CPU processing modules. Step 3, according to the parameters TimeTrans_CurTask and TimeProc_CurTask calculated in step 1, the parameter TimeProc_CurTask counted in step 2, combined with the current system time parameter Time_Sys_Cur and the state feedback time parameter Time_Sys_Module_n of the processing unit, calculate the task allocation delay parameter TimeThelta_n of each CPU processing module; Step 4: Based on the parameter Priority_Task_k obtained in step 1 and the parameter TimeThelta_n counted in step 3, first check the task priority, and distribute data based on the principle of giving priority to high-level tasks and minimizing the time delay parameters for tasks of the same level.

2. The high-speed data stream data distribution method based on task feedback according to claim 1 is characterized in that: The calculation method of the current task processing delay parameter TimeTrans_CurTask in step 1 is: Assuming that the current task data size is DataSize_CurTask and the high-speed data transmission rate is TransRate, the calculation method of the parameter TimeTrans_CurTask is: TimeTrans_CurTask=DataSize_CurTask / TransRate; The parameter TimeProc_CurTask is recorded through data statistics and cached in the data distribution decision module in advance.

3. The high-speed data stream data distribution method based on task feedback according to claim 1 is characterized in that: The calculation method of the task allocation delay parameter TimeThelta_n in step 3 is: TimeThelta_n=Module_n_TimeProc_Processing- (Time_Sys_Cur-Time_Sys_Module_n)-TimeTrans_CurTask.

4. The high-speed data stream data distribution method based on task feedback according to claim 1 is characterized in that: The step 4 also includes: if the current task priority parameter is high level, that is, Priority_Task_1, then select the CPU processing module with the smallest parameter Module_n_TimeProc_Processing to directly distribute data; if the current task priority parameter is normal, that is, Priority_Task_0, then select the processing module with the smallest parameter TimeThelta_n to distribute data.