Gun barrel overheating reminder method, system, readable storage medium and device

By obtaining and processing three-dimensional models of the training ground and barrel in virtual reality technology, judging the shooting status and calculating the temperature change rate, the problem of reducing training effects caused by barrel overheating is solved, and a more realistic and effective training simulation is achieved.

CN115282593BActive Publication Date: 2025-04-22JIANGXI TELLHOW ANIMATION VOCATIONAL COLLEGE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210852832.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-19
Publication Date
2025-04-22
Estimated Expiration
2042-07-19

AI Technical Summary

Technical Problem

When virtual reality technology is used in military drills, overheating of the barrel leads to a reduced training effect, and the prior art is difficult to simulate a real gun overheating situation.

Method used

By obtaining the VR real scene model of the training site and the three-dimensional model of the barrel, we can determine whether the barrel is in the firing state and the continuous firing state, calculate the barrel temperature change rate and the second temperature value, and issue a reminder message if it exceeds the preset temperature value.

Benefits of technology

Simulate the real gun overheating situation, improve the authenticity and effectiveness of training, avoid misleading soldiers, and thus improve the training effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115282593B_ABST
    Figure CN115282593B_ABST
Patent Text Reader

Abstract

The present invention provides a gun barrel overheating reminder method, system, readable storage medium and device. The method obtains a VR real-scene model of a training site and a three-dimensional model of a gun barrel entity, wherein the three-dimensional model of the gun barrel entity at least includes the material data of the gun barrel. Specifically, after determining that the three-dimensional model of the gun barrel entity is in a shooting state, it continues to determine whether the shooting state is in a continuous shooting state. If so, the continuous shooting time is obtained, and the temperature change rate of the corresponding gun barrel entity model is determined according to the gun barrel material data. The second temperature value of the three-dimensional model of the gun barrel entity is determined according to the continuous shooting time, the first temperature value and the temperature change rate. When it is determined that the second temperature value is greater than or equal to the preset temperature value, a prompt message is issued, which represents the overload use of the gun. The gun will no longer be able to shoot within a period of time, so as to simulate the real gun overheating situation, which is more in line with the actual situation, thereby achieving the training effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of virtual reality technology, and in particular relates to a gun barrel overheating reminder method, system, readable storage medium and device. Background Art

[0002] With the development of social economy, virtual reality technology has been widely used in various fields and has been recognized by more and more people. Users can experience the most realistic feelings in the virtual reality world. The authenticity of the simulated environment is difficult to distinguish from the real world, giving people an immersive feeling. At the same time, it has a super simulation system that truly realizes human-computer interaction, allowing people to operate at will and get the most realistic feedback from the environment during the operation. This technology has the characteristics of realism and human-computer interaction. If combined with military exercises, the value it brings is immeasurable.

[0003] In the simulation training that combines traditional military drills with virtual reality technology, infantry machine gun barrels, tank gun barrels, armored vehicle barrels and other gun barrels are not subject to any restrictions on use, that is, the guns can be used normally for a long time in any environment. In actual use, guns will be affected by the barrel material, weather, temperature and shooting time. For example, when the temperature is high and the gun is shooting for a long time, the barrel will heat up seriously and cannot shoot normally. If simulation training is carried out in this wrong way for a long time, it will inevitably mislead the soldiers to a certain extent, thereby greatly reducing the training effect. Summary of the invention

[0004] Based on this, the present invention provides a barrel overheating reminder method, system, readable storage medium and device, which are used to simulate the actual gun overheating situation, which is more in line with the actual situation, thereby achieving a training effect.

[0005] A first aspect of an embodiment of the present invention provides a gun barrel overheating reminder method, the method comprising:

[0006] Acquire a VR real-scene model of a training site, wherein the VR real-scene model of the training site at least includes a three-dimensional model of a training site entity;

[0007] Acquire a three-dimensional solid model of a gun barrel in the three-dimensional solid model of the training ground, wherein the three-dimensional solid model of the gun barrel at least includes gun barrel material data;

[0008] Acquire a first temperature value of the current three-dimensional model of the gun barrel entity, and determine whether the current three-dimensional model of the gun barrel entity is in a shooting state;

[0009] If yes, determining whether the shooting state is in a continuous shooting state;

[0010] If yes, then the continuous shooting time of the shooting state being in the continuous shooting state is obtained, and the temperature change rate of the corresponding gun barrel entity model is determined according to the gun barrel material data;

[0011] Determining a second temperature value of the three-dimensional model of the gun barrel entity according to the continuous shooting time, the first temperature value, and the temperature change rate;

