CN109429376A - A kind of method for releasing resource and device - Google Patents

A kind of method for releasing resource and device Download PDF

Info

Publication number
CN109429376A
CN109429376A CN201710582820.XA CN201710582820A CN109429376A CN 109429376 A CN109429376 A CN 109429376A CN 201710582820 A CN201710582820 A CN 201710582820A CN 109429376 A CN109429376 A CN 109429376A
Authority
CN
China
Prior art keywords
mark
terminal
storage domain
domain
storage
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.)
Granted
Application number
CN201710582820.XA
Other languages
Chinese (zh)
Other versions
CN109429376B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201710582820.XA priority Critical patent/CN109429376B/en
Publication of CN109429376A publication Critical patent/CN109429376A/en
Application granted granted Critical
Publication of CN109429376B publication Critical patent/CN109429376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • H04L47/762Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the network

Abstract

The invention discloses a kind of method for releasing resource and devices, it cannot accurately identify solving the network equipment in the prior art and need the resource that is released and accurately discharge, the resource for being normally carried out the terminal of communication service is also released while release needs the resource being released, the problem of leading to service disconnection, reducing user experience.In the method, the network equipment can determine the resource for needing to be released and release by the information stored in the first storage domain and the second storage domain, and therefore, the network equipment can accurately identify the resource for needing to be released and release, the resource normally occupied will not be discharged, to improve user experience.

Description

