CN117499239A - Method, device, equipment and medium for automatically receiving and delivering cloud platform user into fort machine - Google Patents

Method, device, equipment and medium for automatically receiving and delivering cloud platform user into fort machine Download PDF

Info

Publication number
CN117499239A
CN117499239A CN202311403441.1A CN202311403441A CN117499239A CN 117499239 A CN117499239 A CN 117499239A CN 202311403441 A CN202311403441 A CN 202311403441A CN 117499239 A CN117499239 A CN 117499239A
Authority
CN
China
Prior art keywords
information
host
user
result
cloud platform
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
Application number
CN202311403441.1A
Other languages
Chinese (zh)
Inventor
袁振州
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Citic Bank Corp Ltd
Original Assignee
China Citic Bank Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Citic Bank Corp Ltd filed Critical China Citic Bank Corp Ltd
Priority to CN202311403441.1A priority Critical patent/CN117499239A/en
Publication of CN117499239A publication Critical patent/CN117499239A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a method, a device, equipment and a medium for automatically receiving a tube to a fort machine by a cloud platform user, relating to the technical field of cloud computing, and comprising the following steps: acquiring first information and second information; host information is compared one by one according to the first information and the second information to obtain a first host list; according to the first host list, a user creation result is obtained through calling a cloud platform interface and executing script processing; obtaining a user verification result according to the user information in the user creation result; performing format conversion processing according to the user information which is successfully checked in the user checking result to obtain an importing result; and updating the corresponding host records in the cloud management platform database information according to the importing result. According to the invention, the user accessing the bastion machine is automatically created according to the relevant specification, and the bastion machine is accessed, so that the automatic nano tube for the cloud platform user can be completed by only calling the existing AP I based on the existing tools and functions.

Description

