Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data paging method and apparatus

A data and paging technology, applied in the Internet field, can solve the problems of reducing the cache hit rate of each page data, cache performance and data loading efficiency, and cache avalanche, so as to avoid avalanche, improve performance and data loading efficiency, and improve cache hit rate effect

Active Publication Date: 2015-12-23
ALIBABA (CHINA) CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, after the data paging is completed, if there is new data generated, in order to paginate the new data to the first item of the first page of the data page, all data needs to be reordered according to the update time, which will cause all data pages to fail, resulting in Cache avalanche, further, will reduce the cache hit rate of each page of data, which will lead to a decrease in cache performance and data loading efficiency

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 paging method and apparatus
  • Data paging method and apparatus
  • Data paging method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025]Usually, how to paginate data depends on the mapping relationship between web pages and data pages. Since the traditional mapping relationship is one-to-one correspondence according to the order of page numbers from small to large, the traditional data paging method has the above-mentioned technical problems. In order to solve the above-mentioned technical problem, the embodiment of the present invention changes the mapping relationship between the web page and the data page, and changes the data paging method, thereby solving the above-mentioned technical problem.

[0026] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with 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 ordi...

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 paging method. The method comprises: obtaining a page code X of a to-be-displayed webpage; calculating the total page number Y of resource data pages of the to-be-displayed webpage; determining a page code of a target data page corresponding to the page code X of the to-be-displayed webpage according to a preset corresponding relationship; and sending target data corresponding to the target data page to a client. Correspondingly, the invention further discloses a data paging apparatus. Compared with the prior art, the technical scheme provided by the invention can avoid the occurrence of an avalanche phenomenon of a cache, so that the cache hit ratio of data in each page can be increased, and the performance and data loading efficiency of the cache are improved.

Description

technical field [0001] The present invention relates to the technical field of the Internet, and more specifically, to a data paging method and device. Background technique [0002] With the diversification of information and the development of big data technology, the website needs to display more and more data. However, due to the limitation of the terminal screen size, it is impossible to display all the data in one webpage of the website. Therefore, the data is usually divided into pages first. Form multiple data pages, and display all the data by displaying the data in each data page on the corresponding web page. [0003] Specifically, the mapping relationship between the data page and the web page is preset. When the server receives the web page display request sent by the client, it first checks whether the target data page corresponding to the web page is stored in the cache according to the page number of the web page. If there is this data page, read the data of ...

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): G06F17/30
CPCG06F16/9574
Inventor 刘永赞孟杰陈一宁
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products