[go: up one dir, main page]

CN100365991C - A method for allocating session resources - Google Patents

A method for allocating session resources Download PDF

Info

Publication number
CN100365991C
CN100365991C CNB200410101414XA CN200410101414A CN100365991C CN 100365991 C CN100365991 C CN 100365991C CN B200410101414X A CNB200410101414X A CN B200410101414XA CN 200410101414 A CN200410101414 A CN 200410101414A CN 100365991 C CN100365991 C CN 100365991C
Authority
CN
China
Prior art keywords
session
resources
session resources
resource
sessions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB200410101414XA
Other languages
Chinese (zh)
Other versions
CN1791009A (en
Inventor
徐莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB200410101414XA priority Critical patent/CN100365991C/en
Publication of CN1791009A publication Critical patent/CN1791009A/en
Application granted granted Critical
Publication of CN100365991C publication Critical patent/CN100365991C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种会话资源的分配方法,该方法是在系统没有足以供新接入的AT使用的可用会话资源时,从系统所有被占用的会话资源中释放一定数量的会话资源分配给该新接入的AT使用,且使得到当前时刻为止,释放的所有会话资源的未活动时间均大于剩余会话资源的未活动时间。从而保证了新接入的AT始终都有可用的会话资源与AN建立会话,同时避免了一部分会话资源的长期闲置。既提高了AT与AN建立会话的成功率,又提高了AN网有限的会话资源的使用率,从而最大可能的平衡了系统资源分配与使用效率的关系。

Figure 200410101414

The invention discloses a method for allocating session resources. The method is to release a certain amount of session resources from all occupied session resources of the system when the system has no available session resources enough for a newly accessed AT to allocate to the AT. The newly accessed AT uses and makes the inactivity time of all session resources released up to the current moment greater than the inactivity time of the remaining session resources. Therefore, it is ensured that a newly accessed AT always has available session resources to establish a session with the AN, and at the same time, long-term idleness of some session resources is avoided. It not only improves the success rate of session establishment between AT and AN, but also improves the utilization rate of limited session resources of AN network, thereby balancing the relationship between system resource allocation and utilization efficiency to the greatest possible extent.

Figure 200410101414

Description

A kind of distribution method of Session Resources
Technical field
The present invention relates to code division multiple access CDMA 1X EV-DO network technology, be meant a kind of distribution method of Session Resources especially.
Background technology
CDMA 1X EV-DO (Evolution Data Optimized) standard originates from high-speed data (HDR) technology of high pass (Qualcomm) company the earliest, it can support high-speed radio grouped data (HRPD) business, is in an effective enhancements that provides aspect the data service to the CDMA2000 network.Calendar year 2001, CDMA 1X EV-DO technology is received as a branch of CDMA2000 family to be one of IMT-2000 standard.
In CDMA EV-DO network, access terminal and realize communication by setting up session (Session) between (AT) and the Access Network (AN).Different with the session in the IP network, the state that is meant between a kind of AT and the AN is we can say in the session of EV-DO, if have session between AT and the AN, illustrate that then both sides have kept the configuration of institute's operation parameter in the agreement of consulting and the agreement separately, these agreements and corresponding configuration are the prerequisites of intercommunication.That is to say, only when opening session (Open Session), just can communicate between AT and the AN, and then the AT service that could use AN to provide.And after in case the session between AT and the AN sets up, will keep always, after AT moves out the scope of subnet (Subnet) or do not work for a long time, just remove this session.All there is corresponding Session Resources to preserve the session information of this AT to each AT among the AN.Because Session Resources is limited among the AN, use up back (wherein some resource is hung unusually) at Session Resources, will cause follow-up AT not set up session with this AN, thereby can not access network.Therefore how the Session Resources of reasonable distribution system, the utilization rate that improves Session Resources counts for much.
Existing protocol has been stipulated a kind of method that activates detection, and this method activates the detection timer by being provided with one, regularly the session of having set up is detected, and does not have to discharge this Session Resources under the situation of action message when detecting this session.Specifically, the activation of AT and AN detects by activating request (Keep Alive Request) and activating response (Keep Alive Response) and determine whether AT is to activate, detect timer then when activating, AN can send to AT and activate request message, if AT returns the activation response message, then AN keeps the session information of this AT, activate response if AT does not return, and illustrates that then AT is not in the service area of this AN.Then AN will discharge corresponding to the Session Resources of this AT, uses so that distribute to other AT.Because activate detecting need be by the messaging of eating dishes without rice or wine, therefore congested for fear of interface-free resources, causes AT normally to insert difficulty, the timing length that all will activate the detection timer usually is provided with longly (the default configuration duration is 54 hours).Yet so will occur: finish in case all Session Resources are occupied, and these Session Resources take the configuration duration that duration all surpasses activation detection timer, and then follow-up AT will can't obtain the service of DO network because there not being the available sessions resource this moment.And under extreme case, if get back under this AN at set intervals and information interaction arranged at all AT that set up Session Resources under certain AN, and the time interval between twice information interaction is less than activating the configuration duration that detects timer, then the Session Resources of this AN will can not get discharging all the time, and cause the new AT that inserts to set up session with this AN because of there not being available Session Resources under this AN, the success rate that causes on the one hand setting up between new AT that inserts and the AN session is lower, then causes the instream factor of system session resource lower on the other hand.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of distribution method of Session Resources, improve the new AT that inserts and set up the success rate of session and the instream factor of AN net Session Resources.
In order to achieve the above object, the invention provides a kind of distribution method of Session Resources, the method comprising the steps of:
A, Access Network AN side judge that system is current and whether have enough available sessions resources after request is set up in the session that receives access terminal AT; If then be this AT assign sessions resource; Otherwise, execution in step b;
B, from occupied Session Resources the release portion Session Resources, the resource after utilize discharging then is this AT assign sessions resource.
In said method, before step a, comprising: system reserves Session Resources to AT, and the available sessions resource described in the step a is the Session Resources that system reserves to AT.
In said method, this method comprises and sets in advance available sessions monitoring resource timer, and the described step of reserving Session Resources to AT comprises:
Whether a01, the available sessions monitoring resource timer that judge to be provided be overtime, if, execution in step a02 then; Otherwise, return step a01;
A02, judge that whether current available sessions number of resources is greater than the minimum available sessions number of resources of the system that sets in advance, if then return step a01; Otherwise execution in step a03;
A03, from occupied Session Resources, discharge at least one Session Resources.
In said method, described at least one Session Resources is for once discharging the Session Resources number.
In said method, described from occupied Session Resources the release portion Session Resources be to discharge activity time not all greater than the Session Resources of not activity time of residue Session Resources.
In sum, the present invention is when the available sessions resource that system is not enough to use for the new AT that inserts, the release portion Session Resources uses for the new AT that inserts from all occupied Session Resources of system, and make to obtain till the current time, the not activity time of the Session Resources that discharges from all occupied Session Resources of system is all greater than the not activity time that remains Session Resources.Thereby the AT that has guaranteed new access has available Session Resources and AN to set up session all the time, both improved the utilization rate that AN nets limited Session Resources, improved the success rate of setting up session between the AT of new access and the AN again, thus the balance of maximum possible the relation of system resource allocation and service efficiency.
Description of drawings
Fig. 1 is the flow chart of a specific embodiment method of the present invention.
Fig. 2 is the flow chart of the process of the present invention's reservation.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Core concept of the present invention is: Access Network AN side is judged that system is current and whether is had enough available sessions resources, if then distribute existing Session Resources after the session that the receives access terminal AT request of setting up; Otherwise release portion Session Resources from existing all the occupied Session Resources of this AN is distributed to AT and is used.
Describe the present invention in detail below by a specific embodiment.
Since when AN when request is set up in the session that receives AT, there is no available Session Resources and distribute to this AT and use and the judgement system is current, at this moment, just need from the existing Session Resources that takies, discharge Session Resources, distribute to this AT use then.Also can adopt the Session Resources that is kept some by AN in advance this moment, thereby all there is the available sessions resource of some in the assurance system always, and the AT that distributes to new access uses.The method flow diagram of present embodiment specifically comprises the steps: as shown in Figure 1
Step 101:AN side is judged that system is current and whether is had enough available sessions resources, if then distribute existing Session Resources after the session that the receives AT request of setting up; Otherwise, execution in step 102;
Step 102: release portion Session Resources from occupied Session Resources, utilizing the resource after discharging then is this AT assign sessions resource.
Before step 101, the Session Resources of the some that can be kept in advance by AN uses for the new AT that inserts.Fig. 2 is the new AT that the inserts method flow diagram of preserving sessions resource in advance that is of the present invention, at this in advance in the method for preserving sessions resource, at first in system, set in advance an available sessions monitoring resource timer, and for it is provided with a timing length, this method comprises the steps: specifically
Step 201: whether the available sessions monitoring resource timer that monitoring is provided with is overtime, if then execution in step 202; Otherwise, return step 201.
Step 202: read the current available sessions number of resources of AN, judge that whether this available sessions number of resources is more than or equal to the minimum available sessions number of resources that is provided with, if then return step 201; Otherwise, execution in step 203.
Step 203: from all occupied Session Resources of AN, discharge by force and once discharge several Session Resources of Session Resources, return step 201 then and continue monitoring.
The minimum available sessions number of resources that in this flow process, is provided with, once discharge being provided with of all Session Resources numbers among Session Resources number and the AN and must satisfy following the relation: all the Session Resources numbers among (minimum available sessions number of resources+once discharge Session Resources number)<AN.
In addition, for the reasonability that guarantees that Session Resources distributes, the step that the described AN of step 102 or step 203 discharges the Session Resources of some can be: the release portion Session Resources uses for AT from all occupied Session Resources, and make to obtain till the current time, the not activity time of all Session Resources of release is all greater than the not activity time that remains Session Resources.
Describe the step of the Session Resources of the some that AN keeps in advance in detail below by example.The all available sessions number of resources of supposing the system are 10, and minimum available sessions number of resources is 3, and once discharging the Session Resources number is 5.And the variation of the current available sessions number of resources of AN is as follows, when distributing a Session Resources, then the available sessions number of resources is subtracted 1, and when discharging a Session Resources, then the available sessions number of resources is added 1.Therefore current available sessions number of resources is a variable.In above-mentioned steps 202, just carry out and read the current available sessions number of resources of AN like this, whether judge this available sessions number of resources more than or equal to 3, if, then return step 201, otherwise, execution in step 203.And in above-mentioned steps 203, carry out and seek 5 the longest Session Resources of updated time, it is discharged by force, return step 201 then and continue monitoring.
In addition, for each Session Resources that takies, calculate it not the method for activity time be: write down the last movable moment of this session, the initial foundation of i.e. this session constantly, perhaps follow-up receives that according to activating testing process activation responds the moment of upgrading, then can according to write down movable at last constantly, calculate the not activity time of each session till system's current time.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (5)

1. the distribution method of a Session Resources, it is characterized in that: the method comprising the steps of:
A, Access Network AN side judge that system is current and whether have enough available sessions resources after request is set up in the session that receives access terminal AT; If then be this AT assign sessions resource; Otherwise, execution in step b;
B, from occupied Session Resources the release portion Session Resources, the resource after utilize discharging then is this AT assign sessions resource.
2. method according to claim 1 is characterized in that: before step a, comprising: system reserves Session Resources to AT, and the available sessions resource described in the step a is the Session Resources that system reserves to AT.
3. method according to claim 2 is characterized in that: this method comprises and sets in advance available sessions monitoring resource timer, and the described step of reserving Session Resources to AT comprises:
Whether a01, the available sessions monitoring resource timer that judge to be provided be overtime, if, execution in step a02 then; Otherwise, return step a01;
A02, judge that whether current available sessions number of resources is greater than the minimum available sessions number of resources of the system that sets in advance, if then return step a01; Otherwise execution in step a03;
A03, from occupied Session Resources, discharge at least one Session Resources.
4. method according to claim 3 is characterized in that: described at least one Session Resources is for once discharging the Session Resources number.
5. according to any described method in the claim 1 to 4, it is characterized in that: described from occupied Session Resources the release portion Session Resources be to discharge activity time not all greater than the Session Resources of not activity time of residue Session Resources.
CNB200410101414XA 2004-12-16 2004-12-16 A method for allocating session resources Expired - Fee Related CN100365991C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410101414XA CN100365991C (en) 2004-12-16 2004-12-16 A method for allocating session resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410101414XA CN100365991C (en) 2004-12-16 2004-12-16 A method for allocating session resources

Publications (2)

Publication Number Publication Date
CN1791009A CN1791009A (en) 2006-06-21
CN100365991C true CN100365991C (en) 2008-01-30

Family

ID=36788537

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410101414XA Expired - Fee Related CN100365991C (en) 2004-12-16 2004-12-16 A method for allocating session resources

Country Status (1)

Country Link
CN (1) CN100365991C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471869B (en) * 2007-12-27 2011-04-20 华为技术有限公司 Method, system and device for processing session
CN102123452B (en) * 2011-04-14 2015-05-20 电信科学技术研究院 Resource management method and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1130011A (en) * 1994-06-27 1996-08-28 诺基亚电信公司 Method for allocating radio channels
CN1391771A (en) * 1999-09-17 2003-01-15 艾利森电话股份有限公司 Channel allocation and release for packet data services
WO2004006603A2 (en) * 2002-07-08 2004-01-15 Soma Networks, Inc System, apparatus and method for uplink resource allocation
CN1489395A (en) * 2002-10-11 2004-04-14 深圳市中兴通讯股份有限公司 Method for distributing business channels for GSM system
CN1549478A (en) * 2003-05-20 2004-11-24 ����������ͨѶ�ɷ����޹�˾�Ͼ��ֹ� Up code scrambling distributing method in WCDMA system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1130011A (en) * 1994-06-27 1996-08-28 诺基亚电信公司 Method for allocating radio channels
CN1391771A (en) * 1999-09-17 2003-01-15 艾利森电话股份有限公司 Channel allocation and release for packet data services
WO2004006603A2 (en) * 2002-07-08 2004-01-15 Soma Networks, Inc System, apparatus and method for uplink resource allocation
CN1489395A (en) * 2002-10-11 2004-04-14 深圳市中兴通讯股份有限公司 Method for distributing business channels for GSM system
CN1549478A (en) * 2003-05-20 2004-11-24 ����������ͨѶ�ɷ����޹�˾�Ͼ��ֹ� Up code scrambling distributing method in WCDMA system

Also Published As

Publication number Publication date
CN1791009A (en) 2006-06-21

Similar Documents

Publication Publication Date Title
US9369249B2 (en) Terminal inter-application network resource allocation method and device thereof
US7430290B2 (en) Virtual queuing support system and method
JP4712951B2 (en) Method for controlling the data flow granted to a communication node
CN101364948B (en) Method for dynamically allocating cache
CN101894088A (en) Method and device for solving conflict of multiple hosts on I2C bus
CN106713484A (en) Performance pressure measurement implementation method, system and server
JP2000299687A (en) Bandwidth allocation management method for crosspoint switch
CN113110927B (en) Task scheduling method and device, computer equipment and storage medium
Saha et al. Exploring the fairness and resource distribution in an apache mesos environment
CN102281611A (en) WLAN access control method and system thereof
JP5661328B2 (en) Efficient and cost-effective distributed call admission control
CN113688001B (en) Dynamic balancing method and device for power consumption of server hard disk, terminal and storage medium
CN100365991C (en) A method for allocating session resources
US20090154351A1 (en) Network scheduler for selectively supporting work conserving mode and network scheduling method thereof
KR101004761B1 (en) How to save your computer
US20250217173A1 (en) Systems and methods of auto-scaling a virtual desktop environment
CN102546999B (en) Method, control device and system for reducing device power consumption based on business model
CN109002381A (en) Process communication monitoring method, electronic device and computer readable storage medium
CN106878058B (en) Service node multiplexing method and device
US9710052B2 (en) Dynamic energy savings for digital signal processor modules using plural energy savings states
CN100525200C (en) Method for controlling protocol message attack
US8320313B1 (en) Method and system for carrier frequency management based on slot contention
CN102811488A (en) Resource scheduling method, device and system
CN101378410B (en) Intelligent service management system and method for controlling operation rate of management genus instruction thereof
JP2004254201A (en) Radio resource management method in radio base station device and radio resource management system in radio base station device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080130

Termination date: 20151216

EXPY Termination of patent right or utility model