Method, device, equipment and medium for automatically receiving and delivering cloud platform user into fort machine
Technical Field
The invention relates to the technical field of cloud computing, in particular to a method, a device, equipment and a medium for automatically receiving a tube to a fort machine by a cloud platform user.
Background
In modern cloud computing environments, host information management in the cloud platform is a critical task. The number and configuration of hosts on a cloud platform may change frequently, and it is important to manage information about these hosts, including additions, modifications, and deletions to the hosts. However, the prior art suffers from problems when these hosts need to be mated with the fort. The current technology mainly manages the information of the hosts by a manual mode, and adds, modifies and deletes the information of the hosts by the manual mode, so that the efficiency is low and errors are easy to generate. Another approach is to rely on some basic automation tools that, while capable of achieving a degree of automation, still fail to meet the needs of large-scale and complex cloud platform environments.
Based on the above-mentioned drawbacks of the prior art, a method for automatically receiving a tube from a cloud platform user to a fort machine is needed.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a medium for automatically receiving a tube to a fort machine by a cloud platform user so as to solve the problems. In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, the present application provides a method for cloud platform user to automatically nanotube to a fort machine, including:
acquiring first information and second information, wherein the first information comprises at least one cloud platform host information to be added into a fort machine, the second information comprises cloud management platform database information, and the cloud management platform database information comprises at least one cloud platform host information which is successfully added into the fort machine;
performing host information comparison processing one by one according to the first information and the second information to obtain a first host list, wherein the first host list comprises host information which is not added into a fort machine and host information which fails in a nano tube;
according to the first host list, a corresponding user is created for each host which is not added through calling a cloud platform interface and executing script processing, and a user creation result is obtained;
according to the user information in the user creation result, logging in a corresponding cloud platform host machine through simulation to carry out verification processing, and obtaining a user verification result;
format conversion processing is carried out according to the user information which is successfully verified in the user verification result, and the converted user information is led into a fort machine by calling a fort machine leading-in interface to lead in a file to obtain a leading-in result;
and updating the corresponding host record in the cloud management platform database information according to the importing result, and setting the host information of the accessed fort machine to be in an accessed state.
In a second aspect, the present application further provides an apparatus for cloud platform user automatic nanotube to fort machine, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first information and second information, the first information comprises at least one cloud platform host information to be added into a fort machine, the second information comprises cloud management platform database information, and the cloud management platform database information comprises at least one cloud platform host information which is successfully added into the fort machine;
the comparison module is used for carrying out host information comparison processing one by one according to the first information and the second information to obtain a first host list, wherein the first host list comprises host information which is not added into a fort machine and host information which fails in a nanotube;
the creation module is used for creating a corresponding user for each host which is not added through calling a cloud platform interface and executing script processing according to the first host list, so as to obtain a user creation result;
the verification module is used for logging on the corresponding cloud platform host machine through simulation to carry out verification processing according to the user information in the user creation result to obtain a user verification result;
the importing module is used for carrying out format conversion processing according to the user information which is successfully verified in the user verification result, and importing the converted user information into a fort machine by calling a fort machine importing interface to obtain an importing result;
and the updating module is used for updating the corresponding host record in the cloud management platform database information according to the importing result and setting the host information of the accessed fort machine to be in an accessed state.
In a third aspect, the present application further provides a cloud platform user automatic nanotube to fort machine device, including:
a memory for storing a computer program;
and the processor is used for realizing the method of automatically receiving the tubes to the fort machine by the cloud platform user when executing the computer program.
In a fourth aspect, the present application further provides a medium, where a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for automatically hosting a bastion to a bastion by a cloud platform user.
The beneficial effects of the invention are as follows:
according to the invention, the user accessing the bastion machine is automatically created according to the related specifications, and is accessed into the bastion machine, the transformation of the cloud platform and the bastion machine is not needed based on the existing tools and functions, and the automatic nano tube of the cloud platform user can be completed by only calling the existing API, so that the problems of low manual operation efficiency, easy error and the like are solved, and the bastion machine can be accessed in real time according to the change of the cloud platform.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for automatically receiving a tube from a bastion machine by a cloud platform user according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a device structure of a cloud platform user automatic nanotube-to-fort machine according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an apparatus structure of a cloud platform user automatic nanotube-to-fort machine according to an embodiment of the present invention.
The marks in the figure: 1. an acquisition module; 2. a comparison module; 21. a first comparison unit; 22. a first screening unit; 23. a first identification unit; 24. a first merging unit; 3. creating a module; 31. a first classification unit; 32. a first creation unit; 33. a second creation unit; 34. a second merging unit; 4. a checking module; 41. a first simulation unit; 42. a first analysis unit; 43. a first matching unit; 44. a first inspection unit; 5. an import module; 51. a first complement unit; 52. a first finishing unit; 53. a first conversion unit; 54. a first importing unit; 6. updating a module; 61. a first extraction unit; 62. a first search unit; 63. a first updating unit; 64. a second updating unit; 800. the cloud platform user automatically receives the device from the bastion machine; 801. a processor; 802. a memory; 803. a multimedia component; 804. an I/O interface; 805. a communication component.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Example 1:
the embodiment provides a method for automatically receiving a tube to a fort machine by a cloud platform user.
Referring to fig. 1, the method is shown to include steps S100, S200, S300, S400, S500, and S600.
Step S100, acquiring first information and second information, wherein the first information comprises at least one cloud platform host information to be added into the fort machine, the second information comprises cloud management platform database information, and the cloud management platform database information comprises at least one cloud platform host information which is successfully added into the fort machine.
It can be understood that in this step, the cloud management platform calls the cloud platform AP I to obtain the cloud platform host information. The cloud platform information processing module calls the AP I provided by the cloud platform, and can acquire relevant information of all cloud platform hosts, including information such as IP addresses, host names, operating systems and the like. This information is passed to the main processing module.
When the cloud management platform acquires the host information deleted by the cloud platform, the cloud management platform has the following processing flow:
step S110, the cloud management platform calls a cloud platform AP I to acquire deleted cloud platform host information. The cloud platform information processing module can acquire relevant information of all cloud platform hosts, including information such as IP addresses, host names, operating systems and the like, by calling the AP I provided by the cloud platform. And determining the deleted information of the host computer through the message transmitted by the cmdb, and transmitting the information to the main processing module.
Step S120, deleting information of the fort machine. The host processing module transmits information such as host addresses, host names, host login protocols and host users to the bastion information processing module, and the bastion information processing module deletes bastion records of the corresponding hosts by calling a deletion user api of the bastion.
And step S130, deleting the cloud management platform data information. The main processing module takes information such as a host address, a host name, a host login protocol, a host user and the like as key values, and deletes relevant host records in the cloud management platform database.
Step 200, comparing the host information one by one according to the first information and the second information to obtain a first host list, wherein the first host list comprises host information of the fort machine which is not added and host information of the nanotube failure.
It will be appreciated that the purpose of this step is to screen hosts that do not join the fort. It should be noted that step S200 includes step S210, step S220, step S230, and step S240.
And S210, obtaining a comparison result through information comparison processing according to the first information and the second information.
Step S220, according to the comparison result, the first information which is not in the second information is obtained through screening processing, and the host information which is not added is obtained.
Step S230, according to the information of the un-added host, the information of the failed host is obtained through the identification processing of the failed host.
Step S240, according to the host information which is not added and the host information which fails in the nano tube, a first host list is obtained by combining.
It can be understood that the cloud platform compares the host and user information transmitted from the cloud platform information processing module with the information in the database one by calling all the host and user information which are successfully added into the fort machine in the database, and the host and the user which are already existing in the database and are added into the fort machine do not need to be processed; hosts that are not in the database may be judged as hosts that did not join the fort and hosts that failed the nanotubes.
Step S300, according to the first host list, a corresponding user is created for each host which is not added through calling a cloud platform interface and executing script processing, and a user creation result is obtained.
It will be appreciated that the purpose of this step is to enable automatic creation of the user. It should be noted that step S300 includes step S310, step S320, step S330, and step S340.
Step S310, classifying according to the first host list, and distinguishing the host which is not added with the fort machine from the host which fails in the nano tube to obtain a specific list, wherein the specific list comprises the list of the host which is not added with the fort machine and the list of the host which fails in the nano tube.
Step S320, according to the host list of the fort machine which is not added, carrying out cloud platform interface call, and sending a request for creating a user to each host to obtain a primary request sending result.
Step S330, carrying out cloud platform interface calling according to the nano tube failure host list, and resending a request for creating a user to each host to obtain a resending request sending result.
And step 340, carrying out result combination and analysis processing according to the primary request sending result and the re-request sending result to obtain a final user creation result.
It can be understood that the cloud platform transmits the host computer which is not added with the fort machine and the host computer which is failed in the nano tube to the cloud platform information processing module, and the cloud platform information processing module calls the interface of the cloud platform to create corresponding users for the host computer which is not added with the fort machine and the host computer which is failed in the nano tube, including high-weight and low-weight users. In the process of creating the user, the creation result is obtained in time, and the occurrence of the abnormality can send out alarm information.
And step 400, logging in a corresponding cloud platform host machine through simulation to perform verification processing according to user information in the user creation result, and obtaining a user verification result.
It will be appreciated that the purpose of this step is to achieve automatic verification by the user. It should be noted that step S400 includes step S410, step S420, step S430, and step S440.
Step S410, according to the user creation result, performing simulated login on all users to obtain a first simulated login result, wherein the first simulated login result comprises user information of successful login and user information of login failure.
And step S420, performing error analysis processing on the user records with failed login according to the first simulated login result to obtain the error types of all failed users.
Step S430, performing matching processing according to the error types and a preset error processing strategy, and determining a corresponding processing method for each error type to obtain a processing scheme to be executed.
Step S440, corresponding operation is executed according to the processing scheme to be executed, and a final user verification result is obtained.
It can be understood that the cloud platform information processing module logs on the corresponding cloud platform host computer through the designated port, protocol, IP address, user and other information simulation, and determines whether the login is successful or not through the predetermined return character, so that the user is ensured to create error-free and password error-free. After the verification is completed, the verification result is written into a database, and whether the user verification is successful or not is marked. And sending out alarm information for the failed user.
And S500, performing format conversion processing according to the user information which is successfully verified in the user verification result, and importing the converted user information into the fort machine by calling a fort machine importing interface to obtain an importing result.
It will be appreciated that the purpose of this step is to form the fort import file in the format required by the fort. It should be noted that step S500 includes step S510, step S520, step S530, and step S540.
And step S510, carrying out additional information completion processing according to the successfully verified user information and a preset information completion rule to obtain complete user information.
And step S520, data arrangement is carried out according to the complete user information, and key fields are arranged to obtain the arranged user information.
And step S530, converting the format of the user information after finishing, and obtaining the imported file of the fort machine by converting the user information into the imported file format required by the fort machine.
Step S540, importing the file into the fort machine through the calling interface according to the obtained fort machine importing file, and obtaining an importing result.
It can be understood that in this step, relevant information is supplemented according to a predetermined rule, including a management IP address, a user name, a user password, a management port, a management protocol, an provisioning protocol, a connection port, an operating system type, a user group to be authorized, and the like, and a fort machine import file is formed according to a format required by the fort machine. And the imported file is transmitted to the information processing module of the fort machine. The information processing module of the fort machine calls a fort machine import interface to import the formed import file into the fort machine.
Step S600, updating corresponding host records in the cloud management platform database information according to the importing results, and setting the host information of the accessed fort machine to be in an accessed state.
It can be appreciated that the purpose of this step is to implement real-time updating of the cloud management platform database. It should be noted that step S600 includes step S610, step S620, step S630, and step S640.
And step S610, analyzing and extracting the imported result to obtain key information of the successfully imported host.
And step S620, searching corresponding host records in the cloud management platform database according to the key information to obtain host records to be updated.
Step 630, performing an update operation according to the host record to be updated, and changing the current record status into accessed state to obtain the updated host record.
And step 640, according to the updated host record, updating the cloud management platform database to obtain the final updated database information.
It can be understood that in the above step, the host record of the cloud management platform database is updated according to the imported file result, and the host accessed to the bastion host is set to be in an accessed state.
Step S700, performing error elimination processing on the fort failure user according to a preset processing flow.
For various reasons, there may be a failure of a user joining the fort through the steps above, for example: the password complexity does not meet the requirements of an operating system; the cloud platform host is destroyed, cannot log in and the like, and needs to be added into the fort machine again. The fort machine can perform simulated login on all users regularly, and if the simulated login fails, failure information is recorded. The information processing module of the fort machine periodically acquires the login failure information of the fort machine, and for the failure information, the following processing flow is provided:
step S710, the information processing module of the cloud management platform fort machine queries the fort machine login failure record and acquires the specific error reporting of the login failure.
Step S720, the information processing module of the fort machine judges the login failure reason according to the login failure record, and determines a processing method according to the specific reason.
Step S721, if the connection timeout keyword exists in the login failure reason, the connection failure is indicated, and meanwhile whether the host on the cloud platform is destroyed is judged.
Step 7211, the cloud platform information processing module queries the information of the host computer of the cloud platform, if the information of the host computer is not available, the information processing module of the fort machine deletes all records of the host computer in the fort machine, and deletes the corresponding records in the database. Otherwise, the alarm information needs to be sent to wait for manual processing.
Step 7211, if the host is successfully connected to the bastion machine, but the password error or the password complexity does not meet the operating system requirement, the bastion machine information processing module determines whether the keyword in the failed return information has the password error keyword.
Step 72111, if the password error keyword exists, the information processing module of the fort machine deletes the record of the corresponding host through the fort machine interface, deletes the corresponding record in the cloud management platform database, and sends out alarm information through the alarm notification module.
Because the information of the corresponding host and the user in the database is deleted and the information in the fort machine is also deleted, when the next timing operation is operated, the host and the user can be processed again according to the newly added condition without separate manual intervention.
Step 72112, if no password error keyword exists, the information processing module of the fort machine deletes the record of the corresponding host through the fort machine interface, sets the corresponding record in the cloud management platform database to be processed manually, and simultaneously notifies the manager by sending out alarm information to wait for manually adjusting the password strategy so as to meet the requirement of the operating system.
Through the operation, the error of the fort machine can be automatically eliminated by combining the main processing flow of the cloud pipe platform.
Example 2:
as shown in fig. 2, the embodiment provides an apparatus for automatically receiving a tube from a cloud platform user to a fort machine, where the apparatus includes:
the system comprises an acquisition module 1, a data processing module and a data processing module, wherein the acquisition module 1 is used for acquiring first information and second information, the first information comprises at least one cloud platform host information to be added into a fort machine, the second information comprises cloud management platform database information, and the cloud management platform database information comprises at least one cloud platform host information which is successfully added into the fort machine;
the comparison module is used for carrying out host information comparison processing one by one according to the first information and the second information to obtain a first host list, wherein the first host list comprises host information which is not added into the fort machine and host information which fails in the nano tube;
the creation module 3 is used for creating a corresponding user for each host computer which is not added according to the first host computer list through calling the cloud platform interface and executing script processing, so as to obtain a user creation result;
the checking module 4 is used for logging in the corresponding cloud platform host machine through simulation to perform checking processing according to the user information in the user creation result to obtain a user checking result;
the importing module 5 is used for performing format conversion processing according to the user information which is verified successfully in the user verification result, and importing the converted user information into the fort machine by calling a fort machine importing interface to obtain an importing result;
and the updating module 6 is used for updating the corresponding host record in the cloud management platform database information according to the importing result and setting the host information of the accessed fort machine to be in an accessed state.
In one embodiment of the present disclosure, the contrast module 2 includes:
a first comparing unit 21, configured to obtain a comparison result through an information comparison process according to the first information and the second information;
a first screening unit 22, configured to obtain first information that is not in the second information through screening according to the comparison result, and obtain host information that is not added;
a first identifying unit 23, configured to obtain, according to the host information that is not added, the host information that fails to receive the nanotubes through the identification process of the host that fails to receive the nanotubes;
the first merging unit 24 is configured to merge the non-joining host information and the failed nanotube host information to obtain a first host list.
In one embodiment of the present disclosure, the creation module 3 includes:
the first classification unit 31 is configured to perform classification processing according to the first host list, and distinguish a host that is not added to the fort machine from a host that fails to receive a specific list, where the specific list includes a fort machine list that is not added to the fort machine and a host that fails to receive a nanotube;
a first creating unit 32, configured to perform cloud platform interface call according to the host list of the fort host, send a request for creating a user to each host, and obtain a preliminary request sending result;
a second creating unit 33, configured to perform cloud platform interface call according to the list of the hosts with nanotube failure, and resend a request for creating a user to each host, so as to obtain a resent sending result;
and the second merging unit 34 is configured to perform result merging and analysis processing according to the primary request sending result and the re-request sending result to obtain a final user creation result.
In one embodiment of the present disclosure, the inspection module 4 includes:
a first simulation unit 41, configured to perform a simulated login for all users according to a user creation result to obtain a first simulated login result, where the first simulated login result includes user information of successful login and user information of failed login;
the first analysis unit 42 performs error analysis processing on the log-in failed user record according to the first simulated log-in result to obtain error types of each failed user;
a first matching unit 43, configured to perform matching processing according to the error types and a preset error processing policy, determine a corresponding processing method for each error type, and obtain a processing scheme to be executed;
the first checking unit 44 is configured to perform a corresponding operation according to the processing scheme to be performed, so as to obtain a final user checking result.
In one embodiment of the present disclosure, the import module 5 includes:
a first complementing unit 51, configured to perform additional information complementing processing according to the successfully verified user information and a preset information complementing rule, so as to obtain complete user information;
the first sorting unit 52 is configured to sort data according to the complete user information, and sort out key fields to obtain sorted user information;
a first conversion unit 53, configured to convert the format of the user information after finishing, and obtain an import file of the fort machine by converting the format of the import file into an import file format required by the fort machine;
the first importing unit 54 is configured to import the file into the fort machine through the call interface according to the obtained fort machine import file, so as to obtain an import result.
In one embodiment of the present disclosure, the update module 6 includes:
a first extraction unit 61, configured to analyze and extract the import result to obtain key information of a successfully imported host;
the first searching unit 62 is configured to search a corresponding host record in the cloud management platform database according to the key information, to obtain a host record to be updated;
a first updating unit 63, configured to perform an updating operation according to the host record to be updated, change the current recorded state to an accessed state, and obtain an updated host record;
and the second updating unit 64 is configured to perform an updating operation on the cloud management platform database according to the updated host record, so as to obtain final updated database information.
Example 3:
fig. 3 is a block diagram illustrating an apparatus 800 for a cloud platform user to automatically nanotube to a fort machine, according to an example embodiment. As shown in fig. 3, the cloud platform user automatic nanotube-to-bastion device 800 may include: a processor 801, a memory 802. The cloud platform user automated nanotube-to-fort device 800 may also include one or more of a multimedia component 803, an i/O interface 804, and a communication component 805.
The processor 801 is configured to control overall operation of the cloud platform user automatic nanotube to fort device 800 to complete all or part of the steps in the cloud platform user automatic nanotube to fort method described above. The memory 802 is used to store various types of data to support the operation of the device 800 at the cloud platform user's automated nanotube-to-fort machine, which may include, for example, instructions for any application or method operating on the cloud platform user's automated nanotube-to-fort machine device 800, as well as application related data such as contact data, messages sent and received, pictures, audio, video, and the like. The Memory 802 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 802 or transmitted through the communication component 805. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the cloud platform user's device 800 automatically hosting the fort machine and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near FieldCommunication, NFC for short), 2G, 3G or 4G, or a combination of one or more thereof, the respective communication component 805 may thus comprise: wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the cloud platform user automatic nanotube-to-fort device 800 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (DigitalSignal Processor, DSP for short), digital signal processing devices (Digital Signal Processing Device, DSPD for short), programmable logic devices (Programmable Logic Device, PLD for short), field programmable gate arrays (Field Programmable Gate Array, FPGA for short), controllers, microcontrollers, microprocessors, or other electronic components for performing the cloud platform user automatic nanotube-to-fort method described above.
In another exemplary embodiment, a computer readable storage medium is also provided that includes program instructions that when executed by a processor implement the steps of the method for cloud platform user automatic nanotube-to-fort described above. For example, the computer readable storage medium may be the memory 802 described above that includes program instructions executable by the processor 801 of the cloud platform user automated nanotube-to-fort device 800 to perform the cloud platform user automated nanotube-to-fort method described above.
Example 4:
corresponding to the above method embodiment, a readable storage medium is further provided in this embodiment, and a method for automatically receiving a user's cloud platform into a bastion machine by using the readable storage medium and the method described above can be referred to correspondingly.
A readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method for automatically hosting a bastion to a bastion machine by a cloud platform user of the above method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, and the like.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (14)

