Electromagnetic environment simulation method and device, electronic equipment and storage medium

By discretizing the electromagnetic environment simulation space into lattice elements and calculating electromagnetic influence information using the electromagnetic influence center and distance, the problems of complexity and high computational resource consumption in multi-object electromagnetic environment simulation are solved, achieving efficient and accurate electromagnetic environment simulation.

CN119004739APending Publication Date: 2024-11-22JOINT WARFARE COLLEGE NAT DEFENSE UNIV OF THE CHINESE PEOPLES LIBERATION ARMY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310559439.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In electromagnetic environment simulation, the differences in electromagnetic properties and mutual influences of multiple objects lead to complex simulations and high computational resource consumption.

Method used

The simulation space is discretized into grid cells, and electromagnetic influence information is calculated using the electromagnetic influence center and the distance between the grid cells, thus reducing the computational overhead of the electromagnetic environment.

Benefits of technology

It improves the efficiency and accuracy of electromagnetic environment simulation, reduces the amount of computation, and supports the simulation of electromagnetic effects on multiple entities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004739A_ABST
    Figure CN119004739A_ABST
Patent Text Reader

Abstract

The invention provides an electromagnetic environment simulation method and device, electronic equipment and a storage medium, and relates to the field of electromagnetism. The electromagnetic environment simulation method comprises the following steps: when a preset entity is placed in a preset simulation space, generating electromagnetic influence information of electromagnetic influence caused by the preset entity on each cell in the preset simulation space based on the electromagnetic influence capability of the preset entity; the preset simulation space is used for simulating an electromagnetic environment, and the electromagnetic influence information of each cell represents the intensity of the electromagnetic influence of the preset entity on each cell; and simulating an electromagnetic environment comprising the preset entity based on all the electromagnetic influence information and all the cells. Through the electromagnetic environment simulation method, the operation overhead during electromagnetic environment simulation can be reduced, and the simulation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the electromagnetic field, and specifically, to an electromagnetic environment simulation method, device, electronic device and storage medium. Background Art

[0002] When simulating the electromagnetic environment, objects with electromagnetic characteristics in the electromagnetic environment are simulated together. When the objects with electromagnetic characteristics move, they will affect the electromagnetic environment, causing the electromagnetic environment to change.

[0003] Since objects have different electromagnetic properties and different abilities to influence the electromagnetic environment, and the electromagnetic environment may include multiple objects and multiple objects may influence each other, the simulation of the electromagnetic environment including the movement of objects is more complicated and requires higher computing resources. Summary of the invention

[0004] In view of this, the present application aims to embody an electromagnetic environment simulation method, device, electronic device and storage medium to reduce the computational overhead caused by calculating the impact of each object with electromagnetic influence capability on the electromagnetic environment when simulating the electromagnetic environment, thereby improving computing performance.

[0005] In a first aspect, an embodiment of the present application provides an electromagnetic environment simulation method, comprising: when a preset entity is placed in a preset simulation space, generating electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space based on the electromagnetic influence capability of the preset entity; the preset simulation space is used to simulate the electromagnetic environment, and the electromagnetic influence information of each cell represents a discrete value of the strength of the electromagnetic influence of the preset entity on each cell; based on all the electromagnetic influence information and all the cells, simulating the electromagnetic environment including the preset entity.

[0006] In the embodiment of the present application, the preset simulation space is used to simulate the electromagnetic environment, and the preset simulation space includes multiple grids, so that the grids can be used to represent different positions in the preset simulation space. When calculating the strength of the electromagnetic influence of the preset entity on the electromagnetic environment, the electromagnetic influence information of the electromagnetic influence caused by the preset entity on each grid in the preset simulation space can be generated based on the electromagnetic influence capability of the preset entity, and the electromagnetic influence information corresponding to different grid points is used to characterize the strength of the electromagnetic influence of each grid by the set entity, wherein, since the grid separates the continuous space, the electromagnetic influence received by any point in the grid can be used to characterize the electromagnetic influence received by the grid, so the electromagnetic influence information of each grid is a discontinuous discrete value. Therefore, when there are multiple preset entities, it is only necessary to calculate the total electromagnetic influence information of each preset entity for each grid separately. Compared with calculating the influence between different preset entities, the calculation amount of calculating the total electromagnetic influence information of all grids corresponding to each preset entity is less, which can effectively reduce the calculation overhead caused by the mutual influence between each preset entity and the calculation of the influence on the electromagnetic environment during simulation, thereby improving the simulation efficiency.

[0007] In one embodiment, before generating electromagnetic influence information of the electromagnetic influence caused by the preset entity on each grid element in the preset simulation space based on the electromagnetic influence capability of the preset entity, the method also includes: determining a physical space to be simulated; simulating the physical space to obtain an initial simulation space; discretizing the initial simulation space to obtain the preset simulation space; wherein the discretization is used to divide the initial simulation space into different grid elements.

