Dynamic intrusion strategy planning method in game environment and related equipment

By constructing a cognitive map of offensive and defense scenarios and reverse path planning in the physical protection system, the problem of low efficiency in offensive and defense scenario strategy planning in the existing technology is solved, and efficient intrusion strategy planning and threat assessment in a dynamic environment is realized. It is applicable to Simulation calculation of two-dimensional/three-dimensional environments.

CN119004462AInactive Publication Date: 2024-11-22XIDIAN UNIV HANGZHOU RES INST +1

Patent Information

Application Number
CN202411066002.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art has low efficiency in offensive and defensive scenario strategy planning in physical protection systems, making it difficult to adapt to a real-time dynamic change environment, especially in unknown environments, the time and space complexity of path re-planning is high, resulting in time-consuming and inefficient searches.

Method used

Using the dynamic intrusion strategy planning method in the game environment, by constructing a cognitive map of offensive and defense scenarios, the shortest path algorithm is used to reversely obtain the shortest time between the target point and each node, construct the intrusion path cost function, and use the intrusion path dynamic calculation method Conduct reverse search and optimal path planning, which are divided into static initial planning and dynamic re-planning stages to adapt to environmental changes.

Benefits of technology

Effectively handle emergencies in unknown environments, reduce repeated calculations of intrusion processes, improve the efficiency and adaptability of strategy planning, provide more accurate threat time assessment and efficient defense strategy adjustment, suitable for two-dimensional/three-dimensional environments Simulation calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004979368750000101
    Figure BDA0004979368750000101
  • Figure BDA0004979368750000111
    Figure BDA0004979368750000111
  • Figure HDA0004979368770000011
    Figure HDA0004979368770000011
Patent Text Reader

Abstract

The invention discloses a dynamic intrusion strategy planning method in a game environment and related equipment, and the method comprises the steps: obtaining the maximum threat time of intrusion based on a reverse calculation strategy through the construction of an attack and defense scene cognitive map, constructing an intrusion path cost function, and calculating the interception probability from a corresponding node to a target point; and finally, constructing an intrusion path dynamic calculation method, and performing reverse search of an optimal path from a target point to a starting point by using the intrusion path dynamic calculation method to complete planning of a dynamic intrusion strategy in a game environment. When an attack and defense environment emergency occurs, an existing strategy can be dynamically re-planned based on new environment information, repeated calculation in the whole intrusion process is reduced, and the method is suitable for analyzing the real-time strategy planning problem of an enemy under the emergency in a game environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of attack and defense scenario strategy planning, and in particular relates to a dynamic intrusion strategy planning method and related equipment in a game environment. Background Art

[0002] The physical protection system of critical infrastructure uses the "path optimization" method to determine potential vulnerable paths. The purpose is to analyze the optimal invasion strategy planned by the adversary from the attack starting point to the target point under certain constraints. The optimal strategy here includes constraints such as the shortest path, the lowest cost, and the shortest time. The current popular path optimization technology, when combined with the physical protection system effectiveness evaluation, more often uses fine-grained processing methods of large-scale maps. This method has high time and space complexity for re-path planning in unknown environments, resulting in time-consuming and inefficient searches. Common algorithms for path planning in two-dimensional space include heuristic algorithms such as the A* algorithm and natural body-simulating algorithms such as the ant colony algorithm. These methods all rely on pre-acquired environmental information.

[0003] Although the “path optimization” of the physical protection system based on the A* algorithm or the ant colony algorithm can find the relatively optimal strategy, it is difficult to adapt to the real-time dynamically changing attack and defense environment, resulting in low efficiency of path re-planning. Summary of the invention

[0004] The purpose of the present invention is to provide a dynamic intrusion strategy planning method and related equipment in a game environment to solve the technical problems in the prior art that the attack and defense scenario strategy planning of the physical protection system is inefficient and difficult to adapt to the real-time dynamically changing environment.

[0005] In order to achieve the above object, the present invention adopts the following technical scheme:

[0006] A method for dynamic invasion strategy planning in a game environment, characterized by comprising the following steps:

