Release method for death resource

A resource and timer technology, applied in the field of hanging resource release, can solve problems such as unavailable system functions, insufficient transient resources in the system, network communication interruption, etc., to improve stability and robustness, and prevent communication system resources from exhaustion effect

Inactive Publication Date: 2007-12-19
HUAWEI TECH CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In a real-time communication system, the application and release of transient resources is similar to the application and release of dynamic memory in ordinary programming, which is mainly guaranteed by the programming of programmers. Due to the complexity of programming, it is difficult to guarantee In various complex operating conditions, the program can correctly complete the work of resource release, and if the applied transient resource is not released normally, the system will think that the resource is in the state of being used, resulting in resource hanging
If all the resources that can be allocated are suspended, the system will not be able to allocate available transient resources according to the needs of the process, which will cause serious consequences of system functions being unavailable
[0008] In the Next Generation Network (NGN), due to the high Busy Hour Call Atternpt (BHCA) of the system, a resource hanging error triggered by a small probability may eventually cause the system to run out of time. Serious consequences such as resource allocation, resource exhaustion, function failure, network communication interruption, and system crash
In this case, usually only by restarting the communication system to regain transient resources, which will cause a series of problems such as communication interruption and data loss

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
  • Release method for death resource
  • Release method for death resource
  • Release method for death resource

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] As shown in FIG. 1 , the method for releasing hanging resources in Embodiment 1 of the present invention includes the following steps:

[0041] Step 101, according to the system design requirements, after analyzing the operation of each process in the system, set the maximum occupation time of the only transient resource in the system as T1;

[0042] Step 102, the system allocates transient resources according to the needs of the process, and obtains and saves the occupied initial system time Ta1 corresponding to the allocation of the transient resources;

[0043] Step 103, during system operation, when a new process needs to allocate transient resources, and there are no idle transient resources in the system, the allocation of transient resources is unsuccessful, and the system immediately obtains the current system time Tc;

[0044] Step 104, calculate the time difference between the current system time Tc and the occupied initial system time Ta1, obtain the actual o...

Embodiment 2

[0048] As shown in FIG. 2 , the method for releasing hanging resources in Embodiment 2 of the present invention includes the following steps:

[0049] Step 201, the system sets the maximum occupancy duration of each transient resource in the system as T1, T2, ... according to the configuration status of its software and hardware, and sets a resource hanging inspection cycle in the system;

[0050] Step 202, the system allocates each transient resource according to the needs of the process, and acquires and saves the occupied initial system time Ta1, Ta2, ... corresponding to each transient resource for allocation;

[0051] Step 203, during the system operation, according to the setting of the inspection cycle of the suspended resources, when a new round of inspection starts, the system obtains the current system time Tc;

[0052]Step 204, respectively calculate the actual occupation time corresponding to each transient resource that is still in use, that is: the current system...

Embodiment 3

[0056] As shown in FIG. 3 , the method for releasing hanging resources in Embodiment 3 of the present invention includes the following steps:

[0057] Step 301, according to the protocol requirements used by the system, set the maximum occupation time of each transient resource in the system as T1, T2, ..., and set a cycle timer in the system, here cycle The timer refers to: the timer timing information automatically triggers the next work of the timer to start;

[0058] Step 302, when the system is started, start the timer at the same time; the system allocates each transient resource according to the process needs, acquires and saves the occupied initial system time Ta1, Ta2, ... corresponding to the allocation of each transient resource;

[0059] Step 303, during system operation, when the timer expires, the system immediately acquires the current system time Tc;

[0060] Step 304, respectively calculate the actual occupation time corresponding to each transient resource t...

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

This invention discloses a method for releasing hang resources including the following steps: the system sets the largest occupation time length of each transient resource, computes each actual occupation time length having been distributed with the transient resource, when there are transient resources with the actual time length larger than the set largest occupation time length, then it is judged that the resource is the hang one and release it, which fully utilizes the character that the largest occupation time length of the transient resource can be foreseen to process the hang resources and resume them so as to avoid function loss of the communication system because of the hang transient resources.

Description

technical field [0001] The invention relates to a method for releasing resources in a communication system, in particular to a method for releasing hanging resources. Background technique [0002] In communication systems, there are usually three types of system resources: transient resources, semi-permanent resources and permanent resources, where: [0003] Transient resources refer to resources temporarily used in the communication system. For example, when a message forwarding module in a communication system receives a message from a certain process, it allocates a transient resource to store the information, performs corresponding processing, and immediately releases the resource so that the resource can be reused. The maximum occupancy time of the resource can be predetermined by the system according to the protocol used, can also be predetermined by the system through an analysis method, and can also be predetermined by the system according to the configuration of so...

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): H04Q7/20H04B7/26H04L12/24H04W24/00H04W28/16H04W72/00
Inventor 谢汝林
Owner HUAWEI 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