An authentication method for intranet clustered distributed operating system

By using management nodes to match certificate templates and account information in the intranet environment and generating keys, the authentication problem of clustered distributed operating systems in the intranet is solved, and flexible authentication and authorization in the virtualized environment is realized. Meets the enterprise's requirements for data security.

CN118410466BActive Publication Date: 2024-11-08北京长擎量子技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410486343.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2024-11-08
Estimated Expiration
2044-04-22

AI Technical Summary

Technical Problem

The existing technology is difficult to achieve flexible authentication of clustered distributed operating systems in intranet environments, especially in virtualized scenarios and large-scale creation and deletion of work nodes. The traditional authentication method is not applicable, and enterprises need to isolate on the public network. ensure data security in an environment.

Method used

Provide an authentication method for intranet clustered distributed operating systems, obtaining certificate templates, account information and usage specification information through management nodes, analyzing and matching authentication requests, generating and sending keys, ensuring the authentication and authorization of the operating system, and applicable It is certified in a virtualized environment and is not connected to the public network.

Benefits of technology

It realizes flexible authentication and authorization of the operating system in the intranet environment, and is suitable for the creation and deletion of large-scale work nodes, ensuring the security of the operating system and data isolation, and meeting the enterprise's needs for data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118410466B_ABST
    Figure CN118410466B_ABST
Patent Text Reader

Abstract

The present invention discloses an authentication method for an intranet clustered distributed operating system, which belongs to the field of computer technology. The authentication method includes: obtaining a certificate template, account information and usage specification information for authenticating a working node, and saving them; responding to an authentication request issued by an operating system installed on a working node in an intranet environment, parsing the authentication request; matching the account information obtained by parsing the authentication request with the saved account information; searching for all saved certificate information based on the installation environment information obtained by parsing the authentication request; judging whether the total number of currently authenticated operating systems exceeds the authentication quota based on the saved usage specification information and certificate information; sorting the saved certificate information, and performing a connectivity test on the operating system corresponding to the certificate information according to the sorting result to determine whether the operating system is alive. The present invention can complete operating system authentication in an intranet environment and protect the authenticity and integrity of the operating system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an authentication method for an intranet clustered distributed operating system. Background Art

[0002] With the rapid development of information technology, network security has received more and more attention. In addition to the authenticity of upper-layer software, the authenticity and integrity of the operating system are also very important. The operating system is the foundation of upper-layer software and is crucial to protecting the security of software and data. Certificate authentication of the operating system provides an effective solution to protect the authenticity and integrity of the operating system.

[0003] At present, there are roughly three types of technical authentication methods: the first is the traditional authentication method based on hardware devices, such as using the MAC address of the network card as the unique identifier of the host. However, in the virtual scenario of infrastructure virtualization (Iaas), the network card device may be virtually generated by the virtual engine. When a virtual node is created, the device ID of the corresponding virtual device will change, and the information such as the MAC address of the network card can be modified. This scenario is not applicable. The second is an authentication method based on software information as a unique identifier, that is, the time of installation plus user information is used as the identification basis for encryption authorization. However, it is not applicable when users need to create and delete working nodes for data processing in large quantities and frequently reinstall the system environment. The third is the method of authentication and authorization through networking. At this time, the host with the operating system installed needs to be connected to the server, and the link verification will be triggered regularly every time it is connected to the network. However, in enterprises with security requirements for business systems, their business environment needs to be isolated from the public network and cannot access the external network privately, so this scenario is not applicable.

[0004] Therefore, an authentication method for an intranet clustered distributed operating system is needed. Summary of the invention

[0005] The present invention provides an authentication method for an intranet clustered distributed operating system, which can solve the problem that related technologies are difficult to achieve flexible authentication of clustered distributed operating systems in an intranet environment. The technical solution is as follows:

[0006] On the one hand, an authentication method for an intranet clustered distributed operating system is provided, which is applied to a management node in an intranet environment, and the authentication method includes:

[0007] Obtain and save the certificate template, account information and usage specification information used to authenticate the working node; wherein the usage specification information includes the authentication quota and usage authority requirements corresponding to the account information;

[0008] In response to an authentication request issued by an operating system installed on a working node in an intranet environment, parsing the authentication request; wherein the authentication request includes installation environment information and account information of the operating system stored in encrypted form;