[0008] In the embodiment of the present application, by simulating the physical space, the initial simulation space is made similar to the real space, so that the electromagnetic environment obtained by the final simulation is more real and more accurate. The initial simulation space is discretized and divided into different grids, so that different positions in the space can be simulated by different grids. Compared with using a continuous electromagnetic environment for simulation, using discrete grids can effectively reduce the amount of calculation required for simulating the electromagnetic environment, reduce the calculation overhead of the simulated electromagnetic environment, and improve the simulation efficiency.

[0009] In one embodiment, the electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space is generated based on the electromagnetic influence capability of the preset entity, including: determining the cell where the electromagnetic influence center of the preset entity is located in the preset simulation space; wherein the electromagnetic influence center is the center of the electromagnetic magnetic field generated by the preset entity; based on the electromagnetic influence capability of the preset entity and the distance of each cell from the cell where the electromagnetic influence center is located in the preset simulation space, the electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space is generated.

[0010] In the embodiment of the present application, the electromagnetic influence center is used to simulate the center of the electromagnetic magnetic field generated by the preset entity, thereby reducing the amount of data for simulating the preset entity and avoiding simulating the preset entity as a whole. At the same time, the electromagnetic influence center can be placed in a cell, and the distance between the cell where the electromagnetic influence center is located and each other cell is used as the distance between the preset entity and each position within its influence range, which can simplify the calculation process of the distance between the preset entity and each position within its influence range, and reduce the computational overhead caused by the distance calculation for the electromagnetic environment simulation. At the same time, electromagnetic influence information can be generated according to the electromagnetic influence capability of the preset entity and the distance between each cell and the cell where the electromagnetic influence center is located in the preset simulation space. Thus, the generated electromagnetic influence information is for each cell, and each cell has corresponding electromagnetic influence information, that is, the electromagnetic influence information is a discrete value. Compared with calculating continuous electromagnetic influence information, the discrete value can further reduce the computational overhead of the electromagnetic environment simulation.

[0011] In one embodiment, the electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space is generated based on the electromagnetic influence capability of the preset entity and the distance of each cell from the cell where the electromagnetic influence center is located in the preset simulation space, including: obtaining the longitude and latitude of the cell where the electromagnetic influence center is located and the longitude and latitude of other cells in the preset simulation space except the cell where the electromagnetic influence center is located; calculating the spherical distance between the cell where the electromagnetic influence center is located and the other cells based on the longitude and latitude of the cell where the electromagnetic influence center is located and the longitude and latitude of the other cells; calculating the electromagnetic influence information of each of the other cells based on the electromagnetic influence capability and the spherical distances corresponding to each of the other cells.

[0012] In the embodiment of the present application, the preset simulation space is obtained by simulating the physical space, so the position of each cell can be represented by longitude and latitude, and the spherical distance between each cell calculated by longitude and latitude is more accurate than the plane distance, which can improve the accuracy of the simulation. At the same time, by calculating the distance between each other cell and the cell where the electromagnetic influence center is located, and using the distance to calculate the electromagnetic influence information, compared with calculating the electromagnetic influence information based on continuous distance changes, using the distance between cells to calculate the electromagnetic influence information can reduce the amount of calculation of the electromagnetic influence information, thereby reducing the computational overhead of the simulated electromagnetic environment and improving the simulation efficiency of the electromagnetic environment.

[0013] In one embodiment, the electromagnetic impact information is stored in the corresponding cells. After generating the electromagnetic impact information of the electromagnetic impact caused by the preset entity on each cell in the preset simulation space based on the electromagnetic impact capability of the preset entity, the method further includes: determining the cell where the required electromagnetic impact information is located based on the electromagnetic impact information of each cell.

[0014] In the embodiment of the present application, since the electromagnetic impact information corresponds to each cell, the cell where the required electromagnetic impact information is located can be found through the electromagnetic impact information, which is convenient for analyzing the impact of each preset entity on the electromagnetic environment and meeting the user's usage needs.

[0015] In one embodiment, after generating electromagnetic impact information of the electromagnetic impact caused by the preset entity on each cell in the preset simulation space based on the electromagnetic impact capability of the preset entity, the method further includes: simulating the changes of the changing entity in the electromagnetic environment.

[0016] In the embodiments of the present application, the changes of each entity in the electromagnetic environment can be simulated, so as to expand the application scope of the electromagnetic environment and meet the demand for simulating the impact of the changing entity on the electromagnetic environment.

[0017] In one embodiment, the simulating the change of the changed entity in the electromagnetic environment includes: deleting a preset entity before the change in the electromagnetic environment, and / or placing the changed entity in the electromagnetic environment.

[0018] In an embodiment of the present application, when simulating changes in an entity, by deleting the preset entity before the change in the electromagnetic environment, and / or placing the changed entity in the electromagnetic environment, the above method can effectively reduce the amount of data for simulating the change of the entity in the electromagnetic environment compared to simulating the real-time change of the entity in the electromagnetic environment.

