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

Cache data filling method and system for data filling page

A technology of page caching and caching data, which is applied in the computer field and can solve problems such as wasting network resources, data loss, and affecting page performance

Pending Publication Date: 2021-05-18
北京首汽智行科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] (1) Relying on the background server will increase the number of requests, affect page performance, and waste network resources;
[0005] (2) Increase user operation steps, and at the same time, it is easy to cause data loss due to user neglect and failure to click the save button and interaction with the background;
[0006] (3) If the user's environment and network resources are not smooth, it is very easy to generate data that cannot be saved, resulting in data loss.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be specifically introduced below in conjunction with specific embodiments.

[0033] The data filling method provided by the embodiment of the present invention includes the following steps:

[0034] S101, when a page switching operation occurs on the initial data filling page, acquire the URL address of the current page in real time.

[0035] As a specific embodiment, the publish-subscribe mode is adopted to obtain the URL address of the current page in real time to monitor the change of the URL address.

[0036] S102, according to the URL address of the current page, judge in real time whether the current page is an initial data filling page.

[0037] Wherein, when the URL address of the current page is the same as the URL address of the initial data filling page, it is determined that the current page is the initial data filling page.

[0038] S103, if it is determined that the current page is an initial data filling page, extract cached d...

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 filling page cache data filling method and system, and relates to the technical field of computers, whether a current page is an initial data filling page or not is judged in real time according to a URL address of the current page, if the current page is determined to be the initial data filling page, cache data are extracted from a DOM storage, whether the value of the cache data is zero or not is judged, and if yes, the current page is not the initial data filling page; if the cache data is not zero, the initial data filling page is filled with the cache data, the page performance is not affected, network resources are saved, and the problem that data are lost due to the fact that a user does not store the cache data or storage fails is solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data filling method and system for page cache data filling. Background technique [0002] At present, some software systems (such as Shouqi Shared GoFun’s vehicle repair system) have very complicated processes, and each process requires users to fill in a lot of information. During the process of filling in information, if users go to other pages or temporarily need to use other functions, they must log out of the information. Fill in the page; after launching, all the information filled in by the user will be lost, and all the information needs to be filled in again after re-entering the page. [0003] The current solution is to add a temporary save button on the page. When the user needs to click the button, the front end initiates a request to save the data to the database WebSQLDatabase. There are following defects in this scheme: [0004] (1) Relying on the background ...

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): G06F40/174G06F16/957G06F16/955
CPCG06F40/174G06F16/9574G06F16/955
Inventor 李凯
Owner 北京首汽智行科技有限公司
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