CN103001784A - Method, device and system for configuring tunnel identifiers - Google Patents

Method, device and system for configuring tunnel identifiers Download PDF

Info

Publication number
CN103001784A
CN103001784A CN 201110273112 CN201110273112A CN103001784A CN 103001784 A CN103001784 A CN 103001784A CN 201110273112 CN201110273112 CN 201110273112 CN 201110273112 A CN201110273112 A CN 201110273112A CN 103001784 A CN103001784 A CN 103001784A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
tunnel
identifier
state
configuration
set
Prior art date
Application number
CN 201110273112
Other languages
Chinese (zh)
Other versions
CN103001784B (en )
Inventor
赵文斌
Original Assignee
中兴通讯股份有限公司
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

Links

Abstract

The invention discloses a method, a device and a system for configuring tunnel identifiers. The method includes steps of receiving a tunnel identifier configuration request of a user; determining various tunnel identifiers in a tunnel identifier set according to tunnel type information; selecting a corresponding unconfigured tunnel identifier from the various tunnel identifiers corresponding to a tunnel type of the request; and configuring the selected tunnel identifier to the user and updating a corresponding state of the selected tunnel identifier in the identifier set as a configured state. The tunnel identifier configuration request contains the tunnel type information, the various tunnel identifiers belong to the tunnel type of the request, the tunnel identifier set contains tunnel identifiers corresponding to various tunnel types supported locally, and the unconfigured tunnel identifier is contained in the identifier set. The method, the device and the system have the advantages that the tunnel identifier configuration speed is increased, and the tunnel identifier configuration accuracy is improved.

Description

—种隧道标识的配置方法及其装置与系统 - configuration method and apparatus for identifying tunnel with the system

技术领域 FIELD

[0001] 本发明涉及通信网络管理技术,具体涉及一种隧道标识的配置方法及其装置与系统。 [0001] The present invention relates to communications network management technology, particularly relates to a method and apparatus configure a system with a tunnel identity.

背景技术 Background technique

[0002] 随着运营商的传输网和数据网向着网络和业务IP化发展,PTN(分组传送网,简称PTN)技术已经成为运营商部署承载网的主要支持技术。 [0002] As operators of transmission networks and data networks towards IP networks and business development, PTN (packet transport network, referred to as PTN) technology has become the main technical support operators to deploy bearer network. PTN融合了传输网的可靠性与数据网的灵活性,在拥有全面电信级特性和强大管理能力的同时,又继承了良好的可扩展性,并且具备高效的统计复用能力,能适应高价值分组业务的承载要求。 PTN combines the flexibility and reliability of data network transmission network at the same time have a comprehensive carrier-class features and powerful management capabilities, but also inherited the good scalability, and have efficient statistical multiplexing ability to adapt to high-value packet bearer service requirements. 而其中的隧道传送技术是PTN技术的基石,多种隧道技术为运营商更好地进行业务部署提供了选择。 Of which the tunneling technology is the cornerstone of PTN technology, tunneling technology provides a variety of options for operators to better service deployment.

[0003] 网管系统为PTN技术更好地应用到运营商的部署网络中提供重要保障,并且对PTN多隧道技术的配置提供良好的人机界面以及简易操作。 [0003] PTN network management system for the better application of technology to the operator's network deployment to provide significant protection, and provide a good user interface and ease of operation of the configuration of the PTN multi-tunnel technology. 对于新一代PTN设备而言,多种类型隧道标识(下称隧道ID)要求进行统一配置,即采取统一编码,因此要求网管系统在创建不同类型隧道时,可以提供一种计算方法,能够进行隧道ID的统一配置,保证提供给用户下发到设备的隧道ID不会重复,从而使得各类隧道配置顺畅与运行稳定。 For a new generation of PTN equipment, various types of tunnel identifier (hereinafter referred to as the tunnel ID) requirements for unified configuration, that is to adopt a uniform code, thus requiring the network management system when creating different types of tunnels can provide a calculation method that enables tunneling unified configuration ID, the warranty on the device sent to the user ID of the tunnel will not be repeated, making all kinds of tunnel configuration smooth and stable operation.

[0004] 在以往的网管系统中,对隧道ID的配置一般如下: [0004] In the conventional network management system, the configuration of the tunnel ID is generally as follows:

[0005] 仅对一类隧道进行ID配置,根据隧道ID的取值范围,手动进行输入需配置的ID号,然后由网管下发到设备。 [0005] Only a tunnel type configuration ID, an ID number to be configured according to the input range of the tunnel ID, the manual, and then delivered by the network to the device.

[0006] 对多类隧道进行ID配置,网管系统提供类似于对一类隧道进行ID配置的操作界面,对不同类型的隧道根据其各自的取值范围进行分类,并手动输入需配置的ID号,然后由网管下发到设备。 [0006] The multi-class ID tunnel configuration, similar to the network management system provide a Class ID tunnel interface configuration, different types of tunnel classified according to their respective value range, and to be configured manually enter the ID and then sent to the NMS by the device.

[0007] 从上面以往隧道ID资源配置中,我们可以看到其特点有几下几方面: [0007] ID from the previous allocation of resources above the tunnel, we can see its features are a few aspects:

[0008] 首先,隧道ID资源配置的随意性,可以随意在界面上进行配置,从而造成隧道ID配置重复,并且不能立刻判断出配置的隧道ID是否重复,直至网管报错或下发到设备报错。 [0008] First, the configuration of the tunnel resource random ID can be freely configured on the interface, resulting in repeated tunnel configuration ID, and can not immediately determine whether the configuration of the tunnel ID repeated until the network or to a device error given below.

[0009] 其次,不同类型的隧道在进行隧道ID资源配置时,隧道ID无法保证全局唯一性或同类隧道ID唯一性,全依赖于网管报错或设备报错。 [0009] Second, different types of tunnels during the allocation of resources tunnel ID, tunnel ID can not guarantee the uniqueness of the globally unique ID or similar tunnel, all dependent on the network error or equipment error.

[0010] 上述数据交互操作次数也会以十万甚至百万计,使得大量的时间被上述交互操作所消耗,导致网管的隧道ID配置操作产生较严重的时延,影响了配置ID的速度。 [0010] The operating frequency and also the data exchange to thousands or even millions, so that a lot of time is consumed by the above-described interaction, leading to the tunnel ID configured network management operation produces serious delay, it affects the speed of the configuration ID. 另外,过多的交互操作会影响系统工作性能,产生ID配置错误,进而降低了ID配置的正确性。 Further, excessive interaction can affect system performance, a configuration error is generated ID, thereby reducing the correctness of the configuration's ID.

发明内容 SUMMARY

[0011] 本发明提供的一种隧道标识的配置方法及其装置与系统,解决了上述问题,保证了所有隧道标识都处于统一配置的范围内,取值唯一且快速;并且本方法可以根据用户的请求,自动进行隧道标识的识别,并进行配置,提高了配置隧道标识的自适应性。 [0011] The system configuration and the method and apparatus of the present invention, a tunneling identifier is provided to solve the above problems, to ensure that all the range of the tunnel are in uniform configuration identification, a unique value and fast; and the method according to the user request, automatically identifying the tunnel ID, and configured to improve the adaptability tunnel identifier of the configuration.