[0007] Build a cognitive map of attack and defense scenarios;

[0008] Based on the shortest path algorithm, the shortest time between the target point and each node is obtained in reverse as the maximum threat time of intrusion;

[0009] Construct an intrusion path cost function based on the maximum intrusion threat time;

[0010] According to the attack and defense scenario cognitive map and the intrusion path cost function, a dynamic calculation method for the intrusion path is constructed. The dynamic calculation method for the intrusion path is used to reversely search for the optimal path from the target point to the starting point to complete the planning of the dynamic intrusion strategy in the game environment; the planning of the dynamic intrusion strategy in the game environment includes a static initial planning stage and a dynamic re-planning stage.

[0011] Furthermore, the construction process of the attack and defense scenario cognitive map is: by integrating the detection device, the delay device, the target information, the intrusion information, and the response force information, the attack and defense cognitive map of the physical protection system is constructed.

[0012] Furthermore, the specific steps of reversely obtaining the shortest time between the target point and each node as the maximum intrusion threat time based on the shortest path algorithm are:

[0013] Initialization: Given a set S to record the optimal time set, the algorithm start time is 0, the time of other nodes is infinite, and all nodes are marked as unvisited calculations;

[0014] Select the node with the minimum delay time: select the node m with the minimum delay time from the nodes that have not been visited and mark it as visited;

[0015] Update calculation: For each adjacent node n of node m, if n has not been visited for calculation and the delay time from m to n is shorter than the delay time of the currently known calculation, update the delay time of n;

[0016] Repeatedly select the node with the smallest delay time among the unvisited computing nodes and update the delay time of the adjacent node until all nodes are visited;

[0017] When all nodes are visited and calculated, the delay time reverse deduction algorithm ends, and the set S records the shortest delay time of each node.

[0018] Furthermore, the intrusion path cost function formula is:

[0019] P(I) u =P(R|A u )×P(C u )×P(D u )+P(I) v ×[1-P(D u )]

[0020] Among them, the enemy’s intrusion direction is from node u to node v to the target point, P(I) u is the interception probability from node u to the target point, P(I) v is the interception probability from node v to the target point, P(R|A u ) is the minimum probability value of the responding personnel intercepting the enemy after the alarm communication from node u to the target point, P(C u ) is the communication probability of point u, P(D u ) is the detection probability of point u.

[0021] Furthermore, the specific steps of the static initial planning stage are:

[0022] Initialize the cognitive map, assign initial values to nodes based on environmental information, create an OPEN list and a CLOSED list. The OPEN list is used to store nodes to be inspected, and the CLOSED list stores inspected nodes;

[0023] Select a node with the lowest cost from the OPEN list as the current node, update the cost and record the minimum cost. Calculate all adjacent nodes of the current node. If the cost from the current node to an adjacent node is lower than the known lowest cost, update the cost of that adjacent node and add it to the OPEN list;

[0024] When all nodes are visited, the algorithm is completed. According to the minimum cost value of each node, obtain the optimal strategy sequence from the node to the target point.

[0025] Furthermore, the process of the dynamic replanning stage is as follows: For the affected nodes, recalculate the optimal strategy to reach the end point, and update the pointing of its parent node to reflect the latest optimal strategy. Adopt the updated cognitive map information and node information, execute local strategy planning, backtrack to the previous node, and start a new strategy search.

[0026] Furthermore, the affected nodes include actively affected adjacent nodes. For the actively affected nodes, calculate the new cost value, indicating that the resistance of the adversary passing through this node has changed. Compare the new cost value g of the current node with the minimum cost value k. If g < k, then the node belongs to the resistance node. Among the neighbors of the current node that are not the neighbors of the parent node, find another node whose sum of the cost value plus the transfer cost is less than the cost value of the resistance node, modify the parent node and reset the cost value. If g = k, then this point is not affected by resistance. According to the determination result of the cost value, update the pointing of its parent node. Adopt the updated cognitive map information and node information, execute local strategy planning, backtrack to the previous node, and start a new strategy search.

