CN114519276A - Method and device for editing formation of combat entities - Google Patents

Method and device for editing formation of combat entities Download PDF

Info

Publication number
CN114519276A
CN114519276A CN202210162377.1A CN202210162377A CN114519276A CN 114519276 A CN114519276 A CN 114519276A CN 202210162377 A CN202210162377 A CN 202210162377A CN 114519276 A CN114519276 A CN 114519276A
Authority
CN
China
Prior art keywords
formation
information
entity
combat
editing
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.)
Pending
Application number
CN202210162377.1A
Other languages
Chinese (zh)
Inventor
杨乘风
黄燕
闫飞
刘若青
刘涛
张艳丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING HUARU TECHNOLOGY CO LTD
Original Assignee
BEIJING HUARU TECHNOLOGY CO LTD
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by BEIJING HUARU TECHNOLOGY CO LTD filed Critical BEIJING HUARU TECHNOLOGY CO LTD
Priority to CN202210162377.1A priority Critical patent/CN114519276A/en
Publication of CN114519276A publication Critical patent/CN114519276A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for editing formation of combat entities, wherein the method comprises the following steps: acquiring battlefield situation data information; the battlefield situation data information comprises a plurality of pieces of basic information of combat entities and a plurality of pieces of entity formation information; classifying the battlefield situation data information to obtain a formation information set; the formation information set comprises a plurality of formation information; the formation information comprises basic information of a plurality of combat entities; editing the formation information set to obtain a combat entity formation set; the combat entity formation set comprises a plurality of combat entity formations; the formation of the combat entities represents the formation relationship between the combat entities. Therefore, the method is beneficial to more auspicious and accurate editing of formation relations, improves the accuracy of simulation, and further improves the simulation efficiency of combat entities.

Description

