Method for drawing mass spectrum data of digital monitoring receiver

By simplifying the image processing process, combining redundant data, and adopting digital and refined processing methods, the problem of low frame rate when monitoring the receiver is processing massive spectrum data is solved, and a more efficient image output rate is achieved.

CN119667284APending Publication Date: 2025-03-21ANHUI EGRETS ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411535300.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

When the monitoring receiver processes massive spectrum data, the image processing complexity is high, resulting in low frame rates and cannot operate smoothly on low-power ARM processing.

Method used

By simplifying the image processing process, merging redundant data, leveraging the display characteristics of the LCD display, digitized and refined processing methods are adopted, pixel segments are used to replace pixel points, and real-time updates are performed through image synthesis methods.

Benefits of technology

It significantly improves the display frame rate of spectrum images, reduces the processor's capability requirements, saves memory resources, and improves the image output rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119667284A_ABST
    Figure CN119667284A_ABST
Patent Text Reader

Abstract

The invention discloses a method for drawing mass spectrum data of a digital monitoring receiver, and belongs to the technical field of digital monitoring. The method comprises the following steps of: 1, acquiring a large amount of monitoring data from a digital monitoring receiver as a frequency spectrum data source; 2, drawing a frequency spectrum coordinate system on a display terminal; 3, inputting the frequency spectrum data source into a computing terminal, and drawing a frequency spectrum image on a coordinate system of a display terminal; 4, simplifying a plurality of spectrum data points with the same abscissa on the coordinates into pixel segments and re-displaying the pixel segments; and 5, updating the continuously monitored spectrum data in real time by using an image synthesis method. The image processing process is simplified, memory resources are saved, the requirement for the processing capacity of a processor is lowered, and the image output rate is greatly increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of digital monitoring technology, and in particular to a method for drawing massive spectrum data of a digital monitoring receiver. Background Art

[0002] Monitoring receivers are special equipment for radio monitoring, analysis and positioning. They are responsible for information collection such as signal search and reception in the entire radio monitoring system and are important tools for radio management. Radio monitoring is to detect, search and intercept radio signals within the radio management area. It usually works by performing a rapid scan search within the set radio frequency band to discover radio signals and analyze them. From the perspective of information security, various modern signal transmitting devices generally use bursts to transmit signals to the outside. Most of these signals have the characteristics of suddenness and transientness. For monitoring receivers, the frequency, power, occurrence time and duration of these signals are unknown. In order to increase the probability of intercepting these signals, monitoring receivers must have a wide frequency band rapid scanning capability.

[0003] While improving the wide-band fast scanning capability, a large amount of real-time monitoring data needs to be stored and displayed, which places high demands on the computing power and memory size of the embedded terminal, and cannot be run and displayed smoothly on the low-power ARM processor. Summary of the invention

[0004] 1. Technical problem to be solved by the invention

[0005] The present invention provides a method for drawing massive spectrum data of a digital monitoring receiver, which reduces the complexity of image processing, merges redundant data, saves image resource overhead, and reduces the capability requirements of the processor according to the display characteristics of a liquid crystal display, digitizes and refines image processing, and significantly improves the display frame rate of the spectrum image.

[0006] 2. Technical solution

[0007] In order to achieve the above object, the technical solution provided by the present invention is:

[0008] The present invention provides a method for drawing massive spectrum data of a digital monitoring receiver, the steps of which are:

[0009] Step 1: Obtain a large amount of monitoring data from a digital monitoring receiver as a spectrum data source;

[0010] Step 2: Draw the spectrum coordinate system on the display terminal;

[0011] Step 3: input the spectrum data source into the computing terminal, and draw the spectrum image on the coordinate system of the display terminal;

[0012] Step 4, simplifying a number of spectrum data points with the same horizontal coordinate on the coordinate into pixel segments and redisplaying them;

[0013] Step 5: Use the image synthesis method to update the continuously monitored spectrum data in real time: first, extend one pixel point on the left and right of the pixel point interval of the update interval to erase, then update and simplify the data of each pixel segment in the pixel point interval, and finally complete the image connection of the left and right adjacent pixels. After the merging is completed, the latest spectrum image is output.

[0014] As a further improvement of the present invention, in the step 1, the spectrum data source is the original data of the display spectrum, and its length far exceeds the actual resolution width of the screen display of the display terminal.