[0009] Matching the account information obtained by parsing the authentication request with the saved account information, if the match is successful, continuing the authentication, otherwise terminating the authentication and sending an account information error prompt to the operating system that issued the authentication request;

[0010] Based on the installation environment information obtained by parsing the authentication request, all the saved certificate information is searched, and if the installation environment information included in the certificate information is the same as the installation environment information obtained by parsing the authentication request, the corresponding certificate information is encrypted, a key is obtained and sent to the operating system that issued the authentication request, otherwise the authentication is continued;

[0011] Based on the saved usage specification information and certificate information, determine whether the total number of currently authenticated operating systems exceeds the authentication quota, if yes, continue to perform authentication, otherwise based on the certificate template, usage permission requirements, installation environment information obtained by parsing the authentication request, and authentication time, generate and save the corresponding certificate information, encrypt the corresponding certificate information, obtain the key and send it to the operating system that issued the authentication request;

[0012] The saved certificate information is sorted according to the authentication time, usage permission requirements and preset priority rules, and according to the sorting result, the connectivity test is performed on the operating system corresponding to the certificate information to determine whether the operating system is alive. If it is, the corresponding certificate information is skipped; otherwise, the corresponding certificate information is deleted, and then based on the certificate template, usage permission requirements, and the installation environment information and authentication time obtained by parsing the authentication request, the corresponding certificate information is generated and saved, and the corresponding certificate information is encrypted to obtain the key and send it to the operating system that issued the authentication request; if the operating systems corresponding to all the certificate information are alive, an excess prompt is sent to the operating system that issued the authentication request.

[0013] Optionally, the authentication method further includes:

[0014] The method of sorting the stored certificate information according to the authentication time, the usage permission requirements and the preset priority rules, and performing a connectivity test on the operating system corresponding to the certificate information according to the sorting result to determine whether the operating system is alive, includes:

[0015] The saved certificate information is sorted according to the authentication time, usage permission requirements and preset priority rules, and access instructions are sent to the operating system corresponding to each certificate information according to the sorting results. If information returned by the operating system is received, the operating system is judged to be alive, otherwise the operating system is judged to be no longer alive.

[0016] Optionally, the account information includes a user ID; and the installation environment information includes a device ID of a working node.

[0017] On the other hand, an authentication method for an intranet clustered distributed operating system is provided, which is applied to a working node in an intranet environment, wherein the working node is installed with an operating system, and the operating system stores account information, and the authentication method comprises:

[0018] Run the operating system and obtain the installation environment information of the operating system;

[0019] In response to an input user instruction, an authentication request is sent to a management node in an intranet environment through the operating system; wherein the authentication request includes installation environment information and account information of the operating system stored in encrypted form;

[0020] In response to the key sent by the management node, the received key is parsed to generate a final certificate to complete the authentication of the operating system.

[0021] Optionally, the working node is implemented based on a physical device or a virtual device of infrastructure virtualization.

[0022] Optionally, the key includes account information;

[0023] The step of parsing the received key includes:

[0024] Parse the account information in the key and verify it; if the account information obtained by parsing the key does not match the saved account information, stop generating the certificate and prompt an account information error.

[0025] On the other hand, an authentication method for an intranet clustered distributed operating system is provided, which is applied to an intranet system consisting of a management node and multiple working nodes, the working nodes are installed with an operating system, and the operating system stores account information, and the authentication method includes:

[0026] Using the management node to obtain and save the certificate template, account information and usage specification information used to authenticate the working node; wherein the usage specification information includes the authentication quota and usage authority requirements corresponding to the account information;

[0027] Use the working node to run the operating system and obtain the installation environment information of the operating system;

[0028] The working node responds to the input user instruction and sends an authentication request to the management node in the intranet environment through the operating system; wherein the authentication request includes the installation environment information and account information of the operating system stored in encrypted form;

[0029] The management node responds to the authentication request issued by the operating system installed on the working node in the intranet environment and parses the authentication request;

[0030] The management node matches the account information obtained by parsing the authentication request with the saved account information. If the match is successful, the authentication is continued; otherwise, the authentication is terminated and an account information error prompt is sent to the operating system that issued the authentication request.

[0031] The management node searches for all saved certificate information based on the installation environment information obtained by parsing the authentication request, and if the installation environment information included in the certificate information is the same as the installation environment information obtained by parsing the authentication request, encrypts the corresponding certificate information, obtains a key and sends it to the operating system that issued the authentication request, otherwise continues to perform authentication;