[0019] In a second aspect, an embodiment of the present application provides an electromagnetic environment simulation device, comprising: an electromagnetic impact calculation module, which is used to generate electromagnetic impact information of the electromagnetic impact caused by the preset entity on each cell in the preset simulation space based on the electromagnetic impact capability of the preset entity when the preset entity is placed in the preset simulation space; the preset simulation space is used to simulate an initial electromagnetic environment that is not affected by electromagnetic influence, and the electromagnetic impact information of each cell represents the strength of the electromagnetic influence of the preset entity on each cell; a simulation module, which is used to simulate the electromagnetic environment including the preset entity based on all the electromagnetic impact information and all the cells.

[0020] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the electromagnetic environment simulation method as described in the first aspect.

[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is run on a computer, the computer executes the electromagnetic environment simulation method as described in the first aspect.

[0022] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.

[0023] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the preferred embodiments of the present invention are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 A flowchart of an electromagnetic environment simulation method provided in one embodiment of the present application;

[0026] Figure 2 A schematic diagram of a preset simulation space provided in an embodiment of the present application;

[0027] Figure 3 A schematic diagram of the electromagnetic influence capability of a preset entity provided in an embodiment of the present application;

[0028] Figure 4 A schematic diagram of an electromagnetic environment simulation device provided in one embodiment of the present application;

[0029] Figure 5 An electronic device is provided in accordance with an embodiment of the present application.

[0030] Icon: electromagnetic environment simulation device 200; electromagnetic impact calculation module 210; simulation module 220; electronic device 300; processor 310; memory 320. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0032] See also Figure 1 , Figure 1 This is an electromagnetic environment simulation method according to an embodiment of the present application. The electromagnetic environment simulation method includes:

[0033] S110, when the preset entity is placed in the preset simulation space, electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space is generated based on the electromagnetic influence capability of the preset entity.

[0034] The electromagnetic impact information may be an electromagnetic field strength value. In some embodiments, the electromagnetic impact information may also include electromagnetic frequency bands, electromagnetic interference source attributes, and other information related to electromagnetic impact. The preset simulation space is used to simulate the electromagnetic environment. The preset entity is used to simulate an entity that has a certain electromagnetic impact capability and can affect the surrounding electromagnetic environment.

[0035] In this embodiment, the preset simulation space can simulate an actual physical space, for example, simulate mountains, cities, sky, oceans, indoors, and a combination of physical spaces.

[0036] In one embodiment, obtaining a preset simulation space includes: determining a physical space to be simulated; simulating the physical space to obtain an initial simulation space; and discretizing the initial simulation space to obtain a preset simulation space.

[0037] In this embodiment, after determining the physical space to be simulated, a space model corresponding to the physical space can be constructed according to the terrain of the physical space to be simulated. Then, according to the factors affecting the electromagnetic environment in the physical space to be simulated, such as weather, obstacles, etc., corresponding influencing factors are set in the space model as the inherent factors affecting the electromagnetic environment within the range, and the initial simulation space is obtained.

[0038] Finally, the initial simulation space is discretized to obtain the preset simulation space.

[0039] See also Figure 2 , Figure 2 A schematic diagram of a preset simulation space provided in an embodiment of the present application. Figure 2 In Figure (a) or (b), A, B, C, and D represent different preset entities, and the four circles represent the electromagnetic influence ranges of A, B, C, and D, respectively.

[0040] In this embodiment, discretization processing is used to divide the initial simulation space into different cells, each of which can represent an area in the simulated physical space or a position. In some embodiments, each cell can have different sizes, and different cells can be distinguished by serial numbers, identifications, etc.

[0041] like Figure 2 As shown, the cell can be expressed in various forms, for example, the cell can be a hexagonal cell as shown in (a), or a square cell as shown in (b). It can be understood that there are many specific forms of expression of the cell, and the above is only an example and is not intended to limit the present application. The size of the cell can also be set according to demand. For example, when a more accurate simulation is required, the cell is set smaller, or when a larger range needs to be simulated, the cell can be set larger to reduce the computational overhead.

[0042] The preset entity is used to simulate an entity with electromagnetic influence capability. In this embodiment, since the entity is simulated, the electromagnetic influence capability of the entity needs to be set, for example, the electromagnetic strength and influence range of the entity are set to obtain the preset entity.

[0043] After obtaining the preset entity, the preset entity can be placed in any cell in the preset simulation space to simulate the impact of the preset entity on the electromagnetic environment of the preset simulation space, thereby simulating the impact of the entity on the electromagnetic environment of the physical space.

[0044] Among them, since the grid element divides the continuous space, the electromagnetic influence received by any point in the grid element can be used to represent the electromagnetic influence received by the grid element. Therefore, the electromagnetic influence information of each grid element is also discontinuous electromagnetic influence information, that is, a discrete value.

[0045] In one embodiment, electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space is generated based on the electromagnetic influence capability of the preset entity, including: determining the cell where the electromagnetic influence center of the preset entity is located in the preset simulation space; based on the electromagnetic influence capability of the preset entity and the distance of each cell from the cell where the electromagnetic influence center is located in the preset simulation space, generating electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space.