[0012] Determining whether the second temperature value is greater than or equal to a preset temperature value;

[0013] If so, a prompt message is issued, wherein the prompt message is used to warn the trainee that the gun barrel is overheated.

[0014] In addition, the gun barrel overheating reminder method according to the above embodiment of the present invention may also have the following additional technical features:

[0015] Furthermore, the step of obtaining a three-dimensional solid model of a gun barrel in the three-dimensional solid model of the training ground, wherein the three-dimensional solid model of the gun barrel at least includes the material data of the gun barrel, comprises:

[0016] A gun barrel material mapping model is established, wherein the gun barrel material mapping model is used to input the gun barrel material data and output a temperature change rate corresponding to the gun barrel material data.

[0017] Furthermore, in the step of determining the second temperature value of the three-dimensional model of the barrel entity according to the continuous shooting time, the first temperature value and the temperature change rate, the calculation formula for determining the second temperature value is:

[0018] y = ax + b;

[0019] Among them, y represents the second temperature value, x represents the continuous shooting time, a represents the temperature change rate, and b represents the first temperature value.

[0020] Furthermore, before the step of obtaining the first temperature value of the current three-dimensional model of the gun barrel entity and determining whether the current three-dimensional model of the gun barrel entity is in a shooting state, the step includes:

[0021] Determining whether the barrel entity three-dimensional model has never been in a shooting state after the VR system is started;

[0022] If so, the air temperature value in the physical three-dimensional model of the training ground is set to the first temperature value.

[0023] Furthermore, the step of setting the air temperature value in the three-dimensional model of the training ground entity to the first temperature value includes:

[0024] The current position of the three-dimensional model of the gun barrel entity is obtained, and the air temperature value is determined according to the current position.

[0025] Furthermore, the VR real scene model of the training site also includes weather status data, and the weather status data includes at least wind speed sub-data and rainfall quantum data. According to the wind speed sub-data and the rainfall quantum data, corresponding wind speed mapping models and rainfall mapping models are respectively established, and the wind speed mapping model is used to input the wind speed sub-data and output a first cooling rate corresponding to the wind speed sub-data, and the rainfall mapping model is used to input the rainfall quantum data and output a second cooling rate corresponding to the rainfall quantum data;

[0026] The total cooling rate is calculated according to the first cooling rate and the second cooling rate, and the calculation formula is:

[0027] γ=k1α+k2β+ω

[0028] Among them, γ represents the total cooling rate, α represents the first cooling rate, β represents the second cooling rate, k1 represents the first weight coefficient of the first cooling rate, k2 represents the second weight coefficient of the second cooling rate, and ω represents the first correction coefficient.

[0029] Furthermore, after the step of obtaining the first temperature value of the current three-dimensional model of the gun barrel entity and determining whether the current three-dimensional model of the gun barrel entity is in a shooting state, the following steps are included:

[0030] When it is determined that the current three-dimensional model of the gun barrel entity is not in a shooting state, a third temperature value of the three-dimensional model of the gun barrel entity after the cooling time is calculated according to the first temperature value, the total temperature drop rate and the cooling time, and the calculation formula is:

[0031] z = bt*γ;

[0032] Wherein, z represents the third temperature value, b represents the first temperature value, t represents the cooling time of the barrel solid three-dimensional model when it is not in the shooting state, and γ represents the total temperature drop rate;

[0033] The third temperature value is assigned to the first temperature value and updated in real time.

[0034] A second aspect of an embodiment of the present invention provides a gun barrel overheating reminder system, the system comprising:

[0035] A first acquisition module is used to acquire a VR real-scene model of a training site, wherein the VR real-scene model of the training site at least includes a three-dimensional model of a training site entity;

[0036] A second acquisition module is used to acquire a three-dimensional solid model of a gun barrel in the three-dimensional solid model of the training ground, wherein the three-dimensional solid model of the gun barrel at least includes gun barrel material data;

[0037] A first judgment module is used to obtain a first temperature value of the current three-dimensional model of the gun barrel entity and judge whether the current three-dimensional model of the gun barrel entity is in a shooting state;

[0038] A second judgment module is used to judge whether the shooting state is in a continuous shooting state when it is judged that the three-dimensional model of the gun barrel entity is in a shooting state;

[0039] A third acquisition module is used for acquiring the continuous shooting time of the shooting state in the continuous shooting state when it is determined that the shooting state is in the continuous shooting state, and determining the temperature change rate of the corresponding gun barrel entity model according to the gun barrel material data;

[0040] A second temperature value calculation module, used for determining a second temperature value of the three-dimensional model of the gun barrel entity according to the continuous shooting time, the first temperature value and the temperature change rate;