[0032] The management node determines whether the total number of currently authenticated operating systems exceeds the authentication quota based on the saved usage specification information and certificate information. If yes, the authentication is continued. Otherwise, based on the certificate template, usage permission requirements, installation environment information obtained by parsing the authentication request, and authentication time, the management node generates and saves the corresponding certificate information, encrypts the corresponding certificate information, obtains the key, and sends it to the operating system that issued the authentication request.

[0033] The management node sorts the saved certificate information according to the authentication time, usage permission requirements and preset priority rules, and performs a connectivity test on the operating system corresponding to the certificate information according to the sorting result to determine whether the operating system is alive. If so, the corresponding certificate information is skipped. Otherwise, after deleting the corresponding certificate information, the corresponding certificate information is generated and saved based on the certificate template, usage permission requirements, installation environment information obtained by parsing the authentication request and authentication time, and then the corresponding certificate information is encrypted to obtain the key and send it to the operating system that issued the authentication request; if the operating systems corresponding to all the certificate information are alive, an excess prompt is sent to the operating system that issued the authentication request;

[0034] The working node responds to the key sent by the management node, parses the received key, generates the final certificate, and completes the authentication of the operating system.

[0035] On the other hand, a computer device is provided, which includes a memory and a processor, the memory is used to store computer programs, and the processor is used to execute the computer programs stored in the memory to implement the steps of the above-mentioned authentication method for the intranet clustered distributed operating system.

[0036] On the other hand, a computer-readable storage medium is provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned authentication method for an intranet clustered distributed operating system are implemented.

[0037] On the other hand, a computer program product is provided, including a computer program, which implements the steps of the above-mentioned authentication method for an intranet clustered distributed operating system when executed by a processor.

[0038] The technical solution provided by the present invention can at least bring the following beneficial effects:

[0039] The present invention provides an authentication method for an intranet clustered distributed operating system, so that users can dynamically transfer authentication quotas in the form of certificates among working nodes, ensuring that users always have the purchased number of working nodes available; the present invention performs authentication based on installation environment information and account information, ensuring the security of the operating system while being suitable for authentication scenarios in which large quantities of clustered working nodes are repeatedly created and deleted, and can meet the needs of users for temporary large-scale scheduling of working nodes; and the present invention can perform authentication in a private network domain without being connected to the public network at all, meeting the current scenario requirements of enterprises for data security. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] Figure 1 It is a flow chart of an authentication method for an intranet clustered distributed operating system provided by an embodiment of the present invention;

[0042] Figure 2 It is a flow chart of another authentication method for an intranet clustered distributed operating system provided by an embodiment of the present invention;

[0043] Figure 3 is a flowchart of purchasing, publishing and using a computer program product provided by an embodiment of the present invention;

[0044] Figure 4 The present invention is a flowchart of a user use process of a computer program product provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions 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, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0046] As mentioned above, certificate authentication for the operating system provides an effective solution for protecting the authenticity and integrity of the operating system.

[0047] At present, there are roughly three types of technical authentication methods: the first is the traditional authentication method based on hardware devices, such as using the MAC address of the network card as the unique identifier of the host. However, in the virtual scenario of infrastructure virtualization (Iaas), the network card device may be virtually generated by the virtual engine. When a virtual node is created, the device ID of the corresponding virtual device will change, and the information such as the MAC address of the network card can be modified. This scenario is not applicable. The second is an authentication method based on software information as a unique identifier, that is, the time of installation plus user information is used as the identification basis for encryption authorization. However, it is not applicable when users need to create and delete working nodes for data processing in large quantities and frequently reinstall the system environment. The third is the method of authentication and authorization through networking. At this time, the host with the operating system installed needs to be connected to the server, and the link verification will be triggered regularly every time it is connected to the network. However, in enterprises with security requirements for business systems, their business environment needs to be isolated from the public network and cannot access the external network privately, so this scenario is not applicable.

[0048] Current business users often have higher requirements:

[0049] For example, the same business system requires temporary large-scale scheduling of work nodes (or computing nodes) to cope with data peaks at special times. This requires creating many operating system nodes or pre-prepared business system environment snapshots in a short period of time to achieve this.

[0050] For example, users need to store different types of business data in different local area networks to isolate core data, and the system environment that carries the core data naturally cannot be accessed from the external network.