A kind of method for releasing resource and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of method for releasing resource and device.
Background technique
When accessing terminal to network equipment carries out various communication services, the network equipment can be realized for the terminal distribution Resource needed for communication service, after the terminal has executed communication service, the resource that the terminal occupies should be timely released, So that the network equipment continues as other terminal distributions resource.But after many terminals have executed data service at present, Its resource occupied simultaneously discharges not in time, and leading to the network equipment in this way can not be resource needed for other terminal distributions, causes it He can not execute communication service at terminal.
At present, it is generally the case that when network equipment determination cannot be resource needed for certain terminal distribution, automatically reset, discharge The resource that current all terminals occupy, initializes resource.Obviously, such network equipment cannot accurately identify needs and be released The resource put simultaneously accurately discharges, and the terminal for being normally carried out communication service is also released while release needs the resource being released Resource, lead to service disconnection, reduce user experience.
Summary of the invention
The present invention provides a kind of leakage resource method for releasing and device, cannot be quasi- to solve the network equipment in the prior art Really identification needs the resource being released and accurately discharges, and also releases and is normally carried out while release needs the resource being released The resource of the terminal of communication service, the problem of leading to service disconnection, reduce user experience.
Specific technical solution provided in an embodiment of the present invention is as follows:
In a first aspect, the embodiment of the invention provides a kind of terminal distribution resource record methods, comprising:
The network equipment stores domain and the second storage domain in accessing terminal to network, for the terminal distribution first;
The network equipment stores the mark of the terminal in first storage domain, deposits in second storage domain The mark in first storage domain and the mark of the terminal are stored up, and is come using the mark of the service resources for the terminal distribution Indicate second storage domain;
Wherein, the service resources are the resource for enabling the terminal realize communication service.
Second aspect, the embodiment of the invention provides a kind of method for releasing resource, comprising:
The network equipment determines the mark in the first storage domain stored in second storage domain for any second storage domain The mark of the terminal stored in the mark of the terminal stored in corresponding first storage domain, with second storage domain is inconsistent, Or determine the mark of not stored terminal in first storage domain;
The network equipment empties the information stored in second storage domain, and the second storage domain described in release mark The corresponding service resources of mark, wherein for indicating that being identified as second storage domain distributes to the mark of the terminal The mark of the service resources of corresponding terminal.
In conjunction with second aspect, in the first possible implementation of the second aspect, the method also includes:
The network equipment determines the mark of the terminal stored in first storage domain for any first storage domain, And determine the mark in first storage domain;
The network equipment determines the mark in not stored first storage domain and the end in any one second storage domain When the mark at end, the information stored in first storage domain is emptied.
The third aspect, the embodiment of the invention provides a kind of method for releasing resource, comprising:
The network equipment determines the mark of the terminal stored in first storage domain for any first storage domain, and Determine the mark in first storage domain;
When the network equipment determines that the duration for the mark that first storage domain stores the terminal is more than setting duration, The information stored in first storage domain is emptied;
The network equipment determines that there are one second to store the mark for storing first storage domain in domain and the end When the mark at end, the information stored in second storage domain is emptied, and the mark pair in the second storage domain described in release mark The service resources answered, wherein for indicating that being identified as second storage domain distributes to mark corresponding end of the terminal The mark of the service resources at end, the service resources are the resource for enabling the terminal realize communication service.
Fourth aspect, the embodiment of the invention provides a kind of network equipments, comprising:
Allocation unit, for storing domain and the second storage domain for the terminal distribution first in accessing terminal to network;
Processing unit, for storing the mark of the terminal in first storage domain, in second storage domain The mark in first storage domain and the mark of the terminal are stored, and uses the mark for the service resources for being the terminal distribution To indicate second storage domain;
Wherein, the service resources are the resource for enabling the terminal realize communication service.
5th aspect, the embodiment of the invention provides a kind of network equipments, comprising:
Determination unit, for determining the first storage domain stored in second storage domain for any second storage domain Mark corresponding first storage domain in the mark of terminal that stores, not with the mark of the terminal stored in second storage domain Unanimously, or determine it is described first storage domain in not stored terminal mark;
Releasing unit, for the information stored in second storage domain to be emptied, and the second storage described in release mark The corresponding service resources of the mark in domain, wherein for indicating that being identified as second storage domain distributes to the mark of the terminal Know the mark of the service resources of corresponding terminal.
In conjunction with the 5th aspect, in the first possible implementation of the 5th aspect,
The determination unit is also used to determine the terminal stored in first storage domain for any first storage domain Mark, and determine it is described first storage domain mark;And
Determine the mark of the mark and the terminal in not stored first storage domain in any one second storage domain;
The releasing unit is also used to determine not stored described first in any one second storage domain in the determination unit When storing the mark of mark and the terminal in domain, the information stored in first storage domain is emptied.
6th aspect, the embodiment of the invention provides a kind of network equipments, comprising:
Determination unit, for determining the mark of the terminal stored in first storage domain for any first storage domain, And determine the mark in first storage domain;And
The duration for determining the mark that first storage domain stores the terminal is more than setting duration;
Releasing unit, for determining that first storage domain stores the duration of the mark of the terminal in the determination unit When more than setting duration, the information stored in first storage domain is emptied;
The determination unit, be also used to determine there are one second store domain in store it is described first storage domain mark and The mark of the terminal;
The releasing unit is also used to determine that there are store described first in one second storage domain in the determination unit When storing the mark of mark and the terminal in domain, the information stored in second storage domain is emptied, and release mark institute State the corresponding service resources of mark in the second storage domain, wherein for indicating that being identified as domain of the second storage distributes to institute The mark of the service resources of the corresponding terminal of mark of terminal is stated, the service resources are that the terminal is enabled to realize communication service Resource.
In the technical solution of the embodiment of the present invention, the network equipment can be by storing in the first storage domain and the second storage domain Information determines and needs the resource that is released and release, therefore, the network equipment can accurately identify the resource for needing to be released And discharge, the resource normally occupied will not be discharged, to improve user experience.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of mobile communication system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of terminal distribution resource record method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of method for releasing resource provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another method for releasing resource provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of the network equipment provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another network equipment provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another network equipment provided in an embodiment of the present invention;
Fig. 8 is a kind of structure chart of the network equipment provided in an embodiment of the present invention;
Fig. 9 is the structure chart of another network equipment provided in an embodiment of the present invention;
Figure 10 is the structure chart of another network equipment provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of method for releasing resource and device, cannot to solve the network equipment in the prior art Accurately identify and need the resource that is released and accurately discharge, also released while release needs the resource being released normally into The resource of the terminal of row communication service, the problem of leading to service disconnection, reduce user experience.Wherein, the method for the invention Based on the same inventive concept with device, the principle solved the problems, such as due to method and device is similar, the implementation of apparatus and method Can be with cross-reference, overlaps will not be repeated.
In the technical solution of the embodiment of the present invention, the network equipment can be by storing in the first storage domain and the second storage domain Information determines and needs the resource that is released and release, therefore, the network equipment can accurately identify the resource for needing to be released And discharge, the resource normally occupied will not be discharged, to improve user experience.
In order to more clearly from describe the technical solution of the embodiment of the present invention, with reference to the accompanying drawing, to the embodiment of the present invention A kind of method for releasing resource and device provided is described in detail.
Fig. 1 shows a kind of applicable possible mobile communication system of method for releasing resource provided in an embodiment of the present invention, The framework of the mobile communication system includes: the network equipment and multiple terminals (as shown in Figure 1 terminal 1, terminal 2, terminal 3). Wherein,
The network equipment, for providing network insertion service for the multiple terminal, for the multiple terminal device point With required resource, so that the multiple terminal executes communication service by accessing the network equipment.
The multiple terminal, such as the terminal 1, the terminal 2, the terminal 3 in figure, for accessing the network Equipment executes communication service.
The network equipment is also used to release at the end of any one terminal accesses the network equipment and executes communication service It puts the terminal and executes the resource occupied when communication service, so that the network equipment can be other terminal distributions resource, make Other terminals execute communication service.
A kind of terminal distribution resource record method provided in an embodiment of the present invention.As shown in fig.2, the specific stream of this method Journey includes:
Step 201: the network equipment stores domain and the second storage in accessing terminal to network, for the terminal distribution first Domain.
Wherein, maintenance has multiple first storage domains and multiple second storages domain in the network equipment.
Optionally, may have in the terminal that synchronization accesses the network equipment it is multiple, therefore, the network equipment needle Step 201 is performed both by each terminal, wherein equal in the first storage domain and the second storage domain that the moment is each terminal distribution It is not identical, and be currently sky for the first storage domain of each terminal distribution and the second storage domain.
Step 202: the network equipment stores the mark of the terminal in first storage domain, deposits described second The mark in first storage domain and the mark of the terminal are stored in storage domain, and use the service resources for being the terminal distribution Mark come indicate it is described second storage domain.
Wherein, the service resources are the resource for enabling the terminal realize communication service.
Optionally, when including the mark of terminal in any one first storage domain, show that the first storage domain is occupied With;When the mark and terminal in the second storage domain that any one is indicated with the mark of service resources including the first storage domain When mark, show that the second storage domain is occupied, and indicate the corresponding industry of mark of the service resources in the second storage domain Resource of being engaged in is occupied.
Optionally, the mark of terminal can be indicated by alphabetical (such as a, b ...), can also by number (such as 1, 2 ...) it, can also indicate otherwise, the present invention is without limitation;First storage domain mark generally use number 1, 2 ... indicate, can also otherwise indicate, the present invention is without limitation;The mark of service resources can use service resources Classification indicates, such as A class, B class, specifically can be for the specific resource in every class service resources, such as A1, A2, B1, B2 etc..
A kind of terminal distribution resource record method provided using inventive embodiments, the network equipment is in accessing terminal to network When, domain and the second storage domain are stored for the terminal distribution first, then stores the terminal in first storage domain It identifies, the mark in first storage domain and the mark of the terminal is stored in second storage domain, and it is described for using The mark of the service resources of terminal distribution come indicate it is described second storage domain.In this way, it is subsequent need to discharge resource when, the net Network equipment can determine the resource for needing to be released and release by the information stored in the first storage domain and the second storage domain, because This, the network equipment can accurately identify the resource for needing to be released and release, the resource normally occupied will not be discharged, to mention High user experience.
A kind of method for releasing resource provided in an embodiment of the present invention.As shown in fig.3, the detailed process of this method includes:
Step 301: the network equipment determines the first storage stored in second storage domain for any second storage domain The mark of the terminal stored in the mark in domain corresponding first storage domain, the mark with the terminal stored in second storage domain It is inconsistent, or determine the mark of not stored terminal in first storage domain.
Wherein, it is described first storage domain in not stored terminal mark, indicate it is described first storage domain be sky.
Optionally, the network equipment can execute step 301 under following two scene:
Scene a1, there are a terminal, request the corresponding service resources of mark in second storage domain, but the net Network equipment determines that the service resources are currently occupied, and when cannot be distributed directly to the terminal, the network equipment executes step 301。
Scene a2, in the network equipment free time, such as the terminal for accessing the network equipment in daily morning is less When, the network equipment executes step 301.
For example, the mark D2 for being identified as service resources D2 in second storage domain, the network equipment determine described the First storage domain stored in two storage domains is identified as the first storage domain 1, and the terminal of storage is identified as terminal X;And the network equipment determines that first storage domain 1 corresponding first stores the terminal stored in domain and is identified as terminal Z, It can thus be appreciated that terminal X and terminal Z be not identical, that is, determine that the mark in the first storage domain stored in second storage domain is corresponding The mark of the terminal stored in the mark of the terminal stored in first storage domain, with second storage domain is inconsistent;Or
The mark D2 for being identified as service resources D2 in second storage domain, the network equipment determine second storage First storage domain stored in domain is identified as the first storage domain 1, and the terminal of storage is identified as terminal X, and institute It states the network equipment and determines that first storage domain 1 corresponding first stores domain as sky, that is, determine and do not deposited in first storage domain Store up the mark of terminal.
Step 302: the network equipment empties the information that stores in second storage domain, and the described in release mark The corresponding service resources of mark in two storage domains, wherein for indicating that being identified as domain of the second storage distributes to the end The mark of the service resources of the corresponding terminal of mark at end.
For example, the mark D2 for being identified as service resources D2 in second storage domain, the network equipment determine described the First storage domain stored in two storage domains is identified as the first storage domain 1, and the terminal of storage is identified as terminal X, at this point, the network equipment is when executing step 302, specifically: the network equipment will store in second storage domain The first storage domain 1 and the terminal X delete removings, and discharge the corresponding service resources D2 of D2.
Optionally, the method can also include:
A, the network equipment determines the mark of the terminal stored in first storage domain for any first storage domain Know, and determines the mark in first storage domain.
B, the network equipment determines in any one second storage domain the not stored first storage mark in domain and described When the mark of terminal, the information stored in first storage domain is emptied.
Optionally, the network equipment can execute above-mentioned steps a, b under following three scenes:
Scene b1, when needing to access the network equipment there are a terminal, the network equipment needs for the terminal point With it is described first storage domain, but the network equipment determine it is described first storage domain it is currently occupied, the end cannot be distributed to When end, the network equipment executes step a, b.
Scene b2, when needing to access the network equipment there are a terminal, the network equipment needs for the terminal point With one first storage domain, but the network equipment determines that each first storage domain is occupied, can not distribute to the terminal When, the network equipment executes step a, b.
Scene b3, in the network equipment free time, such as the terminal for accessing the network equipment in daily morning is less When, the network equipment executes step a, b.
Wherein, above-mentioned scene b3 and above-mentioned scene a2 is identical scene.
Optionally, for the network equipment before above-mentioned steps b, the network equipment traverses the second all storage domains, Judge the mark in first storage domain and the mark of the terminal whether are stored in each second storage domain.
For example, the network equipment determine the terminal stored in first storage domain be identified as terminal M and described First storage domain is identified as the first storage domain 3;All second storages of network equipment traversal domain, judges each second storage It whether is stored with the storage of terminal M and first domain 3 in domain, has terminal M and first when not stored in any one second storage domain of judgement When storing domain 3, the network equipment removes the storage of terminal M and first domain 3 stored in first storage domain.
A kind of method for releasing resource provided using inventive embodiments, the network equipment pass through the first storage domain and the second storage The information stored in domain determines the resource for needing to be released and release, and therefore, the network equipment can accurately identify needs and be released The resource put and release will not discharge the resource normally occupied, to improve user experience.
A kind of method for releasing resource provided in an embodiment of the present invention.As shown in fig.4, the detailed process of this method includes:
Step 401: the network equipment determines the mark of the terminal stored in first storage domain for any first storage domain Know, and determines the mark in first storage domain.
Optionally, the network equipment executes the network equipment in the scene and embodiment shown in Fig. 3 of step 401 and executes step Scene b1, b2, b3 of rapid a, b are identical, and details are not described herein again.
Step 402: the network equipment determines that the duration for the mark that first storage domain stores the terminal is more than to set When periodically long, the information stored in first storage domain is emptied.
Optionally, timer is maintain in the network equipment, when the network equipment is that terminal distribution first stores domain When, start the timer, when the timer expiry, shows that the duration for the mark that the first storage domain stores the terminal is super Cross setting duration.
For example, the network equipment determine the terminal stored in first storage domain be identified as terminal M and described First storage domain is identified as the first storage domain 3;When the duration for determining first storage domain storage terminal M is more than setting duration When, step 402 is executed, i.e., the described network equipment removes the terminal M that first storage domain stores.
Step 403: the network equipment, which determines to store there are one second, stores the described first mark for storing domain in domain When with the mark of the terminal, the information stored in second storage domain is emptied, and the second storage domain described in release mark The corresponding service resources of mark, wherein for indicating that being identified as second storage domain distributes to the mark of the terminal The mark of the service resources of corresponding terminal, the service resources are the resource for enabling the terminal realize communication service.
Optionally, for the network equipment after executing step 402, the network equipment traverses the second all storages Domain judges whether there is the mark of mark and the terminal that first storage domain is stored in one second storage domain.
For example, the network equipment determine the terminal stored in first storage domain be identified as terminal M and described First storage domain is identified as the first storage domain 3;All second storages of network equipment traversal domain, judges whether there is one It is stored with the storage of terminal M and first domain 3 in second storage domain, there is storage terminal M and the in one second storage domain when determining When one storage domain 3, step 403 is executed.
For example, the mark D2 for being identified as service resources D2 in second storage domain, the network equipment determine described the First storage domain stored in two storage domains is identified as the first storage domain 1, and the terminal of storage is identified as terminal X, the first storage domain 1 corresponding first store the terminal stored in domain and are identified as terminal X, and in step 403, the network is set It is standby to remove the first storage domain 1 and terminal X that store in second storage domain, and discharge the corresponding service resources D2 of D2.
A kind of method for releasing resource provided using inventive embodiments, the network equipment pass through the first storage domain and the second storage The information stored in domain determines the resource for needing to be released and release, and therefore, the network equipment can accurately identify needs and be released The resource put and release will not discharge the resource normally occupied, to improve user experience.
Based on above embodiments, the embodiment of the invention also provides a kind of network equipment, which, which has, is realized such as The function of a kind of terminal distribution resource record method shown in Fig. 2, as shown in figure 5, the network equipment 500 includes: allocation unit 501 and processing unit 502, wherein
The allocation unit 501, for storing domain and second for the terminal distribution first and depositing in accessing terminal to network Store up domain;
The processing unit 502 is deposited for storing the mark of the terminal in first storage domain described second The mark in first storage domain and the mark of the terminal are stored in storage domain, and use the service resources for being the terminal distribution Mark come indicate it is described second storage domain;
Wherein, the service resources are the resource for enabling the terminal realize communication service.
It is the terminal distribution the in accessing terminal to network using a kind of network equipment provided in an embodiment of the present invention One storage domain and the second storage domain, then store the mark of the terminal in first storage domain, in second storage The mark in first storage domain and the mark of the terminal are stored in domain, and use the service resources for being the terminal distribution It identifies to indicate second storage domain.In this way, it is subsequent need to discharge resource when, the network equipment can be deposited by first The information stored in storage domain and the second storage domain determines the resource for needing to be released and release, and therefore, the network equipment can be quasi- It really identifies the resource for needing to be released and release, the resource normally occupied will not be discharged, to improve user experience.
Based on above embodiments, the embodiment of the invention also provides a kind of network equipment, which, which has, is realized such as The function of a kind of method for releasing resource shown in Fig. 3, as shown in fig. 6, the network equipment 600 comprises determining that unit 601 and release Unit 602, wherein
The determination unit 601, for determining first stored in second storage domain for any second storage domain The mark of the terminal stored in the mark in storage domain corresponding first storage domain, stores the terminal stored in domain with described second Identify mark that is inconsistent, or determining not stored terminal in first storage domain;
The releasing unit 602, for emptying the information that stores in second storage domain, and the described in release mark The corresponding service resources of mark in two storage domains, wherein for indicating that being identified as domain of the second storage distributes to the end The mark of the service resources of the corresponding terminal of mark at end.
Optionally, the determination unit 601 is also used to determine in first storage domain for any first storage domain The mark of the terminal of storage, and determine the mark in first storage domain;And
Determine the mark of the mark and the terminal in not stored first storage domain in any one second storage domain;
The releasing unit 602 is also used to determine not stored institute in any one second storage domain in the determination unit 601 When stating the mark of mark and the terminal in the first storage domain, the information stored in first storage domain is emptied.
A kind of network equipment provided using inventive embodiments passes through the letter stored in the first storage domain and the second storage domain Breath determines the resource for needing to be released and release, and therefore, the network equipment, which can accurately identify, to be needed the resource being released and release It puts, the resource normally occupied will not be discharged, to improve user experience.
Based on above embodiments, the embodiment of the invention also provides a kind of network equipment, which, which has, is realized such as The function of a kind of method for releasing resource shown in Fig. 4, as shown in fig. 7, the network equipment 700 comprises determining that unit 701 and release Unit 702, wherein
The determination unit 701, for determining the terminal stored in first storage domain for any first storage domain Mark, and determine it is described first storage domain mark;And
The duration for determining the mark that first storage domain stores the terminal is more than setting duration;
The releasing unit 702, for determining that first storage domain stores the mark of the terminal in the determination unit When the duration of knowledge is more than setting duration, the information stored in first storage domain is emptied;
The determination unit 701 is also used to determine that there are the marks that first storage domain is stored in one second storage domain Know the mark with the terminal;
The releasing unit 702 is also used to determine that there are described in storage in one second storage domain in the determination unit When the mark of the mark and the terminal in the first storage domain, the information stored in second storage domain is emptied, and discharge mark The mark corresponding service resources in the second storage domain described in will, wherein for indicating that second storage domain is identified as distribution To the mark of the service resources of the corresponding terminal of mark of the terminal, the service resources are that the terminal is enabled to realize communication industry The resource of business.
A kind of network equipment provided using inventive embodiments passes through the letter stored in the first storage domain and the second storage domain Breath determines the resource for needing to be released and release, and therefore, the network equipment, which can accurately identify, to be needed the resource being released and release It puts, the resource normally occupied will not be discharged, to improve user experience.
It should be noted that being schematical, only a kind of logic function to the division of unit in the embodiment of the present invention It divides, there may be another division manner in actual implementation.Each functional unit in embodiments herein can integrate In one processing unit, it is also possible to each unit and physically exists alone, one can also be integrated in two or more units In a unit.Above-mentioned integrated unit both can take the form of hardware realization, can also be in the form of software functional units It realizes.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk Etc. the various media that can store program code.
Based on above embodiments, the embodiment of the invention also provides a kind of network equipment, which, which has, is realized such as A kind of function of terminal distribution resource record method shown in Fig. 2.As shown in fig.8, the network equipment 800 includes: processor 801, transceiver 802, bus 803 and memory 804, wherein
The processor 801 executes following process for reading the program in the memory 804:
In accessing terminal to network, domain and the second storage domain are stored for the terminal distribution first;
The mark that the terminal is stored in first storage domain stores described first in second storage domain and deposits The mark in domain and the mark of the terminal are stored up, and indicates described second using the mark of the service resources for the terminal distribution Store domain;
Wherein, the service resources are the resource for enabling the terminal realize communication service.
Wherein, in fig. 8, bus architecture may include the bus and bridge of any number of interconnection, specifically by the processing The various circuits for the memory that the one or more processors and the memory 804 that device 801 represents represent link together.Always Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can also be linked at one by line architecture It rises, these are all it is known in the art, and therefore, it will not be further described herein.Bus interface provides interface.Institute Stating transceiver 802 can be multiple element, that is, include transmitter and transceiver, provide for over a transmission medium with it is various other The unit of device communication.The processor 801, which is responsible for management bus architecture and common processing, the memory 804, to be deposited Store up the processor 801 used data when executing operation.
It is the terminal distribution the in accessing terminal to network using a kind of network equipment provided in an embodiment of the present invention One storage domain and the second storage domain, then store the mark of the terminal in first storage domain, in second storage The mark in first storage domain and the mark of the terminal are stored in domain, and use the service resources for being the terminal distribution It identifies to indicate second storage domain.In this way, it is subsequent need to discharge resource when, the network equipment can be deposited by first The information stored in storage domain and the second storage domain determines the resource for needing to be released and release, and therefore, the network equipment can be quasi- It really identifies the resource for needing to be released and release, the resource normally occupied will not be discharged, to improve user experience.
Based on above embodiments, the embodiment of the invention also provides a kind of network equipment, which, which has, is realized such as A kind of function of method for releasing resource shown in Fig. 3.As shown in fig.9, the network equipment 900 includes: processor 901, transmitting-receiving Machine 902, bus 903 and memory 904, wherein
The processor 901 executes following process for reading the program in the memory 904:
For any second storage domain, the mark corresponding the in the first storage domain stored in second storage domain is determined The mark of the terminal stored in the mark of the terminal stored in one storage domain, with second storage domain is inconsistent, or determines The mark of not stored terminal in first storage domain;
The information stored in second storage domain is emptied, and the mark in the second storage domain described in release mark is corresponding Service resources, wherein for indicating that being identified as second storage domain distributes to the corresponding terminal of mark of the terminal The mark of service resources.
Optionally, the processor 901, is also used to:
For any first storage domain, the mark of the terminal stored in first storage domain is determined, and described in determination The mark in the first storage domain;
It, will when determining the mark of the mark and the terminal in not stored first storage domain in any one second storage domain The information stored in first storage domain empties.
Wherein, in Fig. 9, bus architecture may include the bus and bridge of any number of interconnection, specifically by the processing The various circuits for the memory that the one or more processors and the memory 904 that device 901 represents represent link together.Always Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can also be linked at one by line architecture It rises, these are all it is known in the art, and therefore, it will not be further described herein.Bus interface provides interface.Institute Stating transceiver 902 can be multiple element, that is, include transmitter and transceiver, provide for over a transmission medium with it is various other The unit of device communication.The processor 901, which is responsible for management bus architecture and common processing, the memory 904, to be deposited Store up the processor 901 used data when executing operation.
A kind of network equipment provided using inventive embodiments passes through the letter stored in the first storage domain and the second storage domain Breath determines the resource for needing to be released and release, and therefore, the network equipment, which can accurately identify, to be needed the resource being released and release It puts, the resource normally occupied will not be discharged, to improve user experience.
Based on above embodiments, the embodiment of the invention also provides a kind of network equipment, which, which has, is realized such as A kind of function of method for releasing resource shown in Fig. 4.As shown in fig.10, the network equipment 1000 includes: processor 1001, receives Hair machine 1002, bus 1003 and memory 1004, wherein
The processor 1001 executes following process for reading the program in the memory 1004:
For any first storage domain, the mark of the terminal stored in first storage domain is determined, and described in determination The mark in the first storage domain;
When determining that the duration for the mark that first storage domain stores the terminal is more than setting duration, described first is deposited The information stored in storage domain empties;
It, will when determining to store the mark for storing the mark and the terminal in first storage domain in domain there are one second The information stored in second storage domain empties, and the corresponding service resources of mark in the second storage domain described in release mark, Wherein, for indicating the service resources that are identified as the corresponding terminal of mark for distributing to the terminal in second storage domain Mark, the service resources are the resource for enabling the terminal realize communication service.
Wherein, in Figure 10, bus architecture may include the bus and bridge of any number of interconnection, specifically by the processing The various circuits for the memory that the one or more processors and the memory 1004 that device 1001 represents represent link together. Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can also be linked at one by bus architecture It rises, these are all it is known in the art, and therefore, it will not be further described herein.Bus interface provides interface.Institute Stating transceiver 1002 can be multiple element, that is, include transmitter and transceiver, provide for over a transmission medium with it is various its The unit of his device communication.The processor 1001 is responsible for management bus architecture and common processing, and the memory 1004 can To store the processor 1001 used data when executing operation.
A kind of network equipment provided using inventive embodiments passes through the letter stored in the first storage domain and the second storage domain Breath determines the resource for needing to be released and release, and therefore, the network equipment, which can accurately identify, to be needed the resource being released and release It puts, the resource normally occupied will not be discharged, to improve user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of terminal distribution resource record method characterized by comprising
The network equipment stores domain and the second storage domain in accessing terminal to network, for the terminal distribution first;
The network equipment stores the mark of the terminal in first storage domain, stores institute in second storage domain The mark in the first storage domain and the mark of the terminal are stated, and is indicated using the mark of the service resources for the terminal distribution Second storage domain;
Wherein, the service resources are the resource for enabling the terminal realize communication service.
2. a kind of method for releasing resource characterized by comprising
The network equipment determines that the mark in the first storage domain stored in second storage domain is corresponding for any second storage domain The first storage domain in the mark of terminal that stores, it is inconsistent with the mark of the terminal stored in second storage domain, or Determine the mark of not stored terminal in first storage domain;
The network equipment empties the information stored in second storage domain, and the mark in the second storage domain described in release mark Know corresponding service resources, wherein for indicate second storage domain be identified as distribute to the terminal mark it is corresponding Terminal service resources mark.
3. method according to claim 2, which is characterized in that further include:
The network equipment determines the mark of the terminal stored in first storage domain for any first storage domain, and Determine the mark in first storage domain;
The network equipment determines the mark and the terminal in not stored first storage domain in any one second storage domain When mark, the information stored in first storage domain is emptied.
4. a kind of method for releasing resource characterized by comprising
The network equipment determines the mark of the terminal stored in first storage domain for any first storage domain, and determines The mark in first storage domain;
When the network equipment determines that the duration for the mark that first storage domain stores the terminal is more than setting duration, by institute The information stored in the first storage domain is stated to empty;
The network equipment, which determines to store there are one second, stores identifying and the terminal for first storage domain in domain When mark, the information stored in second storage domain is emptied, and the mark in the second storage domain described in release mark is corresponding Service resources, wherein for indicating that being identified as second storage domain distributes to the corresponding terminal of mark of the terminal The mark of service resources, the service resources are the resource for enabling the terminal realize communication service.
5. a kind of network equipment characterized by comprising
Allocation unit, for storing domain and the second storage domain for the terminal distribution first in accessing terminal to network;
Processing unit stores in second storage domain for storing the mark of the terminal in first storage domain The mark in first storage domain and the mark of the terminal, and marked using the mark of the service resources for the terminal distribution Second storage domain described in will;
Wherein, the service resources are the resource for enabling the terminal realize communication service.
6. a kind of network equipment characterized by comprising
Determination unit, for determining the mark in the first storage domain stored in second storage domain for any second storage domain The mark of the terminal stored in the mark for knowing the terminal stored in corresponding first storage domain, with second storage domain is different It causes, or determines the mark of not stored terminal in first storage domain;
Releasing unit, for the information stored in second storage domain to be emptied, and the second storage domain described in release mark Identify corresponding service resources, wherein for indicating that being identified as second storage domain distributes to the mark pair of the terminal The mark of the service resources for the terminal answered.
7. the network equipment as claimed in claim 6, which is characterized in that
The determination unit is also used to determine the mark of the terminal stored in first storage domain for any first storage domain Know, and determines the mark in first storage domain;And
Determine the mark of the mark and the terminal in not stored first storage domain in any one second storage domain;
The releasing unit is also used to determine not stored first storage in any one second storage domain in the determination unit When the mark of the mark and the terminal in domain, the information stored in first storage domain is emptied.
8. a kind of network equipment characterized by comprising
Determination unit stores domain for being directed to any first, determines the mark of the terminal stored in first storage domain, and Determine the mark in first storage domain;And
The duration for determining the mark that first storage domain stores the terminal is more than setting duration;
Releasing unit, the duration for determining that described first stores the mark that domain stores the terminal in the determination unit are more than When setting duration, the information stored in first storage domain is emptied;
The determination unit, is also used to determine to store there are one second and stores the first storage mark in domain and described in domain The mark of terminal;
The releasing unit is also used to determine that there are store first storage in one second storage domain in the determination unit When the mark of the mark in domain and the terminal, the information that stores in second storage domain is emptied, and the described in release mark The corresponding service resources of mark in two storage domains, wherein for indicating that being identified as domain of the second storage distributes to the end The mark of the service resources of the corresponding terminal of mark at end, the service resources are the money for enabling the terminal realize communication service Source.
CN201710582820.XA 2017-07-17 2017-07-17 Resource release method and device Active CN109429376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710582820.XA CN109429376B (en) 2017-07-17 2017-07-17 Resource release method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710582820.XA CN109429376B (en) 2017-07-17 2017-07-17 Resource release method and device