[0012] 本发明提供一种隧道标识的配置方法,包括以下步骤:[0013] 接收用户的隧道标识配置请求,所述隧道标识配置请求中包含隧道类型信息; [0012] The present invention provides a tunnel identifier of the configuration, comprising the steps of: [0013] receiving a user identifier tunnel configuration request identifying the tunnel configuration request type information included in the tunnel;

[0014] 根据所述隧道类型信息,确定出隧道标识集合中属于本次请求的隧道类型的各隧道标识;所述隧道标识集合中包含本地所支持的各类型隧道对应隧道标识; [0014] The type information of the tunnel, the tunnel is determined that the identification belonging to the collection of this type of tunnel requests each tunnel ID; tunnel identity included in the collection of the various types of supported local tunnel corresponding to the tunnel identifier;

[0015] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态; [0015] In this type of tunnel requests in each tunnel ID, select a set of marks corresponding to the configuration state of the configuration state non-tunnel identifier; each said tag comprises a tunnel identifier and the tunnel identity collection set a configuration corresponding to the state, and in accordance with each of a tunnel identifier has been configured, the corresponding marker configured state or configuration state;

[0016] 将选择的隧道标识配置给所述用户,并将所述标记集合中该选择的隧道标识的对应状态更新为已配置状态。 [0016] tunnel identifier of the selected configuration to the user, and to set the flag corresponding to the selected state of the tunnel identifier updating to the configured state.

[0017] 本发明还提供一种隧道标识的配置装置,包括: [0018] 接收单元,用于接收用户发送的包含隧道类型信息的隧道标识配置请求; [0017] The present invention further provides an apparatus for tunnel identifier of the configuration, comprising: [0018] a receiving unit, comprising a tunnel for tunneling received information type identifier configuration request sent by the user;

[0019] 确定单元,用于根据所述隧道类型信息,在包含本地所支持的各类型隧道对应隧道标识的隧道标识集合中,确定出属于本次请求的隧道类型的各隧道标识; [0019] The determination means according to the type information of the tunnel, the tunnel identifier contains the set tunnel type supported by the local tunnel ID corresponding to the determined type of the tunnel belonging to the tunnels this request identification;

[0020] 选择单元,用于在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态; [0020] The selection unit for this type of tunnel requests in each tunnel ID, select the configuration corresponding to the configuration state is not set in a state of a tunnel identifier tag; have the tag set comprising the set tunnel identifier each tunnel ID corresponding to the configuration state, and in accordance with each of a tunnel identifier has been configured, the corresponding marker configured state or configuration state;

[0021] 发送单元,用于将选择的隧道标识发送给所述用户;并且用于, [0021] The sending unit, configured to select a tunnel identifier to the user; and for,

[0022] 将所述标记集合中该次选择的隧道标识的对应状态更新为已配置状态; [0022] The tag identifies the set corresponding to the state of the tunnel selected update times the configured state;

[0023] 存储单元,用于存储所述包含本地所支持的各类型隧道对应隧道标识的隧道标识集合;以及用于, [0023] a storage unit for storing the type of each tunnel comprises locally supported tunnel ID corresponding to the set tunnel identifier; and means for,

[0024] 存储包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态的所述标记集合。 [0024] comprising storage arrangement state of the tunnel with a tunnel identifier identifying each set corresponding to, and in accordance with whether each tunnel ID is configured, the corresponding flag set to mark the configured state or configuration state.

[0025] 本发明还提供一种隧道标识的配置系统,包括: [0025] The present invention further provides a system configured tunnel identifier, comprising:

[0026] 网络管理装置,用于接收用户发送的包含隧道类型信息的隧道标识配置请求;还用于, [0026] Network management apparatus for receiving the transmitted user tunnel identifier of the tunnel configuration request contains the type information; further configured to,

[0027] 根据所述隧道类型信息,在包含本地所支持的各类型隧道的对应隧道标识的隧道标识集合中,确定出属于本次请求的隧道类型的各隧道标识;并且还用于, [0027] The type information of the tunnel, the tunnel ID corresponding to set various types of tunnel identifier comprises a tunnel supported locally, the request is determined to belong to this type of tunnel identifier of the tunnels; and further configured to,

[0028] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态;还用于, [0028] In this type of tunnel requests in each tunnel ID, select a set of marks corresponding to the configuration state of the configuration state non-tunnel identifier; each said tag comprises a tunnel identifier and the tunnel identity collection set a configuration corresponding to the state, and according to whether the identity of each tunnel is configured, the corresponding marker configured state or configuration state; further configured to,

[0029] 将所述标记集合中该次选择的隧道标识的对应状态更新为已配置状态;并且用于, [0029] The mark set corresponding to the state of the sub-tunnel identifier of the selected update configured state; and for,

[0030] 将选择的隧道标识发送给所述用户;还包括, [0030] The selection of the tunnel identifier to the user; further comprising,

[0031] 网络终端,用于向所述网络管理装置发送包含隧道类型信息的隧道标识配置请求;还用于, [0031] The network terminal transmits the tunnel configuration request for identifying the type comprising a tunnel information to the network management apparatus; further configured to,

[0032] 接收所述网络管理装置配置的隧道标识。 [0032] The network management apparatus receives the tunnel configuration identifier.

[0033] 本发明提供的一种隧道标识的配置方法及其装置与系统,包括以下优点:[0034] 获取数据库中保存的与各个隧道相对应的已配置隧道标识,并在新建立的布尔型集合中标记出已配置隧道的隧道标识,起始值从上次配置的隧道标识开始,大大减少了配置时间,提高了配置速度,并且由于已经将配置隧道标识做了标记,再次待配置的隧道标识是从未配置的隧道标识中选取的,因此保证了其唯一性。 [0033] The system configuration and the method and apparatus of the present invention provides a tunneling identifier, comprising the following advantages: [0034] Get stored in the database corresponding to the respective tunnel configured tunnel identifier, and the newly created Boolean the collection marked a configured tunnel identifier of the tunnel, the tunnel from the starting value to identify the previous configuration, greatly reducing the configuration time and increase the speed of configuration, and since has been marked to identify the configuration tunnel, the tunnel to be configured again tunnel ID is never identified in the selected configuration, thus ensuring uniqueness. 总之,本发明提供的方法提高了隧道标识配置的速度及正确性。 In summary, the present invention provides a method of improving the speed and accuracy of the tunnel identity configuration.

附图说明 BRIEF DESCRIPTION

[0035] 图1是本发明方法的流程图; [0035] FIG. 1 is a flowchart of a method of the present invention;

[0036] 图2是本发明方法实施例一的流程图; [0036] FIG 2 is a flowchart of a method embodiment of the present invention;

[0037] 图3是本发明系统的结构框图; [0037] FIG. 3 is a block diagram of the system of the present invention;

[0038] 图4是本发明装置的结构图。 [0038] FIG. 4 is a block diagram of the apparatus of the present invention.

具体实施方式 Detailed ways

[0039] 本发明提供的一种隧道标识的配置方法及其装置与系统,解决了现有技术存在的问题,保证了所有隧道标识都处于统一配置的范围内,取值唯一且快速;本方法可以根据用户的请求,自动进行隧道标识的识别,并进行配置,提高了配置隧道标识的自适应性。 [0039] The system configuration and the method and apparatus of the present invention, a tunneling identifier is provided to solve the problems of the prior art problems and ensure that all the range of the tunnel identifier are arranged in a uniform, quick and unique value; the method It can be automatically performed according to a user request identifies the tunnel ID, and configured to improve the adaptability tunnel identifier of the configuration.

