Data caching method and device based on Java object

A technology of data caching and java interface, which is applied in the field of mobile Internet application development, can solve problems affecting user use, improper caching data hierarchical relationship, data return performance bottleneck, etc., to improve data access speed, reduce database dependence, shorten The effect of waiting time

Inactive Publication Date: 2013-02-27
融创天下(上海)科技发展有限公司
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, there are many methods of data caching, but when using different application systems during use, if the cached data is incomplete or the cached data hierarchical relationship is improper when accessing a large amount of data, it will lead to incomplete data display and data return performance bottlenecks, affecting User use, unable to provide a satisfactory user experience
The dependence of data cache on the database cannot be managed uniformly and effectively

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
  • Data caching method and device based on Java object
  • Data caching method and device based on Java object

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

[0032] figure 1 It is a flowchart of a Java object-based data caching method provided by an embodiment of the present invention, and the method includes:

[0033] S101, create a database table according to a preset database table structure;

[0034] The preset database table is a database configuration method based on web page visualization, the page is a table structure, and the fields in the database table structure correspond to each object attribute in the Java object in the application program, which is convenient Obtain object attributes when using, and the fields in the database table structure include field names, field attributes, field meanings and default values;

[0035] Automatically create the database table according to the database table structure and the script language preset by ...

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 data caching method and a data caching device based on a Java object. By the method, data in the database is cached in form of the Java object, a cache system provides the Java object in form of a jar packet, and the dependence on database in the data caching process in the application program accessing is avoided, so that in the accessing process of each application program, only the data object structure is considered by transferring the Java object in the cache data jar pocket and by using the java method for fast accessing, and the database data structure is not required to be considered; the data is acquired and displayed by using the uniform data reading method in the cache system, so that the development speed is greatly improved, and the waiting time of user is shortened. The data accessing speed after the application program is accessed is improved, and the network time delay caused by the object packaging and database visiting when the database is accessed is avoided.

Description

technical field [0001] The invention relates to the technical field of mobile Internet application development, in particular to a Java object-based data caching method and device. Background technique [0002] At present, many Java-based applications have a strong dependence on the database in the process of data operation, and access to large amounts of data has a large bottleneck on the response speed of the database and the number of concurrency. In the process of data access, it will no longer rely entirely on the database, and will directly perform data operations through cached data, and the interaction with the database will rely on the data cache system for processing. [0003] Both the data access speed and the development cycle of the existing database-based development will be slower than that after adopting the data object cache. For database-based development, first of all, in the development cycle, each independent application must have an independent access ...

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): G06F9/44G06F17/30
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