Method, device, computer equipment and storage medium for scheduling equity information

By implementing the scheduling method of stakeholder information in the security detection client, the complex management problem of users when they have multiple authorization certificates at the same time is solved, and the flexibility and management efficiency of authorization certificates are improved.

CN118862184BActive Publication Date: 2025-03-25北京长擎量子技术有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411103120.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2025-03-25
Estimated Expiration
2044-08-12

AI Technical Summary

Technical Problem

The prior art is difficult to effectively manage users with multiple different types of authorization certificates at the same time, resulting in reduced flexibility of authorization certificates and complex management.

Method used

By implementing the stake information scheduling method in the security detection client, the stake allocation request for the target host is obtained, the remaining amount of the authorization certificate is detected, and the stake smoothing mechanism is triggered, and the automatic switch to other authorization certificates with the remaining amount is switched to.

Benefits of technology

It realizes unified management of multiple authorization certificates, improves the flexibility and management efficiency of authorization certificates, protects users' rights and interests, and reduces operational difficulties.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118862184B_ABST
    Figure CN118862184B_ABST
Patent Text Reader

Abstract

The present invention discloses a scheduling method, device, computer equipment and storage medium for rights and interests information, which are applied to a security detection client, wherein the security detection client stores multiple rights and interests information, each of which is associated with at least one host, and the method comprises: obtaining a rights and interests allocation request for a target host, wherein the target host is any one of multiple hosts; responding to the rights and interests allocation request, querying whether the target host is a newly added host; when the target host is a newly added host, detecting whether there is a remaining amount in the first authorization certificate corresponding to the target rights and interests information requested to be allocated by the newly added host; if there is no remaining amount in the first authorization certificate, triggering a rights and interests smoothing mechanism to determine a second authorization certificate with a remaining amount, allocating the target host to the second authorization certificate, and updating the number of online hosts associated with the second authorization certificate. The present invention solves the problem that it is impossible to uniformly manage the rights and interests of multiple different types of authorization certificates simultaneously acquired and used by users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a method, device, computer equipment and storage medium for scheduling equity information. Background Art

[0002] In the process of releasing computer software and hardware equipment, users obtain the business functions or services of related hardware and software by purchasing licenses. The authorization module has become an indispensable part of the complete functions of the software, and it is also a necessary link for the product to form a commercial closed loop. There are various authorization methods, with the software itself, the modules in the software, the number of system users or the characteristics of the hardware equipment as the measurement unit.

[0003] However, the existing technology has obvious deficiencies when dealing with users who purchase multiple authorization codes at the same time and expect to uniformly manage the rights and interests corresponding to these authorization codes. Specifically, when a user owns and uses multiple authorization certificates of different types, if the authorization of each module is uniformly managed, the authorization certificate used last will take effect, and the previously activated authorization certificates cannot be switched back and forth and used at the same time, or measured by expiration time. This restriction not only weakens the rights and interests of users and reduces the flexibility of authorization certificates, but also brings management troubles to software developers when providing services to users. Summary of the invention

[0004] In view of this, embodiments of the present invention provide a scheduling method, apparatus, computer equipment and storage medium for rights information to solve the problem of being unable to uniformly manage rights for multiple different types of authorization certificates simultaneously acquired and used by users.

[0005] In a first aspect, an embodiment of the present invention provides a method for scheduling rights information, the method being applied to a security detection client, the security detection client storing a plurality of rights information, each of which is associated with at least one host, the method comprising:

[0006] Obtaining a rights allocation request for a target host, wherein the target host is any one of a plurality of hosts;

[0007] In response to the equity allocation request, query whether the target host is a newly added host;

[0008] When the target host is a newly added host, detecting whether there is a remaining amount in the first authorization certificate corresponding to the target rights and interests information requested to be allocated by the newly added host;

[0009] If there is no remaining amount in the first authorization certificate, the equity smoothing mechanism is triggered to determine a second authorization certificate with a remaining amount, the target host is allocated to the second authorization certificate, and the number of online hosts associated with the second authorization certificate is updated.

