Method for prefetching object
An object and prefetching technology, which is applied in the direction of instrumentation, computing, and electrical digital data processing, etc., can solve problems such as unconsidered, prefetching strategies, and waste of network resources, so as to reduce burden, improve performance, and increase read hit rate. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0012] As shown in Figure 1, when the user sends a read request to the persistent system, step 1. After the persistent system receives the read request, it judges whether the object is stored in the object cache according to the type and keyword of the object corresponding to the read request. information; if there is storage in step 2, then return the information of the object corresponding to the read request; if there is no storage in step 3, then analyze the attribute information of the object according to the object-relational mapping information stored in the persistence system for the object, And store the generated object information in the object cache.
[0013] The present invention requires maintaining object-relationship mapping information in the object-relationship persistence system to ensure correct association and judgment in subsequent operations. These mapping information should include: each object type, keyword and its associated Object information, the da...
Embodiment 2
[0025] Based on the first embodiment, this embodiment specifically illustrates the specific implementation process of the method involved in the present invention based on prefetching objects in the "JPA" (Java Persistence API) persistence layer. JPA, as the object-relational mapping specification of the "Java EE 5.0" language platform standard, will be supported by all Java EE servers. JPA uses "JDK 5.0" annotations or Extensible Markup Language (Extensible MarkupLanguage; hereinafter referred to as: XML) to describe the mapping relationship of object-relational tables, and persists entity objects in the runtime to the database. JPA's API is used to operate entity objects , perform create, read, update, and delete operations, and the framework does everything behind the scenes.
[0026] The implementation based on the JPA persistence layer includes: First, according to the "JDK 5.0" annotation or XML description, generate object-relational mapping information, specifically re...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com