[0046] In this embodiment, the electromagnetic impact information may be electromagnetic intensity, or other parameter values ​​that characterize the electromagnetic impact on a certain location. The electromagnetic impact center is the center where the electromagnetic impact is generated. For example, the electromagnetic impact center may be the electromagnetic source center, the electromagnetic field center, or other signal sources with field strength characteristics. The properties of the electromagnetic impact center may be set as required.

[0047] An object with electromagnetic influence will have a certain influence around its location. The size and shape of the affected area are determined by the electromagnetic influence of the entity, such as a circular or fan-shaped area in two-dimensional space, or a spherical or conical area in three-dimensional space. The farther away from the object, the less affected the location within the range will be by the electromagnetic influence of the object, decreasing in a linear / logarithmic form or other attenuation method. Correspondingly, when simulating objects with different electromagnetic influence capabilities, different preset entities can also set corresponding electromagnetic influence capabilities for different preset entities. Figure 2 As shown, A, B, C, and D represent four preset objects respectively. The electromagnetic influence range of each preset object is a circular range of different sizes, and the darker the color is near the center of the circle, the stronger the influence of the electromagnetic influence of the preset object is. It can be understood that Figure 2 This is just an example. In this embodiment, the size and shape of the electromagnetic influence range of a preset entity in three-dimensional space can also be simulated. As mentioned above, the electromagnetic influence range in three-dimensional space can be spherical, conical, etc. The specific principles can be referred to the existing technology and will not be repeated here.

[0048] See also Figure 3 , Figure 3 A schematic diagram of the electromagnetic influence capability of a preset entity provided in one embodiment of the present application.

[0049] In this embodiment, the electromagnetic influence center can be used to simulate the center of the electromagnetic magnetic field generated by the entity, and each preset entity is provided with an electromagnetic influence center. Thus, the electromagnetic influence of a certain position on the position by the entity can be calculated according to the distance between the electromagnetic influence center of a certain position and the entity.

[0050] For example, when the positions within the influence range of the electromagnetic influence of the preset object are linearly related to the electromagnetic influence center, such as Figure 3 As shown in (c), the circle indicates that when the influence range is a circle, the center of the circle can be represented as the electromagnetic influence center of the preset entity. The color of the circle gradually becomes lighter from the center to the surrounding areas. The height of the triangle below the circle indicates the strength of the electromagnetic influence at each position within the circle. The height of the vertex at the obtuse angle of the triangle from the bottom is the electromagnetic influence intensity at the center of the circle. The vertical distance from each position of the hypotenuse to the bottom indicates the change in the electromagnetic influence intensity from the center to the surrounding areas, that is, it gradually weakens from the center to the surrounding areas. Figure 3The fan shown in (d) represents the electromagnetic influence range of a fan generated by a preset entity. The center of the fan is the center of electromagnetic influence. The color of the fan gradually becomes lighter from the center to the edge. The closer the points are to the center, the stronger the electromagnetic influence is. The farther they are from the center, the weaker the electromagnetic influence is. Similarly, the triangle below (d) represents the change of electromagnetic influence from the center to the fan arc. The electromagnetic influence is strongest at the center of the fan, which is represented by the shorter right-angled side of the right triangle. The distance from any point on the hypotenuse to the longer right-angled side can represent the intensity of electromagnetic influence on the corresponding point on the fan. It can be understood that the above is only an example. The actual electromagnetic influence range of the entity has other forms of ranges, such as the electromagnetic influence range can be elliptical, semicircular, rectangular or other regular and irregular shapes. The electromagnetic influence of each position in different forms of electromagnetic ranges may be different. The specific implementation can refer to the electromagnetic-related principles in the prior art, which will not be further expanded here.

[0051] It can be understood from the above embodiments that the intensity of the electromagnetic influence of the preset entity on each position within its electromagnetic influence range is related to the electromagnetic influence capability of the preset entity and the distance from the electromagnetic influence center. Therefore, when the preset entity is placed in the preset simulation space, the electromagnetic influence center can be placed in a cell, and the distance between each other cell and the cell where the electromagnetic influence center is located is calculated to calculate the influence of the electromagnetic influence of the preset entity on each other cell, that is, to calculate the electromagnetic influence information.

[0052] Among them, when calculating the distance between cells, since the cell has a certain size and the simulated space is large, in order to improve the accuracy of the calculation, a unified position on the cell can be used when calculating the distance. For example, for a hexagonal grid, the center of the hexagonal grid can be used uniformly, or a vertex on the hexagonal grid can be used uniformly. The distance is calculated according to a unified vertex, thereby improving the accuracy of the electromagnetic influence information calculation. In some other embodiments, other positions in the cell can also be used as a unified position. The above is only an example and should not be a limitation to the present application.