[0027] In a second aspect, the present invention provides a dynamic intrusion strategy planning system in a game environment, including a construction module, a calculation module, and a dynamic intrusion strategy planning module, where:

[0028] The construction module: is used to construct a cognitive map of the attack and defense scenario;

[0029] The calculation module: Based on the shortest path algorithm, inversely obtain the shortest time between the target point and each node as the maximum threat time of intrusion; construct an intrusion path cost function based on the maximum threat time of intrusion, and calculate the interception probability from this node to the target point;

[0030] Dynamic intrusion strategy planning module: used to construct a dynamic calculation method for the intrusion path based on the attack and defense scenario cognitive map and the intrusion path cost function, and use the dynamic calculation method for the intrusion path to reversely search for the optimal path from the target point to the starting point to complete the planning of the dynamic intrusion strategy under the game environment; the planning of the dynamic intrusion strategy under the game environment includes a static initial planning stage and a dynamic re-planning stage.

[0031] A terminal device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0032] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above method when executed by a processor.

[0033] Compared with the prior art, the present invention has the following beneficial technical effects:

[0034] The present invention provides a dynamic intrusion strategy planning method in a game environment. By constructing an attack and defense scenario cognitive map, the maximum threat time of invasion is obtained based on a reverse calculation strategy, an intrusion path cost function is constructed, and the interception probability from a corresponding node to a target point is calculated. Finally, an intrusion path dynamic calculation method is constructed. The intrusion path dynamic calculation method is used to reversely search for an optimal path from a target point to a starting point to complete the planning of a dynamic intrusion strategy in a game environment. The attack and defense scenario intrusion strategy generation process of the present invention can effectively handle part of the unknown environment. When an attack and defense environment emergency occurs, the existing strategy can be dynamically re-planned based on new environmental information, thereby reducing repeated calculations in the entire intrusion process. The method is suitable for analyzing the real-time strategy planning problem of an adversary under an emergency in a game environment.

[0035] Preferably, the construction of the attack and defense scenario cognitive map takes into account key parameters of the physical protection system such as detection devices, delay devices, target information, intrusion information, and response forces, ensuring that the calculation results are more realistic than the one-dimensional EASI method, and are efficiently adapted to simulation calculations in two-dimensional / three-dimensional environments, saving computing resources.

[0036] Preferably, the maximum threat time of intrusion is reversely solved based on the shortest path algorithm without rebuilding the algorithm or data structure, which can provide a more accurate threat time assessment than simple estimation or assumption. In addition, it can also handle dynamic changes in the network.

[0037] Preferably, the planning of dynamic intrusion strategies in a game environment is divided into a static initial planning stage and a dynamic re-planning stage. Through the organic combination of the static initial planning and dynamic re-planning stages, an efficient, flexible and iterative defense system can be constructed, which helps to more effectively deal with potential security threats in an uncertain and dynamically changing network environment.

[0038] Preferably, the dynamic re-planning stage adjusts and optimizes the defense strategy in real time based on the static initial planning according to the dynamic changes of the network environment and threat situation. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 The present invention is a flowchart of a method for dynamic intrusion strategy planning in a gaming environment according to an embodiment of the present invention.

[0040] Figure 2 It is the embodiment of cognitive map in real physical protection system.

[0041] Figure 3 Schematic diagram of the reverse deduction evaluation algorithm for the effectiveness of the physical protection system.

[0042] Figure 4 Dynamically generate algorithm flow chart for physical protection system intrusion strategy. DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0044] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0046] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0047] like Figure 1 As shown, a dynamic intrusion strategy planning method in a game environment includes the following steps:

[0048] Step 1: Build a cognitive map of attack and defense scenarios:

[0049] Specifically, cognitive maps are visual representations of the defense resources of the physical protection system of critical infrastructure. The cognitive map set G = (V, E), where V is a set of nodes and E is a set of edges. The set contains information fusion formulas. e(u,v) represents the directed edge relationship function from node u to v, c(u,v) represents the agent strategy selection probability function of edge e(u,v), and v start and v goal They represent the initial invasion position and the invasion target position respectively.