Publications (2)

Publication Number Publication Date
CN109429376A true CN109429376A (en) 2019-03-05
CN109429376B CN109429376B (en) 2020-09-25

Family

ID=65497181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710582820.XA Active CN109429376B (en) 2017-07-17 2017-07-17 Resource release method and device

Country Status (1)

Country Link
CN (1) CN109429376B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1957336A (en) * 2004-06-15 2007-05-02 索尼株式会社 Information management device and information management method
CN101227415A (en) * 2008-02-04 2008-07-23 华为技术有限公司 Multi business resource allocation method, system, gateway equipment and authentication server
CN103997540A (en) * 2014-06-10 2014-08-20 深圳市友华通信技术有限公司 Method for achieving distributed storage of network, storage system and customer premise equipment
CN104284451A (en) * 2014-09-22 2015-01-14 大唐移动通信设备有限公司 User resource releasing method and devices
CN104618421A (en) * 2014-12-10 2015-05-13 深圳市腾讯计算机系统有限公司 Method and device for distributing storage resources
CN106502840A (en) * 2016-10-25 2017-03-15 广东欧珀移动通信有限公司 A kind of data back up method, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1957336A (en) * 2004-06-15 2007-05-02 索尼株式会社 Information management device and information management method
CN101227415A (en) * 2008-02-04 2008-07-23 华为技术有限公司 Multi business resource allocation method, system, gateway equipment and authentication server
CN103997540A (en) * 2014-06-10 2014-08-20 深圳市友华通信技术有限公司 Method for achieving distributed storage of network, storage system and customer premise equipment
CN104284451A (en) * 2014-09-22 2015-01-14 大唐移动通信设备有限公司 User resource releasing method and devices
CN104618421A (en) * 2014-12-10 2015-05-13 深圳市腾讯计算机系统有限公司 Method and device for distributing storage resources
CN106502840A (en) * 2016-10-25 2017-03-15 广东欧珀移动通信有限公司 A kind of data back up method, apparatus and system