[0040] 本发明提供一种隧道标识的配置方法,包括以下步骤: [0040] The present invention provides a tunnel identifier of the configuration, comprising the steps of:

[0041] 接收用户的隧道标识配置请求,所述隧道标识配置请求中包含隧道类型信息; [0041] The user receives a tunnel configuration request identifier identifying the tunnel configuration request type information included in the tunnel;

[0042] 根据所述隧道类型信息,确定出隧道标识集合中属于本次请求的隧道类型的各隧道标识;所述隧道标识集合中包含本地所支持的各类型隧道对应隧道标识; [0042] The type information of the tunnel, the tunnel is determined that the identification belonging to the collection of this type of tunnel requests each tunnel ID; tunnel identity included in the collection of the various types of supported local tunnel corresponding to the tunnel identifier;

[0043] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态; [0043] In this type of tunnel requests in each tunnel ID, select a set of marks corresponding to the configuration state of the configuration state non-tunnel identifier; each said tag comprises a tunnel identifier and the tunnel identity collection set a configuration corresponding to the state, and in accordance with each of a tunnel identifier has been configured, the corresponding marker configured state or configuration state;

[0044] 将选择的隧道标识配置给所述用户,并将所述标记集合中该选择的隧道标识的对应状态更新为已配置状态。 [0044] tunnel identifier of the selected configuration to the user, and to set the flag corresponding to the selected state of the tunnel identifier updating to the configured state.

[0045] 所述方法,所述标记集合中包含的各隧道标识的初始标记状态为未配置状态。 [0045] The said method, the initial flag state flag set for each tunnel ID included in an unconfigured state.

[0046] 所述方法,所述隧道标识集合包含的各隧道标识为整数,且每一种隧道类型包含设定个数的连续整数值。 [0046] The method, each of the tunnel a tunnel identifier identifying the set comprises an integer, and each comprising a tunneling type of setting the number of consecutive integer values.

[0047] 所述方法,在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识,具体为: [0047] The method, in a tunnel type of each tunnel identifier of the request, selects a corresponding arrangement state of a flag set for identifying tunnel unconfigured state, specifically:

[0048] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的最小值。 [0048] In this type of tunnel requests in each tunnel ID, select the corresponding minimum configuration state is not set in a configuration state flag.

[0049] 所述方法,还包括: [0049] The method, further comprising:

[0050] 针对每种隧道类型,存储最新选择的隧道标识的对应值作为起始值; [0050] The corresponding value for the tunnel type tunnel identifier of each of the selected stores the latest, as an initial value;

[0051] 所述选择一个标记集合中对应配置状态为未配置状态的最小值,具体方法为: [0051] The selection marker corresponding to a minimum set of configuration state is unconfigured state, the specific method:

[0052] 在本次请求的隧道类型包含的连续整数值范围内,从其对应的起始值开始,按从小到大的顺序,选择一个标记集合中对应配置状态为未配置状态的最小值。 [0052] The range of integer values ​​in a continuous tunnel type included in this request, from the corresponding starting value, in ascending order, selecting a corresponding set of marks is the minimum configuration state unconfigured state.

[0053] 所述方法中,所述标记集合为布尔型集合,用于将所述已配置的隧道标识的配置状态标记为TRUE,将未配置的隧道标识的配置状态标记为FALSE。 [0053] In the method, the set of Boolean flag is set, for the configuration state tunnel identifier configured marked TRUE, the arrangement state of the tunnel identifier tag is not configured to FALSE.

[0054] 所述方法,还包括: [0054] The method, further comprising:

[0055] 根据所述隧道标识配置请求中所包含的隧道类型信息,判断本地是否支持本次请求的隧道类型,若不支持,则中止配置隧道标识。 [0055] The tunnel configuration request information identifying the type contained in the tunnel, the tunnel type determines the local support of this request, if not supported, the configuration is aborted tunnel identifier.

[0056] 本发明还提供一种隧道标识的配置装置,包括: [0056] The present invention further provides an apparatus for tunnel identifier of the configuration, comprising:

[0057] 接收单元,用于接收用户发送的包含隧道类型信息的隧道标识配置请求; [0057] a receiving unit, configured to receive a tunnel information identifying the type comprising a tunnel configuration request transmitted by the user;

[0058] 确定单元,用于根据所述隧道类型信息,在包含本地所支持的各类型隧道对应隧道标识的隧道标识集合中,确定出属于本次请求的隧道类型的各隧道标识; [0059] 选择单元,用于在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态; [0058] The determination means according to the type information of the tunnel, the tunnel identifier contains the set tunnel type supported by the local tunnel ID corresponding to the determined request belonging to this type of the tunnels the tunnel identifier; [0059] selecting means for this request tunnel type in each tunnel ID, select a set of marks corresponding to the configuration state of the configuration state non-tunnel identifier; have the marker set containing the identifier set of each of the tunnel tunnel arrangement state corresponding to the identification, and in accordance with each of a tunnel identifier has been configured, the corresponding marker configured state or configuration state;

[0060] 发送单元,用于将选择的隧道标识发送给所述用户;并且用于, [0060] The sending unit, configured to select a tunnel identifier to the user; and for,

[0061] 将所述标记集合中该次选择的隧道标识的对应状态更新为已配置状态; [0061] The tag identifies the set corresponding to the state of the tunnel selected update times the configured state;

[0062] 存储单元,用于存储所述包含本地所支持的各类型隧道对应隧道标识的隧道标识集合;以及用于, [0062] The storage unit for storing various types of tunnel comprising the supported local tunnel ID corresponding to the set tunnel identifier; and means for,

[0063] 存储包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态的所述标记集合。 [0063] The configuration state stored with the tunnel identity with each set corresponding tunnel identifier and a tunnel identification based on whether each configured, the corresponding flag set to mark the configured state or configuration state.

[0064] 所述存储单元,具体用于: [0064] The storage unit is configured to:

[0065] 存储包含各隧道标识的初始标记状态为未配置状态的所述标记集合。 [0065] The tag memory contains the initial state to the tunnel identifier of each unconfigured state flag set.

[0066] 所述存储单元,具体用于: The [0066] storage unit, configured to:

[0067] 存储所述隧道标识集合,包含各隧道标识为整数,且每一种隧道类型包含设定个数的连续整数值。 [0067] The storage tunnel identifier set, contains the tunnel identifier is an integer, and each comprising a tunneling type of setting the number of consecutive integer values.

[0068] 所述选择单元,还用于: [0068] The selection unit is further configured to:

[0069] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识,具体用于: [0069] In each of the tunnel type tunnel identifier of the request, selects a corresponding arrangement state of a flag set for identifying tunnel unconfigured state, specifically for:

[0070] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的最小值。 [0070] In this type of tunnel requests in each tunnel ID, select the corresponding minimum configuration state is not set in a configuration state flag.

[0071] 所述选择单元,还用于: [0071] The selection unit is further configured to:

[0072] 针对每种隧道类型,存储最新选择的隧道标识的对应值作为起始值;所述选择一个标记集合中对应配置状态为未配置状态的最小值,具体还用于, [0072] for each value of the tunnel corresponding to the tunnel type identifier, stores the latest selected as an initial value; the minimum value is selected corresponding to a marker set configuration state is unconfigured state, in particular for further,

[0073] 在本次请求的隧道类型所包含的连续整数值范围内,从其对应的起始值开始,按从小到大的顺序,选择一个标记集合中对应配置状态为未配置状态的最小值。 [0073] In a continuous range of integer values ​​for this type of tunnel requests included, from the corresponding starting value, in ascending order, select a minimum set of markers corresponding to the configuration state unconfigured state .

[0074] 所述选择单元,还用于: [0074] The selection unit is further configured to:

[0075] 根据所述隧道标识配置请求中包含隧道类型信息,判断本地是否支持本次请求的隧道类型,若不支持,则中止配置隧道标识。 [0075] The identity of the tunnel configuration request type information contained in the tunnel, the tunnel type determines the local support of this request, if not supported, the configuration is aborted tunnel identifier.

[0076] 本发明还提供一种隧道标识的配置系统,包括: [0076] The present invention further provides a system configured tunnel identifier, comprising:

[0077] 网络管理装置,用于接收用户发送的包含隧道类型信息的隧道标识配置请求;还用于,[0078] 根据所述隧道类型信息,在包含本地所支持的各类型隧道的对应隧道标识的隧道标识集合中,确定出属于本次请求的隧道类型的各隧道标识;并且还用于, [0077] Network management apparatus for receiving the tunnel comprises a tunnel configuration request identifying type information transmitted by the user; is also used, [0078] The type information of the tunnel, the tunnel comprising various types of the corresponding tunnel identifier locally supported identified set of tunnels, it is determined that the request is subject to this type of the tunnels the tunnel identifier; and further configured to,

[0079] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态;还用于, [0079] In this type of tunnel requests in each tunnel ID, select a set of marks corresponding to the configuration state of the configuration state non-tunnel identifier; each said tag comprises a tunnel identifier and the tunnel identity collection set a configuration corresponding to the state, and according to whether the identity of each tunnel is configured, the corresponding marker configured state or configuration state; further configured to,

[0080] 将所述标记集合中该次选择的隧道标识的对应状态更新为已配置状态;并且用于, [0080] The mark set corresponding to the state of the sub-tunnel identifier of the selected update configured state; and for,

[0081] 将选择的隧道标识发送给所述用户;还包括, [0081] The selection of the tunnel identifier to the user; further comprising,

[0082] 网络终端,用于向所述网络管理装置发送包含隧道类型信息的隧道标识配置请求;还用于, [0083] 接收所述网络管理装置配置的隧道标识。 [0082] The network terminal transmits the tunnel configuration request for identifying the type comprising a tunnel information to the network management apparatus; further for [0083] receiving the tunnel management apparatus identifies the network configuration.

[0084] 如图1所示,为本发明的隧道标识的配置方法的流程图,包括以下步骤: [0084] As shown, a flowchart of a method of configuration of a tunnel identifier of the present invention, comprising the steps of:

[0085] 01 :接收用户的隧道标识配置请求,所述隧道标识配置请求中包含隧道类型信 [0085] 01: a tunnel configuration request received user identifier identifying the tunnel configuration request contains the channel type tunnel

[0086] 02:根据所述隧道类型信息,确定出隧道标识集合中属于本次请求的隧道类型的各隧道标识;所述隧道标识集合中包含本地所支持的各类型隧道对应隧道标识; [0086] 02: The type information of the tunnel, the tunnel type is determined for each tunnel ID identifying the tunnel belonging to the collection of this request; tunnel identity included in the collection of the various types of supported local tunnel corresponding to the tunnel identifier;

[0087] 03:在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态; [0087] 03: the tunnel of this type of each tunnel ID in the request, selects a corresponding configuration state is unconfigured state, set a flag tunnel identifier; the marker set includes the tunnel identifier with each set of tunnel arrangement state corresponding to the identification, and in accordance with each of a tunnel identifier has been configured, the corresponding marker configured state or configuration state;

[0088] 04:将选择的隧道标识配置给所述用户,并将所述标记集合中该选择的隧道标识的对应状态更新为已配置状态。 [0088] 04: tunnel identifier of the selected configuration to the user, and the flag set to the selected state of the corresponding tunnel identifier updating to the configured state.

[0089] 本发明一种隧道标识的配置方法具体实施例一的流程,包括以下步骤: [0089] The method for configuring tunnel identifier of the present invention a particular embodiment of the process, comprising the steps of:

[0090] 首先,接收到用户隧道标识配置请求,所述隧道标识配置请求中包含隧道类型信息;比如接收的配置请求中的隧道类型为A类型,其对应隧道ID的取值范围为1-500的整数,那么我们可以在这些数字中取值。 [0090] First, the user receives a tunnel configuration request identifier identifying the tunnel configuration request message comprising tunnel type; such configuration request received tunnel type is type A, which corresponds to the tunnel ID in the range 1-500 integer, then we can take the values ​​in these numbers.

[0091] 其次,在隧道标识集合中确定出属于本次请求的隧道类型的各隧道标识;所述隧道标识集合中包含本地所支持的各类型隧道对应隧道标识; [0091] Next, it is determined that the request is subject to this type of tunnels each tunnel ID in the tunnel identifier set; the tunnel identity included in the collection of various types of supported local tunnel corresponding to the tunnel identifier;

[0092] 假设本系统支持的隧道类型有三类:分别为A类型隧道(简称A类型)、B类型隧道(简称B类型)、C类型隧道(简称C类型),它们的取值范围分别为1-500,201-4096, [0092] Suppose the system supports three types of tunnel type: type A tunnel respectively (referred to as A type), type B tunnel (referred to as type B), the tunnel type C (referred to as type C), which are in the range of 1 -500,201-4096,

1001-10000 ;那么我们建立的隧道标识集合为(1,2,3......,500), (1,2,3......,4096) 1001-10000; then we build a tunnel identifier set to (1,2,3 ......, 500), (1,2,3 ......, 4096)

及(1,2,3......,10000),集合中的每个整数都可以对应于各类型的隧道标识,再根据用户 And (1,2,3 ......, 10000), each integer may be set corresponding to each type of tunnel identification, then the user

的隧道标识配置请求中的所述隧道类型信息,也就是要配置的类型为A类型隧道,确定其取值范围为1-500。 Tunnel identifier of the tunnel type configuration information in the request, the type is to be configured as a tunnel type A, which is determined in the range of 1-500.

