WO2009109119A1 - License controlling method and managing device - Google Patents

License controlling method and managing device Download PDF

Info

Publication number
WO2009109119A1
WO2009109119A1 PCT/CN2009/070470 CN2009070470W WO2009109119A1 WO 2009109119 A1 WO2009109119 A1 WO 2009109119A1 CN 2009070470 W CN2009070470 W CN 2009070470W WO 2009109119 A1 WO2009109119 A1 WO 2009109119A1
Authority
WO
WIPO (PCT)
Prior art keywords
license
client
authorization
unit
server
Prior art date
Application number
PCT/CN2009/070470
Other languages
French (fr)
Chinese (zh)
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2009109119A1 publication Critical patent/WO2009109119A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/101Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying security measures for digital rights management

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a license control method and a license management apparatus.
  • the network that implements the license control includes a license server and several clients, as shown in Figure 1.
  • the license control is that the license server on the network loads the license file and communicates with the client to manage the authorization of the client, thereby implementing centralized control of the license server for all client licenses.
  • Step 101 The license server loads and enables the license file, and establishes an authorization database.
  • Step 102 The client requests a resource authorization or a function license from the license server.
  • Step 103 The license server determines whether the loaded license authorization period expires. The period returns to failure, otherwise proceeds to step 104;
  • Step 104 If the client sends a resource authorization request, the license server calculates whether the sum of the resource used by the client and the resource requested by the client is greater than the value of the licensable resource in the license file, if the value is less than or equal to the license file. If the resource value can be authorized, the license server returns the resource authorization of the specified size to the client; otherwise, the return of the client authorization fails;
  • An embodiment of the present invention provides a license control method and a license management apparatus to implement authorization according to different time periods or different service requirements.
  • an embodiment of the present invention provides a license control method and a license management apparatus that are implemented as follows:
  • a method of license control including:
  • a license management device includes:
  • a parsing unit configured to force the first license and the second license
  • a management unit configured to enable the first license and enable the second license when the second license trigger condition is met
  • the authorization unit authorizes the first license and the second license to the client.
  • the technical solution provided by the embodiment of the present invention can be used to detect the usage condition of the second license in the process of using the first license.
  • the license management device enables the second license and authorizes the second license to the client.
  • the use condition of the second license includes: enabling the second license when the initial use time of the second license is reached, or enabling the second license when the first license cannot provide the resource requested by the client and/or the requested function.
  • the client can be licensed differently under different business conditions.
  • FIG. 2 is a flow chart of an embodiment of a license control method of the present invention
  • FIG. 3 is a flow chart of another embodiment of a license control method according to the present invention.
  • FIG. 4 is a flow chart of another embodiment of a license control method according to the present invention.
  • FIG. 5 is a flowchart of another embodiment of a license control method according to the present invention.
  • FIG. 7 is a flow chart of another embodiment of a license control method according to the present invention.
  • Figure 8 is a block diagram of an embodiment of a server of the present invention.
  • FIG. 9 is a block diagram of another embodiment of the server of the present invention.
  • FIG. 10 is a block diagram of another embodiment of the server of the present invention.
  • FIG. 11 is a block diagram of another embodiment of the server of the present invention.
  • FIG. 12 is a block diagram of another embodiment of the server of the present invention.
  • FIG. 13 is a block diagram of another embodiment of the server of the present invention.
  • FIG. 14 is a block diagram of another embodiment of the server of the present invention.
  • FIG. 15 is a block diagram of another embodiment of the server of the present invention.
  • FIG. 16 is a block diagram of another embodiment of the server of the present invention.
  • Figure 17 is a block diagram of another embodiment of a server of the present invention.
  • the embodiment of the invention provides a license control method and a license management device.
  • the added customized interface may be in the form of a configuration file, a script command, a graphical interface, or the like.
  • the information of these configurations can be directly saved in the corresponding license file, or saved in the license file.
  • the second license is enabled to provide the service.
  • the trigger condition may be: detecting that the initial use time of the second license is set, or using the first license. Resources and/or features requested by the client cannot be provided.
  • FIG. 2 shows a flow of an embodiment of the license control method of the present invention. As shown in FIG. 2, the method includes: Step 201: The monthly license is loaded with the Normal License and the Promotion License.
  • the server can also establish an authorization database based on the loaded Normal License and Promotion License.
  • the server can load at least two levels of licenses.
  • Here is a description of loading the Normal License and the Promotion License.
  • Step 202 The server sets a usage period of the Promotion License through a customized interface.
  • the Normal License can be similar to the prior art, and is a licensee used by the server in daily situations.
  • Step 203 During the process of using the Normal License by the server, the custom use period of the Promotion License is detected, and the Promotion Licsnss is used when the start time of the time period arrives.
  • Step 204 The server sends an authorization notification to the client.
  • the server Since the server used the new license in the previous step, in this step, the server notifies the client to obtain authorization on the server, so that the client can obtain a new license on the server.
  • step 205 is not required, and the following step 205 may be directly performed.
  • Step 205 The client requests authorization from the server.
  • the client sends an authorization request to the server, requesting the server to authorize the resource or function.
  • the client may request authorization directly from the server if authorization is required, without having to wait for the notification from the server before requesting authorization from the server.
  • step 206 may be directly performed without performing steps 204 and 205.
  • the server can directly license the Promotion License to the client.
  • Step 206 may further include:
  • step 209 is not necessary, and the following step 209 can be directly performed.
  • Step 209 The client requests the return of the authorization to the server.
  • the client requests the return of the resource or function to the server.
  • the client may directly request the return authorization from the server if the aforementioned Promotion License is used, without waiting for the notification from the server to request the return authorization from the server.
  • the client may actively send a return authorization request to the server, so that in the case of a limited number of authorizations, the client-returned authorization may continue to be authorized to other clients. Improve license utilization and reduce the burden on the server.
  • Step 210 The server reclaims the authorization for the client Promotion License.
  • step 210 may be directly performed without performing steps 208 and 209. In this way, after the use of the Promotion License, the server can directly reclaim the authorization of the client.
  • Figure 3 shows the flow of another embodiment of the method, as shown in Figure 3, including:
  • Step 301 The monthly license is loaded with the Normal License and the Promotion License.
  • the server can also establish an authorization database based on the loaded Normal License and Promotion License.
  • the server can load at least two levels of licenses.
  • Here is a description of loading the Normal License and the Promotion License.
  • Step 302 The server sets the start time and duration of the Promotion License through a customized interface.
  • the Normal License can be similar to the prior art, and is a license used by the server in a daily situation.
  • the Promotion License is a license that is used from a specific point in time. It can be used for a specific length of time. Therefore, it is necessary to set the start time and duration of the Promotion License through the customized interface of the server.
  • Step 303 During the process of using the Normal License, the server detects the Promotion License. The initial usage time, and use the Promotion License when the initial usage time arrives.
  • Step 304 The server notifies the client to obtain the authorization.
  • the server Since the server used the new license in the previous step, in this step, the server notifies the client to obtain authorization on the server, so that the client can obtain a new license on the server.
  • this step is not required, and the following step 305 can be directly performed.
  • Step 306 The server authorizes the client and records the client authorization data.
  • the method may further include:
  • Step 307 The server detects the usage duration of the set Promotion License, and stops the Promotion License when the usage duration is exhausted.
  • Step 308 The server notifies the client to return the authorization.
  • step 309 is not necessary, and the following step 309 can be directly performed.
  • Step 309 The client requests the return of the authorization to the server.
  • the client requests the return of the resource or function to the server.
  • the client may directly request the return authorization from the server if the aforementioned Promotion License is used, without waiting for the notification from the server to request the return authorization from the server.
  • the client may actively send a return authorization request to the server, so that in the case where the number of authorizations is limited, the client-returned authorization may continue to be authorized to other clients, thereby Improve license utilization and reduce the burden on the server.
  • Step 310 The server reclaims the authorization for the client promotion license.
  • step 310 may be performed without performing steps 308 and 309. In this way, after the use of the Promotion License, the server can directly reclaim the authorization of the client.
  • Figure 4 shows the flow of another embodiment of the method, as shown in Figure 4, including:
  • the server can load at least two levels of licenses.
  • Here is a description of loading the Normal License and the Promotion License.
  • Step 402 The server sets the start time and the number of uses of the Promotion License through a customized interface.
  • the Normal License can be similar to the prior art, and is a licensee used by the server in daily situations.
  • Step 403 During the process of using the Normal License, the server detects the start time of the Promotion License and uses the Promotion License when the initial usage time arrives.
  • Step 404 The server notifies the client to obtain the authorization.
  • the server Since the server used the new license in the previous step, in this step, the server notifies the client to obtain authorization on the server, so that the client can obtain a new license on the server.
  • step 405 is not required, and the following step 405 may be directly performed.
  • Step 405 The client requests authorization from the server.
  • the client sends an authorization request to the server, requesting the server to authorize the resource or function.
  • the client may request authorization directly from the server if authorization is required, without having to wait for the notification from the server before requesting authorization from the server.
  • Step 406 The server authorizes the client and records the client authorization data.
  • step 406 may be directly performed without performing steps 404 and 405.
  • the monthly server can directly use the Promotion License. Authorized to the client.
  • Step 406 may further include:
  • Step 407 The server detects the number of times the resources and/or functions in the set Promotion License are used, and stops the Promotion License when the number of uses is exhausted.
  • Step 408 The server notifies the client to return the authorization.
  • step 409 is not necessary, and the following step 409 can be directly performed.
  • Step 409 The client requests the return of the authorization to the server.
  • the client may directly request the return authorization from the server if the aforementioned Promotion License is used, without waiting for the notification from the server to request the return authorization from the server.
  • the client may actively send a return authorization request to the server, so that in the case where the number of authorizations is limited, the client-backed authorization may continue to be authorized to other clients. Improve license utilization and reduce the burden on the server.
  • Step 410 The server reclaims the authorization for the client promotion license.
  • step 410 may be directly performed without performing steps 408 and 409. In this way, after the use of the Promotion License, the server can directly reclaim the authorization of the client.
  • the difference includes that the server sets the usage conditions of the Promotion License through the customized interface, which are the usage time period, the initial usage time, the usage duration, the start time, and the resources in the Promotion License and/or Or the number of uses of the feature. That is to say, the use of the Promotion License is determined by the time period, or by the time and duration of use, or by the start time and the number of times the resources and/or functions in the Promotion License are used.
  • the usage conditions include the initial usage time, so the server can start using the Promotion License when it detects the arrival of the initial usage time.
  • the above three embodiments are merely illustrative, and other usage conditions may be used according to actual needs.
  • the license server can automatically enable the previous license in the usual time, enable the latter license in a certain period of time, and resume the previous license after a certain period of time. In this way, the actual needs of the business can be met, the benefits of the user's investment can be maximized, and the cost of the customer can be reduced in the purchase.
  • FIG. 5 shows a flow of an embodiment of the method. As shown in FIG. 5, the method includes:
  • Step 501 The monthly license is loaded with the Normal License and the Promotion License.
  • the server can also establish an authorization database based on the loaded Normal License and Promotion License.
  • the server can load at least two levels of licenses.
  • the Normal License can be similar to the prior art, and is a license used by the server in daily situations.
  • a Promotion License is a license that is used in a specific business situation.
  • the Promotion License includes a specific feature license (such as a function that the Normail License does not have), and/or includes more traffic than the Normal License. Resource authorization.
  • Step 502 The client initiates an authorization request to the server, and reports the resource and/or function request.
  • the client sends an authorization request to the server, where the authorization request includes resource request information and/or function request information for requesting corresponding resources and/or functions.
  • Step 503 When the normal license cannot provide the resources and/or functions requested by the client, the Promotion License is enabled and authorized to the client;
  • the server detects that the total number of resources requested by the client exceeds the number of authorized resources in the Normal License file and/or the requested function is not enabled in the Normal License file, the server enables resources and/or functions in the Promotion License file, and The Promotion License is licensed to the client.
  • Step 503 may further include:
  • Step 504 The client periodically reports the currently required resources and/or functions to the server.
  • Step 505 Stop the Promotion License when using the Normal License to provide the resources requested by the client and/or the requested function;
  • the server detects that the total number of resources requested by the client is within the number of authorized resources in the Normal License file and/or the requested function is enabled in the Normal License file, the server disables the resources and/or functions in the Promotion License file. And reclaim the Promotion License authorization for the client.
  • Step 601 The monthly service is loaded with the Normal License and the Promotion License.
  • the server can also establish an authorization database based on the loaded Normal License and Promotion License.
  • the server can load at least two levels of licenses.
  • the Normal License can be similar to the prior art, and is a license used by the server in daily situations.
  • a Promotion License is a license that is used in a specific business situation.
  • the Promotion License includes a specific feature license (such as a function that the Normail License does not have), and/or includes more traffic than the Normal License. Resource authorization.
  • Step 603 The client initiates an authorization request to the server, and reports the resource and/or function request.
  • the client sends an authorization request to the server, where the authorization request includes resource request information and/or function request information for requesting corresponding resources and/or functions.
  • Step 604 Enable the Promotion License and authorize the client when the normal license cannot provide the resources and/or functions requested by the client;
  • the server detects that the total number of resources requested by the client exceeds the number of authorized resources in the Normal License file and/or the requested function is not enabled in the Normal License file, the server enables resources and/or functions in the Promotion License file, and The Promotion License is licensed to the client.
  • Step 604 can also include:
  • FIG. 7 shows a flow of another embodiment of the method. As shown in FIG. 7, the method includes:
  • Step 701 The monthly service is loaded with the Normal License and the Promotion License.
  • the server can also establish an authorization database based on the loaded Normal License and Promotion License.
  • Step 702 The server sets the number of times the Promotion License is used through the customized interface.
  • Step 703 The client initiates an authorization request to the server, and reports the resource and/or function request.
  • the client sends an authorization request to the server, where the authorization request includes resource request information and/or function request information for requesting corresponding resources and/or functions.
  • Step 704 When the normal license cannot provide the resources and/or functions requested by the client, the Promotion License is enabled and authorized to the client;
  • the server detects that the total number of resources requested by the client exceeds the number of authorized resources in the Normal License file and/or the requested function is not enabled in the Normal License file, the server enables resources and/or functions in the Promotion License file, and The Promotion License is licensed to the client.
  • the method may further include:
  • Step 705 The server detects the number of times the set client uses the resources and/or functions in the Promotion License, and disables the resources and/or functions in the Promotion License file when the set number of uses is reached, that is, when the number of uses is exhausted. Reclaim the Promotion License authorization for the client.
  • the server disables the Promotion License, which is the current resource and/or function usage reported by the client, and the duration of use.
  • the number of times a resource and/or feature has been used in the Promotion License may be used according to actual needs.
  • the server may also set a usage period of the Promotion License through a customized interface, where the usage period is defined by a start usage time and an usage end time, and during the usage period, the client request cannot be provided by using the Normal License.
  • the Promotion License is enabled and authorized to the client, and then the set end time is detected.
  • the Promotion License file is stopped and the Promotion License authorization for the client is further withdrawn.
  • the server receives the authorization request and the resource and/or function request sent by the client, and when the normal license cannot provide the resource and/or function requested by the client, for example, the server If the total number of resources requested by the client exceeds the number of authorized resources in the first license file and/or the function of the request is not enabled in the first license file, the resources and/or functions in the second license file are enabled, and the first The second license is granted to the client, so that the server can perform different licenses for the client under different business conditions.
  • the license server can automatically enable the former license under the condition of general traffic demand or general function requirements, and is enabled under specific traffic demand conditions or specific function requirements.
  • the latter license is restored to the previous license after a specific traffic demand situation or a specific function requirement. In this way, the actual needs of the business can be met, the benefits of the user's investment can be maximized, and the cost of the customer can be reduced in the purchase.
  • FIG. 8 shows a block diagram of an embodiment of the license management apparatus, as shown in the following figure:
  • a license management apparatus includes a parsing unit 801, a management unit 802, and an authorization unit 803, where
  • the parsing unit 801 is configured to load the first license and the second license
  • the management unit 802 is configured to enable the first license and enable the second license when the second license trigger condition is met;
  • Authorization unit 803 authorizes the first license and the second license to the client.
  • the license management device may be specifically a server.
  • FIG. 9 is a block diagram of another embodiment of the license management apparatus.
  • the license management apparatus may further include a customized interface 901 and a detecting unit 902, where The customized interface 901 is configured to set an initial usage time of the second license.
  • the detecting unit 902 is configured to detect a start time of the set second license, and notify the management unit 802 that the second license trigger condition is satisfied when the initial use time arrives.
  • the customized interface 901 is further configured to set a usage end time of the second license.
  • the detecting unit 902 is further configured to detect a usage end time of the set second license, when the use end time arrives, The management unit 802 is notified to stop the second license.
  • the custom interface 901 is further configured to set a usage duration of the second license
  • the license management device further includes a timing unit 903, configured to detect a usage duration of the set second license, and notify the management unit 802 to stop the second license when the usage duration is exhausted.
  • the timing unit 903 may be a single module or may be combined with the detecting unit 902.
  • an embodiment may be further included, where the customized interface 901 is further configured to set the number of times of using the second license;
  • the license management device further includes a counting unit 904, configured to detect the used number of times of the set second license, and notify the management unit to stop the second license when the number of uses is exhausted.
  • the counting unit 904 may be a single module or may be combined with the detecting unit 902.
  • the license management apparatus may further include: a receiving unit, configured to receive a return authorization request sent by the client, and notify the authorization unit to reclaim the first Second license authorization;
  • the authorization unit is further configured to reclaim the second license authorization for the client according to the return authorization request sent by the client received by the receiving unit.
  • FIG. 13 is a block diagram of another embodiment of the license management apparatus.
  • the license management apparatus may further include a receiving unit 1301 and a determining unit 1302, where The receiving unit 1301 is configured to receive an authorization request sent by the client, where the authorization request includes a resource request and/or a function request;
  • the determining unit 1302 is configured to determine, according to the authorization request received by the receiving unit 1301, that the management unit 802 is notified to satisfy the second license triggering condition when the first license cannot provide the resource and/or function requested by the client.
  • the determining unit 1302 is further configured to send a stop to the management unit 802 when the first license can provide resources and/or functions requested by the client.
  • the management unit 802 may be further configured to stop the second license according to the stopping the second license notification sent by the determining.
  • the customized interface 1401 is configured to set a usage end time of the second license.
  • the detecting unit 1402 is configured to detect a usage end time of the set second license, and notify the management unit 802 to stop the second license when the usage end time arrives.
  • FIG. 15 shows a block diagram of another embodiment of the license management apparatus.
  • the license management apparatus may further include a customized interface 1501 and a timing unit 1502, where
  • the customized interface 1501 is configured to set a usage duration of the second license.
  • the timing unit 1502 is configured to detect a usage duration of the set second license, and notify the management unit 802 to stop the second license when the usage duration is exhausted.
  • the customized interface 1601 is further configured to set the number of times the second license is used
  • the counting unit 1602 is configured to detect a used number of times of the second license, where the When the number of uses is exhausted, the management unit 802 is notified to stop the second license.
  • the receiving unit 1301 is further configured to receive a return authorization request sent by the client, and notify the authorization unit 803 to reclaim the second license authorization for the client.
  • the authorization unit 803 is further configured to reclaim the second license authorization for the client according to the return authorization request sent by the client received by the receiving unit 1301.
  • the promotion license is enabled when the start time of the Promotion License arrives, and the Promotion License is authorized to the client; or the server uses the Normal License. If the total number of resources requested by the client exceeds the number of authorized resources in the Normal License file and/or the requested function is not enabled in the Normal License file, the resources and/or functions in the Promotion License file are enabled, and the Promotion License is authorized. Client. In this way, the server can be differently licensed to the client in different time periods or different business situations.

