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

Method and apparatus for updating dirty data

An update method and dirty data technology, applied in the computer field, can solve problems such as excessive database access pressure and service crash.

Active Publication Date: 2017-02-15
ALIBABA (CHINA) CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present application provides a method and device for updating dirty data, which is used to solve the problem in the prior art that when the amount of access is huge, the database will inevitably cause the service to crash due to the huge amount of access and excessive pressure.

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 updating dirty data
  • Method and apparatus for updating dirty data
  • Method and apparatus for updating dirty data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0032] figure 2 The dirty data update process provided by the embodiment of this application specifically includes the following steps:

[0033] S201: Obtain the attribute name and key value of the object.

[0034] In practical applications, some systems that provide external services are usually developed using object-oriented languages. For examp...

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 method and apparatus for updating dirty data. The method comprises the following steps: acquiring an attribute name and a key value of an object, identifying data corresponding to the key value in a cache according to the attribute name of the object, when the data corresponding to the key value in the cache are identified as dirty data according to the attribute name of the object, acquiring the data corresponding to the key value from a database according to the key value, and updating the data in the cache according to the data corresponding to the key value and acquired from the database. By adoption of the above-mentioned method, even if the dirty data are present in the cache, the cache does not need to be emptied anymore, the dirty data in the cache can be identified, and smooth update is carried out on the identified dirty data, therefore the problem of service breakdown caused by the overlarge pressure of the database can be effectively solved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for updating dirty data. Background technique [0002] With the continuous development of computer technology, more and more software and systems are developed using object-oriented languages. For example, the development of large-scale Web systems is generally developed using object-oriented languages. [0003] At present, due to the large number of users using the large-scale Web system, and the low read and write performance of the disk for storing data, this will inevitably lead to a particularly high load on the server. Therefore, it is necessary to use memory as a cache to improve the performance of the entire large-scale Web system , and, an object-oriented caching system is established for storing the data of the large-scale Web system in the cache and obtaining data from the cache and providing it to the large-scale Web system. [0004] T...

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): G06F17/30
CPCG06F16/215
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