[0093] 再次,在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态;[0094] 其中所述标记集合对应于所述隧道标识集合中每一个隧道标识相对应的配置状态,标记集合为一个布尔型空集,在最初的配置状态为未配置,用FALSE标记出来,将已经配置的隧道标识标记为已配置,用TRUE标记,那么在用户请求中的隧道类型的各隧道标识1-500中,选择标记集合中标记为未配置也就是FALSE的对应于所述隧道标识集合的取值,比如说1-98,已经标记为TRUE,那么在配置本次申请时,可以选择99-500这些标记中为FALSE未配置状态的取值任意一个,一般情况都是连续分配,那么 [0093] Again, in this type of tunnel requests in each tunnel ID, select the configuration corresponding to the configuration state is not set in a state of a tunnel identifier tag; the marker set includes the tunnel identifier with each set of tunnel arrangement state corresponding to the identification, and in accordance with whether each configured tunnel ID corresponding to the configured state flag state or configuration; [0094] wherein the set of marks corresponding to the tunneling identifier set of each tunnel identification phase configuration corresponding state flag set as a Boolean empty set, the initial configuration state is not configured, marked with FALSE, a tunnel identification mark that has been configured for configured by TRUE flag, the tunnel user request each type of tunnel identification 1-500, the selectable marker set is marked as not arranged corresponding to the value FALSE is set to the tunnel identity, for example 1-98, has been marked TRUE, the configuration in this application , you can select any of the values ​​of these markers 99-500 for a FALSE unconfigured state, normal circumstances are consecutively allocated, then 本次请求配置100为作为配置的隧道标识标记给用户。 The request 100 is configured as a tunnel configuration identification indicia to a user.

[0095] 最后将选择出来的隧道标识配置给所述用户,其中将标记为FALSE未配置状态的取值100配置给用户,并将100在所述标记集合中对应状态更新为已配置状态,即标记为TRUE0 [0095] Finally, the selected tunnel identifier assigned to the user, wherein the marker is an unconfigured state value FALSE to the user configuration 100, and 100 corresponding to the update status flag set to the configured state, i.e., marked TRUE0

[0096] 如图2所示,为本发明一种隧道标识的配置方法具体实施例二的流程图,包括以下步骤: [0096] As shown in FIG 2, the configuration method of the flowchart of Embodiment 2 tunnel identifier of the particular embodiment of the invention, comprising the steps of:

[0097] 首先,接收到用户的隧道标识配置请求,所述隧道标识配置请求中包含隧道类型信息; [0097] First, the user receives a tunnel configuration request identifier identifying the tunnel configuration request type information included in the tunnel;

[0098] 本次申请为A类型隧道,其取值范围为1-500, [0098] This application is a tunnel type A, which is in the range of 1-500,

[0099] 其次,在隧道标识集合中确定出属于本次请求的隧道类型的各隧道标识;并且,在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的 [0099] Next, it is determined in the tunnel identifier set belonging to this request tunnel type of each tunnel ID; and, in a tunnel type of this request in each tunnel ID, select a set of marks corresponding configuration state is not configured states

最小值。 Minimum. 根据A类型隧道,在所述隧道标识集合(1,2,3...... 499,500)中对应的配置状态 The tunnel type A, corresponding to the arrangement state of the tunnel identifier set (1,2,3 ...... 499,500) in the

标记为TRUE的为1-98的取值,因此本次申请配置的隧道标识,为本类型在标记集合中对应配置状态为未配置状态的最小值99。 A tag for the value TRUE, 1-98, and so this tunnel configuration application identifier, corresponding to the type present in the configuration state flag set to the minimum 99 unconfigured state.

[0100] 针对每种隧道类型,存储最新选择的隧道标识的对应值作为起始值; [0100] the corresponding values ​​for the tunnel type tunnel identifier of each of the selected stores the latest, as an initial value;

[0101] 也就是,A类型、B类型、C类型,它们的取值范围分别为1-500,201-4096,1001-10000 ;针对每个类型都存储最新一次选择的隧道标识的对应值作为起始值,如果本次选取了99作为配置隧道标识返给用户,那么99作为A类型的隧道标识的对应值作为起始值,以备后面一次配置使用,对应的如果选择的是B类型中的256为标记集合中该类型对应配置状态为未配置状态的最小值,那么存储256作为B类型起始值,并更新256在标记集合中的配置状态为TRUE,如果下次待配置的隧道类型为B类型,那么第一个取值为257。 [0101] That is, A type, B type, C type, which are in the range of 1-500,201-4096,1001-10000; as for the corresponding stored values ​​in each type of the most recent selection of the tunnel identification start value, if the current configuration as selected tunnel identifier 99 is returned to the user, the corresponding value of the tunnel 99 as the identification of type a as an initial value, later to prepare for the next use configuration, if the selected corresponding to the type B, tag 256 is set to the minimum value corresponding to the type of configuration status unconfigured state, then the storage 256 as the B-type Start value, and updating the configuration state flag 256 set to TRUE, if the next to be tunnel type configuration of type B, then a first value of 257. 也就是说每次选取时我们都可以从最新存储的起始值开始选取,不用全部扫描,节省了配置时间,加快了选取速度。 That is selected each time we can begin to select from the latest storage starting value, not all the scanning, saving configuration time, speeding up access speed.

[0102] 另外,如果接收到的隧道类型不是本系统支持的类型,那么不作处理,继续对下一个请求进行配置;如果所述标记集合中的配置状态均为已配置状态,再接收到请求后,发出异常,退出配置系统。 If the configuration state flag are set in the configured state, requests come; [0102] Further, if the received tunnel type is not supported by the system of the present type, without treatment, proceed to the next request configuration , an abnormal exit system configuration.

[0103] 如图2所示,为本发明隧道标识的配置方法的实施例三的流程图,包括以下步骤: A flowchart of a third embodiment [0103] 2, the configuration of the tunnel identifier present invention, comprising the steps of:

[0104] 预设置不同隧道的取值范围,也是系统内支持的各类型隧道的取值范围; [0104] pre-set range of different tunnels, tunnels in the range of various types are supported in the system;

[0105] 判断是否为本系统支持的隧道类型,如果不是则发出异常信息,退出计算系统; [0105] determines whether the tunnel type supported by the present system, the abnormality information is issued if not, exit the computing system;

[0106] 如果是,则在获取的隧道ID的取值范围内设定各类型隧道对应隧道标识取值的起始值; [0106] If so, the various types of tunnel setting range within the tunnel ID identifying the tunnel corresponding to the obtained value of the start value;

[0107] 查询所有类型隧道对应的隧道ID,找出请求中隧道类型对应的隧道ID的取值范围;[0108] 对应的设置一个布尔型空集合与本系统支持的所有类型隧道对应标识集合——对应,用来标记出所述隧道对应标识集合中各标识的配置状态; [0107] Query tunnel ID corresponding to all types of tunnels, tunnel request to identify the range corresponding to the type of the tunnel ID; [0108] corresponding to the empty set and sets a Boolean system supports all types corresponding to a tunnel identifier set - - correspond to the numerals corresponding to the arrangement state of each tunnel identifier identifying the set;

[0109] 判断已经配置隧道ID是否已经超出取值范围,如果是,则不对布尔型集合做标记,即不作处理; [0109] It is determined whether the configured tunnel ID is beyond the range, if it is, no set of Boolean mark, i.e. without treatment;

[0110] 如果否,则在标记集合中标记处所有已经配置的隧道ID,生成一个标记隧道ID已配置状态的标记集合; [0110] If not, the flag set in the mark all the configured tunnel ID, a tag generates the tag collection tunnel ID configured state;

[0111] 对标记集合进行全部扫描,如果所述隧道ID已经全部被配置,则发出异常信息,退出计算系统,如果没有全部标记已配置,生成可用且唯一正确的隧道ID给用户; [0111] The set of all the scanning flag, if the tunnel ID have all been configured, issuing the abnormality information, the computing system exits, if not all markers are arranged to generate only correct and available to the user ID of the tunnel;