[0015] As a further improvement of the present invention, in the step 2, the spectrum coordinate system is the actual spectrum image display area, the X-axis represents the frequency, which is linearly distributed, and the values ​​are from low to high from left to right, and the Y-axis represents the amplitude, which is linearly distributed, and from high to low from top to bottom.

[0016] As a further improvement of the present invention, in the step three, the number of frequency points displayed on each horizontal axis in the coordinate system and the frequency value of each pixel are determined according to the three parameters of the start, end and step frequency of the monitoring frequency band.

[0017] As a further improvement of the present invention, the number of frequency points is calculated according to formula (1):

[0018]

[0019] Among them, Points indicates the number of frequency points, floor indicates rounding down, Stop indicates the end frequency, Start indicates the start frequency, and Step indicates the step frequency.

[0020] As a further improvement of the present invention, the frequency value of each pixel is calculated according to formula (2):

[0021]

[0022] Among them, frequency represents the frequency value of the pixel point, and n represents the frequency point index.

[0023] As a further improvement of the present invention, in the step 4, the simplification step of the spectrum data points is: first calculate the pixel point with the maximum value and the minimum value of the ordinate among all the pixel points on each horizontal coordinate, and then connect the pixel points with the maximum value and the minimum value of the ordinate to form a line segment into a pixel segment, which is used to represent all the pixel points on the corresponding horizontal coordinate, and redisplay them on the horizontal coordinate.

[0024] As a further improvement of the present invention, after replacing pixel points with pixel segments, the first point and the last point of the pixel points on each horizontal coordinate are calculated, and the first point and the last point are used to connect adjacent pixel segments.

[0025] As a further improvement of the present invention, in the step five, first determine the data points P1 and P2 at the two ends of the interval to be updated, and calculate the frequency range corresponding to the interval to be updated based on P1 and P2; then calculate the number of frequency points displayed on each horizontal axis in the update interval based on the updated data; finally, calculate the pixel coordinates of the data points in the updated update interval after the update, and group the pixels with the same horizontal coordinate value into the same pixel segment after rounding, and relocate the maximum and minimum values ​​of each pixel segment in the interval, update the interval pixel segment coordinate information, and complete the image connection of the left and right adjacent pixel points, and output the latest spectrum image after the merging is completed.

[0026] As a further improvement of the present invention, the pixel coordinates of the data points in the update interval after the update are calculated according to formula (3):

[0027]

[0028] Among them, width is the display resolution width of the display terminal.

[0029] 3. Beneficial effects

[0030] Compared with the existing known technologies, the technical solution provided by the present invention has the following significant effects:

[0031] Aiming at the display characteristics of the embedded platform liquid crystal display, the present invention adopts a digital processing method, pre-processes the coordinate system, allocates display resources according to the display terminal, uses basic data structures such as linked lists and stacks, simplifies the image processing process, saves memory resources, reduces the requirements on the processing power of the processor, and greatly improves the image output rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 Pixel segment drawing and image synthesis diagram of the present invention;

[0033] Figure 2 This is a schematic diagram of the pixel point interval calculation method in the present invention. DETAILED DESCRIPTION

[0034] In order to make the above-mentioned objects, features and advantages of the invention more obvious and understandable, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.

[0035] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0036] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0037] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0038] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0039] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "upper", "lower", "left", "right" and similar expressions used herein are for illustrative purposes only and are not intended to be the only implementation method.

[0040] Example

[0041] Combination Figure 1 and Figure 2 , a method for drawing massive spectrum data of a digital monitoring receiver in this embodiment includes the following steps:

[0042] Step 1: Obtain a large amount of monitoring data from a digital monitoring receiver as a spectrum data source. In this embodiment, the spectrum data source is a large amount of monitoring data obtained from a digital monitoring receiver, that is, the original data of the display spectrum, and its length far exceeds the actual resolution width of the screen display. The spectrum data source provides the original data input for the spectrum image, and its data length can reach tens of millions of points, which is very different from the display resolution of the LCD display terminal. The data type is a signed integer with a value of 16 bits, and is triggered at intervals through interrupts.

[0043] Step 2: Draw the spectrum coordinate system on the display terminal. In this embodiment, the original data is linearly positioned in the X and Y direction coordinates, and the spectrum coordinate system is the actual spectrum image display area. The X axis represents the frequency, which is linearly distributed, and the values ​​are from low to high from left to right. The Y axis represents the amplitude, which is linearly distributed, and from high to low from top to bottom.