[0050] Step 2: Based on the shortest path algorithm, reversely obtain the shortest time between the target point and each node as the maximum threat time of intrusion:

[0051] Specifically, for defense equipment with delay capability, the present invention improves the shortest path algorithm to achieve conservative calculation of delay time. Using a reverse calculation strategy, the target point is set as the starting node and initially set to 0, and each child node is used as the end point of the calculation. By traversing from the "starting point" to all directly connected adjacent nodes, the time weight is updated to calculate the shortest time to each adjacent node. When all nodes have been processed, the algorithm ends and the "shortest" time from each node to the target point is saved.

[0052] Step 3: Construct the intrusion path cost function based on the maximum intrusion threat time:

[0053] The core of the cost function calculation is reverse calculation, that is, the protected target position is the starting point of the algorithm, and the invasion start position is the end of the algorithm. Assuming there is a directed edge [u,v], the enemy's invasion direction is from node u to node v to the target point. By calculating the interception probability from node v to the target point, the interception probability from node u to the target point is calculated, and the calculation formula is as follows:

[0054] P(I) u =P(R|A u )×P(C u )×P(D u )+P(I) v ×[1-P(D u )]

[0055] P(R|A u )=min[P(R|A u )]

[0056] In the formula, P(R|A u ) is related to the nodes included in the vulnerable path from node v to the target point, and node u. u ) is the minimum probability value of the responding personnel intercepting the adversary after the alarm communication from node u to the target point.

[0057] Step 4: construct a dynamic calculation method for the intrusion path based on the attack and defense scenario cognitive map and the intrusion path cost function, and use the dynamic calculation method for the intrusion path to reversely search for the optimal path from the target point to the starting point to complete the planning of the dynamic intrusion strategy under the game environment; the planning of the dynamic intrusion strategy under the game environment includes a static initial planning stage and a dynamic re-planning stage:

[0058] Specifically, the intrusion path dynamic calculation method starts from the target point and searches for the optimal path in reverse from the starting point. When the attack and defense scene environment changes, local path replanning is performed based on historical information. The path dynamic calculation of the present invention includes two parts, the initial path planning stage and the local replanning stage caused by environmental changes.

[0059] Static initial planning stage: Consider the existing environmental state and determine the optimal path from the intrusion starting point to the target point, that is, the optimal strategy. Initialize the cognitive map and assign initial values ​​to the nodes based on environmental information. Create an OPEN list and a CLOSED list. The OPEN list is used to store the nodes to be checked, and the CLOSED list stores the checked nodes. Select a node with the lowest cost from the OPEN list as the current node, update the cost and record the minimum cost. Calculate all adjacent nodes of the current node. If the cost from the current node to the adjacent node is lower than the known minimum cost, update the cost of the adjacent node and add it to the OPEN list. When all nodes are visited, the algorithm is completed. According to the minimum cost value of each node, the optimal strategy sequence from the node to the target point is obtained.

[0060] Dynamic replanning phase: Identify nodes affected by the environment, including actively affected adjacent nodes. For actively affected nodes, set a new "cost" to indicate that the adversary's resistance to passing through the node has changed. For the affected nodes, recalculate the optimal strategy to reach the end point and update its parent node to reflect the latest optimal strategy. Use the updated cognitive map information and node information to perform local strategy planning, backtrack to the previous node, and start a new strategy search.

[0061] The above dynamic performance-driven intrusion strategies can also be comprehensively analyzed:

[0062] Based on the cognitive map, the present invention considers the dynamic intrusion process of the enemy. The known information involved in dynamic path optimization includes detection devices, delay devices, target information, intrusion information, and response forces. The multi-information is converted into comprehensive calculation indicators, the F function is constructed, and the parameters are converted into the interception probability P(I) formula. The lower the interception probability, the less likely the intrusion strategy is to be discovered and stopped. The calculation function is as follows:

[0063] F{e(v start ,v 1 ),e(v 1 ,v 2 ),…,e(v n-1 ,v n ),e(v n ,v goal )}→P(I)

[0064] Example

[0065] The present invention provides a dynamic intrusion strategy planning method in a game environment. The case implementation process of the present invention includes the construction of a cognitive map of attack and defense scenarios of key infrastructure, reverse deduction of node delay information of defense devices, construction of a value function of the enemy's intrusion path, dynamic calculation of the enemy's intrusion strategy, and comprehensive analysis of the dynamic efficiency-driven intrusion strategy. The embodiment of the cognitive map of attack and defense scenarios in a real physical protection system is as follows: Figure 1 shown.

[0066] Step 1: For critical infrastructure, construct a physical protection system attack and defense scenario by integrating information such as detection devices, delay devices, target information, intrusion information, and response forces. In the example, the specific settings are as follows: the detection device information includes the detection probability and detection range of each node; the delay device information includes the delay time; the target information includes the target point location and threat information; the response force information includes the response time. At each node, set the calculation function of the interception probability coverage and the strategy selection function.

[0067] Step 2: The delay time calculation process of the defense node is based on the shortest path algorithm, and the shortest time between the target point and the node is obtained in reverse as the maximum threat time of the invasion. The steps include: initializing the shortest time value of all nodes to infinity, assigning an initial value of 0 to the target point; selecting a node with the minimum delay time from the unprocessed node set; updating the time value of the adjacent node; removing the processed node; repeating the above steps until all nodes are processed. The delay time value of each node is the shortest time from the node to the target point, which is also the maximum threat time. The specific calculation steps are as follows:

[0068] ① Initialization: Given a set S to record the optimal time set, the algorithm start time is 0, the time of other nodes is infinite, and all nodes are marked as unvisited calculations;

[0069] ② Select the node with the minimum delay time: select the node m with the minimum delay time from the nodes that have not been visited and calculated, and mark it as visited and calculated;

[0070] ③ Update calculation: For each adjacent node n of node m, if n has not been visited for calculation, and the delay time from m to n is shorter than the currently known delay time of calculation, then update the delay time of n;

[0071] ④ Repeatedly select the node with the smallest delay time among the unvisited computing nodes, and update the delay time of the adjacent node until all nodes are visited.

[0072] ⑤ When all nodes are visited and calculated, the delay time reverse deduction algorithm ends, and the set S records the shortest delay time of each node.

[0073] Step 3: The directed edge [u,v] formed by two nodes, such as Figure 3 As shown, node u reaches the target point after passing through node v. By calculating the interception probability from node v to the target point, the interception probability from node u to the target point is calculated. The calculation formula is:

[0074] P(I) u =P(R|A u )×P(Cu ) × P(D u ) + P(I) v × [1 - P(D u )]

[0075] P(R|A u ) = min[P(R|A u )]

[0076] Step Four: As Figure 4 shown, using the information from Steps One, Two, and Three, complete the dynamic calculation of the intrusion path in the game environment. Initialize the cognitive map and assign initial values to the nodes based on the environmental information. Create OPEN list and CLOSE list. The OPEN list is used to store the nodes to be inspected, and the CLOSE list stores the inspected nodes. Select a node with the lowest cost from the OPEN list as the current node. Calculate all adjacent nodes of the current node. If the "cost" from the current node to an adjacent node is lower than the known lowest "cost", update the "cost" of that adjacent node and add it to the OPEN list. When all nodes have been visited, the algorithm is completed, and the policy sequence for each node is the optimal policy sequence from that node to the target point.

[0077] When the environment changes dynamically, identify the affected nodes, including the actively affected adjacent nodes. For the actively affected nodes, calculate the new cost value, indicating that the resistance of the adversary passing through this node has changed. Compare the new cost value g of the current node with the minimum cost value k. If g < k, then the node belongs to the resistance node. Among the neighbors of the current node that are not neighbors of the parent node, find another node whose sum of the cost value plus the transfer cost is less than the cost value of the resistance node, modify the parent node, and reset the cost value. If g = k, then this point is not affected by the resistance. According to the determination result of the cost value, the present invention updates the pointing of its parent node. Using the updated cognitive map information and node information, perform local policy planning, backtrack to the previous node, and start a new policy search.

[0078] Finally, generate a new intrusion strategy based on the updated "cost" and map information.

[0079] Step Five: The dynamically adjusted policy updated in real time evaluates the quality of the intrusion strategy based on the interception probability. The evaluation formula is as follows:

[0080]

[0081] where P(D) is the detection probability of the node, P(C) is the communication probability of the node, and P(R|A) is the probability that the response force arrives before the adversary attacks the target point after successful communication. Whether the response force can reach the target point in time follows a normal distribution. The calculation process of P(R|A) is as follows:

[0082]

[0083] The above formula belongs to the binomial distribution calculation formula, the mean μ X and variance They are:

[0084] μ X =E(T R -T RFT )=E(T R )-E(T RFT )

[0085]

[0086] In the formula, E(T R ) is the expected delay time after the intrusion alarm, E(T RFT ) is the average response time expectation.

[0087] The present invention also provides a dynamic invasion strategy planning system in a game environment, including a model building module, a problem model building module, a solution module and an output module, wherein:

[0088] It includes construction module, calculation module and dynamic intrusion strategy planning module, among which:

[0089] Building module: used to build cognitive maps of attack and defense scenarios;

[0090] Calculation module: Based on the shortest path algorithm, the shortest time between the target point and each node is obtained in reverse as the maximum threat time of invasion; the invasion path cost function is constructed based on the maximum threat time of invasion, and the interception probability from the node to the target point is calculated;

[0091] Dynamic intrusion strategy planning module: used to construct a dynamic calculation method for the intrusion path based on the attack and defense scenario cognitive map and the intrusion path cost function, and use the dynamic calculation method for the intrusion path to reversely search for the optimal path from the target point to the starting point to complete the planning of the dynamic intrusion strategy under the game environment; the planning of the dynamic intrusion strategy under the game environment includes a static initial planning stage and a dynamic re-planning stage.

[0092] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0093] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit its protection scope. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that after reading the present invention, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the invention, but these changes, modifications or equivalent substitutions are all within the protection scope of the pending claims of the invention.

Claims

1. A dynamic invasion strategy planning method in a game environment, characterized in that: The following steps are involved: Build a cognitive map of attack and defense scenarios; Based on the shortest path algorithm, the shortest time between the target point and each node is obtained in reverse as the maximum threat time of intrusion; Construct an intrusion path cost function based on the maximum intrusion threat time; According to the attack and defense scenario cognitive map and the intrusion path cost function, a dynamic calculation method for the intrusion path is constructed. The dynamic calculation method for the intrusion path is used to reversely search for the optimal path from the target point to the starting point to complete the planning of the dynamic intrusion strategy in the game environment; the planning of the dynamic intrusion strategy in the game environment includes a static initial planning stage and a dynamic re-planning stage.

2. According to the method for dynamic invasion strategy planning in a game environment of claim 1, it is characterized in that: The construction process of the attack and defense scenario cognitive map is as follows: by integrating detection devices, delay devices, target information, intrusion information, and response force information, an attack and defense cognitive map of the physical protection system is constructed.

3. The method for dynamic invasion strategy planning in a game environment according to claim 1, characterized in that: The specific steps of reversely obtaining the shortest time between the target point and each node as the maximum threat time of invasion based on the shortest path algorithm are: Initialization: Given a set S to record the optimal time set, the algorithm start time is 0, the time of other nodes is infinite, and all nodes are marked as unvisited calculations; Select the node with the minimum delay time: select the node m with the minimum delay time from the nodes that have not been visited and mark it as visited; Update calculation: For each adjacent node n of node m, if n has not been visited for calculation and the delay time from m to n is shorter than the delay time of the currently known calculation, update the delay time of n; Repeatedly select the node with the smallest delay time among the unvisited computing nodes and update the delay time of the adjacent node until all nodes are visited; When all nodes are visited and calculated, the delay time reverse deduction algorithm ends, and the set S records the shortest delay time of each node.

