Client-Server Message Processing for Virtual Object Movement
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies require multiple terminal device resources to ensure appropriate movement of virtual objects in virtual spaces, leading to reduced maintainability and bearing capacity, as traditional 3D engines occupy excessive resources for high-precision calculations and collision detection.
Innovation Solution
Implementing fine modeling calculation and collision detection logic on the client side, where the client uploads displacement parameters to the terminal device for processing, allowing the terminal device to determine if the displacement conforms to a preset rule and refusing abnormal movements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional 3D engine is migrated to server for collision detection, then reliability of collision detection is improved, but server resource occupation increases significantly
Solution Approach 1:
The patent segments the collision detection system into two parts: the server maintains only rough modeling results and verification logic, while the client performs fine modeling calculation and uploads displacement parameters. This segmentation allows the server to verify collision results without bearing the full computational load, thus improving reliability while reducing resource occupation.
Solution Approach 2:
The patent introduces displacement parameters as an intermediary between the client's fine modeling calculation and the server's rough modeling verification. The client calculates detailed displacement and uploads it to the server, which then verifies whether the displacement conforms to preset rules based on rough modeling. This intermediary mechanism enables reliable collision detection without requiring the server to perform resource-intensive fine modeling.
2Quantity of substance
If fine modeling calculation is performed on client side, then terminal device resource occupation is reduced, but reliability of movement logic may be compromised
Solution Approach 1:
The patent implements a feedback mechanism where the client performs fine modeling calculation and uploads displacement parameters to the server, which then verifies whether the displacement conforms to preset rules based on rough modeling. The server sends verification results back to the client, ensuring that client-side calculations maintain reliability without requiring the server to perform resource-intensive fine modeling.
Solution Approach 2:
The patent applies partial action by having the server perform only rough modeling verification rather than complete fine modeling validation. The server checks whether displacement parameters conform to preset rules based on rough modeling results, which is sufficient to ensure reliability without requiring full fine modeling calculation on the server side.
3Quantity of substance
If sampling calculation is used for verification, then server pressure is reduced, but reliability of movement logic cannot be ensured
Solution Approach 1:
The patent applies preliminary action by having the server pre-calculate and store rough modeling results before receiving displacement parameters from the client. When the client uploads displacement data, the server can quickly verify conformity against pre-computed rough modeling results, ensuring reliability without requiring resource-intensive real-time sampling calculations.
Data Source
AI summary
The present disclosure discloses a message processing method and terminal device. The method includes: receiving a first message that carries displacement parameters and is sent by a client, the displacement parameters being generated by the client and used to indicate displacement of a virtual object in a virtual space; determining, according to the displacement parameters, whether the displacement conforms to a preset rule; and sending, if it is determined that the displacement does not conform to the preset rule, a second message used by the client to refuse the displacement. The present disclosure solves the technical problem in the existing technology that multiple terminal device resources need to be occupied to ensure appropriate movement of a virtual object.