[0044] Step 3: Input the spectrum data source into the computing terminal, and draw the spectrum image on the coordinate system of the display terminal. In this embodiment, the number of frequency points displayed on each horizontal axis in the coordinate system and the frequency value of each pixel are determined according to the three parameters of the start, end and step frequency of the monitoring frequency band. Specifically, the number of frequency points is calculated according to formula (1):

[0045]

[0046] Among them, Points indicates the number of frequency points, floor indicates rounding down, Stop indicates the end frequency, Start indicates the start frequency, and Step indicates the step frequency.

[0047] The frequency value of each pixel is calculated according to formula (2):

[0048]

[0049] Among them, frequency represents the frequency value of the pixel point, and n represents the frequency point index.

[0050] The above two parameters can be converted and determined before the monitoring task begins.

[0051] Step 4, simplify several spectrum data points with the same horizontal coordinate on the coordinate into pixel segments and redisplay them. Since multiple spectrum data points may be accumulated on each pixel point of the display terminal, the horizontal coordinate values ​​of these spectrum data points are the same after rounding, but the vertical coordinate amplitude values ​​are large and small. Only a vertical line segment relative to the horizontal coordinate from top to bottom can be seen by naked eye. Therefore, this point can be used to simplify the displayed data. The specific steps are: first calculate the pixel points with the maximum and minimum vertical coordinates among all the pixel points on each horizontal coordinate, and then connect the pixel points with the maximum and minimum vertical coordinates to form a line segment as a pixel segment to represent all the pixel points on the corresponding horizontal coordinate, and redisplay them on the horizontal coordinate. After replacing the pixel points with pixel segments, calculate the first and last points of the pixel points on each horizontal coordinate, and the first and last points are used to connect adjacent pixel segments. Among them, the first and last points are as follows: Figure 1 As shown in , the first point and the last point are respectively the first data and the last data of all the input data under the horizontal axis.

[0052] Step 5. Use the image synthesis method to update the continuously monitored spectrum data in real time: first, extend one pixel point on the left and right sides of the pixel point interval of the update interval to erase, then update and simplify the data of each pixel segment in the pixel point interval, and finally complete the image connection of the left and right adjacent pixels (that is, connect and restore the images of P1' and P2'). After the merging is completed, output the latest spectrum image. Specifically, first determine the data points P1 and P2 at the two ends of the interval to be updated, and calculate the frequency range corresponding to the interval to be updated based on P1 and P2. Among them, the pixel point interval is extended by one pixel point on the left and right sides, which are pixel points P1' and P2' (such as Figure 2 As shown). Then calculate the number of frequency points displayed on each horizontal axis in the update interval based on the updated data; finally calculate the pixel coordinates of the data points in the updated update interval, and classify the pixels with the same horizontal coordinate value as the same pixel segment after rounding, and relocate the maximum and minimum values ​​of each pixel segment in the interval, update the interval pixel segment coordinate information and complete the image connection of the left and right adjacent pixel points, that is, restore the pixel points P1' and P2', and connect them with the update interval pixel segment coordinate information, and output the latest spectrum image after the merging is completed. When the present embodiment performs real-time update of the continuously monitored spectrum data, it is not necessary to update the spectrum image in the entire coordinate system, but to update it in different regions, which reduces the complexity of the calculation and improves the calculation efficiency. Figure 2In , Seg represents the update interval, and the data point range is from P1 to P2; F1~F2 represents the frequency range corresponding to the update interval, which is calculated according to formula (2); P1' represents the left neighboring pixel of P1, and P2' represents the right neighboring pixel of P2; Points is calculated according to formula (1). The pixel coordinates of the data points in the update interval after the update are calculated according to formula (3):

[0053]

[0054] Among them, width is the display resolution width of the display terminal.

[0055] This embodiment filters the pixel data accumulated on a single pixel point according to the characteristics of the display terminal, and only calculates the redundant data on the pixel point without repeating the display, retains the maximum and minimum values, reduces the complexity of the display, and saves processor overhead; when updating in segments, no graphics update of the large-scale coordinate system is performed, and only the interval pixel segments are updated, so as to ensure balanced image processing performance and improve the image output rate.

[0056] This embodiment first allocates and initializes the monitoring raw data and coordinate system display memory buffer according to the monitoring data length and display width. Then establishes a background coordinate system full transparent image: the background coordinate system is translated based on the Cartesian coordinate system, the upper left corner is (0, 0), the X axis is right, and the Y axis is downward. Then, the attributes of each member of the pixel segment are calculated and updated in real time according to the interrupt, referring to Figure 1 Draw pixel segments; finally refer to Figure 1 In the synthesis method, after the interval pixel segment is updated, the previous and subsequent images are spliced, and the image is output after completion.