Abstract

A License controlling method involves providing service to a client terminal by using the first license; starting the second license according to the second license trigger condition; authorizing the second license to the client terminal. There is also a license managing device. The method and the device are capable of performing different authorizing licenses to the client terminal in different time segments, or performing different authorizing licenses to the client terminal at different business circumstances.

Description

许可证控制方法及管理装置  License control method and management device
本申请要求于 2008 年 3 月 3 日提交中国专利局、 申请号为 200810083101.4、 发明名称为"许可证控制方法及管理装置 "的中国专利申请的 优先权, 其全部内容通过引用结合在本申请中。  The present application claims priority to Chinese Patent Application No. 200810083101.4, entitled "License Control Method and Management Device", filed on March 3, 2008, the entire contents of which is incorporated herein by reference. .
技术领域 Technical field
本发明涉及网络技术领域, 特别涉及一种许可证控制方法及 License管理 装置。  The present invention relates to the field of network technologies, and in particular, to a license control method and a license management apparatus.
背景技术 Background technique
随着网络技术的迅速发展, 基于许可证(License, 中文也称为授权)控制 的设备和软件使用越来越广泛。供应商销售产品给客户,通过许可证对产品的 使用范围、 资源、 功能以及期限等进行授权。 简单的讲, 许可证是供应商对所 销售产品的使用范围、 资源、 功能以及期限等进行授权的一种合约形式。  With the rapid development of network technology, devices and software based on license (License, also known as authorization) are used more and more widely. The supplier sells the product to the customer, authorizing the scope of use, resources, functions, and duration of the product through a license. Simply put, a license is a form of contract that a supplier authorizes the scope, resources, functions, and duration of the products being sold.
一般地, 实现 License控制的网络包括 License服务器和若干客户端, 如图 1 所示。 License控制是网络中的 License服务器加载 License文件并与客户端进行 通信, 以管理对客户端的授权,从而实现 License服务器对所有客户端授权许可 使用的集中控制。  Generally, the network that implements the license control includes a license server and several clients, as shown in Figure 1. The license control is that the license server on the network loads the license file and communicates with the client to manage the authorization of the client, thereby implementing centralized control of the license server for all client licenses.
现有技术中一种许可证控制方法包括如下流程:  A license control method in the prior art includes the following processes:
步骤 101 : License服务器加载并启用 License文件, 并建立授权数据库; 步骤 102: 客户端向 License服务器请求资源授权或功能授权许可; 步骤 103: License服务器判断加载的 License授权的期限是否到期, 如到期 则返回失败, 否则进行步骤 104;  Step 101: The license server loads and enables the license file, and establishes an authorization database. Step 102: The client requests a resource authorization or a function license from the license server. Step 103: The license server determines whether the loaded license authorization period expires. The period returns to failure, otherwise proceeds to step 104;
步骤 104: 如果客户端发来的是资源授权请求, License服务器计算当前客 户端已使用资源与本次客户端所请求资源之和是否大于 License文件中的可授 权资源值, 如果小于等于 License文件中可授权资源值, 则 License服务器返回 给客户端指定大小的资源授权; 否则返回客户端授权失败;  Step 104: If the client sends a resource authorization request, the license server calculates whether the sum of the resource used by the client and the resource requested by the client is greater than the value of the licensable resource in the license file, if the value is less than or equal to the license file. If the resource value can be authorized, the license server returns the resource authorization of the specified size to the client; otherwise, the return of the client authorization fails;
如果是请求功能授权许可 , License服务器查找申请的功能许可在 License 文件中是否为授权开放, 如果开放, 返回授权成功, 否则返回失败。  If the license is requested, the license server searches for the function license of the application in the license file. If it is open, the return authorization is successful, otherwise the return fails.
在对现有技术的研究和实践过程中 , 发明人发现现有技术中存在以下问 题: 现有技术中的加载的是一种单一的 License, 无论什么时间段、 何种业务 需求的情况下, 授权的都是使用这种单一的 License。 而随着网络的发展, 单 一的 License不能满足细粒度的购买和使用授权的需求。 In the research and practice of the prior art, the inventors found the following problems in the prior art: In the prior art, a single license is loaded, and the license is used regardless of the time period and the service requirement. With the development of the network, a single license cannot meet the requirements of fine-grained purchase and use authorization.
发明内容 Summary of the invention
本发明实施例在于提供一种许可证控制方法及 License管理装置, 以实现 根据不同时间段或不同业务需求进行授权。  An embodiment of the present invention provides a license control method and a license management apparatus to implement authorization according to different time periods or different service requirements.
为解决上述技术问题, 本发明实施例提供一种许可证控制方法及 License 管理装置是这样实现的:  To solve the above technical problem, an embodiment of the present invention provides a license control method and a license management apparatus that are implemented as follows:
一种许可证控制方法, 包括:  A method of license control, including:
使用第一 License向客户端提供服务;  Use the first license to provide services to the client;
根据第二 License触发条件 , 启用第二 License;  Enable the second license according to the second license triggering condition;
向客户端授权第二 License。  Authorize the second license to the client.
一种 License管理装置, 包括:  A license management device includes:
解析单元, 用于力 p载第一 License和第二 License;  a parsing unit, configured to force the first license and the second license;
管理单元, 用于启用第一 License和在满足第二 License触发条件时启用 第二 License;  a management unit, configured to enable the first license and enable the second license when the second license trigger condition is met;
授权单元, 向客户端授权第一 License和第二 License。  The authorization unit authorizes the first license and the second license to the client.
由以上本发明实施例提供的技术方案可见, 使用第一 License的过程中, 检测第二 License的使用条件, License管理装置在使用条件满足时, 启用第二 License, 向客户端授权第二 License, 这样, 可以实现在不同时间段对客户端 进行不同的授权许可。 特别是第二 License的使用条件包括, 第二 License的 起始使用时间到达时启用第二 License,或使用第一 License不能提供客户端请 求的资源和 /或请求的功能时启用第二 License的情况下,可以实现在不同业务 情况下对客户端进行不同的授权许可。  The technical solution provided by the embodiment of the present invention can be used to detect the usage condition of the second license in the process of using the first license. When the usage management condition is met, the license management device enables the second license and authorizes the second license to the client. In this way, different licenses can be made to the client at different time periods. In particular, the use condition of the second license includes: enabling the second license when the initial use time of the second license is reached, or enabling the second license when the first license cannot provide the resource requested by the client and/or the requested function. Under the different conditions, the client can be licensed differently under different business conditions.
附图说明 DRAWINGS
图 1为现有技术许可证控制方法的流程图;  1 is a flow chart of a prior art license control method;
图 2为本发明许可证控制方法一个实施例的流程图;  2 is a flow chart of an embodiment of a license control method of the present invention;
图 3为本发明许可证控制方法另一实施例的流程图;  3 is a flow chart of another embodiment of a license control method according to the present invention;
图 4为本发明许可证控制方法另一实施例的流程图; 图 5为本发明许可证控制方法另一实施例的流程图; 4 is a flow chart of another embodiment of a license control method according to the present invention; FIG. 5 is a flowchart of another embodiment of a license control method according to the present invention; FIG.
图 6为本发明许可证控制方法另一实施例的流程图;  6 is a flow chart of another embodiment of a license control method according to the present invention;
图 7为本发明许可证控制方法另一实施例的流程图;  7 is a flow chart of another embodiment of a license control method according to the present invention;
图 8为本发明服务器一个实施例的框图;  Figure 8 is a block diagram of an embodiment of a server of the present invention;
图 9为本发明服务器另一实施例的框图;  Figure 9 is a block diagram of another embodiment of the server of the present invention;
图 10为本发明服务器另一实施例的框图;  Figure 10 is a block diagram of another embodiment of the server of the present invention;
图 11为本发明服务器另一实施例的框图;  Figure 11 is a block diagram of another embodiment of the server of the present invention;
图 12为本发明服务器另一实施例的框图;  Figure 12 is a block diagram of another embodiment of the server of the present invention;
图 13为本发明服务器另一实施例的框图;  Figure 13 is a block diagram of another embodiment of the server of the present invention;
图 14为本发明服务器另一实施例的框图;  Figure 14 is a block diagram of another embodiment of the server of the present invention;
图 15为本发明服务器另一实施例的框图;  Figure 15 is a block diagram of another embodiment of the server of the present invention;
图 16为本发明服务器另一实施例的框图;  Figure 16 is a block diagram of another embodiment of the server of the present invention;
图 17为本发明服务器另一实施例的框图。  Figure 17 is a block diagram of another embodiment of a server of the present invention.
具体实施方式 detailed description
本发明实施例提供一种许可证控制方法及 License管理装置。  The embodiment of the invention provides a license control method and a license management device.
为了使本技术领域的人员更好地理解本发明方案,下面结合附图和实施方 式对本发明实施例作进一步的详细说明。  In order to enable those skilled in the art to better understand the present invention, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings and embodiments.
根据前述产生的新的需求, 为用户设置不同等级的 License。 例如包含至 少两种等级的 License的情况, 这里将这两种等级的 License分别称为 Normal License和 Promotion Licensee贝!] Normal License可以表示一种满足基本业务正 常运行的 License,其包含系统基本任务正常运行时所需的资源和功能的授权, 这样客户端在得到授权情况下可持续使用相关的资源或功能。 该 Normal License 与现有技术中的基本相同。 而 Promotion License表示一种增强性的 License,其可以是特定条件下满足业务运行所需的资源和功能的授权,例如在 特定时间或在特定业务需求的情况下提供的一种增量授权,进一步地,也可以 是在 Normal License基础上提供的一种在特定时间段内的增量授权,或者计时 /计次使用的授权方式使用的一种增量授权。  According to the new requirements generated above, different levels of licenses are set for users. For example, if there are at least two levels of licenses, the licenses of these two levels are called Normal License and Promotion Licensee! The Normal License can represent a license that satisfies the normal operation of the basic service. It contains the authorization of the resources and functions required for the basic tasks of the system to run normally, so that the client can continue to use related resources or functions when authorized. This Normal License is basically the same as in the prior art. The Promotion License represents an enhanced license, which can be an authorization to meet the resources and functions required for the operation of the service under certain conditions, such as an incremental authorization provided at a specific time or in the case of a specific service requirement. Alternatively, it may be an incremental authorization provided on the basis of the Normal License for an incremental grant within a certain period of time, or an authorization method for timing/counting use.
才艮据用户的需求, 还可以包括其它等级的 License, 以在特定条件或情况 下提供授权许可, 在这里并不限制包含的 License的等级和数量。 License服务器上增加 License定制接口, 对于包含不同等级 License的情 况, 可以通过该接口, 设置不同 License的使用条件, 定制在不同的特定条件 下使用不同的 License,例如设置在某一段特定时间或周期使用 Normal License 文件, 而在另一段特定时间或周期使用 Promotion License文件。这样, License 服务器会在定制时间段自动使用 Promotion License文件中的资源和功能。 According to the user's needs, other levels of licenses may be included to provide licenses under certain conditions or circumstances, and the level and number of licenses included are not limited herein. Add a license customization interface to the license server. You can use different interfaces to set different licenses for different licenses. You can use different licenses under different specific conditions, such as setting a specific time or period. Normal License file, and use the Promotion License file at another specific time or period. In this way, the license server automatically uses the resources and functions in the Promotion License file during the custom time period.
具体的, 所述增加的定制接口具体可以为配置文件、脚本命令、 图形界面 等形式。 不论何种形式, 都可以实现在 License服务器上配置不同 License的 使用。 而且, 这些配置的信息可以直接保存在对应的 License文件中, 或者另 夕卜保存在 License文件之夕卜。  Specifically, the added customized interface may be in the form of a configuration file, a script command, a graphical interface, or the like. In any case, you can configure the use of different licenses on the license server. Moreover, the information of these configurations can be directly saved in the corresponding license file, or saved in the license file.
以下介绍本发明的方法实施例, 其可以包括如下步骤:  The following describes an embodiment of the method of the present invention, which may include the following steps:
S 1: 使用第一 License向客户端提供服务;  S 1: using the first license to provide services to the client;
S2: 根据第二 License触发条件, 启用第二 License;  S2: Enable the second license according to the second license triggering condition;
在使用第一 License的过程中, 如果满足了触发条件, 则启用第二 License 来提供服务; 其中, 触发条件可以是: 检测发现设置的第二 License的起始使 用时间到达, 或使用第一 License不能提供客户端请求的资源和 /或功能。  In the process of using the first license, if the trigger condition is met, the second license is enabled to provide the service. The trigger condition may be: detecting that the initial use time of the second license is set, or using the first license. Resources and/or features requested by the client cannot be provided.
S3: 向客户端授权第二 License;  S3: Authorize the second license to the client;
在向客户端授权第二 License时,不限定客户端是否已经得到第一 License 的授权; 例如, 客户端可以已经获得第一 License的授权, 并在该授权下得到 需要的资源和 /或功能, 然后进一步获得第二 License的授权, 得到增量的资源 和 /或功能, 或者, 客户端也可以没有获得第一 License的授权而直接获得第二 License的授权, 这时第二 License的授权范围可以比第一 License大, 从而使 客户端利用第二 License的授权获得增量的资源和 /或功能。  When the second license is authorized to the client, the client is not authorized to obtain the authorization of the first license. For example, the client can obtain the authorization of the first license and obtain the required resources and/or functions under the authorization. Then, the authorization of the second license is further obtained, and the incremental resources and/or functions are obtained. Alternatively, the client may obtain the authorization of the second license without obtaining the authorization of the first license, and the authorization scope of the second license may be Larger than the first license, so that the client can obtain incremental resources and/or functions by using the license of the second license.
S4: 根据第二 License停止条件, 停止第二 License;  S4: Stop the second license according to the second license stop condition;
其中, 第二 License停止条件可以为: 第二 License的使用结束时间达到, 第二 License的使用时长用尽,第二 License中资源和 /或功能的使用次数用尽, 或使用第一 License能够提供客户端请求的资源和 /或请求的功能。在停止第二 License之后 , 可以只使用第一 License来提供服务。  The second license can be configured as follows: The usage time of the second license is reached, the usage of the second license is exhausted, and the usage of resources and/or functions in the second license is exhausted, or the first license can be used. The resources requested by the client and/or the functionality of the request. After stopping the second license, the service can be provided using only the first license.
以下介绍本发明许可证控制方法的一个实施例。图 2示出了本发明许可证 控制方法的一个实施例的流程, 如图 2所示, 包括: 步骤 201: 月良务器力口载 Normal License和 Promotion License。 One embodiment of the license control method of the present invention is described below. FIG. 2 shows a flow of an embodiment of the license control method of the present invention. As shown in FIG. 2, the method includes: Step 201: The monthly license is loaded with the Normal License and the Promotion License.
该步骤中, 服务器还可以根据加载的 Normal License和 Promotion License 建立授权数据库。  In this step, the server can also establish an authorization database based on the loaded Normal License and Promotion License.
服务器可以加载至少两种等级的 License, 这里以加载 Normal License和 Promotion License为例力口以说明。  The server can load at least two levels of licenses. Here is a description of loading the Normal License and the Promotion License.
步骤 202: 服务器通过定制接口设置 Promotion License的使用时间段。 该实施例中, Normal License可以与现有技术中类似, 为服务器在日常情 况下使用的 Licensee  Step 202: The server sets a usage period of the Promotion License through a customized interface. In this embodiment, the Normal License can be similar to the prior art, and is a licensee used by the server in daily situations.
而 Promotion License是在特定时间段内使用的 License , 因此, 这里需要 通过服务器的定制接口设置 Promotion License的使用时间段。  The Promotion License is a license that is used during a specific period of time. Therefore, it is necessary to set the usage period of the Promotion License through the customized interface of the server.
步骤 203 : 服务器使用 Normal License的过程中 , 检测 Promotion License 的定制使用时间段, 并在所述时间段开始时间到达时使用该 Promotion Licsnss。  Step 203: During the process of using the Normal License by the server, the custom use period of the Promotion License is detected, and the Promotion Licsnss is used when the start time of the time period arrives.
步骤 204: 服务器向客户端发送获取授权通知。  Step 204: The server sends an authorization notification to the client.
由于在前一步骤中服务器使用了新的 License, 因此, 该步骤中, 服务器 通知客户端到服务器上获取授权, 以使客户端可以获取服务器上新的 License。  Since the server used the new license in the previous step, in this step, the server notifies the client to obtain authorization on the server, so that the client can obtain a new license on the server.
但是, 该步骤并不是必须的, 也可以是直接执行下面步骤 205。  However, this step is not required, and the following step 205 may be directly performed.
步骤 205: 客户端向服务器请求授权。  Step 205: The client requests authorization from the server.
该步骤中,客户端向服务器发送授权请求,请求服务器对资源或功能进行 授权。  In this step, the client sends an authorization request to the server, requesting the server to authorize the resource or function.
在不执行步骤 204的情况下,客户端可以是在需要授权的情况下, 直接向 服务器请求授权, 而不必等到服务器的通知后再向服务器请求授权。  Without performing step 204, the client may request authorization directly from the server if authorization is required, without having to wait for the notification from the server before requesting authorization from the server.
步骤 206: 服务器对客户端进行授权, 并记录客户端授权数据。  Step 206: The server authorizes the client and records the client authorization data.
需要说明的是, 也可以是不执行步骤 204和 205, 而直接执行步骤 206。 这样, 月良务器在使用 Promotion License之后, 可以直接将 Promotion License 授权给客户端。  It should be noted that step 206 may be directly performed without performing steps 204 and 205. In this way, after using the Promotion License, the server can directly license the Promotion License to the client.
步骤 206之后还可以包括:  Step 206 may further include:
步骤 207: 服务器检测设置的 Promotion License的使用时间段, 并在所述 时间段结束时间到达时停止该 Promotion License。 步骤 208: 服务器通知客户端归还授权。 Step 207: The server detects a usage period of the set Promotion License, and stops the Promotion License when the time period end time arrives. Step 208: The server notifies the client to return the authorization.
类似的, 该步骤也不是必须的, 也可以是直接执行下面步骤 209。  Similarly, this step is not necessary, and the following step 209 can be directly performed.
步骤 209: 客户端请求归还授权给服务器。  Step 209: The client requests the return of the authorization to the server.
该步骤中, 客户端请求归还资源或功能授权给服务器。  In this step, the client requests the return of the resource or function to the server.
在不执行步骤 208的情况下,客户端可以是在前述 Promotion License使用 完毕的情况下, 直接向服务器请求归还授权, 而不必等到服务器的通知后再向 服务器请求归还授权。 在其他实施例中, 在步骤 207停止 Promotion License 之前, 客户端可以主动向服务器发送归还授权请求, 这样, 在授权数量有限的 情况下, 客户端归还的授权还可以继续授权给其他客户端, 从而提高 License 利用率, 并可以降低服务器的负担。  In the case where step 208 is not executed, the client may directly request the return authorization from the server if the aforementioned Promotion License is used, without waiting for the notification from the server to request the return authorization from the server. In other embodiments, before the promotion of the Promotion License in step 207, the client may actively send a return authorization request to the server, so that in the case of a limited number of authorizations, the client-returned authorization may continue to be authorized to other clients. Improve license utilization and reduce the burden on the server.
步骤 210: 服务器收回对客户端 Promotion License的授权。  Step 210: The server reclaims the authorization for the client Promotion License.
需要说明的是, 也可以是不执行步骤 208和 209, 而直接执行步骤 210。 这样,服务器在 Promotion License使用完毕之后,可以直接收回对客户端的授 权。  It should be noted that step 210 may be directly performed without performing steps 208 and 209. In this way, after the use of the Promotion License, the server can directly reclaim the authorization of the client.
以下介绍本发明许可证控制方法的另一实施例。图 3示出了该方法另一实 施例的流程, 如图 3所示, 包括:  Another embodiment of the license control method of the present invention is described below. Figure 3 shows the flow of another embodiment of the method, as shown in Figure 3, including:
步骤 301: 月良务器力口载 Normal License和 Promotion License。  Step 301: The monthly license is loaded with the Normal License and the Promotion License.
该步骤中, 服务器还可以根据加载的 Normal License和 Promotion License 建立授权数据库。  In this step, the server can also establish an authorization database based on the loaded Normal License and Promotion License.
服务器可以加载至少两种等级的 License, 这里仍以加载 Normal License 和 Promotion License为例力口以说明。  The server can load at least two levels of licenses. Here is a description of loading the Normal License and the Promotion License.
步骤 302:服务器通过定制接口设置 Promotion License的起始使用时间和 使用时长。  Step 302: The server sets the start time and duration of the Promotion License through a customized interface.
该实施例中, Normal License可以与现有技术中类似, 为服务器在日常情 况下使用的 License。  In this embodiment, the Normal License can be similar to the prior art, and is a license used by the server in a daily situation.
而 Promotion License是从特定时间点开始使用的 License , 其可以使用特 定的时长, 因此,这里需要通过服务器的定制接口设置 Promotion License的起 始使用时间和使用时长。  The Promotion License is a license that is used from a specific point in time. It can be used for a specific length of time. Therefore, it is necessary to set the start time and duration of the Promotion License through the customized interface of the server.
步骤 303: 服务器使用 Normal License的过程中 , 检测 Promotion License 的起始使用时间 , 并在起始使用时间到达时使用该 Promotion License。 Step 303: During the process of using the Normal License, the server detects the Promotion License. The initial usage time, and use the Promotion License when the initial usage time arrives.
步骤 304: 服务器通知客户端获取授权。  Step 304: The server notifies the client to obtain the authorization.
由于在前一步骤中服务器使用了新的 License, 因此, 该步骤中, 服务器 通知客户端到服务器上获取授权, 以使客户端可以获取服务器上新的 License。  Since the server used the new license in the previous step, in this step, the server notifies the client to obtain authorization on the server, so that the client can obtain a new license on the server.
但是, 该步骤并不是必须的, 也可以是直接执行下面步骤 305。  However, this step is not required, and the following step 305 can be directly performed.
步骤 305: 客户端向服务器请求授权。  Step 305: The client requests authorization from the server.
在不执行步骤 304的情况下,客户端可以是在需要授权的情况下, 直接向 服务器请求授权, 而不必等到服务器的通知后再向服务器请求授权。  Without performing step 304, the client may request authorization directly from the server if authorization is required, without waiting for the server's notification to request authorization from the server.
该步骤中,客户端向服务器发送授权请求,请求服务器对资源或功能进行 授权。  In this step, the client sends an authorization request to the server, requesting the server to authorize the resource or function.
步骤 306: 服务器对客户端进行授权, 并记录客户端授权数据。  Step 306: The server authorizes the client and records the client authorization data.
需要说明的是, 也可以是不执行步骤 304和 305, 而直接执行步骤 306。 这样, 月良务器在使用 Promotion License之后, 可以直接将 Promotion License 授权给客户端。  It should be noted that step 306 may be directly executed without performing steps 304 and 305. In this way, after using the Promotion License, the server can directly license the Promotion License to the client.
步骤 306之后还可以包括:  After step 306, the method may further include:
步骤 307: 服务器检测设置的 Promotion License的使用时长, 并在所述使 用时长用尽时停止该 Promotion License。  Step 307: The server detects the usage duration of the set Promotion License, and stops the Promotion License when the usage duration is exhausted.
步骤 308: 服务器通知客户端归还授权。  Step 308: The server notifies the client to return the authorization.
类似的, 该步骤也不是必须的, 也可以是直接执行下面步骤 309。  Similarly, this step is not necessary, and the following step 309 can be directly performed.
步骤 309: 客户端请求归还授权给服务器。  Step 309: The client requests the return of the authorization to the server.
该步骤中, 客户端请求归还资源或功能授权给服务器。  In this step, the client requests the return of the resource or function to the server.
在不执行步骤 308的情况下,客户端可以是在前述 Promotion License使用 完毕的情况下, 直接向服务器请求归还授权, 而不必等到服务器的通知后再向 服务器请求归还授权。 在其他实施例中, 在步骤 307停止 Promotion License 之前, 客户端可以主动向服务器发送归还授权请求, 这样, 在授权数量有限的 情况下, 客户端归还的授权还可以继续授权给其他客户端, 从而提高 License 利用率, 并可以降低服务器的负担。  In the case where step 308 is not executed, the client may directly request the return authorization from the server if the aforementioned Promotion License is used, without waiting for the notification from the server to request the return authorization from the server. In other embodiments, before stopping the Promotion License in step 307, the client may actively send a return authorization request to the server, so that in the case where the number of authorizations is limited, the client-returned authorization may continue to be authorized to other clients, thereby Improve license utilization and reduce the burden on the server.
步骤 310: 服务器收回对客户端 Promotion License的授权。  Step 310: The server reclaims the authorization for the client promotion license.
需要说明的是, 也可以是不执行步骤 308和 309, 而直接执行步骤 310。 这样,服务器在 Promotion License使用完毕之后,可以直接收回对客户端的授 权。 It should be noted that step 310 may be performed without performing steps 308 and 309. In this way, after the use of the Promotion License, the server can directly reclaim the authorization of the client.
以下介绍本发明许可证控制方法的另一实施例。图 4示出了该方法另一实 施例的流程, 如图 4所示, 包括:  Another embodiment of the license control method of the present invention is described below. Figure 4 shows the flow of another embodiment of the method, as shown in Figure 4, including:
步骤 401: 月良务器力口载 Normal License和 Promotion License。  Step 401: The monthly service is loaded with the Normal License and the Promotion License.
该步骤中, 服务器还可以根据加载的 Normal License和 Promotion License 建立授权数据库。  In this step, the server can also establish an authorization database based on the loaded Normal License and Promotion License.
服务器可以加载至少两种等级的 License, 这里仍以加载 Normal License 和 Promotion License为例力口以说明。  The server can load at least two levels of licenses. Here is a description of loading the Normal License and the Promotion License.
步骤 402:服务器通过定制接口设置 Promotion License的起始使用时间和 使用次数。  Step 402: The server sets the start time and the number of uses of the Promotion License through a customized interface.
该实施例中, Normal License可以与现有技术中类似, 为服务器在日常情 况下使用的 Licensee  In this embodiment, the Normal License can be similar to the prior art, and is a licensee used by the server in daily situations.
而 Promotion License是从特定时间点开始使用的 License , 其可以使用特 定的次数, 因此,这里需要通过服务器定制接口设置 Promotion License的起始 使用时间和使用次数。  The Promotion License is a license that is used from a specific point in time. It can be used for a specific number of times. Therefore, it is necessary to set the start time and number of uses of the Promotion License through the server customization interface.
步骤 403 : 服务器使用 Normal License的过程中 , 检测 Promotion License 的起始使用时间 , 并在起始使用时间到达时使用该 Promotion License。  Step 403: During the process of using the Normal License, the server detects the start time of the Promotion License and uses the Promotion License when the initial usage time arrives.
步骤 404: 服务器通知客户端获取授权。  Step 404: The server notifies the client to obtain the authorization.
由于在前一步骤中服务器使用了新的 License, 因此, 该步骤中, 服务器 通知客户端到服务器上获取授权, 以使客户端可以获取服务器上新的 License。  Since the server used the new license in the previous step, in this step, the server notifies the client to obtain authorization on the server, so that the client can obtain a new license on the server.
但是, 该步骤并不是必须的, 也可以是直接执行下面步骤 405。  However, this step is not required, and the following step 405 may be directly performed.
步骤 405: 客户端向服务器请求授权。  Step 405: The client requests authorization from the server.
该步骤中 ,客户端向服务器发送授权请求,请求服务器对资源或功能授权。 在不执行步骤 404的情况下,客户端可以是在需要授权的情况下, 直接向 服务器请求授权, 而不必等到服务器的通知后再向服务器请求授权。  In this step, the client sends an authorization request to the server, requesting the server to authorize the resource or function. Without step 404, the client may request authorization directly from the server if authorization is required, without having to wait for the notification from the server before requesting authorization from the server.
步骤 406: 服务器对客户端进行授权, 并记录客户端授权数据。  Step 406: The server authorizes the client and records the client authorization data.
需要说明的是, 也可以是不执行步骤 404和 405, 而直接执行步骤 406。 这样, 月良务器在使用 Promotion License之后, 可以直接将 Promotion License 授权给客户端。 It should be noted that step 406 may be directly performed without performing steps 404 and 405. In this way, after using the Promotion License, the monthly server can directly use the Promotion License. Authorized to the client.
步骤 406之后还可以包括:  Step 406 may further include:
步骤 407:服务器检测设置的 Promotion License中资源和 /或功能的使用次 数, 并在所述使用次数用尽时停止该 Promotion License。  Step 407: The server detects the number of times the resources and/or functions in the set Promotion License are used, and stops the Promotion License when the number of uses is exhausted.
步骤 408: 服务器通知客户端归还授权。  Step 408: The server notifies the client to return the authorization.
类似的, 该步骤也不是必须的, 也可以是直接执行下面步骤 409。  Similarly, this step is not necessary, and the following step 409 can be directly performed.
步骤 409: 客户端请求归还授权给服务器。  Step 409: The client requests the return of the authorization to the server.
该步骤中, 客户端请求归还资源或功能授权给服务器。  In this step, the client requests the return of the resource or function to the server.
在不执行步骤 408的情况下,客户端可以是在前述 Promotion License使用 完毕的情况下, 直接向服务器请求归还授权, 而不必等到服务器的通知后再向 服务器请求归还授权。 在其他实施例中, 在步骤 407停止 Promotion License 之前, 客户端可以主动向服务器发送归还授权请求, 这样, 在授权数量有限的 情况下, 客户端归还的授权还可以继续授权给其他客户端, 从而提高 License 利用率, 并可以降低服务器的负担。  In the case where step 408 is not executed, the client may directly request the return authorization from the server if the aforementioned Promotion License is used, without waiting for the notification from the server to request the return authorization from the server. In other embodiments, before stopping the Promotion License in step 407, the client may actively send a return authorization request to the server, so that in the case where the number of authorizations is limited, the client-backed authorization may continue to be authorized to other clients. Improve license utilization and reduce the burden on the server.
步骤 410: 服务器收回对客户端 Promotion License的授权。  Step 410: The server reclaims the authorization for the client promotion license.
需要说明的是, 也可以是不执行步骤 408和 409, 而直接执行步骤 410。 这样,服务器在 Promotion License使用完毕之后,可以直接收回对客户端的授 权。  It should be noted that step 410 may be directly performed without performing steps 408 and 409. In this way, after the use of the Promotion License, the server can directly reclaim the authorization of the client.
上述三个方法实施例中, 不同之处包括服务器通过定制接口设置 Promotion License的使用条件不同, 分别是使用时间段、起始使用时间和使用 时长、 以及起始使用时间和 Promotion License中资源和 /或功能的使用次数。 也就是说, Promotion License的使用分别为通过时间段确定, 或者是通过使用 时间和使用时长确定,或者是通过起始使用时间和 Promotion License中资源和 /或功能的使用次数确定。 这三种实施例的共同之处在于, 使用条件中都包含 起始使用时间, 因此, 服务器在检测到起始使用时间到达时, 可以开始使用 Promotion License。 上面三种实施例只是举例说明, 根据实际需要, 还可以是 其它的使用条件。  In the above three method embodiments, the difference includes that the server sets the usage conditions of the Promotion License through the customized interface, which are the usage time period, the initial usage time, the usage duration, the start time, and the resources in the Promotion License and/or Or the number of uses of the feature. That is to say, the use of the Promotion License is determined by the time period, or by the time and duration of use, or by the start time and the number of times the resources and/or functions in the Promotion License are used. Common to all three embodiments is that the usage conditions include the initial usage time, so the server can start using the Promotion License when it detects the arrival of the initial usage time. The above three embodiments are merely illustrative, and other usage conditions may be used according to actual needs.
由上述实施例可见, 服务器使用 Normal License的过程中,检测通过定制 接口设置的 Promotion License的使用条件, 所述使用条件包括起始使用时间, 服务器在使用条件中的起始使用时间到达时启用 Promotion License,服务器将 Promotion License授权给客户端, 这样, 可以实现服务器在不同时间段对客户 端进行不同的授权许可。 It can be seen that, in the process of using the Normal License, the server detects the use condition of the Promotion License set by the customized interface, and the use condition includes the initial use time. The server enables the Promotion License when the initial usage time in the usage condition arrives, and the server authorizes the Promotion License to the client, so that the server can perform different authorizations for the client at different time periods.
换句话说, 上述实施例中, License服务器能够自动的实现在平时启用前 一种 License, 在特定时段启用后一种 License, 而过了特定时段再恢复到所述 前一种 License。 这样, 既可满足业务的实际需要, 实现用户投资的利益最大 化, 也可以在购买中降低客户的成本。  In other words, in the foregoing embodiment, the license server can automatically enable the previous license in the usual time, enable the latter license in a certain period of time, and resume the previous license after a certain period of time. In this way, the actual needs of the business can be met, the benefits of the user's investment can be maximized, and the cost of the customer can be reduced in the purchase.
以下以客户端触发使用不同 License为例, 介绍本发明许可证控制方法的 一个实施例。 图 5示出了该方法一个实施例的流程, 如图 5所示, 包括:  The following describes an embodiment of the license control method of the present invention by using a different license as a client trigger. FIG. 5 shows a flow of an embodiment of the method. As shown in FIG. 5, the method includes:
步骤 501: 月良务器力口载 Normal License和 Promotion License。  Step 501: The monthly license is loaded with the Normal License and the Promotion License.
该步骤中, 服务器还可以根据加载的 Normal License和 Promotion License 建立授权数据库。  In this step, the server can also establish an authorization database based on the loaded Normal License and Promotion License.
服务器可以加载至少两种等级的 License, 这里以加载 Normal License和 Promotion License为例力口以说明。 该实施例中 , Normal License可以与现有技 术中类似, 为服务器在日常情况下使用的 License。 Promotion License是在特 定业务情况下使用的 License, 例如, Promotion License中包括特定的功能授 权(例 ^口包括 Normail License不具备的功能),和 /或包括相对于 Normal License 具有可以支持更多业务量的资源授权。  The server can load at least two levels of licenses. Here is a description of loading the Normal License and the Promotion License. In this embodiment, the Normal License can be similar to the prior art, and is a license used by the server in daily situations. A Promotion License is a license that is used in a specific business situation. For example, the Promotion License includes a specific feature license (such as a function that the Normail License does not have), and/or includes more traffic than the Normal License. Resource authorization.
步骤 502: 客户端向服务器发起授权请求, 并上报资源和 /或功能请求。 本步骤中,客户端向服务器发送授权请求, 所述授权请求中包括资源请求 信息和 /或功能请求信息 , 用来请求相应的资源和 /或功能。  Step 502: The client initiates an authorization request to the server, and reports the resource and/or function request. In this step, the client sends an authorization request to the server, where the authorization request includes resource request information and/or function request information for requesting corresponding resources and/or functions.
步骤 503:在使用 Normal License不能提供客户端请求的资源和 /或功能时, 启用 Promotion License , 并授权给客户端;  Step 503: When the normal license cannot provide the resources and/or functions requested by the client, the Promotion License is enabled and authorized to the client;
例如,如果服务器检测客户端请求的资源总数超出 Normal License文件中 的授权资源数和 /或请求的功能在 Normal License文件中未开启, 则服务器启 用 Promotion License文件中的资源和 /或功能 , 并将 Promotion License授权给 客户端。  For example, if the server detects that the total number of resources requested by the client exceeds the number of authorized resources in the Normal License file and/or the requested function is not enabled in the Normal License file, the server enables resources and/or functions in the Promotion License file, and The Promotion License is licensed to the client.
步骤 503之后还可以包括:  Step 503 may further include:
步骤 504: 客户端向服务器周期性上报当前所需的资源和 /或功能。 步骤 505:在使用 Normal License能够提供客户端请求的资源和 /或请求的 功能时, 停止 Promotion License; Step 504: The client periodically reports the currently required resources and/or functions to the server. Step 505: Stop the Promotion License when using the Normal License to provide the resources requested by the client and/or the requested function;
例如,如果服务器检测客户端请求的资源总数在 Normal License文件中的 授权资源数之内和 /或请求的功能在 Normal License文件中已开启, 则服务器 停用 Promotion License文件中的资源和 /或功能, 并收回对客户端的 Promotion License授权。  For example, if the server detects that the total number of resources requested by the client is within the number of authorized resources in the Normal License file and/or the requested function is enabled in the Normal License file, the server disables the resources and/or functions in the Promotion License file. And reclaim the Promotion License authorization for the client.
以下以客户端触发使用不同 License为例, 介绍本发明许可证控制方法的 另一实施例。 图 6示出了该方法另一实施例的流程, 如图 6所示, 包括:  In the following, another embodiment of the license control method of the present invention will be described by taking a different license of the client as an example. FIG. 6 shows a flow of another embodiment of the method. As shown in FIG. 6, the method includes:
步骤 601: 月良务器力口载 Normal License和 Promotion License。  Step 601: The monthly service is loaded with the Normal License and the Promotion License.
该步骤中 , 服务器还可以根据加载的 Normal License和 Promotion License 建立授权数据库。  In this step, the server can also establish an authorization database based on the loaded Normal License and Promotion License.
服务器可以加载至少两种等级的 License, 这里以加载 Normal License和 Promotion License为例力口以说明。 该实施例中 , Normal License可以与现有技 术中类似, 为服务器在日常情况下使用的 License。 Promotion License是在特 定业务情况下使用的 License, 例如, Promotion License中包括特定的功能授 权(例 ^口包括 Normail License不具备的功能),和 /或包括相对于 Normal License 具有可以支持更多业务量的资源授权。  The server can load at least two levels of licenses. Here is a description of loading the Normal License and the Promotion License. In this embodiment, the Normal License can be similar to the prior art, and is a license used by the server in daily situations. A Promotion License is a license that is used in a specific business situation. For example, the Promotion License includes a specific feature license (such as a function that the Normail License does not have), and/or includes more traffic than the Normal License. Resource authorization.
步骤 602: 服务器通过定制接口设置 Promotion License的使用时长。  Step 602: The server sets the duration of the Promotion License through the customized interface.
步骤 603: 客户端向服务器发起授权请求, 并上报资源和 /或功能请求。 本步骤中,客户端向服务器发送授权请求, 所述授权请求中包括资源请求 信息和 /或功能请求信息 , 用来请求相应的资源和 /或功能。  Step 603: The client initiates an authorization request to the server, and reports the resource and/or function request. In this step, the client sends an authorization request to the server, where the authorization request includes resource request information and/or function request information for requesting corresponding resources and/or functions.
步骤 604:在使用 Normal License不能提供客户端请求的资源和 /或功能时, 启用 Promotion License , 并授权给客户端;  Step 604: Enable the Promotion License and authorize the client when the normal license cannot provide the resources and/or functions requested by the client;
例如,如果服务器检测客户端请求的资源总数超出 Normal License文件中 的授权资源数和 /或请求的功能在 Normal License文件中未开启, 则服务器启 用 Promotion License文件中的资源和 /或功能 , 并将 Promotion License授权给 客户端。  For example, if the server detects that the total number of resources requested by the client exceeds the number of authorized resources in the Normal License file and/or the requested function is not enabled in the Normal License file, the server enables resources and/or functions in the Promotion License file, and The Promotion License is licensed to the client.
步骤 604之后还可以包括:  Step 604 can also include:
步骤 605: 服务器检测设置的客户端使用 Promotion License的使用时长, 并在达到设置的使用时长, 即使用时长用尽时,停用 Promotion License文件中 的资源和 /或功能, 收回对客户端的 Promotion License授权。 Step 605: The server detects the duration of use of the Promotion License by the set client. And when the set usage time is reached, that is, when the usage time is exhausted, the resources and/or functions in the Promotion License file are deactivated, and the Promotion License authorization for the client is reclaimed.
以下以客户端触发使用不同 License为例, 介绍本发明许可证控制方法的 第六实施例。 图 7示出了该方法另一实施例的流程, 如图 7所示, 包括:  The sixth embodiment of the license control method of the present invention is described below by taking a different license of the client as an example. FIG. 7 shows a flow of another embodiment of the method. As shown in FIG. 7, the method includes:
步骤 701: 月良务器力口载 Normal License和 Promotion License。  Step 701: The monthly service is loaded with the Normal License and the Promotion License.
该步骤中, 服务器还可以根据加载的 Normal License和 Promotion License 建立授权数据库。  In this step, the server can also establish an authorization database based on the loaded Normal License and Promotion License.
服务器可以加载至少两种等级的 License, 这里以加载 Normal License和 Promotion License为例力口以说明。 该实施例中 , Normal License可以与现有技 术中类似, 为服务器在日常情况下使用的 License。 Promotion License是在特 定业务情况下使用的 License, 例如, Promotion License中包括特定的功能授 权(例 ^口包括 Normail License不具备的功能),和 /或包括相对于 Normal License 具有可以支持更多业务量的资源授权。  The server can load at least two levels of licenses. Here is a description of loading the Normal License and the Promotion License. In this embodiment, the Normal License can be similar to the prior art, and is a license used by the server in daily situations. A Promotion License is a license that is used in a specific business situation. For example, the Promotion License includes a specific feature license (such as a function that the Normail License does not have), and/or includes more traffic than the Normal License. Resource authorization.
步骤 702: 服务器通过定制接口设置 Promotion License的使用次数。  Step 702: The server sets the number of times the Promotion License is used through the customized interface.
步骤 703: 客户端向服务器发起授权请求, 并上报资源和 /或功能请求。 本步骤中,客户端向服务器发送授权请求, 所述授权请求中包括资源请求 信息和 /或功能请求信息 , 用来请求相应的资源和 /或功能。  Step 703: The client initiates an authorization request to the server, and reports the resource and/or function request. In this step, the client sends an authorization request to the server, where the authorization request includes resource request information and/or function request information for requesting corresponding resources and/or functions.
步骤 704:在使用 Normal License不能提供客户端请求的资源和 /或功能时, 启用 Promotion License , 并授权给客户端;  Step 704: When the normal license cannot provide the resources and/or functions requested by the client, the Promotion License is enabled and authorized to the client;
例如,如果服务器检测客户端请求的资源总数超出 Normal License文件中 的授权资源数和 /或请求的功能在 Normal License文件中未开启, 则服务器启 用 Promotion License文件中的资源和 /或功能 , 并将 Promotion License授权给 客户端。  For example, if the server detects that the total number of resources requested by the client exceeds the number of authorized resources in the Normal License file and/or the requested function is not enabled in the Normal License file, the server enables resources and/or functions in the Promotion License file, and The Promotion License is licensed to the client.
步骤 704之后还可以包括:  After step 704, the method may further include:
步骤 705:服务器检测设置的客户端使用 Promotion License中资源和 /或功 能的使用次数,并在达到设置的使用次数,即使用次数用尽时,停用 Promotion License文件中的资源和 /或功能, 收回对客户端的 Promotion License授权。  Step 705: The server detects the number of times the set client uses the resources and/or functions in the Promotion License, and disables the resources and/or functions in the Promotion License file when the set number of uses is reached, that is, when the number of uses is exhausted. Reclaim the Promotion License authorization for the client.
上述三个方法实施例中,不同之处包括服务器停用 Promotion License的情 况不同, 分别是客户端上报的当前资源和 /或功能使用情况, 使用时长, Promotion License 中资源和 /或功能的使用次数。 上面三种实施例只是举例说 明, 根据实际需要, 还可以是其它的使用条件。 例如, 服务器还可以通过定制 接口设置 Promotion License的使用时间段,所述使用时间段用开始使用时间和 使用结束时间来限定, 当在所述使用时间段中, 在使用 Normal License不能提 供客户端请求的资源和 /或功能时, 启用 Promotion License, 并授权给客户端, 然后检测设置的使用结束时间, 在到达使用结束时间时, 停止 Promotion License文件 , 并进一步收回对客户端的 Promotion License授权。 In the above three method embodiments, the difference is that the server disables the Promotion License, which is the current resource and/or function usage reported by the client, and the duration of use. The number of times a resource and/or feature has been used in the Promotion License. The above three embodiments are only examples, and other conditions of use may be used according to actual needs. For example, the server may also set a usage period of the Promotion License through a customized interface, where the usage period is defined by a start usage time and an usage end time, and during the usage period, the client request cannot be provided by using the Normal License. When the resources and/or functions are enabled, the Promotion License is enabled and authorized to the client, and then the set end time is detected. When the end time is reached, the Promotion License file is stopped and the Promotion License authorization for the client is further withdrawn.
由上述实施例可见, 服务器使用第一 License的过程中, 接收客户端发来 的授权请求及资源和 /或功能请求, 在使用 Normal License不能提供客户端请 求的资源和 /或功能时, 例如服务器如果检测客户端请求的资源总数超出第一 License文件中的授权资源数和 /或请求的功能在第一 License文件中未开启时, 启用第二 License文件中的资源和 /或功能, 并将第二 License授权给客户端, 这样, 可以实现服务器在不同业务情况下对客户端进行不同的授权许可。  It can be seen from the foregoing embodiment that, in the process of using the first license, the server receives the authorization request and the resource and/or function request sent by the client, and when the normal license cannot provide the resource and/or function requested by the client, for example, the server If the total number of resources requested by the client exceeds the number of authorized resources in the first license file and/or the function of the request is not enabled in the first license file, the resources and/or functions in the second license file are enabled, and the first The second license is granted to the client, so that the server can perform different licenses for the client under different business conditions.
换句话说, 上述实施例中, License服务器能够自动的实现在一般业务量 需求情况下或一般的功能需求情况下启用前一种 License, 而在特定业务量需 求情况下或特定功能需求情况下启用后一种 License, 而过了特定业务量需求 情况或特定功能需求情况再恢复到所述前一种 License。 这样, 可以满足业务 的实际需要, 实现用户投资的利益最大化, 也可以在购买中降低客户的成本。  In other words, in the foregoing embodiment, the license server can automatically enable the former license under the condition of general traffic demand or general function requirements, and is enabled under specific traffic demand conditions or specific function requirements. The latter license is restored to the previous license after a specific traffic demand situation or a specific function requirement. In this way, the actual needs of the business can be met, the benefits of the user's investment can be maximized, and the cost of the customer can be reduced in the purchase.
以下介绍本发明的 License管理装置第一实施例, 图 8示出了该 License 管理装置一个实施例的框图, 如图:  The following describes a first embodiment of the license management apparatus of the present invention, and FIG. 8 shows a block diagram of an embodiment of the license management apparatus, as shown in the following figure:
一种 License管理装置, 包括解析单元 801,管理单元 802,授权单元 803, 其中,  A license management apparatus includes a parsing unit 801, a management unit 802, and an authorization unit 803, where
解析单元 801 , 用于加载第一 License和第二 License;  The parsing unit 801 is configured to load the first license and the second license;
管理单元 802,用于启用第一 License和在满足第二 License触发条件时启 用第二 License;  The management unit 802 is configured to enable the first license and enable the second license when the second license trigger condition is met;
授权单元 803 , 向客户端授权第一 License和第二 License。  Authorization unit 803, authorizes the first license and the second license to the client.
其中, License管理装置可以具体是一种服务器。  The license management device may be specifically a server.
在图 8的基础上, 图 9示出了该 License管理装置另一实施例的框图, 如 图, 所述 License管理装置还可以包括定制接口 901和检测单元 902, 其中, 定制接口 901 , 用于设置第二 License的起始使用时间; On the basis of FIG. 8, FIG. 9 is a block diagram of another embodiment of the license management apparatus. As shown in the figure, the license management apparatus may further include a customized interface 901 and a detecting unit 902, where The customized interface 901 is configured to set an initial usage time of the second license.
检测单元 902, 用于检测设置的第二 License的起始使用时间, 在所述起 始使用时间到达时, 通知所述管理单元 802满足第二 License触发条件。  The detecting unit 902 is configured to detect a start time of the set second license, and notify the management unit 802 that the second license trigger condition is satisfied when the initial use time arrives.
优选地, 所述定制接口 901 , 还用于设置第二 License的使用结束时间; 所述检测单元 902, 还用于检测设置的第二 License的使用结束时间, 在 所述使用结束时间到达时, 通知所述管理单元 802停止第二 License。  Preferably, the customized interface 901 is further configured to set a usage end time of the second license. The detecting unit 902 is further configured to detect a usage end time of the set second license, when the use end time arrives, The management unit 802 is notified to stop the second license.
优选地, 在图 9的基础上, 还可以包括如图 10所示的一实施例, 所述定 制接口 901 , 还用于设置第二 License的使用时长; 并且,  Preferably, on the basis of FIG. 9, an embodiment may be further included, as shown in FIG. 10, the custom interface 901 is further configured to set a usage duration of the second license;
所述 License管理装置还包括计时单元 903, 用于检测设置的第二 License 的使用时长,在所述使用时长用尽时,通知所述管理单元 802停止第二 License。  The license management device further includes a timing unit 903, configured to detect a usage duration of the set second license, and notify the management unit 802 to stop the second license when the usage duration is exhausted.
其中, 该计时单元 903 可以为单独的一个模块, 也可以与所述检测单元 902合设。  The timing unit 903 may be a single module or may be combined with the detecting unit 902.
优选地, 在图 9的基础上, 还可以包括如图 11所示的一实施例, 所述定 制接口 901 , 还用于设置第二 License的使用次数;  Preferably, on the basis of FIG. 9, an embodiment may be further included, where the customized interface 901 is further configured to set the number of times of using the second license;
所述 License管理装置还包括计次单元 904, 用于检测设置的第二 License 的使用次数, 在所述使用次数用尽时, 通知所述管理单元停止第二 License。  The license management device further includes a counting unit 904, configured to detect the used number of times of the set second license, and notify the management unit to stop the second license when the number of uses is exhausted.
其中, 该计次单元 904 可以为单独的一个模块, 也可以与所述检测单元 902合设。  The counting unit 904 may be a single module or may be combined with the detecting unit 902.
优选地, 在图 9、 图 10、 或图 11的基础上, 所述 License管理装置还可以 包括接收单元, 用于接收客户端发送的归还授权请求,通知所述授权单元收回 对该客户端的第二 License授权;  Preferably, on the basis of FIG. 9, FIG. 10, or FIG. 11, the license management apparatus may further include: a receiving unit, configured to receive a return authorization request sent by the client, and notify the authorization unit to reclaim the first Second license authorization;
所述授权单元,还用于根据所述接收单元接收的客户端发送的归还授权请 求 , 收回对该客户端的第二 License授权。  The authorization unit is further configured to reclaim the second license authorization for the client according to the return authorization request sent by the client received by the receiving unit.
这里仅给出了结合图 9的例子, 如图 12所示, 结合其它图的情况与此类 似, 不再赞述。 图 12的例子中, 所述接收单元标号为 1201。 在图 8的基础上, 图 13示出了该 License管理装置另一实施例的框图, 如图, 所述 License管理装置还可以包括接收单元 1301和判断单元 1302, 其 中, 接收单元 1301 , 用于接收客户端发送的授权请求, 该授权请求中包括资 源请求和 /或功能请求; Here, only the example in conjunction with FIG. 9 is given. As shown in FIG. 12, the case of combining with other figures is similar to this and will not be described. In the example of Fig. 12, the receiving unit is numbered 1201. On the basis of FIG. 8, FIG. 13 is a block diagram of another embodiment of the license management apparatus. As shown in the figure, the license management apparatus may further include a receiving unit 1301 and a determining unit 1302, where The receiving unit 1301 is configured to receive an authorization request sent by the client, where the authorization request includes a resource request and/or a function request;
判断单元 1302, 用于根据所述接收单元 1301接收的授权请求进行判断, 在使用第一 License不能提供客户端请求的资源和 /或功能时,通知所述管理单 元 802满足第二 License触发条件。  The determining unit 1302 is configured to determine, according to the authorization request received by the receiving unit 1301, that the management unit 802 is notified to satisfy the second license triggering condition when the first license cannot provide the resource and/or function requested by the client.
其中, 该判断单元 1302可以为单独的一个模块, 也可以与所述授权单元 803合设。  The determining unit 1302 may be a single module or may be combined with the authorization unit 803.
优选地, 在图 13所示的实施例中, 所述判断单元 1302, 还可以用于在使 用第一 License能够提供客户端请求的资源和 /或功能时, 向所述管理单元 802 发送停止第二 License通知;  Preferably, in the embodiment shown in FIG. 13, the determining unit 1302 is further configured to send a stop to the management unit 802 when the first license can provide resources and/or functions requested by the client. Two license notices;
所述管理单元 802, 还可以用于根据所述判断发送的停止第二 License通 知, 停止第二 License。  The management unit 802 may be further configured to stop the second license according to the stopping the second license notification sent by the determining.
优选地, 在图 13的基础上, 图 14示出了该 License管理装置另一实施例 的框图, 如图 14, 所述 License管理装置还可以包括定制接口 1401和检测单 元 1402, 其中,  Preferably, on the basis of FIG. 13, FIG. 14 is a block diagram of another embodiment of the license management apparatus. As shown in FIG. 14, the license management apparatus may further include a customized interface 1401 and a detecting unit 1402, where
所述定制接口 1401 , 用于设置第二 License的使用结束时间;  The customized interface 1401 is configured to set a usage end time of the second license.
所述检测单元 1402, 用于检测设置的第二 License的使用结束时间, 在所 述使用结束时间到达时, 通知所述管理单元 802停止第二 License。  The detecting unit 1402 is configured to detect a usage end time of the set second license, and notify the management unit 802 to stop the second license when the usage end time arrives.
优选地, 在图 13的基础上, 图 15示出了该 License管理装置另一实施例 的框图, 如图 14, 所述 License管理装置还可以包括定制接口 1501和计时单 元 1502, 其中,  Preferably, on the basis of FIG. 13, FIG. 15 shows a block diagram of another embodiment of the license management apparatus. As shown in FIG. 14, the license management apparatus may further include a customized interface 1501 and a timing unit 1502, where
所述定制接口 1501 , 用于设置第二 License的使用时长;  The customized interface 1501 is configured to set a usage duration of the second license.
所述计时单元 1502, 用于检测设置的第二 License的使用时长, 在所述使 用时长用尽时, 通知所述管理单元 802停止第二 License。  The timing unit 1502 is configured to detect a usage duration of the set second license, and notify the management unit 802 to stop the second license when the usage duration is exhausted.
优选地, 在图 13的基础上, 图 16示出了该 License管理装置另一实施例 的框图, 如图 16, 所述 License管理装置还可以包括定制接口 1601和计时单 元 1602, 其中,  Preferably, on the basis of FIG. 13, FIG. 16 is a block diagram of another embodiment of the license management apparatus. As shown in FIG. 16, the license management apparatus may further include a customized interface 1601 and a timing unit 1602, where
所述定制接口 1601 , 还用于设置第二 License的使用次数;  The customized interface 1601 is further configured to set the number of times the second license is used;
所述计次单元 1602, 用于检测设置的第二 License的使用次数, 在所述使 用次数用尽时, 通知所述管理单元 802停止第二 License。 The counting unit 1602 is configured to detect a used number of times of the second license, where the When the number of uses is exhausted, the management unit 802 is notified to stop the second license.
优选地, 在图 13、 14、 15、 16的基础上, 所述接收单元 1301 , 还用于接 收客户端发送的归还授权请求,通知所述授权单元 803收回对该客户端的第二 License授权;  Preferably, on the basis of FIG. 13, 14, 15, and 16, the receiving unit 1301 is further configured to receive a return authorization request sent by the client, and notify the authorization unit 803 to reclaim the second license authorization for the client.
所述授权单元 803 , 还可以用于根据所述接收单元 1301接收的客户端发 送的归还授权请求 , 收回对该客户端的第二 License授权。  The authorization unit 803 is further configured to reclaim the second license authorization for the client according to the return authorization request sent by the client received by the receiving unit 1301.
这里仅给出了结合图 13的例子, 如图 17所示, 结合其它图的情况与此类似, 不再赞述。 图 17的例子中, 所述接收单元标号为 1301。 Only the example in conjunction with Fig. 13 is shown here, as shown in Fig. 17, the case of combining with other figures is similar, and will not be described. In the example of Fig. 17, the receiving unit is numbered 1301.
由以上实施例可见, 既可以是服务器使用 Normal License 的过程中, Promotion License 的起始使用时间到达时启用 Promotion License , 并将 Promotion License授权给客户端; 也可以是服务器使用 Normal License的过程 中,如果检测客户端请求的资源总数超出 Normal License文件中的授权资源数 和 /或请求的功能在 Normal License文件中未开启, 则启用 Promotion License 文件中的资源和 /或功能, 并将 Promotion License授权给客户端。 这样 , 可以 实现服务器在不同时间段或不同业务情况下对客户端进行不同的授权许可。  It can be seen from the above embodiment that during the process of using the Normal License by the server, the promotion license is enabled when the start time of the Promotion License arrives, and the Promotion License is authorized to the client; or the server uses the Normal License. If the total number of resources requested by the client exceeds the number of authorized resources in the Normal License file and/or the requested function is not enabled in the Normal License file, the resources and/or functions in the Promotion License file are enabled, and the Promotion License is authorized. Client. In this way, the server can be differently licensed to the client in different time periods or different business situations.
本领域普通技术人员可以理解实现上述实施例的方法可以通过程序指令 相关的硬件来完成, 所述的程序可以存储于可读取存储介质中,该程序在执行 时执行上述方法中的对应步骤。 所述的存储介质可以如: ROM/RAM、 磁碟、 光盘等。  One of ordinary skill in the art will appreciate that the methods of implementing the above-described embodiments can be implemented by hardware associated with program instructions, which can be stored in a readable storage medium that, when executed, performs the corresponding steps in the methods described above. The storage medium may be, for example, a ROM/RAM, a magnetic disk, an optical disk, or the like.
虽然通过实施例描绘了本发明实施例,本领域普通技术人员知道,本发明 有许多变形和变化而不脱离本发明的精神,希望所附的权利要求包括这些变形 和变化而不脱离本发明的精神。  While the embodiments of the present invention have been described by the embodiments of the embodiments of the invention spirit.

