WO2008043311A1 - Method, apparatus, and system for controlling resource license - Google Patents

Method, apparatus, and system for controlling resource license Download PDF

Info

Publication number
WO2008043311A1
WO2008043311A1 PCT/CN2007/070843 CN2007070843W WO2008043311A1 WO 2008043311 A1 WO2008043311 A1 WO 2008043311A1 CN 2007070843 W CN2007070843 W CN 2007070843W WO 2008043311 A1 WO2008043311 A1 WO 2008043311A1
Authority
WO
WIPO (PCT)
Prior art keywords
license
resource
resource license
server
data
Prior art date
Application number
PCT/CN2007/070843
Other languages
French (fr)
Chinese (zh)
Inventor
Tao Lv
Yun Hu
Jie Dong
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CNB200610063004XA external-priority patent/CN100449562C/en
Priority claimed from CN 200610063285 external-priority patent/CN1946033A/en
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008043311A1 publication Critical patent/WO2008043311A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A method, an apparatus, and a system for controlling the resource License. The method comprises: the resource License controlling center receiving the resource License file; the resource License controlling center loading the corresponding resource License file into the resource License parser; the resource License parser analyzing the resource License file to obtain the license of the resource License.

Description

一种资源许可证控制方法、 装置及系统 本申请要求于 2006 年 9 月 30 日提交中国专利局、 申请号为 200610063004.X,发明名称为"一种 License控制方法及装置"; 以及于 2006年 10月 24 日提交中国专利局、 申请号为 200610063285.9、 发明名称为"一种实 现电信设备端口 License管理的方法及其系统 "的中国专利申请的优先权,其全 部内容通过引用结合在本申请中。  The present invention claims to be submitted to the Chinese Patent Office on September 30, 2006, and the application number is 200610063004.X, and the invention name is "a license control method and device"; and in 2006 Priority of Chinese Patent Application No. 200610063285.9, entitled "A Method for Implementing Telecommunication Device Port License Management and Its System", filed on October 24, the entire disclosure of which is incorporated herein by reference. .
技术领域 Technical field
本发明涉及通信领域, 尤其涉及资源许可证 License控制方法、 装置及系 统。  The present invention relates to the field of communications, and in particular, to a resource license license control method, apparatus, and system.
背景技术 Background technique
随着个人电脑的普及、 大批程序员和软件公司的出现,软件技术得到长足 发展, 与此同时, 软件保护受到了很大的挑战。  With the popularity of personal computers, the emergence of a large number of programmers and software companies, software technology has developed rapidly, and at the same time, software protection has been greatly challenged.
以前用户只要拥有了软件就能够运行并使用它,因此软件公司主要通过控 制软件复制和软件分发来控制软件的使用。这时出现了许多防止软件被非法复 制的技术手段, 其基本原理通常是将软件和特定的硬件载体捆绑起来, 例如软 盘、 光盘等, 但是这种方式过于依赖于硬件, 从而给软件的推广带来局限性。  Previously, users had the software to run and use it, so software companies control software usage primarily by controlling software replication and software distribution. At this time, there are many technical means to prevent the software from being illegally copied. The basic principle is usually to bundle the software with a specific hardware carrier, such as a floppy disk, an optical disk, etc., but this method is too dependent on the hardware, thereby promoting the software. To be limited.
目前设备提供商基本上没有相应的控制策略, 以满足客户的需求为主,如 果同一个客户进行了多次釆购,每次供应商都将按照多于定购单的标准配置的 端口数量提供, 不能充分利用已存在的端口进行业务开通, 同时增大了硬件的 开发成本。 不仅端口资源如此, 其他硬件资源以及网络资源也都面临同样的问 题。  At present, equipment providers basically do not have corresponding control strategies to meet the needs of customers. If the same customer makes multiple purchases, each supplier will provide more than the number of ports configured by the standard of the purchase order. Make full use of existing ports for service provisioning and increase hardware development costs. Not only port resources, but also other hardware resources and network resources face the same problem.
发明内容 Summary of the invention
本发明提供一种资源 License控制方法、 装置及系统, 使得电信设备供应 商对硬件资源进行有效的管理。  The invention provides a resource license control method, device and system, which enable a telecom equipment supplier to effectively manage hardware resources.
本发明提供一种资源 License控制方法, 包括:  The present invention provides a resource license control method, including:
资源 License控制中心接收资源 License文件;  The resource license control center receives the resource license file;
资源 License控制中心将相应的资源 License文件加载到资源 License解析 哭口 h., 资源 License解析器对所述资源 License文件进行解析获得资源 License许 可。 The resource license control center loads the corresponding resource license file into the resource license to analyze the crying port. The resource license file parses the resource license file to obtain a resource license.
本发明还提供一种资源 License控制系统, 包括:  The present invention also provides a resource license control system, including:
资源 License控制中心, 用于接收电信设备的资源 License许可申请, 及 对电信设备的资源进行管理;  The resource license control center is configured to receive a resource license application for the telecommunication device, and manage the resources of the telecommunication device;
资源 License解析器,用于对所述资源 License控制中心提供的资源 License 备, 以及根据资源 License控制中心的指示对电信设备的资源 License进行调 整。  The resource license analyzer is configured to adjust the resource license provided by the resource license control center, and adjust the resource license of the telecommunication device according to the instruction of the resource license control center.
本发明还提供一种资源 License控制装置, 包括:  The present invention also provides a resource license control apparatus, including:
资源 License接收模块, 用于获取资源 License数据;  The resource receiving module is configured to obtain resource license data.
资源 License解析器,用于对所述资源 License接收模块获得的资源 License 数据进行解析并获得资源 License许可;  The resource license parser is configured to parse the resource license data obtained by the resource license receiving module and obtain a resource license license;
业务模块, 用于根据所述资源 License解析器提供的资源 License许可, 管理对应资源。  The service module is configured to manage the corresponding resource according to the resource license provided by the resource license parser.
在本发明的实施例中, 釆用在网管服务器上集成资源 License控制中心, 由资源 License控制中心将资源 License文件加载到资源 License解析器上,通 行解析,从而获得设备类型、业务端口类型、业务端口可授权数量等许可信息, 以供电信设备对端口资源进行有效的管理和控制。 此外, 釆用本发明的技术方 案对设备端口资源进行资源 License管理时,还可以引导局方按照资源 License 的方式购买端口, 避免端口浪费及用户无偿使用。 通过此方案, 还可以对业务 板资源、 空口链路资源、 及通信系统中的信道资源等各种硬件资源进行许可。  In the embodiment of the present invention, the resource management license center is integrated into the network management server, and the resource license file is loaded into the resource license analyzer by the resource control center, and the device is parsed to obtain the device type, service port type, and service. The license information such as the number of ports can be authorized, and the power supply device can effectively manage and control the port resources. In addition, when the resource management of the device port resource is performed by using the technical solution of the present invention, the administrator can also guide the party to purchase the port according to the resource license, thereby avoiding port waste and free use of the user. Through this scheme, various hardware resources such as service board resources, air interface link resources, and channel resources in the communication system can also be licensed.
本发明实施例可以通过部署专门的 License服务器, 其功能相当于前述的 资源 License控制中心, 用于集中管理用户所有的资源 License许可, License 服务器动态的判断剩余的资源 License并返回资源 License结果。 在本实施例 中, 将用户所有的资源 License集中交给 License服务器管理, 因此可以实现 资源 License的动态发放, 以及提高资源 License使用率。  In the embodiment of the present invention, a special license server is deployed, and the function is equivalent to the foregoing resource license control center, which is used to centrally manage all the resource licenses of the user, and the license server dynamically determines the remaining resource licenses and returns the resource license result. In this embodiment, the resource licenses of the user are collectively distributed to the license server for management, so that the dynamic license is dynamically distributed and the resource license usage rate is improved.
此外, 由于资源 License控制中心的功能比较集中, 为了进一步提高系统 的实时性及可靠性, 作为改进的方案, 在本发明的实施例中, 将资源 License 控制中心按照功能划分分别通过 License服务器和 License客户端实现, 从而 将原来的集中式管理变成分布式管理。 即通过将 License客户端直接部署在电 信设备或应用服务器上, 每个电信设备或应用服务器均有单独的 License客户 端负责资源 License许可, 这样原本由网管服务器中的资源 License控制中心 独自承担的许可工作分解给 License服务器和众多的电信设备或应用服务器的 License客户端共同承担,资源 License控制中心的并发处理压力将得到很大緩 解。 同时, 当电信设备或应用服务器上的 License客户端运行异常时, 业务模 块也可以直接向 License服务器进行许可,这样的机制提高了系统的运行效率, 且有效的解决了 License服务器的性能瓶颈。 In addition, because the functions of the resource license control center are concentrated, in order to further improve the system Real-time and reliability, as an improved solution, in the embodiment of the present invention, the resource control center is implemented by the license server and the license client according to the function, thereby turning the original centralized management into distributed management. . That is, the license client is directly deployed on the telecom device or the application server. Each telecom device or application server has a separate license client responsible for the resource license, so that the license is originally assumed by the resource license control center in the network management server. The work breakdown is shared between the license server and the license clients of the telecom or application servers. The concurrent processing pressure of the resource license control center will be greatly alleviated. At the same time, when the license client on the telecom device or the application server runs abnormally, the service module can also directly license the license server. This mechanism improves the operating efficiency of the system and effectively solves the performance bottleneck of the license server.
在本发明的实施例中, 应用服务器可以不再直接向资源 License控制中心 进行远程许可, 而是向本地的 License 客户端进行许可, License 客户端和 License服务器之间是松耦合关系, 本地调用比起远程调用来节省了网络传输 和消息包编解码的开销; 本地调用的效率和可靠性远大于远程调用; 此外, License客户端只需要对单个应用服务器提供许可服务, 运行压力很小, 因此 可以支持更复杂、更灵活的资源 License策略; 由于分布式部署并且独立运行, 网管服务器的暂时故障不会立刻影响到电信设备的业务运行,网管服务器和电 信设备之间网络发生异常也不会立即影响到业务运行, 系统的可靠性大大增 强。  In the embodiment of the present invention, the application server may not directly perform remote license to the resource license control center, but license the license to the local license client. The license client and the license server are loosely coupled, and the local call ratio is The remote call saves the overhead of network transmission and message packet encoding and decoding; the efficiency and reliability of the local call is much greater than the remote call; in addition, the license client only needs to provide the license service to a single application server, and the running pressure is very small, so Supporting more complex and flexible resource license policies; Due to distributed deployment and independent operation, the temporary failure of the network management server will not immediately affect the service operation of the telecommunication equipment, and the abnormality of the network between the network management server and the telecommunication equipment will not be affected immediately. By the operation of the business, the reliability of the system is greatly enhanced.
在本发明的实施例中, License客户端获取的是前一次刷新的资源 License, 在下一次数据获得之前, 如果遇到业务并发的峰值, 多个 License客户端签发 的资源总数有可能超过总的 License资源池, 使得当业务系统遇到大规模并发 的业务高峰时,允许资源 License实际签发数量暂时超出业务提供商 ASP拥有 的资源 License总数, 因此, 本方案很好的支持了 ASP的"资源 License重叠" 运营模式, 但是又不会给软件权利人的合法利益造成损失。  In the embodiment of the present invention, the license client obtains the resource license that was previously refreshed. If the peak of the service is encountered, the total number of resources issued by multiple license clients may exceed the total license. The resource pool enables the resource license to be issued in a large amount. The actual number of licenses issued by the service provider temporarily exceeds the total number of resource licenses owned by the service provider ASP. Therefore, the solution supports the resource license overlap of the ASP. "Operational model, but will not cause losses to the legitimate interests of software rights holders.
附图说明 DRAWINGS
图 1为本发明实施例的资源 License控制系统结构图;  1 is a structural diagram of a resource license control system according to an embodiment of the present invention;
图 2为本发明实施例所述试用态、 运行态和普通态之间的关系图; 图 3为本发明实施例的资源 License控制方法流程图; 图 4为本发明另一实施例的资源 License控制系统结构图; 2 is a relationship diagram between a trial state, an operating state, and a normal state according to an embodiment of the present invention; FIG. 3 is a flowchart of a resource license control method according to an embodiment of the present invention; 4 is a structural diagram of a resource license control system according to another embodiment of the present invention;
图 5为本发明实施例的资源 License控制系统的组网示例;  FIG. 5 is a schematic diagram of networking of a resource license control system according to an embodiment of the present invention;
图 6为本发明实施例的资源 License控制方法流程图;  6 is a flowchart of a resource license control method according to an embodiment of the present invention;
图 7为本发明另一实施例的资源 License控制系统的组网示例;  FIG. 7 is a network diagram of a resource license control system according to another embodiment of the present invention;
图 8为本发明另一实施例的资源 License控制方法流程图;  FIG. 8 is a flowchart of a resource license control method according to another embodiment of the present invention;
图 9为本发明实施例的 License服务器的初始化流程;  FIG. 9 is a flowchart of an initialization process of a license server according to an embodiment of the present invention;
图 10为本发明实施例的电信设备的初始化流程;  10 is an initialization process of a telecommunication device according to an embodiment of the present invention;
图 11为本发明实施例的 License服务器从电信设备获取数据的过程。 具体实施方式  FIG. 11 is a process of acquiring data from a telecommunication device by a license server according to an embodiment of the present invention. detailed description
为使本发明的目的、技术方案及优点更加清楚明白, 下面参照附图并举实 施例, 对本发明作进一步详细说明。  In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the present invention will be further described in detail with reference to the accompanying drawings.
在实现本发明的过程中,发明人经过研究发现: 现有电信设备供应商在经 营过程中常遇到如下问题: 局方在下某种设备(如宽带接入设备)的釆购计划 时不是按标准配置下发定购单(PO, Purchase Order ), 而是按实际的端口需要 下釆购计划,而接入设备的电信设备供应商提供的标准配置则基本上是 8、 16、 32、 48、 64 个端口的配置, 设备供应商将只能按照大于定购单定购的标准配 置的端口数量向局方提供设备, 这样就可能造成端口的浪费,甚至多余的端口 被用户无偿使用。 假如局方第一次下釆购计划时可能釆购 79 ADSL ( Asymmetric Digital Subscriber Loop/Line , 非对称数字用户环路), 而不是釆 购 96 ADSL, 设备供应商将提供 96 ADSL, 这样第一次釆购可能就造成 17路 ADSL端口浪费。 而第二次局方可能釆购 30 ADSL, 而设备供应商只能提供 48 ADSL,这样又造成 18路 ADSL端口浪费,这样两次釆购共造成 35路 ADSL 端口浪费。  In the process of implementing the present invention, the inventors have found through research that: existing telecommunication equipment suppliers often encounter the following problems in the course of operation: The bureau is not in accordance with the standard of the procurement plan of a certain device (such as broadband access equipment). Configure the purchase order (PO, Purchase Order), but the actual port needs to download the purchase plan, and the standard configuration provided by the telecom equipment supplier of the access device is basically 8, 16, 32, 48, 64 For the configuration of the ports, the device supplier will only provide the devices to the Administrator in accordance with the number of ports configured by the standard ordering of the order, which may result in waste of the ports, and even the redundant ports are used by the users for free. If the Bureau may purchase 79 ADSL (Asymmetric Digital Subscriber Loop/Line) instead of purchasing 96 ADSL for the first time, the equipment supplier will provide 96 ADSL. Sub-purchasing may result in wasted 17-way ADSL ports. The second time, the bureau may purchase 30 ADSL, and the equipment supplier can only provide 48 ADSL, which in turn causes 18 channels of ADSL ports to be wasted, so that the two purchases have caused a total of 35 ADSL ports to be wasted.
为此, 本发明提供一种通过 License对各种资源进行控制和管理的方法、 系统及装置。 需要说明的是, 本发明所述的资源包括但不限于端口资源、 业务 板资源、 空口链路资源、 及通信系统中的信道资源等各种硬件资源。 下面以端 口资源为例详细描述本发明的技术方案。  To this end, the present invention provides a method, system, and apparatus for controlling and managing various resources through a license. It should be noted that the resources described in the present invention include, but are not limited to, various hardware resources such as port resources, service board resources, air interface link resources, and channel resources in a communication system. The technical solution of the present invention is described in detail below by taking port resources as an example.
如图 1所示, 为本发明实施例的系统结构图, 主要包括资源 License管理 控制台、 网管服务器和电信设备, 其中: 资源 License管理控制台用于将 License文件生成器(图中未标识)根据 设备类型、设备序列号、设备版本、 可授权的业务端口类型以及可授权的端口 数量, 按照一定的组合原则, 经过加密算法生成资源 License文件存储在网管 服务器上。 As shown in FIG. 1 , it is a system structure diagram of an embodiment of the present invention, which mainly includes a resource license management console, a network management server, and a telecommunication device, where: The license management console is used to encrypt the license file generator (not identified in the figure) according to the device type, device serial number, device version, licensable service port type, and number of licensable ports. The algorithm generates a resource license file and stores it on the network management server.
网管服务器除了运行网管功能后台进程外, 还集成了资源 License控制中 心, 资源 License控制中心主要负责资源 License文件的集中管理, 并处理设 备上电注册时的端口资源申请或者零散的资源申请,根据设备注册和零散资源 申请的要求加载相应的资源 License文件到设备。  In addition to running the network management function background process, the network management server also integrates the resource license control center. The resource license control center is mainly responsible for the centralized management of the resource license file, and processes the port resource application or the fragmented resource application when the device is powered on, according to the device. The requirements for registration and fragmented resource application load the corresponding resource license file to the device.
资源 License控制中心可以根据电信设备的端口等资源申请在网管服务器 上查找到相应的资源 License文件, 并通过 FTP ( File Transfer Protocol, 文件 传输协议)或者 TFTP ( Trivial File Transfer Protocol, 简单文件传输协议)协 议将该文件传输到电信设备上。  The resource license control center can search for the corresponding resource license file on the network management server based on the resource such as the port of the telecom device, and use File Transfer Protocol (FTP) or TFTP (Trivial File Transfer Protocol). The protocol transmits the file to the telecommunication device.
电信设备用于进行业务发放,通过设备可以实现 ADSL宽带上网、语音呼 叫等业务。 电信设备上配置有 FTP或者 TFTP服务器, 用来接收资源 License 文件, 还配置有资源 License 解析器, 用于解析资源 License 文件获得资源 License许可。  The telecommunication equipment is used for service distribution, and the ADSL broadband Internet access and voice call can be realized through the device. An FTP or TFTP server is configured on the telecom device to receive the resource license file. The resource license is also configured to resolve the resource license file to obtain the resource license.
通过资源 License管理控制台启动资源 License管理服务时, 网管服务器 的资源 License控制中心通过 SNMP ( Simple Network Management Protocol, 简单网络管理协议)与电信设备交互, 告知电信设备资源 License文件的生长 规则, 通知资源 License解析器开始执行端口资源 License管理, 资源 License 解析器根据资源 License生成器生成资源 License文件的规则解析出设备类型、 业务端口类型、业务端口可授权数量等,按照默认的方式控制授权数量范围内 的端口发放业务。  When the resource license management service is started through the resource management console, the license control center of the network management server interacts with the telecommunication device through SNMP (Simple Network Management Protocol) to notify the growth rules of the telecommunication device resource license file and notify the resource. The license resolver starts to perform port resource license management. The resource license resolver parses out the device type, service port type, and number of service port licenses according to the rules of the resource license file generated by the resource license generator, and controls the number of licenses in the default manner. Port issuing business.
在运行过程中, 可能需要对上述默认授权的端口进行调整, 例如, 回收对 某些端口的授权或者调整某些端口的授权, 此时资源 License管理控制台将权 限调整指令传递给资源 License控制中心, 资源 License控制中心通过 SNMP 协议与电信设备资源 License交互, 资源 License解析器根据资源 License控制 中心发送的调整端口权限的指示对端口权限进行调整。 例如, 资源 License控 制中心将调整后的可授权的业务端口数量等端口权限信息通过资源 License文 件指示给资源 License解析器, 资源 License解析器解析资源 License文件获得 业务端口可授权数量等信息,从而按照该信息控制授权数量范围内的端口发放 业务。 During the operation, you may need to adjust the port of the default authorization. For example, to reclaim authorization for certain ports or to adjust the authorization of certain ports, the resource license management console passes the permission adjustment command to the resource license control center. The resource license control center interacts with the telecom device resource license through the SNMP protocol. The resource license resolver adjusts the port permissions according to the indication of the port permissions sent by the resource license control center. For example, the resource license control center passes the adjusted port authority information such as the number of authorized service ports through the resource license file. The device indicates to the resource license resolver, and the resource license resolver resolves the resource license file to obtain information such as the number of authorized ports of the service port, so as to control the port issuing service within the authorized number range according to the information.
一般情况下, 资源 License策略发生作用可以是设备初始启动如上电时就 加载资源 License文件并启动资源 License策略控制, 也可以是启动之后只有 用到某个特性时才去进行相应的资源 License文件加载和策略控制。  In general, the resource license policy can be used to load the resource license file and start the resource license policy control when the device is initially powered on. The device license file can be loaded only after a certain feature is used. And policy control.
电信设备上电时会携带"设备名称 +设备版本 + ESN (电子序列号) + Feature (特性) + items (项目) "信息主动向网管服务器的资源 License控制 中心进行注册, 申请设备的端口资源 License (其中, ESN不会随着设备硬件 的改变而改变, items体现接入设备的资源 License控制项, Feature表示设备 的功能项), 资源 License控制中心将该电信设备的所有资源和规模控制资源 License文件下发到设备上。  When the telecom device is powered on, the device name + device version + ESN (electronic serial number) + Feature (item) + items (item) is used to register with the license control center of the network management server. (The ESN does not change with the hardware of the device. The items represent the resource control item of the access device, and the Feature indicates the function of the device.) The resource license control center controls the resources of all the resources and the scale of the telecommunication device. The file is sent to the device.
当启动一个没有资源 License策略控制的端口资源活动时, 资源 License 解析器将携带"设备名称 +设备版本 + ESN + Feature + items"信息向资源 License控制中心注册, 并申请端口资源 License, 资源 License控制中心根据 设备申请将相应的端口资源 License文件(该文件实现了资源和规模控制说明) 加载到设备上。 资源 License解析器会根据设备序列号进行资源 License文件 识别, 如果资源 License文件不符合该设备, 将发出警告。  When a port resource activity with no resource license policy is enabled, the resource license resolver will register with the resource license control with the device name + device version + ESN + Feature + items and apply for the port resource license. The center loads the corresponding port resource license file (the file implements resource and size control instructions) on the device according to the device application. The resource license resolver will identify the resource license file based on the device serial number. If the resource license file does not match the device, a warning will be issued.
当资源 License文件识别通过之后, 如果已经启动了资源 License控制月良 务, 资源 License解析器将会自动解析资源 License文件, 电信设备根据资源 License文件内容实现相应的策略管理。 资源 License管理启动之后, 系统自动 进入资源 License管理试用态(如一个月试用态), 在试用态内, 所有端口均是 可用的, 但是会不定期 (如每天一次)地通过资源 License管理控制台提醒用 户, 资源 License控制将会发生作用, 提醒用户根据端口资源 License进行购 买。 在试用态期满之后, 系统自动进入资源 License管理受控态, 即只有资源 License规定的端口数量的端口可以使用, 其他端口即使已经使用, 也自动失 效, 并通过管理控制台上 告警。  After the resource license file is identified, if the resource license control month is enabled, the resource license resolver will automatically resolve the resource license file, and the telecommunication device implements corresponding policy management according to the content of the resource license file. After the resource license management is started, the system automatically enters the resource license management trial state (such as one month trial state). In the trial state, all ports are available, but the resource license management console is passed irregularly (such as once a day). Remind the user that the resource license control will take effect and remind the user to purchase according to the port resource license. After the expiration of the trial state, the system automatically enters the resource license management controlled state, that is, only the port number of the port specified by the resource license can be used, and other ports will automatically fail even if they are already used, and the alarm is sent through the management console.
除了试用态、 受控态之外, 设备还提供一个普通态, 三种运行态的关系如 图 2所示。 启用资源 License管理后, 系统由资源 License管理普通态进入资 源 License管理试用态, 试用态期满后, 系统再由资源 License管理试用态进 入资源 License管理受控态; 禁止资源 License管理后, 系统由资源 License管 理受控态进入资源 License管理普通态。 其中, 系统处于资源 License管理试 用态期间, 如果禁止资源 License管理, 则系统由禁止资源 License管理试用 态直接进入禁止资源 License管理普通态。 普通态是没有启动资源 License管 理的设备运行状态, 考虑到市场策略, 不是每一个运营商都需要实行根据端口 资源 License购买的策略,可以根据不同运营商实现是否启动端口资源 License 管理的策略。 In addition to the trial state and the controlled state, the device also provides a normal state. The relationship between the three operating states is shown in Figure 2. After the resource license management is enabled, the system manages the normal state by the resource license. After the trial mode expires, the system is managed by the resource license to enter the resource license management state. After the resource license is disabled, the system is managed by the resource license and enters the resource license management state. The system is in the resource license management trial state. If the resource license management is disabled, the system prohibits the resource license management and directly enters the forbidden resource license management state. The normal state is the running state of the device that does not start the resource license management. Considering the market policy, not every operator needs to implement the policy of purchasing the license based on the port resource license.
本发明实施例流程如图 3所示, 包括如下步骤:  The process of the embodiment of the present invention is as shown in FIG. 3, and includes the following steps:
步骤 1 : 根据设备类型、 设备序列号、 设备版本、 可授权的业务端口类型 以及可授权的端口数量, 按照一定的组合原则, 经过加密算法生成的资源 Step 1: According to the device type, device serial number, device version, licensable service port type, and number of licensable ports, resources generated by the encryption algorithm according to certain combination principles.
License文件存储在网管服务器上, 每种端口资源的 License文件均不相同。 The license file is stored on the NMS server. The license files for each port resource are different.
步骤 2: 电信设备向网管服务器的资源 License控制中心申请端口资源。 步骤 3: 网管服务器的资源 License控制中心通过 FTP或者 TFTP将相应 资源的资源 License文件加载到电信设备中。  Step 2: The telecom device applies for port resources to the resource management center of the network management server. Step 3: Resources of the NMS server The License Control Center loads the resource license files of the corresponding resources into the telecommunication device through FTP or TFTP.
步骤 4: 通过资源 License管理控制台启用资源 License控制。  Step 4: Enable resource license control through the resource license management console.
步骤 5:启用资源 License控制之后,加载了资源 License文件的资源 License 解析器自动解析资源 License文件。  Step 5: After the resource is enabled, the resource of the resource license file is loaded. The license resolver automatically resolves the resource license file.
步骤 6:资源 License解析器将根据生成资源 License文件的规则解析出的 设备类型、 业务端口类型、 业务端口可授权数量等, 按照默认的方式控制授权 数量范围内的端口发放业务。  Step 6: The resource license resolver will control the port distribution service within the authorized number range according to the device type, service port type, and number of service port licenses that can be resolved according to the rules for generating the resource license file.
此外, 还可以包括步骤 7: 资源 License 解析器根据网管服务器的资源 In addition, you can also include Step 7: Resource License Resolver based on the resources of the network management server
License控制中心调整端口权限的指示对端口权限进行调整。 The license control center adjusts the port permissions to adjust the port permissions.
如果用户有更多的端口业务发放的需求, 则需要提出申请,供应商根据新 的需求重新生成资源 License文件, 并且根据增加的端口数量进行二次收费。  If the user has more requirements for port service delivery, the application needs to be submitted, the supplier regenerates the resource license file according to the new requirement, and performs secondary charging according to the increased number of ports.
如图 4所示, 为本发明另一实施例的系统结构图, 主要包括资源 License 管理控制台、 网管服务器和电信设备, 其中:  As shown in FIG. 4, it is a system structure diagram of another embodiment of the present invention, which mainly includes a resource license management console, a network management server, and a telecommunication device, where:
资源 License管理控制台用于将 License文件生成器(图中未标识)根据 设备类型、设备序列号、设备版本、 可授权的业务端口类型以及可授权的端口 数量, 按照一定的组合原则, 经过加密算法生成资源 License文件存储在网管 服务器上。 The resource license management console is used to identify the license file generator (not identified in the figure) according to the device type, device serial number, device version, licensable service port type, and licensable port. The quantity, according to a certain combination principle, generates a resource license file through the encryption algorithm and stores it on the network management server.
网管服务器除了运行网管功能后台进程外, 还集成了资源 License控制中 心和资源 License解析器。 其中, 资源 License控制中心主要负责资源 License 文件的集中管理, 并处理设备上电注册时的端口资源申请或者零散的资源申 请, 根据设备注册和零散资源申请的要求加载相应的资源 License文件到资源 License解析器。  In addition to running the network management function background process, the network management server also integrates the resource license control center and the resource license resolver. The resource license control center is responsible for the centralized management of the resource license file, and processes the port resource application or the fragmented resource application when the device is powered on, and loads the corresponding resource license file to the resource license according to the requirements of the device registration and the fragmented resource application. Parser.
当资源 License管理控制台启动资源 License管理服务时, 资源 License控 制中心根据电信设备的端口资源申请在网管服务器上查找到相应的资源 License文件, 并通知资源 License解析器开始执行端口资源 License管理。 资 源 License解析器根据生成资源 License文件的规则解析出设备类型、 业务端 口类型、 业务端口可授权数量等端口控制需要的信息, 并通过 SNMP协议将 该信息传入电信设备。  When the resource license management console starts the resource license management service, the resource license control center searches for the corresponding resource license file on the network management server according to the port resource application of the telecommunication device, and notifies the resource license resolver to start the port resource license management. The resource license resolver parses the information required for port control such as the device type, the service port type, and the number of authorized ports of the service port according to the rules for generating the resource license file, and transmits the information to the telecommunication device through the SNMP protocol.
本发明上述实施例的流程如下:  The flow of the above embodiment of the present invention is as follows:
步骤 1 : 根据设备类型、 设备序列号、 设备版本、 可授权的业务端口类型 以及可授权的端口数量, 按照一定的组合原则, 经过加密算法生成的资源 License文件存储在网管服务器上,每种端口资源的资源 License文件均不相同。  Step 1: According to the device type, the device serial number, the device version, the licensable service port type, and the number of licensable ports, the resource license file generated by the encryption algorithm is stored on the NMS server according to a certain combination. The resource license files of the resources are different.
步骤 2: 电信设备向网管服务器的资源 License控制中心申请端口资源。 步骤 3、 网管服务器的资源 License控制中心将相应资源的资源 License 文件加载到资源 License解析器。  Step 2: The telecom device applies for port resources to the resource management center of the network management server. Step 3: Resources of the NMS server The License Control Center loads the resource license file of the corresponding resource into the resource license resolver.
步骤 4: 通过资源 License管理控制台启用资源 License控制。  Step 4: Enable resource license control through the resource license management console.
步骤 5:启用资源 License控制之后,加载了资源 License文件的资源 License 解析器自动根据生成资源 License文件的规则解析出设备类型、业务端口类型、 业务端口可授权数量等, 并通过 SNMP协议将该信息传入电信设备, 从而实 现对端口权限的调整。  Step 5: After the resource license control is enabled, the resource license that is loaded with the resource license file automatically resolves the device type, service port type, and number of service port licenses according to the rules for generating the resource license file, and the information is obtained through the SNMP protocol. Incoming telecom equipment to adjust port permissions.
需要说明的是, 除了将资源 License解析器设置在网管服务器中之外, 本 领域的技术人员还可以很容易想到将所述的资源 License解析器设置在其它的 服务器中, 同样也可以实现本发明的目的。 由于实现过程与本发明上述实施例 类似, 此处不再赘述。 此外, 本发明上述实施例均是针对通信设备的端口控制而言, 至于其它设 备资源, 例如单板、 机框, 甚至于逻辑资源 PVC、 业务端口 ( Service Port )等 本领域技术人员可以很容易参照本发明的技术方案实现资源 License控制。 由 于实现过程与本发明上述实施例类似, 此处不再赘述。 It should be noted that, in addition to setting the resource license resolver in the network management server, those skilled in the art can easily think of setting the resource license parser in other servers, and can also implement the present invention. the goal of. Since the implementation process is similar to the above embodiment of the present invention, it will not be described herein. In addition, the foregoing embodiments of the present invention are directed to port control of a communication device, and other device resources, such as a board, a chassis, or even a logical resource PVC, a service port, etc., can be easily used by those skilled in the art. Resource license control is implemented with reference to the technical solution of the present invention. Since the implementation process is similar to the above embodiment of the present invention, it will not be described herein.
此外, 在实际应用中, 上述资源 License控制中心可以按照功能的集中与 分布两种情况按照下述两种组网方式实现。  In addition, in the actual application, the resource license control center can be implemented in the following two networking modes according to the centralized and distributed functions.
如图 5所示, 为本发明实施例的资源 License控制系统的组网示例。 其是 通过部署专门的 License服务器, 其功能相当于前述的资源 License控制中心, 用于集中管理用户所有的资源 License许可, 业务模块分布在不同的应用服务 器或电信设备上, 每个业务模块直接访问 License服务器并申请资源 License, License服务器动态的判断剩余的资源 License并返回资源 License结果, 业务 模块根据资源 License许可结果决定业务流程, 并在有资源 License文件的情 况下, 通过资源 License解析器解析资源 License文件以获得 License许可。  As shown in FIG. 5, it is an example of networking of a resource license control system according to an embodiment of the present invention. It is a dedicated license server. Its function is equivalent to the aforementioned resource license control center. It is used to centrally manage all the licenses of the user. The service modules are distributed on different application servers or telecom devices. Each service module directly accesses the license. The license server applies for a resource license. The license server dynamically determines the remaining resource licenses and returns the resource license result. The service module determines the service process based on the license result of the resource license, and resolves the resource through the resource license resolver when there is a resource license file. License file to obtain a license license.
其流程示例如图 6所示:  An example of the process is shown in Figure 6:
步骤 1 :业务模块收到业务请求, 向 License服务器申请资源 License许可; 步骤 2丄 icense服务器检查当前剩余的资源 License许可,判断是否发放资 源 License许可;  Step 1: The service module receives the service request and applies for the resource license license to the license server. Step 2: The license server checks the current remaining resource license license and determines whether to issue the resource license license.
步骤 3:如果还有可以发放的资源 License许可, 则 License服务器进行资 源 License许可, 并将资源 License许可扣除 1 ;  Step 3: If there is a resource license that can be issued, the license server performs the resource license license and deducts the resource license license 1;
步骤 4: License服务器向业务模块返回申请成功的响应消息;  Step 4: The license server returns a response message for successful application to the service module.
步骤 5:业务模块收到资源 License许可后, 执行业务操作。  Step 5: After receiving the resource license, the service module performs the business operation.
在本实施例中, 将用户所有的资源 License集中交给 License服务器管理, 因此可以实现资源 License的动态发放, 以及提高资源 License使用率。  In this embodiment, the resource license is distributed to the license server, and the resource license is dynamically distributed and the resource license usage rate is improved.
但是本方案完全依赖 License服务器管理和控制资源 License,当应用服务 器或电信设备数量较多, 业务模块运行繁忙的时候, 因每个业务模块的每次资 源 License请求都需要向 License服务器申请, License服务器负荷重, 同时也 会增加网络的流量。  However, the solution relies on the license server to manage and control the resource license. When the number of application servers or telecom devices is large and the service module is running busy, each resource license request must be applied to the license server for each service module. Heavy loads also increase network traffic.
由于本发明上述实施例中的资源 License控制中心的功能比较集中, 为了 进一步提高系统的实时性及可靠性, 作为改进的方案, 将资源 License控制中 心的部分功能下放到电信设备中, 即将资源 License控制中心按照功能划分分 别通过 License服务器和 License客户端实现, 从而将原来的集中式管理变成 分布式管理。 为此, 本发明提供另一种方式, 即: Because the functions of the resource license control center in the foregoing embodiments of the present invention are relatively centralized, in order to further improve the real-time performance and reliability of the system, as an improved solution, the resource license is controlled. Part of the function of the heart is placed in the telecom equipment. The resource control center is implemented by the license server and the license client according to the functions, so that the original centralized management becomes distributed management. To this end, the present invention provides another way, namely:
请参阅图 7 , License服务器管理整个 License资源, 在系统启动时, 将资 源 License全局数据同步给所有的电信设备或应用服务器, 并根据电信设备的 请求定时将最新的资源 License数据发送给电信设备, 或通过应用服务器发送 给电信设备。 其中, 资源 License全局数据主要包括 License服务器所有资源 License数量、 正在使用的资源 License数量、 剩余可用的资源 License数量。  Referring to FIG. 7, the license server manages the entire license resource, and synchronizes the global data of the resource license to all the telecommunication devices or application servers when the system is started, and sends the latest resource license data to the telecommunication device according to the request of the telecommunication device. Or sent to the telecommunication device through the application server. The resource license global data includes the number of licenses of the license server, the number of licenses being used, and the number of remaining licenses.
每个电信设备或应用服务器包括至少一个 License客户端和至少一个业务 模块。 所述业务模块向本端电信设备或应用服务器的 License客户端请求资源 License许可, 在获得 License客户端的许可后进行业务操作。 所述 License客 户端根据从 License 服务器获得的资源 License 数据对业务模块进行资源 License许可, 并向业务模块发送许可响应消息。 所述 License客户端还定时将 资源 License数据发送给 License服务器, 并根据 License服务器的响应消息更 新本地的资源 License数据。 其中, License客户端发送给 License服务器的资 源 License数据为资源 License增量数据或资源 License累计数据, 所述增量数 据指单个 License客户端在一个刷新周期内新占用以及新释放的资源 License 数量, 所述资源 License累计数据是指单个电信设备或应用服务器从启动开始 累计占用以及释放的资源 License数量。  Each telecommunication device or application server includes at least one License Client and at least one service module. The service module requests a resource license license from the license client of the local telecommunication device or the application server, and performs a service operation after obtaining the license of the license client. The license client performs resource license permission on the service module according to the resource license data obtained from the license server, and sends a license response message to the service module. The license client also periodically sends the resource license data to the license server, and updates the local resource license data according to the response message of the license server. The license data sent by the license client to the license server is the resource license incremental data or the resource license cumulative data. The incremental data refers to the newly occupied and newly released resource licenses of a single license client in a refresh cycle. The cumulative data of the resource license refers to the number of resource licenses accumulated and released by a single telecommunication device or application server from the start.
根据图 7描述可知, License服务器存放的数据主要包括各 License客户端 使用的资源 License数量以及最新资源 License全局数据。 在第一实施例中, 即 License服务器和 License客户端交互增量数据时, License客户端存放的是 增量数据和本地可用的资源 License数据。 在第二实施例中, 即 License服务 器和 License客户端交互其累计使用的资源 License数量时, License客户端存 放的是其累计使用的资源 License数量和本地可用的资源 License数据。 与此 相应, License客户端中存放的数据主要包括资源 License增量数据或累计使用 的资源 License数量, 以及可用的资源 License数量其中。 其中 License客户端 中的数据还可存放在其他的模块或装置中。  As shown in Figure 7, the data stored on the license server mainly includes the number of resource licenses used by the license clients and the latest resource license global data. In the first embodiment, when the license server and the license client exchange incremental data, the license client stores incremental data and locally available resource license data. In the second embodiment, when the license server and the license client exchange the cumulative number of resource licenses used by the license server, the license client stores the cumulative number of resource licenses and the locally available resource license data. Correspondingly, the data stored in the license client mainly includes the resource license incremental data or the cumulative number of resource licenses used, and the number of available resource licenses. The data in the License client can also be stored in other modules or devices.
请参阅图 8, 是本实施例的一种资源 License控制方法的流程图, 包括如 下步骤: Please refer to FIG. 8 , which is a flowchart of a resource license control method according to this embodiment, including, for example, Next steps:
A: 应用服务器的业务模块向本应用服务器的 License 客户端请求资源 License许可;  A: The service module of the application server requests a resource license license from the license client of the application server;
B: License客户端从 License服务器获取资源 License并加载到业务模块 的资源 License解析器上;  B: The license client obtains the resource license from the license server and loads it into the resource license resolver of the service module.
C: 资源 License 解析器对所述资源 License 数据进行解析并获得资源 License许可;  C: The resource license parser parses the resource license data and obtains a resource license license;
D: 电信设备与应用服务器进行交互, 从应用服务器获得资源 License许 可, 并根据资源 License许可执行业务操作。  D: The telecommunication device interacts with the application server, obtains a resource license from the application server, and performs a business operation according to the resource license.
或者包括如下步骤:  Or include the following steps:
A: 电信设备的业务模块向本电信设备的 License客户端请求资源 License 许可;  A: The service module of the telecommunication device requests a resource license license from the license client of the telecommunication device;
B: License客户端从 License服务器获取资源 License数据并加载到业务 模块的资源 License解析器上;  B: The license client obtains the resource license data from the license server and loads it into the resource license resolver of the service module.
C: 资源 License 解析器对所述资源 License 数据进行解析并获得资源 C: The resource license parser parses the resource license data and obtains the resource.
License许可; License license;
D: 业务模块根据资源 License许可执行业务操作。  D: The business module performs business operations based on the resource license.
因 License服务器和 License客户端是分布式的架构, 两者的运行状态以 及两者存放的数据并不是时刻同步的, 当 License服务器启动或重新启动时, 需要对 License服务器上的数据进行初始化操作。请参阅图 9, 是 License服务 器的数据初始化步骤为:  Because the license server and the license client are distributed, the running status of the two servers and the data stored in the two are not synchronized. When the license server is started or restarted, the data on the license server needs to be initialized. Please refer to Figure 9. The data initialization steps of the License server are as follows:
License服务器读取资源 License总数, 向所有电信设备的 License客户端 获取其使用的资源 License数量;  The license server reads the total number of licenses and obtains the number of licenses used by the license clients of all telecommunication devices.
License客户端暂停向业务模块提供许可,并向 License服务器返回其使用 的资源 License数量;  The license client suspends the license to the service module and returns the number of resource licenses used by the license server to the license server.
License服务器汇总各电信设备使用的资源 License数量,生成资源 License 全局数据, 并向所有的 License客户端提供更新后的资源 License数据;  The license server collects the number of resource licenses used by each telecommunication device, generates resource license global data, and provides updated resource license data to all license clients.
License客户端更新本地可用的资源 License数据,并恢复向业务模块提供 许可。 电信设备或应用服务器有可能会异常终止,在电信设备或应用服务器终止 之后, License服务器会认为该资源 License许可仍然占用着 License资源。 因 此, 当电信设备或应用服务器启动或重新启动时, 需要向 License服务器发消 息, 让 License服务器初始化该 License客户端的资源 License数据, 即需要对 电信设备或应用服务器的数据进行初始化, 请参阅图 10, 为电信设备或应用 服务器的初始化步骤: The license client updates the locally available resource license data and restores the license to the service module. The telecommunication device or the application server may be abnormally terminated. After the telecommunication device or the application server is terminated, the license server considers that the resource license still occupies the license resource. Therefore, when the telecommunication device or the application server is started or restarted, the license server needs to send a message to the license server to initialize the resource license data of the license client, that is, the data of the telecommunication device or the application server needs to be initialized. , initialization steps for the telecommunication device or application server:
License客户端清零本地使用的资源 License数量并向 License服务器发送 消息;  The license client clears the number of resources used by the local license and sends a message to the license server.
License服务器将所述 License客户端使用的资源 License数量清零, 更新 资源 License全局数据, 并向所有 License客户端发送更新后的资源 License数 据;  The license server clears the number of resource licenses used by the license client, updates the resource license global data, and sends the updated resource license data to all license clients.
License客户端更新本地可用的资源 License数据,并 居更新后的本地资 源 License数据向业务模块提供许可。  The license client updates the locally available resource license data and provides the license to the service module by updating the local resource license data.
请参阅图 11 ,是电信设备或应用服务器从 License服务器获取资源 License 数据的步骤:  Please refer to FIG. 11 , which is a step for the telecommunication device or the application server to obtain the resource license data from the license server:
License客户端定时向 License服务器上报本端的资源 License数据; The license client periodically reports the resource license data of the local end to the license server.
License服务器根据上 4艮的资源 License数据更新资源 License全局数据, 并向所有 License客户端发送更新后的资源 License数据, 其中所述更新后的 资源 License数据至少包括可用的资源 License数据; The license server updates the resource license global data according to the resource license data of the upper layer, and sends the updated resource license data to all the license clients, where the updated resource license data includes at least the available resource license data;
License客户端更新本地的资源 License数据。  The license client updates the local resource license data.
在具体实施例中, 所述 License客户端定时向 License服务器上报本端的 增量数据或累计使用的资源 License数量。 若上报的为增量数据, 则 License 客户端更新本地的资源 License数据时将增量数据清零。  In a specific embodiment, the license client periodically reports the incremental data of the local end or the cumulative number of used resource licenses to the license server. If the incremental data is reported, the license client clears the incremental data when updating the local resource license data.
可选地, License客户端从上 4艮 License数据至更新本地的资源 License数 据期间, 暂停提供资源 License许可。  Optionally, the license client temporarily suspends the provision of the resource license license from the time of the license data to the update of the local resource license data.
业务模块直接访问本地的 License客户端进行资源 License许可, 主要有 三种许可操作: 判断是否可以执行业务或申请新的资源 License 或释放资源 License。  The service module directly accesses the local license client for resource license. There are three types of license operations: Determine whether the service can be executed or apply for a new resource license or release the resource license.
在申请新的资源 License时, 如果许可操作为申请新的资源 License, 则资 源 License 客户端根据本地的资源 License 全局数据判断剩余的可用资源 License数量是否足够, 如果资源 License数量不够则拒绝业务模块的申请, 如 果足够则向业务模块提供许可成功响应消息, 并将本地的可用的资源 License 数据数量减 1。 When applying for a new resource license, if the license operation is to apply for a new resource license, then The source license client determines whether the remaining available resource licenses are sufficient according to the local resource license global data. If the number of resource licenses is insufficient, the application of the service module is rejected. If sufficient, the service module provides a license success response message, and the local service is available. The number of resource license data is reduced by 1.
如果许可操作为释放资源 License,则将本地可用的资源 License数据数量 加 1。  If the license operation is to release the resource license, the number of locally available resource license data is increased by 1.
此外, 本发明实施例还提供一种资源 License控制装置, 可以直接应用到 应用服务器或电信设备上, 主要包括:  In addition, the embodiment of the present invention further provides a resource license control device, which can be directly applied to an application server or a telecommunication device, and includes:
资源 License接收模块, 用于获取资源 License数据;  The resource receiving module is configured to obtain resource license data.
资源 License解析器,用于对所述资源 License接收模块获得的资源 License 数据进行解析并获得资源 License许可;  The resource license parser is configured to parse the resource license data obtained by the resource license receiving module and obtain a resource license license;
业务模块, 用于根据所述资源 License解析器提供的资源 License许可, 管理对应资源。  The service module is configured to manage the corresponding resource according to the resource license provided by the resource license parser.
其中, 如果该装置应用到应用服务器上, 则所述资源 License接收模块为 License客户端, 通过 License服务器获取资源 License数据。 如果该装置应用 到电信设备上, 则所述 License接收模块包括本地输入接口, 用于接收本地输 入的资源 License数据。 至于资源 License文件的解析具体请参见前面的说明, 此处不再赘述。  If the device is applied to the application server, the resource license receiving module is a license client, and the resource license data is obtained through the license server. If the device is applied to the telecommunication device, the license receiving module includes a local input interface for receiving the locally input resource license data. For details on the resolution of the resource license file, refer to the previous description, and details are not mentioned here.
此外, 需要说明的是, 所述的资源 License文件包括但不限于以文件形式 组织的 License数据, 以及不以文件形式组织的 License数据, 例如单纯的 License数据。 明的精神和范围。 这样,倘若对本发明的这些修改和变型属于本发明权利要求 及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  In addition, it should be noted that the resource license file includes, but is not limited to, license data organized in a file format, and license data not organized in a file format, such as simple license data. The spirit and scope of the Ming. Thus, it is intended that the present invention cover the modifications and the modifications