Method and device for editing formation of combat entities
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for editing a formation of combat entities.
Background
In the using process of the combat simulation system, a plurality of combat entities are often required to be operated simultaneously, or a plurality of entities are required to keep a certain formation for operation, namely, the entities are used as a formation for simulation activities. Most of the existing simulation systems do not consider description of entity formation relations, some systems consider entity formation relation description modes, but cannot adjust the number of entities in formation, cannot set values such as distances and angles among the entities, and cannot accurately define required entity formation by users. Therefore, it is important to provide a method and a device for editing formation of combat entity so as to edit the formation relationship more carefully and accurately, improve the accuracy of simulation, and further improve the simulation efficiency of combat entity.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a device for editing a formation of combat entities, which can obtain the formation of combat entities representing the formation relationship among the combat entities by performing comprehensive processing such as classification processing, editing processing and the like on battlefield situation data information, are favorable for editing the formation relationship more intensely and accurately, improve the accuracy of simulation and further improve the simulation efficiency of the combat entities.
In order to solve the technical problem, a first aspect of the embodiment of the present invention discloses a method for editing a formation of a combat entity, where the method includes:
acquiring battlefield situation data information; the battlefield situation data information comprises a plurality of pieces of basic information of combat entities and a plurality of pieces of entity formation information;
classifying the battlefield situation data information to obtain a formation information set; the formation information set comprises a plurality of formation information; the formation information comprises a plurality of basic information of the combat entities;
editing the formation information set to obtain a combat entity formation set; the combat entity formation set comprises a plurality of combat entity formations; the formation of the combat entities represents the formation relationship between the combat entities.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the classifying the battlefield situation data information to obtain a formation information set includes:
according to the entity formation information, carrying out formation classification processing on the basic information of the combat entity to obtain a standby formation information set; the standby formation information set comprises a plurality of standby formation information;
and analyzing and processing the standby formation information set to obtain a formation information set.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the analyzing the inactive formation information set to obtain a formation information set includes:
for any standby formation information, judging whether target formation information matched with the standby formation information exists in a preset standby formation information set or not to obtain a first judgment result;
when the first judgment result is yes, determining formation form information corresponding to the standby formation form information according to the target formation form information and the standby formation form information;
and when the first judgment result is negative, newly establishing formation information, and updating the newly established formation information by using the standby formation information to obtain formation information corresponding to the standby formation information.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the editing the formation information set to obtain a combat entity formation set includes:
editing data information of the formation information set to obtain a formation information set to be used; the inactive entity formation set comprises a plurality of inactive entity formations; the standby entity formation comprises captain entity information;
and editing data information of the standby entity formation set to obtain a combat entity formation set.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the editing data information of the formation information set to obtain a ready-to-use formation information set includes:
for any one of the formation form information, screening out the basic information of the formation length from the basic information of all the combat entities corresponding to the formation form information, and deleting the basic information of the combat entities corresponding to the basic information of the formation length;
and editing the formation information by using the formation length basic information to obtain a standby entity formation corresponding to the formation information.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the editing data information on the inactive entity formation set to obtain a combat entity formation set includes:
For any one of the inactive entity formation, sequentially selecting the basic information of the combat entities in the inactive entity formation as the information of the entities to be edited;
performing identification matching processing on the entity information to be edited to obtain identification symbol information;
calculating by using the captain entity information corresponding to the to-be-used entity formation and the to-be-edited entity information to obtain coordinate information;
migrating the identifier information according to the coordinate information to obtain an editing entity formation;
judging whether all the basic information of the combat entities in the standby entity formation is edited or not to obtain a second judgment result;
when the second judgment result is negative, triggering and executing the sequence to select the basic information of the combat entities in the standby entity formation as the entity information to be edited;
and when the second judgment result is yes, determining that the editing entity formation is the combat entity formation corresponding to the inactive entity formation.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the editing processing is performed on the formation information set to obtain a combat entity formation set, the method further includes:
Detecting whether the formation modification information is received or not to obtain a detection result;
and when the detection result is yes, updating the battle entity formation set by using the formation modification information.
The second aspect of the embodiment of the invention discloses a device for editing a formation of combat entities, which comprises:
the acquisition module is used for acquiring battlefield situation data information; the battlefield situation data information comprises a plurality of pieces of basic information of combat entities and a plurality of pieces of entity formation information;
the first processing module is used for classifying the battlefield situation data information to obtain a formation information set; the formation information set comprises a plurality of formation information; the formation information comprises a plurality of basic information of the combat entities;
the second processing module is used for editing the formation form information set to obtain a combat entity formation set; the combat entity formation set comprises a plurality of combat entity formations; the formation of the combat entities represents the formation relationship between the combat entities.
As one such optional implementation manner, in the second aspect of the embodiment of the present invention, the first processing module includes a first processing sub-module and a second processing sub-module, wherein:
The first processing submodule is used for carrying out formation classification processing on the basic information of the combat entity according to the entity formation information to obtain a standby formation information set; the standby formation information set comprises a plurality of standby formation information;
and the second processing submodule is used for analyzing and processing the standby formation information set to obtain a formation information set.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the second processing sub-module performs analysis processing on the to-be-used formation information set, and a specific manner of obtaining the formation information set is as follows:
for any standby formation information, judging whether target formation information matched with the standby formation information exists in a preset standby formation information set or not to obtain a first judgment result;
when the first judgment result is yes, determining formation information corresponding to the standby formation information according to the target formation information and the standby formation information;
and when the first judgment result is negative, newly establishing formation information, and updating the newly established formation information by using the standby formation information to obtain formation information corresponding to the standby formation information.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the second processing module edits the formation information set, and a specific manner of obtaining the formation set of the combat entity is as follows:
editing data information of the formation information set to obtain a formation information set to be used; the inactive entity formation set comprises a plurality of inactive entity formations; the standby entity formation comprises formation entity information;
and editing data information of the to-be-used entity formation set to obtain a combat entity formation set.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the specific manner of editing the data information of the formation queue information set by the second processing module to obtain the formation queue information set to be used is as follows:
for any one of the formation form information, screening out the basic information of the formation length from the basic information of all the combat entities corresponding to the formation form information, and deleting the basic information of the combat entities corresponding to the basic information of the formation length;
and editing the formation information by using the formation length basic information to obtain a standby entity formation corresponding to the formation information.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the second processing module edits the data information of the inactive entity formation set to obtain a combat entity formation set, and the editing process includes:
for any one of the inactive entity formation, sequentially selecting the basic information of the combat entities in the inactive entity formation as the information of the entities to be edited;
performing identification matching processing on the entity information to be edited to obtain identification symbol information;
calculating by using the captain entity information corresponding to the to-be-used entity formation and the to-be-edited entity information to obtain coordinate information;
migrating the identifier information according to the coordinate information to obtain an editing entity formation;
judging whether all the basic information of the combat entities in the standby entity formation is edited or not to obtain a second judgment result;
when the second judgment result is negative, triggering and executing the sequence to select the basic information of the combat entities in the standby entity formation as the entity information to be edited;
and when the second judgment result is yes, determining that the editing entity formation is the combat entity formation corresponding to the standby entity formation.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, after the second processing module edits the formation information set to obtain a formation set of a combat entity, the apparatus further includes:
the detection module is used for detecting whether the formation modification information is received or not to obtain a detection result;
and the updating module is used for updating the formation set of the combat entities by utilizing the formation modification information when the detection result is yes.
The third aspect of the invention discloses another fighting entity formation editing device, which comprises:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program codes stored in the memory to execute part or all of the steps of the combat entity formation editing method disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the present invention discloses a computer storage medium, where the computer storage medium stores computer instructions, and the computer instructions, when called, are used to perform some or all of the steps in the method for editing a formation of a combat entity disclosed in the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, battlefield situation data information is obtained; the battlefield situation data information comprises a plurality of pieces of basic information of combat entities and a plurality of pieces of entity formation information; classifying the battlefield situation data information to obtain a formation information set; the formation information set comprises a plurality of formation information; the formation information comprises basic information of a plurality of combat entities; editing the formation information set to obtain a combat entity formation set; the combat entity formation set comprises a plurality of combat entity formations; the formation of the combat entities represents the formation relationship between the combat entities. Therefore, the battle entity formation representing the formation relationship among the battle entities can be obtained by carrying out comprehensive processing such as classification processing, editing processing and the like on the battle field situation data information, the formation relationship can be edited more delicately and accurately, the accuracy of simulation is improved, and the simulation efficiency of the battle entities is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for editing a formation of a combat entity according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another method for editing a formation of a combat entity according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an editing apparatus for formation of a combat entity according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another combat entity formation editing apparatus disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another apparatus for editing formation of combat entities according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or apparatus that comprises a list of steps or elements is not limited to those listed but may alternatively include other steps or elements not listed or inherent to such process, method, product, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The invention discloses a method and a device for editing formation of combat entities, which can obtain formation of the combat entities representing formation relations among the combat entities by carrying out comprehensive processing such as classification processing, editing processing and the like on battlefield situation data information, are favorable for more auspiciously and accurately editing the formation relations, improve the accuracy of simulation and further improve the simulation efficiency of the combat entities. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for editing a formation of a combat entity according to an embodiment of the present invention. The method for editing formation of combat entities depicted in fig. 1 is applied to a combat simulation system, such as a local server or a cloud server for editing management of formation of combat entities, and the embodiment of the present invention is not limited. As shown in fig. 1, the method for editing formation of a combat entity may include the following operations:
101. And acquiring battlefield situation data information.
In the embodiment of the invention, the battlefield situation data information comprises a plurality of pieces of basic information of combat entities and a plurality of pieces of entity formation information.
102. And classifying the battlefield situation data information to obtain a formation information set.
In the embodiment of the present invention, the formation queue information set includes a plurality of formation queue information.
In the embodiment of the invention, the formation information comprises basic information of a plurality of combat entities.
103. And editing the formation information set to obtain a combat entity formation set.
In an embodiment of the present invention, the set of combat entity formations includes a plurality of combat entity formations.
In the embodiment of the invention, the formation of the combat entities represents the formation relationship among the combat entities.
Optionally, the basic information of the combat entity includes an entity type, and/or a horizontal distance, and/or a vertical distance, and/or a right wing angle, and/or a formation name, and/or an entity type, which is not limited in the embodiment of the present invention.
Optionally, the entity formation information includes a formation name and/or a formation type, which is not limited in the embodiment of the present invention.
Optionally, each of the basic information of the combat entities corresponds to one entity formation information.
Optionally, the entity type includes a captain type and/or a team member type, which is not limited in the embodiment of the present invention.
Therefore, the method for editing the formation of the combat entities can obtain the formation of the combat entities representing the formation relationship among the combat entities by carrying out comprehensive processing such as classification processing, editing processing and the like on the battlefield situation data information, is favorable for editing the formation relationship more intensely and accurately, improves the accuracy of simulation, and further improves the simulation efficiency of the combat entities.
In an optional embodiment, the classifying the battlefield situation data information in the step 102 to obtain a formation information set includes:
according to the entity formation information, carrying out formation classification processing on basic information of the combat entity to obtain a standby formation information set; the standby formation information set comprises a plurality of standby formation information;
and analyzing and processing the to-be-used formation information set to obtain a formation information set.
Optionally, the above-mentioned classification processing of the formation of the basic information of the combat entities is to classify all the basic information of the combat entities with matched formation names into one piece of information of a standby formation.
Therefore, the method for editing the combat entity formation described by the embodiment of the invention can obtain the formation information by carrying out formation classification processing and analysis processing on the entity formation information, is favorable for editing the formation relationship more detailedly and accurately, improves the accuracy of simulation, and further improves the simulation efficiency of the combat entity.
In another optional embodiment, the analyzing the inactive formation information set to obtain a formation information set includes:
for any standby formation information, judging whether target formation information matched with the standby formation information exists in a preset standby formation information set or not to obtain a first judgment result;
when the first judgment result is yes, determining formation information corresponding to the standby formation information according to the target formation information and the standby formation information;
and when the first judgment result is negative, newly establishing a formation information, and updating the newly established formation information by using the standby formation information to obtain the formation information corresponding to the standby formation information.
In this optional embodiment, as an optional implementation manner, the specific manner of determining whether there is target formation information matching the standby formation information in the preset candidate formation information set is as follows:
For any alternative formation information, judging whether the formation name corresponding to the alternative formation information is matched with the formation name corresponding to the standby formation information or not to obtain a first matching judgment result;
when the first matching judgment result is negative, determining that the first judgment result is negative;
when the first matching judgment result is yes, judging whether the queue length name corresponding to the alternative queue form information is matched with the queue length name corresponding to the standby queue form information or not to obtain a second matching judgment result;
when the second matching judgment result is negative, determining that the first judgment result is negative;
and when the second matching judgment result is yes, determining that the first judgment result is yes.
Therefore, the formation editing method for the combat entity described by the embodiment of the invention can obtain formation information through matching screening and analysis, judgment and processing of the target formation information, is favorable for more auspicious and accurate editing of formation relationship, improves the accuracy of simulation and further improves the simulation efficiency of the combat entity.
In another optional embodiment, the editing the formation information set to obtain a formation set of the combat entity includes:
Editing data information of the formation information set to obtain a formation information set to be used; the inactive entity formation set comprises a plurality of inactive entity formations; the standby entity formation comprises the captain entity information;
and editing data information of the entity formation set to be used to obtain a combat entity formation set.
Optionally, the captain entity information includes a captain icon, and/or a captain name, and/or captain coordinate information, which is not limited in the embodiment of the present invention.
Therefore, the method for editing the formation of the combat entity can obtain the formation of the combat entity by editing the data information of the formation form information, is more favorable for editing the formation relation more intensely and accurately, improves the accuracy of simulation, and further improves the simulation efficiency of the combat entity.
In another optional embodiment, the editing the data information of the formation queue information set to obtain a ready-to-use formation queue information set includes:
for any formation form information, screening out basic information of a formation length from basic information of all combat entities corresponding to the formation form information, and deleting the basic information of the combat entities corresponding to the basic information of the formation length;
And editing the formation information by using the base formation information of the formation leader to obtain a standby entity formation corresponding to the formation information.
In this optional embodiment, as an optional implementation, the specific way of editing the formation queue shape information by using the queue length basic information to obtain the to-be-used entity formation corresponding to the formation queue shape information is as follows:
screening out a queue length icon from a preset icon set according to the entity type corresponding to the queue length basic information, and adding the queue length icon to the formation information;
and correcting the queue length icon according to the queue length name corresponding to the queue length basic information to obtain a standby entity formation corresponding to the formation information.
Therefore, the method for editing the formation of the combat entities, which is described by the embodiment of the invention, can obtain the formation of the entities to be used through screening and editing the basic information of the captain, is more favorable for editing the formation relationship more intensely and accurately, improves the accuracy of simulation, and further improves the simulation efficiency of the combat entities.
In an optional embodiment, the editing data information of the inactive entity formation set to obtain a combat entity formation set includes:
For any inactive entity formation, sequentially selecting basic information of the combat entities in the inactive entity formation as the information of the entities to be edited;
carrying out identification matching processing on entity information to be edited to obtain identification symbol information;
calculating by using the captain entity information and the entity information to be edited corresponding to the entity formation to be used to obtain coordinate information;
migrating the identifier information according to the coordinate information to obtain an editing entity formation;
judging whether basic information of all combat entities in the to-be-used entity formation is edited or not to obtain a second judgment result;
when the second judgment result is negative, triggering an execution sequence to select the basic information of the combat entities in the to-be-used entity formation as the information of the entities to be edited;
and when the second judgment result is yes, determining that the editing entity formation forms a corresponding combat entity formation for the standby entity formation.
Optionally, the coordinate information includes a player longitude value and/or a player latitude value, which is not limited in the embodiment of the present invention.
Optionally, the team length coordinate information includes a team length longitude value and/or a team length latitude value, which is not limited in the embodiment of the present invention.
Optionally, the identifier information includes a team member icon and/or a graphic name, which is not limited in the embodiment of the present invention.
In this optional embodiment, as an optional implementation manner, the specific manner of performing identifier matching processing on the entity information to be edited to obtain identifier information is as follows:
screening team member icons from a preset icon set according to entity types corresponding to the entity information to be edited, and adding the team member icons to the entity information to be edited;
and updating the team member icon by using the team member name corresponding to the entity information to be edited to obtain the graphic name.
Optionally, the graphic name includes a team member name and/or a graphic label, which is not limited in the embodiment of the present invention.
Optionally, the graphical labels represent the numbering order of the player icons in the formation of the combat entities.
In this optional embodiment, as another optional implementation, the specific manner of obtaining the coordinate information by performing the calculation processing by using the captain entity information and the entity information to be edited corresponding to the inactive entity formation is as follows:
calculating the length longitude value corresponding to the entity formation to be used and the horizontal distance between the team member and the right wing included angle in the entity information to be edited to determine the longitude value of the team member;
and calculating the length and latitude value corresponding to the to-be-used entity formation and the vertical distance in the to-be-edited entity information to determine the member latitude value.
Therefore, the method for editing the formation of the combat entities can obtain the formation of the combat entities through the sequence matching processing, the calculation processing and the migration processing of the basic information of the combat entities, is more favorable for editing the formation relationship more intensely and accurately, improves the accuracy of simulation, and further improves the simulation efficiency of the combat entities.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of another method for editing a formation of a combat entity according to an embodiment of the present invention. The method for editing formation of combat entities depicted in fig. 2 is applied to a combat simulation system, such as a local server or a cloud server for editing management of formation of combat entities, and the embodiment of the present invention is not limited thereto. As shown in fig. 2, the method for editing formation of a combat entity may include the following operations:
201. and acquiring battlefield situation data information.
202. And classifying the battlefield situation data information to obtain a formation information set.
203. And editing the formation information set to obtain a combat entity formation set.
204. And detecting whether the formation modification information is received or not to obtain a detection result.
205. And when the detection result is yes, updating the formation set of the combat entities by using the formation modification information.
In the embodiment of the present invention, for specific technical details and technical noun explanations of step 201 to step 203, reference may be made to the detailed description of step 101 to step 103 in the first embodiment, and details are not repeated in the embodiment of the present invention.
Optionally, the formation modification information includes modifying an entity type, and/or modifying a horizontal distance, and/or modifying a vertical distance, and/or modifying a right wing angle, and/or modifying a formation name, and/or modifying an entity type, which is not limited in the embodiment of the present invention.
In this optional embodiment, as an optional implementation manner, the specific manner of updating the formation set of the combat entities by using the formation modification information is as follows:
screening out the combat entity formation to be modified from the combat entity formation set by utilizing the modified formation name of the formation modification information;
screening different parameters of the formation modification information and the formation of the combat entity to be modified to obtain parameter information to be modified;
and modifying and updating the formation of the combat entity to be modified by utilizing the parameter information to be modified.
Therefore, the method for editing the formation of the combat entities can obtain the formation of the combat entities representing the formation relationship among the combat entities by carrying out comprehensive processing such as classification processing, editing processing, detection updating processing and the like on the battlefield situation data information, is favorable for editing the formation relationship more intensely and accurately, improves the accuracy of simulation, and further improves the simulation efficiency of the combat entities.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of an editing apparatus for formation of combat entities according to an embodiment of the present invention. The apparatus described in fig. 3 may be applied to a combat simulation system, such as a local server or a cloud server for formation editing management of combat entities, which is not limited in the embodiment of the present invention. As shown in fig. 3, the apparatus may include:
an obtaining module 301, configured to obtain battlefield situation data information; the battlefield situation data information comprises a plurality of pieces of basic information of combat entities and a plurality of pieces of formation information of entities;
the first processing module 302 is configured to classify battlefield situation data information to obtain a formation information set; the formation information set comprises a plurality of formation information; the formation information comprises basic information of a plurality of combat entities;
the second processing module 303 is configured to edit the formation information set to obtain a combat entity formation set; the combat entity formation set comprises a plurality of combat entity formations; the formation of the combat entities represents the formation relationship between the combat entities.
It can be seen that, by implementing the fighting entity formation editing device described in fig. 3, the fighting entity formation representing the formation relationship between the fighting entities can be obtained by performing comprehensive processing such as classification processing and editing processing on the battlefield situation data information, which is beneficial to more detailed and precise editing of the formation relationship, improves the accuracy of simulation, and further improves the simulation efficiency of the fighting entities.
In another alternative embodiment, as shown in fig. 4, the first processing module 302 includes a first processing submodule 3021 and a second processing submodule 3022, wherein:
the first processing submodule 3021 is configured to perform queue classification processing on the basic information of the combat entity according to the entity formation information, so as to obtain a standby queue information set; the standby formation information set comprises a plurality of standby formation information;
the second processing submodule 3022 is configured to analyze the standby formation information set to obtain a formation information set.
Therefore, by implementing the fighting entity formation editing device described in fig. 4, formation information can be obtained by performing formation classification processing and analysis processing on the entity formation information, which is beneficial to more detailed and accurate editing of formation relationships, improves the accuracy of simulation, and further improves the fighting entity simulation efficiency.
In still another alternative embodiment, as shown in fig. 4, the second processing submodule 3022 performs analysis processing on the inactive formation information set, and the specific manner of obtaining the formation information set is as follows:
for any standby formation information, judging whether target formation information matched with the standby formation information exists in a preset standby formation information set or not to obtain a first judgment result;
When the first judgment result is yes, determining formation information corresponding to the standby formation information according to the target formation information and the standby formation information;
and when the first judgment result is negative, newly establishing a formation information, and updating the newly established formation information by using the standby formation information to obtain the formation information corresponding to the standby formation information.
Therefore, by implementing the fighting entity formation editing device described in fig. 4, formation information can be obtained through matching screening and analysis, judgment and processing of target formation information, which is beneficial to more detailed and accurate editing of formation relationships, improves the accuracy of simulation, and further improves the simulation efficiency of fighting entities.
In yet another alternative embodiment, as shown in fig. 4, the second processing module 303 edits the formation information set to obtain the formation set of the combat entity in a specific manner:
editing data information of the formation information set to obtain a formation information set to be used; the inactive entity formation set comprises a plurality of inactive entity formations; the standby entity formation comprises the information of the captain entity;
and editing data information of the entity formation set to be used to obtain a combat entity formation set.
Therefore, by implementing the combat entity formation editing device described in fig. 4, the combat entity formation can be obtained by editing the data information of the formation information, which is more beneficial to more detailed and accurate editing of the formation relationship, and the accuracy of simulation is improved, thereby improving the simulation efficiency of the combat entity.
In yet another alternative embodiment, as shown in fig. 4, the second processing module 303 edits the data information of the formation information set, and the specific manner of obtaining the formation information set to be used is as follows:
for any formation information, screening out the basic information of the formation length from the basic information of all the combat entities corresponding to the formation information, and deleting the basic information of the combat entities corresponding to the basic information of the formation length;
and editing the formation information by using the base formation information of the formation leader to obtain a standby entity formation corresponding to the formation information.
Therefore, by implementing the fighting entity formation editing device described in fig. 4, the entity formation to be used can be obtained by screening and editing the basic information of the captain, which is more beneficial to editing the formation relationship more intensely and accurately, improves the accuracy of simulation, and further improves the simulation efficiency of the fighting entity.
In another alternative embodiment, as shown in fig. 4, the second processing module 303 edits the data information of the to-be-used entity formation set to obtain a combat entity formation set, including:
for any inactive entity formation, sequentially selecting basic information of the combat entities in the inactive entity formation as the information of the entities to be edited;
carrying out identification matching processing on entity information to be edited to obtain identification symbol information;
calculating by using the queue length entity information corresponding to the to-be-used entity formation and the to-be-edited entity information to obtain coordinate information;
migrating the identifier information according to the coordinate information to obtain an editing entity formation;
judging whether basic information of all combat entities in the to-be-used entity formation is edited or not to obtain a second judgment result;
when the second judgment result is negative, triggering an execution sequence to select the basic information of the combat entities in the to-be-used entity formation as the information of the entities to be edited;
and when the second judgment result is yes, determining that the editing entity formation forms a corresponding combat entity formation for the standby entity formation.
Therefore, by implementing the combat entity formation editing device described in fig. 4, the combat entity formation can be obtained through the sequence matching processing, the calculation processing and the migration processing of the basic information of the combat entity, which is more beneficial to more auspiciously and accurately editing the formation relationship, improves the accuracy of simulation, and further improves the simulation efficiency of the combat entity.
In yet another alternative embodiment, as shown in fig. 4, after the second processing module 303 performs editing processing on the formation information set to obtain a formation set of combat entities, the apparatus further includes:
a detection module 304, configured to detect whether the formation modification information is received, to obtain a detection result;
and the updating module 305 is used for updating the formation set of the combat entities by using the formation modification information when the detection result is yes.
It can be seen that, by implementing the combat entity formation editing device described in fig. 4, the combat entity formation representing the formation relationship among the combat entities can be obtained by performing comprehensive processing such as classification processing, editing processing, detection updating processing and the like on the battlefield situation data information, which is beneficial to more auspiciously and accurately editing the formation relationship, improves the accuracy of simulation, and further improves the simulation efficiency of the combat entities.
Example four
Referring to fig. 5, fig. 5 is a schematic structural diagram of another combat entity formation editing apparatus according to an embodiment of the present invention. The apparatus described in fig. 5 can be applied to a combat simulation system, such as a local server or a cloud server for editing and managing formation of combat entities, and the embodiment of the present invention is not limited thereto. As shown in fig. 5, the apparatus may include:
A memory 401 storing executable program code;
a processor 402 coupled to a memory 401;
the processor 402 calls executable program code stored in the memory 401 for performing the steps in the combat entity formation editing method described in embodiment one or embodiment two.
EXAMPLE five
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps in the combat entity formation editing method described in the first embodiment or the second embodiment.
EXAMPLE six
An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the steps in the combat entity formation editing method described in the first embodiment or the second embodiment.
The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, where the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM), or other disk memories, CD-ROMs, or other magnetic disks, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
Finally, it should be noted that: the method and apparatus for editing formation of combat entity disclosed in the embodiments of the present invention are only the preferred embodiments of the present invention, and are only used for illustrating the technical solutions of the present invention, not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for editing a formation of a combat entity, the method comprising:
acquiring battlefield situation data information; the battlefield situation data information comprises a plurality of pieces of basic information of combat entities and a plurality of pieces of formation information of entities;
classifying the battlefield situation data information to obtain a formation information set; the formation information set comprises a plurality of formation information; the formation information comprises a plurality of basic information of the combat entities;
Editing the formation information set to obtain a combat entity formation set; the combat entity formation set comprises a plurality of combat entity formations; the formation of the combat entities represents the formation relationship between the combat entities.
2. The method as claimed in claim 1, wherein the step of classifying the battlefield situation data information to obtain a formation information set comprises:
according to the entity formation information, carrying out formation classification processing on the basic information of the combat entity to obtain a standby formation information set; the standby formation information set comprises a plurality of standby formation information;
and analyzing and processing the to-be-used formation information set to obtain a formation information set.
3. The method as claimed in claim 2, wherein the analyzing the set of formation information to be used to obtain the set of formation information comprises:
for any standby formation information, judging whether target formation information matched with the standby formation information exists in a preset standby formation information set or not to obtain a first judgment result;
When the first judgment result is yes, determining formation information corresponding to the standby formation information according to the target formation information and the standby formation information;
and when the first judgment result is negative, newly establishing formation information, and updating the newly established formation information by using the standby formation information to obtain formation information corresponding to the standby formation information.
4. The method for editing formation of combat entities according to claim 1, wherein said editing said formation information set to obtain a formation set of combat entities comprises:
editing data information of the formation information set to obtain a formation information set to be used; the inactive entity formation set comprises a plurality of inactive entity formations; the standby entity formation comprises formation entity information;
and editing data information of the to-be-used entity formation set to obtain a combat entity formation set.
5. The method for editing formation of combat entities according to claim 4, wherein said editing data information of said formation information set to obtain a ready-to-use formation information set comprises:
For any one of the formation form information, screening out the basic information of the formation length from the basic information of all the combat entities corresponding to the formation form information, and deleting the basic information of the combat entities corresponding to the basic information of the formation length;
and editing the formation information by using the formation length basic information to obtain a standby entity formation corresponding to the formation information.
6. The method as claimed in claim 4, wherein said editing data information of the set of inactive entity formations to obtain a set of combat entity formations comprises:
for any one of the inactive entity formations, sequentially selecting the basic information of the combat entities in the inactive entity formation as the information of the entities to be edited;
performing identification matching processing on the entity information to be edited to obtain identification symbol information;
calculating by using the captain entity information corresponding to the to-be-used entity formation and the to-be-edited entity information to obtain coordinate information;
migrating the identifier information according to the coordinate information to obtain an editing entity formation;
judging whether all the basic information of the combat entities in the to-be-used entity formation is edited or not to obtain a second judgment result;
When the second judgment result is negative, triggering and executing the sequence to select the basic information of the combat entities in the standby entity formation as the entity information to be edited;
and when the second judgment result is yes, determining that the editing entity formation is the combat entity formation corresponding to the inactive entity formation.
7. The method for editing a formation of a combat entity according to claim 1, wherein after the editing of the set of formation information to obtain a set of formation of a combat entity, the method further comprises:
detecting whether the formation modification information is received or not to obtain a detection result;
and when the detection result is yes, updating the battle entity formation set by using the formation modification information.
8. A combat entity formation editing apparatus, the apparatus comprising:
the acquisition module is used for acquiring battlefield situation data information; the battlefield situation data information comprises a plurality of pieces of basic information of combat entities and a plurality of pieces of formation information of entities;
the first processing module is used for classifying the battlefield situation data information to obtain a formation information set; the formation information set comprises a plurality of formation information; the formation information comprises a plurality of basic information of the combat entities;
The second processing module is used for editing the formation form information set to obtain a combat entity formation set; the combat entity formation set comprises a plurality of combat entity formations; the formation of the combat entities represents the formation relationship between the combat entities.
9. A combat entity formation editing apparatus, the apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the combat entity formation editing method of any one of claims 1-7.
10. A computer-storable medium that stores computer instructions that, when invoked, perform the combat entity formation editing method of any one of claims 1-7.
CN202210162377.1A 2022-02-22 2022-02-22 Method and device for editing formation of combat entities Pending CN114519276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210162377.1A CN114519276A (en) 2022-02-22 2022-02-22 Method and device for editing formation of combat entities

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210162377.1A CN114519276A (en) 2022-02-22 2022-02-22 Method and device for editing formation of combat entities

