CN113806693A - License distribution method, device, equipment and storage medium - Google Patents

License distribution method, device, equipment and storage medium Download PDF

Info

Publication number
CN113806693A
CN113806693A CN202010550380.1A CN202010550380A CN113806693A CN 113806693 A CN113806693 A CN 113806693A CN 202010550380 A CN202010550380 A CN 202010550380A CN 113806693 A CN113806693 A CN 113806693A
Authority
CN
China
Prior art keywords
user
resource
license
permission
shared
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.)
Pending
Application number
CN202010550380.1A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202010550380.1A priority Critical patent/CN113806693A/en
Priority to PCT/CN2021/100101 priority patent/WO2021254325A1/en
Publication of CN113806693A publication Critical patent/CN113806693A/en
Pending 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]
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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
    • H04L63/105Multiple levels of security
    • 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
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time

Abstract

The embodiment of the application provides a license distribution method, a device, equipment and a storage medium, wherein the method comprises the following steps: determining the type information of the user according to the acquired user access request; determining the allowed resources corresponding to the user according to the type information, wherein the allowed resources comprise fixed occupied allowed resources and shared allowed resources; and distributing target permission for the user according to the determined permission resource. According to the method and the device, the allowed resources are divided into the fixed occupied allowed resources and the shared allowed resources, the user uses the allowed resources according to the type information, efficient utilization of the allowed resources is achieved, the total number of the allowed resources is reduced, the use waiting time of the allowed resources is reduced, and waste of the allowed resources is reduced.

Description