[0041] A third judgment module, used to judge whether the second temperature value is greater than or equal to a preset temperature value;

[0042] The warning module is used to issue a prompt message when it is determined that the second temperature value is greater than or equal to a preset temperature value, wherein the prompt message is used to warn the trainee that the gun barrel is overheated.

[0043] A third aspect of an embodiment of the present invention provides a computer-readable storage medium, which, when executed by a processor, implements the above-mentioned barrel overheat reminder method.

[0044] A fourth aspect of an embodiment of the present invention provides a gun barrel overheat reminder device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned gun barrel overheat reminder method when executing the program.

[0045] Compared with the prior art: by obtaining a VR real-scene model of a training ground and a three-dimensional entity model of a gun barrel, wherein the VR real-scene model of the training ground at least includes the three-dimensional entity model of the training ground, and the three-dimensional entity model of the gun barrel at least includes the material data of the gun barrel. Specifically, after determining that the three-dimensional entity model of the gun barrel is in a shooting state, continue to determine whether the shooting state is in a continuous shooting state, because only in the continuous shooting state will the gun barrel overheat, and then obtain the continuous shooting time when the shooting state is in the continuous shooting state, and determine the temperature change rate of the corresponding gun barrel entity model according to the material data of the gun barrel, and determine the second temperature value of the three-dimensional entity model of the gun barrel according to the continuous shooting time, the first temperature value and the temperature change rate, and when it is determined that the second temperature value is greater than or equal to the preset temperature value, a prompt message will be issued, indicating that the gun is overloaded, and the gun will no longer be able to shoot for a period of time, simulating a real gun overheating situation, which is more in line with the actual situation, thereby achieving a training effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is a flow chart of an implementation of a gun barrel overheating reminder method provided by the first embodiment of the present invention;

[0047] Figure 2 is a structural block diagram of a gun barrel overheating reminder system provided by a second embodiment of the present invention;

[0048] Figure 3 It is a structural block diagram of a gun barrel overheating reminder device provided by the third embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

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

[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0052] Embodiment 1

[0053] See also Figure 1 , Figure 1 A barrel overheating reminder method provided by the first embodiment of the present invention is shown, and the method specifically includes steps S01 to S09.

[0054] Step S01, obtaining a VR real-scene model of a training venue, wherein the VR real-scene model of the training venue at least includes a physical three-dimensional model of the training venue.

[0055] It can be understood that the physical three-dimensional model of the training ground may include mountains, rivers, trees, targets and various buildings, and the VR real-scene model of the training ground also includes a weather model. The weather model includes various weather conditions, such as sunny, cloudy, rainy, snowy, etc. The physical three-dimensional model of the training ground and the weather model can be set according to the actual exercise environment to establish a training scene that conforms to the actual situation.

[0056] Among them, when users obtain the VR real-scene model and weather model of the training site, they will have an intuitive feeling. Through VR technology, users will have an immersive feeling, thereby achieving better training results.

[0057] Step S02, obtaining a three-dimensional solid model of a gun barrel in the three-dimensional solid model of the training ground, wherein the three-dimensional solid model of the gun barrel at least includes gun barrel material data.

[0058] Among them, when the physical three-dimensional model of the training ground is established, it will be associated with the physical three-dimensional model of the gun barrel, that is, the physical three-dimensional model of the gun barrel can complete the behavior in the physical three-dimensional model of the training ground. In this embodiment, the established VR real-scene model of the training ground includes the physical three-dimensional model of the armored vehicle training ground and the environmental three-dimensional model within a preset distance range around the armored vehicle training ground. It can be understood that if the combat on the island is simulated, the physical three-dimensional model of the armored vehicle training ground will be designed according to the actual island situation, and the environmental three-dimensional model within the preset distance range around the armored vehicle training ground can be the ocean, other islands, warships, etc., which can be designed according to actual conditions. It should be noted that the armored vehicle cannot enter the environmental three-dimensional model within the preset distance range around the armored vehicle training ground. Among them, the physical three-dimensional model of the armored vehicle training ground includes the physical three-dimensional models of various training equipment in the armored vehicle training ground, such as targets, obstacles, and other armored vehicles.