Claims

权 利 要 求 Rights request
1、 一种许可证控制方法, 其特征在于, 包括:  A license control method, comprising:
使用第一 License向客户端提供服务;  Use the first license to provide services to the client;
根据第二 License触发条件 , 启用第二 License;  Enable the second license according to the second license triggering condition;
向客户端授权第二 License。  Authorize the second license to the client.
2、 如权利要求 1所述的方法, 其特征在于, 所述根据第二 License触发 条件 , 启用第二 License包括:  2. The method according to claim 1, wherein the enabling the second license according to the second license triggering condition comprises:
检测设置的第二 License的起始使用时间;  Detecting the initial usage time of the set second license;
在起始使用时间到达时, 启用第二 License。  The second license is enabled when the initial usage time arrives.
3、 如权利要求 1所述的方法, 其特征在于, 所述根据第二 License触发 条件 , 启用第二 License包括:  The method according to claim 1, wherein the enabling the second license according to the second license triggering condition comprises:
接收客户端发来的授权请求, 该授权请求中包括资源请求和 /或功能请求; 在使用第一 License 不能提供客户端请求的资源和 /或功能时, 启用第二 Licsnss。  Receiving an authorization request sent by the client, the authorization request includes a resource request and/or a function request; and when the first license cannot provide the resource and/or function requested by the client, the second Licsnss is enabled.
4、如权利要求 3所述的方法,其特征在于,所述向客户端授权第二 License 之后还包括:  The method of claim 3, after the authorizing the second license to the client, the method further comprises:
接收客户端周期性上报的当前所需的资源和 /或功能;  Receiving the currently required resources and/or functions periodically reported by the client;
在使用第一 License能够提供客户端请求的资源和 /或请求的功能时,停止 第二 Licensee  Stop the second licensee when using the first license to provide the resources and/or requested functions requested by the client.
5、 如权利要求 2或 3所述的方法, 其特征在于, 所述向客户端授权第二 5. The method according to claim 2 or 3, wherein the authorizing the second to the client
License之后还包括: 检测设置的第二 License的使用结束时间, 并在所述使用 结束时间到达时停止该第二 License。 The license further includes: detecting a usage end time of the set second license, and stopping the second license when the use end time arrives.
6、 如权利要求 2或 3所述的方法, 其特征在于, 所述向客户端授权第二 License之后还包括: 检测设置的第二 License的使用时长, 并在所述使用时长 用尽时停止该第二 License。  The method according to claim 2 or 3, wherein after the authorizing the second license to the client, the method further includes: detecting a usage duration of the set second license, and stopping when the usage duration is exhausted The second license.
7、 如权利要求 2或 3所述的方法, 其特征在于, 所述向客户端授权第二 License之后还包括: 检测设置的第二 License中资源和 /或功能的使用次数, 并在所述使用次数用尽时停止该第二 License。  The method according to claim 2 or 3, wherein after the authorizing the second license to the client, the method further includes: detecting a used number of resources and/or functions in the set second license, and in the Stop the second license when the number of uses is exhausted.
8、 如权利要求 1至 3任一项所述的方法, 其特征在于, 所述向客户端授 权第二 License之后还包括: 接收客户端发送的归还授权请求 , 收回对该客户 端的第二 License授权。 The method according to any one of claims 1 to 3, wherein the After the second license, the method further includes: receiving a return authorization request sent by the client, and reclaiming the second license authorization for the client.
9、 一种 License管理装置, 其特征在于, 所述装置包括:  A license management device, the device comprising:
解析单元, 用于力 p载第一 License和第二 License;  a parsing unit, configured to force the first license and the second license;
管理单元, 用于启用第一 License和在满足第二 License触发条件时启用 第二 License;  a management unit, configured to enable the first license and enable the second license when the second license trigger condition is met;
授权单元, 向客户端授权第一 License和第二 License。  The authorization unit authorizes the first license and the second license to the client.
10、 如权利要求 9所述的装置, 其特征在于, 所述装置还包括: 定制接口, 用于设置第二 License的起始使用时间;  The device of claim 9, wherein the device further comprises: a customized interface, configured to set an initial usage time of the second license;
检测单元, 用于检测设置的第二 License的起始使用时间, 在所述起始使 用时间到达时, 通知所述管理单元满足第二 License触发条件。  The detecting unit is configured to detect a start time of the set second license, and notify the management unit to satisfy the second license triggering condition when the initial use time arrives.
11、 如权利要求 9所述的装置, 其特征在于, 所述装置还包括: 接收单元,用于接收客户端发送的授权请求,该授权请求中包括资源请求 和 /或功能请求;  The device according to claim 9, wherein the device further comprises: a receiving unit, configured to receive an authorization request sent by the client, where the authorization request includes a resource request and/or a function request;
判断单元,用于根据所述接收单元接收的授权请求进行判断,在使用第一 a determining unit, configured to perform, according to an authorization request received by the receiving unit, to use the first
License不能提供客户端请求的资源和 /或功能时, 通知所述管理单元满足第二 License触发条件。 When the license cannot provide the resources and/or functions requested by the client, the management unit is notified that the second license trigger condition is met.
12、 如权利要求 11所述的装置, 其特征在于,  12. Apparatus according to claim 11 wherein:
所述判断单元, 还用于在使用第一 License能够提供客户端请求的资源和 /或功能时, 向所述管理单元发送停止第二 License通知;  The determining unit is further configured to send a stop second license notification to the management unit when the first license can provide the resource and/or function requested by the client;
所述管理单元, 还用于根据所述判断发送的停止第二 License通知, 停止 第二 Licensee  The management unit is further configured to stop the second license notification sent according to the determining, and stop the second licensee
13、 如权利要求 10所述的装置, 其特征在于,  13. Apparatus according to claim 10 wherein:
所述定制接口, 还用于设置第二 License的使用结束时间;  The customized interface is further configured to set a usage end time of the second license;
所述检测单元, 还用于检测设置的第二 License的使用结束时间, 在所述 使用结束时间到达时, 通知所述管理单元停止第二 License。  The detecting unit is further configured to detect a used end time of the set second license, and notify the management unit to stop the second license when the use end time arrives.
14、 如权利要求 10所述的装置, 其特征在于,  14. Apparatus according to claim 10 wherein:
所述定制接口, 还用于设置第二 License的使用时长;  The customized interface is further configured to set a usage duration of the second license.
所述装置还包括计时单元, 用于检测设置的第二 License的使用时长, 在 所述使用时长用尽时, 通知所述管理单元停止第二 License。 The device further includes a timing unit for detecting the used duration of the set second license, When the usage duration is exhausted, the management unit is notified to stop the second license.
15、 如权利要求 10所述的装置, 其特征在于,  15. Apparatus according to claim 10 wherein:
所述定制接口, 还用于设置第二 License的使用次数;  The customized interface is also used to set the number of times the second license is used;
所述装置还包括计次单元, 用于检测设置的第二 License的使用次数, 在 所述使用次数用尽时, 通知所述管理单元停止第二 License。  The device further includes a counting unit, configured to detect the used number of times of the set second license, and notify the management unit to stop the second license when the number of uses is exhausted.
16、 如权利要求 9、 10、 13、 14、 15中任一项所述的装置, 其特征在于, 所述装置还包括:  The device according to any one of claims 9, 10, 13, 14, and 15, wherein the device further comprises:
接收单元,用于接收客户端发送的归还授权请求,通知授权单元收回对该 客户端的第二 License授权;  a receiving unit, configured to receive a return authorization request sent by the client, and notify the authorization unit to reclaim the second license authorization for the client;
授权单元, 还用于根据所述接收单元接收的客户端发送的归还授权请求, 收回对该客户端的第二 License授权。  The authorization unit is further configured to reclaim the second license authorization for the client according to the return authorization request sent by the client received by the receiving unit.
17、 如权利要求 11或 12所述的装置, 其特征在于, 所述装置还包括: 定制接口, 用于设置第二 License的使用结束时间;  The device of claim 11 or 12, wherein the device further comprises: a customized interface, configured to set a usage end time of the second license;
检测单元, 用于检测设置的第二 License的使用结束时间, 在所述使用结 束时间到达时, 通知所述管理单元停止第二 License。  The detecting unit is configured to detect a usage end time of the set second license, and notify the management unit to stop the second license when the use end time arrives.
18、 如权利要求 11或 12所述的装置, 其特征在于, 所述装置还包括: 定制接口, 用于设置第二 License的使用时长;  The device of claim 11 or 12, wherein the device further comprises: a customized interface, configured to set a usage duration of the second license;
计时单元, 用于检测设置的第二 License的使用时长, 在所述使用时长用 尽时, 通知所述管理单元停止第二 License。  The timing unit is configured to detect a usage duration of the set second license, and notify the management unit to stop the second license when the usage duration is exhausted.
19、 如权利要求 11或 12所述的装置, 其特征在于, 所述装置还包括: 定制接口, 用于设置第二 License的使用次数;  The device of claim 11 or 12, wherein the device further comprises: a customized interface, configured to set a number of uses of the second license;
计次单元, 用于检测设置的第二 License的使用次数, 在所述使用次数用 尽时, 通知所述管理单元停止第二 License。  The counting unit is configured to detect the number of uses of the set second license, and notify the management unit to stop the second license when the number of uses is exhausted.
20、 如权利要求 11或 12所述的装置, 其特征在于,  20. Apparatus according to claim 11 or 12, wherein
所述接收单元,还用于接收客户端发送的归还授权请求,通知所述授权单 元收回对该客户端的第二 License授权;  The receiving unit is further configured to receive a return authorization request sent by the client, and notify the authorization unit to reclaim the second license authorization for the client;
所述授权单元,还用于根据所述接收单元接收的客户端发送的归还授权请 求, 收回对该客户端的第二 License授权。  The authorization unit is further configured to reclaim the second license authorization for the client according to the return authorization request sent by the client received by the receiving unit.
PCT/CN2009/070470 2008-03-03 2009-02-19 License controlling method and managing device WO2009109119A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810083101.4 2008-03-03
CN2008100831014A CN101247400B (en) 2008-03-03 2008-03-03 License control method and controller