[0053] In one embodiment, based on the electromagnetic influence capability of a preset entity and the distance of each cell from the cell where the electromagnetic influence center is located in the preset simulation space, electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space is generated, including: obtaining the longitude and latitude of the cell where the electromagnetic influence center is located and the longitude and latitude of other cells in the preset simulation space except the cell where the electromagnetic influence center is located; calculating the spherical distance between the cell where the electromagnetic influence center is located and other cells based on the longitude and latitude of the cell where the electromagnetic influence center is located and the longitude and latitude of other cells; and calculating the electromagnetic influence information of each other cell based on the electromagnetic influence capability and the spherical distance corresponding to each other cell.

[0054] In this embodiment, the preset simulation space is obtained by simulating the physical space, so each cell in the preset simulation space has a corresponding longitude and latitude coordinate. When calculating the distance from a certain position to the electromagnetic influence center, the distance can be calculated by the longitude and latitude of the cell where the electromagnetic influence center is located and the longitude and latitude of the cell where the position is located, wherein the spherical distance is obtained by calculating the longitude and latitude. When the preset simulation space is a three-dimensional space, the distance can also be calculated using the longitude and latitude and elevation.

[0055] After obtaining the spherical distance, the electromagnetic influence information caused by the preset entity to the cell where the position is located can be calculated by the electromagnetic influence capability of the preset entity and the spherical distance. Among them, when the electromagnetic influence information is electromagnetic intensity, the calculation formula of electromagnetic intensity can be used to calculate the electromagnetic influence information. It can be understood that the specific calculation of electromagnetic influence information can refer to the prior art and will not be repeated here. In some embodiments, in addition to calculating the distance by latitude, when calculating the electromagnetic influence information, the distance between the cell where the electromagnetic influence center is located and the cell where a certain position is located can also be calculated by a two-dimensional coordinate system or a three-dimensional coordinate system. The calculated distance can also be Manhattan distance, Euclidean distance, etc., but it is not limited to it. Then, the electromagnetic influence information can be calculated by distance. It can be understood that the above is only an example, but not a limitation.

[0056] In this embodiment, a preset entity will affect multiple cells in a preset simulation space. Therefore, when calculating electromagnetic impact information, the distance between the electromagnetic impact center and other cells within the impact range can be calculated, and the electromagnetic impact information of the electromagnetic impact center on other cells can be calculated respectively.

[0057] In this embodiment, when calculating the electromagnetic influence information, the electromagnetic influence information can also be calculated based on factors that affect the electromagnetic influence, such as terrain, weather, and obstacles between cells, combined with the distance between cells and the electromagnetic influence capability of the preset entity. The specific calculation process can refer to the prior art and will not be described in detail here.

[0058] In some embodiments, there may be multiple preset entities. When simulating an electromagnetic environment having multiple preset entities, the electromagnetic impact information of each preset entity on each cell may be calculated first.

[0059] In this embodiment, after obtaining the electromagnetic influence information of each preset entity on different cells, all the electromagnetic influence information of each cell can also be comprehensively calculated. It can be understood that the electromagnetic influences between different preset entities may be superimposed or offset each other. Therefore, all the electromagnetic influence information of each cell is comprehensively calculated to obtain the total electromagnetic influence information. For example, if the electromagnetic influences caused by preset entity A and preset entity B on a certain cell are superimposed, the electromagnetic influence information caused by A and B on the cell can be added to obtain the total electromagnetic influence information. It can be understood that the above is only an example, and there may be other considerations in actual operations, including but not limited to addition and subtraction, maximum and minimum values ​​or other function operations when calculating the total electromagnetic influence information.

[0060] In this embodiment, each cell can also store electromagnetic impact information corresponding to different preset entities. For example, if a cell is affected by preset entity A and preset entity B at the same time, the electromagnetic impact information caused by A and B on it can be stored separately, and the total electromagnetic impact information caused by A and B on it can be calculated.

[0061] S120, simulating the electromagnetic environment including the preset entity based on all electromagnetic impact information and all cells.

[0062] In this embodiment, after obtaining the electromagnetic influence information of the preset entity on each cell, the electromagnetic influence information corresponding to each cell in the preset simulation space can be modified or assigned, so that each cell can represent the electromagnetic influence of the preset entity on the location of the cell according to the electromagnetic influence information it has. The preset simulation space includes all cells, so the preset simulation space can be used to simulate the electromagnetic environment including the preset entity.

[0063] Furthermore, after the electromagnetic environment including the preset entity is obtained, the change of the entity in the electromagnetic environment may be simulated based on the electromagnetic environment, that is, the change of the changed entity in the electromagnetic environment may be simulated.

[0064] In this embodiment, the electromagnetic environment can also be used to simulate changes in different entities, for example, inserting a new entity in the electromagnetic environment, that is, changing the entity to the new entity, or deleting existing entities in the electromagnetic environment, moving existing entities, updating the electromagnetic impact properties of existing entities, etc., thereby simulating the impact changes caused by the changed entity on the electromagnetic environment.