[0059] Specifically, the barrel entity three-dimensional model is a machine gun barrel arranged on an armored vehicle, and its appearance is consistent with the machine gun arranged on an actual armored vehicle. The barrel entity three-dimensional model includes at least data on the barrel material and the barrel heating state. It can be understood that depending on the barrel material, the rate of increase of the barrel temperature during continuous shooting is also different, that is, there is a difference in the temperature change rate. The barrel material can be simulated as the state of the material used for the actual barrel, which is generally high-alloy chromium-molybdenum steel, stainless steel and other materials. The barrel heating state can be indicated by different colors. For example, when the barrel is overheated, the barrel heating state is an overheated state, and the barrel can be displayed as dark red; when the barrel is heated, the barrel heating state is a heated state, which can be displayed as light red; when the barrel is not heated, the barrel heating state is a non-heated state, which can be displayed as the original color of the barrel.

[0060] In this embodiment, a barrel material mapping model is pre-established. The barrel material mapping model is used to input barrel material data and output a temperature change rate corresponding to the barrel material data. When the trainee enters the VR system, he needs to select a machine gun. When the machine gun is selected and ready to start training, the barrel material corresponding to the machine gun is determined. After the barrel material is determined, the barrel material data is input into the barrel material mapping model to obtain the corresponding temperature change rate.

[0061] In addition, the weather model includes natural weather conditions such as sunny, cloudy, rainy, snowy, and windy. In an actual battlefield, weather changes are also one of the key factors affecting changes in the battle situation. Therefore, in this embodiment, an association between the VR real-scene model of the training ground, the three-dimensional model of the gun barrel entity, and the weather model is established, that is, the display of the three-dimensional model of the gun barrel entity in the VR real-scene model of the training ground under different weather conditions. For example, the machine gun barrel arranged on the armored vehicle is brighter on a sunny day, and there will be reflective points depending on the angle, while on rainy days, the appearance is darker; when the machine gun barrel arranged on the armored vehicle moves on rainy and snowy days, raindrops or snowflakes will fall on the machine gun barrel, and at the same time, raindrops or snowflakes will come towards the machine gun barrel during the movement; after firing a bullet / shell and hitting the target, the target will be damaged; when the armored vehicle collides with an obstacle, it will stop moving, etc.

[0062] Step S03, obtaining the first temperature value of the current three-dimensional model of the gun barrel entity, and determining whether the current three-dimensional model of the gun barrel entity is in a shooting state, if so, executing step S04; if not, executing step S09.

[0063] It should be noted that the first temperature value of the current gun barrel physical three-dimensional model, that is, the starting temperature of the gun barrel physical three-dimensional model before shooting, is obtained, and the first temperature value changes in real time. It can be understood that the first temperature value will not be lower than the air temperature value in the physical three-dimensional model of the training ground. Specifically, when the gun barrel physical three-dimensional model is placed in the training ground VR real-scene model, specific coordinates will be generated. It can be understood that the training ground VR real-scene model is also a three-dimensional model composed of several coordinates. After the position coordinates of the gun barrel physical three-dimensional model in the training ground VR real-scene model are obtained, the air temperature value of the position coordinates is read. If it is determined that the gun barrel physical three-dimensional model has never been in a shooting state after the VR system is started, the air temperature value in the physical three-dimensional model of the training ground is set to the first temperature value.

[0064] Furthermore, the shooting state can be single shot, continuous shooting, etc. When the barrel entity three-dimensional model is in the shooting state, the barrel entity three-dimensional model will be dynamically updated along with the shooting, and the occurrence of the shooting state is related to the input of the shooting command. The input of the shooting command can be completed by operating an external VR device. The VR device can be made consistent with the appearance of the machine gun arranged on the actual armored vehicle to achieve better training effects.

[0065] In step S04, it is determined whether the shooting state is in a continuous shooting state, and if so, step S05 is executed.

[0066] It can be understood that the continuous shooting state refers to the continuous firing of bullets / shells for a period of time, rather than a single shooting, that is, the continuous input of shooting commands. According to actual conditions, it can be known that only when the gun is in a continuous shooting state, the barrel is likely to overheat. When the gun is firing at a single point, there is a certain cooling time between the firing of bullets / shells, and the barrel is not prone to overheating.

[0067] Therein, a continuous shooting time threshold needs to be preset, that is, when the continuous input time of the shooting command is greater than or equal to the preset continuous shooting time threshold, it is determined to be in a continuous shooting state.

[0068] Step S05, obtaining the continuous shooting time when the shooting state is in the continuous shooting state, and determining the temperature change rate of the corresponding gun barrel entity model according to the gun barrel material data.

[0069] It should be noted that the continuous shooting time is the time when bullets are continuously fired, not the time when shooting commands are continuously input. When there are sufficient bullets, the continuous shooting time is the time when shooting commands are continuously input. When all bullets are fired, the continuous shooting time is the time from the start of shooting command input to the time when all bullets are fired.