[0112] 保存配置的隧道ID,作为下次配置的起始值;· [0112] to save the configuration of the tunnel ID, as the next starting value configuration; ·

[0113] 配置结束,退出系统。 [0113] configuration quits the system.

[0114] 如图3所示,一种隧道标识的配置装置,包括: [0114] As shown in FIG 3, the configuration of the tunnel identifier device, comprising:

[0115] 接收单元11,用于接收用户发送的包含隧道类型信息的隧道标识配置请求; [0115] The receiving unit 11, comprising a tunnel identifier of the tunnel type information configuration request sent by a user;

[0116] 确定单元12,用于根据所述隧道类型信息,在包含本地所支持的各类型隧道对应隧道标识的隧道标识集合中,确定出属于本次请求的隧道类型的各隧道标识; [0116] determination unit 12, according to the type information of the tunnel, the tunnel identifier contains the set tunnel type supported by the local tunnel ID corresponding to the determined type of the tunnel belonging to the tunnels this request identification;

[0117] 选择单元13,用于在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态;还用于: [0117] a selecting unit 13, the tunnel type for this request in each tunnel ID, select a set of marks corresponding to the configuration state of the configuration state non-tunnel identifier; the label includes the tunnel identifier set each set of configuration corresponding tunnel identifier state, and according to whether the identity of each tunnel is configured, the corresponding marker configured state or configuration state; further configured to:

[0118] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识,具体用于: [0118] In each of the tunnel type tunnel identifier of the request, selects a corresponding arrangement state of a flag set for identifying tunnel unconfigured state, specifically for:

[0119] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的最小值;还用于: [0119] In this type of tunnel requests in each tunnel ID, select a corresponding set of marks is the minimum configuration state unconfigured state; further configured to:

[0120] 针对每种隧道类型,存储最新选择的隧道标识的对应值作为起始值;所述选择一个标记集合中对应配置状态为未配置状态的最小值,具体还用于, [0120] for each value of the tunnel corresponding to the tunnel type identifier, stores the latest selected as an initial value; the minimum value is selected corresponding to a marker set configuration state is unconfigured state, in particular for further,

[0121] 在本次请求的隧道类型包含的连续整数值范围内,从其对应的起始值开始,按从小到大的顺序,选择一个标记集合中对应配置状态为未配置状态的最小值;并且还用于: [0121] In a continuous tunnel type comprising a range of integer values ​​of this request, starting from the corresponding starting value, in ascending order, selecting a set of markers corresponding to the configuration state of the configuration state is not the minimum value; and also for:

[0122] 根据所述隧道标识配置请求中所包含的隧道类型信息,判断本地是否支持本次请求的隧道类型,若不支持,则中止配置隧道标识; [0122] The tunnel configuration request information identifying the type contained in the tunnel, the tunnel type determines the local support of this request, if not supported, the configuration is aborted tunnel identifier;

[0123] 发送单元14,用于将选择的隧道标识发送给所述用户;并且用于, [0123] transmitting unit 14 for the selected tunnel identifier to the user; and for,

[0124] 将所述标记集合中该次选择的隧道标识的对应状态更新为已配置状态; [0124] The tag identifies the set corresponding to the state of the tunnel selected update times the configured state;

[0125] 存储单元15,用于存储所述包含本地所支持的各类型隧道对应隧道标识的隧道标识集合;以及用于, [0125] The storage unit 15 for storing the tunnel contains the local tunnel type supported by the corresponding tunnel identifier of the identified set; and means for,

[0126] 存储包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态的所述标记集合;具体用于: [0126] configuration state stored with the tunnel identity with each set corresponding tunnel identifier and a tunnel identification based on whether each configured, the corresponding flag is set marking the configured state or configuration state; specific for:

[0127] 存储包含各隧道标识的初始标记状态为未配置状态的所述标记集合;具体还用于: [0127] tag memory contains the initial state to the tunnel identifier of each unconfigured state flag set; specifically further configured to:

[0128] 存储所述隧道标识集合,包含各隧道标识为整数,且每一种隧道类型包含设定个数的连续整数值。 [0128] The storage tunnel identifier set, contains the tunnel identifier is an integer, and each comprising a tunneling type of setting the number of consecutive integer values. [0129] 如图4所示,为本发明一种隧道标识的配置系统,包括: [0129] As shown in FIG 4, the present invention is a system configuration of the tunnel identifier, comprising:

[0130] 网络管理装置10,用于接收用户发送的包含隧道类型信息的隧道标识配置请求;还用于, [0130] Network management apparatus 10, the tunnel configuration request for identifying a user receiving a transmission comprising a tunnel type information; further configured to,

[0131] 根据所述隧道类型信息,在包含本地所支持的各类型隧道的对应隧道标识的隧道标识集合中,确定出属于本次请求的隧道类型的各隧道标识;并且还用于, [0131] The type information of the tunnel, the tunnel ID corresponding to set various types of tunnel identifier comprises a tunnel supported locally, the request is determined to belong to this type of tunnel identifier of the tunnels; and further configured to,

[0132] 在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态;还用于, [0132] In this type of tunnel requests in each tunnel ID, select a set of marks corresponding to the configuration state of the configuration state non-tunnel identifier; each said tag comprises a tunnel identifier and the tunnel identity collection set a configuration corresponding to the state, and according to whether the identity of each tunnel is configured, the corresponding marker configured state or configuration state; further configured to,

[0133] 将所述标记集合中该次选择的隧道标识的对应状态更新为已配置状态;并且用于, [0134] 将选择的隧道标识发送给所述用户;还包括, [0133] The tag identifies the set corresponding to the state of the tunnel selected update times the configured state; and for [0134] the selected tunnel identifier to the user; further comprising,

[0135] 网络终端20,用于向所述网络管理装置发送包含隧道类型信息的隧道标识配置请求;还用于, [0135] Network terminal 20, a tunnel identifier tunnel configuration request contains the type of information to the network management apparatus; further configured to,

[0136] 接收所述网络管理装置配置的隧道标识。 [0136] receiving the network management apparatus configured tunnel identifier.

[0137] 本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。 [0137] skilled in the art should understand that the embodiments of the present invention may provide a method, system, or computer program product. 因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Thus, embodiments of the present invention may be employed entirely hardware embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 Further, the present invention may take the form of a computer program product embodied in one or more of which comprises a computer usable storage medium having computer-usable program code (including but not limited to, disk storage, CD-ROM, optical memory, etc.).

[0138] 本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0138] The present invention has been described in accordance with the method of Example of the present invention, apparatus (systems) and computer program products flowchart and / or block diagrams described. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generating in a device for implementing the flow chart or more flows and / or block diagram block or blocks in a specified functions.

[0139] 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0139] These computer program instructions may also be stored in a computer can direct a computer or other programmable data processing apparatus to function in a particular manner readable memory produce an article of manufacture such that the storage instruction means comprises a memory in the computer-readable instructions the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0140] 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0140] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps on the computer or other programmable apparatus to produce a computer implemented so that the computer or other programmable apparatus execute instructions to provide processes for implementing a process or flows and / or block diagram block or blocks a function specified step.

