Universal game data interface layer

A game data and interface layer technology, applied in the computer field, can solve problems such as simplicity, poor performance, and inability to support a large number of systems, and achieve the effect of efficient data access

Active Publication Date: 2017-05-31
广州谷得网络科技有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For the data layer, there are database object-relational mapping frameworks such as Hibernate and MyBatis and database middleware such as Cobar and MyCat. Although database object-relational mapping frameworks such as Hibernate and MyBatis can simplify code and improve coding efficiency, their performance is not outstanding, and their own The cache system is simple and cannot support a large number of systems, and cannot meet the needs of game development

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The general game data interface layer of this embodiment includes a basic definition module, a data operation module, a database operation module and a database operation tool module, and the functions of each module are as follows:

[0018] The basic definition module includes data layer interface classes and annotation definition classes. The data layer interface classes are used for data operations by users, and the annotation definition classes are used for users to annotate and identify defined database classes. Specifically, annotations include cache annotations and Persistence annotations.

[0019] In this embodiment, the interface class of the data layer is IData, which provides an external operation interface and shields specific implementation. Annotation definition classes include PO and Cacheable. Among them, PO is a persistent annotation, and Cacheable is a cache annotation. Those with PO annotations are persisted to the database, and those with Cacheable a...

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 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.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a general game data interface layer. Background technique [0002] In the field of game development, there are many core development modules, including the network layer, distribution layer, concurrency layer, data layer, and node clusters. The design of each development module has a great impact on the performance, usability, and convenience of the system. Therefore, it is very important for the design and construction of the above-mentioned development modules. [0003] For the above development modules, there are related development frameworks, such as Netty for the network layer and AKKA for the concurrent layer. Netty is a set of asynchronous, event-driven network application framework and tools for rapid development of high-performance, high-reliability network server and client programs. AKKA is a toolkit and operating environment for building highly concurrent and dis...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/254G06F16/27
Inventor 黄骏
Owner 广州谷得网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products