[0070] Step S06, determining a second temperature value of the three-dimensional model of the gun barrel entity according to the continuous shooting time, the first temperature value and the temperature change rate.

[0071] Specifically, the formula for calculating the second temperature value is:

[0072] y = ax + b;

[0073] Among them, y represents the second temperature value, x represents the continuous shooting time, a represents the temperature change rate, and b represents the first temperature value. It can be found that the relationship between the second temperature value and the continuous shooting time in the formula is a linear relationship, that is, the ambient temperature does not affect the heating rate of the barrel under continuous shooting, which is consistent with the actual situation.

[0074] Step S07, determining whether the second temperature value is greater than or equal to a preset temperature value, if so, executing step S08.

[0075] Step S08: a prompt message is issued, wherein the prompt message is used to warn the trainee that the gun barrel is overheated.

[0076] Specifically, when the second temperature value is greater than or equal to the preset temperature value, the color of the gun barrel is displayed as soldering iron red. At this time, shooting will not be possible, and a prompt message will be issued, such as using audio broadcast: this gun is overheated and cannot continue to shoot, etc. Among them, the color of the gun barrel as soldering iron red itself also serves a certain warning role.

[0077] By way of example and not limitation, in some other embodiments, the effects of the gun barrel heating and overheating can be added as needed. For example, the main color of the gun barrel gradient is orange; the gun barrel overheating state is warned by flashing red text, etc.

[0078] Step S09, calculating a third temperature value of the barrel solid three-dimensional model after the cooling time according to the first temperature value, the total temperature drop rate and the cooling time.

[0079] Specifically, when the first temperature value is the air temperature value, cooling is not required. It can be understood that the third temperature value is also the air temperature value. It should be noted that in actual combat, in order to ensure firepower while preventing the barrel from overheating and being unable to shoot, soldiers usually control continuous shooting for a period of time to allow the barrel to cool down properly, and then continue shooting, and repeat this process to achieve a high level of combat. If the cooling time is insufficient, the barrel will easily overheat if shooting is continued again.

[0080] In this embodiment, the VR real scene model of the training site also includes weather status data, which includes at least wind speed sub-data and rainfall sub-data. According to the wind speed sub-data and the rainfall sub-data, corresponding wind speed mapping models and rainfall mapping models are respectively established. The wind speed mapping model is used to input the wind speed sub-data and output the first cooling rate corresponding to the wind speed sub-data. The rainfall mapping model is used to input the rainfall sub-data and output the second cooling rate corresponding to the rainfall sub-data.

[0081] According to the first cooling rate and the second cooling rate, the total cooling rate is calculated, and the calculation formula is:

[0082] γ=k1α+k2β+ω

[0083] Among them, γ represents the total cooling rate, α represents the first cooling rate, β represents the second cooling rate, k1 represents the first weight coefficient of the first cooling rate, k2 represents the second weight coefficient of the second cooling rate, ω represents the first correction coefficient. Specifically, under the influence of wind speed and rainfall factors, the cooling rate of the barrel is different from the natural static cooling rate. The greater the wind speed, the greater the barrel cooling rate, and the greater the rainfall, the greater the barrel cooling rate. The weather state can be customized in the VR system, which can be specifically the wind force level and rainfall level in different time periods, that is, wind speed sub-data and rainfall sub-data, and then the wind speed mapping model and rainfall mapping model are respectively input according to the wind force level and rainfall level to obtain the corresponding cooling rate.

[0084] When the total cooling rate is calculated, the third temperature value of the barrel solid three-dimensional model after the cooling time is calculated according to the first temperature value, the total cooling rate and the cooling time. The calculation formula is:

[0085] z = bt*γ;

[0086] Among them, z represents the third temperature value, b represents the first temperature value, t represents the cooling time of the barrel solid three-dimensional model when it is not in the shooting state, γ represents the total cooling rate, and then the third temperature value is assigned to the first temperature value, and is updated in real time, which can be displayed on the VR display.

[0087] In summary, the gun barrel overheating reminder method in the above embodiment of the present invention obtains a VR real-scene model of a training ground and a three-dimensional model of a gun barrel entity, wherein the VR real-scene model of the training ground at least includes the three-dimensional model of the training ground entity, and the three-dimensional model of the gun barrel entity includes at least the material data of the gun barrel. Specifically, after determining that the three-dimensional model of the gun barrel entity is in a shooting state, it continues to determine whether the shooting state is in a continuous shooting state, because only in the continuous shooting state will the gun barrel overheat, and then the continuous shooting time when the shooting state is in the continuous shooting state is obtained, and the temperature change rate of the corresponding gun barrel entity model is determined according to the gun barrel material data, and the second temperature value of the three-dimensional model of the gun barrel entity is determined according to the continuous shooting time, the first temperature value and the temperature change rate, and when it is determined that the second temperature value is greater than or equal to the preset temperature value, a prompt message will be issued, indicating that the gun is overloaded, and the gun will no longer be able to shoot for a period of time, simulating a real gun overheating situation, which is more in line with the actual situation, thereby achieving a training effect.