[0141] 尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。 [0141] While the present invention has been described with preferred embodiments, but those skilled in the art from the underlying inventive concept can make other modifications and variations to these embodiments. 所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 Therefore, the appended claims are intended to explain embodiments including the preferred embodiment as fall within the scope of the invention and all changes and modifications.

[0142] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0142] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (14)

  1. 1. 一种隧道标识的配置方法,其特征在于,包括以下步骤:接收用户的隧道标识配置请求,所述隧道标识配置请求中包含隧道类型信息;根据所述隧道类型信息,确定出隧道标识集合中属于本次请求的隧道类型的各隧道标识;所述隧道标识集合中包含本地所支持的各类型隧道对应隧道标识;在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态;将选择的隧道标识配置给所述用户,并将所述标记集合中该选择的隧道标识的对应状态更新为已配置状态。 CLAIMS 1. A method for configuring the tunnel identifier, characterized by comprising the steps of: receiving a tunnel configuration request identifying the user, identifying the tunnel configuration request message comprising tunnel type; according to the type information of the tunnel, the tunnel is determined that the identified set this request belonging to each of the tunnel type tunnel ID; tunnel identity included in the collection of the various types of supported local tunnel corresponding to the tunnel identifier; tunnel type this request in each tunnel ID, select a corresponding set of tag configuration state is unconfigured state tunnel identifier; tag set with the arrangement state of the tunnel with a tunnel identity of each set corresponding to the identification, and in accordance with whether each tunnel ID is configured, the configured state corresponding mark or configuration state; tunnel identifier of the selected configuration to the user, and to set the flag corresponding to the selected state of the tunnel identifier updating to the configured state.
  2. 2.如权利要求1所述的一种隧道标识的配置方法,其特征在于,所述标记集合中包含的各隧道标识的初始标记状态为未配置状态。 2. The method of claim 1 disposed a tunneling identifier claim, wherein said initial marking the tunnel state flag included in the set identified in an unconfigured state.
  3. 3.如权利要求2所述的一种隧道标识的配置方法,其特征在于,所述隧道标识集合包含的各隧道标识为整数,且每一种隧道类型包含设定个数的连续整数值。 2 configured according to a tunneling method of identification as claimed in claim 3, wherein said tunnel identity a tunnel identifier included in each set is an integer, and each comprising a tunneling type of setting the number of consecutive integer values.
  4. 4.如权利要求3所述的一种隧道标识的配置方法,其特征在于,在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识,具体为:在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的最小值。 4. The method of claim 3 disposed a tunneling identifier claim, wherein, in a tunnel type of this request in each tunnel ID, select a set of marks corresponding to the configuration state of the tunnel identification unconfigured state, specifically: the tunnel of this type of each tunnel ID in the request, selects a corresponding minimum configuration state is not set in a configuration state flag.
  5. 5.如权利要求4所述的一种隧道标识的配置方法,其特征在于,还包括:针对每种隧道类型,存储最新选择的隧道标识的对应值作为起始值;所述选择一个标记集合中对应配置状态为未配置状态的最小值,具体方法为:在本次请求的隧道类型包含的连续整数值范围内,从其对应的起始值开始,按从小到大的顺序,选择一个标记集合中对应配置状态为未配置状态的最小值。 5. A configuration method according to claim tunnel identity, characterized by further comprising: for each type of tunnel, stores the latest value of the tunnel corresponding to the selected identifier as an initial value; said selecting a set of markers configuration state to a minimum value corresponding unconfigured state, the specific method is: in a continuous tunnel type comprising a range of integer values ​​of this request, starting from the corresponding starting value, in ascending order, a selection marker configuration state is set corresponding to the minimum unconfigured state.
  6. 6.如权利要求1所述的一种隧道标识的配置方法,其特征在于,所述标记集合为布尔型集合,用于将所述已配置的隧道标识的配置状态标记为TRUE,将未配置的隧道标识的配置状态标记为FALSE。 6. The method of claim 1 configured as a tunneling identifier claim, wherein said set of Boolean flag is set, the configuration state for the configured tunnel identifier tag is TRUE, unconfigured tunnel arrangement state identification indicia to FALSE.
  7. 7.如权利要求1所述的一种隧道标识的配置方法,其特征在于,还包括:根据所述隧道标识配置请求中所包含的隧道类型信息,判断本地是否支持本次请求的隧道类型,若不支持,则中止配置隧道标识。 7. The method of claim 1 disposed a tunneling identifier claim, characterized in that, further comprising: a tunnel configuration type information included in the request based on the tunnel ID, determines whether to support this request the local tunnel type, Without support, the configuration is aborted tunnel identifier.
  8. 8. 一种隧道标识的配置装置,其特征在于,包括:接收单元,用于接收用户发送的包含隧道类型信息的隧道标识配置请求;确定单元,用于根据所述隧道类型信息,在包含本地所支持的各类型隧道对应隧道标识的隧道标识集合中,确定出属于本次请求的隧道类型的各隧道标识;选择单元,用于在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态;发送单元,用于将选择的隧道标识发送给所述用户;并且用于,将所述标记集合中该次选择的隧道标识的对应状态更新为已配置状态;存储单元,用于存储所述包含本地所支持的各类型隧道对应隧道标识的 A configured tunnel identifier of the apparatus, characterized by comprising: a receiving unit, a tunnel identifier tunnel configuration request contains the type of information sent by a user; determining means, according to the tunnel type information, comprising local tunnel identifier set various types of tunnel supports the tunnel corresponding to the identified, belong to this request determine the type of each tunnel tunnel identifier; selecting means for this request tunnel type identifier in each tunnel, a selection marker configuration state is set corresponding unconfigured state tunnel identifier; the marker set includes the tunnel identifier set of each tunnel ID corresponding to the arrangement state, and according to whether the identity of each tunnel has been configured, the corresponding labeled configured state or configuration state; and a sending unit, configured to select a tunnel identifier to the user; and for, the marker set corresponding to the selected state of the sub-tunnel identifier configured state updates; storage means for storing each of the types comprising a tunnel corresponding to the tunnel supports local identification 道标识集合;以及用于,存储包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态的所述标记集合。 Track identification set; and means for storing said configuration state comprising a tunnel identifier set of each of the corresponding tunnel identifier and tunnel identification according to whether each is arranged, the mark corresponding to the configured state or configuration state said set of marks.
  9. 9.如权利要求8所述的一种隧道标识的配置装置,其特征在于,所述存储单元,具体用于:存储包含各隧道标识的初始标记状态为未配置状态的所述标记集合。 9. The apparatus of claim 8 configured as a tunneling identifier claim, wherein said storage unit is configured to: store contains an initial state of each tunnel identifier tag for the set of markers unconfigured state.
  10. 10.如权利要求9所述的一种隧道标识的配置装置,其特征在于,所述存储单元,具体还用于:存储所述隧道标识集合,所述隧道标识集合包含的各隧道标识为整数,且每一种隧道类型包含设定个数的连续整数值。 Tunnel identifier of the configuration apparatus as claimed in claim 9, wherein said storage means further specifically configured to: store the tunnel identifier set, each tunnel ID identifying the tunnel is an integer comprising a set of and each tunnel type comprising a set number of consecutive integer values.
  11. 11.如权利要求10所述的一种隧道标识的配置装置,其特征在于,所述选择单元,还用于:在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识,具体用于:在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的最小值。 Configuring apparatus 11. The tunnel identifier of claim 10, wherein said selection unit is further configured to: the type of each tunnel identifier of the tunnel request, selecting a set of markers corresponding configuration state unconfigured state tunnel identifier configured to: in the tunnel of this type of each tunnel ID in the request, selects a corresponding minimum configuration state is not set in a configuration state flag.
  12. 12.如权利要求11所述的一种隧道标识的配置装置,其特征在于,所述选择单元,还用于:针对每种隧道类型,存储最新选择的隧道标识的对应值作为起始值;所述选择一个标记集合中对应配置状态为未配置状态的最小值,具体还用于,在本次请求的隧道类型包含的连续整数值范围内,从其对应的起始值开始,按从小到大的顺序,选择一个标记集合中对应配置状态为未配置状态的最小值。 12. The configuration device of claim 11 to claim a tunneling identifier, wherein the selecting unit is further configured to: for each type of tunnel, corresponding to the newly selected value is stored as an initial value of the tunnel ID; selecting a set of said marker arrangement state to a minimum value corresponding unconfigured state, in particular for further, consecutive integer values ​​in the range of the type comprising a tunnel of this request, starting from the corresponding starting value, ascending large order, selecting a corresponding set of marks is the minimum configuration state unconfigured state.
  13. 13.如权利要求8所述的一种隧道标识的配置装置,其特征在于,所述选择单元,还用于:根据所述隧道标识配置请求中所包含的隧道类型信息,判断本地是否支持本次请求的隧道类型,若不支持,则中止配置隧道标识。 13. The apparatus of claim 8 disposed a tunneling identifier claim, wherein said selection unit is further configured to: the type of tunneling the tunnel configuration request message identifier included in determining whether to support the local tunnel type of request times, if not support, then abort configuration tunnel identifier.
  14. 14. 一种隧道标识的配置系统,其特征在于,包括:网络管理装置,用于接收用户发送的包含隧道类型信息的隧道标识配置请求;还用于, 根据所述隧道类型信息,在包含本地所支持的各类型隧道的对应隧道标识的隧道标识集合中,确定出属于本次请求的隧道类型的各隧道标识;并且还用于,在本次请求的隧道类型的各隧道标识中,选择一个标记集合中对应配置状态为未配置状态的隧道标识;所述标记集合中包含有与所述隧道标识集合中每一个隧道标识相对应的配置状态,且根据每一个隧道标识是否已配置,相应标记为已配置状态或未配置状态;还用于,将所述标记集合中该次选择的隧道标识的对应状态更新为已配置状态;并且用于, 将选择的隧道标识发送给所述用户;还包括,网络终端,用于向所述网络管理装置发送包含隧道类型信息的隧道标 14. A tunnel identifier of the configuration system, characterized by comprising: a network management means for identifying a tunnel containing a tunnel configuration request type information sent by a user; further configured to, based on the tunnel type information, comprising local tunnel identifier set corresponding to various types of tunnel identifier of the tunnel being supported, it is determined that the request is subject to this type of the tunnels the tunnel identifier; and also for, in a tunnel type of this request in each tunnel ID, select a set of marks corresponding to the configuration state of the configuration state non-tunnel identifier; tag set with the arrangement state of the tunnel with a tunnel identity of each set corresponding to the identification, and in accordance with each of a tunnel identifier has been configured, the corresponding marker configured state or configuration state; further configured to set the flag corresponding to the selected state of the sub-tunnel identifier configured state updates; and for the selection of the user identifier to a tunnel; further It comprises a network terminal, for transmitting to said network management apparatus comprising a tunnel type information tunnel standard 配置请求;还用于,接收所述网络管理装置配置的隧道标识。 Configuration request; further configured to receive the tunnel management apparatus identifies the network configuration.
