CN111683091A - Method, device, equipment and storage medium for accessing cloud host console - Google Patents
Method, device, equipment and storage medium for accessing cloud host console Download PDFInfo
- Publication number
- CN111683091A CN111683091A CN202010513476.0A CN202010513476A CN111683091A CN 111683091 A CN111683091 A CN 111683091A CN 202010513476 A CN202010513476 A CN 202010513476A CN 111683091 A CN111683091 A CN 111683091A
- Authority
- CN
- China
- Prior art keywords
- program
- cloud host
- host console
- preset
- login information
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000004590 computer program Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 8
- 238000011161 development Methods 0.000 abstract description 4
- 238000007726 management method Methods 0.000 description 33
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 230000008901 benefit Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000013515 script Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- UXOWGYHJODZGMF-QORCZRPOSA-N Aliskiren Chemical compound COCCCOC1=CC(C[C@@H](C[C@H](N)[C@@H](O)C[C@@H](C(C)C)C(=O)NCC(C)(C)C(N)=O)C(C)C)=CC=C1OC UXOWGYHJODZGMF-QORCZRPOSA-N 0.000 description 1
- 229960004601 aliskiren Drugs 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- 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
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a method, a device, equipment and a storage medium for accessing a cloud host console, wherein the method comprises the following steps: accessing a cloud host console into a preset NoVNC program, wherein the preset NoVNC program is used for acquiring login information of the cloud host console; acquiring corresponding login information through the preset NoVNC program, wherein the login information is a port and a password corresponding to the cloud host console; obtaining an accessible URL according to the login information to log in the cloud host console; unified entries and interfaces can be provided for users to use in the hybrid cloud management platform, and the users can log in a cloud host console without acquiring VNC passwords and the implementation principle of the VNC passwords, so that the method is convenient and simple; in the hybrid cloud management platform, when other cloud environments are managed and virtualized, additional development is not needed, and the hybrid cloud management platform can be directly accessed; the cloud host console has the property of independent deployment, and even if the hybrid cloud management platform cannot log in, the cloud host console can normally log in.
Description
Technical Field
The invention relates to the technical field of data cloud management in smart city big data management, in particular to a method, a device, equipment and a storage medium for accessing a cloud host console.
Background
The hybrid cloud is a combination of two service modes, namely a public cloud and a private cloud; for security and control reasons, not all enterprise information can be placed on a public cloud, so most enterprises that have applied cloud computing will use a hybrid cloud model. Many will choose to use public cloud and private cloud at the same time, and some will also establish public cloud at the same time; because public clouds will only charge for resources used by users, a centralized cloud will become a very inexpensive way to handle peak demand; for example, for some retailers, their operational needs may increase dramatically with the arrival of holidays, or some businesses may be seasonally promoted. Meanwhile, the hybrid cloud also provides a good foundation for the elastic requirements of other purposes, such as disaster recovery; this means that private clouds use the public cloud as a platform for disaster transfer and use it when needed; this is a very cost-effective concept; another good idea is to use the public cloud as an optional platform, while selecting other public clouds as disaster transfer platforms.
The hybrid cloud integrates a public cloud and a private cloud, and internal important data are stored in a local data center by utilizing the safety of the private cloud; meanwhile, computing resources of public clouds can be used, work can be completed more efficiently and quickly, and the cloud computing system is more complete compared with a private cloud or a public cloud; the hybrid cloud breaks through the hardware limitation of the private cloud, and higher computing capacity can be obtained at any time by utilizing the expandability of the public cloud. The enterprise can reduce the pressure and the requirement on the internal private cloud by moving the non-confidential function to the public cloud area; the hybrid cloud can effectively reduce the cost. The cloud platform can use both public cloud and private cloud, and enterprises can place application programs and data on the most suitable platform to obtain the best benefit combination.
At present, a cloud management platform formed by a hybrid cloud needs to be provided with plug-ins, the plug-ins are installed and then log in the cloud management platform, and the cloud management platform needs user passwords; and for different cloud management platforms, the management of different cloud management platforms is required to be realized, and larger resources are required to be consumed for management.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide an access cloud host console method and a corresponding access cloud host console apparatus that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for accessing a cloud host console, where the method includes:
accessing a cloud host console into a preset NoVNC program, wherein the preset NoVNC program is used for acquiring and analyzing login information of the cloud host console;
acquiring corresponding login information through the preset NoVNC program, wherein the login information is a port and a password corresponding to the cloud host console;
and obtaining an accessible URL according to the login information to log in the cloud host console.
Further, before accessing the cloud host console to a preset nonvnc program, where the preset nonvnc program is used to acquire and analyze login information of the cloud host console, the method includes:
accessing a cloud host console through a hybrid cloud management platform;
and accessing the cloud host console to the preset NoVNC program.
Further, the accessing the cloud host console to a preset nonvnc program, where the preset nonvnc program is used to acquire and analyze login information of the cloud host console, and includes:
forwarding the cloud host console into a virtual machine;
and accessing the preset NoVNC program in the virtual machine.
Further, the accessing the cloud host console to a preset nonvnc program, where the preset nonvnc program is used to acquire and analyze login information of the cloud host console, and the setting method of the preset nonvnc program includes:
compiling a NOVNC program through Python;
generating jar files by the compiled NOVNC programs;
uploading the jar file to a deployment server;
decompressing the jar file in the deployment server, and configuring an environment variable;
and starting the configuration environment variable through a preset command to obtain a preset NoVNC program.
Further, the obtaining, by the preset nonvnc program, corresponding login information, where the login information is a port and a password corresponding to the cloud host console, includes:
acquiring a user name and a user password by calling an interface of a cloud host;
arranging and encrypting the acquired user name and the user password;
and analyzing the arranging and encrypting process by adopting a NOVNC program to obtain login information.
Further, the obtaining an accessible URL according to the login information to log in the cloud host console includes:
generating an accessible URL by populating the login information;
returning the accessible URL to the cloud host console and logging into the cloud host console.
The embodiment of the invention also discloses a device for accessing the cloud host console, which comprises:
the system comprises a presetting module, a login module and a management module, wherein the presetting module is used for accessing a cloud host console to a preset NoVNC program, and the preset NoVNC program is used for acquiring and analyzing login information of the cloud host console;
the acquisition module is used for acquiring corresponding login information through the preset NoVNC program, wherein the login information is a port and a password corresponding to the cloud host console;
and the login module is used for acquiring an accessible URL according to the login information and logging in the cloud host console.
The embodiment of the present invention also discloses a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in any one of the above embodiments.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the program is executed by a processor, the steps of the method are realized.
The embodiment of the invention has the following advantages: in order to provide a uniform cloud host console login mode and a uniform interface for a user in a hybrid cloud management platform and provide better use experience for the user, the cloud host console is accessed into a preset nonVNC program in the invention, wherein the preset nonVNC program is used for acquiring login information of the cloud host console; acquiring corresponding login information through the preset NoVNC program, wherein the login information is a port and a password corresponding to the cloud host console; obtaining an accessible URL according to the login information to log in the cloud host console; the user does not need to obtain the port and the password of the VNC of the cloud host by himself, and the program can be automatically obtained and submitted, so that the complexity of the user in using the cloud host console is reduced, any bottom information cannot be exposed to the user, and the safety protection is improved; when the cloud management platform manages various virtual machines and management platforms thereof, the problem of login of a cloud host does not need to be considered, additional development is not needed, and the complexity of management is reduced; when the hybrid cloud management platform is unavailable, the user can still log in the cloud host to control, and the high availability of the user for logging in the cloud host console is improved.
Drawings
FIG. 1 is a flowchart illustrating steps of a first embodiment of a method for accessing a cloud host console according to the present invention;
FIG. 2 is a flowchart illustrating steps of a second embodiment of a method for accessing a cloud host console according to the present invention;
FIG. 3 is a flowchart illustrating steps of a third method for accessing a cloud host console according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating the fourth step of a method for accessing a cloud host console according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart illustrating the fifth step of a method for accessing a cloud host console according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating steps of a sixth embodiment of a method for accessing a cloud host console;
fig. 7 is a block diagram of a first embodiment of an apparatus for accessing a cloud host console according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating a first step of a method for accessing a cloud host console according to a first embodiment of the present invention is shown, which may specifically include the following steps:
step S10, accessing a cloud host console to a preset NoVNC program, wherein the preset NoVNC program is used for acquiring and analyzing login information of the cloud host console;
step S20, obtaining corresponding login information through the preset noVNC program, where the login information is a port and a password corresponding to the cloud host console;
and step S30, obtaining accessible URL according to the login information and logging in the cloud host console.
The method comprises the steps that a cloud host console is accessed to a NoVNC program, the NoVNC program is translated into a tool which is used for remotely managing a desktop in the VNC field, and the purpose is to remotely access a Windows desktop through a browser, wherein the NoVNC program is a preset NoVNC program, login information of the cloud host console is obtained and analyzed according to the preset NoVNC program, and a port and a password of VNC are obtained through interfaces of all cloud host consoles; after a user initiates a request for logging in a cloud host console, a NOVNC program calls an interface of a cloud host to obtain a password and a port of the VNC, then an accessible URL is formed after arranging, encrypting and combining are carried out, a browser accesses the URL, and after the NOVNC program obtains the accessible URL, the NOVNC program analyzes the accessible URL and logs in and accesses the cloud host console through the accessible URL.
In the embodiment of the invention, through deploying the modified NoVNC program, different cloud manufacturers use their own control consoles before modification, for example, the control console of clouttsack has low interface definition and the interface is very blocked; for fuison computer is a self-developed VNC console; the same is true for vmware cloud vendors; after the transformation, a unified VNC is used for login, so that the login difference of all cloud manufacturer control consoles can be shielded; when a user accesses the console according to the modified NoVNC program, automatic login is achieved through the modified NoVNC program, the user name and the user password of the VNC of the cloud host are obtained, the obtained user name and the obtained password are automatically filled in through the NoVNC program to generate an accessible URL, the modified NoVNC program analyzes the accessible URL, and the user name and the user password are obtained through analysis and are used for logging in the console of the cloud host.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of a method for accessing a cloud host console according to the present invention is shown, where the method accesses a cloud host console to a preset nonvnc program, where before the preset nonvnc program is used to obtain and analyze login information of the cloud host console, the method may specifically include the following steps:
step S101, accessing a cloud host console through a hybrid cloud management platform;
and step S102, accessing the cloud host console to the preset NoVNC program.
In the embodiment of the present invention, the cloud host console is accessed through the hybrid cloud management platform, and then the cloud host console to be accessed is accessed into the nonvnc program, wherein the hybrid cloud management platform can realize management of the public cloud and the private cloud together, and currently, mainstream public cloud manufacturers mainly include: aliskiren, Tengchong cloud, Huazhiyun, UCloud, Jingdong cloud, Baidu cloud and foreign AWS, Azurie, Google cloud, etc.; while a general private cloud is either OpenStack (open source), or VMWare (charging); the hybrid cloud management platform is a platform capable of putting the cloud computing resources of the manufacturers together for unified management.
In the embodiment of the invention, the cloud host console is accessed through the hybrid cloud management platform, and then the cloud host console is accessed into the NOVNC program, so that the problem that the unified access cannot be realized due to different mechanisms of various types of hybrid cloud management platforms can be solved, and the unified access can be effectively realized even under various types of hybrid cloud management platforms.
Referring to fig. 3, a flowchart illustrating a third step of the method for accessing a cloud host console according to the third embodiment of the present invention is shown, where the cloud host console is accessed to a preset nonvnc program, where the preset nonvnc program is used to obtain and analyze login information of the cloud host console, and the method specifically includes the following steps:
step S103, forwarding the cloud host console to a virtual machine;
and step S104, accessing the preset NoVNC program in the virtual machine.
In the embodiment of the invention, the cloud host console is forwarded to the virtual machine, and the cloud host console is accessed to the NOVNC program in the virtual machine, namely, the cloud host console can be accessed to the cloud host console through the hybrid cloud management platform, the cloud host console to be accessed is forwarded and is accessed to the NOVNC program in the preset virtual machine, so that the cloud host console can be accessed to the preset NOVNC program by the hybrid cloud management platform, the analysis and the automatic acquisition of the user name and the user password in the user information are realized through the NOVNC program, the user name and the user password are used for logging in the cloud host console, the user can directly log in without consuming time to acquire the user name and the user password of the cloud host console, namely, the user information is not required to be acquired, and the use experience of the user is improved.
Referring to fig. 4, a flowchart illustrating fourth steps of a method for accessing a cloud host console according to a fourth embodiment of the present invention is shown, where the cloud host console is accessed to a preset nonvnc program, where the preset nonvnc program is used to acquire and analyze login information of the cloud host console, and the method for setting the preset nonvnc program may specifically include the following steps:
step S105, compiling a NOVNC program through Python;
step S106, generating jar files by the compiled NOVNC program;
step S107, uploading the jar file to a deployment server;
step S108, after decompressing the jar file in the deployment server, configuring an environment variable;
step S109, the configuration environment variable is started through a preset command to obtain a preset NoVNC program;
in the embodiment of the invention, the NOVNC program is compiled through Python, wherein the Python is translated into a computer programming language which is a cross-platform computer programming language; the method is a high-level script language combining the interpretability, the compilation performance, the interactivity and the object facing; originally designed for writing automated scripts (shells), the more they are used for the development of independent, large projects with the continual updating of versions and the addition of new functionality in language; generating jar files according to the compiled NOVNC programs; uploading the jar file into a deployment server, decompressing the jar file by the deployment server, and starting by a command according to the configured environment variable obtained by decompression and the configured environment variable to obtain a preset NOVNC program; the method comprises the steps that corresponding login information is obtained for a cloud host console needing to be accessed through a preset NoVNC program, a user does not need to obtain the login information by himself, the login information is automatically obtained and submitted through the preset NoVNC program, the user name and the password of the VNC of the cloud host are obtained, then the obtained user name and the password are automatically filled in by the program to generate an accessible URL, and the accessible URL is analyzed through the preset NoVNC program to obtain the login information used for logging in the cloud host console; the login information can be acquired through the preset NoVNC program, the accessed hybrid cloud pipe platforms can be managed, and different hybrid cloud pipe platforms can be accessed in a unified mode.
Referring to fig. 5, a flowchart illustrating a fifth step of a method for accessing a cloud host console according to an embodiment of the present invention is shown, where the preset nonvnc program is used to obtain corresponding login information, where the login information is a port and a password corresponding to the cloud host console, and the method specifically includes the following steps:
step S201, acquiring a user name and a user password by calling an interface of a cloud host;
step S202, arranging and encrypting the acquired user name and the user password;
step S203, analyzing the arranging and encrypting process by adopting a NOVNC program to obtain login information.
In the embodiment of the invention, a user name and a user password are obtained by calling an interface of a cloud host, the obtained user name and the user password are arranged and encrypted, and the arranged and encrypted processing is analyzed by adopting a NOVNC program to obtain login information; acquiring login information corresponding to the access to the cloud host console through a preset NoVNC program; the login information and the cloud host console are the only corresponding user name and user password, so that the user does not need to acquire login related information and automatically submits the login related information, the complexity of the user use is reduced, the access of various hybrid cloud management platforms can be compatible, the installation of plug-ins can be omitted, and the login related information can be protected.
Referring to fig. 6, a flowchart illustrating a sixth step of a method for accessing a cloud host console according to an embodiment of the present invention is shown, where the method obtains an accessible URL according to the login information to log in the cloud host console, and the method may specifically include the following steps:
step S301, generating an accessible URL by filling the login information;
step S302, the accessible URL is returned to the cloud host console, and the cloud host console is logged in.
In the embodiment of the invention, an accessible URL is generated by filling the login information, the accessible URL is returned to the cloud host console, and the cloud host console is logged in; the obtained unique corresponding port and password are filled in as the accessible URL, and the NOVNC program is used for analyzing and extracting, so that the leakage of login information can be effectively avoided, a user can log in without knowing the login information, and the user can log in to the cloud host console according to the accessible URL.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 7, a block diagram of a first embodiment of a method for accessing a cloud host console of the present invention is shown, which may specifically include the following modules:
a preset module 1001, configured to access a cloud host console to a preset nonvnc program, where the preset nonvnc program is used to acquire and analyze login information of the cloud host console;
an obtaining module 1002, configured to obtain, through the preset nonvnc program, corresponding login information, where the login information is a port and a password corresponding to the cloud host console;
a login module 1003, configured to acquire an accessible URL according to the login information and log in the cloud host console.
In a preferred embodiment, the provisioning module 1001 is configured to access a cloud host console to a pre-provisioned nonvnc program, where the pre-provisioned nonvnc program is configured to acquire and analyze login information of the cloud host console, and includes:
the access unit is used for accessing the cloud host console through the hybrid cloud management platform;
and the access subunit is used for accessing the cloud host console to the preset NoVNC program.
In a preferred embodiment, the provisioning module 1001 is configured to access a cloud host console to a pre-provisioned nonvnc program, where the pre-provisioned nonvnc program is configured to acquire and analyze login information of the cloud host console, and includes:
the forwarding unit is used for forwarding the cloud host console to the virtual machine;
and the NoVNC program unit is used for accessing a preset NoVNC program in the virtual machine.
In a preferred embodiment, the preset module 1001 is configured to access a cloud host console to a preset nonvnc program, where the preset nonvnc program is configured to acquire and analyze login information of the cloud host console, and the preset nonvnc program setting method includes:
the compiling unit is used for compiling the NOVNC program through Python;
the first generation unit is used for generating jar files by the compiled NOVNC program;
the uploading unit is used for uploading the jar file to a deployment server;
the configuration unit is used for decompressing the jar file in the deployment server and configuring an environment variable;
and the starting unit is used for starting the configuration environment variable through a preset command to obtain a preset NoVNC program.
In a preferred embodiment, the obtaining module 1002 is configured to obtain, by using the preset nonvnc program, corresponding login information, where the login information is a port and a password corresponding to the cloud host console, and the obtaining module includes:
the acquisition subunit acquires a user name and a user password by calling an interface of the cloud host;
the encryption unit is used for performing arrangement encryption processing on the acquired user name and the user password;
and the analysis unit is used for analyzing the arranging and encrypting process by adopting a NOVNC program to acquire the login information.
In a preferred embodiment, the login module 1003 is configured to obtain an accessible URL according to the login information to log in the cloud host console, and includes:
a second generation unit configured to generate an accessible URL by populating the login information;
and the login unit is used for returning the accessible URL to the cloud host console and logging in the cloud host console.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides a computer device, where the computer device is represented in a general computing device, and components of the computer device may include but are not limited to: one or more processors or processing units, a system memory, and a bus connecting the various system components (including the system memory and the processing units).
The computer device typically includes a variety of computer system readable media. Such media may be any available media that is accessible by a computing device and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) and/or cache memory. The computer device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system may be used to read from and write to non-removable, nonvolatile magnetic media (commonly referred to as "hard disk drives"). A magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus by one or more data media interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility having a set (at least one) of program modules may be stored, for example, in memory, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination may comprise an implementation of a network environment. The program modules generally perform the functions and/or methodologies of the described embodiments of the invention.
The computer device may also communicate with one or more external devices (e.g., keyboard, pointing device, display, camera, etc.), with one or more devices that enable a user to interact with the computer device, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface. Also, the computer device may communicate with one or more networks (e.g., a Local Area Network (LAN)), a Wide Area Network (WAN), and/or a public network (e.g., the internet) through the network adapter. As shown, the network adapter communicates with other modules of the computer device over a bus. It should be appreciated that other hardware and/or software modules may be used in conjunction with the computer device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit executes various functional applications and data processing by running programs stored in the system memory, for example, implementing the method for accessing the cloud host console provided by the embodiment of the present invention.
Namely, the processing unit implements: the cloud host console is accessed to a NOVNC program; the NoVNC program is a preset NoVNC program; acquiring corresponding login information through the preset NoVNC program; submitting the obtained login information to obtain an accessible URL; and logging in the cloud host console according to the accessible URL.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs a method for accessing a cloud host console according to an embodiment of the present application.
The embodiment of the invention has the following advantages: in order to provide a uniform cloud host console login mode and a uniform interface for a user in a hybrid cloud management platform and provide better use experience for the user, the cloud host console is accessed into a preset nonVNC program in the invention, wherein the preset nonVNC program is used for acquiring login information of the cloud host console; acquiring corresponding login information through the preset NoVNC program, wherein the login information is a port and a password corresponding to the cloud host console; obtaining an accessible URL according to the login information to log in the cloud host console; the user does not need to obtain the port and the password of the VNC of the cloud host by himself, and the program can be automatically obtained and submitted, so that the complexity of the user in using the cloud host console is reduced, any bottom information cannot be exposed to the user, and the safety protection is improved; when the cloud management platform manages various virtual machines and management platforms thereof, the problem of login of a cloud host does not need to be considered, additional development is not needed, and the complexity of management is reduced; when the hybrid cloud management platform is unavailable, the user can still log in the cloud host to control, and the high availability of the user for logging in the cloud host console is improved.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method, the device, the equipment and the storage medium for accessing the cloud host console provided by the invention are introduced in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (9)
1. A method for accessing a cloud host console, comprising:
accessing a cloud host console into a preset NoVNC program, wherein the preset NoVNC program is used for acquiring and analyzing login information of the cloud host console;
acquiring corresponding login information through the preset NoVNC program, wherein the login information is a port and a password corresponding to the cloud host console;
and obtaining an accessible URL according to the login information to log in the cloud host console.
2. The method of claim 1, wherein the accessing the cloud host console to a preset nonVNC program, before the preset nonVNC program is used for acquiring and analyzing the login information of the cloud host console, comprises:
accessing a cloud host console through a hybrid cloud management platform;
and accessing the cloud host console to the preset NoVNC program.
3. The method of claim 1, wherein the accessing the cloud host console to a preset nonVNC program, wherein the preset nonVNC program is used for acquiring and analyzing login information of the cloud host console, and comprises:
forwarding the cloud host console into a virtual machine;
and accessing the preset NoVNC program in the virtual machine.
4. The method of claim 1, wherein the accessing the cloud host console to a preset nonVNC program, wherein the preset nonVNC program is used for acquiring and analyzing login information of the cloud host console, and the method for setting the preset nonVNC program comprises:
compiling a NOVNC program through Python;
generating jar files by the compiled NOVNC programs;
uploading the jar file to a deployment server;
after decompressing the jar file in the deployment server, configuring an environment variable;
and starting the configuration environment variable through a preset command to obtain a preset NoVNC program.
5. The method of claim 1, wherein the obtaining the corresponding login information through the preset nonVNC program, wherein the login information is a port and a password corresponding to the cloud host console, comprises:
acquiring a user name and a user password by calling an interface of a cloud host;
arranging and encrypting the acquired user name and the user password;
and analyzing the arranging and encrypting process by adopting a NOVNC program to obtain login information.
6. The method of claim 1, wherein the logging into the cloud host console according to the accessible URL obtained from the login information comprises:
generating an accessible URL by populating the login information;
returning the accessible URL to the cloud host console and logging into the cloud host console.
7. An access cloud host console device, comprising:
the system comprises a presetting module, a login module and a management module, wherein the presetting module is used for accessing a cloud host console to a preset NoVNC program, and the preset NoVNC program is used for acquiring and analyzing login information of the cloud host console;
the acquisition module is used for acquiring corresponding login information through the preset NoVNC program, wherein the login information is a port and a password corresponding to the cloud host console;
and the login module is used for acquiring an accessible URL according to the login information and logging in the cloud host console.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any one of claims 1 to 6 when executing the program.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010513476.0A CN111683091A (en) | 2020-06-08 | 2020-06-08 | Method, device, equipment and storage medium for accessing cloud host console |
PCT/CN2020/118892 WO2021151297A1 (en) | 2020-06-08 | 2020-09-29 | Method, apparatus, and device for accessing cloud host console, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010513476.0A CN111683091A (en) | 2020-06-08 | 2020-06-08 | Method, device, equipment and storage medium for accessing cloud host console |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111683091A true CN111683091A (en) | 2020-09-18 |
Family
ID=72435534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010513476.0A Pending CN111683091A (en) | 2020-06-08 | 2020-06-08 | Method, device, equipment and storage medium for accessing cloud host console |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111683091A (en) |
WO (1) | WO2021151297A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112800409A (en) * | 2021-01-08 | 2021-05-14 | 杭州雾联科技有限公司 | Method, device and medium for bypassing login protection |
WO2021151297A1 (en) * | 2020-06-08 | 2021-08-05 | 平安科技(深圳)有限公司 | Method, apparatus, and device for accessing cloud host console, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104702624A (en) * | 2015-03-27 | 2015-06-10 | 深圳市研唐科技有限公司 | Method and system for logging virtual machine based on Cloud Stack platform |
US20150371032A1 (en) * | 2014-06-18 | 2015-12-24 | Dell Products, Lp | Method to Securely Authenticate Management Server Over Un-Encrypted Remote Console Connection |
WO2019080010A1 (en) * | 2017-10-25 | 2019-05-02 | 深圳市互盟科技股份有限公司 | Cloud computing-based virtual machine control system and method therefor |
CN110502315A (en) * | 2019-08-26 | 2019-11-26 | 浪潮云信息技术有限公司 | A kind of method, apparatus and system remotely accessing physical machine |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106570352A (en) * | 2015-10-12 | 2017-04-19 | 中国石油化工股份有限公司 | Method and device for using software resource remotely without password |
CN108628716B (en) * | 2017-03-21 | 2020-12-25 | 腾讯科技(深圳)有限公司 | Information receiving and managing system, method and device |
CN107846304A (en) * | 2017-09-14 | 2018-03-27 | 浙江广播电视集团 | A kind of automation engine of mixing cloud service architecture centralized management |
CN111683091A (en) * | 2020-06-08 | 2020-09-18 | 平安科技(深圳)有限公司 | Method, device, equipment and storage medium for accessing cloud host console |
-
2020
- 2020-06-08 CN CN202010513476.0A patent/CN111683091A/en active Pending
- 2020-09-29 WO PCT/CN2020/118892 patent/WO2021151297A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150371032A1 (en) * | 2014-06-18 | 2015-12-24 | Dell Products, Lp | Method to Securely Authenticate Management Server Over Un-Encrypted Remote Console Connection |
CN104702624A (en) * | 2015-03-27 | 2015-06-10 | 深圳市研唐科技有限公司 | Method and system for logging virtual machine based on Cloud Stack platform |
WO2019080010A1 (en) * | 2017-10-25 | 2019-05-02 | 深圳市互盟科技股份有限公司 | Cloud computing-based virtual machine control system and method therefor |
CN109997345A (en) * | 2017-10-25 | 2019-07-09 | 深圳市互盟科技股份有限公司 | Virtual machine control system and its method based on cloud computing |
CN110502315A (en) * | 2019-08-26 | 2019-11-26 | 浪潮云信息技术有限公司 | A kind of method, apparatus and system remotely accessing physical machine |
Non-Patent Citations (1)
Title |
---|
谭宇飞: ""智能测试***云管理平台的设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021151297A1 (en) * | 2020-06-08 | 2021-08-05 | 平安科技(深圳)有限公司 | Method, apparatus, and device for accessing cloud host console, and storage medium |
CN112800409A (en) * | 2021-01-08 | 2021-05-14 | 杭州雾联科技有限公司 | Method, device and medium for bypassing login protection |
Also Published As
Publication number | Publication date |
---|---|
WO2021151297A1 (en) | 2021-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10977111B2 (en) | Constraint solver execution service and infrastructure therefor | |
US11178207B2 (en) | Software version control without affecting a deployed container | |
US8892945B2 (en) | Efficient application management in a cloud with failures | |
US10977167B2 (en) | Application monitoring with a decoupled monitoring tool | |
CN111695156A (en) | Service platform access method, device, equipment and storage medium | |
US10061665B2 (en) | Preserving management services with self-contained metadata through the disaster recovery life cycle | |
US10223218B2 (en) | Disaster recovery of managed systems | |
US10803166B1 (en) | Automated determination of application privileges | |
US11960578B2 (en) | Correspondence of external operations to containers and mutation events | |
US20190377615A1 (en) | Instructing the use of application programming interface commands in a runtime environment | |
US11838296B1 (en) | Providing secure software project development environments | |
CN111683091A (en) | Method, device, equipment and storage medium for accessing cloud host console | |
US9513948B2 (en) | Automated virtual machine provisioning based on defect state | |
US20200167244A1 (en) | System, method and recording medium for antifragile computing problem management | |
US11288170B1 (en) | Log analysis debugging without running on real production environment | |
CN112491940A (en) | Request forwarding method and device of proxy server, storage medium and electronic equipment | |
WO2023084345A1 (en) | Automated deployment of enterprise archive with dependency on application server via script | |
CN110968421A (en) | Cluster management method, device and system | |
US11501014B2 (en) | Secure data replication in distributed data storage environments | |
US11188249B2 (en) | Storage alteration monitoring | |
KR20150096286A (en) | Methods of Cloud BigData Analysis by using available personal computer | |
US9092397B1 (en) | Development server with hot standby capabilities | |
EP2869245A2 (en) | Service modeling and execution | |
CN112835595B (en) | Method, device, equipment and medium for running AIX system on small core architecture | |
Cecowski et al. | Cloud computing applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200918 |
|
RJ01 | Rejection of invention patent application after publication |