WO2024198734A1 - 访问管理的方法和系统 - Google Patents
访问管理的方法和系统 Download PDFInfo
- Publication number
- WO2024198734A1 WO2024198734A1 PCT/CN2024/075967 CN2024075967W WO2024198734A1 WO 2024198734 A1 WO2024198734 A1 WO 2024198734A1 CN 2024075967 W CN2024075967 W CN 2024075967W WO 2024198734 A1 WO2024198734 A1 WO 2024198734A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- maintenance channel
- client
- access command
- access
- instance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/085—Retrieval of network configuration; Tracking network configuration history
- H04L41/0853—Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/28—Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/102—Entity profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1029—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0895—Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/06—Generation of reports
- H04L43/065—Generation of reports related to network devices
Definitions
- the embodiments of the present application relate to the field of cloud computing, and more specifically, to a method and system for access management.
- cloud service providers need to manage more and more cloud service resources, and the access security of cloud service resources is becoming more and more important. Therefore, many cloud service providers choose to deploy bastion hosts as a system for operation and maintenance security access audit to centrally manage user access requests to servers.
- the existing bastion host system needs to record the user's login status and the session control established between the user and the server, which is called a stateful service. Since the bastion host nodes are all stateful, if you need to replace a node or add a new node, you need to reconfigure the state of the bastion host node. This process takes a certain amount of time, resulting in the bastion host system being unable to quickly recover from disasters or expand capacity. Therefore, how to enable the operation and maintenance channel management cluster to quickly replace nodes without disconnecting the connection has become a technical problem that needs to be solved urgently.
- the embodiments of the present application provide a method and system for access management, which can record status information on a client located on a server.
- the operation and maintenance channel instance distributes access commands to the client, making the operation and maintenance channel instance stateless, thereby being able to switch the operation and maintenance channel instance without interrupting the service.
- a method for access management is provided, the method being applied to an access management system, the system comprising an operation and maintenance channel management cluster and a client, the client running on a target server, the operation and maintenance channel management cluster comprising multiple operation and maintenance channel instances, each operation and maintenance channel instance being used to interact with the client, each operation and maintenance channel instance being composed of at least one computing instance, the at least one computing instance comprising at least one of a physical host, a virtual machine, and a container, the method comprising: the operation and maintenance channel management cluster obtaining a user's access command to the target server; the operation and maintenance channel management cluster sending the access command to the client; the client executing the access command according to session status information, the session status information being the user's access information to the target server recorded by the client.
- the operation and maintenance channel management cluster directly communicates with the client and distributes access commands to the client, so that the tasks of recording status information and managing sessions are completed by the client.
- the operation and maintenance channel instance is stateless, so that while isolating the direct interaction between users and servers through the operation and maintenance channel management cluster and ensuring the security of server access, the operation and maintenance channel instance can be switched without interrupting the service, thereby solving the problem of rapid expansion and contraction of the operation and maintenance channel management cluster.
- the operation and maintenance channel management cluster also includes a load balancing component
- the multiple operation and maintenance channel instances include a first operation and maintenance channel instance and a second operation and maintenance channel instance
- sending an access command to the client includes: the load balancing component sends the access command to the first operation and maintenance channel instance; the first operation and maintenance channel instance sends the access command to the client.
- the operation and maintenance channel management cluster can manage the nodes responsible for distributing access commands, so that the operation and maintenance channel management cluster can autonomously regulate the working conditions of the nodes when necessary.
- sending an access command to a client also includes: the first operation and maintenance channel instance reports exception information to the load balancing component, the exception information being used to indicate that the first operation and maintenance channel instance has failed to send an access command to the client; the load balancing component sends the access command to the second operation and maintenance channel instance; and the second operation and maintenance channel instance sends the access command to the client.
- the forwarding task is reallocated to other nodes in the operation and maintenance channel management cluster, so as to achieve node switching without interrupting access, thereby improving the rapid disaster recovery or load balancing capabilities of the operation and maintenance channel management cluster and improving the availability of the operation and maintenance channel management cluster service.
- the first operation and maintenance channel instance and the second operation and maintenance channel instance are deployed in different areas.
- the nodes of the operation and maintenance channel management cluster can be deployed across regions, so that the nodes responsible for forwarding before and after the switch are located in different physical areas, reducing the possibility of simultaneous abnormalities, thereby achieving disaster recovery in different locations and further improving the availability of the operation and maintenance channel management cluster service.
- sending an access command to a client also includes: the first operation and maintenance channel instance reports exception information to the load balancing component, the exception information being used to indicate that the first operation and maintenance channel instance has failed to send an access command to the client; the load balancing component establishes a third operation and maintenance channel instance; the load balancing component sends the access command to the third operation and maintenance channel instance; and the third operation and maintenance channel instance sends an access command to the client.
- sending the access command to the client includes: the operation and maintenance channel management cluster sends the access command to the client according to the transmission control protocol.
- the operation and maintenance channel instance and the client communicate directly through the transmission control protocol (TCP) of the transport layer, thereby avoiding the use of secure shell protocol (SSH) as a remote connection tool.
- TCP transmission control protocol
- SSH secure shell protocol
- the server does not need to open the high-risk port 22 for the SSH service, thereby improving the security of the server.
- the access command includes a session identifier
- the session status information includes a correspondence between the session identifier and a subprocess in the operating system of the target server
- the access command is executed based on the session status information, including: determining the subprocess corresponding to the session identifier based on the session identifier and the session status information of the access command; and calling the subprocess to execute the access command.
- an identification value is assigned to each user's session through the client, and the session is managed based on the identification value carried in the user instruction, and the corresponding subprocess in the server operating system is called to execute the command, so that the client can manage the sessions of different users separately, thereby improving the efficiency of access management.
- the method before obtaining the user's access command to the target server, the method also includes: the operation and maintenance channel management cluster obtains the user's login command; the operation and maintenance channel management cluster sends the login command to the authentication service, and the authentication service is used to authenticate the user's identity; the operation and maintenance channel management cluster receives authentication information from the authentication service; the operation and maintenance channel management cluster determines the user's login status based on the authentication information.
- the operation and maintenance channel management cluster provides identity authentication for users by interacting with external services, so that the user's login status does not need to be recorded in the nodes of the operation and maintenance channel management cluster. Therefore, after the user logs in, the user does not need to log in again when the node providing the service is changed. On the basis of ensuring the security of user access, the user experience is improved.
- the method before sending the access command to the client, the method also includes: the operation and maintenance channel management cluster obtains access rights from the external storage service; and the operation and maintenance channel management cluster determines that the access command satisfies the access rights.
- the operation and maintenance channel management cluster obtains the user's access rights to the server from the external storage service, so that any node in the operation and maintenance channel management cluster can manage the user's access rights without pre-configuration, thereby improving the security of access management.
- the method further includes: the client sends the execution result of the access command to the operation and maintenance channel management cluster; and the operation and maintenance channel management cluster sends the execution result to the user.
- the access results are displayed to the user through the operation and maintenance channel management cluster, so that the operation and maintenance channel management cluster can monitor the entire process of user access to the server, facilitate the monitoring and auditing of user behavior, and improve the security of access management.
- an access management system which includes an operation and maintenance channel management cluster and a client, the client runs on a target server, the operation and maintenance channel management cluster includes multiple operation and maintenance channel instances, each operation and maintenance channel instance is used to interact with the client, each operation and maintenance channel instance is composed of at least one computing instance, and the at least one computing instance includes at least one of a physical host, a virtual machine, and a container.
- the operation and maintenance channel management cluster includes: a command acquisition module, used to obtain a user's access command to the target server; a command distribution module, used to send the access command to the client; the client is used to: execute the access command according to the session status information, the session status information is the user's access information to the target server recorded by the client.
- the operation and maintenance channel management cluster also includes a load balancing component, the multiple operation and maintenance channel instances include a first operation and maintenance channel instance and a second operation and maintenance channel instance, and a command distribution module, which is used for: the load balancing component sends the access command to the first operation and maintenance channel instance; the first operation and maintenance channel instance sends the access command to the client.
- the command distribution module is further used to: the first operation and maintenance channel instance reports abnormal information to the load balancing component, where the abnormal information is used to indicate that the first operation and maintenance channel instance fails to send an access command to the client; the load balancing component The component sends the access command to the second operation and maintenance channel instance; the second operation and maintenance channel instance sends the access command to the client.
- the first operation and maintenance channel instance and the second operation and maintenance channel instance are deployed in different areas.
- the command distribution module is also used for: the first operation and maintenance channel instance reports exception information to the load balancing component, the exception information is used to indicate that the first operation and maintenance channel instance failed to send an access command to the client; the load balancing component establishes a third operation and maintenance channel instance; the load balancing component sends the access command to the third operation and maintenance channel instance; the third operation and maintenance channel instance sends the access command to the client.
- the command distribution module is used to: send an access command to the client according to the transmission control protocol.
- the access command includes a session identifier
- the session status information includes a correspondence between the session identifier and a subprocess in the operating system of the target server
- the client is used to: determine the subprocess corresponding to the session identifier based on the session identifier and session status information of the access command; and call the subprocess to execute the access command.
- the operation and maintenance channel management cluster also includes a login authentication module, which, before obtaining the user's access command to the target server, is used to: obtain the user's login command; send the login command to the authentication service, which is used to authenticate the user's identity; receive authentication information from the authentication service; and determine the user's login status based on the authentication information.
- a login authentication module which, before obtaining the user's access command to the target server, is used to: obtain the user's login command; send the login command to the authentication service, which is used to authenticate the user's identity; receive authentication information from the authentication service; and determine the user's login status based on the authentication information.
- the operation and maintenance channel management cluster also includes a permission management module, which is used to: obtain access rights from an external storage service; and determine whether the access command satisfies the access rights before sending the access command to the client.
- a permission management module which is used to: obtain access rights from an external storage service; and determine whether the access command satisfies the access rights before sending the access command to the client.
- the client is also used to: send the execution result of the access command to the operation and maintenance channel management cluster; the operation and maintenance channel management cluster also includes a result display module for sending the execution result to the user.
- a computing device comprising a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call and execute the instructions from the memory, so that the computing device executes the method in the first aspect or any possible implementation of the first aspect.
- a computing device cluster comprising at least one computing device, each computing device comprising a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call and execute the instructions from the memory, so that the computing device cluster executes the method in the first aspect or any possible implementation of the first aspect.
- the processor may be a general-purpose processor, which may be implemented by hardware or software.
- the processor may be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor may be a general-purpose processor, which is implemented by reading software codes stored in a memory, which may be integrated in the processor or may be located outside the processor and exist independently.
- a chip which obtains instructions and executes the instructions to implement the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
- the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface to execute the method in the above-mentioned first aspect or any possible implementation of the first aspect.
- the chip may also include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory.
- the processor is used to execute the method in the above-mentioned first aspect or any possible implementation method of the first aspect.
- a computer program product comprising instructions is provided.
- the computing device cluster executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
- a computer-readable storage medium comprising computer program instructions.
- the computing device cluster executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
- these computer-readable storage media include, but are not limited to, one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM), and hard drive.
- ROM read-only memory
- PROM programmable ROM
- EPROM erasable PROM
- Flash memory electrically EPROM (EEPROM)
- hard drive electrically EPROM
- the above-mentioned storage medium may specifically be a non-volatile storage medium.
- FIG1 is a schematic diagram of a bastion host system.
- FIG. 2 is a schematic diagram of a system architecture for access management provided in an embodiment of the present application.
- FIG3 is a schematic flowchart of an access management method provided in an embodiment of the present application.
- FIG4 is a schematic flowchart of a scheduling and operation and maintenance channel example provided in an embodiment of the present application.
- FIG. 5 is a schematic flowchart of another access management method provided in an embodiment of the present application.
- FIG. 6 is a schematic structural block diagram of an access management system provided in an embodiment of the present application.
- FIG. 7 is a schematic flowchart of an operation and maintenance channel management cluster in an access management system provided in an embodiment of the present application.
- FIG8 is a schematic structural block diagram of a computing device provided in an embodiment of the present application.
- FIG. 9 is a schematic structural block diagram of a computing device cluster provided in an embodiment of the present application.
- FIG. 10 is a schematic structural block diagram of another computing device cluster provided in an embodiment of the present application.
- the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application.
- a person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
- references to "one embodiment” or “some embodiments” etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application.
- the phrases “in one embodiment”, “in some embodiments”, “in some other embodiments”, “in some other embodiments”, etc. appearing in different places in this specification do not necessarily all refer to the same embodiment, but mean “one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
- the terms “including”, “comprising”, “having” and their variations all mean “including but not limited to”, unless otherwise specifically emphasized in other ways.
- At least one means one or more
- plural means two or more.
- “And/or” describes the association relationship of associated objects, indicating that three relationships may exist.
- a and/or B can mean: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural.
- the character “/” generally indicates that the previous and next associated objects are in an “or” relationship.
- “At least one of the following” or similar expressions refers to any combination of these items, including any combination of single or plural items.
- At least one of a, b, or c can mean: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple.
- Operation and maintenance channel management cluster also called the operation and maintenance security audit system, it is responsible for the centralized management of user access to cloud service resources.
- the operation and maintenance channel management cluster is responsible for receiving access commands entered by users and distributing the access commands to the servers where the cloud service resources are located, so that the system status, security events and network activities of each component in the network environment can be collected and monitored in real time, protecting the network and data from intrusion and damage from external or internal users, and facilitating centralized alarm, timely processing and auditing.
- the operation and maintenance channel management cluster is also called a bastion host or a cloud bastion host.
- Session control A session refers to a connection established when a terminal user communicates with an interactive system.
- the session control object is used to store the attributes and configuration information required for a specific user to access a specific service. In this way, when a user jumps between services, the variables stored in the session control object will not be lost, but will continue to exist throughout the user session.
- the server When a user requests access to a specific service, if the user does not have a session yet, the server will automatically create a session control object. For sessions that have established session control objects, the new access instructions sent by the user need to be executed based on the session state information stored in the session control object.
- the session state information is the user's access information to the server. As an example, the session state information may include user identity, user preferences, access commands that the user has executed for the service, etc. When the session expires or is abandoned, the server will terminate the session.
- cloud service providers need to manage more and more cloud service resources.
- the number of users increases. If the server providing cloud service resources directly manages user access, each server will need to store and process a large amount of user information and access records, which is not conducive to centralized management of access rights, resulting in a large waste of computing resources and low access efficiency.
- the importance of cloud service resources is increasing, so access security is becoming more and more important. If users are allowed to directly access the server, the server address will be exposed, there will be security risks, and it will be difficult to investigate and audit when attacked.
- FIG 1 shows an existing bastion host system.
- the bastion host system includes multiple bastion hosts, a user interface (portal), and a load balancing (nginx) component.
- the bastion host is used to provide functions such as authentication, authorization, authentication, command auditing, behavior recording and playback.
- the user interface is used to provide a front-end operation interface for users to log in to the bastion host and access cloud service resources.
- the access command entered by the user through the user interface is forwarded to a bastion host through the load balancing component, and the bastion host sends the access command to the server where the target cloud service resource is located through the secure shell protocol (SSH).
- SSH secure shell protocol
- the bastion host since the bastion host needs to record the user's login status and the session control (session) established between the user and the server, it is called stateful. Since the bastion host nodes are all stateful, if you need to replace the node or add a new node, you need to reconfigure the state information of the bastion host node. As an example, if the bastion host cluster has N nodes, after the current single bastion host node fails, 1/N of the user's ongoing sessions may be disconnected, and the operation and maintenance personnel need to re-authenticate and establish a new connection. The whole process takes at least several minutes to recover. The stateful feature of the bastion host makes it impossible for the bastion host system to quickly recover from disasters or expand capacity. Therefore, how to enable the operation and maintenance channel management cluster to quickly replace nodes without disconnecting has become a technical problem that needs to be solved urgently.
- an embodiment of the present application provides an access management method, which is applied to an access management system, the system comprising an operation and maintenance channel management cluster and a client running on a server.
- the operation and maintenance channel instance By recording state information on the client located on the server, the operation and maintenance channel instance distributes access commands to the client, making the operation and maintenance channel instance stateless, so that the operation and maintenance channel instance can be switched without interrupting the service.
- FIG2 shows a schematic diagram of the system architecture of access management provided by the present application.
- the system includes an operation and maintenance channel management cluster 110 and a client 120 running on a server 20 .
- the client 120 is used to establish and manage the user's session control object. Specifically, the client 120 stores session state information. When the client 120 receives an access command, it interacts with the operating system (OS) of the server 20 according to the session state information in the session control object, thereby executing the user's access command and returning the execution result of the access command to the user.
- OS operating system
- the operation and maintenance channel management cluster 110 is used to distribute the access commands input by the user, and can also display the execution results returned by the client 120 after executing the access command to the customer.
- the operation and maintenance channel management cluster 110 is composed of multiple operation and maintenance channel instances 111, and each operation and maintenance channel instance 111 can be composed of one or more computing instances, wherein the computing instance can include at least one of a physical host (computing device), a virtual machine, and a container.
- different operation and maintenance channel instances 111 can be distributed in different regions (regions), or in the same region, that is, each region can include multiple operation and maintenance channel instances, wherein different regions correspond to different physical areas.
- the operation and maintenance channel management cluster 110 can also include a load balancing (nginx) component 112, which is used to forward the user's operation and maintenance request to access the operation and maintenance channel management cluster to a specific operation and maintenance channel instance 111.
- nginx load balancing
- the operation and maintenance channel management cluster 110 can transmit commands with the client 120 through the transmission control protocol (TCP).
- TCP transmission control protocol
- the operation and maintenance channel management cluster uses the secure shell protocol (SSH) as a remote connection tool with the server.
- SSH secure shell protocol
- the use of the SSH service requires opening port 22 of the server. This port has many vulnerabilities. Attackers can detect it for remote access and launch security attacks, thereby causing security risks to the server.
- the components within the system can communicate directly through the TCP protocol of the transport layer, which can avoid the use of the SSH service, thereby improving the security of the server.
- the system may further include a front-end component user interface 130.
- the user interface 130 provides an access interface (such as an interface or an application program interface (API)).
- the user can remotely access the access interface through an operation interface such as a web page or an application, register a cloud account and password in the user interface 130, and log in to the operation and maintenance channel management cluster 110.
- an operation interface such as a web page or an application
- register a cloud account and password in the user interface 130 register a cloud account and password in the user interface 130
- log in to the operation and maintenance channel management cluster 110 After the operation and maintenance channel management cluster 110 successfully authenticates the cloud account and password, the user can further send an access command to the operation and maintenance channel management cluster 110 through the user interface 30, and the user interface 130 can also display the execution result returned by the operation and maintenance channel management cluster 110 to the user through the operation interface.
- the operation and maintenance channel management cluster 110 can communicate with the user interface 130 via the WebSocket protocol.
- the operation and maintenance channel management cluster 110 and the user interface 130 only need to complete a handshake once, and a persistent connection can be directly created between the two, and two-way data transmission can be performed, so that the operation and maintenance channel management cluster 110 can receive user input in real time and return execution results.
- the operation and maintenance channel management cluster 110 can also exchange information with external services 30, and provide additional functions for the operation and maintenance channel management cluster 110 through other cloud services.
- the external services 30 may include but are not limited to authentication services, audit management services, storage services, etc.
- the authentication service may be a unified identity authentication service (identity and access management, IAM), which provides identity authentication for users who request to log in to the operation and maintenance channel management cluster 110.
- the audit management service may be a cloud audit service (cloud trace service, CTS), which records the access commands forwarded by the operation and maintenance channel management cluster 110 and the execution results, so as to facilitate the user's future query, audit and backtracking.
- CTS cloud trace service
- the storage service may be a relational database service (relational database service, RDS), which may store the user's access rights to the server or the cloud service in the server, so that the operation and maintenance channel management cluster 110 can obtain the access rights and perform permission management on the access commands sent by the user.
- RDS relational database service
- FIG3 shows a schematic flow chart of a method for access management provided in an embodiment of the present application.
- the method of FIG3 can be executed by an access management system, such as the system shown in FIG2 above.
- the system for executing the method for access management provided in an embodiment of the present application includes an operation and maintenance channel management cluster and a client running on a server.
- the method includes the following steps.
- S310 The operation and maintenance channel management cluster obtains the user's access command to the target server.
- the operation and maintenance channel management cluster can obtain the user's access command to the target server.
- the user can select the cloud service resource to be accessed on the user interface and enter a specific access operation.
- the user interface generates the user's access command to the target server and sends the access command to the operation and maintenance channel management cluster.
- the operation and maintenance channel management cluster can obtain the access command from the user interface through the WebSocket protocol.
- S320 The operation and maintenance channel management cluster sends the access command to the client.
- the operation and maintenance channel management cluster can send the user's access command to the target server to the client.
- the operation and maintenance channel management cluster can be responsible for the access management of multiple servers, and each server is deployed with a client responsible for executing the access command of the corresponding server.
- the access command indicates the target server, so the operation and maintenance channel management cluster can send the access command to the client on the target server.
- the operation and maintenance channel management cluster can send access commands to the client on the target server based on TCP.
- TCP Transmission Control Protocol
- S330 The client executes the access command according to the session status information.
- the client on the target server can execute the access command.
- the client can create a session object for the session established between the user and the target server, and the session object stores the session state information recorded by the client, so the client can execute the access command according to the session state information.
- the user may issue multiple continuous and interrelated access commands.
- the above access commands may include a first access command, a second access command, and a third access command, wherein the first access command and the second access command are issued and executed before the third access command, and the third access command needs to be executed based on the content and execution results of the first access command and the second access command.
- the client receives the third access command, the session state information of the current session stored in the client may include the content and execution results of the first access command and the second access command, so the client can correctly execute the third access command; if the above session state information is lost, the third access command cannot be executed correctly.
- the client can manage multiple sessions at the same time, and the client can call different sub-processes to execute according to different sessions corresponding to different access commands.
- the client can establish session objects according to the access of different users to different cloud services on the target server. After the session object is established, a unique session identifier will be assigned to each session object.
- the access command may include the session identifier, so the client can determine the session corresponding to the access command according to the session identifier carried in the access command.
- the session status information may include the correspondence between the session identifier and the sub-process in the target server OS, where different sub-processes can be used to perform access operations on different cloud services.
- the client can further determine the sub-process used to execute the access command.
- the client can call the corresponding sub-process in the server OS to execute the command according to the session identifier and session status information in the access command, so that the client can manage the sessions of different users separately, thereby improving the efficiency of access management.
- the client can also display the access result to the user through the operation and maintenance channel management cluster.
- the client can send the execution result to the operation and maintenance channel management cluster, and the operation and maintenance sends the execution result to the user.
- the operation and maintenance channel management cluster can send the execution result to the user interface, so that the user interface generates a visual interface for displaying the execution result to the user. This enables the operation and maintenance channel management cluster to monitor the entire process of the user accessing the server, facilitates the monitoring and auditing of user behavior, and improves the security of access management.
- a client is set on the server as an entrance to access the server, and the operation and maintenance channel manages the cluster. Communicate directly with the client and distribute access commands to the client, so that the session status information can be recorded on the client instead of the operation and maintenance channel management cluster. Therefore, the nodes in the operation and maintenance channel management cluster are stateless. When switching nodes, the new node can work directly without configuring the session status information, which can avoid the interruption of the established session due to the loss of session status information, so as to switch the operation and maintenance channel instance without interrupting the service, and solve the problem of rapid expansion and contraction of the operation and maintenance channel management cluster.
- the operation and maintenance channel management cluster can set multiple nodes so that the operation and maintenance channel management cluster can manage the nodes responsible for distributing access commands. Since the nodes in the operation and maintenance channel management cluster are stateless, the operation and maintenance channel management cluster can autonomously regulate the working conditions of the nodes when necessary.
- the operation and maintenance channel management cluster may include a load balancing component and at least one operation and maintenance channel instance. The load balancing component is used to forward the obtained access command to a currently working operation and maintenance channel instance, and the operation and maintenance channel instance is used to send the access command to the client.
- FIG4 shows a schematic flow chart of a scheduling operation and maintenance channel instance provided by an embodiment of the present application.
- the establishment of a session between the user and the server is regarded as the beginning of the process, and the disconnection of the session established between the user and the service is regarded as the end.
- the load balancing component forwards the access command to the currently working operation and maintenance channel instance, and the operation and maintenance channel instance sends the access command to the client.
- the operation and maintenance channel management cluster may include a first operation and maintenance channel instance, and the load balancing component may forward the obtained first access command to the first operation and maintenance channel instance.
- the first operation and maintenance channel instance sends the first access command to the client. If the first operation and maintenance channel instance successfully sends the first access command, the client can receive the first access command and execute it.
- the specific process of the client executing the first access command may include obtaining the corresponding subprocess in the server OS according to the session identifier carried in the first access command, calling the subprocess to execute the first access command and returning the execution result. If the session has not ended after the execution of the first access command, the operation and maintenance channel management cluster can continue to obtain access commands and repeat the above steps.
- the operation channel instance can report the exception to the load balancing component, and the load balancing component forwards the access command to another currently working operation channel instance.
- Example 1 In addition to the first operation and maintenance channel instance, the operation and maintenance channel management cluster may also include a second operation and maintenance channel instance.
- the load balancing component forwards the acquired second access command to the first operation and maintenance channel instance, but the first operation and maintenance channel instance fails to successfully send the second access command to the client after receiving the second access command. For example, because the first operation and maintenance channel instance currently has a large number of access commands of other sessions being sent, the load of the first operation and maintenance channel instance is too high, and the second access command wait times out; for another example, because the first operation and maintenance channel instance fails after receiving the second access command, the first operation and maintenance channel instance loses the ability to work normally. In the above case, the first operation and maintenance channel instance can report the abnormal information to the load balancing component.
- the load balancing component After the load balancing component receives the abnormal information sent by the first operation and maintenance channel instance, the load balancing component can forward the second access command to the second operation and maintenance channel instance, and the second operation and maintenance channel instance sends the second access command to the client. After the second operation and maintenance channel instance successfully sends the second access command to the client, the client can receive and execute the second access command.
- the operation and maintenance channel instance currently responsible for forwarding access commands becomes abnormal due to load balancing or disaster recovery, for example, the current node fails to send the command to the client, and the forwarding task is reallocated to other nodes in the operation and maintenance channel management cluster, thereby achieving node switching without interrupting access, thereby improving the rapid disaster recovery or load balancing capabilities of the operation and maintenance channel management cluster and improving the availability of the operation and maintenance channel management cluster services.
- the first operation and maintenance channel instance and the second operation and maintenance channel instance can be deployed in different regions. Since the switching node does not need to reconfigure the session state information, there is no need for information exchange between the operation and maintenance channel instance nodes, and there is no need to limit the physical region where the operation and maintenance channel instance is located, so that the cross-region deployment of the operation and maintenance channel instance is realized.
- the nodes responsible for forwarding before and after the switch are located in different physical regions, reducing the possibility of abnormalities occurring at different nodes at the same time, thereby realizing disaster recovery in different locations and further improving the availability of the operation and maintenance channel management cluster service.
- the operation and maintenance channel management cluster can also deploy new operation and maintenance channel instances.
- the load balancing component forwards the obtained third access command to the first operation and maintenance channel instance.
- the load balancing component can establish a third operation and maintenance channel instance and forward the third access command to the third operation and maintenance channel instance, which will send the third access command to the client.
- the load balancing component can request one or more computing instances that were originally not included in the operation and maintenance channel management cluster to include the one or more computing instances in the scope of the operation and maintenance channel management cluster, thereby using them as the third operation and maintenance channel instance.
- example 2 is only an example of the situation where the operation and maintenance channel management cluster currently has no working operation and maintenance channel instance, which illustrates that the operation and maintenance channel management cluster has the ability to expand the number of operation and maintenance channel instances, and does not limit the operation and maintenance channel instances to be added only in this situation.
- a user can purchase a larger-scale operation and maintenance channel management cluster service through the user interface, and at this time the user interface can also issue instructions to instruct the operation and maintenance channel management cluster to establish a new operation and maintenance channel instance.
- the operation and maintenance channel management cluster can deploy a new operation and maintenance channel instance and reallocate the forwarding task to the new operation and maintenance channel instance, thereby realizing the expansion of the operation and maintenance channel management cluster without interrupting access, thereby improving the rapid expansion capability of the operation and maintenance channel management cluster and improving the availability of the operation and maintenance channel management cluster service.
- the operation and maintenance channel management cluster can also provide the ability to rapidly shrink.
- the first operation and maintenance channel instance can report its currently unsuccessfully sent access commands to the load balancing component, and the load balancing component will redistribute these access commands to other operation and maintenance channel instances, thereby deleting the first operation and maintenance channel instance from the operation and maintenance channel management cluster.
- the switching of the operation and maintenance channel instance responsible for forwarding access commands will not affect the session state information recorded in the client. Therefore, the switching of the operation and maintenance channel instance in all the above examples will not cause the user to disconnect the established session with the server, and the switched node can be used directly without configuration, making the time required for switching controllable and fast, so that the above switching process can be completed without the user's perception.
- FIG5 shows a schematic flow chart of an access management method provided in an embodiment of the present application.
- the method includes the following steps.
- the operation and maintenance channel management cluster can obtain the user's login command before establishing a session between the user and the target server.
- the login command is used to confirm the identity of the user who currently requests login and subsequently issues access commands.
- the user can log in by entering a registered cloud account and password in the user interface, and the user interface can generate a login command based on the user's input and send it to the operation and maintenance channel management cluster.
- S520 The operation and maintenance channel management cluster sends a login command to the authentication service.
- the operation and maintenance channel management cluster can send the login command to the authentication service, so that the authentication service authenticates the identity of the user according to the login command.
- the authentication service includes but is not limited to an IAM service.
- the operation and maintenance channel management cluster receives authentication information from the authentication and authorization service.
- the authentication service can confirm the user identity according to the login command sent by the operation and maintenance channel management cluster, thereby generating authentication information and sending it to the operation and maintenance channel management cluster, so that the operation and maintenance channel management cluster can receive the authentication information.
- S540 The operation and maintenance channel management cluster determines the user's login status according to the authentication information.
- the operation and maintenance channel management cluster can determine the user's login status based on the authentication information.
- the authentication information can be authentication success information, such as the cloud account and password entered by the user are registered and matched, and the user of the cloud account has the right to access at least part of the cloud services managed by the operation and maintenance channel management cluster, then the authentication service generates and sends authentication success information, and the operation and maintenance channel management cluster can determine that the user has successfully logged in based on the authentication success information, and can continue to perform subsequent access steps.
- the authentication information can also be authentication failure information, such as the cloud account entered by the user is not registered, or the cloud account and password do not match, or the cloud account has no right to access any cloud service managed by the operation and maintenance channel management cluster, etc., then the authentication service generates and sends authentication failure information, and the operation and maintenance channel management cluster can determine that the user has not successfully logged in based on the authentication failure information.
- the operation and maintenance channel management cluster can inform the user of the login failure through the user interface and request the user to log in again. If the user fails to log in again correctly, he or she will not have the right to access later.
- any operation and maintenance channel instance in the operation and maintenance channel management cluster can receive the authentication information from the authentication service when needed. Therefore, the user's login status does not need to be recorded in the node of the operation and maintenance channel management cluster, so that the identity authentication service does not depend on a specific operation and maintenance channel instance.
- the switched operation and maintenance channel instance can request the user's authentication information from the authentication service again based on the user who sent the access command, thereby determining the user's login status without the user having to log in again. On the basis of ensuring user access security, the user's experience is improved.
- the access management system can continue to manage the access command, including the following steps:
- S550 The operation and maintenance channel management cluster obtains access commands.
- S560 The operation and maintenance channel management cluster sends an access command to the client, or in other words, the client receives an access command from the operation and maintenance channel management cluster. Ask for orders.
- the operation and maintenance channel management cluster can also obtain the user's access rights from the external storage service, and determine whether to send the access command to the client based on whether the access command satisfies the access rights.
- the access rights are used to indicate the cloud services that the user can access and the specific operations that can be performed. If the operation and maintenance channel management cluster determines that the access command satisfies the access rights, the operation and maintenance channel management cluster can execute step S560 and subsequent steps; if the operation and maintenance channel management cluster determines that the access command does not satisfy the access rights, the operation and maintenance channel management cluster does not execute S560 and returns to step S550.
- the external storage service includes but is not limited to databases, cloud databases, cloud storage services, etc., which are not specifically limited in this application.
- the external storage service can be an authentication service, which can store the access rights corresponding to the user identity while storing the registered user identity, so that the user's access rights are sent to the operation and maintenance channel management cluster when the user login authentication is successful;
- the external storage service can also be other independent storage services, such as RDS.
- RDS independent storage services
- the operation and maintenance channel management cluster can obtain the user's access rights to the server from the external storage service, so that any node in the operation and maintenance channel management cluster can manage the user's access rights without pre-configuration, thereby enabling the operation and maintenance channel management cluster to provide permission management services and improve the security of access management.
- S570 The client executes the access command according to the session status information.
- the method may further include:
- S580 The client sends the execution result to the operation and maintenance channel management cluster, or in other words, the operation and maintenance channel management cluster receives the execution result from the client.
- the implementation of the above steps S550 to S580 may be the same as the access management method described above.
- the operation and maintenance channel management cluster can interact with the external authentication and authorization service, thereby strengthening user identity authentication management.
- the method shown in Figure 5 only takes the authentication and authorization service as an example to illustrate that the operation and maintenance channel management cluster provided in the embodiment of the present application can provide stateless functions, but is not limited to providing identity authentication or authority management functions.
- the operation and maintenance channel management cluster can also provide other stateless functions such as security compliance and operation audit.
- the operation and maintenance channel management cluster can audit and manage the user's access operations. Specifically, after the user logs in successfully, the operation and maintenance channel management cluster can send each access command forwarded to the client during the session to CTS at the same time, and also send the corresponding execution results fed back by the client to CTS, so that CTS monitors and records the user's entire behavior.
- the operation and maintenance channel management cluster can receive early warning information from CTS, and the operation and maintenance channel management cluster prompts the user through the user interface based on the early warning information, and can stop forwarding the user's access command if necessary.
- the operation and maintenance channel management cluster can send a request to CTS and receive the operation record from CTS, and then feedback to the user through the user interface.
- Fig. 6 shows a schematic structural diagram of an access management system 600 provided in an embodiment of the present application.
- the system 600 includes an operation and maintenance channel management cluster 610 and a client 620, wherein the client 620 runs on a target server.
- FIG. 7 shows a schematic structural block diagram of an operation and maintenance channel management cluster 610 in an access management system 600 provided in an embodiment of the present application.
- the operation and maintenance channel management cluster 610 includes: a command acquisition module 611 and a command distribution module 612 .
- the command acquisition module 611 is used to acquire a user's access command to a target server.
- the command distribution module 612 is used to send the access command to the client.
- the operation and maintenance channel management cluster includes a load balancing component, and the operation and maintenance channel management cluster also includes at least a first operation and maintenance channel instance and a second operation and maintenance channel instance.
- the command distribution module 612 is specifically used for the load balancing component to send the access command to the first operation and maintenance channel instance; the first operation and maintenance channel instance sends the access command to the client.
- the command distribution module 612 is also specifically used for the first operation and maintenance channel instance to report exception information to the load balancing component, where the exception information is used to indicate that the first operation and maintenance channel instance failed to send an access command to the client; the load balancing component sends the access command to the second operation and maintenance channel instance; and the second operation and maintenance channel instance sends the access command to the client.
- the first operation and maintenance channel instance and the second operation and maintenance channel instance are deployed in different areas.
- the command distribution module 612 is further configured to report abnormal information to the load balancing component for the first operation and maintenance channel instance, where the abnormal information indicates that the first operation and maintenance channel instance fails to send an access command to the client; the load balancing component establishes a third operation and maintenance channel instance; and the load balancing component generates an error message.
- the balance component sends the access command to the third operation and maintenance channel instance; the third operation and maintenance channel instance sends the access command to the client.
- the command distribution module 612 is specifically configured to send an access command to the client according to the transmission control protocol.
- the client 620 is used to execute the access command according to the session state information
- the session state information is the access information of the user to the target server recorded by the client.
- the access command includes a session identifier
- the session status information includes a correspondence between the session identifier and a subprocess in the operating system of the target server.
- the client 620 is specifically used to determine the subprocess corresponding to the session identifier based on the session identifier and session status information of the access command; and call the subprocess to execute the access command.
- the operation and maintenance channel management cluster 610 may also include a login authentication module 613, which is used to: obtain the user's login command before obtaining the user's access command to the target server; send the login command to the authentication service, which is used to authenticate the user's identity; receive authentication information from the authentication service; and determine the user's login status based on the authentication information.
- a login authentication module 613 which is used to: obtain the user's login command before obtaining the user's access command to the target server; send the login command to the authentication service, which is used to authenticate the user's identity; receive authentication information from the authentication service; and determine the user's login status based on the authentication information.
- the operation and maintenance channel management cluster 610 may further include a permission management module 614, which is used to: obtain access permissions from an external storage service; and determine whether the access command satisfies the access permissions before sending the access command to the client.
- a permission management module 614 which is used to: obtain access permissions from an external storage service; and determine whether the access command satisfies the access permissions before sending the access command to the client.
- the client 620 is further used to send the execution result of the access command to the operation and maintenance channel management cluster; the operation and maintenance channel management cluster 610 may also include a result display module 615 for sending the execution result to the user.
- the above modules can be implemented by software or hardware.
- the implementation of the command distribution module 612 is introduced below by taking the command distribution module 612 as an example.
- the implementation of the command acquisition module 611, the login authentication module 613, the authority management module 614 and the result display module 615 can refer to the implementation of the command distribution module 612.
- the command distribution module 612 may include code running on a computing instance.
- the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more.
- the command distribution module 612 may include code running on multiple hosts/virtual machines/containers. It should be noted that the multiple hosts/virtual machines/containers used to run the code may be distributed in the same region (region) or in different regions.
- the multiple hosts/virtual machines/containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple data centers with similar geographical locations. Among them, usually a region may include multiple AZs.
- VPC virtual private cloud
- multiple hosts/virtual machines/containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs.
- VPC virtual private cloud
- a VPC is set up in a region.
- a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.
- the command distribution module 612 may include at least one computing device, such as a server, etc.
- the command distribution module 612 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD).
- ASIC application-specific integrated circuit
- PLD programmable logic device
- the PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
- CPLD complex programmable logical device
- FPGA field-programmable gate array
- GAL generic array logic
- the multiple computing devices included in the command distribution module 612 can be distributed in the same region or in different regions.
- the multiple computing devices included in the command distribution module 612 can be distributed in the same AZ or in different AZs.
- the multiple computing devices included in the command distribution module 612 can be distributed in the same VPC or in multiple VPCs.
- the multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.
- the command acquisition module 611, the command distribution module 612, the login authentication module 613, the permission management module 614 and the result display module 615 can be used to execute any step in the above-mentioned access management method respectively, and the steps that the command acquisition module 611, the command distribution module 612, the login authentication module 613, the permission management module 614 and the result display module 615 are responsible for implementing can be specified as needed.
- the command acquisition module 611, the command distribution module 612, the login authentication module 613, the permission management module 614 and the result display module 615 respectively implement different steps in the above-mentioned access management method to realize all the functions of the operation and maintenance channel management cluster.
- the present application also provides a computing device 100.
- the computing device 100 includes: a bus 102, a processor 104, a memory 106, and a communication interface 108.
- the processor 104, the memory 106, and the communication interface 108 communicate with each other through the bus 102.
- the computing device 100 may be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the computing device 100.
- the bus 102 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus.
- the bus may be divided into an address bus, a data bus, a control bus, etc.
- FIG8 shows only one line, but does not mean that there is only one bus or one type of bus.
- the bus 102 may be Included are pathways for transferring information between various components of computing device 100 (eg, memory 106 , processor 104 , communication interface 108 ).
- the processor 104 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP) or a digital signal processor (DSP).
- processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP) or a digital signal processor (DSP).
- CPU central processing unit
- GPU graphics processing unit
- MP microprocessor
- DSP digital signal processor
- the memory 106 may include a volatile memory (volatile memory), such as a random access memory (RAM).
- volatile memory volatile memory
- RAM random access memory
- the processor 104 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
- ROM read-only memory
- HDD hard disk drive
- SSD solid state drive
- the memory 106 stores executable program codes, and the processor 104 executes the executable program codes to respectively implement the functions of the aforementioned command acquisition module, command distribution module, login authentication module, authority management module, and result display module, thereby implementing the aforementioned access management method. That is, the memory 106 stores instructions for executing the aforementioned access management method.
- the communication interface 108 uses a command distribution module such as, but not limited to, a network interface card, a transceiver, etc. to implement communication between the computing device 100 and other devices or a communication network.
- a command distribution module such as, but not limited to, a network interface card, a transceiver, etc. to implement communication between the computing device 100 and other devices or a communication network.
- the embodiment of the present application also provides a computing device cluster.
- the computing device cluster includes at least one computing device.
- the computing device can be a server, such as a central server, an edge server, or a local server in a local data center.
- the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.
- the computing device cluster includes at least one computing device 100.
- the memory 106 in one or more computing devices 100 in the computing device cluster may store the same instructions for executing the above access management method.
- the memory 106 of one or more computing devices 100 in the computing device cluster may also store partial instructions for executing the above access management method.
- the combination of one or more computing devices 100 may jointly execute instructions for executing the above access management method.
- the memory 106 in different computing devices 100 in the computing device cluster can store different instructions, which are respectively used to execute part of the functions of the above-mentioned operation and maintenance channel management cluster. That is, the instructions stored in the memory 106 in different computing devices 100 can implement the functions of one or more modules of the command acquisition module, command distribution module, login authentication module, authority management module and result display module.
- one or more computing devices in a computing device cluster may be connected via a network.
- the network may be a wide area network or a local area network, etc.
- FIG. 10 shows a possible implementation. As shown in FIG. 10 , two computing devices 100A and 100B are connected via a network. Specifically, the network is connected via a communication interface in each computing device.
- the memory 106 in the computing device 100A stores instructions for executing the functions of the command acquisition module and the command distribution module. At the same time, the memory 106 in the computing device 100B stores instructions for the functions of the client.
- the functions of the computing device 100A shown in FIG10 may also be completed by multiple computing devices 100.
- the functions of the computing device 100B may also be completed by multiple computing devices 100.
- An embodiment of the present application also provides a chip, which includes a processor and a data interface.
- the processor reads instructions stored in a memory through the data interface to execute the above-mentioned access management method.
- the embodiment of the present application also provides a computer program product including instructions.
- the computer program product may be a software or program product including instructions that can be run on a computing device or stored in any available medium.
- the at least one computing device executes the above-mentioned access management method.
- the embodiment of the present application also provides a computer-readable storage medium.
- the computer-readable storage medium can be any available medium that can be stored by the computing device or a data storage device such as a data center containing one or more available media.
- the available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state hard disk), etc.
- the computer-readable storage medium includes instructions, and the instructions instruct the computing device to perform the above-mentioned management.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
Claims (23)
- 一种访问管理的方法,其特征在于,所述方法应用于访问管理的系统,所述系统包括运维通道管理集群和客户端,所述客户端运行在目标服务器上,所述运维通道管理集群包括多个运维通道实例,每个运维通道实例用于与所述客户端进行信息交互,所述每个运维通道实例由至少一台计算实例组成,所述至少一台计算实例包括物理主机、虚拟机、容器中的至少一种,所述方法包括:所述运维通道管理集群获取用户对所述目标服务器的访问命令;所述运维通道管理集群将所述访问命令发送至所述客户端;所述客户端根据会话状态信息,执行所述访问命令,所述会话状态信息是所述客户端记录的所述用户对所述目标服务器的访问信息。
- 根据权利要求1所述的方法,其特征在于,所述运维通道管理集群还包括负载均衡组件,所述多个运维通道实例中包括第一运维通道实例和第二运维通道实例,所述将所述访问命令发送至所述客户端,包括:所述负载均衡组件将所述访问命令发送至所述第一运维通道实例;所述第一运维通道实例向所述客户端发送所述访问命令。
- 根据权利要求2所述的方法,其特征在于,所述将所述访问命令发送至所述客户端,还包括:所述第一运维通道实例向所述负载均衡组件上报异常信息,所述异常信息用于指示所述第一运维通道实例向所述客户端发送所述访问命令失败;所述负载均衡组件将所述访问命令发送至所述第二运维通道实例;所述第二运维通道实例向所述客户端发送所述访问命令。
- 根据权利要求3所述的方法,其特征在于,所述第一运维通道实例和所述第二运维通道实例部署在不同的区域。
- 根据权利要求2所述的方法,其特征在于,所述将所述访问命令发送至所述客户端,还包括:所述第一运维通道实例向所述负载均衡组件上报异常信息,所述异常信息用于指示所述第一运维通道实例向所述客户端发送所述访问命令失败;所述负载均衡组件建立第三运维通道实例;所述负载均衡组件将所述访问命令发送至所述第三运维通道实例;所述第三运维通道实例向所述客户端发送所述访问命令。
- 根据权利要求1至5中任意一项所述的方法,其特征在于,所述将所述访问命令发送至所述客户端,包括:所述运维通道管理集群根据传输控制协议向所述客户端发送所述访问命令。
- 根据权利要求1至6中任意一项所述的方法,其特征在于,所述访问命令中包括会话标识,所述会话状态信息中包括会话标识与所述目标服务器的操作系统中的子进程的对应关系,所述根据会话状态信息,执行所述访问命令,包括:根据所述访问命令的会话标识和所述会话状态信息,确定与所述会话标识对应的子进程;调用所述子进程执行所述访问命令。
- 根据权利要求1至7中任意一项所述的方法,其特征在于,在获取用户对所述目标服务器的访问命令前,所述方法还包括:所述运维通道管理集群获取所述用户的登录命令;所述运维通道管理集群向认证鉴权服务发送所述登录命令,所述认证鉴权服务用于认证所述用户的身份;所述运维通道管理集群接收来自所述认证鉴权服务的认证信息;所述运维通道管理集群根据所述认证信息,确定所述用户的登录状态。
- 根据权利要求1至8中任意一项所述的方法,其特征在于,在将所述访问命令发送至所述客户端前,所述方法还包括:所述运维通道管理集群从外部存储服务获取访问权限;所述运维通道管理集群确定所述访问命令满足所述访问权限。
- 根据权利要求1至9中任意一项所述的方法,其特征在于,所述方法还包括:所述客户端将所述访问命令的执行结果发送至所述运维通道管理集群;所述运维通道管理集群向所述用户发送所述执行结果。
- 一种访问管理的系统,其特征在于,所述系统包括运维通道管理集群和客户端,所述客户端运行在目标服务器上,所述运维通道管理集群包括多个运维通道实例,每个运维通道实例用于与所述客户端进行信息交互,所述每个运维通道实例由至少一台计算实例组成,所述至少一台计算实例包括物理主机、虚拟机、容器中的至少一种,所述运维通道管理集群包括:命令获取模块,用于获取用户对所述目标服务器的访问命令;命令分发模块,用于将所述访问命令发送至所述客户端;所述客户端用于:根据会话状态信息,执行所述访问命令,所述会话状态信息是所述客户端记录的所述用户对所述目标服务器的访问信息。
- 根据权利要求11所述的系统,其特征在于,所述运维通道管理集群还包括负载均衡组件,所述多个运维通道实例中包括第一运维通道实例和第二运维通道实例,所述命令分发模块,用于:所述负载均衡组件将所述访问命令发送至所述第一运维通道实例;所述第一运维通道实例向所述客户端发送所述访问命令。
- 根据权利要求12所述的系统,其特征在于,所述命令分发模块,还用于:所述第一运维通道实例向所述负载均衡组件上报异常信息,所述异常信息用于指示所述第一运维通道实例向所述客户端发送所述访问命令失败;所述负载均衡组件将所述访问命令发送至所述第二运维通道实例;所述第二运维通道实例向所述客户端发送所述访问命令。
- 根据权利要求13所述的系统,其特征在于,所述第一运维通道实例和所述第二运维通道实例部署在不同的区域。
- 根据权利要求12所述的系统,其特征在于,所述命令分发模块,还用于:所述第一运维通道实例向所述负载均衡组件上报异常信息,所述异常信息用于指示所述第一运维通道实例向所述客户端发送所述访问命令失败;所述负载均衡组件建立第三运维通道实例;所述负载均衡组件将所述访问命令发送至所述第三运维通道实例;所述第三运维通道实例向所述客户端发送所述访问命令。
- 根据权利要求11至15中任意一项所述的系统,其特征在于,所述命令分发模块,用于:根据传输控制协议向所述客户端发送所述访问命令。
- 根据权利要求11至16中任意一项所述的系统,其特征在于,所述访问命令中包括会话标识,所述会话状态信息中包括会话标识与所述目标服务器的操作系统中的子进程的对应关系,所述客户端,用于:根据所述访问命令的会话标识和所述会话状态信息,确定与所述会话标识对应的子进程;调用所述子进程执行所述访问命令。
- 根据权利要求11至17中任意一项所述的系统,其特征在于,所述运维通道管理集群还包括登录认证模块,在获取用户对所述目标服务器的访问命令前,用于:获取所述用户的登录命令;向认证鉴权服务发送所述登录命令,所述认证鉴权服务用于认证所述用户的身份;接收来自所述认证鉴权服务的认证信息;根据所述认证信息,确定所述用户的登录状态。
- 根据权利要求11至18中任意一项所述的系统,其特征在于,所述运维通道管理集群还包括权限管理模块,在将所述访问命令发送至所述客户端前,用于:从外部存储服务获取访问权限;确定所述访问命令满足所述访问权限。
- 根据权利要求11至19中任意一项所述的系统,其特征在于,所述客户端还用于:所述客户端将所述访问命令的执行结果发送至所述运维通道管理集群;所述运维通道管理集群还包括结果展示模块,用于向所述用户发送所述执行结果。
- 一种计算设备,其特征在于,包括处理器和存储器,所述处理器用于执行所述存储器中存储的指令,以使得所述计算设备执行如权利要求1至10中任一项所述的方法。
- 一种计算设备集群,其特征在于,包括至少一个计算设备,每个计算设备包括处理器和存储器;所述至少一个计算设备的处理器用于执行所述至少一个计算设备的存储器中存储的指令,以使得所述计算设备集群执行如权利要求1至10中任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,包括计算机程序指令,当所述计算机指令由计算设备集群执行时,使得所述计算设备集群执行如权利要求1至10中任一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP24777528.1A EP4679791A4 (en) | 2023-03-31 | 2024-02-05 | ACCESS MANAGEMENT METHOD AND SYSTEM |
| US19/343,534 US20260032124A1 (en) | 2023-03-31 | 2025-09-29 | Access management method and system |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310339767.6A CN118740661A (zh) | 2023-03-31 | 2023-03-31 | 访问管理的方法和系统 |
| CN202310339767.6 | 2023-03-31 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US19/343,534 Continuation US20260032124A1 (en) | 2023-03-31 | 2025-09-29 | Access management method and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024198734A1 true WO2024198734A1 (zh) | 2024-10-03 |
Family
ID=92852030
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/075967 Ceased WO2024198734A1 (zh) | 2023-03-31 | 2024-02-05 | 访问管理的方法和系统 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20260032124A1 (zh) |
| EP (1) | EP4679791A4 (zh) |
| CN (1) | CN118740661A (zh) |
| WO (1) | WO2024198734A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120493285A (zh) * | 2025-05-20 | 2025-08-15 | 自然资源部北海海域海岛中心(自然资源部北海信息中心) | 一种基于html5技术的数据库堡垒资源管控方法 |
| CN120711010A (zh) * | 2025-08-22 | 2025-09-26 | 新立讯科技集团股份有限公司 | 弹性负载均衡千万级并发访问处理方法及系统 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111478937A (zh) * | 2020-02-29 | 2020-07-31 | 新华三信息安全技术有限公司 | 一种负载均衡方法和装置 |
| CN113114643A (zh) * | 2021-03-30 | 2021-07-13 | 成都安恒信息技术有限公司 | 一种运维审计系统的运维接入方法及系统 |
| US20210243250A1 (en) * | 2020-02-04 | 2021-08-05 | Nutanix, Inc. | Efficient virtual ip address management for service clusters |
| CN115248922A (zh) * | 2021-04-27 | 2022-10-28 | 华为云计算技术有限公司 | 用于远程接入的设备以及方法 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10511584B1 (en) * | 2016-09-29 | 2019-12-17 | Amazon Technologies, Inc. | Multi-tenant secure bastion |
| US10425473B1 (en) * | 2017-07-03 | 2019-09-24 | Pure Storage, Inc. | Stateful connection reset in a storage cluster with a stateless load balancer |
-
2023
- 2023-03-31 CN CN202310339767.6A patent/CN118740661A/zh active Pending
-
2024
- 2024-02-05 WO PCT/CN2024/075967 patent/WO2024198734A1/zh not_active Ceased
- 2024-02-05 EP EP24777528.1A patent/EP4679791A4/en active Pending
-
2025
- 2025-09-29 US US19/343,534 patent/US20260032124A1/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20210243250A1 (en) * | 2020-02-04 | 2021-08-05 | Nutanix, Inc. | Efficient virtual ip address management for service clusters |
| CN111478937A (zh) * | 2020-02-29 | 2020-07-31 | 新华三信息安全技术有限公司 | 一种负载均衡方法和装置 |
| CN113114643A (zh) * | 2021-03-30 | 2021-07-13 | 成都安恒信息技术有限公司 | 一种运维审计系统的运维接入方法及系统 |
| CN115248922A (zh) * | 2021-04-27 | 2022-10-28 | 华为云计算技术有限公司 | 用于远程接入的设备以及方法 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4679791A4 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120493285A (zh) * | 2025-05-20 | 2025-08-15 | 自然资源部北海海域海岛中心(自然资源部北海信息中心) | 一种基于html5技术的数据库堡垒资源管控方法 |
| CN120711010A (zh) * | 2025-08-22 | 2025-09-26 | 新立讯科技集团股份有限公司 | 弹性负载均衡千万级并发访问处理方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20260032124A1 (en) | 2026-01-29 |
| EP4679791A1 (en) | 2026-01-14 |
| EP4679791A4 (en) | 2026-03-25 |
| CN118740661A (zh) | 2024-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108777625B (zh) | 签名的验证方法、装置和系统、存储介质、电子装置 | |
| US11907046B2 (en) | Distributed object identification system and method, and edge computing device | |
| US10021143B2 (en) | Method and apparatus for multi-tenancy secrets management in multiple data security jurisdiction zones | |
| CA2946157C (en) | Method and apparatus for multi-tenancy secrets management | |
| US20260032124A1 (en) | Access management method and system | |
| CN111049695A (zh) | 云网关配置方法和系统 | |
| US10447703B2 (en) | VNF package operation method and apparatus | |
| CN112948842A (zh) | 一种鉴权方法及相关设备 | |
| US11363072B1 (en) | Identifying and mitigating vulnerable security policies | |
| US20230168973A1 (en) | Providing a logical data isolation with intermittent connectivity | |
| US10447818B2 (en) | Methods, remote access systems, client computing devices, and server devices for use in remote access systems | |
| CN113904847A (zh) | 物联网卡的云平台绑定方法、系统、设备及介质 | |
| CN111212077A (zh) | 主机访问系统及方法 | |
| WO2024169595A1 (zh) | 混合云环境中的服务调用方法、电子设备及系统 | |
| US10013237B2 (en) | Automated approval | |
| CN111726328B (zh) | 用于对第一设备进行远程访问的方法、系统以及相关设备 | |
| WO2014079489A1 (en) | Methods and systems for managing access to a location indicated by a link in a remote access system | |
| CN115277457A (zh) | 服务器的控制方法、服务器及存储介质 | |
| CN114385447A (zh) | 一种微服务总线技术架构系统 | |
| CN117879886B (zh) | 一种安全外壳协议ssh远程连接进程管理方法及计算设备 | |
| WO2025010980A1 (zh) | 链路追踪方法和装置 | |
| CN114090981B (zh) | 一种针对远程主机的访问方法及装置 | |
| CN115374407A (zh) | 业务访问方法、装置、电子设备和计算机可读存储介质 | |
| WO2025082280A1 (zh) | 容器退出方法和装置 | |
| EP4701133A1 (en) | Cloud-computing-based access management method and apparatus, and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24777528 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024777528 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2024777528 Country of ref document: EP Effective date: 20251007 |
|
| ENP | Entry into the national phase |
Ref document number: 2024777528 Country of ref document: EP Effective date: 20251007 |
|
| ENP | Entry into the national phase |
Ref document number: 2024777528 Country of ref document: EP Effective date: 20251007 |
|
| ENP | Entry into the national phase |
Ref document number: 2024777528 Country of ref document: EP Effective date: 20251007 |