CN103092939B - A kind of management method of chain of command tunnel nodes mark and device - Google Patents

A kind of management method of chain of command tunnel nodes mark and device Download PDF

Info

Publication number
CN103092939B
CN103092939B CN201310008081.5A CN201310008081A CN103092939B CN 103092939 B CN103092939 B CN 103092939B CN 201310008081 A CN201310008081 A CN 201310008081A CN 103092939 B CN103092939 B CN 103092939B
Authority
CN
China
Prior art keywords
subscript
node instance
contextual information
teidc
array
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.)
Active
Application number
CN201310008081.5A
Other languages
Chinese (zh)
Other versions
CN103092939A (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 CN201310008081.5A priority Critical patent/CN103092939B/en
Publication of CN103092939A publication Critical patent/CN103092939A/en
Application granted granted Critical
Publication of CN103092939B publication Critical patent/CN103092939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides management method and the device of a kind of chain of command tunnel nodes mark, to waste resource in the process solving distribution T EIDC, affect the problem of allocative efficiency.Described method comprises: obtain contextual information; When described contextual information meets pre-conditioned, a node instance is obtained from example array, wherein, described node instance comprises the index of contextual information and the value of chain of command tunnel nodes mark TEIDC, and described example array is for storing unappropriated node instance; The index of contextual information in described node instance is associated with the contextual information in described peer distribution request, to distribute described node instance; From described node instance, obtain the value of chain of command tunnel nodes mark TEIDC, and return.

Description

A kind of management method of chain of command tunnel nodes mark and device
Technical field
The present invention relates to the communication technology, particularly relate to management method and the device of a kind of chain of command tunnel nodes mark.
Background technology
At Long Term Evolution (Long Term Evolution, LTE) evolution block core (Evolved PacketCore, EPC) in network, Mobility Management Entity (Mobility Management Entity, MME) network element and gateway (Serving Gateway, SGW) interface S11 is adopted between network element, SGW network element and packet data network gateway (Packet Data Network Gateway, PGW) interface S58 is adopted between network element, wherein, interface S11 and interface S58 adopts general packet radio service tunneling protocol for control plane (GTP-C) (GPRS Tunnelling Protocol Control, GTP-C) agreement, wherein, general packet radio service (General Packet Radio Service, GPRS).
GTP-C agreement transmits tunnels by GTP-C to identifying two internodal chains of command, wherein, described GTP-C is formed the TEIDC being chain of command tunnel nodes mark (Tunnel EndpointIdentifier Of Control, TEIDC) and the local terminal distribution distributed by opposite end.Adopt GTP-C agreement to be beneficial to the management in path, but now need to ensure that the TEIDC distributed is unique at intra-office, then can unique identification transmission tunnel by TEIDC.
For interface S11, because the signaling of a user in communication process will be transmitted by a transmission tunnel, therefore subscriber equipment (User Equipment to also be adopted, UE) contextual information identifies this user belonging to transmission tunnel, then the contextual information of TEIDC and the UE distributed will have relation one to one.Same in interface S58, the contextual information of TEIDC and the PDN of distribution will have relation one to one.
In order to ensure that the TEIDC distributed is unique at intra-office, and ensure the one-to-one relationship of TEIDC and the contextual information distributed, therefore the distribution method of a kind of TEIDC is, dispose the resource controlled block of the overall situation, and in this resource controlled block, be configured with a distribution node, adopt all TEIDCs of this distribution node to intra-office to carry out unified distribution and record.
When performing the distribution of TEIDC, distribution node can receive the distribution request that network element sends, the contextual information of user is comprised in described distribution request, distribution node is after determining the unallocated TEIDC of this user, can be this user distribution T EIDC, therefore first according to recording the TEIDC determining not to be assigned with, the user due to intra-office in this process be a lot, therefore by the method for searching, mating to come distribution T EIDC very loaded down with trivial details, efficiency is lower.After determining the TEIDC of distribution, the contextual information of this user and the incidence relation of described TEIDC can be set up.Thus the transmission tunnel of this user can be determined, this user follow-up can in this transmission tunnel command transmitting.
But, adopt said method in the process of distribution T EIDC, determine that the process that TEIDC is not assigned with is more loaded down with trivial details according to record.All want query note to compare waste resource before every sub-distribution, affect allocative efficiency.
Summary of the invention
The invention provides management method and the device of a kind of chain of command tunnel nodes mark, to waste resource in the process solving distribution T EIDC, affect the problem of allocative efficiency.
In order to solve the problem, the invention discloses the management method of a kind of chain of command tunnel nodes mark, comprising:
Obtain contextual information;
When described contextual information meets pre-conditioned, a node instance is obtained from example array, wherein, described node instance comprises the index of contextual information and the value of chain of command tunnel nodes mark TEIDC, and described example array is for storing unappropriated node instance;
The index of contextual information in described node instance is associated with the contextual information in described peer distribution request, to distribute described node instance;
From described node instance, obtain the value of chain of command tunnel nodes mark TEIDC, and return.
Optionally, described pre-conditionedly do not exist described contextual information for described, and described method also comprises: whether detect described contextual information does not exist; If described contextual information exists, then obtain the node instance that described contextual information is corresponding.
Optionally, described from example array obtain a node instance, comprise: obtain the chained list corresponding with described example array, now the table tail of described chained list points to last node instance of described example array, gauge outfit points to any node example in example array; Obtain the node instance that described gauge outfit is pointed to; Keep described table tail motionless, described gauge outfit is pointed to a rear node instance of the node instance obtained.
Optionally, using the subscript of the value of chain of command tunnel nodes mark TEIDC in node instance as this node instance, then adopt subscript array to manage the subscript of each node instance in described instance number group, in subscript array, store described subscript successively according to the order of memory node example in example array; Describedly from example array, obtain a node instance, comprising: obtains the chained list corresponding with described subscript array, the table tail of described chained list points to last subscript of described subscript array, arbitrary subscript in gauge outfit sensing subscript array; Obtain the subscript that described gauge outfit is pointed to, and determine corresponding node instance according to the subscript obtained; Keep the table tail of described chained list motionless, described gauge outfit is pointed to a subscript after the lower target of described acquisition.
Optionally, the index of contextual information in described node instance is associated with the contextual information in described peer distribution request, comprising: based on the index of contextual information in described node instance, search the memory address of described contextual information; Contextual information in described peer distribution request is saved in described memory address.
Optionally, the value of described chain of command tunnel nodes mark TEIDC comprises high-order portion and low portion, then using low portion in the value of chain of command tunnel nodes mark TEIDC as the subscript of node instance interior joint example, described method also comprises: a selected signal command board, and obtain the sequence number of described signal command board, using the high-order portion of described sequence number as the value of described chain of command tunnel nodes mark TEIDC.
Optionally, described contextual information comprises: the contextual information of subscriber equipment or the contextual information of shared data net.
Optionally, described method also comprises: the method for releasing of node instance, specifically comprises: obtain the chained list corresponding with described example array, and now the table tail of described chained list and gauge outfit point to a subscript in described subscript array respectively; Discharge the subscript that described table tail points to, and the node instance that described subscript is corresponding; Keep described gauge outfit motionless, by a subscript after the lower target of described table tail sensing release.
Accordingly, embodiments provide the management devices of a kind of chain of command tunnel nodes mark, comprising:
Receiver module, for obtaining contextual information;
Acquisition module, for when described contextual information meets pre-conditioned, from example array, obtain a node instance, wherein, described node instance comprises the index of contextual information and the value of chain of command tunnel nodes mark TEIDC, and described example array is for storing unappropriated node instance;
Relating module, for being associated with the contextual information in described peer distribution request by the index of contextual information in described node instance, to distribute described node instance;
Returning module, for obtaining the value of chain of command tunnel nodes mark TEIDC from described node instance, and returning.
Optionally, described pre-conditionedly do not exist described contextual information for described, and described device also comprises: detection module; Whether described detection module, do not exist for detecting described contextual information; Then described acquisition module, also for when described contextual information exists, then obtains the node instance that described contextual information is corresponding.
Optionally, described acquisition module, comprising: first obtains submodule, and for obtaining the chained list corresponding with described example array, now the table tail of described chained list points to last node instance of described example array, and gauge outfit points to any node example in example array; Second obtains submodule, for obtaining the node instance that described gauge outfit is pointed to; Mover module, for keeping described table tail motionless, points to a rear node instance of the node instance obtained by described gauge outfit.
Optionally, using the subscript of the value of chain of command tunnel nodes mark TEIDC in node instance as this node instance, then adopt subscript array to manage the subscript of each node instance in described instance number group, in subscript array, store described subscript successively according to the order of memory node example in example array; Described acquisition module, comprising: first obtains submodule, and for obtaining the chained list corresponding with described subscript array, the table tail of described chained list points to last subscript of described subscript array, and gauge outfit points to arbitrary subscript in subscript array; Second obtains submodule, for obtaining the subscript that described gauge outfit is pointed to, and determines corresponding node instance according to the subscript obtained; Mover module, for keeping the table tail of described chained list motionless, points to a subscript after the lower target of described acquisition by described gauge outfit.
Optionally, described relating module, comprising: search submodule, for the index based on contextual information in described node instance, searches the memory address of described contextual information; Preserve submodule, for being saved in described memory address by the contextual information in described peer distribution request.
Optionally, the value of described chain of command tunnel nodes mark TEIDC comprises high-order portion and low portion, then using low portion in the value of chain of command tunnel nodes mark TEIDC as the subscript of node instance interior joint example, described device also comprises: high-value acquisition module, for a selected signal command board, and obtain the sequence number of described signal command board, using the high-order portion of described sequence number as the value of described chain of command tunnel nodes mark TEIDC.
Optionally, described contextual information comprises: the contextual information of subscriber equipment or the contextual information of shared data net.
Optionally, also comprise: release module, for the method for releasing of node instance; Described release module.Comprise: first obtains submodule, for obtaining the chained list corresponding with described example array, now the table tail of described chained list and gauge outfit point to a subscript in described subscript array respectively; Second obtains submodule, for discharging the subscript that described table tail points to, and the node instance that described subscript is corresponding; Mover module, for keeping described gauge outfit motionless, by a subscript after the lower target of described table tail sensing release.
Compared with prior art, the present invention includes following advantage:
First, the embodiment of the present invention adopts node instance to store the index of contextual information and the value of TEIDC, thus has both ensured the value uniqueness of TEIDC, in turn ensure that the corresponding relation of TEIDC and contextual information.Therefore according to peer distribution acquisition request contextual information, thus after determining to need distribution T EIDC, can obtain a node instance from example array, now can determine the value of TEIDC, TEIDC distribution method is very convenient, simple.Again by the contextual information in peer distribution request, associate with the index of the contextual information in node instance, thus establish the corresponding relation of TEIDC and contextual information, the foundation of corresponding relation is very convenient, simple to operate.Complete the distribution of node instance, also namely complete the distribution of TEIDC, the value of TEIDC can be returned.Thus the embodiment of the present invention can distribution T EIDC efficiently, and the corresponding relation of TEIDC and contextual information efficiently, easy and simple to handle, save time, efficiency is higher.
Secondly, the present invention using the subscript of the value of TEIDC in node instance as this node instance, can also adopt subscript array to manage the subscript of each node instance in described instance number group, thus has unified management to the value of TEIDC.Then timestamp under employing chained list obtains, just can obtain the value of TEIDC fast.
Again, in the embodiment of the present invention, the value of TEIDC comprises high-order portion and low portion, in order to reduce the waste of resource, and can using low portion in the value of TEIDC as the subscript of node instance interior joint example.Then after distributing node instance, can using the high-order portion of the sequence number of selected signal command board as the value of TEIDC, wherein, the signaling of the transmission tunnel transmission that this TEIDC identifies all will be received by described selected signal command board.Thus on the basis determining TEIDC uniqueness, decrease the waste of resource.
Accompanying drawing explanation
Fig. 1 is the management method process flow diagram of a kind of TEIDC described in the embodiment of the present invention;
Fig. 2 is the first node instance acquisition methods process flow diagram described in the embodiment of the present invention;
Fig. 3 is the second node instance acquisition methods process flow diagram described in the embodiment of the present invention;
Fig. 4 is that node instance described in the embodiment of the present invention obtains schematic diagram;
Fig. 5 is the method for releasing process flow diagram of node instance described in the embodiment of the present invention;
Fig. 6 is the management devices structural drawing of TEIDC described in the embodiment of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
In the EPC network of LTE, adopt interface S11 between MME network element and SGW network element, adopt interface S58 between SGW network element and PGW network element, wherein, interface S11 and interface S58 adopts GTP-C agreement.
GTP-C agreement is by GTP-C to identifying two internodal chain of command transmission tunnels, and wherein, described GTP-C is formed the TEIDC being TEIDC and the local terminal distribution distributed by opposite end.Adopt GTP-C agreement to be beneficial to the management in path, but now need to ensure that the TEIDC distributed is unique at intra-office, then can unique identification transmission tunnel by TEIDC.
For interface S11, because the signaling of a user in communication process will be transmitted by a transmission tunnel, the contextual information of TEIDC and the UE therefore distributed will have relation one to one.Same in interface S58, the contextual information of TEIDC and the PDN of distribution will have relation one to one.
In order to ensure that the TEIDC distributed is unique at intra-office, and ensure the one-to-one relationship of TEIDC and the contextual information distributed, therefore the distribution method of a kind of TEIDC is, dispose the resource controlled block of the overall situation, and in this resource controlled block, be configured with a distribution node, adopt all TEIDCs of this distribution node to intra-office to carry out unified distribution and record.
When performing the distribution of TEIDC, distribution node can receive the distribution request that network element sends, the contextual information of user is comprised in described distribution request, distribution node is after determining the unallocated TEIDC of this user, can be this user distribution T EIDC, therefore first according to recording the TEIDC determining not to be assigned with, the user due to intra-office in this process be a lot, therefore by the method for searching, mating to come distribution T EIDC very loaded down with trivial details, efficiency is lower.After determining the TEIDC of distribution, the context of this user and the incidence relation of described TEIDC can be set up.Thus the transmission tunnel of this user can be determined, this user follow-up can in this transmission tunnel command transmitting.
But, adopt said method in the process of distribution T EIDC, determine that the process that TEIDC is not assigned with is more loaded down with trivial details according to record, all want query note to compare waste resource before every sub-distribution, affect allocative efficiency.
Embodiments provide the management method of a kind of TEIDC, adopt node instance to preserve the value of TEIDC and the index of corresponding contextual information, it is hereby ensured the uniqueness of TEIDC, and the one-to-one relationship of TEIDC and contextual information.Therefore, when distributing TEIDC, can obtain node instance successively from example array, thus obtain the value of TEIDC fast, allocative efficiency is higher.
With reference to Fig. 1, give the management method process flow diagram of a kind of TEIDC described in the embodiment of the present invention.
Step 101, obtains contextual information.
In actual treatment, MME network element and SGW network element, and adopt GTPC signaling message between SGW network element and PGW network element, when SGW network element judges that the message that MME sends is the first bag message of this user, obtain the TEIDC about this user that MME distributes within the message, and the contextual information of correspondence.
After this, SGW network element distributes a TEIDC will to this user, then feeds back to MME network element by response message, thus sets up a transmission tunnel (i.e. GTPC tunnel).
Concrete, described contextual information comprises: the contextual information of UE or the contextual information of PDN.As comprised the contextual information of UE in the message that received by interface S11, and for example, in the message received by interface S58, comprise the contextual information of PDN.
For interface S11, when base station detect the UE of user need to transmit tunnel carry out the transmission of data, signaling transmission time, base station can send request to MME network element, if MME network element sends GTPC signaling message to SGW network element, SGW network element obtains the contextual information of TEIDC and UE of this user from GTPC signaling message.
Whether step 102, detect described contextual information and meet pre-conditioned.
Described pre-conditioned be detect described contextual information whether meet pre-conditioned, if meet, then perform step 104, if do not meet, then perform step 103.
Because TEIDC and contextual information possess one-to-one relationship, if therefore user is registered in a network, namely there is the transmission tunnel of described user, then described user distributed TEIDC, just can be found the TEIDC of this user distribution by described contextual information, not need distribution T EIDC again.If user is not registered in a network, namely there is not the transmission tunnel of described user, then this user does not have TEIDC, needs for its distribution T EIDC.Therefore described pre-conditioned being configured to described contextual information can be there is not.
Then can detect in SGW network element the contextual information whether do not existed in described peer distribution request, if so, namely there is not described contextual information, then described contextual information meets pre-conditioned, follow-up execution step 104.If not, namely there is described contextual information, then described contextual information does not meet pre-conditioned, follow-up execution step 103.
Step 103, obtains the node instance that described contextual information is corresponding.
If described contextual information does not meet pre-conditioned, namely there is described contextual information, then can be found the value of the TEIDC corresponding with it by described contextual information.
In the embodiment of the present invention, node instance can be adopted to preserve the value of TEIDC and the index of contextual information, namely described node instance comprises the index of contextual information and the value of TEIDC, thus can be identified the corresponding relation of TEIDC and contextual information by described node instance.Owing to storing the value of TEIDC in node instance, and the index of the contextual information corresponding with it, therefore after getting contextual information, also can find corresponding node instance, be searched the value of TEIDC by described node instance.
Step 104, obtains a node instance from example array.
The embodiment of the present invention, will preserve the set array as an example of node instance, then example array can be preserved and be stored unappropriated node instance.
Therefore, when described contextual information meets pre-conditioned, when namely there is not described contextual information in SGW network element, a node instance can be obtained from described example array, to carry out the distribution of TEIDC.Specifically comprise the following steps:
With reference to Fig. 2, give the first node instance acquisition methods process flow diagram described in the embodiment of the present invention.
Step 201, obtains the chained list corresponding with described example array.
In the embodiment of the present invention, be also configured with chained list in SGW network element, described chained list is used for controlling example array, managing, and the headers and footers of concrete chained list points to a node instance in example array respectively.In the embodiment of the present invention, can there is Multi-instance array, therefore corresponding chained list also has multiple.
Wherein, when distributing node instance, the table tail of described chained list can be adopted to point to last node instance of described example array, gauge outfit points to any node example in example array.
Therefore, when for described user's distribution node example, the chained list corresponding with described example array first to be obtained, thus by described chained list distribution node example.
Step 202, obtains the node instance that described gauge outfit is pointed to.
The node instance that the gauge outfit that then can obtain described chained list is pointed to, feeds back to SGW network element by described node instance, thus realizes the distribution to node instance.
Step 203, keeps described table tail motionless, described gauge outfit is pointed to a rear node instance of the node instance obtained.
Then the table tail of described chained list can be kept motionless, described gauge outfit is performed a rear node instance of the node instance obtained.
With reference to Fig. 3, give the second node instance acquisition methods process flow diagram described in the embodiment of the present invention.
With reference to Fig. 4, give node instance described in the embodiment of the present invention and obtain schematic diagram.
In the embodiment of the present invention, can using the subscript of the value of TEIDC in node instance as this node instance.Thus the value of TEIDC just can be obtained fast when obtaining node instance.
Therefore, in order to manage the subscript of node instance and the value of TEIDC, the subscript of node instance each in example array can also be formed a set, using described set as subscript array, thus be assigned with a subscript array for instance number group, described subscript array can be adopted to manage the subscript of each node instance in described instance number group.
Wherein, in subscript array, described subscript is stored successively according to the order of memory node example in example array.Namely obtain the order of memory node example in example array, then in following table array, store subscript corresponding to each node instance successively according to described order.
As Fig. 4, storing node instance in example array L, is A, B, C and D respectively.Store the subscript of above-mentioned each node instance in corresponding subscript array L ' respectively, comprising: 0,1,2 and 3.
Also be configured with a chained list for controlling described subscript array L ', the headers and footers that can configure described chained list time initial points to first subscript 0 in subscript array L ' and last subscript 3 respectively.Then can be obtained the subscript in subscript array L ' by described chained list, and then determine node instance, complete the distribution of TEIDC.
Therefore, described from example array obtain a node instance, comprising:
Step 301, obtains the chained list corresponding with described subscript array.
Adopt the subscript of each node instance in subscript array admin instance array, therefore, the chained list corresponding with described following table array can also be configured, adopt the headers and footers of described chained list to point to a subscript in described following table array respectively.
In the embodiment of the present invention, the table tail of described chained list can be pointed to last subscript of described subscript array, gauge outfit points to arbitrary subscript in subscript array.As Fig. 4, under chained list is in original state, gauge outfit points to the subscript of subscript 0(solid line indication), table tail points to subscript 3.
Thus when distribution node example, first obtain the chained list corresponding with described following table array.
Step 302, obtains the subscript that described gauge outfit is pointed to, and determines corresponding node instance according to the subscript obtained.
The subscript that the gauge outfit that then can obtain described chained list is pointed to, as obtained 0 in Fig. 4, now just can get the value of TEIDC, but TEIDC will possess corresponding relation with contextual information, therefore, also according to described subscript, the node instance that this subscript is corresponding in example array to be searched, i.e. the node instance A of 0 correspondence.
Step 303, keeps the table tail of described chained list motionless, described gauge outfit is pointed to a subscript after the lower target of described acquisition.
As Fig. 4, maintenance table tail points to 3 motionless, by gauge outfit by the subscript of next subscript 1(dotted line indication pointing to 0).Thus complete the obtaining step of node instance.
Now, obtaining lower target time complexity is O(1).
In the embodiment of the present invention, adopt chained list to obtain node instance, simple to operate, efficiency is higher.And using the subscript of the value of TEIDC in node instance as this node instance, then the subscript of each node instance in subscript array admin instance array can be adopted, thus the value of TEIDC can be determined fast.
Step 105, associates the index of contextual information in described node instance with the contextual information in described peer distribution request, to distribute described node instance;
After determining the node instance of distributing, the index of described contextual information can be obtained from described node instance, the contextual information that then can will carry in peer distribution request, associate with the index of the contextual information in described node instance, thus establish the corresponding relation of TEIDC and contextual information, complete the distribution of node instance.
Wherein, described association refers to the index incidence relation setting up described contextual information and described contextual information, can be to associate etc. by setting up mapping relations.
Step 105 specifically comprises the following steps:
Based on the index of contextual information in described node instance, search the memory address of described contextual information; Contextual information in described peer distribution request is saved in described memory address.
Save the index of contextual information in node instance, also namely save the related data of searching contextual information, then can be found the memory address of corresponding contextual information by the index of described contextual information.
After determining the memory address of contextual information, contextual information in peer distribution request can be saved in described memory address, thus in node instance, have the value of TEIDC, and preserve the index of contextual information, corresponding contextual information can be found.Thus on the basis ensureing TEIDC uniqueness, also assures that the unique corresponding relation of TEIDC and contextual information.
Step 106, obtains the value of TEIDC, and returns from described node instance.
After determining the node instance of distributing, just can get the value of TEIDC from described node instance, and return to request transmit leg, MME network element or PGW network element.Thus make MME network element or PGW network element can obtain the TEIDC of distribution, combine the corresponding contextual information of UE or the contextual information of PDN simultaneously, build corresponding transmission tunnel, carry out the transmission of message, signaling.
In the embodiment of the present invention, the value of TEIDC comprises high-order portion and low portion, in order to more guarantee the uniqueness of TEIDC, and the wasting of resources reduced in node instance acquisition process, can using low portion in the value of TEIDC as the subscript of node instance interior joint example, then now only can get low portion in the value of TEIDC by the distribution of node instance, then also comprise following methods:
A selected signal command board, and obtain the sequence number of described signal command board, using the high-order portion of described sequence number as the value of described chain of command tunnel nodes mark TEIDC.
In actual treatment, the many employings of LTE system be the networking of many signal command boards, therefore node instance is being distributed, can according to the load sharing situation in data transmission procedure, select one piece of signal command board to distribute to corresponding UE or PDN, each signaling be in the transmission tunnel of this UE or PDN distribution can be sent to this signal command board.
Now, can get low portion in the value of TEIDC from the node instance of distributing, the sequence number due to described signal command board is all unique, therefore using described sequence number as high-order portion in the value of TEIDC, thus can guarantee the uniqueness of TEIDC.And the signal command board of signaling in the transmission tunnel that this TEIDC determines can also be determined to receive by the value of TEIDC.
With reference to Fig. 5, give the method for releasing process flow diagram of node instance described in the embodiment of the present invention.
In the embodiment of the present invention, when UE or PDN does not need transmission tunnel, if UE is mobile phone, detect that this has shut down, now no longer need the transmission tunnel of this UE or PDN, when namely having corresponding relation in TEIDC and UE contextual information, can also node instance be discharged.
The then method for releasing of node instance, specifically comprises:
Step 501, obtains the chained list corresponding with described subscript array;
When carrying out the release of node instance, the table tail of chained list can be adopted time initial to point to first subscript of following table array, and gauge outfit points to arbitrary subscript in following table array.Then in dispose procedure, the table tail of described chained list and gauge outfit point to a subscript in described subscript array respectively, then can obtain described chained list.
Step 502, discharges the subscript that described table tail points to, and the node instance that described subscript is corresponding;
The subscript that the table tail that then can discharge described chained list points to, and determine the node instance that described subscript is pointed to, discharge described node instance.
Step 503, keeps described gauge outfit motionless, by a subscript after the lower target of described table tail sensing release.
Then keep described gauge outfit motionless, by a subscript after the lower target of described table tail sensing release.Corresponding subscript can be discharged fast when making perform releasing operation next time.
In sum, the embodiment of the present invention adopts node instance to store the index of contextual information and the value of TEIDC, thus has both ensured the value uniqueness of TEIDC, in turn ensure that the corresponding relation of TEIDC and contextual information.Therefore according to peer distribution acquisition request contextual information, thus after determining to need distribution T EIDC, can obtain a node instance from example array, now can determine the value of TEIDC, TEIDC distribution method is very convenient, simple.Again by the contextual information in peer distribution request, associate with the index of the contextual information in node instance, thus establish the corresponding relation of TEIDC and contextual information, the foundation of corresponding relation is very convenient, simple to operate.Complete the distribution of node instance, also namely complete the distribution of TEIDC, the value of TEIDC can be returned.Thus the embodiment of the present invention can distribution T EIDC efficiently, and the corresponding relation of TEIDC and contextual information efficiently, easy and simple to handle, save time, efficiency is higher.
Secondly, the present invention using the subscript of the value of TEIDC in node instance as this node instance, can also adopt subscript array to manage the subscript of each node instance in described instance number group, thus has unified management to the value of TEIDC.Then timestamp under employing chained list obtains, just can obtain the value of TEIDC fast.
Again, in the embodiment of the present invention, the value of TEIDC comprises high-order portion and low portion, in order to reduce the waste of resource, and can using low portion in the value of TEIDC as the subscript of node instance interior joint example.Then after distributing node instance, can using the high-order portion of the sequence number of selected signal command board as the value of TEIDC, wherein, the signaling of the transmission tunnel transmission that this TEIDC identifies all will be received by described selected signal command board.Thus on the basis determining TEIDC uniqueness, decrease the waste of resource.
Again, the embodiment of the present invention additionally provides the method for releasing of node instance.Thus when having corresponding relation in TEIDC and UE contextual information, node instance is discharged, provides the utilization factor of TEIDC, saving resource.
With reference to Fig. 6, give the management devices structural drawing of TEIDC described in the embodiment of the present invention.
The embodiment of the present invention additionally provides the management devices of a kind of TEIDC, comprising: receiver module 11, acquisition module 13, relating module 14 and return module 15, wherein:
Receiver module 11, for obtaining contextual information;
Acquisition module 13, for when described contextual information meets pre-conditioned, a node instance is obtained from example array, wherein, described node instance comprises the index of contextual information and the value of chain of command tunnel nodes mark TEIDC, and described example array is for storing unappropriated node instance;
Relating module 14, for being associated with the contextual information in described peer distribution request by the index of contextual information in described node instance, to distribute described node instance;
Returning module 15, for obtaining the value of chain of command tunnel nodes mark TEIDC from described node instance, and returning.
In the embodiment of the present invention, described pre-conditionedly do not exist described contextual information for described, and described device also comprises: detection module 12;
Whether described detection module 12, do not exist for detecting described contextual information;
Then described acquisition module 13, also for when described contextual information exists, then obtains the node instance that described contextual information is corresponding.
In the embodiment of the present invention, described acquisition module 13, comprising:
First obtains submodule 131, and for obtaining the chained list corresponding with described example array, now the table tail of described chained list points to last node instance of described example array, and gauge outfit points to any node example in example array;
Second obtains submodule 132, for obtaining the node instance that described gauge outfit is pointed to;
Mover module 133, for keeping described table tail motionless, points to a rear node instance of the node instance obtained by described gauge outfit.
In the embodiment of the present invention, using the subscript of the value of chain of command tunnel nodes mark TEIDC in node instance as this node instance, then adopt subscript array to manage the subscript of each node instance in described instance number group, in subscript array, store described subscript successively according to the order of memory node example in example array;
Described acquisition module 13, comprising:
First obtains submodule 131, and for obtaining the chained list corresponding with described subscript array, the table tail of described chained list points to last subscript of described subscript array, and gauge outfit points to arbitrary subscript in subscript array;
Second obtains submodule 132, for obtaining the subscript that described gauge outfit is pointed to, and determines corresponding node instance according to the subscript obtained;
Mover module 133, for keeping the table tail of described chained list motionless, points to a subscript after the lower target of described acquisition by described gauge outfit.
In the embodiment of the present invention, described relating module 14, comprising:
Search submodule 141, for the index based on contextual information in described node instance, search the memory address of described contextual information;
Preserve submodule 142, for being saved in described memory address by the contextual information in described peer distribution request.
In the embodiment of the present invention, the value of described chain of command tunnel nodes mark TEIDC comprises high-order portion and low portion, then using in the value of chain of command tunnel nodes mark TEIDC, low portion is as the subscript of node instance interior joint example, and described device also comprises:
High-value acquisition module, for a selected signal command board, and obtains the sequence number of described signal command board, using the high-order portion of described sequence number as the value of described chain of command tunnel nodes mark TEIDC.
In the embodiment of the present invention, described contextual information comprises: the contextual information of UE or the contextual information of PDN.
Device described in the embodiment of the present invention also comprises: release module;
Described release module, for the method for releasing of node instance;
Described release module.Comprise:
First obtains submodule, and for obtaining the chained list corresponding with described example array, now the table tail of described chained list and gauge outfit point to a subscript in described subscript array respectively;
Second obtains submodule, for discharging the subscript that described table tail points to, and the node instance that described subscript is corresponding;
Mover module, for keeping described gauge outfit motionless, by a subscript after the lower target of described table tail sensing release.
In sum, the embodiment of the present invention adopts node instance to store the index of contextual information and the value of TEIDC, thus has both ensured the value uniqueness of TEIDC, in turn ensure that the corresponding relation of TEIDC and contextual information.Therefore according to peer distribution acquisition request contextual information, thus after determining to need distribution T EIDC, can obtain a node instance from example array, now can determine the value of TEIDC, TEIDC distribution method is very convenient, simple.Again by the contextual information in peer distribution request, associate with the index of the contextual information in node instance, thus establish the corresponding relation of TEIDC and contextual information, the foundation of corresponding relation is very convenient, simple to operate.Complete the distribution of node instance, also namely complete the distribution of TEIDC, the value of TEIDC can be returned.Thus the embodiment of the present invention can distribution T EIDC efficiently, and the corresponding relation of TEIDC and contextual information efficiently, easy and simple to handle, save time, efficiency is higher.
Secondly, the present invention using the subscript of the value of TEIDC in node instance as this node instance, can also adopt subscript array to manage the subscript of each node instance in described instance number group, thus has unified management to the value of TEIDC.Then timestamp under employing chained list obtains, just can obtain the value of TEIDC fast.
Again, in the embodiment of the present invention, the value of TEIDC comprises high-order portion and low portion, in order to reduce the waste of resource, and can using low portion in the value of TEIDC as the subscript of node instance interior joint example.Then after distributing node instance, can using the high-order portion of the sequence number of selected signal command board as the value of TEIDC, wherein, the signaling of the transmission tunnel transmission that this TEIDC identifies all will be received by described selected signal command board.Thus on the basis determining TEIDC uniqueness, decrease the waste of resource.
For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
The present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment, be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
Above to management method and the device of a kind of TEIDC provided by the present invention, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. a management method for chain of command tunnel nodes mark, is characterized in that, comprising:
Obtain contextual information;
When described contextual information meets pre-conditioned, a node instance is obtained from example array, wherein, described node instance comprises the index of contextual information and the value of chain of command tunnel nodes mark TEIDC, and described example array is for storing unappropriated node instance;
The index of contextual information in described node instance is associated with the contextual information in peer distribution request, to distribute described node instance;
From described node instance, obtain the value of chain of command tunnel nodes mark TEIDC, and return.
2. method according to claim 1, is characterized in that, described pre-conditioned for there is not described contextual information, described method also comprises:
Detect described contextual information whether not exist;
If described contextual information exists, then obtain the node instance that described contextual information is corresponding.
3. method according to claim 1, is characterized in that, described from example array obtain a node instance, comprising:
Obtain the chained list corresponding with described example array, now the table tail of described chained list points to last node instance of described example array, and gauge outfit points to any node example in example array;
Obtain the node instance that described gauge outfit is pointed to;
Keep described table tail motionless, described gauge outfit is pointed to a rear node instance of the node instance obtained.
4. method according to claim 1, it is characterized in that, using the subscript of the value of chain of command tunnel nodes mark TEIDC in node instance as this node instance, then adopt subscript array to manage the subscript of each node instance in described instance number group, in subscript array, store described subscript successively according to the order of memory node example in example array;
Described from example array obtain a node instance, comprising:
Obtain the chained list corresponding with described subscript array, the table tail of described chained list points to last subscript of described subscript array, and gauge outfit points to arbitrary subscript in subscript array;
Obtain the subscript that described gauge outfit is pointed to, and determine corresponding node instance according to the subscript obtained;
Keep the table tail of described chained list motionless, described gauge outfit is pointed to a subscript after the lower target of described acquisition.
5. method according to claim 1, is characterized in that, is associated by the index of contextual information in described node instance, comprising with the contextual information in described peer distribution request:
Based on the index of contextual information in described node instance, search the memory address of described contextual information;
Contextual information in described peer distribution request is saved in described memory address.
6. method according to claim 1, it is characterized in that, the value of described chain of command tunnel nodes mark TEIDC comprises high-order portion and low portion, then using in the value of chain of command tunnel nodes mark TEIDC, low portion is as the subscript of node instance interior joint example, and described method also comprises:
A selected signal command board, and obtain the sequence number of described signal command board, using the high-order portion of described sequence number as the value of described chain of command tunnel nodes mark TEIDC.
7., according to the arbitrary described method of claim 1 to 6, it is characterized in that, described contextual information comprises: the contextual information of subscriber equipment or the contextual information of shared data net.
8. method according to claim 4, is characterized in that, also comprises: the method for releasing of node instance, specifically comprises:
Obtain the chained list corresponding with described example array, now the table tail of described chained list and gauge outfit point to a subscript in described subscript array respectively;
Discharge the subscript that described table tail points to, and the node instance that described subscript is corresponding;
Keep described gauge outfit motionless, by a subscript after the lower target of described table tail sensing release.
9. a management devices for chain of command tunnel nodes mark, is characterized in that, comprising:
Receiver module, for obtaining contextual information;
Acquisition module, for when described contextual information meets pre-conditioned, from example array, obtain a node instance, wherein, described node instance comprises the index of contextual information and the value of chain of command tunnel nodes mark TEIDC, and described example array is for storing unappropriated node instance;
Relating module, for associating the index of contextual information in described node instance with the contextual information in peer distribution request, to distribute described node instance;
Returning module, for obtaining the value of chain of command tunnel nodes mark TEIDC from described node instance, and returning.
10. device according to claim 9, is characterized in that, described pre-conditioned for there is not described contextual information, described device also comprises: detection module;
Whether described detection module, do not exist for detecting described contextual information;
Then described acquisition module, also for when described contextual information exists, then obtains the node instance that described contextual information is corresponding.
11. devices according to claim 10, is characterized in that, described acquisition module, comprising:
First obtains submodule, and for obtaining the chained list corresponding with described example array, now the table tail of described chained list points to last node instance of described example array, and gauge outfit points to any node example in example array;
Second obtains submodule, for obtaining the node instance that described gauge outfit is pointed to;
Mover module, for keeping described table tail motionless, points to a rear node instance of the node instance obtained by described gauge outfit.
12. devices according to claim 9, it is characterized in that, using the subscript of the value of chain of command tunnel nodes mark TEIDC in node instance as this node instance, then adopt subscript array to manage the subscript of each node instance in described instance number group, in subscript array, store described subscript successively according to the order of memory node example in example array;
Described acquisition module, comprising:
First obtains submodule, and for obtaining the chained list corresponding with described subscript array, the table tail of described chained list points to last subscript of described subscript array, and gauge outfit points to arbitrary subscript in subscript array;
Second obtains submodule, for obtaining the subscript that described gauge outfit is pointed to, and determines corresponding node instance according to the subscript obtained;
Mover module, for keeping the table tail of described chained list motionless, points to a subscript after the lower target of described acquisition by described gauge outfit.
13. devices according to claim 9, is characterized in that, described relating module, comprising:
Search submodule, for the index based on contextual information in described node instance, search the memory address of described contextual information;
Preserve submodule, for being saved in described memory address by the contextual information in described peer distribution request.
14. devices according to claim 9, it is characterized in that, the value of described chain of command tunnel nodes mark TEIDC comprises high-order portion and low portion, then using in the value of chain of command tunnel nodes mark TEIDC, low portion is as the subscript of node instance interior joint example, and described device also comprises:
High-value acquisition module, for a selected signal command board, and obtains the sequence number of described signal command board, using the high-order portion of described sequence number as the value of described chain of command tunnel nodes mark TEIDC.
15. according to the arbitrary described device of claim 9 to 14, and it is characterized in that, described contextual information comprises: the contextual information of subscriber equipment or the contextual information of shared data net.
16. devices according to claim 12, is characterized in that, also comprise: release module, for the method for releasing of node instance;
Described release module, comprising:
First obtains submodule, and for obtaining the chained list corresponding with described example array, now the table tail of described chained list and gauge outfit point to a subscript in described subscript array respectively;
Second obtains submodule, for discharging the subscript that described table tail points to, and the node instance that described subscript is corresponding;
Mover module, for keeping described gauge outfit motionless, by a subscript after the lower target of described table tail sensing release.
CN201310008081.5A 2013-01-09 2013-01-09 A kind of management method of chain of command tunnel nodes mark and device Active CN103092939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310008081.5A CN103092939B (en) 2013-01-09 2013-01-09 A kind of management method of chain of command tunnel nodes mark and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310008081.5A CN103092939B (en) 2013-01-09 2013-01-09 A kind of management method of chain of command tunnel nodes mark and device

Publications (2)

Publication Number Publication Date
CN103092939A CN103092939A (en) 2013-05-08
CN103092939B true CN103092939B (en) 2015-11-04

Family

ID=48205504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310008081.5A Active CN103092939B (en) 2013-01-09 2013-01-09 A kind of management method of chain of command tunnel nodes mark and device

Country Status (1)

Country Link
CN (1) CN103092939B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111555980B (en) * 2020-03-16 2023-04-14 视联动力信息技术股份有限公司 Data sending method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400549A (en) * 2001-08-07 2003-03-05 华为技术有限公司 Method for searching data in data base and distributing IP address to users dial-connected with network
US6792474B1 (en) * 2000-03-27 2004-09-14 Cisco Technology, Inc. Apparatus and methods for allocating addresses in a network
CN1725751A (en) * 2004-07-20 2006-01-25 华为技术有限公司 Distribution method of control plane tunnel endpoine identifier (TEID) and its system
CN101540712A (en) * 2008-03-20 2009-09-23 大唐移动通信设备有限公司 Method and device for allocating tunnel end point identifiers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8516522B2 (en) * 2009-12-16 2013-08-20 Electronics And Telecommunications Research Institute Apparatus and method of controlling broadcast services

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6792474B1 (en) * 2000-03-27 2004-09-14 Cisco Technology, Inc. Apparatus and methods for allocating addresses in a network
CN1400549A (en) * 2001-08-07 2003-03-05 华为技术有限公司 Method for searching data in data base and distributing IP address to users dial-connected with network
CN1725751A (en) * 2004-07-20 2006-01-25 华为技术有限公司 Distribution method of control plane tunnel endpoine identifier (TEID) and its system
CN101540712A (en) * 2008-03-20 2009-09-23 大唐移动通信设备有限公司 Method and device for allocating tunnel end point identifiers

Also Published As

Publication number Publication date
CN103092939A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
US20200128450A1 (en) Method for inserting smf and amf entity
CN102427410B (en) Method, device and system for processing fiber channel identity, and network equipment
CN104243630A (en) MAC (media access control) address learning method and MAC address learning device in VXLAN (virtual extensible local area network)
CN104935514A (en) Path distribution method and device thereof
CN103703747A (en) Internet content storage method and apparatus
WO2015172497A1 (en) Message pushing and acquisition methods and devices, and computer readable storage medium
CN114039798A (en) Data transmission method and device and electronic equipment
CN103220331B (en) The a large amount of picture approach of a kind of transmission and mobile intelligent terminal
CN111597259A (en) Data storage system, method, device, electronic equipment and storage medium
CN103092939B (en) A kind of management method of chain of command tunnel nodes mark and device
CN104639379A (en) Proxy testing method and device
CN103731454A (en) Method for responding to requests in point-to-point network and server system
CN103826276A (en) Data transmission method, base station, management control center and system
CN107547605A (en) A kind of message reading/writing method and node device based on node queue
US20170353818A1 (en) Method for deleting notification resource, and common service entity
CN105227650A (en) File sharing method and system between a kind of mobile terminal
CN106330787B (en) Data packet transmission method, equipment and system
CN103366014A (en) Cluster-based cloud computing network data processing system and method
CN105610924A (en) Multi-node connection method and device of cloud desktop
CN105721531A (en) Message synchronization method and apparatus
CN106161279A (en) A kind of data capture method and device
US20200145879A1 (en) Terminal-aided backhaul compression
CN112583709A (en) Link aggregation routing method, system, switching equipment and medium
CN104092735A (en) Cloud computing data access method and system based on binary tree
CN105471743A (en) Method of managing hardware multilevel routing table in IP data communication 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