[0051] Alternatively, based on the need for disaster recovery mechanisms, users may deploy different physical locations to form a private cloud environment to virtualize a data processing node, including virtual networks and computing devices to host business systems.

[0052] This places higher demands on the encryption and authentication methods of the operating system.

[0053] In view of this, considering that after a customer purchases a batch of operating system licenses, he may need to repeatedly create and delete working nodes in large quantities in an intranet environment (i.e., the customer's private network environment, not directly connected to a public network such as the Internet). In order to ensure that the customer always has the purchased number of working nodes available, the present invention provides an authentication method for an intranet clustered distributed operating system to facilitate customer use and ensure the authenticity and integrity of the operating system. A clustered distributed operating system refers to a batch of working nodes with the operating system installed in the intranet environment, and the working nodes may be deployed in different physical locations.

[0054] The specific implementation of the above concept is described below.

[0055] Please refer to Figure 1 An authentication method for an intranet clustered distributed operating system provided by an embodiment of the present invention is applied to a management node in an intranet environment. The authentication method includes:

[0056] Step 100, obtaining and saving the certificate template, account information and usage specification information for authenticating the working node; wherein the usage specification information includes the authentication quota and usage authority requirements corresponding to the account information;

[0057] Step 102, in response to an authentication request issued by an operating system installed on a working node in an intranet environment, parsing the authentication request; wherein the authentication request includes installation environment information and account information of the operating system stored in encrypted form;

[0058] Step 104, matching the account information obtained by parsing the authentication request with the saved account information, if the match is successful, then continuing the authentication, otherwise ending the authentication and sending an account information error prompt to the operating system that issued the authentication request;

[0059] Step 106, based on the installation environment information obtained by parsing the authentication request, search all the saved certificate information, if the installation environment information included in the certificate information is the same as the installation environment information obtained by parsing the authentication request, encrypt the corresponding certificate information, obtain the key and send it to the operating system that issued the authentication request, otherwise continue to perform the authentication;

[0060] Step 108, based on the saved usage specification information and certificate information, determine whether the total number of currently authenticated operating systems exceeds the authentication quota, if yes, continue to perform authentication, otherwise based on the certificate template, usage permission requirements, installation environment information obtained by parsing the authentication request, and authentication time, after generating and saving the corresponding certificate information, encrypt the corresponding certificate information, obtain the key and send it to the operating system that issued the authentication request;

[0061] Step 110, sorts the saved certificate information according to the authentication time, usage permission requirements and preset priority rules, and performs a connectivity test on the operating system corresponding to the certificate information according to the sorting result to determine whether the operating system is alive. If so, skip the corresponding certificate information; otherwise, delete the corresponding certificate information, and then generate and save the corresponding certificate information based on the certificate template, usage permission requirements, installation environment information obtained by parsing the authentication request, and authentication time, encrypt the corresponding certificate information, obtain the key and send it to the operating system that issued the authentication request; if the operating systems corresponding to all the certificate information are alive, send an excess prompt to the operating system that issued the authentication request.

[0062] In order to release the invalid working nodes in time and guarantee the rights and interests of users, the present invention sorts according to a characteristic string in the certificate information, and according to the sorting result, sequentially tests whether the corresponding operating system is alive. The characteristic string is determined according to the authentication time and the use permission requirements. The use permission requirements include the user's activation level and activation time. The activation level indicates the user's application type and permission information, and the activation time indicates whether the user's activation is permanent activation or an extended trial period. The priority rule can be set according to actual needs, for example, it may include: the certificate information with an activation time of permanent activation is ranked lower than others.

[0063] In an embodiment of the present invention, an authentication method for an intranet clustered distributed operating system is provided, which is applied to a management node in an intranet environment. The management node (such as an authentication server) can be implemented based on a physical device or a virtual device of infrastructure virtualization. The management node responds to the authentication request issued by the operating system installed by the working node to perform authentication (also called activating or authorizing the operating system). An unactivated operating system can usually only perform the most basic operations and has relatively small permissions. After activation, it can obtain more permissions, that is, open functions purchased by customers. In the authentication method provided by the present invention, the management node only performs authentication after the operating system issues a request, and there is no need to actively contact each working node, which effectively saves power consumption and the traffic required for interaction. Encrypted information is transmitted between the management node and the working node to improve security, and the authentication request includes encrypted fields such as environment and account information, and the request and the information required for authentication can be completed in one communication.

[0064] The authentication of the management node includes: first, verifying the account information about the customer's identity. If the account information does not match the information stored in the management node, the authentication is terminated, that is, the authentication fails. Secondly, verifying the installation environment information of the operating system to determine whether the key has been sent to the corresponding working node. If it has been sent, the existing certificate information can be called to send it directly. Then verify whether the operating system activated by the current customer exceeds the purchased certification quota. If it does not exceed, new certificate information can be directly generated. If it exceeds, it is necessary to verify whether the activated operating system still exists. For operating systems that do not exist, the relevant certificate information can be deleted to release the certification quota, and then a new working node can be activated. The present invention combines installation environment information (i.e., hardware information) and account information (also known as user information) for authentication. For authenticated working nodes, there is no need to generate new certificate information, thereby reducing the amount of calculation. When the number of authenticated working nodes does not exceed the authentication quota purchased by the customer, the existence of each working node is not verified, and the certificate information is directly newly generated to quickly respond to the request of the working node. When the number of authenticated working nodes reaches the authentication quota purchased by the customer, the existence of each working node is verified in the order of authentication time to release the authentication quota, thereby ensuring that the customer always has the purchased number of working nodes to use. The present invention does not rely on the Internet environment for authentication, is safe, reliable, and has a fast processing speed. In particular, for cloud environment operating systems, each working node can also be distinguished. Even if a large number of working nodes are repeatedly created and deleted, the activated operating system can still be always within the number of authorized licenses, and the excess portion will only be a stand-alone and basic function version, which is conducive to ensuring the rights and interests of customers and the interests of manufacturers.

[0065] Optionally, for step 110, the stored certificate information is sorted according to the authentication time, the usage permission requirement and the preset priority rule, and according to the sorting result, a connectivity test is performed on the operating system corresponding to the certificate information to determine whether the operating system is alive, including:

[0066] The saved certificate information is sorted according to the authentication time, usage permission requirements and preset priority rules, and access instructions are sent to the operating system corresponding to each certificate information according to the sorting results. If information returned by the operating system is received, the operating system is judged to be alive, otherwise the operating system is judged to be no longer alive.

[0067] By adopting the above embodiment, the management node can determine whether the corresponding working node is alive by sending an access instruction to the operating system of the working node. In other embodiments, other methods can also be used to perform connectivity testing.

[0068] Optionally, to achieve targeted authentication, the account information includes a user ID; and the installation environment information includes a device ID of a working node.

[0069] The account information and the installation environment information are used for identity verification and certificate duplication checking, respectively. The user ID and the device ID can reflect the information required for identity verification and certificate duplication checking. In other embodiments, the account information and / or the installation environment information may also include other data, for example, the account information may use an account identifier.

[0070] When enterprise users use virtualized computing clusters, that is, multiple working nodes, they often install a "template host" first. The "template host" can be a snapshot or a "template" mode launched by the virtual engine manufacturer itself, so as to skip the installation stage and quickly copy and deploy. When the virtual environment is copied, if it is a containerized environment, the virtual network address will be automatically changed according to the arrangement of the container engine. At this time, the "hardware information" inherited in the container is still the same as the host machine, that is, the device ID has not changed. At this time, the certificate is not triggered during normal use, and the use of the original operating system is not affected. However, when the software needs to be maintained or the operating system patch and subsequent integrated services and other enterprise services need to be updated, the certificate verification will be triggered. At this time, the certificate repository that saves the certificate information will record the authenticated certificate information and trigger the comparison of the activation quantity. When the number of all the activated certificates stored does not reach the maximum number of licensed activations, a new authentication certificate will be regenerated and distributed to the newly authenticated host. When the management node generates a new certificate, the management node will increment backward according to the number of activated certificates and add the time information of the local authentication to ensure that the certificate obtained by the working node is still unique when it is deployed in a cluster. The present invention adopts the method of adding device ID and user information to apply for a certificate from a management node, which can be applicable to a virtual environment and can ensure the uniqueness of the certificate.

[0071] like Figure 2 As shown, the present invention also provides an authentication method for an intranet clustered distributed operating system, which is applied to a working node in an intranet environment, the working node is installed with an operating system, and the operating system stores account information. The authentication method includes:

[0072] Step 200, running the operating system and obtaining the installation environment information of the operating system;

[0073] Step 202, in response to the input user instruction, sending an authentication request to the management node in the intranet environment through the operating system; wherein the authentication request includes the installation environment information and account information of the operating system stored in encrypted form;

[0074] Step 206, in response to the key sent by the management node, the received key is parsed to generate a final certificate to complete the authentication of the operating system.

[0075] The above embodiment provides an authentication method for an intranet clustered distributed operating system, which is applied to a working node in an intranet environment. Optionally, the working node is implemented based on a physical device or a virtual device of infrastructure virtualization. Account information includes a user ID; installation environment information includes a device ID of the working node. For virtual devices, corresponding installation environment information can also be provided. The authentication method is based on sending an authentication request once and receiving a key once to complete the authentication, which is simple and does not require traffic and computing space.

[0076] Further, the key includes account information; with respect to step 206, parsing the received key includes:

[0077] Parse the account information in the key and verify it; if the account information obtained by parsing the key does not match the saved account information, stop generating the certificate and prompt an account information error.

[0078] Taking into account that the authentication method provided by the present invention does not verify the identities of the management node and the working node, when the working node broadcasts an authorization application, the management node will ensure security and reliability through an interactive method of generating a certificate, attempting to send, the working node receiving and sending feedback, and the management node confirming the feedback.

[0079] The present invention also provides an authentication method for an intranet clustered distributed operating system, which is applied to an intranet system consisting of a management node and multiple working nodes, the working nodes are installed with an operating system, and the operating system stores account information. The authentication method includes:

[0080] Step 300, using the management node to obtain and save the certificate template, account information and usage specification information used to authenticate the working node; wherein the usage specification information includes the authentication quota and usage authority requirements corresponding to the account information;

[0081] Step 302: Use the working node to run the operating system and obtain the installation environment information of the operating system;

[0082] Step 304: the working node responds to the input user instruction and sends an authentication request to the management node in the intranet environment through the operating system; wherein the authentication request includes the installation environment information and account information of the operating system stored in encrypted form;

[0083] Step 306, the management node responds to the authentication request sent by the operating system installed on the working node in the intranet environment and parses the authentication request;

[0084] Step 308, the management node matches the account information obtained by parsing the authentication request with the saved account information. If the match is successful, the authentication is continued; otherwise, the authentication is terminated and an account information error prompt is sent to the operating system that issued the authentication request;

[0085] Step 310: the management node searches for all saved certificate information based on the installation environment information obtained by parsing the authentication request. If the installation environment information included in the certificate information is the same as the installation environment information obtained by parsing the authentication request, the management node encrypts the corresponding certificate information, obtains a key and sends it to the operating system that issued the authentication request. Otherwise, the authentication is continued.

[0086] Step 312: The management node determines whether the total number of currently authenticated operating systems exceeds the authentication quota based on the saved usage specification information and certificate information. If yes, authentication is continued. Otherwise, based on the certificate template, usage permission requirements, installation environment information obtained by parsing the authentication request, and authentication time, the management node generates and saves the corresponding certificate information, encrypts the corresponding certificate information, obtains the key, and sends it to the operating system that issued the authentication request.

[0087] Step 314, the management node sorts the saved certificate information according to the authentication time, the usage permission requirements and the preset priority rules, and performs a connectivity test on the operating system corresponding to the certificate information according to the sorting result to determine whether the operating system is alive. If yes, the corresponding certificate information is skipped. Otherwise, after deleting the corresponding certificate information, the corresponding certificate information is generated and saved based on the certificate template, the usage permission requirements, the installation environment information obtained by parsing the authentication request and the authentication time, and then the corresponding certificate information is encrypted to obtain the key and send it to the operating system that issued the authentication request; if the operating systems corresponding to all the certificate information are alive, an overage prompt is sent to the operating system that issued the authentication request;

[0088] Step 316, the working node responds to the key sent by the management node, parses the received key, generates a final certificate, and completes the authentication of the operating system.

[0089] The above-mentioned embodiment discloses an authentication method applied to an intranet system composed of a management node and multiple working nodes, which can quickly and securely implement authentication within a private network domain, protect the authenticity and integrity of the operating system, and meet the current data security scenario requirements of enterprises.

[0090] An embodiment of the present invention also provides a computer device, which includes a processor and a memory, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the authentication method for the intranet clustered distributed operating system provided by the above-mentioned method embodiments.

[0091] An embodiment of the present invention also provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the authentication method for the intranet clustered distributed operating system provided in the above-mentioned method embodiments.

[0092] An embodiment of the present invention also provides a computer program product, which includes a computer program. A processor of a computer device reads the computer program from a computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the authentication method for an intranet clustered distributed operating system described in any of the above embodiments.

[0093] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0094] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0095] like Figure 3 and Figure 4As shown, the present invention provides a flowchart of the purchase, release and use of a computer program product and a flowchart of the user's use process. The user purchases an enterprise-level image file for installing the operating system from the manufacturer of the operating system, that is, the system publisher. The system publisher finds the corresponding iso standard image from the standard warehouse, encapsulates the account information and usage specification information as the purchase information into the published image, and publishes the image verification file so that the user can verify the integrity of the image. At the same time, the system publisher also generates distributed verification software and distributed verification software verification files corresponding to the image. The distributed verification software is used for the management node in the intranet environment to implement the authentication method for the intranet clustered distributed operating system provided by the present invention. The distributed verification software verification file is used by the user to verify the integrity of the distributed verification software. The distributed verification software and the image include corresponding account information for authentication, otherwise there will be a problem of account information error. After receiving the file, the user installs the distributed verification software on the management node and keeps it turned on, and installs the operating system on the working node and keeps it turned on. Normally, users can directly use the image to install the operating system in an environment and set up working nodes, whether it is a virtualized hardware platform or an actual physical host. During the installation process, if a network connection is established with the distributed authentication software, the installation process will directly enter the activation authorization stage to determine whether to activate. If not activated or installed offline, the operating system only provides the function of minimized mode, that is, the permissions are minimized and only basic functions are available. When using the system's enterprise-level services, authentication is required, and then the encrypted fields including the installation environment, account and other information are sent to the management node, that is, an authentication request is sent. After receiving the authentication request, the management node parses the account field and matches it. For the working node activated for the first time, the installation environment information included in the certificate information in the certificate library is the same as the installation environment information obtained by parsing the authentication request. The management node queries whether the authenticated operating system corresponding to the account meets the quantity limit, that is, the total number of currently authenticated operating systems does not exceed the authentication quota. The authentication software environment information, time, etc. can be directly added to generate the final certificate. If the quantity limit is not met, it means that the authentication quota is full, then the authenticated certificate is found, the connectivity test is performed, and whether it survives, the corresponding certificate of the insured operating system is deleted, the authentication quota is released, and the final certificate is generated again so that the operating system completes the authentication. Furthermore, the operating system can save the certificate template or snapshot. During the use of the certificate, if it is found that the certificate is invalid, such as the activation time expires, it needs to be activated again, that is, the authentication request is sent to the management node again, and the management node will return the renewed original certificate, that is, the installation environment information and the first authentication time in the key will not be changed.Compared with the solution that only relies on hardware information and time as clues or the solution that does not rely on hardware information and is only associated through software features, the present invention chooses whether to add the judgment criteria of hardware information (i.e., installation environment information) according to different situations, and retains the basic functions of the normal use system when the authentication is not outdated, which is conducive to the implementation of the solution in the actual production environment.