[0065] When simulating the electromagnetic environment, the transformation of the entity only affects the electromagnetic environment in which it is located, but will not affect other entities. Therefore, when the entity in the electromagnetic environment changes, the electromagnetic environment after the entity change can be simulated based on the electromagnetic impact information of the changed entity on the electromagnetic environment and the existing electromagnetic impact information of each cell.

[0066] In one embodiment, simulating the change of the changed entity in the electromagnetic environment includes: deleting a preset entity before the change in the electromagnetic environment, and / or inserting the changed entity in the electromagnetic environment.

[0067] In this embodiment, when there is a preset entity in the electromagnetic environment that needs to be deleted, that is, the preset entity to be deleted is a variable entity, at this time, for the cells affected by the preset entity, the electromagnetic impact information of the electromagnetic impact caused by the preset entity on each cell can be deleted, and the electromagnetic environment is simulated based on the remaining electromagnetic impact information of each cell. Exemplarily, a variable entity causes electromagnetic impact on 9 cells including the cell where it is located, and each cell stores the electromagnetic impact information of the electromagnetic impact caused by the variable entity on the cell. When deleting the variable entity, the variable entity can be deleted in the cell where the variable entity is located, and the electromagnetic impact information in the 9 cells including the cell where it is located is deleted at the same time.

[0068] In this embodiment, when a new entity is inserted into the electromagnetic environment, that is, the inserted new entity is a changing entity, the electromagnetic influence information of the electromagnetic influence center of the changing entity on each cell can be calculated respectively, and then the total electromagnetic influence information between the existing electromagnetic influence information in each cell entity and the electromagnetic influence information corresponding to the changing entity is calculated respectively, and finally the electromagnetic environment including the changing entity is simulated with the total electromagnetic influence information of each cell. Among them, the specific calculation process can refer to the above embodiment or the prior art, and will not be repeated here. Exemplarily, after a changing entity is inserted into a certain position, the position is the cell where the changing entity is located, and the electromagnetic influence ability of the changing entity can cause electromagnetic influence on 9 cells including the cell where it is located, then the electromagnetic influence information of the 9 cells including the cell where it is located can be modified. At this time, the electromagnetic influence information of the cell where it is located is modified to the electromagnetic influence information corresponding to the maximum electromagnetic influence ability of the changing entity, and the electromagnetic influence information is generated according to the distance between each cell and the cell where it is located, and then the electromagnetic influence information is written into the corresponding cells respectively.

[0069] In this embodiment, when an entity in the electromagnetic environment shifts, that is, the shifted entity is a changing entity, the changing entity can be first deleted from the original cell, and the electromagnetic impact information of the changing entity on other cells can be deleted at the same time, and then the changing entity can be placed in the new cell, so as to calculate the electromagnetic impact information of the electromagnetic impact caused by the changing entity on all other cells at the new cell, and calculate the total electromagnetic impact information of each cell, and finally simulate the electromagnetic environment including the changing entity with the total electromagnetic impact information of each cell. Exemplarily, a changing entity needs to move from a first position to a second position. When it is in the cell at the first position, it will have an electromagnetic impact on the 8 cells around the cell at the first position and generate electromagnetic impact information. When the changing entity needs to be moved to the cell at the second position, the entity at the first position is first deleted, and the electromagnetic impact information of the changing entity on the cell at the first position and the 8 surrounding cells is deleted from each cell; then, the changing entity is placed in the cell at the second position, and the electromagnetic impact information corresponding to the cell at the second position and the 8 cells within the influence range of the changing entity is modified. The specific calculation method of the electromagnetic impact information can refer to the above content and will not be repeated here.

[0070] In this embodiment, when there is a change in the electromagnetic influence capability of an entity in the electromagnetic environment, that is, the entity whose electromagnetic influence capability has changed is a changing entity, the changing entity can be first deleted from the original cell where it is located, and the electromagnetic influence information of the changing entity on other cells is deleted at the same time. After the electromagnetic influence capability of the changing entity is redefined, the changing entity is placed back into the electromagnetic environment, and the electromagnetic influence information of the electromagnetic influence caused by the changing entity on each of the other cells is recalculated separately. Finally, the total electromagnetic influence information corresponding to each cell is calculated separately, and the electromagnetic environment including the changing entity is simulated with the total electromagnetic influence information of each cell. Exemplarily, the electromagnetic influence capability of a changing entity is enhanced, and the electromagnetic influence on the original 8 cells around the cell where it is located is changed to the electromagnetic influence on 24 cells around the cell where it is located. At this time, the changing entity can be deleted from the cell where it is located, and the electromagnetic influence information of the surrounding 8 cells can be deleted. Then, the changing entity with enhanced electromagnetic influence capability can be reinserted, and based on the redefined electromagnetic influence capability of the changing entity and the distance from the cell where the changing entity is located, the electromagnetic influence information corresponding to each of the 24 cells can be generated and written into the corresponding cells.