[0010] In an optional implementation manner of the present application, the detecting whether there is a remaining amount in the first authorization certificate corresponding to the target equity information requested to be allocated by the newly added host includes:

[0011] Obtain the number of online hosts and the limit amount associated with the first authorization certificate;

[0012] Determine whether the number of online hosts reaches the limit;

[0013] If the number of online hosts reaches the limit, it is determined that there is no remaining amount in the first authorization certificate; or if the number of online hosts does not reach the limit, it is determined that there is a remaining amount in the first authorization certificate.

[0014] In an optional implementation manner of the present application, the triggering of the equity smoothing mechanism to determine the second authorization certificate with the remaining amount includes:

[0015] Traverse the authorization certificates pre-stored in the preset data table of the security detection client;

[0016] Detecting candidate authorization certificates that are within a limited period and have a remaining balance among the authorization certificates;

[0017] If there are candidate authorization certificates that are within a limited period and have a remaining amount, the candidate authorization certificates are sorted in descending order according to the activation time to obtain a certificate list;

[0018] The authorization certificate at the first position in the certificate list is selected as the second authorization certificate.

[0019] In an optional embodiment of the present application, the method further includes:

[0020] If there is no candidate authorization certificate with a limited period and a remaining balance, the rights allocation process for the target host is terminated and a corresponding prompt message is generated, wherein the prompt message is used to prompt that the remaining balance cannot satisfy the rights allocation for the target host.

[0021] In an optional implementation manner of the present application, before obtaining the equity allocation request for the target host, the method further includes:

[0022] Receive the authorization activation code entered by the user;

[0023] Performing a validity check on the authorization activation code to obtain a check result;

[0024] When the verification result is passed, an authorization request is generated based on the authorization activation code and the feature identifier of the security detection client, and the authorization request is sent to the server.

[0025] In an optional implementation manner of the present application, after sending the authorization request to the server, the method further includes:

[0026] Receiving the authorization certificate fed back by the server in response to the authorization request;

[0027] Verifying the authorization certificate to obtain a verification result;

[0028] When the verification result is passed, the authorization certificate and the rights and interests information associated with the authorization certificate are stored in a preset data table of the security detection client.

[0029] In an optional embodiment of the present application, the method further includes:

[0030] Monitoring the application status of the target host with respect to the equity information;

[0031] If the application status is stopped, the number of online hosts associated with the currently used authorization certificate is updated and the corresponding remaining quota is released; or, if the application status is continuous, the application status of the target host for the rights information continues to be monitored until the application status changes.

[0032] In a second aspect, an embodiment of the present invention provides a scheduling device for rights information, which is applied to a security detection client, wherein the security detection client stores a plurality of rights information, each of which is associated with at least one host, and the device comprises:

[0033] An acquisition module, used to acquire a rights allocation request for a target host, wherein the target host is any one of a plurality of hosts;

[0034] A response module, used to respond to the equity allocation request and query whether the target host is a newly added host;

[0035] A detection module, used for detecting, when the target host is a newly added host, whether there is a remaining amount in the first authorization certificate corresponding to the target equity information requested to be allocated by the newly added host;

[0036] A trigger module is used to trigger the equity smoothing mechanism to determine a second authorization certificate with a remaining amount if there is no remaining amount in the first authorization certificate, allocate the target host to the second authorization certificate, and update the number of online hosts associated with the second authorization certificate.

[0037] In a third aspect, an embodiment of the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0038] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method of the first aspect or any corresponding embodiment thereof.

[0039] The method provided in the embodiment of the present application has the following beneficial effects:

[0040] The method provided in the embodiment of the present application obtains a rights allocation request for the target host, which can respond to the user's demand for rights allocation for multiple hosts and improve the flexibility of authorization management. When responding to the rights allocation request, it is queried whether the target host is a newly added host, which helps to distinguish the rights allocation of existing hosts and newly added hosts, and provides basic data for the rights smoothing mechanism in the subsequent steps. When the target host is a newly added host, it is detected whether there is a remaining amount in the first authorization certificate corresponding to the target rights information requested by the newly added host, which ensures that the remaining amount of the existing authorization certificate can be given priority when allocating rights, avoiding the waste and overlap of rights. If there is no remaining amount in the first authorization certificate, the rights smoothing mechanism is triggered to determine the second authorization certificate with a remaining amount, the target host is allocated to the second authorization certificate, and the number of online hosts associated with the second authorization certificate is updated. When the user has multiple authorization certificates at the same time and the amount of some certificates is insufficient, it can automatically and smoothly switch to other certificates with remaining amounts, effectively protecting the rights and interests of the user, reducing the difficulty of operation, and enhancing the use value of the solution.