[0096] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0097] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. An authentication method for an intranet clustered distributed operating system, characterized in that: Applied to a management node in an intranet environment, the authentication method includes: Obtain and save the certificate template, account information, and usage specification information used to authenticate the working node; wherein the usage specification information includes the authentication quota and usage permission requirements corresponding to the account information; Responding to an authentication request issued by an operating system installed on a working node in an intranet environment, parsing the authentication request; wherein the authentication request includes operating system installation environment information and account information stored in encrypted form; Matching the account information obtained by parsing the authentication request with the stored account information; if a match is successful, continuing the authentication; otherwise, terminating the authentication and sending an account information error prompt to the operating system that issued the authentication request; Based on the installation environment information obtained by parsing the authentication request, searching all stored certificate information; if the installation environment information included in any certificate information is the same as the installation environment information obtained by parsing the authentication request, encrypting the corresponding certificate information, obtaining a key, and sending it to the operating system that issued the authentication request; otherwise, continuing the authentication; Based on the saved usage specification information and certificate information, determine whether the total number of currently authenticated operating systems exceeds the authentication quota. If so, continue authentication. Otherwise, based on the certificate template, usage permission requirements, installation environment information obtained by parsing the authentication request, and authentication time, generate and save corresponding certificate information, encrypt the corresponding certificate information, obtain a key, and send it to the operating system that issued the authentication request. The saved certificate information is sorted according to the authentication time, usage permission requirements and preset priority rules, and according to the sorting results, the operating system corresponding to the certificate information is tested for connectivity to determine whether the operating system is alive. If it is, the corresponding certificate information is skipped; otherwise, the corresponding certificate information is deleted, and then based on the certificate template, usage permission requirements, the installation environment information obtained by parsing the authentication request and the authentication time, the corresponding certificate information is generated and saved, and the corresponding certificate information is encrypted to obtain the key and send it to the operating system that issued the authentication request; if the operating systems corresponding to all certificate information are alive, an excess prompt is sent to the operating system that issued the authentication request.