[0071] In some embodiments, the cell where the required electromagnetic influence information is located may also be determined based on the electromagnetic influence information of each cell.

[0072] In this embodiment, after the electromagnetic influence information is calculated, the electromagnetic influence information may be stored in the cell, thereby displaying the electromagnetic influence information of different cells to the user.

[0073] Through the above method, a query of a certain required electromagnetic impact information can be realized. When a certain specific electromagnetic impact information needs to be queried, that is, when the required electromagnetic impact information needs to be queried, the grid element with the same electromagnetic impact information as the required electromagnetic impact information can be determined and displayed according to the electromagnetic impact information of each grid element. In some embodiments, when performing a query, the required entity in the electromagnetic environment can also be queried according to the electromagnetic impact capability of the entity. For example, entities with a certain electromagnetic intensity or entities with a certain influence range can be queried. It can be understood that there can be many ways to query, which will not be expanded here.

[0074] In the embodiment of the present application, the preset simulation space is used to simulate the electromagnetic environment, and the preset simulation space includes a plurality of grids, so that the grids can be used to represent different positions in the preset simulation space. When calculating the strength of the electromagnetic influence of the preset entity on the electromagnetic environment, the electromagnetic influence information of the electromagnetic influence caused by the preset entity on each grid in the preset simulation space can be generated based on the electromagnetic influence capability of the preset entity, and the electromagnetic influence information corresponding to different grid points is used to characterize the strength of the electromagnetic influence of the preset entity on each grid. Therefore, when there are multiple preset entities, it is only necessary to calculate the total electromagnetic influence information of each grid corresponding to each preset entity. Compared with calculating the influence between different preset entities, calculating the total electromagnetic influence information of each grid corresponding to each preset entity is easy to calculate, which can effectively reduce the computational overhead caused by the mutual influence between each preset entity and the calculation of the influence on the electromagnetic environment during simulation, thereby improving the simulation efficiency.

[0075] Based on the same inventive concept, the present application embodiment is an electromagnetic environment simulation device, please refer to Figure 4 , Figure 4 The electromagnetic environment simulation device 200 is a schematic diagram of an electromagnetic environment simulation device provided in an embodiment of the present application. The electromagnetic environment simulation device 200 includes: an electromagnetic influence calculation module 210 and a simulation module 220 .

[0076] The electromagnetic impact calculation module 210 is used to generate electromagnetic impact information of the electromagnetic impact caused by the preset entity on each cell in the preset simulation space based on the electromagnetic impact capability of the preset entity when the preset entity is placed in the preset simulation space; the preset simulation space is used to simulate the initial electromagnetic environment that is not affected by the electromagnetic impact, and the electromagnetic impact information of each cell represents the strength of the electromagnetic impact of the preset entity on each cell.

[0077] The simulation module 220 is used to simulate the electromagnetic environment including the preset entity based on all the electromagnetic influence information and all the cells.

[0078] The simulation module 220 is also used to determine the physical space to be simulated; simulate the physical space to obtain an initial simulation space, and discretize the initial simulation space to obtain the preset simulation space; wherein the discretization is used to divide the initial simulation space into different grids.

[0079] The electromagnetic impact calculation module 210 is also used to determine the cell where the electromagnetic impact center of the preset entity is located in the preset simulation space; wherein the electromagnetic impact center is the center of the electromagnetic magnetic field generated by the preset entity; based on the electromagnetic impact capability of the preset entity and the distance of each cell from the cell where the electromagnetic impact center is located in the preset simulation space, electromagnetic impact information of the electromagnetic impact caused by the preset entity on each cell in the preset simulation space is generated.

[0080] The electromagnetic impact calculation module 210 is also used to obtain the longitude and latitude of the cell where the electromagnetic impact center is located and the longitude and latitude of other cells in the preset simulation space except the cell where the electromagnetic impact center is located; calculate the spherical distance between the cell where the electromagnetic impact center is located and the other cells based on the longitude and latitude of the cell where the electromagnetic impact center is located and the longitude and latitude of the other cells; calculate the electromagnetic impact information of each of the other cells based on the electromagnetic impact capability and the spherical distance corresponding to each of the other cells.

[0081] The simulation module 220 is further configured to determine the cell where the required electromagnetic influence information is located based on the electromagnetic influence information of each cell.

[0082] The simulation module 220 is further used to simulate the change of the change entity in the electromagnetic environment.

[0083] The simulation module 220 is further configured to delete a preset entity before the change in the electromagnetic environment, and / or to insert the changed entity into the electromagnetic environment.

[0084] It can be understood that the electromagnetic environment simulation device corresponds to the above-mentioned electromagnetic environment simulation method. The specific implementation content can refer to the electromagnetic environment simulation method, which will not be repeated here.

[0085] The electromagnetic environment simulation device and method can be implemented in the form of a computer-readable instruction. The computer-readable instruction can be Figure 5 The electronic device shown is running.

