Super-computing account centralized management method and system and computing equipment
By centrally managing hypercomputer accounts in cloud servers, the problems of complexity of hypercomputer accounts and inconsistent security strategies are solved, and efficient account management and data security are achieved.
Patent Information
- Application Number
- CN202411067240.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-12-06
AI Technical Summary
The existing technology cannot effectively manage and control hypercomputer accounts distributed in multiple supercomputers, resulting in users needing to remember multiple accounts and passwords, the permission management is complex, the security strategy is inconsistent, which increases management time and cost, and data security is present. risk.
Implement centralized management of supercomputing accounts in cloud servers, obtain the accounts of each supercomputing center regularly, form an account resource pool, and use login management services and supercomputing routing services to bind cloud accounts and supercomputing accounts to generate secure links , realize unified access and permission management.
Improve the management efficiency of supercomputer accounts. Users only need to remember the cloud account to access multiple supercomputers, without remembering multiple supercomputers, realizing unified security policies and precise permission management, ensuring data security.
Smart Images

Figure CN119094166A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method for centralized management of supercomputer accounts, a centralized management system for supercomputer accounts, and computing equipment. Background Art
[0002] In the existing technology, it is impossible to centrally and standardizedly manage and control supercomputer accounts distributed in multiple supercomputers. Current users will encounter the following problems when using various supercomputers: 1) Users need to remember multiple supercomputer accounts and passwords to access multiple supercomputers; 2) The permissions of each supercomputer account may be different, which increases the difficulty of user use; 3) The administrators of each supercomputer center need to create, modify and delete accounts separately, which greatly increases the management time and manpower cost of supercomputer accounts; 4) The account authentication mechanisms of different supercomputers are not the same, which increases the difficulty of user use; 5) The security policies of various supercomputers cannot be unified, resulting in security risks for user data.
[0003] How to centrally manage and control supercomputer accounts distributed across multiple supercomputers is an urgent issue to be solved.
[0004] Therefore, a method for centralized management of supercomputer accounts is needed to solve the problems existing in the above technical solutions. Summary of the invention
[0005] To this end, the present invention provides a method for centralized management of supercomputer accounts and a system for centralized management of supercomputer accounts to solve or at least alleviate the above problems.
[0006] According to one aspect of the present invention, there is provided a method for centralized management of supercomputing accounts, which is executed in a cloud server and is used to centrally manage supercomputing accounts distributed in multiple supercomputing centers. The cloud server is respectively connected to multiple supercomputing centers and clients. A login management service is deployed in the cloud server, and the login management service is suitable for communicating with each of the supercomputing centers via a supercomputing routing service. The method comprises: obtaining supercomputing accounts from each of the supercomputing centers at regular intervals, and storing the supercomputing accounts from each of the supercomputing centers to form an account resource pool; in response to an access authorization request for a specified supercomputing center sent by the client based on a cloud account, obtaining a supercomputing account from the account resource pool; A designated supercomputing account corresponding to the designated supercomputing center, wherein the cloud account is the account of the cloud server; binding the designated supercomputing account with the cloud account, generating a corresponding security link and returning it to the client; receiving a login access request from the client to the designated supercomputing center based on the security link, wherein the login access request includes designated supercomputing center information and a designated supercomputing account; sending the login access request to the supercomputing routing service through the login management service, and forwarding the login access request to the designated supercomputing center through the supercomputing routing service based on the designated supercomputing center information, so that the client can log in to the designated supercomputing center and access it.
[0007] Optionally, in the method for centralized management of supercomputing accounts according to the present invention, each of the supercomputing centers corresponds to a supercomputing login node, and the supercomputing login node is communicatively connected to the supercomputing routing service; the login access request is forwarded to the designated supercomputing center via the supercomputing routing service based on the designated supercomputing center information, so that the client can log in to the designated supercomputing center and access it, including: forwarding the login access request to the designated supercomputing login node corresponding to the designated supercomputing center via the supercomputing routing service based on the designated supercomputing center information, so that the designated supercomputing login node verifies the designated supercomputing account based on the login access request, and logs the client in to the designated supercomputing center after the verification is passed.
[0008] Optionally, in the method for centralized management of supercomputing accounts according to the present invention, each of the supercomputing centers corresponds to an account synchronization service, and the account synchronization service is communicatively connected to the cloud server; each of the supercomputing centers is suitable for generating one or more supercomputing accounts, and an account private key file corresponding to the supercomputing account, and storing the account private key file in a predetermined path of the supercomputing center; the account synchronization service is suitable for logging in to the corresponding supercomputing center and scanning whether there is an account private key file in the predetermined path of the supercomputing center. If one or more account private key files exist, the one or more account private key files are packaged to generate an account private key package.
[0009] Optionally, in the method for centralized management of supercomputing accounts according to the present invention, supercomputing accounts are periodically obtained from each of the supercomputing centers, and the supercomputing accounts from each of the supercomputing centers are stored to form an account resource pool, including: periodically obtaining an account private key package from an account synchronization service corresponding to each of the supercomputing centers, and decompressing the account private key package to obtain one or more account private key files; encrypting the content of each of the account private key files to obtain the corresponding encrypted account private key content; and associating and storing each of the encrypted account private key contents with the corresponding supercomputing account to form an account resource pool.
[0010] Optionally, in the method for centralized management of supercomputing accounts according to the present invention, the content of each of the account private key files is encrypted to obtain the corresponding encrypted account private key content, including: using the AES encryption algorithm to encrypt the content of each of the account private key files to obtain an encryption result; converting the encryption result into a Base64 string as the encrypted account private key content corresponding to the account private key file.
[0011] Optionally, in the method for centralized management of supercomputing accounts according to the present invention, obtaining a designated supercomputing account corresponding to the designated supercomputing center from the account resource pool includes: obtaining a designated supercomputing account and encrypted account private key content corresponding to the designated supercomputing center from the account resource pool; binding the designated supercomputing account with the cloud account, generating a corresponding security link and returning it to the client, including: binding the designated supercomputing account and encrypted account private key content with the cloud account, generating a corresponding security link and returning it to the client.
[0012] Optionally, in the method for centralized management of supercomputing accounts according to the present invention, in response to an access authorization request for a designated supercomputing center sent by the client based on a cloud account, a designated supercomputing account corresponding to the designated supercomputing center is obtained from the account resource pool, including: in response to an access authorization request for a designated supercomputing center sent by the client based on a cloud account, performing multi-factor authentication on the cloud account; after the multi-factor authentication passes, obtaining the designated supercomputing account corresponding to the designated supercomputing center from the account resource pool.
[0013] Optionally, in the method for centralized management of supercomputing accounts according to the present invention, before responding to the access authorization request for the designated supercomputing center sent by the client based on the cloud account, it also includes: responding to the cloud account registration request sent by the client, returning the corresponding cloud account to the client.
[0014] According to one aspect of the present invention, there is provided a centralized management system for supercomputing accounts, comprising: a plurality of supercomputing centers; a client; and a cloud server, which is respectively connected to the plurality of supercomputing centers and the client, wherein a login management service is deployed in the cloud server, and the login management service is connected to each of the supercomputing centers via a supercomputing routing service, and the cloud server is suitable for executing the method as described above to centrally manage supercomputing accounts distributed in a plurality of supercomputing centers.
[0015] According to one aspect of the present invention, there is provided a computing device, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be suitable for execution by the at least one processor, and the program instructions include instructions for executing the method for centralized management of supercomputing accounts as described above.
[0016] According to one aspect of the present invention, a computer program product is provided, comprising a computer program / instruction, wherein the computer program / instruction implements the method as described above when executed by a processor.
[0017] According to one aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the above-mentioned method for centralized management of supercomputing accounts.
[0018] According to the technical solution of the present invention, a method for centralized management of supercomputer accounts is provided, wherein a cloud server can obtain supercomputer accounts from various supercomputer centers at regular intervals, and store the supercomputer accounts from various supercomputer centers, so as to synchronize the supercomputer accounts of various supercomputer centers to the cloud server; a client can send access authorization requests to various supercomputer centers to the cloud server based on a unified cloud account, and the cloud server can bind the corresponding supercomputer account with the cloud account used by the client, generate a corresponding security link and return it to the client, and then the client can request the cloud server to log in and access the corresponding supercomputer center based on the security link, and the cloud server can forward the client's login access request to the supercomputer center via the supercomputer routing service, so that the client can log in to the supercomputer center and access it. Based on this, it is possible to realize centralized management of supercomputer accounts distributed in multiple supercomputers, and improve the management efficiency of supercomputer accounts; client users can access multiple different supercomputers based on a unified cloud account, without having to remember the supercomputer accounts of multiple supercomputers; and each supercomputer is based on a unified management framework and security policy on the cloud, which facilitates accurate management of access rights of each supercomputer and can ensure data security.
[0019] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] To achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein can be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other purposes, features and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout the present disclosure, the same reference numerals generally refer to the same parts or elements.
[0021] Figure 1 A schematic diagram of a centralized management system 100 for supercomputer accounts provided according to an embodiment of the present invention is shown;
[0022] Figure 2 A schematic diagram of a computing device 200 provided according to an embodiment of the present invention is shown;
[0023] Figure 3 A flow chart of a method 300 for centralized management of supercomputer accounts provided according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0024] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0025] In view of the problem in the prior art that it is impossible to centrally manage and control supercomputer accounts distributed on multiple supercomputers ("supercomputer" is the abbreviation of supercomputing center), an embodiment of the present invention provides a method for centralized management of supercomputer accounts, which can achieve centralized management of supercomputer accounts distributed on multiple supercomputers and facilitate management of access rights of each supercomputer.
[0026] The method for centralized management of supercomputer accounts provided according to the embodiment of the present invention can be implemented in a centralized management system for supercomputer accounts. The centralized management system for supercomputer accounts of the present invention is described below.
[0027] Figure 1 A schematic diagram of a supercomputer account centralized management system 100 provided according to an embodiment of the present invention is shown. The supercomputer account centralized management system 100 according to the present invention can realize centralized management of supercomputer accounts distributed in multiple supercomputers.
[0028] like Figure 1 As shown, in an embodiment of the present invention, the centralized management system 100 for supercomputing accounts includes one or more clients 110, a cloud server 120, and multiple supercomputing centers 150. The cloud server 120 is respectively connected to multiple supercomputing centers 150 and one or more clients 110 in communication, for example, through a wired or wireless network connection.
[0029] In an embodiment of the present invention, the cloud server 120 can provide a centralized management server for supercomputing accounts. Specifically, the cloud server 120 can centrally manage supercomputing accounts distributed in multiple supercomputing centers 150.
[0030] It should be noted that the supercomputing account is a user identity and authentication credential used to access and use the resources of the supercomputing center 150 .
[0031] In an embodiment of the present invention, the cloud server 120 can obtain supercomputing accounts from each supercomputing center 150 at regular intervals, and store the supercomputing accounts from each supercomputing center 150 to form an account resource pool. Based on this, the supercomputing accounts of each supercomputing center 150 can be synchronized to the cloud server 120.
[0032] It should be noted that each client 110 may request to register a cloud account in advance from the registration cloud server 120. The cloud account is the account of the cloud server 120. The client 110 may request to log in to the designated supercomputing center from the cloud server 120 based on the cloud account to access the resources of the supercomputing center 150.
[0033] Specifically, the client 110 can first send an access authorization request for the designated supercomputing center to the cloud server 120 based on the cloud account. The cloud server 120 can respond to the access authorization request for the designated supercomputing center sent by the client 110 based on the cloud account, obtain the designated supercomputing account corresponding to the designated supercomputing center from the account resource pool, bind the designated supercomputing account with the cloud account of the client 110, generate a corresponding security link and return the security link to the client 110. Then, the client 110 can log in to the designated supercomputing center based on the security link to access the resources of the designated supercomputing center.
[0034] In an embodiment of the present invention, Figure 1 As shown, the supercomputing account centralized management system 100 also includes a supercomputing routing service 130. A login management service and an account synchronization service are deployed in the cloud server 120. Among them, the login management service of the cloud server 120 is connected to the supercomputing routing service 130, and the supercomputing routing service 130 can be connected to each supercomputing center 150. In other words, the login management service of the cloud server 120 can be connected to each supercomputing center 150 via the supercomputing routing service 130.
[0035] The client 110 may send a login access request to the designated supercomputing center to the cloud server 120 based on a secure link, where the login access request includes the designated supercomputing center information and the designated supercomputing account. When the cloud server 120 receives the login access request to the designated supercomputing center from the client 110 based on a secure link, it may respond to the login access request to the designated supercomputing center from the client 110 based on a secure link, and send the login access request to the supercomputing routing service 130 through the login management service. It should be noted that the login management service may obtain the designated supercomputing center information and the designated supercomputing account information from the login access request from the client 110, and send them to the supercomputing routing service 130.
[0036] Furthermore, the supercomputing routing service 130 may forward the login access request to the designated supercomputing center based on the designated supercomputing center information, so that the client 110 can log in to the designated supercomputing center to access the resources of the designated supercomputing center.
[0037] It can be seen that according to the embodiment of the present invention, the user only needs to remember the cloud account to apply to log in to different supercomputing centers, and there is no need to remember the supercomputing account of each independent supercomputing center.
[0038] In some embodiments, in order to ensure the security of the cloud account, the cloud account can be authenticated by multiple factors. Specifically, when the cloud server 120 receives the access authorization request for the designated supercomputing center sent by the client 110 based on the cloud account, it first performs multiple factors authentication on the cloud account used by the client 110. After the multiple factors authentication is passed, it will obtain the designated supercomputing account corresponding to the designated supercomputing center from the account resource pool, bind the designated supercomputing account to the cloud account of the client 110, generate a corresponding secure link and return the secure link to the client 110.
[0039] It should be noted that Multi-factor Authentication (MFA) is a security authentication process that requires the client 110 user to provide two or more different types of authentication factors to prove his or her identity, including a combination of passwords, fingerprints, SMS verification codes, smart cards, biometrics, etc., thereby improving the security and reliability of user accounts.
[0040] In some embodiments, Figure 1 As shown, each supercomputing center 150 corresponds to a supercomputing login node. Each supercomputing login node is connected to the supercomputing routing service 130. In other words, the login management service of the cloud server 120 can be connected to the supercomputing login node corresponding to each supercomputing center 150 via the supercomputing routing service 130. It should be noted that the supercomputing login node is a front-end node in the supercomputing center 150 for user login and task submission, job management, environment configuration and other operations.
[0041] In addition, each supercomputing center 150 is respectively deployed with an account management system and a login management system. The account management system is used to generate supercomputing accounts of the supercomputing center 150 and manage the supercomputing accounts of the supercomputing center 150.
[0042] Each supercomputing login node is respectively deployed with a login and authority adaptation service adapted to the corresponding supercomputing center 150 (login management system).
[0043] In this embodiment, the supercomputing routing service 130 can forward the login access request to the designated supercomputing login node corresponding to the designated supercomputing center based on the designated supercomputing center information.
[0044] Subsequently, the designated supercomputing login node may verify the designated supercomputing account based on the login access request. After the designated supercomputing account is verified, the client 110 may be logged in to the designated supercomputing center.
[0045] In some embodiments, Figure 1 As shown, each supercomputing center 150 also corresponds to an account synchronization service, and the account synchronization service is connected to the account management system of the corresponding supercomputing center 150. In addition, each account synchronization service is connected to the cloud server 120, and specifically, each account synchronization service can be connected to the account management service of the cloud server 120.
[0046] Each supercomputing center 150 (account management system) can generate one or more supercomputing accounts (i.e., supercomputing accounts used to access the supercomputing center 150), and generate account private key files corresponding to each supercomputing account, and then store each account private key file in a predetermined path of the supercomputing center 150. It should be noted that each supercomputing center 150 can generate one or more supercomputing accounts in advance, and can then generate one or more new supercomputing accounts irregularly.
[0047] The account synchronization service can log in to the corresponding supercomputing center 150 based on a specific account, and then scan whether there is an account private key file under the predetermined path of the supercomputing center 150. If there are one or more account private key files under the predetermined path of the supercomputing center 150, the account synchronization service can package the one or more account private key files to generate an account private key package.
[0048] In some embodiments, the cloud server 120 can periodically obtain the account private key package from the account synchronization service corresponding to each supercomputing center 150, and decompress the account private key package to obtain one or more account private key files. Subsequently, by encrypting the content of each account private key file, the corresponding encrypted account private key content can be obtained. Specifically, the cloud server 120 can use the AES encryption algorithm to encrypt the content of each account private key file to obtain an encrypted result, and convert the encrypted result into a Base64 string, and use the Base64 string as the encrypted account private key content corresponding to the account private key file.
[0049] Afterwards, the cloud server 120 may associate and store the private key content of each encrypted account with the corresponding supercomputing account to form an account resource pool.
[0050] In some embodiments, each account synchronization service may send the account private key package to the cloud server 120 via the SCP protocol.
[0051] According to the centralized supercomputing account management system 100 of the present invention, the cloud server can obtain supercomputing accounts from each supercomputing center at regular intervals, and store the supercomputing accounts from each supercomputing center to synchronize the supercomputing accounts of each supercomputing center to the cloud server; the client can send access authorization requests to each different supercomputing center to the cloud server based on a unified cloud account, and the cloud server can bind the corresponding supercomputing account with the cloud account used by the client, generate a corresponding security link and return it to the client, and then the client can request the cloud server to log in and access the corresponding supercomputing center based on the security link, and the cloud server can forward the client's login access request to the supercomputing center via the supercomputing routing service, so that the client can log in to the supercomputing center and access it. Based on this, it is possible to achieve centralized management of supercomputing accounts distributed in multiple supercomputing centers, and improve the management efficiency of supercomputing accounts; client users can access multiple different supercomputing centers based on a unified cloud account, without having to remember the supercomputing accounts of multiple supercomputing centers; and each supercomputing center is based on a unified management framework and security policy on the cloud, which is convenient for accurate management of access rights of each supercomputing center and can ensure data security.
[0052] In an embodiment of the present invention, the cloud server 120 in the supercomputer account centralized management system 100 is suitable for executing the supercomputer account centralized management method 300. The supercomputer account centralized management method 300 of the present invention will be described in detail below.
[0053] In one embodiment, the cloud server 120 of the present invention can be implemented as a computing device described below, so that the supercomputing account centralized management method 300 of the present invention can be executed in the computing device. In addition, the client 110 and each supercomputing center 150 can be implemented as a computing device described below.
[0054] Figure 2 FIG. 2 shows a schematic diagram of a computing device 200 provided according to an embodiment of the present invention. Figure 2 As shown, in a basic configuration, the computing device 200 includes at least one processing unit 202 and a system memory 204. According to one aspect, depending on the configuration and type of the computing device, the processing unit 202 can be implemented as a processor. The system memory 204 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories. According to one aspect, the system memory 204 includes an operating system 205.
[0055] According to one aspect, operating system 205 is suitable for controlling the operation of computing device 200, for example. Furthermore, examples are practiced in conjunction with graphics libraries, other operating systems, or any other application programs, and are not limited to any particular application or system. Figure 2 The basic configuration is shown in FIG. 2 by those components within the dashed lines. According to one aspect, the computing device 200 has additional features or functionality. For example, according to one aspect, the computing device 200 includes additional data storage devices (removable and / or non-removable), such as magnetic disks, optical disks, or tapes. Such additional storage Figure 2 2 is illustrated by a removable storage device 209 and a non-removable storage device 210.
[0056] As stated above, according to one aspect, a program module 203 is stored in the system memory 204. According to one aspect, the program module 203 may include one or more application programs, and the present invention does not limit the type of application program, for example, the application program may include: email and contact application programs, word processing application programs, spreadsheet application programs, database application programs, slide show application programs, drawing or computer-aided application programs, web browser application programs, etc.
[0057] In an embodiment according to the present invention, the program module 203 includes a plurality of program instructions for executing the method 300 for centralized management of supercomputer accounts of the present invention.
[0058] According to one aspect, the examples may be practiced on a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or a single chip containing electronic components or a microprocessor. Figure 2 Each or many components shown in can be integrated into a system on a chip (SOC) on a single integrated circuit to practice examples. According to one aspect, such a SOC device may include one or more processing units, a graphics unit, a communication unit, a system virtualization unit, and various application functions, all of which are integrated (or "burned") into a chip substrate as a single integrated circuit. When operated via SOC, the functions described in this article can be operated via a dedicated logic integrated with other components of the computing device 200 on a single integrated circuit (chip). Other technologies that can perform logical operations (such as AND, OR, and NOT) can also be used to practice embodiments of the present invention, including but not limited to mechanical, optical, fluid, and quantum technologies. In addition, embodiments of the present invention can be practiced in a general-purpose computer or in any other circuit or system.
[0059] According to one aspect, the computing device 200 may also have one or more input devices 212, such as a keyboard, a mouse, a pen, a voice input device, a touch input device, etc. Output devices 214 may also be included, such as a display, a speaker, a printer, etc. The aforementioned devices are examples and other devices may also be used. The computing device 200 may include one or more communication connections 216 that allow communication with other computing devices 218. Examples of suitable communication connections 216 include, but are not limited to: RF transmitters, receivers and / or transceiver circuits; Universal Serial Bus (USB), parallel and / or serial ports.
[0060] The term computer-readable medium as used herein includes computer storage media. Computer storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (e.g., computer-readable instructions, data structures, or program modules). System memory 204, removable storage device 209, and non-removable storage device 210 are all examples of computer storage media (i.e., memory storage). Computer storage media may include random access memory (RAM), read-only memory (ROM), electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices, or any other products that can be used to store information and can be accessed by computing device 200. According to one aspect, any such computer storage medium can be a part of computing device 200. Computer storage media does not include carrier waves or other propagated data signals.
[0061] According to one aspect, communication media is implemented by computer readable instructions, data structures, program modules, or other data in a modulated data signal (e.g., a carrier wave or other transport mechanism), and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more characteristics set or changed in a manner that encodes information in the signal. By way of example and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.
[0062] In an embodiment according to the present invention, the computing device 200 is configured to execute the supercomputer account centralized management method 300. The computing device 200 includes one or more processors and one or more readable storage media storing program instructions. When the program instructions are configured to be executed by one or more processors, the computing device executes the supercomputer account centralized management method 300 in the embodiment of the present invention, so that the computing device 200 centrally manages the supercomputer accounts distributed in multiple supercomputers by executing the supercomputer account centralized management method 300 of the present invention, and facilitates the management of the access rights of each supercomputer.
[0063] In the embodiment of the present invention, the computing device that executes the supercomputing account centralized management method 300 in the embodiment of the present invention may be a cloud server 120, that is, the supercomputing account centralized management method 300 may be executed in the cloud server 120. By executing the supercomputing account centralized management method 300, the cloud server 120 can realize centralized management of supercomputing accounts distributed in multiple supercomputing centers 150.
[0064] It should be noted that the cloud server 120 is respectively connected to multiple supercomputing centers 150 and the client 110. A login management service and an account synchronization service are deployed in the cloud server 120. Among them, the login management service is connected to the supercomputing routing service 130, and the supercomputing routing service 130 can be connected to each supercomputing center 150. In other words, the login management service of the cloud server 120 can be connected to each supercomputing center 150 via the supercomputing routing service 130.
[0065] The following is a detailed description of the supercomputing account centralized management method 300 in an embodiment of the present invention.
[0066] Figure 3 FIG. 3 is a flow chart of a method 300 for centralized management of supercomputer accounts according to an embodiment of the present invention. Figure 3 As shown, the supercomputer account centralized management method 300 includes the following steps 310-350.
[0067] Step 310: The cloud server 120 may periodically obtain supercomputing accounts from each supercomputing center 150, and store the supercomputing accounts from each supercomputing center 150 to form an account resource pool.
[0068] By executing step 310, the supercomputing accounts of each supercomputing center 150 can be synchronized to the cloud server 120. It should be noted that in the process of synchronizing the supercomputing accounts of each supercomputing center 150 to the cloud server 120, the link and the transmission data can be encrypted.
[0069] Step 320 , the cloud server 120 may obtain a designated supercomputing account corresponding to the designated supercomputing center from the account resource pool in response to the access authorization request to the designated supercomputing center sent by the client 110 based on the cloud account.
[0070] It should be noted that the cloud account is the account of the cloud server 120. In an embodiment of the present invention, the client 110 may request to register the cloud account in advance to the cloud server 120. Then, the client 110 may send an access authorization request to the cloud server 120 for a designated supercomputing center based on the cloud account. Specifically, the client 110 may log in to the cloud server 120 based on the cloud account, and then send an access authorization request to the cloud server 120 for a designated supercomputing center.
[0071] Step 330: The cloud server 120 binds the acquired designated supercomputing account to the cloud account of the client 110, generates a corresponding security link, and returns the security link to the client 110, so that the client 110 can log in to the designated supercomputing center based on the security link and access it.
[0072] In an embodiment of the present invention, the client 110 may send a login access request to a designated supercomputing center to the cloud server 120 based on a secure link.
[0073] Step 340: The cloud server 120 receives a login access request to a designated supercomputing center from the client 110 based on a secure link. Here, the login access request may include information about the designated supercomputing center and a designated supercomputing account.
[0074] Step 350: The cloud server 120 may send the login access request to the supercomputing routing service 130 through the login management service, and the supercomputing routing service 130 may forward the login access request to the designated supercomputing center based on the designated supercomputing center information, so that the client 110 may log in to the designated supercomputing center and access it. It is understood that after the client 110 successfully logs in to the designated supercomputing center, it can access the resources of the designated supercomputing center.
[0075] It should be noted that the login management service of the cloud server 120 can obtain the designated supercomputing center information and the designated supercomputing account information from the login access request from the client 110, and send the designated supercomputing center information and the designated supercomputing account information to the supercomputing routing service 130, so that the login access request can be forwarded to the designated supercomputing center via the supercomputing routing service 130 based on the designated supercomputing center information.
[0076] In some embodiments, each client 110 may request to register a cloud account in advance from the registration cloud server 120. The cloud account is the account of the cloud server 120. Furthermore, the client 110 may request to log in to the designated supercomputing center from the cloud server 120 based on the cloud account to access the resources of the supercomputing center 150.
[0077] Specifically, after the client 110 sends a cloud account registration request to the registration cloud server 120 , the cloud server 120 may return a corresponding cloud account to the client 110 in response to the cloud account registration request sent by the client 110 .
[0078] Furthermore, the client 110 may send an access authorization request to the designated supercomputing center to the cloud server 120 based on the cloud account. In response to the access authorization request to the designated supercomputing center sent by the client 110 based on the cloud account, the cloud server 120 may obtain the designated supercomputing account corresponding to the designated supercomputing center from the account resource pool, and then bind the designated supercomputing account to the cloud account of the client 110, generate a corresponding security link, and return the security link to the client 110. Furthermore, the client 110 may log in to the designated supercomputing center based on the security link and access it.
[0079] Thus, according to an embodiment of the present invention, the client user only needs to remember the cloud account to apply to log in to different supercomputing centers, without having to remember the supercomputing account of each independent supercomputing center.
[0080] In some embodiments, in order to ensure the security of the cloud account, multi-factor authentication can be performed on the cloud account. Specifically, when the cloud server 120 receives the access authorization request for the designated supercomputing center sent by the client 110 based on the cloud account, it can first perform multi-factor authentication on the cloud account used by the client 110. After the multi-factor authentication is passed, it will obtain the designated supercomputing account corresponding to the designated supercomputing center from the account resource pool, bind the designated supercomputing account to the cloud account of the client 110, generate a corresponding security link, and return the security link to the client 110.
[0081] It should be noted that Multi-factor Authentication (MFA) is a security authentication process that requires the client 110 user to provide two or more different types of authentication factors to prove his or her identity, including a combination of passwords, fingerprints, SMS verification codes, smart cards, biometrics, etc., thereby improving the security and reliability of user accounts.
[0082] In some embodiments, a login management service and an account synchronization service are deployed in the cloud server 120. The login management service of the cloud server 120 is connected to the supercomputing routing service 130 in communication.
[0083] The client 110 may send a login access request to the designated supercomputing center to the cloud server 120 based on a secure link. The cloud server 120 may respond to the login access request to the designated supercomputing center by the client 110 based on the secure link, and send the login access request to the supercomputing routing service 130 through the login management service. Here, the login access request includes the designated supercomputing center information and the designated supercomputing account. The login management service may obtain the designated supercomputing center information and the designated supercomputing account information from the login access request from the client 110, and send it to the supercomputing routing service 130.
[0084] Furthermore, the supercomputing routing service 130 may forward the login access request to the designated supercomputing center based on the designated supercomputing center information, so that the client 110 may log in to the designated supercomputing center to access the resources of the supercomputing center 150 .
[0085] In some embodiments, each supercomputing center 150 corresponds to a supercomputing login node. The supercomputing login nodes corresponding to each supercomputing center 150 are connected to the supercomputing routing service 130. In other words, the login management service of the cloud server 120 can be connected to the supercomputing login nodes corresponding to each supercomputing center 150 via the supercomputing routing service 130. It should be noted that the supercomputing login node is a front-end node in the supercomputing center 150 for user login and task submission, job management, environment configuration and other operations.
[0086] In addition, each supercomputing center 150 is respectively deployed with an account management system and a login management system. The account management system is used to generate supercomputing accounts of the supercomputing center 150 and manage the supercomputing accounts of the supercomputing center 150.
[0087] Each supercomputing login node is respectively deployed with a login and authority adaptation service adapted to the corresponding supercomputing center 150 (login management system).
[0088] In this embodiment, in step 350, the login access request can be forwarded to the designated supercomputing login node corresponding to the designated supercomputing center via the supercomputing routing service 130 based on the designated supercomputing center information. Furthermore, the designated supercomputing login node can verify the designated supercomputing account based on the login access request, and after the designated supercomputing account is verified, the client 110 can be logged in to the designated supercomputing center.
[0089] In some embodiments, each supercomputing center 150 further corresponds to an account synchronization service, and the account synchronization service is in communication connection with the account management system of the corresponding supercomputing center 150. In addition, each account synchronization service is in communication connection with the cloud server 120, and specifically, each account synchronization service can be in communication connection with the account management service of the cloud server 120.
[0090] Each supercomputing center 150 (account management system) can generate one or more supercomputing accounts (i.e., supercomputing accounts used to access the supercomputing center 150), and generate account private key files corresponding to each supercomputing account, and then store each account private key file in a predetermined path of the supercomputing center 150. It should be noted that each supercomputing center 150 can generate one or more supercomputing accounts in advance, and can then generate one or more new supercomputing accounts irregularly.
[0091] The account synchronization service can log in to the corresponding supercomputing center 150 based on a specific account, and then scan whether there is an account private key file under the predetermined path of the supercomputing center 150. If there are one or more account private key files under the predetermined path of the supercomputing center 150, the account synchronization service can package the one or more account private key files to generate an account private key package.
[0092] In some embodiments, in step 310, the cloud server 120 periodically obtains supercomputing accounts from each supercomputing center 150, and stores the supercomputing accounts from each supercomputing center 150 in the following specific manner:
[0093] First, the cloud server 120 can periodically obtain the account private key package from the account synchronization service corresponding to each supercomputing center 150, and decompress the account private key package to obtain one or more account private key files. Here, one or more account private key files can be saved in a temporary directory, and each account private key file can be named based on the corresponding supercomputing account information. For example, the file name of each account private key file can be [supercomputing account name.id].
[0094] Subsequently, the cloud server 120 can encrypt the content of each account private key file to obtain the corresponding encrypted account private key content. Specifically, the cloud server 120 can use the AES encryption algorithm to encrypt the content of each account private key file to obtain an encryption result, and convert the encryption result into a Base64 string, and use the Base64 string as the encrypted account private key content corresponding to the account private key file.
[0095] Finally, the cloud server 120 may associate and store the private key content of each encrypted account with the corresponding supercomputing account to form an account resource pool.
[0096] In this embodiment, in step 320, the cloud server 120 can obtain the designated supercomputing account and the corresponding encrypted account private key content corresponding to the designated supercomputing center from the account resource pool in response to the access authorization request for the designated supercomputing center sent by the client 110 based on the cloud account. Subsequently, in step 330, the cloud server 120 can bind the designated supercomputing account and the corresponding encrypted account private key content to the cloud account of the client 110, generate a corresponding secure link, and return the secure link to the client 110, so that the client 110 can log in to the designated supercomputing center based on the secure link and access it.
[0097] In some embodiments, each account synchronization service may send the account private key package to the cloud server 120 via the SCP protocol.
[0098] According to the method 300 for centralized management of supercomputing accounts of the present invention, the cloud server can obtain supercomputing accounts from each supercomputing center at regular intervals, and store the supercomputing accounts from each supercomputing center, so as to synchronize the supercomputing accounts of each supercomputing center to the cloud server; the client can send access authorization requests to each supercomputing center to the cloud server based on a unified cloud account, and the cloud server can bind the corresponding supercomputing account with the cloud account used by the client, generate a corresponding security link and return it to the client, and then the client can request the cloud server to log in and access the corresponding supercomputing center based on the security link, and the cloud server can forward the client's login access request to the supercomputing center via the supercomputing routing service, so that the client can log in to the supercomputing center and access it. Based on this, it is possible to realize centralized management of supercomputing accounts distributed in multiple supercomputing centers, and improve the management efficiency of supercomputing accounts; the client user can access multiple different supercomputing centers based on a unified cloud account, without having to remember the supercomputing accounts of multiple supercomputing centers; and each supercomputing center is based on a unified management framework and security policy in the cloud, which is convenient for accurate management of access rights of each supercomputing center and can ensure data security.
[0099] The various techniques described herein may be implemented in combination with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or some aspects or parts of the method and apparatus of the present invention may be in the form of program codes (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, a USB flash drive, a floppy disk, a CD-ROM, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present invention.
[0100] In the case where the program code is executed on a programmable computer, the mobile terminal generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device. The memory is configured to store the program code; the processor is configured to execute the supercomputer account centralized management method of the present invention according to the instructions in the program code stored in the memory.
[0101] By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media stores information such as computer readable instructions, data structures, program modules or other data. Communication media generally embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and include any information transfer medium. Any combination of the above is also included within the scope of readable media.
[0102] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to implement the content of the present invention described herein, and the above description of specific languages is for the purpose of disclosing the best mode of the present invention.
[0103] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0104] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof.
[0105] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.
[0106] Unless otherwise specified, the use of ordinal numbers "first", "second", "third", etc. to describe common objects merely indicates that different instances of similar objects are involved and is not intended to imply that the objects so described must have a given order in time, space, order or in any other manner.
Claims
1. A method for centralized management of supercomputing accounts, executed in a cloud server, for centralized management of supercomputing accounts distributed in multiple supercomputing centers, wherein the cloud server is respectively connected to multiple supercomputing centers and clients, wherein a login management service is deployed in the cloud server, and the login management service is suitable for communicating with each of the supercomputing centers via a supercomputing routing service. include: Obtaining supercomputing accounts from each of the supercomputing centers at regular intervals, and storing the supercomputing accounts from each of the supercomputing centers to form an account resource pool; In response to an access authorization request for a designated supercomputing center sent by the client based on a cloud account, obtaining a designated supercomputing account corresponding to the designated supercomputing center from the account resource pool, wherein the cloud account is an account of the cloud server; Binding the designated supercomputer account to the cloud account, generating a corresponding secure link and returning it to the client; Receiving a login access request from the client to the designated supercomputing center based on the secure link, wherein the login access request includes designated supercomputing center information and a designated supercomputing account; The login access request is sent to the supercomputing routing service through the login management service, and the login access request is forwarded to the designated supercomputing center based on the designated supercomputing center information through the supercomputing routing service, so that the client can log in to the designated supercomputing center and access it.
2. The method according to claim 1, in, Each of the supercomputing centers corresponds to a supercomputing login node, and the supercomputing login node is connected to the supercomputing routing service for communication; Forwarding the login access request to the designated supercomputing center via the supercomputing routing service based on the designated supercomputing center information so that the client can log in to the designated supercomputing center and access it, including: The supercomputing routing service forwards the login access request to the designated supercomputing login node corresponding to the designated supercomputing center based on the designated supercomputing center information, so that the designated supercomputing login node verifies the designated supercomputing account based on the login access request, and logs the client into the designated supercomputing center after the verification is passed.
3. The method according to claim 1 or 2, in, Each of the supercomputing centers corresponds to an account synchronization service, and the account synchronization service is in communication connection with the cloud server; Each of the supercomputing centers is adapted to generate one or more supercomputing accounts and account private key files corresponding to the supercomputing accounts, and store the account private key files in a predetermined path of the supercomputing center; The account synchronization service is suitable for logging into the corresponding supercomputing center and scanning whether there is an account private key file under a predetermined path of the supercomputing center. If there are one or more account private key files, the one or more account private key files are packaged to generate an account private key package.
4. The method according to claim 3, in, Obtaining supercomputing accounts from each of the supercomputing centers at regular intervals, and storing the supercomputing accounts from each of the supercomputing centers to form an account resource pool, including: Obtaining an account private key package from the account synchronization service corresponding to each of the supercomputing centers at regular intervals, and decompressing the account private key package to obtain one or more account private key files; Encrypt the contents of each of the account private key files to obtain the corresponding encrypted account private key contents; The private key content of each encrypted account is associated with the corresponding supercomputing account and stored to form an account resource pool.
5. The method according to claim 4, in, Encrypt the contents of each of the account private key files to obtain the corresponding encrypted account private key contents, including: Using the AES encryption algorithm, encrypt the content of each account private key file to obtain an encryption result; The encryption result is converted into a Base64 string as the encrypted account private key content corresponding to the account private key file.
6. The method according to claim 4, in, Acquiring a designated supercomputing account corresponding to the designated supercomputing center from the account resource pool includes: Acquire the designated supercomputing account and the encrypted account private key content corresponding to the designated supercomputing center from the account resource pool; Binding the designated supercomputer account to the cloud account, generating a corresponding secure link and returning it to the client, including: The designated supercomputing account and the encrypted account private key content are bound to the cloud account, and a corresponding secure link is generated and returned to the client.
7. The method according to any one of claims 1 to 6, in, In response to an access authorization request for a designated supercomputing center sent by the client based on a cloud account, obtaining a designated supercomputing account corresponding to the designated supercomputing center from the account resource pool, including: In response to an access authorization request for a designated supercomputing center sent by the client based on a cloud account, performing multi-factor authentication on the cloud account; After the multi-factor authentication is passed, obtaining a designated supercomputing account corresponding to the designated supercomputing center from the account resource pool; Before responding to the access authorization request to the designated supercomputing center sent by the client based on the cloud account, the method further includes: In response to the cloud account registration request sent by the client, a corresponding cloud account is returned to the client.
8. A centralized management system for supercomputer accounts. include: multiple supercomputing centers; Client side; A cloud server is respectively connected to multiple supercomputing centers and the client, wherein a login management service is deployed in the cloud server, and the login management service is connected to each of the supercomputing centers via a supercomputing routing service. The cloud server is suitable for executing the method described in any one of claims 1 to 7 to centrally manage supercomputing accounts distributed in multiple supercomputing centers.
9. A computing device, include: at least one processor; and A memory storing program instructions, wherein the program instructions are configured to be processed by the at least one processor, and the program instructions include instructions for processing the method according to any one of claims 1 to 7.
10. A computer program product comprising a computer program / instructions, in, When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