Publications (1)

Publication Number Publication Date
WO2009109119A1 true WO2009109119A1 (en) 2009-09-11

Family

ID=39947598

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070470 WO2009109119A1 (en) 2008-03-03 2009-02-19 License controlling method and managing device

Country Status (2)

Country Link
CN (1) CN101247400B (en)
WO (1) WO2009109119A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247400B (en) * 2008-03-03 2011-02-02 华为技术有限公司 License control method and controller
CN101945394A (en) * 2009-07-10 2011-01-12 华为技术有限公司 License management method, device and system
CN104751025B (en) * 2013-12-30 2018-08-24 新华三技术有限公司 A kind of control method and device of authorization License
CN104504308B (en) * 2014-12-11 2017-09-01 国云科技股份有限公司 A kind of license validation method for forbidding virtual machine to use software
CN104468825B (en) * 2014-12-26 2018-06-26 湖南华凯文化创意股份有限公司 Remote-authorization method and system
CN108241681A (en) * 2016-12-26 2018-07-03 大唐移动通信设备有限公司 A kind of license file Mass production method and system
CN110781459A (en) * 2019-09-04 2020-02-11 西安交大捷普网络科技有限公司 Authorization permission management and control method, system and electronic equipment
CN112100641A (en) * 2020-11-09 2020-12-18 成都掌控者网络科技有限公司 Multi-dimensional authorization method, system, equipment and storage medium
CN115391068B (en) * 2022-10-26 2023-01-17 南方电网数字电网研究院有限公司 Framework construction method based on IT (information technology) resource management and control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004046756A (en) * 2002-05-20 2004-02-12 Fujitsu Fip Corp License management method, system and program
CN1645797A (en) * 2005-01-28 2005-07-27 南望信息产业集团有限公司 Method for optimizing safety data transmission in digital copyright managing system
CN1874218A (en) * 2006-01-05 2006-12-06 华为技术有限公司 Method, system and equipment for license management
CN1946033A (en) * 2006-10-24 2007-04-11 华为技术有限公司 Method and its system for realizing telecommunication device port license management
CN101247400A (en) * 2008-03-03 2008-08-20 华为技术有限公司 License control method and controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4767689B2 (en) * 2003-12-05 2011-09-07 ソニー株式会社 Content distribution system, content distribution method, content processing apparatus, content processing method, recording medium, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004046756A (en) * 2002-05-20 2004-02-12 Fujitsu Fip Corp License management method, system and program
CN1645797A (en) * 2005-01-28 2005-07-27 南望信息产业集团有限公司 Method for optimizing safety data transmission in digital copyright managing system
CN1874218A (en) * 2006-01-05 2006-12-06 华为技术有限公司 Method, system and equipment for license management
CN1946033A (en) * 2006-10-24 2007-04-11 华为技术有限公司 Method and its system for realizing telecommunication device port license management
CN101247400A (en) * 2008-03-03 2008-08-20 华为技术有限公司 License control method and controller