[0088] Embodiment 2

[0089] See also Figure 2 , Figure 2 2 is a block diagram of a gun barrel overheat warning system 200 provided in an embodiment of the present invention. In this embodiment, the gun barrel overheat warning system 200 includes various units for executing Figure 1 For details, please refer to the steps in the corresponding embodiment. Figure 1 as well as Figure 1 For the convenience of explanation, only the parts related to this embodiment are shown. Figure 2 The gun barrel overheating reminder system includes: a first acquisition module 21, a second acquisition module 22, a first judgment module 23, a second judgment module 24, a third acquisition module 25, a second temperature value calculation module 26, a third judgment module 27 and a warning module 28, wherein:

[0090] A first acquisition module 21 is used to acquire a VR real scene model of a training site, wherein the VR real scene model of the training site at least includes a physical three-dimensional model of the training site;

[0091] A second acquisition module 22 is used to acquire a three-dimensional solid model of a gun barrel in the three-dimensional solid model of the training ground, wherein the three-dimensional solid model of the gun barrel at least includes the material data of the gun barrel;

[0092] A first judging module 23 is used to obtain a first temperature value of the current three-dimensional model of the gun barrel entity and judge whether the current three-dimensional model of the gun barrel entity is in a shooting state;

[0093] The second judging module 24 is used to judge whether the shooting state is in a continuous shooting state when it is judged that the current three-dimensional model of the gun barrel entity is in a shooting state;

[0094] The third acquisition module 25 is used for acquiring the continuous shooting time of the shooting state in the continuous shooting state when it is determined that the shooting state is in the continuous shooting state, and determining the temperature change rate of the corresponding gun barrel entity model according to the gun barrel material data;

[0095] A second temperature value calculation module 26, used to determine a second temperature value of the barrel solid three-dimensional model according to the continuous shooting time, the first temperature value and the temperature change rate;

[0096] A third judging module 27, used to judge whether the second temperature value is greater than or equal to a preset temperature value;

[0097] The warning module 28 is used to issue a prompt message when it is determined that the second temperature value is greater than or equal to a preset temperature value, and the prompt message is used to warn the trainee that the gun barrel is overheated.

[0098] Furthermore, in some optional embodiments of the present invention, the gun barrel overheating reminder system 200 further includes:

[0099] The gun barrel material mapping model establishment module is used to establish a gun barrel material mapping model, wherein the gun barrel material mapping model is used to input the gun barrel material data and output a temperature change rate corresponding to the gun barrel material data.

[0100] Further, the second temperature value calculation module 26 includes a first calculation unit, wherein the calculation formula of the second temperature value is:

[0101] y = ax + b;

[0102] Among them, y represents the second temperature value, x represents the continuous shooting time, a represents the temperature change rate, and b represents the first temperature value.

[0103] Furthermore, in some optional embodiments of the present invention, the gun barrel overheating reminder system 200 further includes:

[0104] a fourth determination module, configured to determine whether the barrel entity three-dimensional model has never been in a shooting state after the VR system is started;

[0105] The temperature setting module is used to set the air temperature value in the physical three-dimensional model of the training ground to the first temperature value when it is determined that the physical three-dimensional model of the gun barrel has never been in a shooting state after the VR system is started.

[0106] Furthermore, the temperature setting module includes:

[0107] The air temperature value acquisition unit is used to acquire the current position of the three-dimensional model of the gun barrel entity and determine the air temperature value according to the current position.

[0108] Further, in some optional embodiments of the present invention, in the gun barrel overheating reminder system 200, the training ground VR real scene model also includes weather status data, and the weather status data at least includes wind speed sub-data and rainfall quantum data. According to the wind speed sub-data and the rainfall quantum data, corresponding wind speed mapping models and rainfall mapping models are respectively established, and the wind speed mapping model is used to input the wind speed sub-data and output the first cooling rate corresponding to the wind speed sub-data, and the rainfall mapping model is used to input the rainfall quantum data and output the second cooling rate corresponding to the rainfall quantum data;

[0109] The total cooling rate is calculated according to the first cooling rate and the second cooling rate, and the calculation formula is:

[0110] γ=k1α+k2β+ω

[0111] Among them, γ represents the total cooling rate, α represents the first cooling rate, β represents the second cooling rate, k1 represents the first weight coefficient of the first cooling rate, k2 represents the second weight coefficient of the second cooling rate, and ω represents the first correction coefficient.

[0112] Furthermore, in some optional embodiments of the present invention, the gun barrel overheating reminder system 200 further includes:

[0113] The third temperature calculation module is used to calculate a third temperature value of the barrel solid three-dimensional model after the cooling time according to the first temperature value, the total cooling rate and the cooling time when it is determined that the current barrel solid three-dimensional model is not in the shooting state, and the calculation formula is:

[0114] z = bt*γ;

[0115] Wherein, z represents the third temperature value, b represents the first temperature value, t represents the cooling time of the barrel solid three-dimensional model when it is not in the shooting state, and γ represents the total temperature drop rate;

[0116] An updating module is used to assign the third temperature value to the first temperature value and update it in real time.

[0117] The functions or operation steps implemented when the above modules are executed are substantially the same as those in the above method embodiments, and will not be repeated here.

[0118] In summary, the gun barrel overheating reminder method in the above embodiment of the present invention obtains a VR real-scene model of a training ground and a three-dimensional model of a gun barrel entity, wherein the VR real-scene model of the training ground at least includes the three-dimensional model of the training ground entity, and the three-dimensional model of the gun barrel entity includes at least the material data of the gun barrel. Specifically, after determining that the three-dimensional model of the gun barrel entity is in a shooting state, it continues to determine whether the shooting state is in a continuous shooting state, because only in the continuous shooting state will the gun barrel overheat, and then the continuous shooting time when the shooting state is in the continuous shooting state is obtained, and the temperature change rate of the corresponding gun barrel entity model is determined according to the gun barrel material data, and the second temperature value of the three-dimensional model of the gun barrel entity is determined according to the continuous shooting time, the first temperature value and the temperature change rate, and when it is determined that the second temperature value is greater than or equal to the preset temperature value, a prompt message will be issued, indicating that the gun is overloaded, and the gun will no longer be able to shoot for a period of time, simulating a real gun overheating situation, which is more in line with the actual situation, thereby achieving a training effect.

[0119] Embodiment 3

[0120] Another aspect of the present invention is to provide a gun barrel overheat warning device, see Figure 3 , shown is a gun barrel overheat warning device in the third embodiment of the present invention, including a memory 50, a processor 40, and a computer program 60 stored in the memory and executable on the processor. When the processor 40 executes the computer program 60, the gun barrel overheat warning method as described above is implemented.

[0121] Among them, the processor 40 in some embodiments can be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run the program code stored in the memory 50 or process data, such as executing access restriction programs.

[0122] The memory 50 includes at least one type of readable storage medium, which includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. The memory 50 may be an internal storage unit of the bridge deflection test device in some embodiments, such as the hard disk of the gun barrel overheating reminder device. The memory 50 may also be an external storage device of the gun barrel overheating reminder device in other embodiments, such as a plug-in hard disk equipped on the gun barrel overheating reminder device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. Further, the memory 50 may also include both an internal storage unit and an external storage device of the gun barrel overheating reminder device. The memory 50 may be used not only to store the application software and various data of the gun barrel overheating reminder device, but also to temporarily store data that has been output or is to be output.

[0123] It should be pointed out that Figure 3 The structure shown does not constitute a limitation on the gun barrel overheat warning device. In other embodiments, the gun barrel overheat warning device may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0124] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned barrel overheat reminder method is implemented.

[0125] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0126] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0127] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0128] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0129] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the attached claims.

Claims

