Disclosure of Invention
In view of the above, the application provides an electromagnetic communication beam visualization method, an electromagnetic communication beam visualization device, an electronic device and a storage medium, so as to solve the technical problems of poor universality and insufficient adaptability of the electromagnetic environment visualization method in the prior art.
In one aspect, an embodiment of the present application provides an electromagnetic communication beam visualization method, including:
acquiring communication link configuration parameters of electromagnetic communication beams;
Establishing a three-dimensional virtual model of a propagation environment and a three-dimensional virtual model of a propagation path according to the communication link configuration parameters; displaying the three-dimensional virtual model of the propagation path in the three-dimensional virtual model of the propagation environment;
acquiring radiation intensity configuration parameters of electromagnetic communication beams;
And rendering and drawing the radiation intensity of the electromagnetic communication beam according to the radiation intensity configuration parameters and the selected visual mode.
Further, according to the communication link configuration parameters, a three-dimensional virtual model of a propagation environment and a three-dimensional virtual model of a propagation path are established; comprising the following steps:
Acquiring physical information and position information of an object in an electromagnetic communication beam propagation environment;
selecting a transmission model according to a propagation mode in communication link configuration parameters of electromagnetic communication beams;
based on physical information and position information of an object in a propagation environment, establishing a three-dimensional virtual model of the propagation environment according to the selected transmission model, and determining position coordinates of the object in the three-dimensional virtual model of the propagation environment;
Determining a propagation path of an electromagnetic communication beam based on the position coordinates of the signal transmitting point, the signal receiving point and the object in the three-dimensional virtual model of the propagation environment;
Based on the propagation path of the electromagnetic communication beam and the corresponding electric field intensity and phase, a three-dimensional virtual model of the propagation path is established.
Further, selecting a transmission model according to an electromagnetic communication beam propagation mode in communication link configuration parameters of the electromagnetic communication beam; comprising the following steps:
When the electromagnetic communication beam propagation mode is a ground wave transmission mode, selecting an electromagnetic beam earth surface transmission model;
when the electromagnetic communication beam propagation mode is a sky wave transmission mode, selecting an electromagnetic beam high-altitude electromagnetic layer transmission model;
When the electromagnetic communication beam transmission mode is a direct wave transmission mode, selecting an electromagnetic beam receiving entity and transmitting entity transmission model.
Further, the method further comprises the steps of: judging whether the radiation intensity configuration parameters comprise electromagnetic interference configuration parameters or not, if so, selecting an interference model according to the electromagnetic interference configuration parameters, and drawing and displaying discrete boundaries.
Further, selecting an interference model according to electromagnetic interference configuration parameters, and drawing and displaying discrete boundaries; comprising the following steps:
selecting a first interference model or a second interference model according to the electromagnetic interference configuration parameters;
synthesizing the field intensity of the electromagnetic interference source according to the first interference model or the second interference model;
determining a pitch angle sampling step size by adopting a step size function;
discrete subdivision is carried out on the pitch angle by utilizing the pitch angle sampling step length and the subdivision model;
Discrete boundaries are drawn and displayed.
Further, the visualization method includes: a contour line mode, a contour plane mode and a volume drawing mode.
In another aspect, an embodiment of the present application provides an electromagnetic communication beam visualization apparatus, including:
a communication link configuration parameter acquiring unit configured to acquire a communication link configuration parameter of an electromagnetic communication beam;
The radiation propagation mode visualization unit is used for establishing a three-dimensional virtual model of a propagation environment and a three-dimensional virtual model of a propagation path according to the communication link configuration parameters; displaying the three-dimensional virtual model of the propagation path in the three-dimensional virtual model of the propagation environment;
a radiation intensity configuration parameter obtaining unit, configured to obtain radiation intensity configuration parameters of the electromagnetic communication beam;
And the radiation intensity visualization unit is used for rendering and drawing the radiation intensity of the electromagnetic communication beam according to the radiation intensity configuration parameters and the selected visualization mode.
In another aspect, an embodiment of the present application provides an electronic device, including: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the electromagnetic communication beam visualization method of the embodiment of the application when executing the computer program.
In another aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements an electromagnetic communication beam visualization method of embodiments of the present application.
The embodiment of the application obtains the communication link configuration parameters of the electromagnetic communication beam; establishing a three-dimensional virtual model of a propagation environment and a three-dimensional virtual model of a propagation path according to the communication link configuration parameters; displaying the three-dimensional virtual model of the propagation path in the three-dimensional virtual model of the propagation environment; acquiring radiation intensity configuration parameters of electromagnetic communication beams; rendering and drawing the radiation intensity of the electromagnetic communication beam according to the radiation intensity configuration parameters and the selected visual mode; the flexibility and adaptability of electromagnetic environment visualization are improved.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
First, the design idea of the embodiment of the present application will be briefly described.
In the existing electromagnetic environment simulation and visualization technical method, the electromagnetic environment modeling and the visualization display are generally coupled tightly, so that the problems of poor universality, insufficient adaptability and the like of the designed electromagnetic environment visualization method are caused.
In order to solve the technical problems, the embodiment of the application obtains the communication link configuration parameters of the electromagnetic communication beam; establishing a three-dimensional virtual model of a propagation environment and a three-dimensional virtual model of a propagation path according to the communication link configuration parameters; displaying the three-dimensional virtual model of the propagation path in the three-dimensional virtual model of the propagation environment; acquiring radiation intensity configuration parameters of electromagnetic communication beams; and rendering and drawing the radiation intensity of the electromagnetic communication beam according to the radiation intensity configuration parameters and the selected visual mode. Therefore, the modeling and the display of the parameterized visual expression model of the radiation source, the electromagnetic wave beam propagation process, the radiation intensity and other constituent factors in the electromagnetic wave beam propagation process are realized. According to the embodiment of the application, the parameterized configurable electromagnetic communication beam visualization method is constructed by classifying the electromagnetic signal propagation process, so that the flexibility and adaptability of electromagnetic environment visualization are improved.
After the application scenario and the design idea of the embodiment of the present application are introduced, the technical solution provided by the embodiment of the present application is described below.
As shown in fig. 1, an embodiment of the present application provides an electromagnetic communication beam visualization method, including the following steps:
Step 101: acquiring communication link configuration parameters of electromagnetic communication beams;
Step 102: displaying a three-dimensional virtual model of a propagation path in the three-dimensional virtual model of the propagation environment according to configuration parameters of the electromagnetic wave communication beam communication link;
specifically, the method comprises the following steps:
Step 2A: acquiring physical information and position information of an object in an electromagnetic communication beam propagation environment;
Step 2B: selecting a transmission model according to a propagation mode in configuration parameters of an electromagnetic wave communication beam communication link;
when the electromagnetic wave beam ground wave propagation mode is a ground wave transmission mode, selecting an electromagnetic wave beam earth surface transmission model;
when the electromagnetic wave beam ground wave propagation mode is a sky wave transmission mode, selecting an electromagnetic wave beam high-altitude electromagnetic layer transmission model;
when the electromagnetic wave beam ground wave propagation mode is a direct wave transmission mode, selecting an electromagnetic wave beam receiving entity and transmitting entity transmission model;
Step 2C: based on physical information and position information of an object in a propagation environment, establishing a three-dimensional virtual model of the propagation environment according to the selected transmission model, and determining position coordinates of the object in the three-dimensional virtual model of the propagation environment;
step 2D: determining the propagation path of the electromagnetic wave based on the signal transmission point of the electromagnetic wave, the signal receiving point of the electromagnetic wave and the position coordinates of the object in the three-dimensional virtual model of the propagation environment;
step 2E: based on the propagation path of electromagnetic wave and the corresponding electric field intensity and phase, establishing a three-dimensional virtual model of the propagation path;
Step 2F: a three-dimensional virtual model of a propagation path of an electromagnetic wave is displayed in a three-dimensional virtual model of a propagation environment.
Step 103: acquiring radiation intensity configuration parameters of electromagnetic communication beams;
the electric field intensity when the electromagnetic communication beam reaches the signal receiving point is obtained and is used as the target electric field intensity.
Step 104: rendering and drawing the radiation intensity of the electromagnetic wave according to the radiation intensity configuration parameters of the electromagnetic communication wave beam and the selected visual mode;
specifically, the method comprises the following steps:
Step 4A: judging whether the radiation intensity configuration parameters comprise electromagnetic interference configuration parameters, if so, entering a step 4B, otherwise, entering a step 4C;
Step 4B: selecting an interference model according to the electromagnetic interference configuration parameters, and drawing and displaying discrete boundaries;
specifically, the method comprises the following steps:
step S1: loading radar echo data;
Step S2: selecting an interference model according to the electromagnetic interference configuration parameters;
A first interference model:
In the method, in the process of the invention, Is radar beam width; Is azimuth; Is the emission power of the radiation source; Is pulse width; Gain for the receive antenna power; Is wavelength; A pattern propagation factor for the transmit antenna to the target; a power spectral density emitted for the radiation source; Gain in the target direction for the radiation source antenna; a bandwidth correction coefficient; a system loss factor; The factor is monitored.
A second interference model:
In the method, in the process of the invention, To include target receive antenna pattern coefficients; for the radar cross-section, Is radar beam width; Is azimuth; Is the emission power of the radiation source; Is pulse width; Is wavelength; A pattern propagation factor for the transmit antenna to the target; a pattern propagation factor for the target to the receive antenna; Distance from the radiation source to the target; a power spectral density emitted for the radiation source; Gain in the target direction for the radiation source antenna; a bandwidth correction coefficient; a system loss factor; Monitoring a factor;
Step S3: synthesizing the field intensity of the electromagnetic interference source;
let the modulated signals transmitted by 2 interfering radiation sources be represented as AndThe distances to the signal receiving points are respectivelyAndThe incident vector isAndThe magnetic field direction isAndThe carrier frequencies of the two radiation sources areAndThe phase isAndElectric field strength of two radiation sourcesAndMagnetic field strengthAndThe method comprises the following steps:
Wherein, AndThe electric field intensities of the 2 interference radiation sources respectively; And Is the Boltzmann constant; The wave impedance coefficient of electromagnetic waves is: And The magnetic field strengths of the 2 interference radiation sources respectively; And Is the incident vector;
Average power density Can be expressed as:
where T is the time period.
Interference effects occur in the same frequency case, assuming w:
In the method, in the process of the invention, ;
Step S3: determining a pitch angle sampling step size by adopting a step size function;
Wherein, the step function is:
Wherein: For pitch sampling step, fangweijiao step is the azimuth sampling step, R is the curvature radius for the proportionality coefficient of the sampling area,Is the maximum radius of curvature;
step S4: performing discrete subdivision on the pitch angle based on the pitch angle sampling step length and the subdivision model;
The subdivision model is as follows:
In the method, in the process of the invention, The difference value between the pitch angle of the current point and the initial elevation angle is obtained; Pitch angle sampling step length when uniformly sampling; Is a non-uniform region scaling factor;
Step S5: and drawing a discrete boundary.
Step 4C: rendering and drawing the target electric field strength according to the selected visual mode;
the selected visual mode comprises the following steps: a contour line mode, a contour plane mode and a volume drawing mode;
contour line mode: the contour line is operated by taking square as a unit element:
inputting a text data format, and reading magnetic field data into a memory;
Using GetMainSurface and GetAuxSurface methods in the read file class to obtain two planes of the basic point and the auxiliary point in the plane respectively;
The GL_LINES parameter in the OpenGL is used for drawing an equivalent line in a plane;
Isosurface mode:
inputting a text data format, and reading magnetic field data into a memory;
Using GetMainSurface and GetAuxSurface methods in the read file class to obtain two planes of the basic point and the auxiliary point in the plane respectively;
The GL_LINES parameter in the OpenGL is used for drawing an equivalent line in a plane;
expanding the contour line of the XZ plane along the X-axis straight line or according to a two-dimensional function curve to generate the contour plane;
Volume rendering mode: invoking an OpenGL library function glcolor f () command and setting the current drawing color;
Based on OpenGL, an alpha mixing technology is adopted to achieve a semitransparent effect. In the implementation process, an OpenGL library function glEnable (GL-band) command is first called to start an alpha blending mode, and when the blending function is enabled, the combination mode of the source color and the target color is controlled by a blending equation, and is implemented by a command glBlendFunc ().
Different mixing modes can be realized by modifying parameters in glBlendFunc (), different color mixing effects are achieved, and glBlendFunc (GL-src-alpha, GL-ONE-MINUS-src-alpha) command is utilized.
Based on the foregoing embodiments, an electromagnetic communication beam visualization apparatus is provided in an embodiment of the present application, and referring to fig. 2, an electromagnetic communication beam visualization apparatus 200 provided in an embodiment of the present application at least includes:
A communication link configuration parameter acquiring unit 201, configured to acquire a communication link configuration parameter of an electromagnetic communication beam;
A radiation propagation mode visualization unit 202, configured to establish a three-dimensional virtual model of a propagation environment and a three-dimensional virtual model of a propagation path according to the communication link configuration parameters; displaying the three-dimensional virtual model of the propagation path in the three-dimensional virtual model of the propagation environment;
a radiation intensity configuration parameter obtaining unit 203, configured to obtain radiation intensity configuration parameters of the electromagnetic communication beam;
And the radiation intensity visualization unit 204 is used for rendering and drawing the radiation intensity of the electromagnetic communication beam according to the selected visualization mode according to the radiation intensity configuration parameters.
It should be noted that, the principle of solving the technical problem of the electromagnetic communication beam visualization device 200 provided by the embodiment of the present application is similar to that of the electromagnetic communication beam visualization method provided by the embodiment of the present application, so that the implementation of the electromagnetic communication beam visualization device 200 provided by the embodiment of the present application can refer to the implementation of the electromagnetic communication beam visualization method provided by the embodiment of the present application, and the repetition is omitted.
Based on the foregoing embodiments, the embodiment of the present application further provides an electronic device, as shown in fig. 3, where the electronic device 300 provided in the embodiment of the present application at least includes: processor 301, memory 302, and a computer program stored on memory 302 and executable on processor 301, processor 301 when executing the computer program implements the electromagnetic communication beam visualization method provided by the embodiments of the present application.
The electronic device 300 provided by embodiments of the present application may also include a bus 303 that connects the different components, including the processor 301 and the memory 302. Bus 303 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and so forth.
Memory 302 may include readable media in the form of volatile Memory, such as random access Memory (Random Access Memory, RAM) 3021 and/or cache Memory 3022, and may further include Read Only Memory (ROM) 3023.
The memory 302 may also include a program tool 3024 having a set (at least one) of program modules 3025, the program modules 3025 including, but not limited to: an operating subsystem, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The electronic device 300 may also communicate with one or more external devices 304 (e.g., keyboard, remote control, etc.), one or more devices that enable a user to interact with the electronic device 300 (e.g., cell phone, computer, etc.), and/or any device that enables the electronic device 300 to communicate with one or more other electronic devices 300 (e.g., router, modem, etc.). Such communication may occur through an Input/Output (I/O) interface 305. Also, electronic device 300 may communicate with one or more networks such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN), and/or a public network such as the internet via network adapter 306. As shown in fig. 3, the network adapter 306 communicates with other modules of the electronic device 300 over the bus 303. It should be appreciated that although not shown in fig. 3, other hardware and/or software modules may be used in connection with electronic device 300, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, disk array (Redundant Arrays of INDEPENDENT DISKS, RAID) subsystems, tape drives, data backup storage subsystems, and the like.
It should be noted that the electronic device 300 shown in fig. 3 is only an example, and should not be construed as limiting the function and the application scope of the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium, which stores computer instructions that when executed by a processor implement the electromagnetic communication beam visualization method provided by the embodiment of the application.
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the elements described above may be embodied in one element in accordance with embodiments of the present application. Conversely, the features and functions of one unit described above may be further divided into a plurality of units to be embodied.
Furthermore, although the operations of the methods of the present application are depicted in the drawings in a particular order, this is not required or suggested that these operations must be performed in this particular order or that all of the illustrated operations must be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.