Claims

权 利 要 求 Rights request
1、 一种资源 License控制方法, 其特征在于, 包括:  A resource license control method, which is characterized in that:
资源 License控制中心接收资源 License文件;  The resource license control center receives the resource license file;
资源 License控制中心将相应的资源 License文件加载到资源 License解析 资源 License解析器对所述资源 License文件进行解析获得资源 License许 可。  The resource license control center loads the corresponding resource license file into the resource license resolution resource. The license resolver parses the resource license file to obtain the resource license license.
2、根据权利要求 1所述的方法, 其特征在于, 所述资源 License文件通过 网管服务器存储和管理。  The method according to claim 1, wherein the resource license file is stored and managed by a network management server.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法具体包括: 所述电信设备通过本地的资源 License 解析器向所述网管服务器的资源 License控制中心发送端口资源申请, 所述的申请中携带所述的电信设备的信 息;  The method according to claim 1 or 2, wherein the method specifically includes: the telecommunication device sends a port resource request to a resource license control center of the network management server by using a local resource license resolver. The information in the application carries the telecommunication device;
所述资源 License控制中心将所述的电信设备相应资源的资源 License文 件加载到所述电信设备的资源 License解析器上;  The resource license control center loads the resource license file of the corresponding resource of the telecommunication device to the resource license parser of the telecommunication device;
所述资源 License 解析器对所述资源 License 文件进行解析并获得资源 License许可;  The resource license parser parses the resource license file and obtains a resource license license;
所述电信设备根据所述资源 License许可的内容对端口资源进行管理。 The telecommunication device manages port resources according to the content of the resource license license.
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法具体包括: 所述电信设备通过所述网管服务器的资源 License解析器向资源 License 控制中心发送端口资源申请, 所述的申请中携带所述的电信设备的信息; The method according to claim 1 or 2, wherein the method specifically includes: the telecommunication device sends a port resource request to a resource license control center by using a resource license resolver of the network management server, where Carrying in the application the information of the telecommunication device;
所述资源 License控制中心将所述的电信设备相应资源的资源 License文 件加载到资源 License解析器上;  The resource license control center loads the resource license file of the corresponding resource of the telecommunication device into the resource license parser;
所述资源 License 解析器对所述资源 License 文件进行解析并获得资源 License许可;  The resource license parser parses the resource license file and obtains a resource license license;
所述网管服务器将所述资源 License许可传送给所述电信设备;  Transmitting, by the network management server, the resource license license to the telecommunication device;
所述电信设备根据所述资源 License许可的内容对端口资源进行管理。 The telecommunication device manages port resources according to the content of the resource license license.
5、 根据权利要求 1所述的方法, 其特征在于: 5. The method of claim 1 wherein:
所述资源 License解析器根据所述资源 License文件生成的规则解析所述 资源 License文件, 解析出电信设备的类型、 可授权业务端口类型以及可授权 的业务端口数量; The resource license resolver parses the rule according to the rule generated by the resource license file. The resource license file, which resolves the type of the telecommunication device, the type of the licensable service port, and the number of licensable service ports;
所述通信设备根据所述的可授权业务端口类型和可授权的业务端口数量 控制端口业务的发放。  The communication device controls the issuance of the port service according to the type of the licensable service port and the number of licensable service ports.
6、 根据权利要求 1所述的方法, 其特征在于, 还包括:  6. The method according to claim 1, further comprising:
所述资源 License解析器根据所述资源 License控制中心发送的调整端口 权限的指示对端口的业务发放权限进行调整。  The resource license parser adjusts the service issuance authority of the port according to the indication of the adjustment port authority sent by the resource license control center.
7、根据权利要求 1所述的方法, 其特征在于, 所述资源 License控制中心 包括 License服务器和 License客户端, 分别设置在网管服务器和电信设备上, 所述方法具体包括:  The method according to claim 1, wherein the resource license control center includes a license server and a license client, which are respectively disposed on the network management server and the telecommunication device, and the method specifically includes:
电信设备的业务模块向电信设备的资源 License客户端申请资源 License 许可;  The service module of the telecommunication device applies for a resource license license to the resource license client of the telecommunication device;
资源 License客户端从资源 License服务器获得资源 License数据并加载到 业务模块的资源 License解析器上;  The license client obtains the resource license data from the resource license server and loads it into the resource license of the service module.
资源 License解析器对所述资源 License数据进行解析并获得资源 License 许可;  The resource license parser parses the resource license data and obtains a resource license license;
业务模块根据资源 License许可执行业务操作。  The business module performs business operations according to the resource license.
8、 根据权利要求 7所述的方法, 其特征在于, 所述电信设备的业务模块 向电信设备的资源 License 客户端申请资源 License 许可之前还包括资源 License服务器的数据初始化步骤:  The method according to claim 7, wherein the service module of the telecommunication device further includes a data initialization step of the resource license server before applying for the resource license permission to the resource license client of the telecommunication device:
资源 License服务器读取资源 License总数,获取所有资源 License客户端 使用的资源 License数量;  The license license server reads the total number of licenses and obtains all resources. The number of licenses used by the license client;
资源 License客户端暂停向业务模块提供许可, 并向资源 License服务器 返回使用的资源 License数量;  The license client temporarily suspends the license to the service module and returns the number of used licenses to the resource license server.
资源 License服务器汇总各资源 License客户端使用的资源 License数量, 更新资源 License全局数据, 并向所有的资源 License客户端发送更新后的资 源 License数据。  The license server collects the resources of the licenses. The number of licenses used by the license client is updated. The license global data is updated, and the updated resource license data is sent to all resource license clients.
9、 根据权利要求 7所述的方法, 其特征在于, 所述电信设备的业务模块 向电信设备的资源 License客户端申请资源 License许可之前还包括电信设备 的数据初始化步骤: The method according to claim 7, wherein the service module of the telecommunication device further includes a telecommunication device before applying for a resource license to the resource license client of the telecommunication device. Data initialization steps:
资源 License客户端清零本地使用的资源 License数量并向资源 License服 务器发送消息;  The license client clears the number of locally used resources and sends a message to the resource license server.
资源 License服务器将所述资源 License客户端使用的资源 License数量清 零, 更新资源 License全局数据, 并向所有的资源 License客户端发送更新后 的资源 License数据;  The resource license server clears the number of resource licenses used by the resource license client, updates the resource license global data, and sends the updated resource license data to all resource license clients.
资源 License客户端更新本地资源 License数据, 并根据更新后的数据向 业务模块提供许可。  Resource The license client updates the local resource license data and provides the license to the service module based on the updated data.
10、根据权利要求 7至 9任一项所述的方法,其特征在于,所述资源 License 客户端从资源 License服务器获取资源 License数据的步骤具体为:  The method according to any one of claims 7 to 9, wherein the step of obtaining the resource license data from the resource license server by the resource license client is specifically:
资源 License客户端定时向资源 License服务器发送资源 License增量数据, 资源 License服务器根据所述资源 License增量数据更新资源 License全局数据, 并向所有的资源 License客户端发送更新后的资源 License数据, 资源 License 客户端更新本地的资源 License数据;  The resource license client periodically sends the resource license incremental data to the resource license server. The resource license server updates the resource license global data according to the resource license incremental data, and sends the updated resource license data to all resource license clients. The license client updates the local resource license data.
或者,  Or,
资源 License客户端定时向资源 License服务器发送其累计使用的资源 License数量, 资源 License服务器根据所述累计使用的资源 License数量更新 资源 License 全局数据, 并向所有的资源 License客户端发送更新后的资源 License数据, 资源 License客户端更新本地的资源 License数据。  The resource license client periodically sends the cumulative number of resource licenses to the resource license server. The resource license server updates the resource license global data according to the accumulated number of resource licenses, and sends the updated resource license to all resource license clients. Data, the resource license client updates the local resource license data.
11、 根据权利要求 10所述的方法, 其特征在于, 所述增量数据指单个资 源 License客户端在一个更新周期内新占用以及新释放的资源 License数量。  The method according to claim 10, wherein the incremental data refers to a newly occupied and newly released resource license quantity by a single resource license client in one update period.
12、根据权利要求 7至 9任一项所述的方法,其特征在于,所述资源 License 全局数据主要包括资源 License服务器所有资源 License数量、 正在使用的资 源 License数量和剩余可用的资源 License数量。  The method according to any one of claims 7 to 9, wherein the resource license global data mainly includes the number of all resource licenses of the resource license server, the number of resource licenses being used, and the number of remaining available licenses.
13、根据权利要求 7至 9任一项所述的方法,其特征在于,所述资源 License 许可包括:  The method according to any one of claims 7 to 9, wherein the resource license license comprises:
判断是否可以申请新资源 License; 或者  Determine whether it is possible to apply for a new resource license; or
判断是否可以释放资源 License; 或者  Determine whether the resource license can be released; or
判断是否可以执行业务操作。 Determine if you can perform business operations.
14、根据权利要求 7至 9任一项所述的方法,其特征在于,所有资源 License 客户端签发的资源 License总数超过资源 License服务器总的资源 License数量。 The method according to any one of claims 7 to 9, wherein the total number of resource licenses issued by all resource license clients exceeds the total number of resource licenses of the resource license server.
15、 一种资源 License控制系统, 其特征在于, 包括:  15. A resource license control system, comprising:
资源 License控制中心, 用于接收电信设备的资源 License许可申请, 及 对电信设备的资源进行管理;  The resource license control center is configured to receive a resource license application for the telecommunication device, and manage the resources of the telecommunication device;
资源 License解析器,用于对所述资源 License控制中心提供的资源 License 备, 以及根据资源 License控制中心的指示对电信设备的资源 License进行调 整。  The resource license analyzer is configured to adjust the resource license provided by the resource license control center, and adjust the resource license of the telecommunication device according to the instruction of the resource license control center.
16、根据权利要求 15所述的系统, 其特征在于, 所述资源 License控制中 心和资源 License解析器均集成在网管服务器上。  The system according to claim 15, wherein the resource license control center and the resource license parser are integrated on the network management server.
17、根据权利要求 15所述的系统, 其特征在于, 所述资源 License控制中 心集成在网管服务器上; 所述资源 License解析器集成在电信设备上。  The system according to claim 15, wherein the resource license control center is integrated on the network management server; and the resource license resolver is integrated on the telecommunication device.
18、根据权利要求 15所述的系统, 其特征在于, 所述资源 License解析器 根据所述资源 License文件生成的规则解析所述资源 License文件, 解析出电 信设备的类型、 可授权业务端口类型以及可授权的业务端口数量。  The system according to claim 15, wherein the resource license resolver parses the resource license file according to the rules generated by the resource license file, and parses out the type of the telecommunication device, the type of the licensable service port, and The number of licensable service ports.
19、 根据权利要求 15所述的系统, 其特征在于, 所述系统还包括: 资源 License 管理控制台, 用于控制所述资源 License控制中心对资源 License许可的发放, 及将资源 License权限调整指令传递给资源 License控制 中心;  The system according to claim 15, wherein the system further comprises: a resource license management console, configured to control the issuance of the resource license by the resource license control center, and the resource license adjustment instruction Passed to the resource license control center;
所述资源 License解析器根据所述资源 License控制中心发送的调整端口 权限的指示对端口的业务发放权限进行调整。  The resource license parser adjusts the service issuance authority of the port according to the indication of the adjustment port authority sent by the resource license control center.
20、根据权利要求 15所述的系统, 其特征在于, 所述资源 License控制中 心包括:  The system according to claim 15, wherein the resource license control center comprises:
资源 License服务器, 集成在网管服务器上, 用于提供资源 License数据; 资源 License客户端, 集成在电信设备上, 用于接收电信设备的业务模块 资源 License许可申请, 并从所述资源 License服务器获得资源 License数据; 相应的, 所述资源 License解析器, 集成在电信设备上, 用于对所述资源 License客户端获得的资源 License数据进行解析并获得资源 License许可, 提 供给业务模块执行业务操作。 The resource license server is integrated on the network management server and configured to provide resource license data. The resource license client is integrated on the telecommunication device, and is configured to receive a service module resource license application of the telecommunication device, and obtain resources from the resource license server. Correspondingly, the resource license resolver is integrated on the telecommunication device, and is configured to parse the resource license data obtained by the resource license client and obtain the license of the resource license. The provisioning business module performs business operations.
21、 一种资源 License控制装置, 其特征在于, 包括:  A resource license control device, comprising:
资源 License接收模块, 用于获取资源 License数据;  The resource receiving module is configured to obtain resource license data.
资源 License解析器,用于对所述资源 License接收模块获得的资源 License 数据进行解析并获得资源 License许可;  The resource license parser is configured to parse the resource license data obtained by the resource license receiving module and obtain a resource license license;
业务模块, 用于根据所述资源 License解析器提供的资源 License许可, 管理对应资源。  The service module is configured to manage the corresponding resource according to the resource license provided by the resource license parser.
22、 根据权利要求 21所述的装置, 其特征在于,  22. Apparatus according to claim 21 wherein:
所述资源 License接收模块为 License客户端,通过 License服务器获取资 源 License数据。  The license receiving module is a license client, and the license data is obtained through the license server.
23、根据权利要求 22所述的装置, 其特征在于, 所述 License客户端定时 向 License服务器发送资源 License增量数据, 并根据 License服务器响应更新 本地的资源 License数据; 或者, 所述 License客户端定时向 License服务器发 送其累计使用的资源 License数量, 并根据 License服务器响应更新本地的资 源 License数据;  The apparatus according to claim 22, wherein the license client periodically sends the resource license incremental data to the license server, and updates the local resource license data according to the license server response; or the license client The number of resource licenses used by the license server is periodically sent to the license server, and the local resource license data is updated according to the response of the license server.
所述增量数据指单个 License客户端在一个更新周期内新占用以及新释放 的资源 License数量。  The incremental data refers to the newly occupied and newly released resource license quantity of a single license client in one update period.
24、根据权利要求 21所述的装置,所述 License接收模块包括本地输入接 口, 用于接收本地输入的资源 License数据。  The device according to claim 21, wherein the license receiving module comprises a local input interface for receiving locally input resource license data.
PCT/CN2007/070843 2006-09-30 2007-09-30 Method, apparatus, and system for controlling resource license WO2008043311A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200610063004.X 2006-09-30
CNB200610063004XA CN100449562C (en) 2006-09-30 2006-09-30 License control method and device
CN 200610063285 CN1946033A (en) 2006-10-24 2006-10-24 Method and its system for realizing telecommunication device port license management
CN200610063285.9 2006-10-24

