Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Path finding verification method and device

A verification method and technology to be verified, applied in the field of pathfinding, can solve problems such as time-consuming, damage to server load capacity, increase, etc., to achieve the effect of reducing time consumption and accurate and reliable verification results

Active Publication Date: 2014-09-17
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing verification path algorithm, because the selection process of C and D is based on the straight line equation to calculate the specific position of C and D, which involves floating-point operations, multiplication and division operations, therefore, the method of calculating C and D two points It is time-consuming, and the calculation of the straight line equation involves a large number of multiplication and division and floating-point operations, which reduces the system performance for the server, and the estimation method will make the verification result inaccurate; moreover, with the increase of the distance between A and B, it is necessary to The number of intermediate points for verification also increases, especially when the map is large, this long-distance pathfinding verification seriously damages the load capacity of the server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Path finding verification method and device
  • Path finding verification method and device
  • Path finding verification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] image 3 A schematic diagram of the verification path for the present invention, such as image 3 As shown, in the shaded area of ​​the vertical bar on the left, there are a total of 16 grids of 4*4, and each grid is directly accessible to each other. In other words, the area where the path AB is located is walkable. Therefore, if Figure 4 As shown, the pathfinding verification method of the present invention includes:

[0025] Step 400: Obtain the walkable area through scanning and fusion.

[0026] This step specifically includes: adopting a layer-by-layer iterative method to realize data fusion:

[0027] In the first iteration, scan the entire map according to the area size of 1*1 grid;

[0028] In the second iteration, scan the entire map according to the area size of 2*2 grid;

[0029] In the third iteration, scan the entire map according to the area size of 4*4 grid;

[0030] Scan in order in this way, and record the area it belongs to in the data block of ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a path finding verification method which comprises the following steps: obtaining a walking area by scanning and fusion; and judging that a path needing verification is included in the walking area so as to verify that the path is directly reachable. The method provided by the invention finds a large walking area and judges that two points of the path to be verified are both located in the walking area; and then a server immediately returns a path verification result indicating that the path to be verified is directly reachable. Through the method provided by the invention, the verification of the middle path point is not required, thus the time consumption of the server in path verification is greatly reduced, and the verification result is accurate and reliable.

Description

technical field [0001] The invention relates to pathfinding technology, in particular to a pathfinding verification method and device. Background technique [0002] In the game, the pathfinding algorithm usually adopts a simplified method, which cuts the map horizontally and vertically at certain intervals, and divides it into multiple grids (Tile). Each grid has two states: walkable and non-walkable. figure 1 A schematic diagram of the path for pathfinding in existing games, such as figure 1 As shown in , the area of ​​the shaded grid is the non-walkable area, and the area of ​​the white grid is the walkable area. The pathfinding algorithm (such as the A* algorithm) obtains a path from point A to point B through a certain calculation method, such as the broken line shown in the figure; then optimizes the broken line and judges that point C is redundant , which in turn simplifies to a solid-line path from A directly to B. Among them, the A* (pronounced as A Star) algorith...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G09B29/00
Inventor 张伟
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products