Supercharge Your Innovation With Domain-Expert AI Agents!

Method for detecting dead circulation

A detection method and an infinite loop technology, applied in the field of object reference management, can solve problems such as system hazards, system hangs, and system errors, and achieve the effect of reliable methods and avoiding system hangs

Inactive Publication Date: 2007-12-05
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] No matter what kind of operation in the system, once the infinite loop occurs, it will cause great harm to the system, ranging from system errors to system hanging or crashing

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
  • Method for detecting dead circulation
  • Method for detecting dead circulation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The core idea of ​​the present invention is: set a storage unit in advance; extract the basic information of each operation in various operation sequences, and record the extracted information in the preset storage unit, by analyzing the rules of the elements in the storage unit, To determine whether there is an infinite loop.

[0030] The technical solution of the present invention will be described in detail below by taking the message or function passing through the relational bus as an example.

[0031] In this embodiment, the method for detecting an object reference infinite loop is: queuing related messages passing through the relational bus, and monitoring the queued messages, so as to realize the detection of an infinite loop occurring during the object reference process. After a referenced object changes, those objects that refer to the referenced object should be notified, so that these objects can make some response processing after the referenced object chan...

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 method of detecting dead circulation includes presetting memory units for recording basic operation information; recording the basic information of each operation in the memory units; judging whether to exist dead circulation based on the regulation of the elements recorded in the current memory unit; and terminating the operation corresponding to the dead circulation if so, and or else returning to the step of recording the basic information of each operation in the memory units. The method of the present invention may be used in detecting target calling, function calling, operating sequence and other maybe dead circulation effectively, and this can avoid effectively the crash caused by dead circulation. The method is reliable and practical.

Description

technical field [0001] The invention relates to object reference management technology, in particular to a method for detecting an infinite loop. Background technique [0002] In the Chinese patent application whose publication number is 1503147, the present inventor once proposed a method for processing object relationships in a database. This method is a management technology based on object references of a relational bus. It can be attributed to a reference relationship. Therefore, while there is an object oA referencing object oB, there may also be an object oB referencing object oA; or an object oA refers to object oB, object oB refers to object oC, and object oC refers to object oA In this case, the above references are called circular references. In the process of object circular reference, usually, the change of oA will cause the change of oB, and the change of oB will cause the change of oA, and then the change of oA will cause the change of oB, which may lead to a...

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): G06F11/36
Inventor 王正伟
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More