4. The method for dynamic invasion strategy planning in a game environment according to claim 1, characterized in that: The intrusion path cost function formula is: P(I) u =P(R|A u )×P(C u )×P(D u )+P(I) v ×[1-P(D u )] Among them, the enemy’s intrusion direction is from node u to node v to the target point, P(I) u is the interception probability from node u to the target point, P(I) v is the interception probability from node v to the target point, P(R|A u ) is the minimum probability value of the responding personnel intercepting the enemy after the alarm communication from node u to the target point, P(C u ) is the communication probability of point u, P(D u ) is the detection probability of point u.

5. The method for dynamic invasion strategy planning in a game environment according to claim 1, characterized in that: The specific steps of the static initial planning stage are: Initialize the cognitive map, assign initial values ​​to nodes based on environmental information, create an OPEN list and a CLOSED list. The OPEN list is used to store nodes to be checked, and the CLOSED list stores checked nodes. Select a node with the lowest cost from the OPEN list as the current node, update the cost and record the minimum cost, calculate all adjacent nodes of the current node, and if the cost from the current node to the adjacent node is lower than the known minimum cost, update the cost of the adjacent node and add it to the OPEN list; When all nodes are visited, the algorithm is completed, and the optimal strategy sequence from the node to the target point is obtained based on the minimum cost value of each node.

6. The method for dynamic invasion strategy planning in a game environment according to claim 1, characterized in that: The process of the dynamic replanning stage is as follows: for the affected nodes, the optimal strategy to reach the end point is recalculated, and its parent node pointing is updated to reflect the latest optimal strategy, the updated cognitive map information and node information are used, local strategy planning is performed, backtracking to the previous node, and a new strategy search is started.

7. The method for dynamic invasion strategy planning in a game environment according to claim 6, characterized in that: The affected nodes, including the adjacent nodes that actively affect, for the nodes that actively affect, calculate a new cost value, indicating that the resistance of the adversary through this node has changed. Compare the new cost value g of the current node with the minimum cost value k. If g < k, then the node belongs to the resistance node. Among the neighbors of the current node that are not the neighbors of the parent node, find another node whose sum of the cost value plus the transfer cost is less than the cost value of the resistance node, modify the parent node and reset the cost value. If g = k, then this point is not affected by resistance. According to the determination result of the cost value, update the pointing of its parent node, adopt the updated cognitive map information and node information, execute local policy planning, backtrack to the previous node, and start a new policy search.

8. A dynamic invasion strategy planning system in a game environment, characterized in that: It includes a construction module, a calculation module, and a dynamic intrusion strategy planning module, where: The construction module: is used to construct a cognitive map of the attack and defense scenario; The calculation module: Based on the shortest path algorithm, inversely obtain the shortest time between the target point and each node as the maximum threat time of intrusion; construct an intrusion path cost function based on the maximum threat time of intrusion, and calculate the interception probability from this node to the target point; The dynamic intrusion strategy planning module: is used to construct a dynamic calculation method for the intrusion path according to the cognitive map of the attack and defense scenario and the intrusion path cost function, and use the dynamic calculation method for the intrusion path to perform reverse search for the optimal path from the target point to the starting point to complete the planning of the dynamic intrusion strategy in the game environment; the planning of the dynamic intrusion strategy in the game environment includes a static initial planning stage and a dynamic replanning stage.

9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • A heuristic effectiveness analysis method for a key facility physical protection system

    CN109598374A

  • Physical protection weakness analysis method based on three-dimensional scene

    CN112418544A

  • Weakest path identification method, device and equipment of physical protection system and medium

    CN113496547A

  • Multi-stage task planning method under multi-unmanned aerial vehicle cooperative combat constraint

    CN118068863A

  • Data service-oriented adaptive intrusion response game method and system thereof

    WO2021180017A1

Cited By

  • Evaluation method, device and equipment for transportation real object protection system

    CN120687872A