Publications (1)

Publication Number Publication Date
WO2008043311A1 true WO2008043311A1 (en) 2008-04-17

Family

ID=39282432

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070843 WO2008043311A1 (en) 2006-09-30 2007-09-30 Method, apparatus, and system for controlling resource license

Country Status (1)

Country Link
WO (1) WO2008043311A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10445476B2 (en) * 2014-08-19 2019-10-15 Huawei Technologies Co., Ltd. License sharing method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494268A (en) * 2002-10-31 2004-05-05 ��Ϊ�������޹�˾ Collection method of subscriber network use data
US6793127B2 (en) * 2001-04-04 2004-09-21 Koninklijke Philips Electronics N.V. Internet enabled resource constrained terminal for processing tags
CN1620034A (en) * 2003-11-21 2005-05-25 维豪信息技术有限公司 Identification gateway and its data treatment method
CN1946033A (en) * 2006-10-24 2007-04-11 华为技术有限公司 Method and its system for realizing telecommunication device port license management
CN1996332A (en) * 2006-09-30 2007-07-11 华为技术有限公司 License control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6793127B2 (en) * 2001-04-04 2004-09-21 Koninklijke Philips Electronics N.V. Internet enabled resource constrained terminal for processing tags
CN1494268A (en) * 2002-10-31 2004-05-05 ��Ϊ�������޹�˾ Collection method of subscriber network use data
CN1620034A (en) * 2003-11-21 2005-05-25 维豪信息技术有限公司 Identification gateway and its data treatment method
CN1996332A (en) * 2006-09-30 2007-07-11 华为技术有限公司 License control method and device
CN1946033A (en) * 2006-10-24 2007-04-11 华为技术有限公司 Method and its system for realizing telecommunication device port license management

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10445476B2 (en) * 2014-08-19 2019-10-15 Huawei Technologies Co., Ltd. License sharing method and apparatus