[0041] The method provided in the embodiment of the present application obtains the usage of the authorization certificate in real time, provides an accurate data basis for subsequent rights and interests judgment, and avoids waste and overlap of rights and interests. At the same time, the method comprehensively searches for available authorization certificate resources to ensure that the selected candidate certificates are valid and reliable, and gives priority to the most recently activated certificates, thereby improving the flexibility of authorization management and user satisfaction. When a user has multiple authorization certificates at the same time and some of them have insufficient credits, the method can automatically and smoothly switch to other certificates with remaining credits, effectively protecting user rights and interests, reducing operational difficulty, and enhancing the value of the solution.

[0042] The method provided in the embodiment of the present application receives and verifies the authorization activation code input by the user to ensure the validity of the activation code, and then generates an authorization request and sends it to the server, so as to bind the authorization activation code with the security detection client, and provide a basis for the subsequent acquisition of the authorization certificate. At the same time, the method receives and verifies the authorization certificate fed back by the server to ensure the validity of the certificate, and stores the authorization certificate and the associated rights and interests information locally, which is convenient for subsequent rights and interests management and use, and improves the efficiency and accuracy of authorization management. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 is a flowchart of a method for scheduling equity information according to some embodiments of the present invention;

[0045] Figure 2 is a flow chart of authorization certificate generation and distribution according to an embodiment of the present invention;

[0046] Figure 3 is a flow chart of host rights allocation and service function usage according to an embodiment of the present invention;

[0047] Figure 4 is a structural block diagram of a scheduling device for equity information according to an embodiment of the present invention;

[0048] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0050] According to an embodiment of the present invention, a scheduling method, apparatus, computer device and storage medium for equity information are provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0051] In this embodiment, a scheduling method for rights information is provided, which is applied to a security detection client. The security detection client stores a plurality of rights information, each of which is associated with at least one host. Figure 1 is a flow chart of a method for scheduling equity information according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0052] Step S11, obtaining a rights allocation request for a target host, wherein the target host is any one of a plurality of hosts.

[0053] It should be noted that the security detection client is a device with specific software installed, which is responsible for performing security detection on the target host. It is the interface for users to interact with the software, allowing users to initiate detection requests, view results and manage rights and interests information. Rights and interests information refers to the relevant rights and interests obtained by users, such as the number of hosts that can be detected, the service life, specific functions or services, etc., which is the basis for software authorization and activation. The target host is the device that needs to be security-tested, such as servers, workstations, etc., and is the object of detection and security assessment.

[0054] In an embodiment of the present application, a rights allocation request can be triggered in a variety of ways, such as user operation through a client interface, calling through an API interface, etc. The request should contain relevant information about the target host, such as the host identifier, the type of rights required, etc. When receiving the request, the client performs necessary verification to ensure the legitimacy of the request source and the correctness of the request content. After receiving the request, the client responds to the request and starts the subsequent processing flow, including querying whether the target host is a newly added host, detecting the remaining amount of the authorization certificate, etc.

[0055] Step S12, responding to the rights allocation request, querying whether the target host is a newly added host.

[0056] In an embodiment of the present application, when the security detection client receives a request for allocating rights to a target host, it responds to the request and checks the client's database or data table to see whether the host's characteristic ID (such as a motherboard device unique code or a CPU device unique code) already exists. If the target host is a newly added host, the client will perform a series of operations to allocate rights to it, including detecting the remaining amount of the authorization certificate, updating the number of online hosts, etc. If the target host is not a newly added host, that is, its characteristic ID already exists in the client's database or data table, the client will allow the host to continue to use its allocated rights.