Also Published As

Publication number Publication date
CN109429376B (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN109194584A (en) A kind of flux monitoring method, device, computer equipment and storage medium
CN110399307A (en) A kind of test method, test platform and destination server
CN107395665A (en) A kind of block chain service handling and business common recognition method and device
CN109784934A (en) A kind of transaction risk control method, apparatus and relevant device and medium
CN106383764B (en) A kind of collecting method and equipment
CN111506404A (en) Kubernetes-based shared GPU (graphics processing Unit) scheduling method
CN108351806A (en) Database trigger of the distribution based on stream
CN109614209A (en) A kind of task processing method, application server and system
CN106685894B (en) Risk identification method, device and system
CN104572301A (en) Resource distribution method and system
CN110389843A (en) A kind of business scheduling method, device, equipment and readable storage medium storing program for executing
CN106713396A (en) Server scheduling method and system
CN112560114B (en) Method and device for calling intelligent contract
CN108268296A (en) Loading method, the client and server of page layout
CN108259238A (en) The method that network function service chaining maps in data center
CN108460585A (en) A kind of resource acquiring method, resource allocation methods, device and electronic equipment
CN108241531A (en) A kind of method and apparatus for distributing resource for virtual machine in the cluster
CN109873714A (en) Cloud computing node configures update method and terminal device
CN109995787A (en) A kind of data processing method and relevant device
CN104657216B (en) The resource allocation methods and device of a kind of resource pool
CN109614263A (en) A kind of disaster tolerance data processing method, apparatus and system
CN109615423A (en) The processing method and processing device of business
CN104281587B (en) A kind of method and device for establishing connection
CN109429376A (en) A kind of method for releasing resource and device
CN110286961A (en) Process based on physical host processor hangs up method and relevant device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant