Method and apparatus for paged loading of client contents

A client-side, paging technology, applied in the Internet field, can solve problems such as data duplication

Active Publication Date: 2017-05-24
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for loading client content by paging, so as to solve the problem that when the user performs page turning operation while updating data in the scenario where the update frequency is high during client loading and the data sorting is re-updated each time The problem of data duplication seen

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
  • Method and apparatus for paged loading of client contents
  • Method and apparatus for paged loading of client contents
  • Method and apparatus for paged loading of client contents

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0018] Such as figure 1 As shown, it is a flow chart of a method for paging loading client content according to an embodiment of the present invention, and the method includes:

[0019] 101. When the server receives a paging access request initiated by the client for a certain client content, it determines whether the cache data corresponding to the client content is cached and the cache data does not exceed a preset expiration time, and the The cache data is...

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

Embodiments of the invention provide a method and an apparatus for paged loading of client contents. The method comprises the steps of judging whether cached data corresponding to the client contents is cached or not and that the cached data does not exceed preset expiration time when a server receives a paged access request initiated for the client contents by a client, wherein the cached data is obtained from a data source and established when the client contents are accessed; and if the cached data corresponding to the client contents is cached and the current cached data does not exceed the preset expiration time, loading corresponding data contents based on the current cached data and a specified page of the paged access request, and feeding back the corresponding data contents to the client. The technical scheme has the following beneficial effects: the problem that data seen by a user during page turning operation is repeated while the data is updated in a scene that an update frequency is relatively high and data sorting is re-updated each time can be solved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for loading client content by page. Background technique [0002] At present, list data in network applications (including PCs (personal computers) and mobile phones) usually obtain data directly from a unified data source. The following two methods are generally used for page turning: (1) Calculate by the page number to be browsed and the number of items per page , the starting position of the data to be read is: (the current page number to be browsed - 1) * the number of items per page, such as: 20 pieces of data are taken per page, the starting position is 0, and the position of the first page is 0-19 data, the second page takes the data at position 20-39, and so on. (2) Use the ID (identification number) of the last piece of data on the page to determine the starting position of the next loading content. The starting position of the data to be read i...

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
IPC IPC(8): G06F9/445G06F9/44
CPCG06F9/44505G06F9/451
Inventor 李枨煊
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
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