Data updating method based on updating marks and related equipment

A data update and data technology, applied in the field of big data, can solve problems such as difficult to trace the root cause, performance degradation, user loss, etc., and achieve the effect of avoiding deadlock and data deadlock

Pending Publication Date: 2020-02-18
PING AN TECH (SHENZHEN) CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In asynchronous scheduling in information systems, data update errors often occur. In a large-scale system, if data deviations lead to errors, it may cause serious problems and it is difficult to trace the root cause, and bring huge losses to users. Therefore, when data is updated, an exclusive lock is usually used to ensure the accuracy of the data in the information system. The exclusive lock means that when the data with the exclusive lock is updated, other processes cannot modify it. The data, until the data releases the exclusive lock, but because in the process of using the exclusive lock, once multiple objects apply for the exclusive lock, but if the exclusive lock is cross-occupied, it will cause The situation of exclusive lock deadlock, which leads to performance degradation; for example: suppose there are resources A and B, program X and program Y both update the two resources of A and B at the same time, so they must preempt the exclusive resources of A and B However, during the application process, program X seizes the exclusive lock of resource A, and program Y seizes the exclusive lock of resource B. At this time, program X will wait for the exclusive lock of resource B, and program Y will wait for the exclusive lock of resource A. Exclusive lock, obviously neither program X nor program Y can wait, which will lead to deadlock, so a new way is needed to apply for exclusive lock to solve the problem of deadlock

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 based on updating marks and related equipment
  • Data updating method based on updating marks and related equipment
  • Data updating method based on updating marks and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0041] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof.

[0042] The flow of a data update method based on...

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 relates to the field of big data, and discloses a data updating method based on an updating mark and related equipment, and the method comprises the steps: presetting a data updating condition, and obtaining a data updating request; when the to-be-updated data corresponding to the data updating request meets the preset data updating condition, querying whether an updating mark is setfor the to-be-updated data corresponding to the data updating request or not in a cache; and if the cache queries that the to-be-updated data corresponding to the data updating request is not provided with the updating mark or the updating mark is overtime, setting the updating mark for the to-be-updated data in the cache, applying for exclusive locking for the to-be-updated data, and performingdata updating according to a result of applying for exclusive locking. According to the data updating method and device, the updating mark is set for the updated data, exclusive locking is applied forthe data with the updating mark, data updating is conducted, and system performance reduction caused by data deadlock can be avoided.

Description

technical field [0001] This application relates to the field of big data, in particular to a data update method and related equipment based on an update mark. Background technique [0002] In asynchronous scheduling in information systems, data update errors often occur. In a large-scale system, if data deviations lead to errors, it may cause serious problems and it is difficult to trace the root cause, and bring huge losses to users. Therefore, when data is updated, an exclusive lock is usually used to ensure the accuracy of the data in the information system. The exclusive lock means that when the data with the exclusive lock is updated, other processes cannot modify it. The data, until the data releases the exclusive lock, but because in the process of using the exclusive lock, once multiple objects apply for the exclusive lock, but if the exclusive lock is cross-occupied, it will cause The situation of exclusive lock deadlock, which leads to performance degradation; for...

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): G06F9/52G06F16/23G06F16/2455
CPCG06F9/524G06F16/2343G06F16/24552
Inventor 何明烨龙凯
Owner PING AN TECH (SHENZHEN) 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