Unlock instant, AI-driven research and patent intelligence for your innovation.

Ray Query Method and Scene Server in Online Games

A scene server and game scene technology, applied in the ray query method and scene server field, can solve problems such as server delay, unbalanced load between frames, affecting player experience, etc., and achieve the effect of avoiding delay and running smoothly

Active Publication Date: 2015-08-12
BEIJING PIXEL SOFTWARE TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the CPU of the scene server is responsible for running multiple scenes, including worlds and copies, etc., supporting thousands of players online at the same time, running dozens of game frames per second, and each game frame usually needs to process network requests, artificial intelligence, etc. , Damage judgment, pathfinding, log and many other tasks, if the task cannot be completed within the rated time, the server will be delayed, which will not only affect the player experience, but also affect the processing of subsequent game frames, causing various problems
Compared with other tasks, ray query is not only computationally intensive, but also has an unbalanced load between frames. There are only a small number of queries in a certain game frame, and hundreds or even thousands of times of queries may appear in the next game frame, often causing server delays

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
  • Ray Query Method and Scene Server in Online Games
  • Ray Query Method and Scene Server in Online Games
  • Ray Query Method and Scene Server in Online Games

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0027] Graphics processing units (GPUs) have developed rapidly as the demand for graphics processing power continues to grow. The GPU has the characteristics of a large amount of data parallel processing and intensive calculation. It is different from the fact that most of the area on the CPU is occupied by the cache. At present, about 80% of the transistors on the GPU are used for calculation. It has more advantages than CPU, and has higher floating-point computing capabilities, specifically as figure 1 shown.

[0028] Based on this, in the present invention, the GPU can be used as a coprocessor of the CPU to asynchronously execute ray queries, see for details figure 2 shown.

[0029] see figure 2 , figure 2 The flow chart of the method p...

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 ray query method for a network game, and a scene server. The method comprises the following step that: the scene server executes the following operations according to each game frame: when each game frame is started, registering all ray query requests of the game frame into a ray query manager; judging whether a central processing unit (CPU) or an image process graphic processing unit (GPU) executes ray query at the moment according to the number of ray query requests registered to the ray query manager; if the CPU executes the ray query, executing the ray query by the CPU; and if the GPU executes the ray query, scheduling the GPU to asynchronously execute the ray query, and executing a non-ray query task by the CPU when the GPU executes the ray query.

Description

technical field [0001] The invention relates to network game technology, in particular to a ray query method and a scene server in network games. Background technique [0002] Collision detection is the basis for realizing many game effects and technologies in online games, among which ray query is the most widely used. The so-called ray query mainly uses ray for collision detection to check whether the ray in the space intersects with the scene model, and returns the nearest intersection point and other information if it intersects. For example, jumping, pathfinding, damage determination, etc. in "Sword II" all require a large number of ray queries. [0003] Usually, the scene model used for ray query in online games is represented by triangular meshes, and sometimes complex scene models may use hundreds of thousands or even millions of triangular meshes. In order to speed up the calculation, acceleration structures such as kdtree, uniform grid and other data structures a...

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): G06F9/50
Inventor 李利国
Owner BEIJING PIXEL SOFTWARE TECH