The invention discloses a universal game
data interface layer. The universal game
data interface layer comprises a basic definition module, a data operation module, a
database operation module and a
database operation tool module, wherein the basic definition module comprises a data
layer interface type and a comment definition type, the data
layer interface type is used for the data operation by a user, the comment definition type is used for the comment identification of the user on a defined
database type, and comments include a caching comment and a lasting comment; the database operation tool module comprises a data scanning type and a
data registration type; the data operation module comprises a data operation realizing
abstract interface and a data operation realizing type, the data operation realizing type is used for realizing a user data operation instruction, and the data operation realizing
abstract interface is used for the data operation with or without cache according to the comments; the database operation module comprises a
database connection type and a
database object base type. The universal game
data interface layer has the advantages that the
interface layer can provide simple and efficient data accessing, and the cache of a
third party can be integrated.