Cross-cluster password-free login method and device, electronic equipment and storage medium
By obtaining and parsing cluster configuration information, cross-cluster password-free login is achieved, which solves the problem of complexity and low security of login between clusters, and improves efficiency and security.
Patent Information
- Application Number
- CN202411004467.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-15
AI Technical Summary
The existing technology is complex and insecure in the user login process between different clusters, resulting in high system complexity, high maintenance costs and low security, especially in unsafe network environments, which can easily lead to the leakage of sensitive information.
By obtaining the configuration description information of the target source cluster, the current jump cluster task is obtained in real time, and the target jump cluster is determined based on the task analysis results and the system link unified resource locator information to achieve password-free login operations across clusters.
It simplifies the multi-cluster login process, improves the efficiency and security of interactions between clusters, reduces complexity and maintenance costs, and enhances network security.
Smart Images

Figure CN118784332A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a cross-cluster password-free login method, device, electronic device and storage medium. Background Art
[0002] With the development of log technology, the demand for network security in log operation and maintenance management is also increasing. For log operation and maintenance management, it is usually necessary to operate and monitor across multiple clusters.
[0003] In the process of implementing the present invention, the inventor found that the prior art has the following defects: At present, in order to ensure the security of log information, users need to log in to different clusters to operate and monitor. However, user login requires complex identity authentication and permission management configuration, or relies on third-party tools to achieve, which increases system complexity and maintenance costs; if in an unsafe network environment, frequent user logins in different clusters are prone to attacks, resulting in sensitive information leakage, and low security. Summary of the invention
[0004] The present invention provides a cross-cluster password-free login method, device, electronic device and storage medium to improve the efficiency and security of interaction between clusters.
[0005] According to one aspect of the present invention, a cross-cluster password-free login method is provided, which includes:
[0006] Obtain a target source cluster, and obtain source cluster configuration description information corresponding to the target source cluster;
[0007] The source cluster configuration description information includes a target source cluster type and at least one system link uniform resource locator information;
[0008] When it is determined that the target source cluster is in the logged-in state, the current jump cluster task is obtained in real time;
[0009] Determine whether the target source cluster type matches the preset standard source cluster type, and if so, parse the current jump cluster task to obtain the current jump cluster task parsing result;
[0010] Determine a target jump cluster according to the current jump cluster task parsing result and each system link uniform resource locator information;
[0011] The target system link uniform resource locator information is sent to the target jump cluster, so that the target jump cluster can perform a cross-cluster password-free login operation according to the target system link uniform resource locator information.
[0012] According to another aspect of the present invention, a cross-cluster password-free login device is provided, which includes:
[0013] A source cluster configuration description information acquisition module is used to acquire a target source cluster and acquire source cluster configuration description information corresponding to the target source cluster;
[0014] The source cluster configuration description information includes a target source cluster type and at least one system link uniform resource locator information;
[0015] The current jump cluster task acquisition module is used to obtain the current jump cluster task in real time when it is determined that the target source cluster is in a logged-in state;
[0016] The current jump cluster task analysis result determination module is used to determine whether the target source cluster type hits the preset standard source cluster type. If so, the current jump cluster task is analyzed to obtain the current jump cluster task analysis result;
[0017] A target jump cluster determination module, configured to determine a target jump cluster according to the current jump cluster task parsing result and each of the system link uniform resource locator information;
[0018] The target system link uniform resource locator information sending module is used to send the target system link uniform resource locator information to the target jump cluster, so that the target jump cluster can perform a cross-cluster password-free login operation according to the target system link uniform resource locator information.
[0019] According to another aspect of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the cross-cluster password-free login method described in any embodiment of the present invention is implemented.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cross-cluster password-free login method described in any embodiment of the present invention when executed.
[0021] The technical solution of the embodiment of the present invention is to obtain the target source cluster and the source cluster configuration description information corresponding to the target source cluster; wherein the source cluster configuration description information includes the target source cluster type and at least one system link uniform resource locator information; when it is determined that the target source cluster is in a logged-in state, the current jump cluster task is obtained in real time; it is determined whether the target source cluster type hits the preset standard source cluster type, and if so, the current jump cluster task is parsed to obtain the current jump cluster task parsing result; the target jump cluster is determined according to the current jump cluster task parsing result and each system link uniform resource locator information; the target system link uniform resource locator information is sent to the target jump cluster to enable the target jump cluster to perform a cross-cluster password-free login operation according to the target system link uniform resource locator information. The problem of high complexity, low efficiency and low security caused by the need for multiple logins by interactive users between different clusters is solved, the efficiency and security of interaction between clusters are improved, and the complexity of multi-cluster login is simplified.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 This is a flowchart of a cross-cluster password-free login method provided according to Embodiment 1 of the present invention;
[0025] Figure 2 This is a schematic diagram of the structure of a cross-cluster password-free login device provided according to Embodiment 2 of the present invention;
[0026] Figure 3 It is a structural schematic diagram of an electronic device provided according to Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "target", "current", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Embodiment 1
[0030] Figure 1 This is a flow chart of a cross-cluster password-free login method provided in Example 1 of the present invention. This embodiment is applicable to situations where users between different clusters log in without a password. The method can be executed by a cross-cluster password-free login device, which can be implemented in the form of hardware and / or software.
[0031] Correspondingly, such as Figure 1 As shown, the method includes:
[0032] S110. Obtain a target source cluster, and obtain source cluster configuration description information corresponding to the target source cluster.
[0033] The source cluster configuration description information includes a target source cluster type and at least one system link uniform resource locator information.
[0034] The source cluster configuration description information of the target source cluster may include the target source cluster type and one or more system link uniform resource locator information.
[0035] Specifically, the system link uniform resource locator information includes a user name, a user encryption password, a user signature and a system link uniform resource locator; wherein different system link uniform resource locators are used to describe uniform resource locators of different jump clusters.
[0036] Before obtaining the target source cluster, you need to configure the target source cluster.
[0037] Exemplarily, assuming that the target source cluster is an operation and maintenance cluster, the target source cluster type can be set to: yunwei. In addition, since the system link uniform resource locator information can include a user name, a user encryption password, a user signature, and a system link uniform resource locator, it is necessary to pre-configure the system link uniform resource locator of the cluster to which the target source cluster can jump.
[0038] In detail, assume that the target source cluster can jump to three jump clusters (jump cluster 1, jump cluster 2, and jump cluster 3). The system link uniform resource locator corresponding to jump cluster 1 is: http: / / 192.168.43.45:80. The system link uniform resource locator corresponding to jump cluster 2 is: http: / / 192.168.43.45:81. The system link uniform resource locator corresponding to jump cluster 3 is: http: / / 192.168.43.45:82.
[0039] In addition, each jump cluster needs to be configured. Specifically, the cluster type corresponding to each jump cluster is set to empty; and the system link uniform resource locator corresponding to each jump cluster is also set to empty.
[0040] In addition, the target source cluster and its corresponding jump cluster need to match the same code, but the database or backend service corresponding to the target source cluster can be different from each jump cluster.
[0041] In this embodiment, it is necessary to log in to the target source cluster according to the user name, the user's real password and the user's signature. After determining that the target source cluster has successfully logged in, it is necessary to encrypt the user's real password to obtain the user's encrypted password. Here, a symmetric encryption algorithm can be used, which is not specifically limited here. After encryption, it is necessary to use the user name, the user's encrypted password, the user's signature and the system link uniform resource locator to construct the system link uniform resource locator information.
[0042] S120. When it is determined that the target source cluster is in a logged-in state, obtain the current jump cluster task in real time.
[0043] The current jump cluster task may be a task used to describe that the target source cluster needs to jump to the target jump cluster.
[0044] In this embodiment, the current jump cluster task may include one target jump cluster or multiple target jump clusters.
[0045] S130: Determine whether the target source cluster type matches a preset standard source cluster type. If so, parse the current jump cluster task to obtain a current jump cluster task parsing result.
[0046] Continuing with the previous example, since the target source cluster type is yunwei, assuming that the standard source cluster type is the standard source cluster type, it can be determined that the target source cluster type hits the standard source cluster type, then the current jump cluster task needs to be parsed to obtain the current jump cluster task parsing result.
[0047] The current jump cluster task parsing result may be detailed description information used to describe the target jump cluster.
[0048] Exemplarily, it is assumed that the target jump cluster corresponding to the current jump cluster task parsing result is jump cluster 1.
[0049] S140: Determine a target jump cluster according to the current jump cluster task parsing result and each system link uniform resource locator information.
[0050] Optionally, determining the target jump cluster based on the current jump cluster task parsing result and each of the system link uniform resource locator information includes: judging whether the current jump cluster task parsing result can be matched with each of the system link uniform resource locator information; if the match is successful, determining the target system link uniform resource locator information and the target jump cluster, and jumping from the target source cluster to the corresponding target jump cluster according to the target system link uniform resource locator information.
[0051] Continuing from the previous example, it is necessary to match the jump cluster 1 corresponding to the current jump cluster task analysis result with the system link uniform resource locator information corresponding to the target source cluster, because the target source cluster can be transferred to jump cluster 1, jump cluster 2 and jump cluster 3. Therefore, it can be determined that jump cluster 1 can be matched successfully, and the target system link uniform resource locator information and the target jump cluster can be determined, that is, the target jump cluster is jump cluster 1; the target system link uniform resource locator information is the user name, user encryption password, user signature and http: / / 192.168.43.45:80.
[0052] Furthermore, you can switch from the target source cluster to the jump cluster 1 based on the user name, user encrypted password, user signature, and http: / / 192.168.43.45:80.
[0053] In addition, after determining whether the current jump cluster task parsing result can be matched with the uniform resource locator information of each system link, it also includes: if the match is unsuccessful, feeding back a matching failure instruction to the user, and feeding back the current jump cluster task and the current jump cluster task parsing result to the user, so that the user can update the source cluster configuration description information according to the current jump cluster task and the current jump cluster task parsing result.
[0054] For example, assuming that the current jump cluster task parsing result corresponds to jump cluster 4, since jump cluster 4 cannot be matched successfully, a matching failure instruction can be fed back to the user. Furthermore, the current jump cluster task and the current jump cluster task parsing result need to be fed back to the user. The user can further adaptively update the source cluster configuration description information by parsing the current jump cluster task and the current jump cluster task parsing result, that is, the detailed configuration information of the target source cluster can be transferred to jump cluster 4 when adding.
[0055] In addition, the target jump cluster can be in a logged-in state or a non-logged-in state before performing the target source cluster jump operation, which is not specifically limited here. Assuming that the target jump cluster is in a logged-in state, you can go to the target page through the target jump cluster. If the target jump cluster is in a non-logged-in state, you need to go to the target page through operations such as target source cluster jump and user login processing.
[0056] S150: Send the target system link uniform resource locator information to the target jump cluster, so that the target jump cluster can perform a cross-cluster password-free login operation according to the target system link uniform resource locator information.
[0057] In this embodiment, the target system link uniform resource locator information needs to be sent to the target jump cluster, and the target jump cluster performs operations such as password-free login and target page transfer according to the target system link uniform resource locator information.
[0058] Optionally, the target jump cluster performs a cross-cluster password-free login operation according to the target system link uniform resource locator information, including: when it is determined that the target jump cluster has received the target system link uniform resource locator information, instructing the target jump cluster to parse and decrypt the target system link uniform resource locator information to obtain corresponding user login description information; wherein the user login description information includes a user name, a user's real password, and a user signature; instructing the target jump cluster to perform a password-free login of the target jump cluster according to the user name, the user's real password, and the user signature.
[0059] In this embodiment, the target system link uniform resource locator information needs to be parsed to obtain the user name, user encrypted password, user signature and system link uniform resource locator; the user encrypted password is further decrypted to obtain the user's real password.
[0060] Correspondingly, the password-free login processing operation of the target jump cluster can be performed based on the user name, the user's real password and the user's signature.
[0061] Optionally, the password-free login of the target jump cluster is performed based on the user name, the user's real password and the user's signature, including: instructing the target jump cluster to determine whether the user signature is consistent with a preset standard user signature; if they are consistent, the password-free login of the target jump cluster is performed based on the user name and the user's real password; if they are inconsistent, a user signature inconsistency instruction is fed back to the user, and the current jump cluster task is terminated.
[0062] In this embodiment, the consistency between the user signature and the standard user signature must be determined first. If they are consistent, the target jump cluster can be logged in without a password based on the user name and the user's real password. Otherwise, if they are inconsistent, the target jump cluster cannot be logged in without a password, and a user signature inconsistency instruction must be fed back to the user, and the current jump cluster task is terminated.
[0063] Optionally, after the password-free login of the target jump cluster based on the user name, the user's real password and the user's signature, it also includes: instructing the target jump cluster to obtain the current page address corresponding to the current system link uniform resource locator in the target system link uniform resource locator information; instructing the target jump cluster to switch to the target page corresponding to the target jump cluster according to the current page address, and displaying the target page to the user.
[0064] Continuing with the previous example, assuming that the target jump cluster is a full-link cluster, you can jump to the full-link cluster of the target jump cluster through the operation and maintenance cluster of the target source cluster, and perform password-free login to the full-link cluster.
[0065] Furthermore, after logging into the full-link cluster, it is also necessary to obtain the current page address corresponding to the full-link cluster, and then perform conversion and display processing operations on the corresponding target page based on the current page address.
[0066] The technical solution of the embodiment of the present invention is to obtain the target source cluster and the source cluster configuration description information corresponding to the target source cluster; wherein the source cluster configuration description information includes the target source cluster type and at least one system link uniform resource locator information; when it is determined that the target source cluster is in a logged-in state, the current jump cluster task is obtained in real time; it is determined whether the target source cluster type hits the preset standard source cluster type, and if so, the current jump cluster task is parsed to obtain the current jump cluster task parsing result; the target jump cluster is determined according to the current jump cluster task parsing result and each system link uniform resource locator information; the target system link uniform resource locator information is sent to the target jump cluster to enable the target jump cluster to perform a cross-cluster password-free login operation according to the target system link uniform resource locator information. The problem of high complexity, low efficiency and low security caused by the need for multiple logins by interactive users between different clusters is solved, the efficiency and security of interaction between clusters are improved, and the complexity of multi-cluster login is simplified.
[0067] Embodiment 2
[0068] Figure 2 This is a schematic diagram of the structure of a cross-cluster password-free login device provided in the second embodiment of the present invention. The cross-cluster password-free login device provided in this embodiment can be implemented by software and / or hardware, and can be configured in a terminal device or server to implement a cross-cluster password-free login method in the embodiment of the present invention. Figure 2 As shown, the device includes: a source cluster configuration description information acquisition module 210, a current jump cluster task acquisition module 220, a current jump cluster task analysis result determination module 230, a target jump cluster determination module 240 and a target system link uniform resource locator information sending module 250.
[0069] The source cluster configuration description information acquisition module 210 is used to acquire a target source cluster and acquire the source cluster configuration description information corresponding to the target source cluster;
[0070] The source cluster configuration description information includes a target source cluster type and at least one system link uniform resource locator information;
[0071] The current jump cluster task acquisition module 220 is used to acquire the current jump cluster task in real time when it is determined that the target source cluster is in a logged-in state;
[0072] The current jump cluster task analysis result determination module 230 is used to determine whether the target source cluster type hits the preset standard source cluster type. If so, the current jump cluster task is analyzed to obtain the current jump cluster task analysis result;
[0073] A target jump cluster determination module 240 is used to determine a target jump cluster according to the current jump cluster task parsing result and each system link uniform resource locator information;
[0074] The target system link uniform resource locator information sending module 250 is used to send the target system link uniform resource locator information to the target jump cluster, so that the target jump cluster can perform a cross-cluster password-free login operation according to the target system link uniform resource locator information.
[0075] The technical solution of the embodiment of the present invention is to obtain the target source cluster and the source cluster configuration description information corresponding to the target source cluster; wherein the source cluster configuration description information includes the target source cluster type and at least one system link uniform resource locator information; when it is determined that the target source cluster is in a logged-in state, the current jump cluster task is obtained in real time; it is determined whether the target source cluster type hits the preset standard source cluster type, and if so, the current jump cluster task is parsed to obtain the current jump cluster task parsing result; the target jump cluster is determined according to the current jump cluster task parsing result and each system link uniform resource locator information; the target system link uniform resource locator information is sent to the target jump cluster to enable the target jump cluster to perform a cross-cluster password-free login operation according to the target system link uniform resource locator information. The problem of high complexity, low efficiency and low security caused by the need for multiple logins by interactive users between different clusters is solved, the efficiency and security of interaction between clusters are improved, and the complexity of multi-cluster login is simplified.
[0076] Based on the above embodiments, the system link uniform resource locator information includes a user name, a user encrypted password, a user signature and a system link uniform resource locator; wherein different system link uniform resource locators are used to describe uniform resource locators of different jump clusters.
[0077] Based on the above embodiments, the target jump cluster determination module 240 can be specifically used to: determine whether the current jump cluster task analysis result can be matched with each of the system link uniform resource locator information; if the match is successful, determine the target system link uniform resource locator information and the target jump cluster, and transfer from the target source cluster to the corresponding target jump cluster according to the target system link uniform resource locator information.
[0078] On the basis of the above embodiments, the target jump cluster determination module 240 can also be specifically used for: after judging whether the current jump cluster task parsing result can be matched with the uniform resource locator information of each system link, if the current jump cluster task parsing result and the uniform resource locator information of each system link fail to match, then a matching failure instruction is fed back to the user, and the current jump cluster task and the current jump cluster task parsing result are fed back to the user, so that the user can update the source cluster configuration description information according to the current jump cluster task and the current jump cluster task parsing result.
[0079] On the basis of the above embodiments, the target system link uniform resource locator information sending module 250 can be specifically used for: when it is determined that the target jump cluster has received the target system link uniform resource locator information, instructing the target jump cluster to parse and decrypt the target system link uniform resource locator information to obtain corresponding user login description information; wherein the user login description information includes a user name, a real password of the user and a user signature; instructing the target jump cluster to perform a password-free login of the target jump cluster according to the user name, the real password of the user and the user signature.
[0080] On the basis of the above embodiments, the target system link uniform resource locator information sending module 250 can also be specifically used to: instruct the target jump cluster to determine whether the user signature is consistent with the preset standard user signature. If consistent, the target jump cluster is logged in without password according to the user name and the user's real password; if inconsistent, the user signature inconsistency instruction is fed back to the user and the current jump cluster task is terminated.
[0081] On the basis of the above embodiments, it also includes a target page display module, which can be specifically used to: after the password-free login of the target jump cluster according to the user name, the user's real password and the user's signature, instruct the target jump cluster to obtain the current page address corresponding to the current system link uniform resource locator in the target system link uniform resource locator information; instruct the target jump cluster to switch to the target page corresponding to the target jump cluster according to the current page address, and display the target page to the user.
[0082] The cross-cluster password-free login device provided in the embodiment of the present invention can execute the cross-cluster password-free login method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0083] Embodiment 3
[0084] Figure 3A schematic diagram of the structure of an electronic device 10 that can be used to implement the third embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0085] like Figure 3 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0086] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0087] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a cross-cluster password-free login method.
[0088] In some embodiments, the cross-cluster password-free login method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the cross-cluster password-free login method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the cross-cluster password-free login method in any other appropriate manner (e.g., by means of firmware).
[0089] The method includes: obtaining a target source cluster, and obtaining source cluster configuration description information corresponding to the target source cluster; wherein the source cluster configuration description information includes a target source cluster type and at least one system link uniform resource locator information; when determining that the target source cluster is in a logged-in state, obtaining a current jump cluster task in real time; judging whether the target source cluster type hits a preset standard source cluster type, and if so, parsing the current jump cluster task to obtain a current jump cluster task parsing result; determining a target jump cluster according to the current jump cluster task parsing result and each of the system link uniform resource locator information; and sending the target system link uniform resource locator information to the target jump cluster to enable the target jump cluster to perform a cross-cluster password-free login operation according to the target system link uniform resource locator information.
[0090] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0091] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0092] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0093] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0094] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0095] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0096] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0097] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0098] Embodiment 4
[0099] Embodiment 4 of the present invention also provides a computer-readable storage medium, wherein the computer-readable instructions are used to execute a cross-cluster password-free login method when executed by a computer processor, the method comprising: obtaining a target source cluster, and obtaining source cluster configuration description information corresponding to the target source cluster; wherein the source cluster configuration description information comprises a target source cluster type and at least one system link uniform resource locator information; when determining that the target source cluster is in a logged-in state, obtaining a current jump cluster task in real time; judging whether the target source cluster type hits a preset standard source cluster type, and if so, parsing the current jump cluster task to obtain a current jump cluster task parsing result; determining a target jump cluster based on the current jump cluster task parsing result and each of the system link uniform resource locator information; and sending the target system link uniform resource locator information to the target jump cluster to enable the target jump cluster to perform a cross-cluster password-free login operation based on the target system link uniform resource locator information.
[0100] Of course, the computer-readable storage medium provided in the embodiment of the present invention has computer-executable instructions that are not limited to the method operations described above, and can also execute related operations in the cross-cluster password-free login method provided in any embodiment of the present invention.
[0101] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0102] It is worth noting that in the embodiment of the above-mentioned cross-cluster password-free login device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0103] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A cross-cluster password-free login method, characterized in that: include: Obtain a target source cluster, and obtain source cluster configuration description information corresponding to the target source cluster; The source cluster configuration description information includes a target source cluster type and at least one system link uniform resource locator information; When it is determined that the target source cluster is in the logged-in state, the current jump cluster task is obtained in real time; Determine whether the target source cluster type matches the preset standard source cluster type, and if so, parse the current jump cluster task to obtain the current jump cluster task parsing result; Determine a target jump cluster according to the current jump cluster task parsing result and each system link uniform resource locator information; The target system link uniform resource locator information is sent to the target jump cluster, so that the target jump cluster can perform a cross-cluster password-free login operation according to the target system link uniform resource locator information.
2. The method according to claim 1, characterized in that The system link uniform resource locator information includes a user name, a user encrypted password, a user signature and a system link uniform resource locator; Among them, different system link uniform resource locators are used to describe uniform resource locators of different jump clusters.
3. The method according to claim 2, characterized in that The step of determining a target jump cluster according to the current jump cluster task parsing result and each system link uniform resource locator information includes: Determine whether the current jump cluster task parsing result can match the uniform resource locator information of each system link; If the match is successful, the target system link uniform resource locator information and the target jump cluster are determined, and the target source cluster is transferred to the corresponding target jump cluster according to the target system link uniform resource locator information.
4. The method according to claim 3, characterized in that After determining whether the parsing result of the current jump cluster task can match the uniform resource locator information of each system link, the method further includes: If the match fails, an unsuccessful match instruction is fed back to the user, and the current jump cluster task and the current jump cluster task analysis result are fed back to the user, so that the user can update the source cluster configuration description information according to the current jump cluster task and the current jump cluster task analysis result.
5. The method according to claim 4, characterized in that The target jump cluster performs a cross-cluster password-free login operation according to the target system link uniform resource locator information, including: When it is determined that the target jump cluster receives the target system link uniform resource locator information, instructing the target jump cluster to parse and decrypt the target system link uniform resource locator information to obtain corresponding user login description information; The user login description information includes the user name, the user's real password and the user's signature; Instruct the target jump cluster to log in to the target jump cluster without a password based on the user name, real password, and signature.
6. The method according to claim 5, characterized in that The password-free login of the target jump cluster according to the user name, the user's real password and the user's signature includes: Instruct the target jump cluster to determine whether the user signature is consistent with the preset standard user signature. If consistent, perform password-free login to the target jump cluster based on the user name and the user's real password; If they are inconsistent, a user signature inconsistency instruction is fed back to the user and the current cluster jump task is terminated.
7. The method according to claim 6, characterized in that After performing the password-free login of the target jump cluster according to the user name, the user's real password and the user's signature, the method further includes: Instructing the target jump cluster to obtain the current page address corresponding to the current system link uniform resource locator in the target system link uniform resource locator information; The target jump cluster is instructed to switch to a target page corresponding to the target jump cluster according to the current page address, and the target page is displayed to the user.
8. A cross-cluster password-free login device, characterized in that: include: A source cluster configuration description information acquisition module is used to acquire a target source cluster and acquire source cluster configuration description information corresponding to the target source cluster; The source cluster configuration description information includes a target source cluster type and at least one system link uniform resource locator information; The current jump cluster task acquisition module is used to obtain the current jump cluster task in real time when it is determined that the target source cluster is in a logged-in state; The current jump cluster task analysis result determination module is used to determine whether the target source cluster type hits the preset standard source cluster type. If so, the current jump cluster task is analyzed to obtain the current jump cluster task analysis result; A target jump cluster determination module, configured to determine a target jump cluster according to the current jump cluster task parsing result and each of the system link uniform resource locator information; The target system link uniform resource locator information sending module is used to send the target system link uniform resource locator information to the target jump cluster, so that the target jump cluster can perform a cross-cluster password-free login operation according to the target system link uniform resource locator information.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the cross-cluster password-free login method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cross-cluster password-free login method according to any one of claims 1 to 7 when executed.
