CN114063465B - View jitter elimination method and view node of distributed countermeasure simulation system - Google Patents
View jitter elimination method and view node of distributed countermeasure simulation system Download PDFInfo
- Publication number
- CN114063465B CN114063465B CN202111106674.6A CN202111106674A CN114063465B CN 114063465 B CN114063465 B CN 114063465B CN 202111106674 A CN202111106674 A CN 202111106674A CN 114063465 B CN114063465 B CN 114063465B
- Authority
- CN
- China
- Prior art keywords
- entity
- position data
- next frame
- entity position
- visual picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 15
- 230000008030 elimination Effects 0.000 title description 3
- 238000003379 elimination reaction Methods 0.000 title description 3
- 230000000007 visual effect Effects 0.000 claims abstract description 43
- 238000009877 rendering Methods 0.000 claims abstract description 25
- 239000013598 vector Substances 0.000 claims description 30
- 238000004364 calculation method Methods 0.000 claims description 7
- 238000004422 calculation algorithm Methods 0.000 claims description 6
- 238000006073 displacement reaction Methods 0.000 claims description 6
- 238000013213 extrapolation Methods 0.000 claims description 6
- 230000002452 interceptive effect Effects 0.000 abstract description 7
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002195 synergetic effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B17/00—Systems involving the use of models or simulators of said systems
- G05B17/02—Systems involving the use of models or simulators of said systems electric
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Image Generation (AREA)
- Processing Or Creating Images (AREA)
Abstract
The application belongs to the field of distributed interactive simulation systems, and particularly relates to a method for eliminating view jitter of a distributed countermeasure simulation system and a view node. The method comprises the following steps: continuously acquiring entity position data in a distributed countermeasure simulation system network, and locally storing the entity position data; step two, predicting the entity position according to the locally stored entity position data to obtain the entity position data in the next frame of view picture; step three, before rendering the next frame of visual picture, judging whether the entity position data acquired from the distributed countermeasure simulation system network is updated or not; if yes, rendering a next frame of visual picture according to the updated entity position data; if not, rendering the next frame of visual picture according to the predicted entity position data. The application not only can enhance the real-time performance of the visual simulation node data and solve the problem of visual picture jitter, but also can be realized by optimizing a system software algorithm, and has low cost.
Description
Technical Field
The application belongs to the field of distributed interactive simulation systems, and particularly relates to a method for eliminating view jitter of a distributed countermeasure simulation system and a view node.
Background
The distributed interactive simulation uses a computer network as a support, and relatively independent simulators distributed in different regions are interconnected to form a large-scale and multi-participant synergistic comprehensive virtual environment. In the distributed anti-simulation system, the phenomenon of jittering of the visual simulation node pictures is often encountered, and the phenomenon is often caused by insufficient real-time performance of physical movement behavior data required for rendering the visual pictures due to network delay, data loss or mismatching of real-time performance of synchronous calculation of other nodes. In the distributed interactive simulation system, the real-time performance of data interaction among all nodes is always a key for realizing smooth operation of the whole system.
The traditional distributed simulation system generally improves the real-time performance of the system by improving hardware, but with the increase of the number of simulation nodes and the amount of interactive data, the continuous improvement of the hardware for ensuring the real-time performance of the system can bring about the doubling of the cost of the whole system, and the economy is very poor.
It is therefore desirable to have a solution that overcomes or at least alleviates at least one of the above-mentioned drawbacks of the prior art.
Disclosure of Invention
The application aims to provide a distributed countermeasure simulation system view jitter eliminating method and view nodes, which are used for solving at least one problem existing in the prior art.
The technical scheme of the application is as follows:
The first aspect of the present application provides a method for eliminating view jitter of a distributed countermeasure simulation system, comprising:
Continuously acquiring entity position data in a distributed countermeasure simulation system network, and locally storing the entity position data;
Step two, predicting the entity position according to the locally stored entity position data to obtain the entity position data in the next frame of view picture;
step three, before rendering the next frame of visual picture, judging whether the entity position data acquired from the distributed countermeasure simulation system network is updated or not;
If yes, rendering a next frame of visual picture according to the updated entity position data;
if not, rendering the next frame of visual picture according to the predicted entity position data.
In at least one embodiment of the present application, in step two, an extrapolation algorithm is used to predict the physical location.
In at least one embodiment of the present application, in the second step, performing entity location prediction according to the locally stored entity location data to obtain entity location data in a next frame of view picture includes:
Setting a simulation step length T;
Acquiring initial position coordinates (x 0,y0,z0) and initial position vectors of an entity
After the elapsed time nT is obtained, the location coordinates (x i,yi,zi) and location vectors of the entity
Calculating the displacement vector of the entity at the momentVelocity vector/>
Calculating to obtain the position vector of the next frame entityThe position coordinate of the next frame of the entity is (x i+1,yi+1,zi+1).
A second aspect of the present application provides a view node comprising:
The entity position data acquisition module is used for continuously acquiring entity position data in the distributed countermeasure simulation system network and locally storing the entity position data;
the entity position prediction module is used for carrying out entity position prediction according to the locally stored entity position data to obtain entity position data in the next frame of visual picture;
The visual picture rendering module is used for judging whether entity position data acquired from the distributed countermeasure simulation system network is updated or not before the next frame of visual picture is rendered;
If yes, rendering a next frame of visual picture according to the updated entity position data;
if not, rendering the next frame of visual picture according to the predicted entity position data.
In at least one embodiment of the present application, in the entity position prediction module, an extrapolation algorithm is used to predict the entity position.
In at least one embodiment of the present application, the entity location prediction module includes:
the step length setting unit is used for setting a simulation step length T;
A position coordinate acquisition unit for acquiring an initial position coordinate (x 0,y0,z0) of the entity and an initial position vector After the elapsed time nT is obtained, the location coordinates (x i,yi,zi) and location vectors of the entity
A first calculation module for calculating the displacement vector of the entity at the momentVelocity vector
A second calculation module for calculating a position vector of the next frame entity
The position coordinate of the next frame of the entity is (x i+1,yi+1,zi+1).
The invention has at least the following beneficial technical effects:
The method for eliminating the visual jitter of the distributed countermeasure simulation system can not only enhance the real-time performance of visual simulation node data and solve the problem of visual picture jitter, but also be realized by optimizing a system software algorithm, has low cost and can be popularized and applied in similar distributed interactive simulation systems.
Drawings
FIG. 1 is a flow chart of a method for eliminating visual jitter of a distributed countermeasure simulation system according to an embodiment of the application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application become more apparent, the technical solutions in the embodiments of the present application will be described in more detail below with reference to the accompanying drawings in the embodiments of the present application. In the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are some, but not all, embodiments of the application. The embodiments described below by referring to the drawings are illustrative and intended to explain the present application and should not be construed as limiting 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. Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In the description of the present application, it should be understood that the terms "center," "longitudinal," "lateral," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, merely to facilitate describing the present application and simplify the description, and do not indicate or imply that the devices or elements being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the scope of the present application.
The application is described in further detail below with reference to fig. 1.
The first aspect of the present application provides a method for eliminating view jitter of a distributed countermeasure simulation system, comprising the steps of:
continuously acquiring entity position data in a distributed countermeasure simulation system network, and locally storing the entity position data;
Step two, predicting the entity position according to the locally stored entity position data to obtain the entity position data in the next frame of view picture;
step three, before rendering the next frame of visual picture, judging whether the entity position data acquired from the distributed countermeasure simulation system network is updated or not;
If yes, rendering a next frame of visual picture according to the updated entity position data;
if not, rendering the next frame of visual picture according to the predicted entity position data.
The application relates to a visual jitter elimination method of a distributed countermeasure simulation system, which comprises the steps of firstly, receiving subscribed entity position data from a network of the distributed countermeasure simulation system, carrying out local synchronous storage on the subscribed entity position data, then carrying out entity position prediction by adopting an extrapolation algorithm according to the history data of the locally stored entity position, judging whether the entity position data received from the network is updated at the moment before rendering the next frame of visual picture, and according to a judgment result, if the entity position data received from the network is updated at the moment, rendering the next frame of visual picture according to the network updating data; if the entity position data transmitted by the network is not updated at the moment, the entity position data of the next moment predicted by the local according to the historical position data is used for rendering the next frame of visual picture.
In a preferred embodiment of the present application, the process of predicting the physical location according to the locally stored physical location data to obtain the physical location data in the next frame of view comprises:
Setting a simulation step length T;
Acquiring initial position coordinates (x 0,y0,z0) and initial position vectors of an entity
After the elapsed time nT is obtained, the location coordinates (x i,yi,zi) and location vectors of the entity
Calculating the displacement vector of the entity at the momentVelocity vector/>
Calculating to obtain the position vector of the next frame entityThe position coordinate of the next frame of the entity is (x i+1,yi+1,zi+1).
Based on the above-mentioned distributed countermeasure simulation system view jitter eliminating method, a second aspect of the present application provides a view node, which includes:
The entity position data acquisition module is used for continuously acquiring entity position data in the distributed countermeasure simulation system network and locally storing the entity position data;
the entity position prediction module is used for carrying out entity position prediction according to the locally stored entity position data to obtain entity position data in the next frame of visual picture;
The visual picture rendering module is used for judging whether entity position data acquired from the distributed countermeasure simulation system network is updated or not before the next frame of visual picture is rendered;
If yes, rendering a next frame of visual picture according to the updated entity position data;
if not, rendering the next frame of visual picture according to the predicted entity position data.
In a preferred embodiment of the present application, in the entity location prediction module, an extrapolation algorithm is used to predict the entity location.
In a preferred embodiment of the present application, the entity location prediction module includes:
the step length setting unit is used for setting a simulation step length T;
A position coordinate acquisition unit for acquiring an initial position coordinate (x 0,y0,z0) of the entity and an initial position vector After the elapsed time nT is obtained, the location coordinates (x i,yi,zi) and location vectors of the entity
A first calculation module for calculating the displacement vector of the entity at the momentVelocity vector
A second calculation module for calculating a position vector of the next frame entity
The position coordinate of the next frame of the entity is (x i+1,yi+1,zi+1).
The method for eliminating the visual jitter of the distributed countermeasure simulation system and the visual nodes can effectively solve the problem of visual picture jitter caused by insufficient real-time data in the simulation system, and promote the immersion sense, low cost and strong practicability of visual simulation node pictures. The application can be realized by optimizing a system software algorithm, has low cost and can be popularized and applied in similar distributed interactive simulation systems.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present application should be included in the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (2)
1. A distributed countermeasure simulation system view jitter cancellation method, comprising:
Continuously acquiring entity position data in a distributed countermeasure simulation system network, and locally storing the entity position data;
Step two, predicting the entity position according to the locally stored entity position data to obtain the entity position data in the next frame of view picture;
step three, before rendering the next frame of visual picture, judging whether the entity position data acquired from the distributed countermeasure simulation system network is updated or not;
If yes, rendering a next frame of visual picture according to the updated entity position data;
If not, rendering the next frame of visual picture according to the predicted entity position data;
in the second step, an extrapolation algorithm is adopted to predict the entity position;
in the second step, the step of predicting the entity position according to the locally stored entity position data, where obtaining the entity position data in the next frame of view picture includes:
Setting a simulation step length T;
Acquiring initial position coordinates (x 0,y0,z0) and initial position vectors of an entity
After the elapsed time nT is obtained, the location coordinates (x i,yi,zi) and location vectors of the entity
Calculating the displacement vector of the entity at the momentVelocity vector/>
Calculating to obtain the position vector of the next frame entityAnd obtaining the position coordinate of the next frame of the entity as (xi +1,yi+1,zi+1).
2. A view node, comprising:
The entity position data acquisition module is used for continuously acquiring entity position data in the distributed countermeasure simulation system network and locally storing the entity position data;
the entity position prediction module is used for carrying out entity position prediction according to the locally stored entity position data to obtain entity position data in the next frame of visual picture;
The visual picture rendering module is used for judging whether entity position data acquired from the distributed countermeasure simulation system network is updated or not before the next frame of visual picture is rendered;
If yes, rendering a next frame of visual picture according to the updated entity position data;
If not, rendering the next frame of visual picture according to the predicted entity position data;
In the entity position prediction module, an extrapolation algorithm is adopted to predict the entity position;
The entity location prediction module comprises:
the step length setting unit is used for setting a simulation step length T;
A position coordinate acquisition unit for acquiring an initial position coordinate (x 0,y0,z0) of the entity and an initial position vector After the elapsed time nT is obtained, the location coordinates (x i,yi,zi) and location vectors of the entity
A first calculation module for calculating the displacement vector of the entity at the momentVelocity vector
A second calculation module for calculating a position vector of the next frame entityAnd obtaining the position coordinate of the next frame of the entity as (xi +1,yi+1,zi+1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111106674.6A CN114063465B (en) | 2021-09-22 | 2021-09-22 | View jitter elimination method and view node of distributed countermeasure simulation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111106674.6A CN114063465B (en) | 2021-09-22 | 2021-09-22 | View jitter elimination method and view node of distributed countermeasure simulation system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114063465A CN114063465A (en) | 2022-02-18 |
CN114063465B true CN114063465B (en) | 2024-05-03 |
Family
ID=80234200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111106674.6A Active CN114063465B (en) | 2021-09-22 | 2021-09-22 | View jitter elimination method and view node of distributed countermeasure simulation system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114063465B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197647A (en) * | 2006-12-13 | 2008-06-11 | 四川川大智胜软件股份有限公司 | Multi-channel real-time three-dimensional vision rendering indication method |
CN109002666A (en) * | 2018-09-18 | 2018-12-14 | 北京华如科技股份有限公司 | Emulated computation method based on DR second order algorithm and DDS-QOS |
CN109100723A (en) * | 2018-07-25 | 2018-12-28 | 南京信息工程大学 | Upper-level winds inversion method based on Doppler radar data |
CN110784299A (en) * | 2019-10-25 | 2020-02-11 | 北京东方瑞丰航空技术有限公司 | Low-delay multichannel visual and flight simulation synchronization method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9992082B2 (en) * | 2015-12-04 | 2018-06-05 | CENX, Inc. | Classifier based graph rendering for visualization of a telecommunications network topology |
-
2021
- 2021-09-22 CN CN202111106674.6A patent/CN114063465B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197647A (en) * | 2006-12-13 | 2008-06-11 | 四川川大智胜软件股份有限公司 | Multi-channel real-time three-dimensional vision rendering indication method |
CN109100723A (en) * | 2018-07-25 | 2018-12-28 | 南京信息工程大学 | Upper-level winds inversion method based on Doppler radar data |
CN109002666A (en) * | 2018-09-18 | 2018-12-14 | 北京华如科技股份有限公司 | Emulated computation method based on DR second order algorithm and DDS-QOS |
CN110784299A (en) * | 2019-10-25 | 2020-02-11 | 北京东方瑞丰航空技术有限公司 | Low-delay multichannel visual and flight simulation synchronization method |
Also Published As
Publication number | Publication date |
---|---|
CN114063465A (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108379832B (en) | Game synchronization method and device | |
JP2001195371A (en) | Method and device for distributed simulation with excellent consistency, responsiveness and safety in computer network environment | |
CN109598744A (en) | A kind of method, apparatus of video tracking, equipment and storage medium | |
JP2003274416A (en) | Adaptive motion estimation apparatus and method | |
CN101169730A (en) | Method, system and apparatus for managing latency-sensitive interaction in virtual environments | |
CN111260764A (en) | Method, device and storage medium for making animation | |
CN108009642A (en) | Distributed machines learning method and system | |
US5949425A (en) | Terrain representation with polygonal seams | |
CN112631775B (en) | Model training method, device, electronic equipment and computer readable storage medium | |
US20170153864A1 (en) | Synchronization Object Determining Method, Apparatus, and System | |
WO2024037650A1 (en) | Data caching | |
CN114063465B (en) | View jitter elimination method and view node of distributed countermeasure simulation system | |
CN108961316A (en) | Image processing method, device and server | |
CN103220339A (en) | Method, device and system for displaying cursor path in remote operation | |
WO2021117660A1 (en) | Server, processing system, processing method, and program | |
CN111135558B (en) | Game synchronization method, game client, computer storage medium and electronic device | |
CN109635161B (en) | Cross-domain allopatric collaborative design method in mass data environment | |
CN114723894B (en) | Three-dimensional coordinate acquisition method and device and electronic equipment | |
Bashyam et al. | Application of perturbation analysis to a class of periodic review (s, S) inventory systems | |
CN112187842B (en) | Local area network data processing system and local area network data processing method | |
CN114048863A (en) | Data processing method, data processing device, electronic equipment and storage medium | |
KR20150036829A (en) | Systems and methods for data synchronization in a network application | |
CN115826964A (en) | Component arrangement method, device, equipment, storage medium and product | |
CN113099231B (en) | Method and device for determining sub-pixel interpolation position, electronic equipment and storage medium | |
CN115600687B (en) | Model training method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |