Loop detection method and system
A loop detection and loop technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve the problems of complex logic and large work consumption, and achieve the effect of simple work process, improved efficiency, and improved performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Example 1: Detecting Simple Flowchart Loops
[0050] figure 2 shown in the application figure 1 A flow chart of the detection object (ie, the software system) of the first example of the loop detection method shown in .
[0051] 1) According to the flow chart of the software system, create a pairing relationship between the entry node and the exit node;
[0052] In this instance, for figure 2 , you can create a pairing relationship as shown in the following table.
[0053] Entrance
Export
A
B
B
C
C
D
D
E
E
B
[0054] 2) Calculate the number of entry nodes of the current pair relationship, and the same nodes are not counted repeatedly;
[0055] In this example, the number of entry nodes calculated according to the above table is 5.
[0056] 3) Determine whether the number of entry nodes is greater than zero, if yes, execute the next step, if no, go to step 9) and end after outputting the r...
Embodiment 2
[0074] Example 2: Detecting loops in complex relationships
[0075] image 3 shown in the application figure 1 A schematic diagram of the connection structure of the detection object (ie, the hardware system) of the second example of the loop detection method shown in ; image 3 Among them, node F is connected to branch node C, node B is connected to node F, and node F is connected to branch node D of branch node B, forming a loop between node B and node F.
[0076] This embodiment further illustrates the loop detection method through a schematic diagram of a connection structure of a complex hardware system, see image 3 :
[0077] 1) Create a pairing relationship between the entry node and the exit node according to the flow chart;
[0078] In this example, according to image 3 Create a pair relationship from top to bottom, where the lowest-level node exit is regarded as a virtual node, as shown in the following table:
[0079] Entrance
Export
A ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 