License distribution method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of computer application, in particular to a license distribution method, a license distribution device, license distribution equipment and a storage medium.
Background
With the development of internet technology, business software has been developed vigorously. In order to guarantee the reasonable application of the business software, the manufacturer often controls the user to log in the business software in a license authentication mode. Common licenses are typically embodied in the form of a registration code, which may be bound to the business software. When the user accesses the business software, the user needs to be judged through the authentication license, and only the user with the legal license is allowed to log in the business software.
However, after the user purchases the commercial software, the number of license certificates often cannot meet the actual requirements of the user, for example, too many licenses result in wasted license resources, and too few licenses result in the user being unable to use the commercial software in time. Therefore, in order to avoid wasting license authentication resources and improve the utilization rate of the license, a method for allocating the license is needed in the art.
Disclosure of Invention
The embodiment of the application provides a license allocation method, a license allocation device, license allocation equipment and a storage medium, so that reasonable allocation of licensed resources is realized, the utilization rate of target software or target resources is improved, and user experience is improved.
The embodiment of the application provides a license distribution method, which comprises the following steps:
determining the type information of the user according to the acquired user access request; determining the allowed resources corresponding to the user according to the type information, wherein the allowed resources comprise fixed occupied allowed resources and shared allowed resources; and distributing target permission for the user according to the determined permission resource.
An embodiment of the present application further provides a license assignment device, including:
the type determining module is used for determining the type information of the user according to the acquired user access request;
a resource determining module, configured to determine, according to the type information, a licensed resource corresponding to the user, where the licensed resource includes a fixed occupied licensed resource and a shared licensed resource;
and the permission allocation module is used for allocating target permission to the user according to the determined permission resource.
The embodiment of the present application further provides an apparatus, where the apparatus includes:
one or more processors; a memory for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement a license assignment method as described in any of the embodiments of the present application.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the license assignment method as described in any of the embodiments of the present application.
According to the method and the device, the corresponding allowed resources are determined through the type information of the user, the target permission suitable for the user is selected from the allowed resources and distributed to the user, different permissions are distributed to different users, reasonable application of the allowed resources is achieved, on the basis that the user requirements of using the fixed occupied allowed resources are met timely, the shared utilization of the permission is achieved through shared allowed resources, the utilization rate of the permission is improved, and resource waste caused by the fact that the permission cannot be shared is reduced.
Drawings
Fig. 1 is a flowchart of a license allocation method provided in an embodiment of the present application;
fig. 2 is a flowchart of another license allocation method provided in an embodiment of the present application;
FIG. 3 is an exemplary diagram of a user registration provided in an embodiment of the present application;
fig. 4 is an exemplary diagram of a license allocation method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a license distribution apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus provided in an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart of a license allocation method provided in an embodiment of the present application, where the embodiment of the present application may be applied to a case of sharing a software license, and the method may be executed by a license allocation apparatus provided in an embodiment of the present application, and may be implemented by software and/or hardware, where the apparatus is generally integrated in a software server, and referring to fig. 1, the method provided in an embodiment of the present application specifically includes the following steps:
and step 110, determining the type information of the user according to the acquired user access request.
The user access request may be a request for a user to access a target system, and the user access request may carry identity information of the user. The type information can be attribute classification information of the user, the attribute classification comprises a member user, a non-member user and the like, and different allowed resources are obtained according to different user attribute classifications by classifying the attributes of the user, so that the allowed resources are fully utilized, the member user is guaranteed to obtain the allowed resources in time, and the sharing utilization rate of the allowed resources can be improved.
In this embodiment of the application, the target system may receive a user access request sent by a user, may extract user information in the user access request, for example, unique identification information such as a user name, a mobile phone number, or an identity card number, and may search type information corresponding to the user according to the obtained identification information, where the type information may include a member user, a non-member user, and the like. If the user is a member user, the user can be registered in the target system, corresponding registration information can be found through the user name or the mobile phone number and other information of the user, and if the corresponding registration information is found, the user can be used as the member user. On the contrary, the non-member user may not register an account in the target system, and when the corresponding registration information cannot be found according to the unique identification information such as the user name or the mobile phone number, the user may be determined to be the non-member user.
And step 120, determining the allowed resources corresponding to the user according to the type information, wherein the allowed resources comprise fixed occupied allowed resources and shared allowed resources.
Where a licensed resource may represent a set of system licenses, a licensed resource may be comprised of one or more licenses. In the embodiment of the application, the licensed resource may include two parts, one part is a fixed occupation licensed resource fixedly occupied by the member users, and the other part is a shared licensed resource used by the non-member users, each license in the fixed occupation licensed resource fixedly corresponds to one or more member users, and the license is fixedly used by the corresponding member users. The shared permission resource is commonly used by the non-member users, the non-member users can obtain corresponding permissions according to the principle of first-come first-serve or dynamic allocation, and one permission is not fixedly allocated to a certain non-member user.
Specifically, since the licensed resources acquired by the users with different types of information are different, the corresponding licensed resources may be determined according to the type information of the users, for example, if the user is a member user, the licensed resources corresponding to the user may be fixed occupied licensed resources, and if the user is a non-member user, the licensed resources corresponding to the user are shared licensed resources.
Step 130, allocating target permission to the user according to the determined permission resource.
Specifically, the target permission is allocated to the user according to the determined permitted resource, when the permitted resource is a fixed occupied permitted resource, the permission having a corresponding relationship with the user is allocated to the user as the target permission, when the permitted resource is a shared permitted resource, the unoccupied permission in the shared resource can be randomly selected as the target permission to be allocated to the user, and the allocation mode in the shared permitted resource can include the strategies of first-come first-serve, preemptible or elimination of activity.
According to the method and the device, the type information of the user is determined according to the acquired user access request, the corresponding permission resource is determined according to the type information, the target permission is allocated to the user based on the determined permission resource, the reasonable utilization of the permission resource is realized, the user requirement of using the fixed occupied permission resource is met in time, the permission sharing is realized through the shared permission resource, the permission utilization rate is improved, the free waiting time of the permission is reduced, and the waste of the shared permission resource is avoided.
Further, on the basis of the above application embodiment, the fixed occupied licensed resource and the shared licensed resource are mutually converted.
In an exemplary embodiment, the fixed occupation license resource and the shared license resource in the licensed resource may be transformed into each other, the license in the fixed occupation license resource may be transformed into the shared license resource, and the license in the shared license resource may be transformed into the fixed occupation license resource, for example, when a member user is deleted in the target system, the license of the member fixed occupation may be released into the shared license resource, and accordingly, the number of licenses of the fixed occupation license resource is decreased by 1, and the number of licenses of the shared license resource is increased by 1. When a member user is newly added to the target system, one permission in the shared permission resource can be divided into the fixed occupation permission resource, the newly added member fixedly occupies the permission, and correspondingly, the number of the permissions of the fixed permission resource is increased by 1, and the number of the permissions of the shared permission resource is decreased by 1. Further, on the basis of the above-mentioned application embodiment, the allocating a target license to the user according to the determined license resource includes:
determining whether there is at least one free grant in the shared granted resource; if the idle permission exists, selecting a target permission from the idle permissions to distribute to the user, and if the idle permission does not exist, refusing to distribute the permission to the user.
The shared licensed resource may be a set of licenses shared by users, the licenses in the shared licensed resource are not fixedly occupied by users, and the free licenses may represent licenses that are not used by users.
In the embodiment of the application, the idle permission which is not used by the user can be searched in the shared permission resource, if the idle permission can be searched, the idle permission is used as the target permission to be distributed to the user, and if the idle permission cannot be searched, the idle permission does not exist in the current shared permission resource, the permission can be refused to be provided for the user, and the permission is not provided for the user.
Fig. 2 is a flowchart of another license allocation method provided in an embodiment of the present application, which is embodied based on the foregoing embodiment, and dynamically allocates shared license resources through liveness, referring to fig. 2, the license allocation method provided in the embodiment of the present application includes the following steps:
and step 210, determining the type information of the user according to the acquired user access request.
And step 220, determining the type information as the member user, wherein the allowed resource of the corresponding user is a fixed occupied allowed resource.
In an exemplary embodiment, when the type information determined by the user is a member user, the source of the license acquired by the user is a fixed occupation license resource, and the fixed occupation license resource has a license fixedly occupied by the user.
Step 230, if the type information is determined to be a non-member user, the permitted resource of the corresponding user is a shared permitted resource.
Specifically, when the type information determined by the user is a non-member user, the source of the license acquired by the user is a shared licensed resource, the license in the shared licensed resource can be shared by the non-member user, and the user does not fixedly occupy one or more licenses in the shared licensed resource.
And 240, selecting a target permission fixedly occupied by the user from the fixed occupation permission resources, wherein the target permission has an association relation with the user.
The association relationship may be a correspondence between the target permission and the user, and may be generated when the user registers and opens an account. For example, after the user is registered in the target system, the identification number may be determined according to the registration information of the user, and the identification number and the target license association may be stored to form an association relationship.
In the embodiment of the application, the fixed occupied permission of the user exists in the fixed occupied permission resource, the permission can be used only by the user, and the corresponding permission can be found in the fixed occupied permission resource as the target permission through the association relation between the user and the permission.
Step 250, determine if there is at least one free grant in the shared granted resource.
The idle license is a license which is not used by the user, the idle license can be in an idle state, and no user uses the license to log in the target software or the target resource.
Specifically, unoccupied licenses in the shared licensed resource can be searched, for example, a license in the shared licensed resource can be set with a flag bit, when the flag bit is set to 1, it indicates that the corresponding license is occupied and not a free license, and when the flag is set to 0, it indicates that the corresponding license is an unoccupied free license.
If yes, then select the target license from the free licenses and assign it to the user, and if not, then select the license with low user activity from the shared license resources and assign it as the target license to the user.
The user activity may be a frequency of the user using the license to log in the target system or use the target resource, and the more the number of times of the user using the license is, the longer the usage time is, the higher the corresponding user activity may be.
In the embodiment of the application, when the idle permission exists in the shared permission resource, one permission can be randomly selected from the idle permissions to serve as a target permission to be allocated to the user, when the idle permission does not exist in the shared permission resource, the user activity degree corresponding to each permission in the shared resource can be determined, and the permission with the lowest user activity degree can be selected to serve as the target permission to be allocated to the user. It is to be understood that a low user activity may include a low number of permitted uses, a short permitted use time, or a maximum permitted unused time, etc.
In the embodiment of the application, the type information of the user is determined according to the acquired user access request, when the type information is a member user, the license resource corresponding to the user is a fixed occupied license resource, when the type information is a non-member user, the license resource corresponding to the user is a shared license resource, the license fixedly occupied by the user is selected as a target license in the fixed license resource, when an idle license exists in the shared license resource, the idle license is selected as the target license, and when the idle license does not exist, the license with low user activity is selected as the target license, so that the efficient utilization of the license resource is realized, the total amount of the license resource is reduced, the storage pressure of system content is reduced, and the waste of the resource caused by long-time waiting use of the license is reduced.
In an exemplary embodiment, before selecting the target license of the user fixed occupation in the fixed occupation license resource, the method further includes: and verifying the legality of the user.
In the embodiment of the application, because the user is a member user using the fixed occupation permission resource, the user can register and open an account, the legality can be checked according to the registration information of the user, after the user passes the check, the target permission fixedly occupied by the user can be selected from the fixed occupation permission resource, and otherwise, the user is prohibited from using the fixed occupation permission resource.
In another exemplary embodiment, before said determining whether there is at least one free grant in the shared granted resource, further comprising: and verifying the validity of the user based on a third-party system interface.
Specifically, since the user is a non-member user using the shared licensed resource, the non-member user needs to be verified by a trusted third party before using the shared licensed resource, for example, a third party system interface may be invoked, and whether the related information of the user is legal or not may be verified through the interface, so that the access pressure of the local system may be reduced.
Further, on the basis of the above-mentioned application embodiment, selecting a license with low user activity as a target license in the shared license resource includes:
determining a last usage time of each grant in the shared granted resources; and selecting the target permission according to the last using time.
In embodiments of the present application, the user activity may be determined by the last usage time of the license, where the last usage time may be the time the user last used the license to log into the target system or use the target resource. The license corresponding to the last usage time farthest from the current time may be used as the target license, for example, the last usage times corresponding to the license a, the license b, and the license c in the shared license resource are respectively 10 hours before, 11 hours before, and 9 hours before, where the license b is farthest from the current time, and the license b whose last usage time is 11 hours before may be selected as the target license.
Further, on the basis of the embodiment of the above application, the method further comprises: the number of permissions in the fixed occupied licensed resource and the shared licensed resource is adjusted according to the number of member users.
The member user may be a user who has registered as a member, for example, a user who can register in a target system or a target resource.
Specifically, when it is necessary to adjust the permissions in the fixed occupied permission resource and the shared permission resource, the permission number may be adjusted according to the number of persons who have registered as members, and the larger the number of members, the larger the permission number in the fixed occupied permission resource, and correspondingly, the smaller the permission number in the shared permission resource, and conversely, the smaller the number of persons who have registered as members, the smaller the permission number in the fixed occupied permission resource, and correspondingly, the larger the permission number in the shared permission resource. For example, the fixed occupied licensed resource and the licensed amount in the shared licensed resource may be adjusted during user registration, the type information of the user registration is determined first, and if the user is registered as a member user, the licensed amount in the fixed occupied licensed resource is increased by the number corresponding to the newly added member user.
For example, fig. 3 is an exemplary diagram of a user registration provided in an embodiment of the present application, and referring to fig. 3, when a user is registered in a target system, it may be determined whether the user is registered as a member user, if not, it may be determined whether a shared licensed resource exists, if not, a failure message may be returned, and if so, the user may be stored as a general user. If the user is registered as a member user, whether the license which is not fixedly occupied remains in the fixedly occupied license resources can be judged, if yes, the user is stored as the member user, if not, the common user with low activity is eliminated, the license of the common user is used as the target license of the member user, and then the user can be stored as the member user.
In an exemplary embodiment, fig. 4 is an exemplary diagram of a license distribution method provided in an embodiment of the present application, and referring to fig. 4, in the embodiment of the present application, users may be divided into a member user and a general user, the member user may account for a target system, and the general user does not need to account for the target system, but needs to perform a validity check on the general user. If the common user does not open an account in the target system, a trusted third party is needed to verify the validity of the user. Licensed resources are consumed in accessing the system regardless of whether the general user opens an account in the target system. When the member user accesses the target system, the validity of the user can be verified, the member user passing the verification can use the fixed occupied permission resource, and if the user does not pass the validity verification, failure is returned. When the common user needs to access the target system, whether the license in the shared license resource is left or not can be judged firstly, if yes, validity check is carried out, if the check is passed, success is returned, and if not, failure is returned. When the shared license resource has no unused license, directly returning failure. When a new member user is added, the total number of shared permission in the shared permission resource is reduced, if no permission which is not fixedly occupied exists in the fixedly occupied permission resource, the target system needs to eliminate the common user with the lowest activity, and correspondingly, the numbers of the fixedly occupied permission resource and the shared permission resource are changed, for example, the permitted number of the shared permission resource is reduced by 1, and the permitted number of the fixedly occupied permission resource is increased by 1. When the target system deletes the member user, the license originally fixedly occupied needs to be released, and the number of shared licenses is increased by 1. When the target system deletes the common user, the total number of the shared permission is not changed, the target system can forcibly reject the access request of the common user, and the used number of the permission in the shared permission resource is subtracted by 1 and the idle number is added by 1. When the member user is modified to be a common user, if the user logs in the target system, the permission number of the fixedly occupied permission resource is reduced by 1, the permission number of the shared permission resource is increased by 1, and the occupied shared permission is increased by 1. When the common user is modified to be a member user, the number of the licenses of the fixed occupied licensed resources is added with 1, and the total number of the licenses of the shared licensed resources is subtracted with 1.
Fig. 5 is a schematic structural diagram of a license distribution apparatus provided in an embodiment of the present application, which is capable of executing a license distribution method provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method. The device can be implemented by software and/or hardware, is generally integrated in a server, and specifically comprises: a type determination module 301, a resource determination module 302, and a permission assignment module 303.
A type determining module 301, configured to determine type information of the user according to the obtained user access request.
A resource determining module 302, configured to determine, according to the type information, a licensed resource corresponding to the user, where the licensed resource includes a fixed occupied licensed resource and a shared licensed resource.
A license allocating module 303, configured to allocate the target license to the user according to the determined licensed resource.
According to the method and the device, the type information of the user is determined by the type determining module according to the acquired user access request, the corresponding allowed resource is determined by the resource determining module according to the type information, the target permission is allocated to the user by the permission allocating module based on the determined allowed resource, the reasonable utilization of the allowed resource is realized, the utilization rate of the permission is improved, the shared use of the allowed resource is realized on the basis of guaranteeing that the user using the fixed occupied allowed resource acquires the permission in time, the free waiting time of the permission is reduced, and the waste of the allowed resource can be avoided.
Further, on the basis of the above-mentioned application embodiment, the resource determining module 302 includes:
and the member resource determining module is used for determining that the type information is a member user, and the allowed resource corresponding to the user is a fixed occupied allowed resource.
And the non-member resource determining module is used for determining that the type information is a non-member user, and the permitted resource corresponding to the user is a shared permitted resource.
Further, on the basis of the above-mentioned application embodiment, the fixed occupied licensed resource and the shared licensed resource in the resource determining module 302 are converted to each other.
Further, on the basis of the above application embodiment, the license allocation module 303 includes:
and the member distribution unit is used for selecting the target permission fixedly occupied by the user in the fixed occupation permission resource, wherein the target permission has an association relation with the user.
Further, on the basis of the above application embodiment, the license allocation module 303 further includes:
and the member verification unit is used for verifying the legality of the user.
Further, on the basis of the above application embodiment, the license allocation module 303 further includes:
a first idle determination unit configured to determine whether there is at least one idle grant in the shared grant resource;
and a first non-member allocation unit configured to select a target license among the free licenses to allocate to the user if the target license exists, and to refuse allocation of the license to the user if the target license does not exist.
Further, on the basis of the above application embodiment, the license allocation module 303 further includes:
a second idle determination unit for determining whether there is at least one idle grant in the shared granted resource;
and a second non-member allocation unit configured to select a target license among the free licenses to allocate to the user if the target license exists, and select a license having a low user activity among the shared license resources to allocate to the user as the target license if the target license does not exist.
Further, on the basis of the above application embodiment, the non-member allocation unit is specifically configured to: determining a last usage time of each grant in the shared granted resources; and selecting the target permission according to the last using time.
Further, on the basis of the above application embodiment, the license allocation module 303 further includes:
and the non-member verification unit is used for verifying the legality of the user based on a third-party system interface.
Further, on the basis of the embodiment of the above application, the license allocation apparatus further includes:
and the resource adjusting module is used for adjusting the fixed occupied permission resource and the permission quantity in the shared permission resource according to the quantity of the member users.
Fig. 6 is a schematic structural diagram of an apparatus provided in an embodiment of the present application, and as shown in fig. 6, the apparatus includes a processor 60, a memory 61, an input device 62, and an output device 63; the number of processors 60 in the device may be one or more, and one processor 60 is taken as an example in fig. 6; the device processor 60, memory 61, input device 62, and output device 63 may be connected by a bus or other means, as exemplified by the bus connection in fig. 6.
The memory 61 is a computer-readable storage medium that can be used to store software programs, computer-executable programs, and modules, such as the modules (the type determining module 301, the resource determining module 302, and the license allocating module 303) corresponding to the license allocating apparatus in the embodiment of the present application. The processor 60 executes various functional applications of the device and data processing by executing software programs, instructions, and modules stored in the memory 61, that is, implements the above-described license assignment method.
The memory 61 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 61 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 61 may further include memory located remotely from the processor 60, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 62 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 63 may include a display device such as a display screen.
Embodiments of the present application also provide a computer-readable storage medium, where computer-executable instructions, when executed by a computer processor, are configured to perform a license assignment method, the method comprising:
determining the type information of the user according to the acquired user access request; determining the allowed resources corresponding to the user according to the type information, wherein the allowed resources comprise fixed occupied allowed resources and shared allowed resources; and distributing target permission for the user according to the determined permission resource.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the license assignment method provided in any embodiments of the present application.
The above description is only exemplary embodiments of the present application, and is not intended to limit the scope of the present application.
It will be clear to a person skilled in the art that the term user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a car mounted mobile station.
In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
Any logic flow block diagrams in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on a memory. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, Read Only Memory (ROM), Random Access Memory (RAM), optical storage devices and systems (digital versatile disks, DVDs, or CD discs), etc. The computer readable medium may include a non-transitory storage medium. The data processor may be of any type suitable to the local technical environment, such as but not limited to general purpose computers, special purpose computers, microprocessors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.
The foregoing has provided by way of exemplary and non-limiting examples a detailed description of exemplary embodiments of the present application. Various modifications and adaptations to the foregoing embodiments may become apparent to those skilled in the relevant arts in view of the following drawings and the appended claims without departing from the scope of the invention. Therefore, the proper scope of the invention is to be determined according to the claims.