[0057] Step S13: When the target host is a newly added host, it is detected whether there is a remaining amount in the first authorization certificate corresponding to the target rights and interests information requested to be allocated by the newly added host.

[0058] In the embodiment of the present application, detecting whether there is a remaining amount in the first authorization certificate corresponding to the target equity information requested to be allocated by the newly added host includes the following steps A1-A3:

[0059] Step A1, obtaining the number of online hosts and the limit amount associated with the first authorization certificate.

[0060] In the embodiment of the present application, first, the database or data table of the client is queried to obtain the relevant records of the first authorization certificate, wherein the records may include the unique identifier of the certificate, the associated online host list, the limit amount (i.e., the maximum number of online hosts allowed by the certificate), the validity period, etc. Secondly, the number of hosts currently associated with the first authorization certificate and in an online state is calculated, and the calculation process also includes checking the status of each host to determine whether each host is still using the rights and interests of the certificate.

[0061] Step A2: determine whether the number of online hosts has reached the limit.

[0062] In an embodiment of the present application, the number of online hosts currently associated with the first authorization certificate is obtained by querying a database or a data table. At the same time, the limit of the authorization certificate, that is, the maximum number of online hosts allowed, is obtained. Then, the client compares these two values ​​to determine whether there is any remaining amount in the first authorization certificate.

[0063] Step A3: if the number of online hosts reaches the limit, it is determined that there is no remaining amount in the first authorization certificate; or if the number of online hosts does not reach the limit, it is determined that there is a remaining amount in the first authorization certificate.

[0064] In the embodiment of the present application, if the number of online hosts has reached the limit, it is determined that there is no remaining quota in the first authorization certificate, that is, it can no longer be allocated to a new host, and the equity smoothing mechanism needs to be triggered to find other authorization certificates with remaining quotas to allocate to the new host. If the number of online hosts has not reached the limit, it is determined that there is a remaining quota in the first authorization certificate, that is, there are available quotas that can be allocated to the new host, and the new host can be directly allocated to the authorization certificate, and the relevant database records are updated, including increasing the count of hosts in use.

[0065] Step S14: If there is no remaining amount in the first authorization certificate, the equity smoothing mechanism is triggered to determine a second authorization certificate with a remaining amount, the target host is allocated to the second authorization certificate, and the number of online hosts associated with the second authorization certificate is updated.

[0066] In the embodiment of the present application, when there is no remaining balance in the first authorization certificate, the equity smoothing mechanism is triggered to automatically search all authorization certificates in the preset data table to find candidate certificates that are within the validity period and have a remaining balance. If a qualified candidate certificate is found, it is sorted in descending order according to the activation time, a certificate list is generated, and the first authorization certificate is selected as the second authorization certificate. Subsequently, the characteristic ID of the target host is added to the second authorization certificate, and the database record is updated, including increasing the host count in use by 1 to confirm that the new host has been successfully added.

[0067] In the embodiment of the present application, triggering the equity smoothing mechanism to determine the second authorization certificate with the remaining amount includes the following steps B1-B3:

[0068] Step B1, traverse the authorization certificates pre-stored in the preset data table of the security detection client.

[0069] In an embodiment of the present application, a comprehensive scan is performed on the data table preset by the security detection client to ensure that all stored authorization certificates are included in the scope. The data table is a key structure for storing authorization certificates and related information, and can be designed as a relational database table. In order to optimize performance, when traversing a large number of authorization certificates, mechanisms such as indexing and caching can be used to accelerate data retrieval and processing. At the same time, the use of technologies such as parallel processing or distributed computing can also be considered to further improve the traversal efficiency. The trigger condition for this traversal process is that there is no remaining amount in the first authorization certificate, that is, when the first authorization certificate can no longer allocate rights and interests for the newly added host, the process of traversing the data table is started.

[0070] Step B2: Detect candidate authorization certificates that are within a limited period and have a remaining balance in the authorization certificates.