[0057] The present invention and its embodiments are described schematically above, and the description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. Therefore, if a person skilled in the art is inspired by it and designs a structural method and an embodiment similar to the technical solution without creativity without departing from the purpose of the invention, they shall all fall within the protection scope of the present invention.

Claims

1. A method for drawing massive spectrum data of a digital monitoring receiver, characterized in that: The steps are: Step 1: Obtain a large amount of monitoring data from a digital monitoring receiver as a spectrum data source; Step 2: Draw the spectrum coordinate system on the display terminal; Step 3: input the spectrum data source into the computing terminal, and draw the spectrum image on the coordinate system of the display terminal; Step 4, simplifying a number of spectrum data points with the same horizontal coordinate on the coordinate into pixel segments and redisplaying them; Step 5: Use the image synthesis method to update the continuously monitored spectrum data in real time: first, extend one pixel point on the left and right of the pixel point interval of the update interval to erase, then update and simplify the data of each pixel segment in the pixel point interval, and finally complete the image connection of the left and right adjacent pixels. After the merging is completed, the latest spectrum image is output.

2. The method for drawing massive spectrum data of a digital monitoring receiver according to claim 1, characterized in that: In the step 1, the spectrum data source is the original data of the display spectrum, and its length far exceeds the actual resolution width of the screen display of the display terminal.

3. The method for drawing massive spectrum data of a digital monitoring receiver according to claim 1, characterized in that: In the step 2, the spectrum coordinate system is the actual spectrum image display area, the X-axis represents frequency, which is linearly distributed, and the values ​​are from low to high from left to right, and the Y-axis represents amplitude, which is linearly distributed, and from high to low from top to bottom.

4. The method for drawing massive spectrum data of a digital monitoring receiver according to claim 1, characterized in that: In the step three, the number of frequency points displayed on each horizontal axis in the coordinate system and the frequency value of each pixel are determined according to the three parameters of the start, end and step frequency of the monitoring frequency band.

5. The method for drawing massive spectrum data of a digital monitoring receiver according to claim 4, characterized in that: The number of frequency points is calculated according to formula (1): Among them, Points indicates the number of frequency points, floor indicates rounding down, Stop indicates the end frequency, Start indicates the start frequency, and Step indicates the step frequency.

6. The method for drawing massive spectrum data of a digital monitoring receiver according to claim 4, characterized in that: The frequency value of each pixel is calculated according to formula (2): Among them, frequency represents the frequency value of the pixel point, and n represents the frequency point index.

7. The method for drawing massive spectrum data of a digital monitoring receiver according to claim 1, characterized in that: In the step 4, the simplification steps of the spectrum data points are: first calculate the pixel point with the maximum value of the ordinate and the minimum value of the ordinate among all the pixel points on each horizontal axis, and then connect the pixel points with the maximum value of the ordinate and the minimum value of the ordinate to form a line segment as a pixel segment, which is used to represent all the pixel points on the corresponding horizontal axis, and redisplay them on the horizontal axis.

8. The method for drawing massive spectrum data of a digital monitoring receiver according to claim 7, characterized in that: After replacing the pixel points with the pixel segments, the first point and the last point of the pixel points on each horizontal coordinate are calculated, and the first point and the last point are used to connect adjacent pixel segments.

9. The method for drawing massive spectrum data of a digital monitoring receiver according to claim 1, characterized in that: In the step 5, first determine the data points P1 and P2 at the two ends of the interval to be updated, and calculate the frequency range corresponding to the interval to be updated based on P1 and P2; then calculate the number of frequency points displayed on each horizontal axis in the update interval based on the updated data; finally, calculate the pixel coordinates of the data points in the updated update interval, and classify the pixels with the same horizontal coordinate value as the same pixel segment after rounding, and relocate the maximum and minimum values ​​of each pixel segment in the interval, update the interval pixel segment coordinate information, and complete the image connection of the left and right adjacent pixel points, and output the latest spectrum image after the merging is completed.

10. The method for drawing massive spectrum data of a digital monitoring receiver according to claim 9, characterized in that: The pixel coordinates of the data points within the update interval after the update are calculated according to formula (3): Among them, width is the display resolution width of the display terminal.