1. A method for automatically receiving a tube from a cloud platform user to a fort machine, comprising the steps of:
acquiring first information and second information, wherein the first information comprises at least one cloud platform host information to be added into a fort machine, the second information comprises cloud management platform database information, and the cloud management platform database information comprises at least one cloud platform host information which is successfully added into the fort machine;
performing host information comparison processing one by one according to the first information and the second information to obtain a first host list, wherein the first host list comprises host information which is not added into a fort machine and host information which fails in a nano tube;
according to the first host list, a corresponding user is created for each host which is not added through calling a cloud platform interface and executing script processing, and a user creation result is obtained;
according to the user information in the user creation result, logging in a corresponding cloud platform host machine through simulation to carry out verification processing, and obtaining a user verification result;
format conversion processing is carried out according to the user information which is successfully verified in the user verification result, and the converted user information is led into a fort machine by calling a fort machine leading-in interface to lead in a file to obtain a leading-in result;
and updating the corresponding host record in the cloud management platform database information according to the importing result, and setting the host information of the accessed fort machine to be in an accessed state.
2. The method for automatically receiving and managing a cloud platform user to a fort machine according to claim 1, wherein the host information is compared one by one according to the first information and the second information to obtain a first host list, and the method comprises the following steps:
according to the first information and the second information, obtaining a comparison result through information comparison processing;
according to the comparison result, screening to obtain first information which is not in the second information, and obtaining host information which is not added;
according to the non-joined host information, the identification processing of the nanotube failed host is carried out to obtain the nanotube failed host information;
and merging according to the non-joined host information and the nanotube failure host information to obtain a first host list.
3. The method for automatically receiving and managing a cloud platform user to a fort machine according to claim 1, wherein creating a corresponding user for each un-joined host by calling a cloud platform interface and executing script processing according to the first host list, to obtain a user creation result, comprises:
classifying according to the first host list, and distinguishing hosts which are not added with the fort machine from hosts which fail in the nano tube to obtain a specific list, wherein the specific list comprises the fort machine list which is not added with the fort machine and the host which fails in the nano tube;
according to the host list of the fort machine which is not added, carrying out cloud platform interface call, and sending a request for creating a user to each host to obtain a primary request sending result;
according to the list of the host computers with the failure of the nano tube, carrying out cloud platform interface calling, and resending a request for creating a user to each host computer to obtain a resending request sending result;
and carrying out result combination and analysis processing according to the primary request sending result and the re-request sending result to obtain a final user creation result.
4. The method for automatically receiving and managing the cloud platform user to the fort machine according to claim 1, wherein the method for obtaining the user verification result by performing simulated login to the corresponding cloud platform host according to the user information in the user creation result comprises the following steps:
according to the user creation result, performing simulated login on all users to obtain a first simulated login result, wherein the first simulated login result comprises user information of successful login and user information of login failure;
performing error analysis processing on the user records with failed login according to the first simulated login result to obtain error types of all failed users;
performing matching processing according to the error types and a preset error processing strategy, and determining a corresponding processing method for each error type to obtain a processing scheme to be executed;
and executing corresponding operation according to the processing scheme to be executed to obtain a final user verification result.
5. The method for automatically receiving and managing files to a fort machine by a cloud platform user according to claim 1, wherein the method for converting the format according to the user information which is verified successfully in the user verification result, and importing the converted user information into the fort machine by calling a fort machine import interface to obtain an import result comprises the following steps:
performing additional information completion processing according to the user information which is successfully checked and a preset information completion rule to obtain complete user information;
data arrangement is carried out according to the complete user information, and key fields are arranged to obtain arranged user information;
converting the format of the user information after finishing, and obtaining an import file of the fort machine by converting the user information into an import file format required by the fort machine;
and importing the file into the fort machine through the calling interface according to the obtained fort machine importing file, so as to obtain an importing result.
6. The method for automatically receiving a tube from a user of a cloud platform to a bastion machine according to claim 1, wherein updating a corresponding host record in the database information of the cloud platform according to the importing result, and setting the host information of the bastion machine to be in an accessed state, comprises:
analyzing and extracting the importing results to obtain key information of a successfully imported host;
according to the key information, searching a corresponding host record in the cloud management platform database to obtain a host record to be updated;
performing updating operation according to the host record to be updated, changing the current record state into accessed state, and obtaining an updated host record;
and according to the updated host record, updating the cloud management platform database to obtain the finally updated database information.
7. An apparatus for automatically receiving a tube from a cloud platform user to a fort machine, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first information and second information, the first information comprises at least one cloud platform host information to be added into a fort machine, the second information comprises cloud management platform database information, and the cloud management platform database information comprises at least one cloud platform host information which is successfully added into the fort machine;
the comparison module is used for carrying out host information comparison processing one by one according to the first information and the second information to obtain a first host list, wherein the first host list comprises host information which is not added into a fort machine and host information which fails in a nanotube;
the creation module is used for creating a corresponding user for each host which is not added through calling a cloud platform interface and executing script processing according to the first host list, so as to obtain a user creation result;
the verification module is used for logging on the corresponding cloud platform host machine through simulation to carry out verification processing according to the user information in the user creation result to obtain a user verification result;
the importing module is used for carrying out format conversion processing according to the user information which is successfully verified in the user verification result, and importing the converted user information into a fort machine by calling a fort machine importing interface to obtain an importing result;
and the updating module is used for updating the corresponding host record in the cloud management platform database information according to the importing result and setting the host information of the accessed fort machine to be in an accessed state.
8. The cloud platform user automated nanotube-to-fort device of claim 7, wherein said comparison module comprises:
the first comparison unit is used for obtaining a comparison result through information comparison processing according to the first information and the second information;
the first screening unit is used for obtaining first information which is not in the second information through screening processing according to the comparison result, and obtaining information which is not added into the host;
the first identification unit is used for obtaining the information of the nano tube failure host through the identification processing of the nano tube failure host according to the information of the un-added host;
and the first merging unit is used for merging the non-joined host information and the host information failed in the nano tube to obtain a first host list.
9. The cloud platform user automated nanotube-to-fort machine apparatus of claim 7, wherein said creation module comprises:
the first classification unit is used for performing classification processing according to the first host list, distinguishing hosts which are not added with the fort machine from hosts which fail in the nano tube to obtain a specific list, wherein the specific list comprises the non-added fort machine list and the host which fails in the nano tube;
the first creating unit is used for calling a cloud platform interface according to the host list of the fort machine which is not added, sending a request for creating a user to each host, and obtaining a primary request sending result;
the second creation unit is used for calling the cloud platform interface according to the nano tube failure host list, and resending the request of creating the user to each host to obtain a resending request sending result;
and the second merging unit is used for carrying out result merging and analysis processing according to the primary request sending result and the re-request sending result to obtain a final user creation result.
10. The cloud platform user automated nanotube-to-fort machine apparatus of claim 7, wherein said verification module comprises:
the first simulation unit is used for performing simulated login on all users according to the user creation result to obtain a first simulated login result, wherein the first simulated login result comprises user information of successful login and user information of login failure;
the first analysis unit is used for carrying out error analysis processing on the user records with failed login according to the first simulated login result to obtain error types of all failed users;
the first matching unit is used for carrying out matching processing according to the error types and a preset error processing strategy, and determining a corresponding processing method for each error type to obtain a processing scheme to be executed;
and the first checking unit is used for executing corresponding operation according to the processing scheme to be executed to obtain a final user checking result.
11. The cloud platform user automated nanotube-to-fort device of claim 7, wherein said import module comprises:
the first completion unit is used for carrying out additional information completion processing according to the user information which is successfully checked and a preset information completion rule to obtain complete user information;
the first sorting unit is used for carrying out data sorting according to the complete user information, sorting out key fields and obtaining sorted user information;
the first conversion unit is used for carrying out format conversion on the tidied user information, and obtaining an import file of the fort machine by converting the tidied user information into an import file format required by the fort machine;
the first importing unit imports the file into the fort machine through the calling interface according to the obtained fort machine importing file, and an importing result is obtained.
12. The cloud platform user automated nanotube-to-fort device of claim 7, wherein said update module comprises:
the first extraction unit is used for analyzing and extracting the importing results to obtain key information of a successfully imported host;
the first searching unit is used for searching corresponding host records in the cloud management platform database according to the key information to obtain host records to be updated;
the first updating unit is used for carrying out updating operation according to the host record to be updated, changing the current recorded state into accessed state, and obtaining an updated host record;
and the second updating unit is used for executing updating operation on the cloud management platform database according to the updated host record to obtain the finally updated database information.
13. An apparatus for automatically receiving a tube from a cloud platform user to a fort machine, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for cloud platform user automatic nanotube to fort machine of any one of claims 1 to 6 when executing the computer program.
14. A medium, characterized by: the medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method for cloud platform user automatic nanotube to bastion machine according to any of claims 1 to 6.
CN202311403441.1A 2023-10-26 2023-10-26 Method, device, equipment and medium for automatically receiving and delivering cloud platform user into fort machine Pending CN117499239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311403441.1A CN117499239A (en) 2023-10-26 2023-10-26 Method, device, equipment and medium for automatically receiving and delivering cloud platform user into fort machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311403441.1A CN117499239A (en) 2023-10-26 2023-10-26 Method, device, equipment and medium for automatically receiving and delivering cloud platform user into fort machine