[0071] In an embodiment of the present application, when traversing the authorization certificates in the preset data table, first check whether each certificate is still within the validity period, which can be achieved by verifying the validity period field on the authorization certificate. For authorization certificates within the validity period, check whether the number of online hosts associated with the certificate has not reached its limit. Only authorization certificates that meet both the validity period and the remaining limit conditions will be considered as candidate authorization certificates. These certificates will be further considered as options to replace the first authorization certificate.

[0072] Step B3: If there are candidate authorization certificates that are within a limited period and have a remaining balance, the candidate authorization certificates are sorted in descending order according to activation time to obtain a certificate list.

[0073] In an embodiment of the present application, for candidate authorization certificates that meet the conditions, they are sorted in descending order according to their activation time, that is, the most recently activated certificates will be placed at the front of the list and thus have a higher priority. After the sorting is completed, a list containing all candidate authorization certificates is generated, and the list will be arranged in descending order of activation time. The logic of choosing to sort in descending order by activation time is based on an assumption that the most recently activated certificates are more likely to represent the user's current needs and purchasing intentions. Therefore, placing these certificates in front can increase the possibility that the user can continue to use the software seamlessly.

[0074] Step B4: Select the authorization certificate that is at the first position in the certificate list as the second authorization certificate.

[0075] In an embodiment of the present application, the authorization certificate at the first place is selected from the certificate list as the second authorization certificate, that is, the most recently activated replacement certificate with a remaining balance. After determining the second authorization certificate, the target host is assigned to the certificate, and the number of online hosts associated with the certificate is updated. In this way, the user can continue to perform security checks on the target host without being affected by rights restrictions. Although this embodiment selects the logic of sorting in descending order by activation time and selecting the first place, in actual applications, the selection rules can also be adjusted according to user needs or business logic. For example, the frequency of use of the certificate, the difficulty of obtaining it, or other relevant factors can be considered to determine the priority.

[0076] In the embodiment of the present application, before obtaining the equity allocation request for the target host, the method further includes the following steps C1-C3:

[0077] Step C1, receiving the authorization activation code input by the user.

[0078] In an embodiment of the present application, after the user obtains the software or related rights and interests, an authorization activation code will be obtained as a certificate for legally using the software and enjoying the rights and interests. The user needs to enter this activation code in the software's security detection client to start the activation process. The activation code is an agreement between the software provider and the user, representing that the user has purchased and has the right to use the software or rights and interests. The activation code is usually a complex and unique combination of letters, numbers or special characters, and is sent to the user by means of e-mail, text messages or physical cards. The security detection client provides a user interaction interface to input the activation code, and performs subsequent legitimacy verification and processing. In practical applications, it is possible to consider increasing the expiration time limit of the activation code, providing multiple activation methods (such as online activation) and the automatic filling function of the activation code.

[0079] Step C2, verify the validity of the authorization activation code and obtain the verification result.

[0080] In the embodiment of the present application, the legitimacy check is a key process to ensure that the authorization activation code entered by the user is valid and has not been tampered with. After the user enters the activation code, the security detection client will perform a series of complex verification operations, including checking whether the format, length, character composition, etc. of the activation code conform to the predetermined rules, and communicate with the server to verify whether the activation code is valid and has not been used in the database. If the activation code passes the verification, the client will continue the activation process; if it fails, an error prompt will be given and the user will be asked to re-enter the code.

[0081] Step C3: if the verification result is passed, an authorization request is generated based on the authorization activation code and the feature identifier of the security detection client, and the authorization request is sent to the server.

[0082] In the embodiment of the present application, after the authorization activation code entered by the user passes the legality check, the security detection client will combine the activation code and the client feature identifier to generate an authorization request, which contains all the necessary information for the user to activate the software or service. Subsequently, the client sends this authorization request to the authorization processing system of the server. After receiving the request, the server will verify the validity of the activation code, search for the rights and interests information obtained by the user, and generate an authorization certificate.

[0083] In the embodiment of the present application, after sending the authorization request to the server, the method further includes the following steps D1-D3:

[0084] Step D1: receiving the authorization certificate fed back by the server in response to the authorization request.