Publications (1)

Publication Number Publication Date
CN114519276A true CN114519276A (en) 2022-05-20

Family

ID=81598237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210162377.1A Pending CN114519276A (en) 2022-02-22 2022-02-22 Method and device for editing formation of combat entities

Country Status (1)

Country Link
CN (1) CN114519276A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115438491A (en) * 2022-09-06 2022-12-06 北京华如科技股份有限公司 Layered combat rule modeling method and device capable of automatically backtracking

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871636A (en) * 2016-05-27 2016-08-17 合肥工业大学 Reconstruction method and system for unmanned-aerial-vehicle formation communication topology based on minimum arborescence
CN106909171A (en) * 2017-05-08 2017-06-30 合肥工业大学 Nobody has man-machine formation optimal communication Topology g eneration method and device
CN107065922A (en) * 2017-02-14 2017-08-18 中国科学院自动化研究所 Multiple no-manned plane formation formation method based on formation storehouse
CN108257217A (en) * 2017-12-22 2018-07-06 华北计算技术研究所(中国电子科技集团公司第十五研究所) A kind of view-based access control model perceives the operation formation method for visualizing of topological relation model
CN111880571A (en) * 2020-08-19 2020-11-03 武汉中海庭数据技术有限公司 Rigid formation switching method and device for unmanned aerial vehicle
CN112742028A (en) * 2021-01-22 2021-05-04 中国人民解放军国防科技大学 Formation decision method, system, medium and equipment for fighting game

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871636A (en) * 2016-05-27 2016-08-17 合肥工业大学 Reconstruction method and system for unmanned-aerial-vehicle formation communication topology based on minimum arborescence
CN107065922A (en) * 2017-02-14 2017-08-18 中国科学院自动化研究所 Multiple no-manned plane formation formation method based on formation storehouse
CN106909171A (en) * 2017-05-08 2017-06-30 合肥工业大学 Nobody has man-machine formation optimal communication Topology g eneration method and device
CN108257217A (en) * 2017-12-22 2018-07-06 华北计算技术研究所(中国电子科技集团公司第十五研究所) A kind of view-based access control model perceives the operation formation method for visualizing of topological relation model
CN111880571A (en) * 2020-08-19 2020-11-03 武汉中海庭数据技术有限公司 Rigid formation switching method and device for unmanned aerial vehicle
CN112742028A (en) * 2021-01-22 2021-05-04 中国人民解放军国防科技大学 Formation decision method, system, medium and equipment for fighting game

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115438491A (en) * 2022-09-06 2022-12-06 北京华如科技股份有限公司 Layered combat rule modeling method and device capable of automatically backtracking
CN115438491B (en) * 2022-09-06 2024-01-16 北京华如科技股份有限公司 Hierarchical combat rule modeling method and device capable of automatically backtracking

