CN112231643A - License management method and device - Google Patents

License management method and device Download PDF

Info

Publication number
CN112231643A
CN112231643A CN202011047250.2A CN202011047250A CN112231643A CN 112231643 A CN112231643 A CN 112231643A CN 202011047250 A CN202011047250 A CN 202011047250A CN 112231643 A CN112231643 A CN 112231643A
Authority
CN
China
Prior art keywords
license
target
client
available
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202011047250.2A
Other languages
Chinese (zh)
Inventor
刘松茹
王国利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202011047250.2A priority Critical patent/CN112231643A/en
Publication of CN112231643A publication Critical patent/CN112231643A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The present disclosure relates to the field of license management technologies, and in particular, to a license management method and apparatus. The method is applied to a license management server, the license management server maintains a plurality of licenses aiming at each business service, and the method comprises the following steps: receiving a license application request sent by a target client, wherein the license application request comprises target business service information to be authorized by the target client; judging whether an available target license for authorizing the target business service which needs to be authorized by the target client exists or not; if so, the available target license is distributed to the target client, and the available target license is marked as a used state.

Description

License management method and device
Technical Field
The present disclosure relates to the field of license management technologies, and in particular, to a license management method and apparatus.
Background
Service providers such as software use often provide different services to different clients by issuing license (english: license) certificates to the clients, and devices need to be authorized by license to use corresponding service services, for example, IPS, AV, URL, LB, SSLVPN, etc., and device side needs to install corresponding license authorization to use.
At present, the required license authorization needs to be manually installed on a terminal, the license authorizations are not uniformly managed, one license authorization can be used by only one terminal device at the same time, and if the license authorization is installed on the terminal, but the corresponding service is not used, so that the license authorization is idle. Or, the device of the backbone network needs service license authorization, but the available authorization is occupied by the bypass device, and a situation that the terminal device with high priority has no available license authorization occurs. This may result in a low license utilization.
Disclosure of Invention
The application provides a license management method and a license management device, which are used for solving the problems that license authorization is idle and license authorization utilization rate is low in the prior art.
In a first aspect, the present application provides a license management method applied to a license management server, where the license management server maintains a plurality of licenses for each business service, and the method includes:
receiving a license application request sent by a target client, wherein the license application request comprises target business service information to be authorized by the target client;
judging whether an available target license for authorizing the target business service which needs to be authorized by the target client exists or not;
if so, the available target license is distributed to the target client, and the available target license is marked as a used state.
Optionally, the license application request further includes priority information of the target client, and when a license application request sent by any client is received, the priority information of any client is recorded; the method further comprises the following steps:
if the available target license for authorizing the target business service which needs to be authorized by the client does not exist, judging whether the priority of the client meets a preset condition or not;
and if so, recovering the license of the client with the lowest priority based on the recorded priority information of the clients, and distributing the license to the target client, wherein the license and the target license are the same type of license.
Optionally, the method further comprises:
and if the priority of the client does not meet the preset condition, adding the target client to a queue to be distributed, wherein the queue to be distributed records the priority information of each client to be distributed with the license, the time information of applying for the license and the type information of the applied license, and when determining that any type of license has the available license, based on the priority information of each client, the time information of applying for and the type information of the applied license are the type of license, and the client with the highest priority and the earliest time of applying for distributes the available license.
Optionally, the step of allocating the available target licenses to the target customer comprises:
and sending the storage address and the identification information of the available target license to the target client, so that the target client downloads and installs the available target license based on the storage address and the identification information.
Optionally, the method further comprises:
receiving a license release message sent by a client, wherein the license release message comprises identification information of a released license;
the released license is marked as an unused state based on the license identification information.
In a second aspect, the present application provides a license management apparatus applied to a license management server, where the license management server maintains a plurality of licenses for each business service, the apparatus includes:
the system comprises a receiving unit, a sending unit and a receiving unit, wherein the receiving unit is used for receiving a license application request sent by a target client, and the license application request comprises target business service information which needs to be authorized by the target client;
the judging unit is used for judging whether an available target license for authorizing the target business service which needs to be authorized by the target client exists or not;
when the judging unit judges that an available target license for authorizing the target business service which needs to be authorized by the target client exists, the distributing unit distributes the available target license to the target client and marks the available target license in a used state.
Optionally, the license application request further includes priority information of the target client, and when a license application request sent by any client is received, the priority information of any client is recorded; the apparatus further comprises a retrieval unit:
if the judging unit judges that no available target license for authorizing the target business service which needs to be authorized by the client exists, the judging unit is also used for judging whether the priority of the client meets a preset condition;
if yes, the withdrawing unit withdraws the license of the client with the lowest priority based on the recorded priority information of the clients, and the distributing unit distributes the license to the target client, wherein the license and the target license are the same type of license.
Optionally, the apparatus further comprises an adding unit:
if the priority of the client does not meet the preset condition, the adding unit adds the target client to a queue to be distributed, wherein the queue to be distributed records the priority information of each client to be distributed with a license, the time information of applying for the license and the type information of the applied license, and when determining that any type of license has an available license, the client with the highest priority and the client with the earliest application time distributes the available license for applying for the type of license based on the priority information of each client, the time information of applying for the license and the type information of the applied license.
Optionally, when the available target license is allocated to the target client, the allocating unit is specifically configured to:
and sending the storage address and the identification information of the available target license to the target client, so that the target client downloads and installs the available target license based on the storage address and the identification information.
Optionally, the receiving unit is further configured to receive a license release packet sent by the client, where the license release packet includes identification information of a released license;
the allocation unit is further configured to mark the released license as an unused state based on the license identification information.
In a third aspect, an embodiment of the present application provides a license management apparatus, including:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory and for executing the steps of the method according to any one of the above first aspects in accordance with the obtained program instructions.
In a fourth aspect, the present application further provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the steps of the method according to any one of the above first aspects.
In summary, the license management method provided in the embodiment of the present application is applied to a license management server, where the license management server maintains a plurality of licenses for each service, and the method includes: receiving a license application request sent by a target client, wherein the license application request comprises target business service information to be authorized by the target client; judging whether an available target license for authorizing the target business service which needs to be authorized by the target client exists or not; if so, the available target license is distributed to the target client, and the available target license is marked as a used state.
By adopting the license management method provided by the embodiment of the application, the license management server maintains a plurality of licenses corresponding to each service in a unified manner, and maintains the state information of whether each license is used or not, so that the license is distributed for each client needing authorization according to the requirement, and the utilization rate of the license is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present application or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present application.
Fig. 1 is a detailed flowchart of a license management method provided in an embodiment of the present application;
FIG. 2 is a detailed flowchart of another license management method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a license management apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another license management device according to an embodiment of the present application.
Detailed Description
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
Illustratively, referring to fig. 1, a detailed flowchart of a license management method provided by an embodiment of the present application is applied to a license management server, where the license management server maintains a plurality of licenses for each business service, and the method includes the following steps:
step 100: receiving a license application request sent by a target client, wherein the license application request comprises target business service information to be authorized by the target client.
In the embodiment of the application, a license management Server (Server side) maintains a plurality of licenses of corresponding types for each business service, and further, the licenses of the same type can be divided into licenses with different authorization durations.
For example, n first-class licenses are maintained for the business service 1, where n1 licenses are maintained for 1 year, n2 licenses are maintained for 3 years, n3 licenses are maintained for 5 years, and n is 1+ n2+ n 3. And m second-class licenses are maintained for the business service 2, wherein m1 licenses exist for 1 year, m2 licenses exist for 3 years, m3 licenses exist for 5 years, and m is 1+ m2+ m 3.
Then, if the target client newly configures the target service, at this time, the target client needs to obtain the target license corresponding to the target service from the license management server, that is, after the target service newly configured by the target client needs to obtain the corresponding license from the license management server, the client can normally use the target service. Accordingly, the client needs to send a license application request to the license management server, where the license application request at least includes the type of the target business service for which license authorization needs to be obtained.
For example, the type of the license required by the target client is included in the license application request 1 sent by the target client: a first type of license with an authorization duration of 1 year; for another example, the type of the license required by the target client in the license application request 2 sent by the target client is as follows: license of the second type with authorization duration of 3 years.
In the embodiment of the present application, it should be noted that the purpose of the license application request is to inform the license server of the type of license required by the target business service of the target client.
Step 110: and judging whether an available target license for authorizing the target business service which needs to be authorized by the target client exists.
In the embodiment of the application, when receiving a license application request sent by a target client, a license management server determines whether a local available target license for authorizing a target service newly configured by the target server exists based on relevant information carried in the license application request, that is, the license management server extracts relevant information (service type and authorization duration requirement) of the target service which is carried in the license application request and needs to be authorized by the target client, and determines whether a corresponding target license which is not allocated to other clients exists locally according to the relevant information.
For example, if the license server locally maintains 4 first-class licenses with an authorization duration of 3 years, and 3 of the current 4 first-class licenses with an authorization duration of 3 years are already allocated to the client for use, and 1 of the current 4 first-class licenses with an authorization duration of 3 years is not yet allocated to the client for use, then the license server may determine that a target license (a first-class license with an authorization duration of 3 years) for authorizing a business service that the target client needs to authorize locally exists when receiving the first-class license sent by the target client and used for applying for the first-class license with an authorization duration of 3 years.
For another example, if the license server locally maintains 3 second-class licenses with authorization duration of 1 year, and all the current 3 second-class licenses with authorization duration of 1 year are allocated to the client for use, then when the license server receives the second-class license with authorization duration of 1 year sent by the target client, and is used for applying for the second-class license with authorization duration of 1 year, it may be determined that a target license (the second-class license with authorization duration of 1 year) for authorizing the business service that the target client needs to authorize does not exist locally.
Step 120: if so, the available target license is distributed to the target client, and the available target license is marked as a used state.
In the embodiment of the present application, when determining that an available target license for authorizing a target business service that a target client needs to authorize locally exists, the license management server allocates the available high target license to the target client, which is preferably implemented by sending a storage address and identification information of the available target license to the target client, so that the target client downloads and installs the available target license based on the storage address and the identification information.
That is, the license management server notifies the target client of the download address and ID of the available target license, and the target client downloads the available target license according to the download address and ID and installs the available target license locally.
Further, in this embodiment of the present application, the license application request further includes priority information of the target client, and when a license application request sent by any client is received, the priority information of any client is recorded.
In the embodiment of the application, the license management server maintains priority information of each client that has applied for a license, when the license management server determines that an available target license for authorizing a target business service that a target client needs to authorize does not exist locally, that is, the target license is already allocated to the client for use, then, at this time, the license management server needs to determine whether the priority of the target client meets a preset requirement, if the preset requirement is met, the target license allocated to a client with a low priority is recovered, and the recovered target license is allocated to the target client.
For example, if multiple levels of priorities (e.g., level 0, level 1, level 2, and level 3 are preset, where level 0 is the highest, level 3 is the lowest, and level 0 is a mandatory priority, that is, when the target client priority is level 0, no matter whether there is an available target license in the license management server currently, an available target license needs to be allocated to the target client, if all target licenses are allocated to the respective clients for use (e.g., the license management server maintains 3 target licenses, which have been allocated to client 1, client 2, and client 3 for use respectively), then when the target client applies for the target license, there is no available target license, and at this time, it is necessary to determine priority information of each client (client 1, client 2, and client 3) to which the target license is to be recovered, and if the priority of the client 1 is the lowest, withdrawing the target license allocated to the client 1, and allocating the withdrawn target license to the target client. Further, if the priorities of the client 2 and the client 3 are the lowest, it is necessary to determine the time when the client 2 and the client 3 apply for the target license, and withdraw the target license of the client with the earliest application time, for example, if the application time of the client 2 is earlier than the application time of the client 3, withdraw the target license allocated to the client 2, and allocate the withdrawn target license to the target client.
Further, in this embodiment of the application, if the priority of the client does not satisfy the preset condition, the target client is added to a queue to be allocated, where priority information of each client to which a license is to be allocated, time information of applying for the license, and type information of the applied license are recorded in the queue to be allocated, and when it is determined that any type of license has an available license, based on the priority information of each client, the time information of applying for the license and the type information of the applied license are clients that apply for the type of license, and the client with the highest priority and the earliest time of applying for the license allocates the available license.
That is, when the license management server has no available license authorization, a queuing mechanism may be provided, that is, the license management server stores an information entry of the client in a queuing state, which includes the priority and application time of the client, and when the license is released, the information entry is preferentially allocated according to the priority of the client, and if the priorities are the same, the information entry is allocated to the client which applies for the earliest. Meanwhile, the authority which forces the highest priority can be set, when the client carries the authority which forces the highest priority to apply for the license from the license management server, the license management server can force the authorization of the client with low priority to be recovered to the client with high priority for use, if the priorities of the occupants are consistent, the authorization of the client which is occupied earliest is recovered, and the client is informed.
Further, in the embodiment of the present application, a license release message sent by a client is received, where the license release message includes identification information of a released license; the released license is marked as an unused state based on the above license identification information.
That is, when a client deletes a certain service or a certain service is currently in an unavailable state, the client can send a license release message to the license management server, so that the license that the client does not need any more is released in time, and when the license management server receives a license release message, the corresponding license can be marked as an unused state, that is, when other clients need to use the license, the license can be allocated to other clients for use.
The license management method provided in the embodiment of the present application is described in detail below with reference to a specific application scenario, and for example, as shown in fig. 2, a detailed flowchart of the license management method provided in the embodiment of the present application is provided, where the license management method is applied to a license management server, and the license management server maintains a plurality of licenses for each service server, and the method includes the following steps:
step 200: and after the target service is configured on the target client, dynamically sending an application request of the target license corresponding to the target service to the license management server.
Step 210: the license management server judges whether an available target license exists locally, if so, step 220 is executed; otherwise, step 230 is performed.
Step 220: the license management server distributes the available target license for the target client, marks the target license in a used state, and records the priority information and the application time information of the target client.
Step 230: judging whether the priority of the target client is the highest priority, if so, executing step 240; otherwise, step 250 is performed.
Step 240: the license management server forcibly withdraws the target license of the lowest priority client among the clients to which the target licenses have been allocated, and allocates the withdrawn target license to the target client.
Step 250: and adding the target client to a queue to be distributed, wherein the queue records the priority and application time information of each client of each license to be distributed, and distributing the available target licenses to each client based on the priority and application time sequence of each client when the available target licenses are confirmed.
Exemplarily, referring to fig. 3, a schematic structural diagram of a license management apparatus provided in an embodiment of the present application is shown, where the license management apparatus is applied to a license management server, and the license management server maintains a plurality of licenses for each business service, and the license management apparatus includes:
a receiving unit 30, configured to receive a license application request sent by a target client, where the license application request includes target service information that the target client needs to authorize;
a determining unit 31, configured to determine whether there is an available target license for authorizing the target business service that the target client needs to authorize;
when the judging unit 31 judges that an available target license for authorizing the target business service which the target client needs to authorize exists, the allocating unit 32 allocates the available target license to the target client and marks the available target license in a used state.
Optionally, the license application request further includes priority information of the target client, and when a license application request sent by any client is received, the priority information of any client is recorded; the apparatus further comprises a retrieval unit:
if the determining unit 31 determines that there is no available target license for authorizing the target service that the client needs to be authorized, the determining unit 31 is further configured to determine whether the priority of the client meets a preset condition;
if yes, the withdrawing unit withdraws the license of the client with the lowest priority based on the recorded priority information of the clients, and the distributing unit distributes the license to the target client, wherein the license and the target license are the same type of license.
Optionally, the apparatus further comprises an adding unit:
if the priority of the client does not meet the preset condition, the adding unit adds the target client to a queue to be distributed, wherein the queue to be distributed records the priority information of each client to be distributed with a license, the time information of applying for the license and the type information of the applied license, and when determining that any type of license has an available license, the client with the highest priority and the client with the earliest application time distributes the available license for applying for the type of license based on the priority information of each client, the time information of applying for the license and the type information of the applied license.
Optionally, when the available target license is allocated to the target client, the allocating unit 32 is specifically configured to:
and sending the storage address and the identification information of the available target license to the target client, so that the target client downloads and installs the available target license based on the storage address and the identification information.
Optionally, the receiving unit 30 is further configured to receive a license release message sent by the client, where the license release message includes identification information of a released license;
the allocating unit 32 is also configured to mark the released license in an unused state based on the license identification information.
The above units may be one or more integrated circuits configured to implement the above methods, for example: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above units is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In summary, the license management method provided in the embodiment of the present application is applied to a license management server, where the license management server maintains a plurality of licenses for each service, and the method includes: receiving a license application request sent by a target client, wherein the license application request comprises target business service information to be authorized by the target client; judging whether an available target license for authorizing the target business service which needs to be authorized by the target client exists or not; if so, the available target license is distributed to the target client, and the available target license is marked as a used state.
By adopting the license management method provided by the embodiment of the application, the license management server maintains a plurality of licenses corresponding to each service in a unified manner, and maintains the state information of whether each license is used or not, so that the license is distributed for each client needing authorization according to the requirement, and the utilization rate of the license is further improved.
Further, in the license management apparatus provided in the embodiment of the present application, from a hardware level, a schematic diagram of a hardware architecture of the license management apparatus may be shown in fig. 4, where the license management apparatus may include: a memory 40 and a processor 41, which,
memory 40 is used to store program instructions; processor 41 calls program instructions stored in memory 40 and executes the above-described method embodiments in accordance with the obtained program instructions. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application also provides a license management server comprising at least one processing element (or chip) for performing the above method embodiments.
Optionally, the present application also provides a program product, such as a computer-readable storage medium, having stored thereon computer-executable instructions for causing the computer to perform the above-described method embodiments.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A license management method is applied to a license management server, wherein the license management server maintains a plurality of licenses for each business service, and the method comprises the following steps:
receiving a license application request sent by a target client, wherein the license application request comprises target business service information to be authorized by the target client;
judging whether an available target license for authorizing the target business service which needs to be authorized by the target client exists or not;
if so, the available target license is distributed to the target client, and the available target license is marked as a used state.
2. The method of claim 1, wherein the license application request further includes priority information of the target client, and when a license application request sent by any client is received, the priority information of any client is recorded; the method further comprises the following steps:
if the available target license for authorizing the target business service which needs to be authorized by the client does not exist, judging whether the priority of the client meets a preset condition or not;
and if so, recovering the license of the client with the lowest priority based on the recorded priority information of the clients, and distributing the license to the target client, wherein the license and the target license are the same type of license.
3. The method of claim 2, wherein the method further comprises:
and if the priority of the client does not meet the preset condition, adding the target client to a queue to be distributed, wherein the queue to be distributed records the priority information of each client to be distributed with the license, the time information of applying for the license and the type information of the applied license, and when determining that any type of license has the available license, based on the priority information of each client, the time information of applying for and the type information of the applied license are the type of license, and the client with the highest priority and the earliest time of applying for distributes the available license.
4. A method according to any of claims 1-3, wherein the step of allocating the available target licenses to the target customers comprises:
and sending the storage address and the identification information of the available target license to the target client, so that the target client downloads and installs the available target license based on the storage address and the identification information.
5. The method of any one of claims 1-3, further comprising:
receiving a license release message sent by a client, wherein the license release message comprises identification information of a released license;
the released license is marked as an unused state based on the license identification information.
6. A license management apparatus applied to a license management server that maintains a number of licenses for each business service, the apparatus comprising:
the system comprises a receiving unit, a sending unit and a receiving unit, wherein the receiving unit is used for receiving a license application request sent by a target client, and the license application request comprises target business service information which needs to be authorized by the target client;
the judging unit is used for judging whether an available target license for authorizing the target business service which needs to be authorized by the target client exists or not;
when the judging unit judges that an available target license for authorizing the target business service which needs to be authorized by the target client exists, the distributing unit distributes the available target license to the target client and marks the available target license in a used state.
7. The apparatus of claim 6, wherein the license application request further includes priority information of the target client, and the priority information of any client is recorded when a license application request sent by the any client is received; the apparatus further comprises a retrieval unit:
if the judging unit judges that no available target license for authorizing the target business service which needs to be authorized by the client exists, the judging unit is also used for judging whether the priority of the client meets a preset condition;
if yes, the withdrawing unit withdraws the license of the client with the lowest priority based on the recorded priority information of the clients, and the distributing unit distributes the license to the target client, wherein the license and the target license are the same type of license.
8. The apparatus of claim 7, further comprising an adding unit to:
if the priority of the client does not meet the preset condition, the adding unit adds the target client to a queue to be distributed, wherein the queue to be distributed records the priority information of each client to be distributed with a license, the time information of applying for the license and the type information of the applied license, and when determining that any type of license has an available license, the client with the highest priority and the client with the earliest application time distributes the available license for applying for the type of license based on the priority information of each client, the time information of applying for the license and the type information of the applied license.
9. The apparatus according to any of claims 6-8, wherein, when allocating the available target license to the target client, the allocating unit is specifically configured to:
and sending the storage address and the identification information of the available target license to the target client, so that the target client downloads and installs the available target license based on the storage address and the identification information.
10. The apparatus of any one of claims 6-8,
the receiving unit is further configured to receive a license release message sent by a client, where the license release message includes identification information of a released license;
the allocation unit is further configured to mark the released license as an unused state based on the license identification information.
CN202011047250.2A 2020-09-29 2020-09-29 License management method and device Withdrawn CN112231643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011047250.2A CN112231643A (en) 2020-09-29 2020-09-29 License management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011047250.2A CN112231643A (en) 2020-09-29 2020-09-29 License management method and device

Publications (1)

Publication Number Publication Date
CN112231643A true CN112231643A (en) 2021-01-15

Family

ID=74119342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011047250.2A Withdrawn CN112231643A (en) 2020-09-29 2020-09-29 License management method and device

Country Status (1)

Country Link
CN (1) CN112231643A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884668A (en) * 2022-03-17 2022-08-09 阿里巴巴(中国)有限公司 Resource management method and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000010777A (en) * 1998-06-19 2000-01-14 Nec Corp Network license management system
JP2002258962A (en) * 2001-02-27 2002-09-13 Toyota Motor Corp Software license management system
US20040078339A1 (en) * 2002-10-22 2004-04-22 Goringe Christopher M. Priority based licensing
CN101119317A (en) * 2007-08-31 2008-02-06 华为技术有限公司 Distribution permissive method, equipment and system
CN102123398A (en) * 2011-03-30 2011-07-13 中国联合网络通信集团有限公司 Dynamic scheduling method for carrier frequency certificates
CN111079094A (en) * 2019-12-12 2020-04-28 北京月新时代科技股份有限公司 Method, device, electronic equipment and storage medium for scheduling allowed resources

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000010777A (en) * 1998-06-19 2000-01-14 Nec Corp Network license management system
JP2002258962A (en) * 2001-02-27 2002-09-13 Toyota Motor Corp Software license management system
US20040078339A1 (en) * 2002-10-22 2004-04-22 Goringe Christopher M. Priority based licensing
CN101119317A (en) * 2007-08-31 2008-02-06 华为技术有限公司 Distribution permissive method, equipment and system
CN102123398A (en) * 2011-03-30 2011-07-13 中国联合网络通信集团有限公司 Dynamic scheduling method for carrier frequency certificates
CN111079094A (en) * 2019-12-12 2020-04-28 北京月新时代科技股份有限公司 Method, device, electronic equipment and storage medium for scheduling allowed resources

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884668A (en) * 2022-03-17 2022-08-09 阿里巴巴(中国)有限公司 Resource management method and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN110647394B (en) Resource allocation method, device and equipment
CN107729135B (en) Method and device for parallel data processing in sequence
TWI492046B (en) Data storage and system thereof
CN112291382B (en) IP address allocation method and device
US10379834B2 (en) Tenant allocation in multi-tenant software applications
CN110704214B (en) Inter-process communication method and device
CN109639643B (en) Block chain-based client manager information sharing method, electronic device and readable storage medium
CN107168777B (en) Method and device for scheduling resources in distributed system
CN109543365B (en) Authorization method and device
CN111221638A (en) Scheduling processing method, device, equipment and medium for concurrent tasks
CN111245732A (en) Flow control method, device and equipment
CN111736957A (en) Multi-type service mixed deployment method, device, equipment and storage medium
CN113703912A (en) Virtual machine management method and device
CN112231643A (en) License management method and device
CN112231053B (en) Load balancing service distribution method and device
US7516151B2 (en) Parallel traversal of a dynamic list
CN109558249B (en) Control method and device for concurrent operation
CN112995982B (en) Method, device, server and storage medium for scheduling cloud SIM card
CN113986448A (en) Container deployment method and device
CN114157717A (en) Micro-service dynamic current limiting system and method
CN114896040A (en) Task scheduling method and device, electronic equipment and storage medium
CN109951478B (en) Authorization management method and device
CN114285799B (en) Method, device, terminal and storage medium for processing service
CN112596774B (en) Instantiated software management method and device
CN109429376B (en) Resource release method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210115

WW01 Invention patent application withdrawn after publication