[0085] In the embodiment of the present application, after the security detection client sends the authorization request to the server, the server will perform a series of processing, including verifying the validity of the activation code, searching for the corresponding user purchase rights information, etc. After processing the authorization request, the server generates an authorization certificate and sends it back to the security detection client. After receiving the authorization certificate, the client will perform subsequent verification and processing.

[0086] Step D2, verify the authorization certificate and obtain a verification result.

[0087] In an embodiment of the present application, after receiving the authorization certificate sent by the server, the client will start the verification process. The verification process includes checking the key information of the authorization certificate, such as the signature, validity period, and issuer. The client uses the built-in verification mechanism or calls an external service to determine whether the authorization certificate is valid or invalid. If the authorization certificate passes the verification, the client will continue with the subsequent activation and rights distribution steps; if the authorization certificate fails the verification, the client will refuse to activate and display an error message to the user.

[0088] Step D3, when the verification result is passed, the authorization certificate and the rights and interests information associated with the authorization certificate are stored in a preset data table of the security detection client.

[0089] In the embodiment of the present application, when the authorization certificate is verified, the client will save it and the rights and interests information associated with it into a preset data table. This data table is the core structure for the client to manage the authorization certificate and rights and interests information. The stored information includes the ID, validity period, associated rights and interests content and other necessary information of the authorization certificate. The data table is designed to be efficient and can store and query the authorization certificate and its rights and interests information. The implementation method can be a relational database or a NoSQL database, depending on the data complexity and query requirements, and contains appropriate indexes for fast search and update of information.

[0090] In an embodiment of the present application, the method also includes: monitoring the application status of the target host for the rights and interests information; if the application status is a stopped state, updating the number of online hosts associated with the currently used authorization certificate and releasing the corresponding remaining quota; or, if the application status is a continuous state, continuing to monitor the application status of the target host for the rights and interests information until the application status changes.

[0091] In an embodiment of the present application, the security detection client will monitor the target host's use of the allocated rights information in real time or regularly, including whether a security detection task is being performed, the frequency and duration of use, etc. If the target host is in a stopped state, that is, no rights information is used for security detection, the client will update the number of online hosts associated with the used authorization certificate, reduce it by one, and release the remaining quota occupied by the host for use by other hosts. If the target host is in a continuous state, that is, it is using rights information for security detection, the client will continue to monitor its application status until a change occurs, and update the usage of the authorization certificate and rights information accordingly.

[0092] Figure 2 is a flow chart of generating and distributing authorization certificates according to an embodiment of the present invention, such as Figure 2 As shown, the process includes:

[0093] The user obtains the equity measurement unit by filling out a form or using an API, and sends the information to the server. The server receives and stores the user information, generates an authorization activation code, and sends it to the user. The user enters the activation code into the security detection client, which combines the activation code and its own feature identifier to generate an authorization request and sends it to the server. The server verifies the validity of the activation code. If it is valid, it generates an authorization certificate, records the feature identifier of the security detection client, and sends the certificate back to the security detection client. The security detection client receives and stores the authorization certificate and associated equity information for subsequent use and management.

[0094] Figure 3 is a flow chart of host rights allocation and service function usage according to an embodiment of the present invention, such as Figure 3 As shown, the process includes:

[0095] First, obtain the rights allocation request for the target host, and determine whether the target host is a newly added host. If it is not a newly added host, it is directly allowed to use the business function. If it is a newly added host, further determine whether the first authorization certificate requested by the target host has a remaining quota. If there is a remaining quota, the characteristic identifier of the associated target host is added to the authorization certificate, the number of online hosts is updated, and the target host is allowed to use the business function. If the first authorization certificate has no remaining quota, determine whether there is a second authorization certificate with a limited period and a remaining quota. If there is a qualified second authorization certificate, the characteristic identifier of the associated target host is added to the second authorization certificate, the number of online hosts is updated, and the target host is allowed to use the business function. If there is no qualified authorization certificate, it is determined that the target host exceeds the rights and interests range and is not allowed to use the business function.

[0096] In this embodiment, a scheduling device for equity information is also provided, which is used to implement the above embodiments and preferred implementation modes, and will not be repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0097] This embodiment provides a scheduling device for equity information, such as Figure 4 As shown, it is applied to a security detection client, the security detection client stores a plurality of rights and interests information, each of which is associated with at least one host, and the device includes:

[0098] An acquisition module 41 is used to acquire a rights allocation request for a target host, wherein the target host is any one of the multiple hosts;

[0099] A response module 42 is used to respond to the equity allocation request and query whether the target host is a newly added host;

[0100] A detection module 43, for detecting, when the target host is a newly added host, whether there is a remaining amount in the first authorization certificate corresponding to the target rights and interests information requested to be allocated by the newly added host;

[0101] The trigger module 44 is used to trigger the equity smoothing mechanism to determine a second authorization certificate with a remaining amount if there is no remaining amount in the first authorization certificate, allocate the target host to the second authorization certificate, and update the number of online hosts associated with the second authorization certificate.

[0102] In an optional implementation of the present application, the detection module 43 is used to obtain the number of online hosts and the limit amount associated with the first authorization certificate; determine whether the number of online hosts reaches the limit amount; if the number of online hosts reaches the limit amount, determine that there is no remaining amount in the first authorization certificate; or, if the number of online hosts does not reach the limit amount, determine that there is a remaining amount in the first authorization certificate.

[0103] In an optional embodiment of the present application, the trigger module 44 is used to traverse the authorization certificates pre-stored in the preset data table of the security detection client; detect the candidate authorization certificates in the authorization certificates that are within a limited period and have a remaining balance; if there are candidate authorization certificates that are within a limited period and have a remaining balance, sort the candidate authorization certificates in descending order according to the activation time to obtain a certificate list; select the authorization certificate that is at the first place in the certificate list as the second authorization certificate.

[0104] In an optional embodiment of the present application, the device also includes: a termination module, which is used to terminate the rights allocation process for the target host if there is no candidate authorization certificate that is within a limited period and has a remaining balance, and generate a corresponding prompt message, wherein the prompt message is used to prompt that the remaining balance cannot satisfy the rights allocation to the target host.

[0105] In an optional embodiment of the present application, the device also includes: a sending module for receiving an authorization activation code input by a user; performing a legitimacy check on the authorization activation code to obtain a verification result; if the verification result is passed, an authorization request is generated based on the authorization activation code and a feature identifier of the security detection client, and the authorization request is sent to the server.

[0106] In an optional embodiment of the present application, the device also includes: a receiving module for receiving the authorization certificate fed back by the server in response to the authorization request; verifying the authorization certificate to obtain a verification result; when the verification result is passed, the authorization certificate and the rights and interests information associated with the authorization certificate are stored in a preset data table of the security detection client.

[0107] In an optional embodiment of the present application, the device also includes: a monitoring module for monitoring the application status of the target host for the rights and interests information; if the application status is a stopped state, updating the number of online hosts associated with the currently used authorization certificate and releasing the corresponding remaining quota; or, if the application status is a continuous state, continuing to monitor the application status of the target host for the rights and interests information until the application status changes.

[0108] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system).

[0109] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0110] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0111] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of a computer device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0112] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0113] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0114] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0115] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for scheduling equity information, characterized in that: The method is applied to a security detection client, the security detection client stores a plurality of rights and interests information, each of which is associated with at least one host, and the method comprises: Obtaining a rights allocation request for a target host, wherein the target host is any one of a plurality of hosts; In response to the equity allocation request, query whether the target host is a newly added host; When the target host is a newly added host, detecting whether there is a remaining amount in the first authorization certificate corresponding to the target rights and interests information requested to be allocated by the newly added host; The detecting whether there is a remaining amount in the first authorization certificate corresponding to the target rights and interests information requested to be allocated by the newly added host includes: Obtain the number of online hosts and the limit amount associated with the first authorization certificate; Determine whether the number of online hosts reaches the limit; If the number of online hosts reaches the limit, it is determined that there is no remaining amount in the first authorization certificate; or if the number of online hosts does not reach the limit, it is determined that there is a remaining amount in the first authorization certificate; If there is no remaining amount in the first authorization certificate, the equity smoothing mechanism is triggered to determine a second authorization certificate with a remaining amount, the target host is allocated to the second authorization certificate, and the number of online hosts associated with the second authorization certificate is updated; The triggering of the equity smoothing mechanism to determine the second authorization certificate with the remaining amount includes: Traverse the authorization certificates pre-stored in the preset data table of the security detection client; Detecting candidate authorization certificates that are within a limited period and have a remaining balance among the authorization certificates; If there are candidate authorization certificates that are within a limited period and have a remaining amount, the candidate authorization certificates are sorted in descending order according to the activation time to obtain a certificate list; the authorization certificate that is at the first position in the certificate list is selected as the second authorization certificate; If there is no candidate authorization certificate with a limited period and a remaining balance, the rights allocation process for the target host is terminated and a corresponding prompt message is generated, wherein the prompt message is used to prompt that the remaining balance cannot satisfy the rights allocation for the target host.

