A loop detection method, device, electronic equipment and storage medium

A technology of loop detection and loop, which is applied in the direction of electrical digital data processing, structured data retrieval, digital data information retrieval, etc., can solve the problem of large amount of information, reduce the performance of distributed transaction of nodes, and cannot apply multi-degree scenarios, etc. question

Active Publication Date: 2021-08-24
BEIJING OCEANBASE TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the one hand, this kind of operation relies too much on a single node. If the node is killed, the loop detection cannot be performed normally; on the other hand, it needs to transmit the global dependency path between nodes, resulting in a relatively large amount of information maintained and transmitted by the node. , which may reduce the performance of nodes performing distributed transactions
Other loop detection methods can only detect loops for single out-degree scenarios, and cannot be applied to multi-out-degree scenarios.

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
  • A loop detection method, device, electronic equipment and storage medium
  • A loop detection method, device, electronic equipment and storage medium
  • A loop detection method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The exemplary embodiment will be described in detail herein, and examples thereof are shown in the drawings. The following description is related to the drawings, unless otherwise indicated, the same numbers in the drawings represent the same or similar elements. The embodiment described in the exemplary embodiments of the exemplary embodiment does not represent all embodiments consistent with the first or more embodiments of the present application. In contrast, examples of apparatus and methods consistent with some aspects of the present application, one or more embodiments, as detailed in the appended claims.

[0040] It should be noted that the steps of the corresponding method are performed in other embodiments and not necessarily shown and described in the present application. In some other embodiments, the steps included in the method can be more or less than those described in this application. Further, a single step described in this application may be decomposed i...

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 present application provides a loop detection method, device, electronic equipment and storage medium. The method is applied to any node in the distributed system. The method includes updating its own candidate states according to the candidate states of adjacent downstream nodes, so that the candidate states of the end points of each dependent path are forwarded. Wherein, if there is a downstream node at the end point, the candidate state of the end point is the first candidate state. In response to the candidate state of the adjacent downstream node being the first candidate state, and the public identifier of the target node being smaller than the public identifier of the adjacent downstream node, updating the public identifier of the target node to the The public identifier of the adjacent downstream node. In response to the fact that the candidate state of the adjacent downstream node is the first candidate state, and the private identifier of the target node is equal to the public identifier of the adjacent downstream node, it is determined that there is a loop in the dependency path corresponding to the target node road.

Description

Technical field [0001] In particular, one or more embodiments of the present application relate to network service risk identification, and more particularly to a loop detecting method, apparatus, electronic device, and storage medium. Background technique [0002] Data dependencies may occur between nodes that perform computing transactions in a distributed system. If a loop occurs if a loop occurs in a number of data dependencies, it may affect distributed system performance. [0003] For example, when a distributed system is a distributed database system, if there is a loop between node A and Node B, the node A needs to rely on the result of the criterion B executable, and Node B also needs to rely on nodes. A results after performing the transaction, which may cause a deadlock between node A and Node B, which is difficult to perform a transaction normally. Therefore, loop detection is required. [0004] Currently, in some related technologies, the global dependency path needs...

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/2458G06F16/27
CPCG06F16/2471G06F16/27
Inventor 滕旭旺钱晨阳振坤韩富晟孔繁宇肖金亮
Owner BEIJING OCEANBASE 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