CN 201110273112 2011-09-15 2011-09-15 A method and apparatus for the configuration of the tunnel identification system CN103001784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110273112 CN103001784B (en) 2011-09-15 2011-09-15 A method and apparatus for the configuration of the tunnel identification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110273112 CN103001784B (en) 2011-09-15 2011-09-15 A method and apparatus for the configuration of the tunnel identification system

Publications (2)

Publication Number Publication Date
CN103001784A true true CN103001784A (en) 2013-03-27
CN103001784B CN103001784B (en) 2017-04-12

Family

ID=47929946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110273112 CN103001784B (en) 2011-09-15 2011-09-15 A method and apparatus for the configuration of the tunnel identification system

Country Status (1)

Country Link
CN (1) CN103001784B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188537A (en) * 2007-12-21 2008-05-28 中国科学院计算技术研究所 Identifier implementation method and system in wireless network media access control system
CN101217484A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 Resource distributing method and system
US20090132674A1 (en) * 2007-11-16 2009-05-21 Qualcomm Incorporated Resolving node identifier confusion
CN101925042A (en) * 2009-06-10 2010-12-22 华为技术有限公司 Method and system for controlling tunnel identifier allocation and devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132674A1 (en) * 2007-11-16 2009-05-21 Qualcomm Incorporated Resolving node identifier confusion
CN101188537A (en) * 2007-12-21 2008-05-28 中国科学院计算技术研究所 Identifier implementation method and system in wireless network media access control system
CN101217484A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 Resource distributing method and system
CN101925042A (en) * 2009-06-10 2010-12-22 华为技术有限公司 Method and system for controlling tunnel identifier allocation and devices

Also Published As

Publication number Publication date Type
CN103001784B (en) 2017-04-12 grant

Similar Documents

Publication Publication Date Title
US8102781B2 (en) Dynamic distribution of virtual machines in a communication network
US20080220759A1 (en) Automatic Device Capabilites Change Notification
CN102148749A (en) Method and device for extending switch port
CN102118447A (en) Resource management method and mobile terminal
CN103703724A (en) Resource payment method
CN101645801A (en) Software version upgrading method based on cluster management and order exchange board
CN103763121A (en) Method and device for quickly issuing network configuration information
US20150113529A1 (en) Method, System and Apparatus for Creating Virtual Machine
US20080301640A1 (en) Method and system for allocating id of software component
US20160357587A1 (en) Technologies for annotating process and user information for network flows
US20110258263A1 (en) Topic-based messaging using consumer address and pool
US20150215228A1 (en) Methods, systems, and computer readable media for a cloud-based virtualization orchestrator
US20110161961A1 (en) Method and apparatus for optimized information transmission using dedicated threads
CN104954220A (en) Virtual network service deployment method and device thereof
US20140280800A1 (en) Apparatus and method to maintain consistent operational states in in cloud-based infrastructures
WO2014169870A1 (en) Virtual network element automatic loading and virtual machine ip address acquisition method and system, and storage medium
CN103618621A (en) Method, device and system for automatic configuration of SDN
US20060268853A1 (en) Methods and apparatus for distributing label information
CN103812930A (en) Method and device for resource scheduling
CN102255926A (en) Task distribution method in map reduce (MR) system, system and apparatus thereof
EP2849064A1 (en) Method and apparatus for network virtualization
US9130943B1 (en) Managing communications between client applications and application resources of on-premises and cloud computing nodes
US7418488B1 (en) Network address assignment server with configuration updating capability
US9207988B2 (en) Method, system, and device for managing server hardware resources in a cloud scheduling environment
CN102769667A (en) Method, equipment and system for generating ID

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01