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

Data strong consistency writing method and terminal equipment

A technology for data writing and consistency, applied in the computer field, can solve the problem that the data management mechanism cannot meet the needs of strong consistency, and achieve the effect of increasing resource sales revenue, avoiding losses, and expanding the scope of application

Active Publication Date: 2020-08-11
深圳市远行科技股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present invention provides a method for writing data with strong consistency and a terminal device to solve the problem of data management that only relies on the cloud object storage service itself for some enterprises that need to provide strong consistency. The mechanism cannot meet the needs of strong consistency

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 strong consistency writing method and terminal equipment
  • Data strong consistency writing method and terminal equipment
  • Data strong consistency writing method and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0041] In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

[0042] see figure 1 , figure 1 It is a schematic flowchart of a method for writing data with strong consistency provided by an embodiment of the present invention. In this embodiment, the angle triggering of a terminal is used as an example for illustration. Here, the...

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 is suitable for the technical field of the computer, and provides a strong consistency write-in method of data, and terminal equipment. The method comprises the following steps: determining a data block in which the data is to be written according to an IO request of writing the data into an object storage unit, redirecting a write operation to the local cache, and adding a write locking on the data block; writing the data in the data block, and removing the write locking after writing in the local cache; redirecting the write operation to the object storage unit, acquiring the timestamp of performing the latest write operation on the data block; if judging that the write operation on the data block is not overtime according to the timestamp, delaying the write operation; ifthe delay time achieves the preset time threshold, stopping delaying, and writing the data in the data block in the object storage unit according to the write operation, and guaranteeing the own strong consistency of the cache file through the write locking. The ordered operation of the multi-thread write object storage is ensured through write delay, so that an object storage service can be applied to an application with high data consistency requirement.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a method for writing data with strong consistency and a terminal device. Background technique [0002] With the rapid development of cloud computing technology and the advent of the era of big data, distributed object storage services featuring safety and reliability, flexible capacity expansion, ease of use, high performance, and low cost have been widely used in enterprise application systems. In order to enhance user experience, current object storage service providers implement high availability of the system and eventual consistency of data through asynchronous replication of multiple copies of data, ensuring the consistency perceived by users. However, for some enterprises that need to provide strong consistency (such as the medical field, financial field, etc.), relying solely on the data management mechanism of the cloud object storage service cannot meet th...

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/27G06F9/52
CPCG06F9/52
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