2. The authentication method according to claim 1, wherein: Also includes: The stored certificate information is sorted according to the authentication time, usage permission requirements and preset priority rules, and a connectivity test is performed on the operating system corresponding to the certificate information according to the sorting result to determine whether the operating system is alive, including: The saved certificate information is sorted according to the authentication time, usage permission requirements and preset priority rules, and access instructions are sent to the operating system corresponding to each certificate information according to the sorting results. If information returned by the operating system is received, the operating system is judged to be alive, otherwise the operating system is judged to be no longer alive.

3. The authentication method according to claim 1, wherein: Account information includes user ID; installation environment information includes the device ID of the working node.

4. An authentication method for an intranet clustered distributed operating system, characterized in that: Applied to an intranet system consisting of a management node and multiple working nodes, where the working nodes are installed with an operating system that stores account information, the authentication method includes: Using the management node to obtain and save the certificate template, account information, and usage specification information used to authenticate the working node; wherein the usage specification information includes the authentication quota and usage permission requirements corresponding to the account information; Use the working node to run the operating system and obtain the operating system installation environment information; The working node responds to the input user instruction and sends an authentication request to the management node in the intranet environment through the operating system; wherein the authentication request includes the operating system installation environment information and account information stored in encrypted form; The management node responds to the authentication request issued by the operating system installed on the working node in the intranet environment and parses the authentication request; The management node matches the account information obtained by parsing the authentication request with the stored account information. If a match is successful, the authentication is continued; otherwise, the authentication is terminated and an account information error prompt is sent to the operating system that issued the authentication request. The management node searches for all stored certificate information based on the installation environment information obtained by parsing the authentication request. If the installation environment information included in any certificate information is the same as the installation environment information obtained by parsing the authentication request, the management node encrypts the corresponding certificate information, obtains a key, and sends the key to the operating system that issued the authentication request. Otherwise, the authentication continues. The management node determines whether the total number of currently authenticated operating systems exceeds the authentication quota based on the stored usage specification information and certificate information. If so, authentication continues. Otherwise, based on the certificate template, usage permission requirements, installation environment information obtained by parsing the authentication request, and authentication time, the management node generates and saves the corresponding certificate information, encrypts the corresponding certificate information, obtains a key, and sends it to the operating system that issued the authentication request. The management node sorts the saved certificate information according to the authentication time, usage permission requirements and preset priority rules, and performs a connectivity test on the operating system corresponding to the certificate information according to the sorting result to determine whether the operating system is alive. If so, the corresponding certificate information is skipped. Otherwise, after deleting the corresponding certificate information, the management node generates and saves the corresponding certificate information based on the certificate template, usage permission requirements, installation environment information obtained by parsing the authentication request and authentication time, encrypts the corresponding certificate information, obtains a key and sends it to the operating system that issued the authentication request; if the operating systems corresponding to all the certificate information are alive, an overage prompt is sent to the operating system that issued the authentication request; The working node responds to the key sent by the management node, parses the received key, generates the final certificate, and completes the authentication of the operating system.

5. A computer device, characterized in that: The computer device includes a memory and a processor, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to implement the steps of the authentication method described in any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that The storage medium stores a computer program, which, when executed by a processor, implements the steps of the authentication method according to any one of claims 1 to 3.

7. A computer program product, characterized in that The invention comprises a computer program, which implements the steps of the authentication method according to any one of claims 1 to 3 when executed by a processor.