Similar Documents

Publication Publication Date Title
CN111563103B (en) Method and system for detecting data blood relationship
CN114648302B (en) Data processing method and device for collaborative scenario editing
CN110704062A (en) Dependency management method, data acquisition method, device and equipment
CN112215806A (en) Output control method, device and system for detection result of fetus ultrasonic image
CN114428677B (en) Task processing method, processing device, electronic equipment and storage medium
CN114519276A (en) Method and device for editing formation of combat entities
CN114070760A (en) Network space asset mapping method and device, network space asset database and computer readable storage medium
CN117376228B (en) Network security testing tool determining method and device
CN117724980A (en) Method and device for testing software framework performance, electronic equipment and storage medium
CN111966600B (en) Webpage testing method, webpage testing device, computer equipment and computer readable storage medium
CN113138906A (en) Call chain data acquisition method, device, equipment and storage medium
CN116719736A (en) Test case generation method and device for testing software interface
CN115022201B (en) Data processing function test method, device, equipment and storage medium
CN117093556A (en) Log classification method, device, computer equipment and computer readable storage medium
CN115696337A (en) Mobile terminal safety monitoring analysis method and device
CN112000573B (en) Code quality monitoring method and device, computer equipment and medium
CN115525257A (en) Micro-service construction method and device based on SVG technology
CN114240928A (en) Board quality partition detection method, device and equipment and readable storage medium
CN114049686A (en) Signature recognition model training method and device and electronic equipment
CN111666471A (en) Information acquisition method and device, computer equipment and storage medium
CN111722977A (en) System inspection method and device and electronic equipment
CN117610505B (en) Data processing method and device based on standard model
CN115146604B (en) Method, device, equipment and storage medium for generating interface technical document
CN111860625B (en) Ancient wood building bucket arch automatic category identification method and system
CN112733516B (en) Method, device, equipment and storage medium for processing quick message

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