Claims (10)

1. A method of license assignment, the method comprising:
determining the type information of the user according to the acquired user access request;
determining the allowed resources corresponding to the user according to the type information, wherein the allowed resources comprise fixed occupied allowed resources and shared allowed resources;
and distributing target permission for the user according to the determined permission resource.
2. The method of claim 1, wherein the determining the corresponding granted resource according to the type information comprises:
determining that the type information is a member user, and if the allowed resource corresponding to the user is a fixed occupied allowed resource;
and if the type information is determined to be the non-member user, the permitted resource corresponding to the user is a shared permitted resource.
3. The method of claim 1, wherein the fixed occupied licensed resource and the shared licensed resource are interconverted.
4. The method of claim 1, wherein the allocating the target grant to the user based on the determined granted resources comprises:
and selecting a target permission fixedly occupied by the user from the fixedly occupied permission resources, wherein the target permission has an association relation with the user.
5. The method of claim 1, wherein the allocating the target grant for the user based on the determined granted resources comprises:
determining whether there is at least one free grant in the shared granted resource;
if the idle permission exists, selecting a target permission from the idle permissions to distribute to the user, and if the idle permission does not exist, refusing to distribute the permission to the user.
6. The method of claim 1, wherein the allocating the target grant to the user based on the determined granted resources comprises:
determining whether there is at least one free grant in the shared granted resource;
if the license exists, selecting a target license from the free licenses to distribute to the user, and if the license does not exist, selecting a license with low user activity from the shared license resources as the target license to distribute to the user.
7. The method of claim 6, wherein selecting a license with low user activity as a target license in the shared licensed resource comprises:
determining a last usage time of the shared licensed resource;
and selecting the target permission according to the last using time.
8. The method of claim 1, further comprising:
the number of permissions in the fixed occupied licensed resource and the shared licensed resource is adjusted according to the number of member users.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the license assignment method as recited in any of claims 1-8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the license assignment method according to any one of claims 1-8.
CN202010550380.1A 2020-06-16 2020-06-16 License distribution method, device, equipment and storage medium Pending CN113806693A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010550380.1A CN113806693A (en) 2020-06-16 2020-06-16 License distribution method, device, equipment and storage medium
PCT/CN2021/100101 WO2021254325A1 (en) 2020-06-16 2021-06-15 License assignment method, apparatus and device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010550380.1A CN113806693A (en) 2020-06-16 2020-06-16 License distribution method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113806693A true CN113806693A (en) 2021-12-17