Publications (1)

Publication Number Publication Date
CN117499239A true CN117499239A (en) 2024-02-02

Family

ID=89673641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311403441.1A Pending CN117499239A (en) 2023-10-26 2023-10-26 Method, device, equipment and medium for automatically receiving and delivering cloud platform user into fort machine

Country Status (1)

Country Link
CN (1) CN117499239A (en)

Similar Documents

Publication Publication Date Title
WO2020029407A1 (en) Alarm data management method and apparatus, and computer device and storage medium
CN111190755B (en) Application program function exception handling method and device
CN111711533B (en) Fault diagnosis method, fault diagnosis device, electronic device and storage medium
CN110088744A (en) A kind of database maintenance method and its system
US20210209162A1 (en) Method for processing identity information, electronic device, and storage medium
CN110063042B (en) Database fault response method and terminal thereof
WO2021129335A1 (en) Operation monitoring method and apparatus, operation analysis method and apparatus
CN116204438A (en) Test case generation method, automatic test method and related device
CN113315811A (en) Identifier analysis method and device based on alliance block chain, storage medium and server
WO2021155683A1 (en) Log printing method and apparatus, electronic device, and storage medium
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
CN113760730A (en) Automatic testing method and device
CN111182066A (en) Log level dynamic adjustment method based on token authentication
CN117499239A (en) Method, device, equipment and medium for automatically receiving and delivering cloud platform user into fort machine
CN109412861B (en) Method for establishing security association display of terminal network
CN114610449A (en) Multi-cluster resource operation method and system based on unified request entry
CN113468509A (en) User authentication migration method, device, equipment and storage medium
CN112235367A (en) Method, system, terminal and storage medium for subscribing entity behavior relation message
CN111353116A (en) Content detection method, system and device, client device and storage medium
CN113168357A (en) Collecting duplicate diagnostic data from users participating in a document collaboration session
CN108075932B (en) Data monitoring method and device
US11693851B2 (en) Permutation-based clustering of computer-generated data entries
CN113609162B (en) Query method and device for operation records, server and storage medium
CN115357657B (en) Data processing method and device, computer equipment and storage medium
CN113626409B (en) Test data processing method, device, equipment and storage medium

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