Also Published As

Publication number Publication date
CN101247400A (en) 2008-08-20
CN101247400B (en) 2011-02-02

Similar Documents

Publication Publication Date Title
WO2009109119A1 (en) License controlling method and managing device
US9009079B2 (en) Planning assignment of software licenses
JP2004086392A (en) Computer configuration changing method and system
US10909220B2 (en) Method and apparatus for facilitating the transfer of a software license between computer systems
JP5863128B2 (en) Software license control
EP2248060B1 (en) Software license management system that functions in a disconnected or intermittently connected mode
EP2248058B1 (en) Peer to peer software license management system for temporarily relocating available software licenses
CN108574593B (en) The management system and management method of licensing in a kind of NFV network
EP2645317A1 (en) System and method for managing software licenses
CN111079091A (en) Software security management method and device, terminal and server
CN111526111B (en) Control method, device and equipment for logging in light application and computer storage medium
EP2637120B1 (en) Enterprise license registrar anchor point
WO2008080319A1 (en) Web license managing method and system thereof, license server and client
US20060064387A1 (en) Systems and methods for software licensing
US20030061136A1 (en) Software license management system
WO2012151973A1 (en) License management method and device
US9690913B2 (en) License management in a networked software application solution
CN109992298B (en) Examination and approval platform expansion method and device, examination and approval platform and readable storage medium
US20080147850A1 (en) Method for Operating a Data Communications Network Using License Data and Associated Device Network
US8032928B2 (en) Methods, devices, and computer program products for controlling wireless connection access
WO2010130230A1 (en) Method and apparatus for providing service to user
WO2008125042A1 (en) Communication system, communication device and capability control method
JP2003186559A (en) License management system, license management device and method, and program
JP3047837B2 (en) Software use right management method and method
JP2010003215A (en) Image processing system, image processor, and program

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: 09717573

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: 09717573

Country of ref document: EP

Kind code of ref document: A1