[0086] Please refer to Figure 5 The embodiment of the present application further provides an electronic device 300, which can be used as the execution subject of the aforementioned electromagnetic environment simulation method, including: a processor 310 and a memory 320 communicatively connected to the processor 310.

[0087] The memory 320 stores instructions that can be executed by the processor 310 , and the instructions are executed by the processor 310 so that the processor 310 can execute the electromagnetic environment simulation method in the aforementioned embodiment.

[0088] The processor 310 and the memory 320 may be connected via a communication bus, or via some communication modules, such as a wireless communication module, a Bluetooth communication module, a 4G / 5G communication module, etc.

[0089] The processor 310 may be an integrated circuit chip with signal processing capabilities. The processor 310 may be a general-purpose processor, including a CPU (Central Processing Unit), a NP (Network Processor), etc.; it may also be a digital signal processor, an application-specific integrated circuit, a readily available programmable gate array, or other programmable logic devices or transistor logic devices, or discrete hardware components. It may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0090] The memory 320 may include, but is not limited to, RAM (Random Access Memory), ROM (Read Only Memory), PROM (Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electric Erasable Programmable Read-Only Memory), etc.

[0091] It is understandable that the electronic device 300 may also include more common modules required by itself, which are not introduced one by one in the embodiments of the present application.

[0092] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the method provided in the above embodiment is executed.

[0093] The storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as an SSD (Solid State Disk)).

[0094] In the embodiments provided in the present application, it should be understood that the disclosed methods and devices can also be implemented in other ways. The device embodiments described above are merely illustrative. The functional modules in the various embodiments of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.

[0095] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM (Read-Only Memory), RAM (Random Access Memory), disk or optical disk, and other media that can store program codes.

[0096] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0097] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

Claims

1. A method for simulating an electromagnetic environment, characterized in that: include: When a preset entity is placed in a preset simulation space, generating electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space based on the electromagnetic influence capability of the preset entity; The preset simulation space is used to simulate the electromagnetic environment, and the electromagnetic influence information of each cell represents the discrete value of the strength of the electromagnetic influence of the preset entity on each cell; The electromagnetic environment including the preset entity is simulated based on all the electromagnetic influence information and all the cells.

2. The method according to claim 1, characterized in that: Before generating electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space based on the electromagnetic influence capability of the preset entity, the method further includes: Determine the physical space to be simulated; Simulating the physical space to obtain an initial simulation space; The initial simulation space is discretized to obtain the preset simulation space; wherein the discretization is used to divide the initial simulation space into different cells.

3. The method according to claim 1, characterized in that The generating, based on the electromagnetic influence capability of the preset entity, electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space includes: Determine the cell where the electromagnetic influence center of the preset entity is located in the preset simulation space; wherein the electromagnetic influence center is the center of the electromagnetic magnetic field generated by the preset entity; Based on the electromagnetic influence capability of the preset entity and the distance between each cell and the cell where the electromagnetic influence center is located in the preset simulation space, electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space is generated.

4. The method according to claim 3, characterized in that The generating, based on the electromagnetic influence capability of the preset entity and the distance of each cell from the cell where the electromagnetic influence center is located in the preset simulation space, electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space includes: Acquire the longitude and latitude of the cell where the electromagnetic influence center is located and the longitude and latitude of other cells in the preset simulation space except the cell where the electromagnetic influence center is located; Calculating the spherical distance between the cell where the electromagnetic influence center is located and the other cells based on the longitude and latitude of the cell where the electromagnetic influence center is located and the longitude and latitude of the other cells; The electromagnetic influence information of each of the other cells is calculated based on the electromagnetic influence capability and the spherical distance corresponding to each of the other cells.

5. The method according to claim 1, characterized in that The electromagnetic influence information is stored in the corresponding cells, and after the electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space is generated based on the electromagnetic influence capability of the preset entity, the method further includes: The cell where the required electromagnetic influence information is located is determined based on the electromagnetic influence information of each cell.

6. The method according to any one of claims 1 to 5, characterized in that: After generating electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space based on the electromagnetic influence capability of the preset entity, the method further includes: The change of the changing entity in the electromagnetic environment is simulated.

7. The method according to claim 6, characterized in that The simulating the change of the changing entity in the electromagnetic environment includes: The preset entity before the change is deleted in the electromagnetic environment, and / or the changed entity is placed in the electromagnetic environment.

8. An electromagnetic environment simulation device, characterized in that: include: An electromagnetic influence calculation module, used for generating electromagnetic influence information of the electromagnetic influence caused by the preset entity on each cell in the preset simulation space based on the electromagnetic influence capability of the preset entity when the preset entity is placed in the preset simulation space; The preset simulation space is used to simulate an initial electromagnetic environment that is not affected by electromagnetics, and the electromagnetic influence information of each cell represents the strength of the electromagnetic influence of the preset entity on each cell; A simulation module is used to simulate the electromagnetic environment including the preset entity based on all the electromagnetic influence information and all the cells.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 7.