Family

ID=78943284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010550380.1A Pending CN113806693A (en) 2020-06-16 2020-06-16 License distribution method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113806693A (en)
WO (1) WO2021254325A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242456B (en) * 2022-06-28 2024-03-19 中国电信股份有限公司 User license management system, method, device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9632827B2 (en) * 2006-12-21 2017-04-25 International Business Machines Corporation Resource manager for managing the sharing of resources among multiple workloads in a distributed computing environment
CN103841200B (en) * 2014-03-10 2017-03-29 上海华虹宏力半导体制造有限公司 A kind of control method and device of software license
CN105450601B (en) * 2014-08-19 2019-05-07 华为技术有限公司 The method and apparatus of shared licensing
CN109874115A (en) * 2017-12-05 2019-06-11 中兴通讯股份有限公司 Licensing method of adjustment and device

Also Published As

Publication number Publication date
WO2021254325A1 (en) 2021-12-23

Similar Documents

Publication Publication Date Title
US11265306B2 (en) Account authentication method for cloud storage, and server
CN108399101B (en) Method, device and system for scheduling resources
US8850154B2 (en) Processing system having memory partitioning
CN110855599B (en) Multi-tenant access control method and device and computer readable storage medium
US9009079B2 (en) Planning assignment of software licenses
US10178103B2 (en) System and method for accessing a service
CN110138767B (en) Transaction request processing method, device, equipment and storage medium
CN113079200A (en) Data processing method, device and system
JP4407956B2 (en) Information processing method and information processing apparatus
CN106951795B (en) Application data access isolation method and device
WO2020156135A1 (en) Method and device for processing access control policy and computer-readable storage medium
CN111338786A (en) Quota management method and device for cloud platform resources and computer equipment
CN111062028A (en) Authority management method and device, storage medium and electronic equipment
CN112019543A (en) Multi-tenant permission system based on BRAC model
US11102145B2 (en) Resource sharing method, computer device, and storage medium
CN116028455A (en) Data processing method and device, storage medium and electronic equipment
WO2021254325A1 (en) License assignment method, apparatus and device, and storage medium
US9684525B2 (en) Apparatus for configuring operating system and method therefor
CN114070820B (en) Domain name redirection method, device, medium and electronic equipment
CN113722729B (en) Authority management method, device, terminal, server and storage medium
US9652608B2 (en) System and method for securing inter-component communications in an operating system
US20110321121A1 (en) Information processing system and operation method of information processing system
CN111444483A (en) Authentication method, device and equipment
CN111737013B (en) Chip resource management method and device, storage medium and system chip
CN115695454B (en) Data storage method, device and equipment of MEC host and storage medium

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