2. The method according to claim 1, characterized in that Before obtaining the equity allocation request for the target host, the method further includes: Receive the authorization activation code entered by the user; Performing a validity check on the authorization activation code to obtain a check result; When the verification result is passed, an authorization request is generated based on the authorization activation code and the feature identifier of the security detection client, and the authorization request is sent to the server.

3. The method according to claim 2, characterized in that After sending the authorization request to the server, the method further includes: Receiving the authorization certificate fed back by the server in response to the authorization request; Verifying the authorization certificate to obtain a verification result; When the verification result is passed, the authorization certificate and the rights and interests information associated with the authorization certificate are stored in a preset data table of the security detection client.

4. The method according to claim 1, characterized in that: The method further comprises: Monitoring the application status of the target host with respect to the equity information; If the application status is stopped, the number of online hosts associated with the currently used authorization certificate is updated and the corresponding remaining quota is released; or, if the application status is continuous, the application status of the target host for the rights information continues to be monitored until the application status changes.

5. A scheduling device for equity information, characterized in that: Applied to a security detection client, the security detection client stores a plurality of rights and interests information, each of which is associated with at least one host, and the device comprises: An acquisition module, used to acquire a rights allocation request for a target host, wherein the target host is any one of a plurality of hosts; A response module, used to respond to the equity allocation request and query whether the target host is a newly added host; A detection module, used for detecting, when the target host is a newly added host, whether there is a remaining amount in the first authorization certificate corresponding to the target equity information requested to be allocated by the newly added host; A trigger module, configured to trigger a rights and interests smoothing mechanism to determine a second authorization certificate with a remaining amount if the first authorization certificate does not have a remaining amount, assign the target host to the second authorization certificate, and update the number of online hosts associated with the second authorization certificate; The detection module includes: an acquisition submodule, a judgment submodule and a determination submodule; An acquisition submodule, used to obtain the number of online hosts associated with the first authorization certificate and a limit amount; A judgment submodule, used to judge whether the number of online hosts reaches the limit; A determination submodule, configured to determine that there is no remaining amount in the first authorization certificate if the number of online hosts reaches the limit amount; or, if the number of online hosts does not reach the limit amount, determine that there is a remaining amount in the first authorization certificate; The trigger module includes: a traversal submodule, a detection submodule, a selection submodule and a prompt submodule; The traversal submodule is used to traverse the authorization certificates pre-stored in the preset data table of the security detection client; A detection submodule, used to detect candidate authorization certificates that are within a limited period and have a remaining amount among the authorization certificates; A selection submodule is used to sort the candidate authorization certificates in descending order according to activation time to obtain a certificate list if there are candidate authorization certificates that are within a limited period and have a remaining amount; and select the authorization certificate that is at the first position in the certificate list as the second authorization certificate; The prompt submodule is used to terminate the rights allocation process for the target host and generate corresponding prompt information if there is no candidate authorization certificate with a limited period and a remaining amount, wherein the prompt information is used to prompt that the remaining amount cannot satisfy the rights allocation for the target host.

6. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 4 by executing the computer instructions.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Authorization centralized management method, device and system

    CN106355052A

  • Group-type authorization unified management and distribution method and system based on floating permission

    CN114003862A