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

Method and device for updating cached data

A technology for caching data and updating methods, applied in the field of data processing, can solve problems such as unfavorable system stability, and achieve the effects of avoiding sudden system load pressure, improving user experience, and high access efficiency

Active Publication Date: 2020-11-24
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in related technologies, it is usually to update all the business object data related to user A in the cache; and when the number of business objects corresponding to user A is large, a huge burst of system load pressure will be generated. Good for system stability

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 device for updating cached data
  • Method and device for updating cached data
  • Method and device for updating cached data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present application solves the technical problems in the related art by improving the way of updating the cached data. To further illustrate the application, the following examples are provided:

[0027] figure 1 is a flow chart of a method for updating cached data provided by an exemplary embodiment of the present application, as shown in figure 1 As shown, the method is applied to the server and may include the following steps:

[0028] In step 102, it is detected that a data update requirement for the current user in the cache space is triggered.

[0029] In this embodiment, the business object data of the business object corresponding to the current user is stored in the database, and by caching the business object data in the server, frequent access to the database can be avoided and response efficiency can be improved.

[0030] Step 104, according to the relationship data between the current user and the business object stored in the cache space, search for...

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 application provides a method and device for updating cache data. The method may comprise the following steps: detecting that a data updating requirement aiming at a current user in the cache space is triggered; searching a business object corresponding to the current user in the cache space according to the data of an association relationship between the current user and the business object stored in the cache space; and updating the business object data corresponding to the searched business object. According to the technical scheme of the application, the business object data in the cache space can be updated in batches, sudden data updating events can be avoided, and the system load pressure caused by data updating can be helpfully reduced.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a method and device for updating cached data. Background technique [0002] In related technologies, some service platforms allow users to create corresponding business objects, so as to realize corresponding business functions on the service platforms. Each user can create a large number of business objects and store the corresponding business object data in the database. [0003] Assuming that user A has created multiple business objects, the corresponding business object data is stored in the database according to the association relationship between user A and each business object. Then, when another user B wants to view the business object data of any business object associated with user A, the server needs to initiate a request to the database, and then return the requested business object data to user B, and generate a corresponding display page for the...

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 Patents(China)
IPC IPC(8): G06F16/23
CPCG06F16/284
Inventor 张锐
Owner ALIBABA GRP HLDG 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