1. A gun barrel overheating reminder method, characterized in that: The method comprises: Establishing a gun barrel material mapping model, wherein the gun barrel material mapping model is used to input the gun barrel material data and output a temperature change rate corresponding to the gun barrel material data; Acquire a VR real-scene model of a training site, wherein the VR real-scene model of the training site at least includes a three-dimensional model of a training site entity; Acquire a three-dimensional solid model of a gun barrel in the three-dimensional solid model of the training ground, wherein the three-dimensional solid model of the gun barrel at least includes gun barrel material data; Acquire a first temperature value of the current three-dimensional model of the gun barrel entity, and determine whether the current three-dimensional model of the gun barrel entity is in a shooting state; If yes, determining whether the shooting state is in a continuous shooting state; If yes, then the continuous shooting time of the shooting state being in the continuous shooting state is obtained, and the temperature change rate of the corresponding gun barrel entity model is determined according to the gun barrel material data; Determining a second temperature value of the three-dimensional model of the gun barrel entity according to the continuous shooting time, the first temperature value, and the temperature change rate; Determining whether the second temperature value is greater than or equal to a preset temperature value; If yes, a prompt message is issued, wherein the prompt message is used to warn the trainee that the gun barrel is overheated; The step of obtaining the first temperature value of the current three-dimensional model of the gun barrel entity and determining whether the current three-dimensional model of the gun barrel entity is in a shooting state includes: Determining whether the three-dimensional model of the gun barrel entity has never been in a shooting state after the VR system is started; If yes, the temperature value in the physical three-dimensional model of the training ground is set as the first temperature value. Specifically, the current position of the physical three-dimensional model of the gun barrel is obtained, and the temperature value is determined according to the current position; The VR real scene model of the training ground also includes weather status data, and the weather status data includes at least wind speed sub-data and rainfall quantum data. According to the wind speed sub-data and the rainfall quantum data, corresponding wind speed mapping models and rainfall mapping models are respectively established, the wind speed mapping model is used to input the wind speed sub-data, and output the first cooling rate corresponding to the wind speed sub-data, and the rainfall mapping model is used to input the rainfall quantum data, and output the second cooling rate corresponding to the rainfall quantum data; The total cooling rate is calculated according to the first cooling rate and the second cooling rate, and the calculation formula is: γ=k1α+k2β+ω Wherein, γ represents the total cooling rate, α represents the first cooling rate, β represents the second cooling rate, k1 represents the first weight coefficient of the first cooling rate, k2 represents the second weight coefficient of the second cooling rate, and ω represents the first correction coefficient; The step of obtaining the first temperature value of the current three-dimensional model of the gun barrel entity and determining whether the current three-dimensional model of the gun barrel entity is in a shooting state comprises: When it is determined that the current three-dimensional model of the gun barrel entity is not in a shooting state, a third temperature value of the three-dimensional model of the gun barrel entity after the cooling time is calculated according to the first temperature value, the total temperature drop rate and the cooling time, and the calculation formula is: z = bt*γ; Wherein, z represents the third temperature value, b represents the first temperature value, t represents the cooling time of the barrel solid three-dimensional model when it is not in the shooting state, and γ represents the total temperature drop rate; The third temperature value is assigned to the first temperature value and updated in real time.

2. The gun barrel overheating reminder method according to claim 1, characterized in that: In the step of determining the second temperature value of the barrel solid three-dimensional model according to the continuous shooting time, the first temperature value and the temperature change rate, the calculation formula for determining the second temperature value is: y = ax + b; Among them, y represents the second temperature value, x represents the continuous shooting time, a represents the temperature change rate, and b represents the first temperature value.

3. A gun barrel overheat warning system, characterized in that: Used to implement the gun barrel overheat reminder method as described in any one of claims 1-2, the system comprises: A first acquisition module is used to acquire a VR real-scene model of a training site, wherein the VR real-scene model of the training site at least includes a three-dimensional model of a training site entity; A second acquisition module is used to acquire a three-dimensional solid model of a gun barrel in the three-dimensional solid model of the training ground, wherein the three-dimensional solid model of the gun barrel at least includes gun barrel material data; A first judgment module is used to obtain a first temperature value of the current three-dimensional model of the gun barrel entity and judge whether the current three-dimensional model of the gun barrel entity is in a shooting state; A second judgment module is used to judge whether the shooting state is in a continuous shooting state when it is judged that the three-dimensional model of the gun barrel entity is in a shooting state; A third acquisition module is used for acquiring the continuous shooting time of the shooting state in the continuous shooting state when it is determined that the shooting state is in the continuous shooting state, and determining the temperature change rate of the corresponding gun barrel entity model according to the gun barrel material data; A second temperature value calculation module, used for determining a second temperature value of the three-dimensional model of the barrel entity according to the continuous shooting time, the first temperature value and the temperature change rate; A third judgment module, used to judge whether the second temperature value is greater than or equal to a preset temperature value; The warning module is used to issue a prompt message when it is determined that the second temperature value is greater than or equal to a preset temperature value, wherein the prompt message is used to warn the trainee that the gun barrel is overheated.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the gun barrel overheat reminder method as described in any one of claims 1 to 2 is implemented.

5. A gun barrel overheating reminder device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the gun barrel overheating reminder method as claimed in any one of claims 1 to 2 is implemented.

Citation Information

Patent Citations

  • Virtual object control method and device, equipment and storage medium

    CN111330274A

  • Barrel change simulation method of controller in the fire simulation apparatus using LASER

    KR1020120000335A