Method for prefetching object
An object and prefetching technology, which is applied in the directions of instruments, calculations, and electrical digital data processing, etc., can solve problems such as prefetching strategies, failure to consider, 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] Such as figure 1 As shown, after the user sends a read request to the persistent system, after the persistent system receives the read request in step 1, it judges whether the information of the object is stored in the object cache according to the type and keyword of the object corresponding to the read request; step 2 If there is storage, return the information of the object corresponding to the read request; Step 3 If there is no storage, analyze the attribute information of the object according to the object-relationship mapping information stored in the persistence system, and generate The object information of the object is stored 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...
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 ref...
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