Unlock instant, AI-driven research and patent intelligence for your innovation.

Data caching system and method for website front end

A data cache and data technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as delay, inability to store other types of data, cumbersome operations, etc., to achieve efficient processing and improve user experience.

Active Publication Date: 2017-01-04
深圳市邦友大数据服务有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing front-end browsers can only store string data and cannot store other types of data. Website developers have to manually convert other types of data obtained from the server into string data every time, and then store them in the browser cache. Then take it out and convert it to the required data type
Therefore, the existing data caching method at the front end of the website is cumbersome and inefficient, resulting in delays in obtaining data from the server every time, and poor user experience

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 caching system and method for website front end

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0028] see figure 1 As shown, the embodiment of the present invention provides a front-end data cache system of a website, the system interacts with the back-end server, the system includes a control unit, a cache unit, and the cache unit is used to store cached data of the browser; the system also includes an intermediate Layer components, middle layer components include multiple sets of data interfaces, each set of data interfaces includes a setting interface and a corresponding read interface, each set of data interfaces supports a data type, data types include basic types and non-basic types, basic types Including string type, integer type, floating point type, non-basic type includes list type, hash type;

[0029] The control unit is used for: when storing non-basic type data, obtain non-basic type data from the server, and call...

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 caching system and method for a website front end, and relates to the technical field of website front ends. The system interacts with a server at a back end and comprises a control unit, a caching unit and a middle-tier component, wherein the middle-tier component comprises multiple groups of data interfaces, each group of data interfaces comprises a setting interface and a corresponding reading interface and supports one data type, and the data types comprise a basic type and a non-basic type; the control unit is used for, when the non-basic type of data is stored, acquiring the data from a server and calling the setting interface in the middle-tier component, and when the non-basic type of data is read, calling the reading interface in the middle-tier component; and the middle-tier component is used for, when the non-basic type of data is stored, converting the non-basic type of data into character string data, and when the non-basic type of data is read, extracting the character string data from the caching unit and converting the character string data into the non-basic type of data. The system and the method can efficiently process front-end services and improve the user experience.

Description

technical field [0001] The invention relates to the field of website front-end technology, in particular to a data cache system and method for a website front-end. Background technique [0002] At present, the front-end technology of the website is developing rapidly, the business volume of the front-end is gradually increasing, and the data that needs to be processed by the front-end is also increasing. Existing front-end browsers can only store string data and cannot store other types of data. Website developers have to manually convert other types of data obtained from the server into string data every time, and then store them in the browser cache. Then take it out and convert it to the required data type. Therefore, the existing data caching method at the front end of the website is cumbersome and inefficient, resulting in a delay in obtaining data from the server every time, and poor user experience. Contents of the invention [0003] The object of the present inve...

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 深圳市邦友大数据服务有限公司