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
CN110806943APending Publication Date: 2020-02-18PING AN TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Applications(China)
Current Assignee / Owner
PING AN TECH (SHENZHEN) CO LTD
Publication Date
2020-02-18

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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