Similar Documents

Publication Publication Date Title
EP1233636B1 (en) System and method for over the air configuration security
US8347378B2 (en) Authentication for computer system management
JP5160134B2 (en) Dynamic access control for content-based publish / subscribe systems with guaranteed delivery
US20080195740A1 (en) Maintaining session state information in a client server system
US20030070089A1 (en) Method and apparatus to facilitate cross-domain push deployment of software in an enterprise environment
US20070199049A1 (en) Broadband network security and authorization method, system and architecture
US20010019559A1 (en) System, method, and computer program product for end-user self-authentication
CN100574194C (en) A kind of method of safety management maintenance equipment and device
US20020116721A1 (en) Method and system of expanding a customer base of a data services provider
US20100241568A1 (en) Method and system for transferring software and hardware feature licenses between devices
JP4491652B2 (en) Apparatus and method for controlling service progress between different domains
US20050015340A1 (en) Method and apparatus for supporting service enablers via service request handholding
EP1830512B1 (en) A method and system for realizing the domain authentication and network authority authentication
KR20080054437A (en) Managing method of terminal devices
CA2464098A1 (en) Method and apparatus for managing a peer-to-peer collaboration system
WO2010000738A1 (en) Method of dynamically updating network security policy rules when new network resources are provisioned in a service landscape
WO2012062190A1 (en) Method and system for configuring and managing third party software, and management server
CN101005699A (en) Method and system for managing terminal open platform power information
US11323317B1 (en) Software capabilities management from a service provider environment
CN101877695A (en) System and method for controlling access right
CN111814131B (en) Method and device for equipment registration and configuration management
US20020116484A1 (en) System, method, and computer program product for supporting multiple service providers with a trouble ticket capability
CA2654740C (en) System and method for shared resource owner based access control
CN102333099B (en) Security control method and equipment
Yang et al. Service and network management middleware for cooperative information systems through policies and mobile agents

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07817034

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07817034

Country of ref document: EP

Kind code of ref document: A1