Resource file inquiry method and system based on server and client caches

A resource file and query method technology, applied in the field of digital processing of design information, can solve the problems of sacrificing user experience and occupying server-side resources, and achieve the effect of ensuring real-time performance and reducing server resource occupancy

Inactive Publication Date: 2015-07-01
明博教育科技股份有限公司
View PDF7 Cites 45 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

2. The server needs to continuously query resources, which will occupy server resources
But obviously, these measures are all at the expense of more or less user experience, and there are certain shortcomings

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
  • Resource file inquiry method and system based on server and client caches
  • Resource file inquiry method and system based on server and client caches
  • Resource file inquiry method and system based on server and client caches

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] The user opens an electronic book named "Chinese Grade 3 Volume 2" in the client system, such as figure 1 As shown in , when the user flips through the book, the resource list on the right will dynamically list the resources corresponding to the current chapter. When the user turns to the third unit "Folk Customs":

[0075] (1) The client will use the ID of the chapter (8a82304c3fd1f01b014143389d4a0d8f) as the primary key to query in the chapter_resList table of the local Sqlite database to see if there is a corresponding record, which contains the (server) time when the resource was last written into the cache stamp.

[0076] (2) The corresponding record is found in the chapter_resList table, and the value of the timestamp field is 2013-08-2010:23:19; the expiration time set by the system is 24 hours; the client's local time is 2013-08- 2512:10:12, obviously the cache time of this record has expired, the system judges that the cache of this record has expired, and pr...

Embodiment 2

[0082] The user opens an electronic book named "Chinese Grade 3 Volume 2" in the client system, such as figure 2 As shown in , when the user flips through the book, the resource list on the right will dynamically list the resources corresponding to the current chapter. When the user turns to the third unit "Folk Customs":

[0083] (1) The client will use the ID of the chapter (8a82304c3fd1f01b014143389d4a0d8f) as the primary key to query in the chapter_resList table of the local Sqlite database to see if there is a corresponding record, which contains the (server) time when the resource was last written into the cache stamp.

[0084] (2) If no corresponding record is checked in the chapter_resList table, the system determines that the corresponding data is no longer in the local cache, and proceeds to the next step.

[0085] (3) The client searches for the subdirectory (8a82304c3fd1f01b014143389d4a0d8f) in its Ftp directory through the Ftp service of the server of the schoo...

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 resource file inquiry method and system based on server and client caches, and belongs to the technical field of information digital processing. The method comprises the following steps: when a user requests to acquire required resources, checking whether or not resource list data to be inquired exists in a client local cache; if the resource list data to be inquired exists in the client local cache, and the timestamp of the data is unexpired, directly reading corresponding resource list data in the cache, and transmitting the read resource list data to a client for displaying; and if the resource list data to be inquired does not exist in the client local cache or the resource list data to be inquired exists in client local cache but the timestamp of the data is expired, sending an acquisition request to an institution server, a center server or a back-end web server in sequence. Through the method and the system, the occupation of network bandwidth and server resources is greatly reduced while the resource acquisition instantaneity of a user is ensured.

Description

technical field [0001] The present invention relates to the technical field of digital processing of design information, in particular to a resource file query method and system based on server and client caches. Background technique [0002] E-books have been widely used in various systems. In addition to common simple reading scenarios (such as reading PDF files with Acrobat Reader, etc.), in some specific scenarios, the use of e-books has different characteristics and extensions. For example, in many multimedia teaching software / systems, there are usually reading, learning and teaching links of electronic books such as electronic textbooks and teaching aids. In these scenarios, in addition to the usual book content, the system will also provide many multimedia resources related to the current book content, such as videos, images, texts, animations, etc., for readers to expand their reading and learning. [0003] Such as figure 1 The multimedia teaching system shown is o...

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): H04L29/08G06F17/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