User Data Storage Segmentation for Online Games
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for storing user data in online game systems are cumbersome, as they require determining whether a user is in an interactive scene or a game scene to process user data, leading to complexity and inefficiency.
Innovation Solution
A method and apparatus that generate distinct data identifications for interactive user data and game user data based on user and scene identifications, allowing for separate storage and processing without needing to determine the current scene, using a system that includes a processor and storage medium to manage these identifications and data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If user data is identified only by user account, then storage structure is simple, but data processing requires cumbersome scene determination
Solution Approach 1:
The patent segments user data into two distinct types: interactive user data and game user data. Each type is assigned a separate data identification (interactive data identification and game data identification). This segmentation allows the system to directly identify which type of data to process based on the data identification alone, eliminating the need for cumbersome scene determination while maintaining simple storage structure.
2Productivity
If separate data identifications are generated for interactive and game user data, then data processing becomes efficient, but storage structure complexity increases
Solution Approach 1:
The system performs preliminary action by generating distinct data identifications (interactive data identification and game data identification) at the time of user login and data creation. This preliminary differentiation is embedded in the data structure itself, allowing for efficient data processing without requiring complex runtime scene determination logic. The storage structure complexity is minimal as it only requires storing these identifications alongside the user data.
Data Source
AI summary
A method and an apparatus for storing user data are provided. In some embodiments, the method includes receiving a login request; generating an interactive data identification and a first game data identification based on a designated user identification and a first game scene identification included in the login request, the interactive data identification is configured to indicate interactive user data, and the first game data identification is configured to indicate first game user data corresponding to the first game scene; generating the interactive user data based on an interactive operation executed by the terminal and storing the interactive data identification and the interactive user data correspondingly; and generating the first game user data based on a game operation executed by the terminal in the first game scene and storing the first game data identification and the first game user data correspondingly.


