Data updating method and device, storage medium and equipment

A data update and data technology, applied in database update, electronic digital data processing, structured data retrieval, etc., can solve the problems of unguaranteed data reliability, data loss, data insecurity, etc., to avoid consistency risks , reduce the number of writes, and save maintenance costs

Inactive Publication Date: 2019-04-09
UCLOUD TECH CO LTD
View PDF6 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the data is first written to the cache and returns success to the user, then in the event of a crash or cache loss, the data is not safe, resulting in data loss
Although the delay problem is solved, the data reliability cannot be guaranteed

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 updating method and device, storage medium and equipment
  • Data updating method and device, storage medium and equipment
  • Data updating method and device, storage medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose and technical solutions of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiments of the present invention. Apparently, the described embodiments are some, not all, embodiments of the present invention. Based on the described embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0030] According to an embodiment of the present invention, an embodiment of a data update method is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases t...

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 provides a data updating method and device, a storage medium and equipment. The method comprises the steps: acquring at least one data updating request sent by front-end equipment; Storing the data updating requests with the same data identifiers into a queue; processing data updating requests in the queue sequentially, wherein the processing comprises the steps: reading to-be-updated data corresponding to the data updating requests are read according to data identifiers; In response to the data updating request, processing to-be-updated data; Storing the processed to-be-updateddata to a cache; Judging whether the processing time reaches a preset time period or not; And if yes, updating the to-be-updated data in the cache to the database, and pausing processing until the operation of updating the to-be-updated data to the database is completed.

Description

technical field [0001] The invention relates to the field of Internet data storage, in particular to a data updating method, device, storage medium and equipment. Background technique [0002] With the rapid development of Internet technology, data services are becoming more and more complex, and high-concurrency scenarios are especially common. For example, in network cloud services, users often upload thousands of small files in a file directory at the same time, and concurrently update directory nodes. to read and modify. In high-concurrency scenarios, it is not only necessary to respond to business requests quickly, but also to ensure data consistency. [0003] In the existing technology, there are mainly two solutions for updating and reading data in high-concurrency scenarios. The first one is to read database data first, then modify it, and then write it into the database to achieve persistence in the transaction process. In a high-concurrency scenario, the same dat...

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): G06F16/23G06F16/2455
Inventor 谢建东杨田昌裴志伟
Owner UCLOUD TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products