CN116775979A - Cloud platform connection processing method and device, computer equipment and storage medium - Google Patents

Cloud platform connection processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN116775979A
CN116775979A CN202310724172.2A CN202310724172A CN116775979A CN 116775979 A CN116775979 A CN 116775979A CN 202310724172 A CN202310724172 A CN 202310724172A CN 116775979 A CN116775979 A CN 116775979A
Authority
CN
China
Prior art keywords
cloud platform
main
collaborative
request
management user
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
CN202310724172.2A
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.)
Shenzhen Consys Technology Co ltd
Original Assignee
Shenzhen Consys Technology Co 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 Shenzhen Consys Technology Co ltd filed Critical Shenzhen Consys Technology Co ltd
Priority to CN202310724172.2A priority Critical patent/CN116775979A/en
Publication of CN116775979A publication Critical patent/CN116775979A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/165Combined use of TCP and UDP protocols; selection criteria therefor

Abstract

The application provides a cloud platform connection processing method, a cloud platform connection processing device, computer equipment and a storage medium, and relates to the technical field of cloud computing. Wherein the method comprises the following steps: receiving a scanning instruction aiming at a collaborative cloud platform, which is sent by a main management user side; generating query response data according to the scanning instruction; receiving query response data sent by each collaborative cloud platform, and sending the query response data of all the collaborative cloud platforms to a main management user side; receiving an adding request sent by a main management user side; sending the adding request to the corresponding target cooperative cloud platform so that each target cooperative cloud platform obtains the connection parameters according to the adding request; receiving connection parameters sent by each target cooperative cloud platform; and executing connection operation according to the connection parameters so as to complete connection with each target cooperative cloud platform. The application can improve the efficiency of connecting the main cloud platform and the cooperative cloud platform, and ensures that the addition of the cloud platform is more time-saving and labor-saving.

Description

Cloud platform connection processing method and device, computer equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of cloud computing, in particular to a cloud platform connection processing method, a cloud platform connection processing device, computer equipment and a storage medium.
Background
Along with development of cloud computing technology, virtualization scale is continuously expanded, and in order to meet business requirements, a plurality of cloud platforms can be deployed in the same network at the same time. Because each cloud platform can only be managed through an independent portal, the operation is very inconvenient, one cloud platform needs to be selected from a plurality of cloud platforms to serve as a main cloud platform, and all other collaborative cloud platforms are managed through the main cloud platform.
At present, in the prior art, when a main cloud platform needs to add a cooperative cloud platform, an administrator of the main cloud platform and an administrator of the cooperative cloud platform transmit cloud platform connection parameter information through a third party communication tool, so that the main cloud platform obtains the connection parameter information of the cooperative cloud platform and completes the addition of the cooperative cloud platform.
However, the inventors found that the prior art has at least the following technical problems: when the collaborative cloud platform is added, the administrator of the main cloud platform is required to transmit the connection parameter information of the collaborative cloud platform through the third party communication tool, and the problem that the time and labor are wasted due to low efficiency of adding the collaborative cloud platform exists.
Disclosure of Invention
The application provides a cloud platform connection processing method, a cloud platform connection processing device, computer equipment and a storage medium, which are used for solving the problem of time and labor waste caused by low efficiency of adding a cooperative cloud platform to a main cloud platform.
In a first aspect, the present application provides a cloud platform connection processing method, applied to a main cloud platform deployed with an auto discovery component, including:
receiving a scanning instruction aiming at a collaborative cloud platform, which is sent by a main management user side;
generating a query request through the automatic discovery component according to the scanning instruction and broadcasting the query request to all collaborative cloud platforms, so that each collaborative cloud platform generates query response data according to the query request through the automatic discovery component deployed by the collaborative cloud platform;
receiving query response data sent by each collaborative cloud platform, and sending the query response data of all the collaborative cloud platforms to the main management user side so that the main management user side displays a list of the collaborative cloud platforms;
receiving an addition request sent by the main management user side, wherein the addition request is generated by responding to the selection operation of a main management user for at least one target collaborative cloud platform in the list of the collaborative cloud platforms;
the adding request is sent to a corresponding target cooperative cloud platform, so that each target cooperative cloud platform obtains connection parameters according to the adding request;
receiving the connection parameters sent by each target cooperative cloud platform;
And executing connection operation according to the connection parameters so as to complete connection with each target cooperative cloud platform.
In one possible implementation, the auto-discovery component is configured to monitor a user datagram protocol UDP port; accordingly, the broadcasting the query request to all collaborative cloud platforms includes: broadcasting the query request to all collaborative cloud platforms through the UDP port; correspondingly, the receiving query response data sent by each collaborative cloud platform includes: and receiving query response data sent by each collaborative cloud platform through the UDP port.
In one possible implementation, the auto-discovery component is configured to monitor a transmission control protocol TCP port; correspondingly, the sending the adding request to the corresponding target cooperative cloud platform includes: sending the adding request to a corresponding target cooperative cloud platform through the TCP port; correspondingly, the receiving the connection parameters sent by each target cooperative cloud platform includes: and receiving the connection parameters sent by each target cooperative cloud platform through the TCP port.
In one possible implementation manner, the query request includes a source access address and a request path of the main cloud platform; correspondingly, the receiving the connection parameters sent by each target cooperative cloud platform includes: and receiving connection parameters sent by each target cooperative cloud platform according to the source access address and the request path of the main cloud platform.
In one possible implementation manner, after the sending the adding request to the corresponding target cooperative cloud platform, the method further includes: receiving an unauthorized prompt sent by the target cooperative cloud platform, wherein the unauthorized prompt is generated by the target cooperative cloud platform according to unauthorized operation of a cooperative management user on the authorized request by sending an authorized request to the cooperative management user terminal according to the addition request; and sending the unauthorized prompt to the master management client to prompt a master management user.
In a second aspect, the present application further provides a cloud platform connection processing method, applied to any collaborative cloud platform deployed with an auto discovery component, including:
receiving a query request sent by a main cloud platform, wherein the query request is generated by an automatic discovery component deployed by the main cloud platform when the main cloud platform receives a scanning instruction sent by a main management user side, and broadcasting the query request to all collaborative cloud platforms;
according to the query request, generating query response data through an automatic discovery component and sending the query response data to the main cloud platform, so that the main cloud platform sends the query response data of all collaborative cloud platforms to the main management user side to display a list of all collaborative cloud platforms, and receives an addition request sent by the main management user side, wherein the addition request is generated in response to the selection operation of a main management user for at least one target collaborative cloud platform in the list of collaborative cloud platforms;
Receiving the adding request sent by the main cloud platform;
and acquiring connection parameters according to the addition request, and sending the connection parameters to a main cloud platform so that the main cloud platform executes connection operation according to the connection parameters.
In one possible implementation, the auto-discovery component is configured to monitor a user datagram protocol UDP port; accordingly, the receiving the broadcast query request broadcasted by the main cloud platform includes: receiving a broadcast query request broadcast by the main cloud platform through the UDP port; correspondingly, the sending the query response data to the main cloud platform includes: and sending the query response data to the main cloud platform through the UDP port.
In one possible implementation, the auto-discovery component is configured to monitor a transmission control protocol TCP port; correspondingly, the receiving the adding request sent by the main cloud platform includes: receiving the adding request sent by the main cloud platform through the TCP port; correspondingly, the sending the connection parameters to the main cloud platform includes: and sending the connection parameters to the main cloud platform through the TCP port.
In one possible implementation, the query request includes a source access address and a request path of the primary cloud platform; correspondingly, the sending the query response data to the main cloud platform includes: and sending the query response data to the main cloud platform according to the source access address and the request path of the main cloud platform.
In a possible implementation manner, the obtaining the connection parameter according to the adding request, and sending the connection parameter to the main cloud platform includes: sending an authorization request to a collaborative management user side according to the addition request, so that the collaborative management side responds to authorization operation of a collaborative management user for the authorization request to generate an authorization instruction; and receiving the authorization instruction sent by the collaborative management user terminal, acquiring connection parameters according to the authorization instruction, and sending the connection parameters to a main cloud platform.
In one possible implementation manner, the obtaining the connection parameter according to the adding request includes: inquiring whether unauthorized configuration information exists according to the addition request; and if the unauthorized configuration information is judged to exist, acquiring the connection parameters, and sending the connection parameters to the main cloud platform.
In one possible implementation manner, after the receiving the addition request sent by the main cloud platform, the method further includes: sending an authorization request to a collaborative management user side according to the addition request, so that the collaborative management user side responds to the unauthorized operation of the collaborative management user for the authorization request to generate an unauthorized prompt; receiving the unauthorized prompt sent by the collaborative management user; and sending an unauthorized prompt to the main cloud platform so that the main cloud platform sends the unauthorized prompt to the main management user side to prompt the main management user.
In one possible implementation manner, before receiving the query request sent by the main cloud platform, the method further includes: periodically acquiring preset working state information of the automatic discovery component; and stopping the step of receiving the query request sent by the main cloud platform if the preset working state information is judged to meet the closing condition.
In a third aspect, the present application provides a cloud platform connection processing apparatus applied to a main cloud platform deployed with an auto discovery component, the apparatus comprising:
the first receiving module is used for receiving a scanning instruction aiming at the collaborative cloud platform, which is sent by the main management user side;
The query module is used for generating a query request through the automatic discovery component according to the scanning instruction and broadcasting the query request to all the collaborative cloud platforms so that each collaborative cloud platform can generate query response data according to the query request through the automatic discovery component deployed by the collaborative cloud platform;
the first receiving module is further used for receiving query response data sent by each collaborative cloud platform; the first sending module is used for sending query response data of all the collaborative cloud platforms to the main management user side so that the main management user side displays a list of the collaborative cloud platforms;
the first receiving module is further configured to receive an addition request sent by the primary management user side, where the addition request is generated in response to a selection operation of a primary management user for at least one target collaborative cloud platform in the list of collaborative cloud platforms;
the first sending module is used for sending the adding request to a corresponding target cooperative cloud platform so that each target cooperative cloud platform can acquire connection parameters according to the adding request;
the first receiving module is further configured to receive the connection parameters sent by each target cooperative cloud platform;
And the cloud platform connection module is used for executing connection operation according to the connection parameters so as to complete the connection with each target cooperative cloud platform.
In a fourth aspect, the present application further provides a cloud platform connection processing apparatus, applied to any collaborative cloud platform deployed with an auto discovery component, the apparatus comprising:
the second receiving module is used for receiving a query request sent by the main cloud platform, wherein the query request is generated by an automatic discovery component deployed by the main cloud platform when the main cloud platform receives a scanning instruction sent by the main management user side, and the query request is broadcast to all collaborative cloud platforms;
the response module is used for generating query response data through the automatic discovery component according to the query request;
the second sending module is used for sending the query response data to the main cloud platform so that the main cloud platform sends the query response data of all the collaborative cloud platforms to the main management user side to display a list of all the collaborative cloud platforms, and receiving an adding request sent by the main management user side, wherein the adding request is generated in response to the selection operation of a main management user for at least one target collaborative cloud platform in the list of the collaborative cloud platforms; the second receiving module is further configured to receive the addition request sent by the main cloud platform;
The connection parameter acquisition module is used for acquiring connection parameters according to the addition request;
the second sending module is further configured to send the connection parameter to a main cloud platform, so that the main cloud platform performs a connection operation according to the connection parameter.
In a fifth aspect, the present application provides a computer device comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory, causing the at least one processor to perform the cloud platform connection processing method as described in the first or second aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, which when executed by a processor, implement the cloud platform connection processing method according to the first or second aspect.
According to the cloud platform connection processing method, the cloud platform connection processing device, the computer equipment and the storage medium, firstly, according to a scanning instruction sent by a main management user terminal, an automatic discovery component deployed on the main cloud platform is utilized to automatically generate a query request, then the query request is broadcast to all collaborative cloud platforms, the collaborative cloud platforms can return query response data, and the returned query response data is sent to the main management user terminal, so that the main management user can select a target collaborative cloud platform to generate an addition request. And then, sending the addition request sent from the main management user terminal to a corresponding target cooperative cloud platform, enabling the target cooperative cloud platform to acquire connection parameters according to the addition request, returning the connection parameters, and finally, executing connection operation according to the connection parameters, thereby completing connection with the cooperative cloud platform. The whole connection process can complete the connection with each target collaborative cloud platform only by simple sending, selecting and other actions at the main management user side, so that the time for transmitting connection parameters by using a third party communication tool between the main management user and the collaborative management user is reduced, the efficiency of connecting the main cloud platform with the collaborative cloud platform is improved, and the cloud platform is added more time-saving and labor-saving.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of a cloud platform connection processing method provided by an embodiment of the present application;
fig. 2 is a schematic flow chart of a cloud platform connection processing method according to an embodiment of the present application;
fig. 3 is a second schematic flow chart of a cloud platform connection processing method according to an embodiment of the present application;
fig. 4 is an interaction flow diagram of a cloud platform connection processing method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a connection structure of a cloud platform connection processing device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a connection structure of a cloud platform connection processing device according to an embodiment of the present application;
fig. 7 is a schematic diagram III of a connection structure of a cloud platform connection processing device according to an embodiment of the present application;
fig. 8 is a schematic hardware structure of a computer device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
At present, with the continuous increase of cloud computing service demands, a main cloud platform manages more and more usage scenarios of a plurality of collaborative cloud platforms. In the prior art, when other cloud platforms are required to be added to the management of the main cloud platform as the collaborative cloud platform, an administrator of the main cloud platform needs to communicate cloud platform connection parameter information with an administrator of the collaborative cloud platform to be added through a third party communication tool such as instant messaging software, mail or telephone, and the administrator of the main cloud platform configures connection parameters in the main cloud platform according to the cloud platform connection parameter information, then the main cloud platform can send a connection request to the collaborative cloud platform, and the successful connection indicates that the collaborative cloud platform is successfully added.
The inventor finds that in the prior art, an administrator of the main cloud platform and an administrator of the collaborative cloud platform to be added manually acquire cloud platform connection parameter information, then the cloud platform connection parameter information is transmitted through a third party communication tool, the operation process needs to spend a lot of time of the administrator, even if the administrator of the main cloud platform and the administrator of the collaborative cloud platform are the same person, the connection parameters are manually configured, the cloud platform deployment script is operated to complete the addition process of the collaborative cloud platform, the operation efficiency is low, and therefore the time and labor waste are generated.
In order to solve the above technical problems, the embodiments of the present application provide the following technical ideas for solving the problems: firstly, the compiled automatic discovery component is deployed into the cloud platform, and an administrator of the cloud platform only needs to start the automatic discovery component and click for confirmation according to prompt, so that the process of adding the collaborative cloud platform can be completed, and the cloud platform has the advantages of being high in operation efficiency, time-saving and labor-saving.
Referring to fig. 1, fig. 1 is an application scenario schematic diagram of a cloud platform connection processing method according to an embodiment of the present application, as shown in fig. 1, including: the system comprises a main management user terminal 101, a main cloud platform 102, a plurality of cooperative cloud platforms 103 and a cooperative user management terminal 104 corresponding to each cooperative cloud platform.
The primary management client 101 may be a mobile terminal or a computer PC, and the primary management client 101 is configured to be clicked by a primary management user of the primary cloud platform 102 to select a collaborative cloud platform to be connected. The main cloud platform 102 may be a remote computer system formed by a plurality of servers or computers, where the main cloud platform 102 is configured to install an auto-discovery component, broadcast a query request to a plurality of collaborative cloud platforms 103, send an add request to the plurality of collaborative cloud platforms 103, and complete connection with the collaborative cloud platforms 103 after obtaining connection parameters returned by the collaborative cloud platforms 103. The collaborative cloud platform 103 may be a remote computer system composed of a plurality of servers or computers, where the collaborative cloud platform 103 is configured to return query response data and connection parameters to the main cloud platform 102, and the collaborative cloud platform 103 is further configured to send an addition request to the collaborative management client 104 for a collaborative management user to perform an authorization operation with respect to the addition request. The collaborative management user terminal 101 may be a mobile terminal or a computer PC terminal, for the collaborative management user to click the authorization.
Referring to fig. 2, fig. 2 is a schematic flow chart of a cloud platform connection processing method according to an embodiment of the present application, an execution subject of the embodiment may be a main cloud platform 102 in the embodiment shown in fig. 1, where the main cloud platform 102 is deployed with an auto discovery component. The execution body of the embodiment may be another related device of a computer, and the embodiment is not particularly limited. As shown in fig. 2, the cloud platform connection processing method includes:
S201: and receiving a scanning instruction aiming at the collaborative cloud platform, which is sent by the main management user side.
In this embodiment, the scan instruction refers to an instruction for starting the discovery component, and after starting the auto discovery component, a query request can be broadcast to all collaborative cloud platforms.
S202: according to the scanning instruction, a query request is generated through the automatic discovery component and broadcasted to all the collaborative cloud platforms, so that each collaborative cloud platform generates query response data according to the query request through the automatic discovery component deployed by the collaborative cloud platform.
In this embodiment, the auto-discovery component may be a Web server, where the Web server includes some interfaces that can be invoked externally, and when the Web server receives a request message sent from another terminal, the Web server returns a response. The query request may be a data packet containing a scan command, and the broadcast query request refers to a process of transmitting the data packet to all collaborative cloud platforms. The query response data refers to a data packet generated when any one of all the cooperative cloud platforms executes a scanning command. For example: the query response data may include: and the name, description, access address, service port and other basic information of any one of the collaborative cloud platforms.
S203: and receiving query response data sent by each collaborative cloud platform, and sending the query response data of all the collaborative cloud platforms to the master management user side so that the master management user side displays a list of the collaborative cloud platforms.
In this embodiment, the list of collaborative cloud platforms may be a data list including all collaborative cloud platforms to be connected. The main management user can adopt clicking operation at the main management user end to select one or more target collaborative cloud platforms from the collaborative cloud platforms to be connected.
S204: and receiving an adding request sent by the main management user side, wherein the adding request is generated in response to the selection operation of the main management user for at least one target collaborative cloud platform in the list of collaborative cloud platforms.
In this embodiment, a primary management user performs a selection operation, such as clicking, on a primary management user side, and selects at least one collaborative cloud platform from a displayed list of collaborative cloud platforms as a target collaborative cloud platform.
S205: and sending the adding request to the corresponding target cooperative cloud platform so that each target cooperative cloud platform can acquire the connection parameters according to the adding request.
In this embodiment, the corresponding target cooperative cloud platform refers to a target cooperative cloud platform selected by the master management user in a list of cooperative cloud platforms. The connection parameters may be attribute parameters for platform connection that are self-contained by the target collaborative cloud platform. Each target collaboration cloud platform has independent connection parameters, such as: the connection parameters of the cooperative cloud platform B may include description information such as an internet protocol IP address and a domain name of a server of the cooperative cloud platform B, and the description information may be a server configuration parameter of the cooperative cloud platform B when the establishment of the cooperative cloud platform B is completed.
S206: and receiving the connection parameters sent by each target cooperative cloud platform.
S207: and executing connection operation according to the connection parameters so as to complete connection with each target cooperative cloud platform.
In this embodiment, after receiving the connection parameters, the connection parameters may be stored for use in connection operation. The connection operation refers to the action of establishing connection with the target collaborative cloud platform according to the connection parameters.
In summary, according to the cloud platform connection processing method provided by the embodiment of the application, a query request is automatically generated by using the deployed auto-discovery component according to a scanning instruction sent by the main management user terminal, the query request is broadcasted to all collaborative cloud platforms, query response data returned by the collaborative cloud platforms are received and all query response data are sent to the main management user terminal, so that a list of the collaborative cloud platforms is displayed, and at the moment, an adding request can be returned only by the main management user terminal to perform a selection operation of selecting a target collaborative cloud platform to be connected. And then the adding request is sent to the corresponding target cooperative cloud platform, so that the target cooperative cloud platform obtains the connection parameters according to the adding request, the connection operation can be directly executed after the connection parameters sent by each target cooperative cloud platform are received, the whole connection process can complete the connection with each target cooperative cloud platform only by simple sending, selecting and other actions on the main management user side, the time for transmitting the connection parameters by using a third party communication tool between the main management user and the cooperative management user is reduced, the efficiency in adding the cooperative cloud platform is improved, and time and labor are saved.
Based on the foregoing embodiments, as an optional embodiment of the present application, the auto-discovery component is configured to monitor a UDP port of a user datagram protocol, and accordingly, broadcast a query request to all collaborative cloud platforms in step S202, including: and broadcasting the query request to all the collaborative cloud platforms through the UDP port. Accordingly, in step S203, receiving query response data sent by each collaborative cloud platform includes: and receiving query response data sent by each collaborative cloud platform through the UDP port.
In this embodiment, the broadcast using the user datagram protocol UDP is used for data communication between one host and all hosts on the entire lan, and the UDP port can be used for sending or receiving broadcast data and responding to broadcast inquiry requests and other broadcast communication.
Based on the above embodiments, in an alternative embodiment of the present application, the auto discovery component is configured to listen to a TCP port of a transmission control protocol. Accordingly, in step S205, the sending the addition request to the corresponding target collaborative cloud platform includes: and sending the adding request to the corresponding target cooperative cloud platform through the TCP port. Accordingly, step S206 includes: and receiving the connection parameters sent by each target cooperative cloud platform through the TCP port.
In this embodiment, the TCP port is used to communicate data or traffic information in encrypted communication unicast, where unicast may be end-to-end communication between two hosts. The TCP port may employ standard or custom application layer protocols such as HTTPS (Hypertext Transfer Protocol Secure, hypertext transfer security protocol).
In summary, according to the cloud platform connection method provided by the embodiment of the application, the query request and the query response data in the query process are transmitted through the UDP port, and the sensitive information such as the connection parameters used for cloud platform connection is transmitted in a unicast mode after encrypted communication, so that the query process and the connection process are separated, the condition that the connection parameters are leaked in the communication transmission process is avoided, and the security when the cloud platform is connected with the target collaborative cloud platform is improved.
In an optional embodiment of the present application, the query request includes a source access address and a request path of the main cloud platform, and correspondingly, step S206 includes: and receiving connection parameters sent by each target cooperative cloud platform according to the source access address and the request path of the main cloud platform.
In this embodiment, the source access address of the primary cloud platform may be an internet protocol IP address of the primary cloud platform, and the request path may be a path of the primary cloud platform when sending the query request. When the connection parameters are received, the source access address of the main cloud platform can be accessed according to the request path, and then the connection parameters are received.
Based on the foregoing embodiments, in an optional embodiment of the present application, after the step S205 of sending the addition request to the corresponding target collaborative cloud platform, the method further includes:
step A: and receiving an unauthorized prompt sent by the target cooperative cloud platform, wherein the unauthorized prompt is generated by the target cooperative cloud platform according to an unauthorized operation of the cooperative management user aiming at the authorized request by sending an authorized request to the cooperative management user terminal according to the adding request.
And (B) step (B): and sending the unauthorized prompt to the master management client to prompt the master management user.
In this embodiment, the unauthorized hint indicates that the collaborative management user does not agree to connect the managed target collaborative cloud platform with the host platform. When the master management client receives the unauthorized prompt, step S201 can be continuously executed to complete the connection with other collaborative cloud platforms.
In summary, according to the cloud platform processing connection method provided by the embodiment of the application, after the unauthorized prompt is received, the unauthorized prompt is timely sent to the main management user end to prompt the main management user, so that the main management user can continuously complete the connection with other collaborative cloud platforms by using the cloud platform processing connection method provided by the embodiment of the application, the feedback efficiency of the connection failure message and the efficiency of adding the collaborative cloud platform are improved, and time and labor are saved.
Referring to fig. 3, fig. 3 is a second flowchart of a cloud platform connection processing method according to an embodiment of the present application, where an execution body of the embodiment may be any collaborative cloud platform 103 in the embodiment shown in fig. 1, and an auto discovery component is also deployed on the collaborative cloud platform main cloud 103. The execution body of the embodiment may be another related device of a computer, and the embodiment is not particularly limited. As shown in fig. 3, the cloud platform connection processing method includes:
s301: and receiving a query request sent by the main cloud platform, wherein the query request is generated by an automatic discovery component deployed by the main cloud platform when the main cloud platform receives a scanning instruction sent by the main management user side, and broadcasting the query request to all the collaborative cloud platforms.
In this embodiment, receiving the query request sent by the main cloud platform refers to receiving a data packet including a scan instruction, where the scan instruction enables the collaborative cloud platform to automatically start an auto-discovery component.
S302: according to the query request, generating query response data through the automatic discovery component and sending the query response data to the main cloud platform, so that the main cloud platform sends the query response data of all the collaborative cloud platforms to the main management user side to display a list of all the collaborative cloud platforms, and receives an adding request sent by the main management user side, wherein the adding request is generated in response to the selection operation of the main management user for at least one target collaborative cloud platform in the list of the collaborative cloud platforms.
In this embodiment, after the auto-discovery component receives the query request, the auto-discovery component automatically generates a query response data. Illustratively, the process of generating the query response data is: the collaborative cloud platform starts an automatic discovery component to inquire data of the collaborative cloud platform, and information such as names, descriptions, access addresses, service ports and the like of the collaborative cloud platform are used as inquiry response data.
Based on the foregoing embodiments, in an optional embodiment of the present application, the auto-discovery component is configured to monitor a UDP port of a user datagram protocol, and accordingly, in step S301, receive a query request of a main cloud platform, including: and receiving a broadcast query request broadcast by the main cloud platform through the UDP port. Accordingly, the sending of the query response data to the primary cloud platform in step S302 includes: and sending the query response data to the main cloud platform through the UDP port.
In this embodiment, the implementation principle and technical effects of the cooperative cloud platform side are similar to those of steps S202 and S203 in the above embodiment, so that the present embodiment is not repeated here.
S303: and receiving an adding request sent by the main cloud platform.
In this embodiment, the primary cloud platform may send an add request to each target collaboration platform selected by the primary management user through the internet.
S304: and acquiring the connection parameters according to the addition request, and sending the connection parameters to the main cloud platform so that the main cloud platform executes connection operation according to the connection parameters.
Specifically, in an alternative embodiment of the present application, the auto-discovery component is configured to listen to a TCP port of a transmission control protocol, and accordingly, step S303 includes: and receiving an adding request sent by the main cloud platform through a TCP port. Accordingly, in step S304, the sending the connection parameters to the main cloud platform includes: and sending the connection parameters to the main cloud platform through the TCP port.
In this embodiment, the implementation principle and the technical effect of receiving the addition request through the TCP port by the party of the cooperative cloud platform are similar to the working principle and the technical effect of receiving the connection parameter through the TCP port by the main cloud platform in step S206 in the above embodiment, and the implementation principle and the technical effect of sending the connection parameter through the TCP port by the party of the cooperative cloud platform are similar to the implementation principle and the technical effect of sending the addition request in step S205 in the above embodiment, so that the description of this embodiment is omitted here.
Based on the foregoing embodiments, in an alternative embodiment of the present application, the query request includes the source access address and the request path of the primary cloud platform, and accordingly, in step S302, the query response data is sent to the primary cloud platform, including: and sending the query response data to the main cloud platform according to the source access address and the request path of the main cloud platform.
In this embodiment, after receiving a query request broadcast by a main cloud platform, a cooperative cloud platform queries basic information such as a name, description, access address, service port and the like of the cooperative cloud platform as query response data, and then transmits the query response data to a corresponding source access address along a request path of the main cloud platform in the invoked query request.
Based on the above embodiment, as an optional embodiment of the present application, step S304 obtains a connection parameter according to the addition request, and sends the connection parameter to the main cloud platform, including:
s305a: sending an authorization request to the collaborative management user side according to the addition request, so that the collaborative management side responds to the authorization operation of the collaborative management user for the authorization request to generate an authorization instruction.
In this embodiment, after receiving the addition request, an authorization request is automatically generated and sent to the collaborative management client, where the response corresponding to the authorization request may include an authorization instruction, where the authorization instruction refers to that the collaborative management client authorizes the collaborative cloud platform to send the connection parameter to the master cloud platform.
S305b: and receiving an authorization instruction sent by the collaborative management user side, acquiring connection parameters according to the authorization instruction, and sending the connection parameters to the main cloud platform.
In this embodiment, according to the authorization indication, the collaboration cloud platform can call its own connection parameters.
Based on the above embodiments, in an alternative embodiment of the present application, the step S304 of obtaining the connection parameter according to the addition request includes:
step a: and inquiring whether unauthorized configuration information exists according to the adding request.
Step b: and if the unauthorized configuration information is judged to exist, acquiring the connection parameters, and sending the connection parameters to the main cloud platform.
In this embodiment, after receiving the addition request, whether the connection parameter can be directly obtained and sent to the main platform can also be determined by querying whether there is unauthorized configuration information. The authorization-free configuration information may be that the collaborative management user sets the automatic discovery function of the automatic discovery component to authorization-free after logging in the collaborative cloud platform, and once authorization-free is set, it means that interaction with the collaborative management user does not need to be waited after receiving the addition request.
In summary, according to the cloud platform connection processing method provided by the application, the authorization time used by the collaborative management user is further reduced by setting the unauthorized configuration information in advance, so that the connection efficiency with the main cloud platform is improved, and time and labor are saved.
In an optional embodiment of the present application, after receiving the addition request sent by the main cloud platform in step S303, the method further includes:
step c: and sending an authorization request to the collaborative management user side according to the addition request, so that the collaborative management user side responds to the unauthorized operation of the collaborative management user for the authorization request to generate an unauthorized prompt.
Step d: and receiving an unauthorized prompt sent by the collaborative management user terminal.
Step e: and sending the unauthorized prompt to the main cloud platform according to the unauthorized prompt, so that the main cloud platform sends the unauthorized prompt to the main management user side to prompt the main management user.
In this embodiment, the unauthorized operation may be an action that indicates that the user is unauthorized and the workload of the collaborative management user is not great, which is selected by the collaborative management user through gesture operation at the collaborative management user side. For example: clicking on a button indicating "unauthorized", "no" or "x", or directly filling in "unauthorized". The unauthorized alert may be a displayed text message that can be used to alert a master administrative user to cooperatively manage the user's unauthorized.
In summary, according to the cloud platform connection processing method provided by the embodiment of the application, the unauthorized prompt of the collaborative management end user is utilized to prompt that the collaborative cloud platform corresponding to the main management user cannot be connected with the main cloud platform, so that the main management user number continues to perform connection work between the next collaborative cloud platform and the main cloud platform, and the connection efficiency is improved.
Based on the above embodiment, before step S301, the method further includes:
step S301a: and periodically acquiring preset working state information of the automatic discovery component.
Step S301b: and stopping receiving the query request sent by the main cloud platform if the preset working state information is judged to meet the closing condition. In this embodiment, periodically refers to every other fixed period of time, which may be one hour, one day, or one week. The preset working state information may include turning off and turning on an auto discovery function of the auto discovery component, and when the auto discovery function of the auto discovery component is turned off by a collaboration manager, the auto discovery component is deployed to no longer receive a query request sent by the main cloud platform.
In summary, according to the cloud platform connection processing method provided by the application, when the collaborative cloud platform managed by the collaborative manager does not need to be connected with the main cloud platform within a certain period of time, the preset working state of the automatic discovery component can be modified to be closed by logging in the collaborative cloud platform, so that the workload of the follow-up collaborative manager is reduced, the time for data communication between the main cloud platform and the collaborative cloud platform can be reduced, the working efficiency is further improved, and time and labor are saved.
Referring to fig. 4, fig. 4 is an interaction flow diagram of a cloud platform connection processing method provided by an embodiment of the present application, and it should be noted that, for convenience of understanding, the number of main cloud platforms and collaborative cloud platforms in the embodiment is 1, as shown in fig. 4, the method includes:
s401: and the main management user side sends a scanning instruction aiming at the collaborative cloud platform to the main cloud platform.
S402: and the main cloud platform generates a query request through the automatic discovery component according to the scanning instruction.
S403: the master cloud platform broadcasts the query request to the collaborative cloud platform.
S404: and the collaborative cloud platform generates query response data according to the query request through an automatic discovery component deployed by the collaborative cloud platform.
S405: and the cooperative cloud platform sends query response data to the main cloud platform.
S406: and the main cloud platform sends the query response data to the main management user terminal.
S407: the master management user side displays a list of the collaborative cloud platform, and responds to the selection operation of the master management user for the collaborative cloud platform in the list of the collaborative cloud platform to generate an addition request.
S408: and the master management user sends an adding request to the master cloud platform.
S409: and the main cloud platform sends an adding request to the corresponding collaborative cloud platform.
S4010: and the collaborative cloud platform sends an authorization request to the collaborative management user according to the addition request.
S4011: the collaborative management user side responds to the authorization operation of the collaborative management user for the authorization request to generate an authorization indication.
S4012: and the collaborative management user sends an authorization instruction to the collaborative cloud platform.
S4013: and the cooperative cloud platform acquires the connection parameters according to the authorization indication.
S4014: and the cooperative cloud platform sends the connection parameters to the main cloud platform.
S4015: and the main cloud platform executes connection operation according to the connection parameters so as to complete the connection with each target cooperative cloud platform.
Based on the above embodiment, in an optional embodiment of the present application, when the cooperative management user of the cooperative cloud platform and the main management user of the main cloud platform are the same person, the process of querying and connecting can be directly and rapidly performed on the same user side, and the connection of the cloud platform is achieved by logging in the main cloud platform and starting the automatic discovery component by the cooperative cloud platform, so that the working efficiency is higher, and time and labor are saved when the cooperative cloud platform is connected with the main cloud platform.
Referring to fig. 5, fig. 5 is a schematic diagram of a connection structure of a cloud platform connection processing apparatus according to an embodiment of the present application, where the connection structure is used for a main cloud platform with an auto discovery component, and the apparatus includes: the cloud platform comprises a first receiving module 51, a query module 52, a first sending module 53 and a cloud platform connection module 54.
The first receiving module 51 is configured to receive a scanning instruction for the collaborative cloud platform sent by the primary management user side.
The query module 52 is configured to generate a query request by the auto-discovery component according to the scan instruction and broadcast the query request to all the collaborative cloud platforms, so that each collaborative cloud platform generates a query response data by the auto-discovery component deployed by the collaborative cloud platform according to the query request.
The first receiving module 51 is further configured to receive query response data sent by each collaborative cloud platform.
The first sending module 53 is configured to send query response data of all collaborative cloud platforms to the primary management client, so that the primary management client displays a list of collaborative cloud platforms.
The first receiving module 51 is further configured to receive an addition request sent by the primary management user, where the addition request is generated in response to a selection operation of the primary management user on at least one target collaborative cloud platform in the list of collaborative cloud platforms.
The first sending module 53 is configured to send the addition request to a corresponding target cooperative cloud platform, so that each target cooperative cloud platform obtains the connection parameter according to the addition request.
The first receiving module 51 is further configured to receive a connection parameter sent by each target cooperative cloud platform.
The cloud platform connection module 54 is configured to perform a connection operation according to the connection parameters, so as to complete connection with each target collaboration cloud platform.
In an alternative embodiment of the application, the auto-discovery component is configured to listen to the user datagram protocol UDP port and accordingly the query module 52 has means for: and broadcasting the query request to all the collaborative cloud platforms through the UDP port. Accordingly, the first receiving module 51 is specifically configured to: and receiving query response data sent by each collaborative cloud platform through the UDP port.
In an alternative embodiment of the present application, the auto-discovery component is configured to monitor a TCP port of a transmission control protocol, and accordingly, the first sending module 53 is specifically configured to: and sending the adding request to the corresponding target cooperative cloud platform through the TCP port. Correspondingly, the first receiving module 51 is further specifically configured to: and receiving query response data sent by each collaborative cloud platform through the UDP port.
In an alternative embodiment of the present application, the query request includes the source access address and the request path of the main cloud platform, and accordingly, the first receiving module 51 further includes a module for: and receiving connection parameters sent by each target cooperative cloud platform according to the source access address and the request path of the main cloud platform.
In an alternative embodiment of the present application, the first receiving module 51 is further configured to: and receiving an unauthorized prompt sent by the target cooperative cloud platform, wherein the unauthorized prompt is generated by the target cooperative cloud platform according to an unauthorized operation of the cooperative management user aiming at the authorized request by sending an authorized request to the cooperative management user terminal according to the adding request. The first sending module 53 is further configured to: and sending the unauthorized prompt to the master management client to prompt the master management user.
Referring to fig. 6, fig. 6 is a second schematic diagram of a connection structure of a cloud platform connection processing device according to an embodiment of the present application, where the connection structure is applied to any collaborative cloud platform deployed with an auto discovery component, and the device includes: a second receiving module 61, a response module 62, a second transmitting module 63 and a connection parameter obtaining module 64.
The second receiving module 61 is configured to receive a query request sent by the primary cloud platform, where the query request is generated by an auto discovery component deployed by the primary cloud platform when the primary cloud platform receives a scanning instruction sent by the primary management user side, and broadcast the query request to all collaborative cloud platforms.
The response module 62 generates a query response data by the auto-discovery component based on the query request.
The second sending module 63 is configured to send query response data to the primary cloud platform, so that the primary cloud platform sends the query response data of all the collaborative cloud platforms to the primary management user side to display a list of all the collaborative cloud platforms, and receives an addition request sent by the primary management user side, where the addition request is generated in response to a selection operation of the primary management user for at least one target collaborative cloud platform in the list of collaborative cloud platforms; the second receiving module 61 is further configured to receive an addition request sent by the main cloud platform.
The connection parameter obtaining module 64 is configured to obtain the connection parameter according to the addition request.
The second sending module 63 is further configured to send the connection parameter to the main cloud platform, so that the main cloud platform performs the connection operation according to the connection parameter.
In an alternative embodiment of the application, the auto-discovery component is configured to monitor a user datagram protocol, UDP, port. Accordingly, the second receiving module 61 is specifically configured to: and receiving a broadcast query request broadcast by the main cloud platform through the UDP port. Accordingly, the second sending module 63 is specifically configured to: and sending the query response data to the main cloud platform through the UDP port.
In an alternative embodiment of the application, the auto-discovery component is configured to listen to a transmission control protocol, TCP, port. Accordingly, the second receiving module 61 is specifically configured to: and receiving an adding request sent by the main cloud platform through a TCP port. The second sending module 63 is specifically configured to: and sending the connection parameters to the main cloud platform through the TCP port.
In an alternative embodiment of the present application, the query request includes a source access address and a request path of the main cloud platform, and accordingly, the second sending module 63 is further specifically configured to: and sending the query response data to the main cloud platform according to the source access address and the request path of the main cloud platform.
In an alternative embodiment of the present application, the connection parameter obtaining module 64 is specifically configured to: sending an authorization request to the collaborative management user side according to the addition request, so that the collaborative management side responds to the authorization operation of the collaborative management user for the authorization request to generate an authorization instruction. And receiving an authorization instruction sent by the collaborative management user terminal, and acquiring the connection parameters according to the authorization instruction. The second sending module 63 is configured to send the connection parameter to the main cloud platform.
In an alternative embodiment of the present application, the connection parameter obtaining module 64 is specifically configured to: inquiring whether unauthorized configuration information exists according to the addition request; and if the unauthorized configuration information is judged to exist, acquiring the connection parameters, and sending the connection parameters to the main cloud platform.
In an alternative embodiment of the present application, the second sending module 63 is further configured to: and sending an authorization request to the collaborative management user side according to the addition request, so that the collaborative management user side responds to the unauthorized operation of the collaborative management user for the authorization request to generate an unauthorized prompt. The second receiving module 61 is further configured to: and receiving an unauthorized prompt sent by the collaborative management user terminal. The second transmitting module 63 is further configured to: and sending the unauthorized prompt to the main cloud platform so that the main cloud platform sends the unauthorized prompt to the main management user side to prompt the main management user.
Referring to fig. 7, fig. 7 is a schematic diagram of a connection structure of a cloud platform connection processing device according to an embodiment of the present application, which is different from the cloud platform connection processing device shown in fig. 6 in that the device further includes: a periodic decision module 65 for: and periodically acquiring preset working state information of the automatic discovery component. And stopping receiving the query request sent by the main cloud platform if the preset working state information is judged to meet the closing condition.
The cloud platform connection processing device provided in the above embodiment may be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, and this embodiment is not repeated here.
Referring to fig. 8, fig. 8 is a schematic hardware structure of a computer device according to an embodiment of the present application, as shown in fig. 8, the device includes: at least one processor 801, and a memory 802.
Wherein the processor 801 is configured to store computer-executable instructions.
A memory 802 for executing computer-executable instructions stored in the memory to perform the steps involved in the method embodiments described above. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 802 may be separate or integrated with the processor 801.
When the memory 802 is provided separately, the computer device further comprises a bus 803 for connecting the memory 802 and the processor 801.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and when a processor executes the computer execution instructions, the cloud platform connection processing method is realized.
The embodiment of the application also provides a computer program product, which comprises a computer program, and the computer program realizes the cloud platform connection processing method when being executed by a processor.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of modules is merely a logical function division, and there may be other manners of dividing the modules when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described above as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
In addition, each functional module in the embodiments of the present application may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The units formed by the modules can be realized in a form of hardware or a form of hardware and software functional units.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform some of the steps of the methods of the various embodiments of the application.
It should be understood that the above processor may be a central processing unit (Central Processing Unit, abbreviated as CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, abbreviated as DSP), application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). It is also possible that the processor and the storage medium reside as discrete components in an electronic device or a master device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
To illustrate the technical solution of the application, but not to limit it; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (17)

1. The cloud platform connection processing method is characterized by being applied to a main cloud platform deployed with an automatic discovery component, and comprises the following steps:
receiving a scanning instruction aiming at a collaborative cloud platform, which is sent by a main management user side;
generating a query request through the automatic discovery component according to the scanning instruction and broadcasting the query request to all collaborative cloud platforms, so that each collaborative cloud platform generates query response data according to the query request through the automatic discovery component deployed by the collaborative cloud platform;
receiving query response data sent by each collaborative cloud platform, and sending the query response data of all the collaborative cloud platforms to the main management user side so that the main management user side displays a list of the collaborative cloud platforms;
Receiving an addition request sent by the main management user side, wherein the addition request is generated by responding to the selection operation of a main management user for at least one target collaborative cloud platform in the list of the collaborative cloud platforms;
the adding request is sent to a corresponding target cooperative cloud platform, so that each target cooperative cloud platform obtains connection parameters according to the adding request;
receiving the connection parameters sent by each target cooperative cloud platform;
and executing connection operation according to the connection parameters so as to complete connection with each target cooperative cloud platform.
2. The method according to claim 1, wherein the auto-discovery component is configured to monitor a user datagram protocol, UDP, port;
accordingly, the broadcasting the query request to all collaborative cloud platforms includes:
broadcasting the query request to all collaborative cloud platforms through the UDP port;
correspondingly, the receiving query response data sent by each collaborative cloud platform includes:
and receiving query response data sent by each collaborative cloud platform through the UDP port.
3. The method of claim 1, wherein the auto-discovery component is configured to listen to a transmission control protocol, TCP, port;
Correspondingly, the sending the adding request to the corresponding target cooperative cloud platform includes:
sending the adding request to a corresponding target cooperative cloud platform through the TCP port;
correspondingly, the receiving the connection parameters sent by each target cooperative cloud platform includes:
and receiving the connection parameters sent by each target cooperative cloud platform through the TCP port.
4. The method according to claim 1, wherein the query request includes a source access address and a request path of the main cloud platform;
correspondingly, the receiving the connection parameters sent by each target cooperative cloud platform includes:
and receiving connection parameters sent by each target cooperative cloud platform according to the source access address and the request path of the main cloud platform.
5. The method of claim 1, wherein after the sending the add request to the corresponding target collaborative cloud platform, further comprising:
receiving an unauthorized prompt sent by the target cooperative cloud platform, wherein the unauthorized prompt is generated by the target cooperative cloud platform according to unauthorized operation of a cooperative management user on the authorized request by sending an authorized request to the cooperative management user terminal according to the addition request;
And sending the unauthorized prompt to the master management client to prompt a master management user.
6. The cloud platform connection processing method is characterized by being applied to any collaborative cloud platform deployed with an automatic discovery component, and comprises the following steps:
receiving a query request sent by a main cloud platform, wherein the query request is generated by an automatic discovery component deployed by the main cloud platform when the main cloud platform receives a scanning instruction sent by a main management user side, and broadcasting the query request to all collaborative cloud platforms;
according to the query request, generating query response data through an automatic discovery component and sending the query response data to the main cloud platform, so that the main cloud platform sends the query response data of all collaborative cloud platforms to the main management user side to display a list of all collaborative cloud platforms, and receives an addition request sent by the main management user side, wherein the addition request is generated in response to the selection operation of a main management user for at least one target collaborative cloud platform in the list of collaborative cloud platforms;
receiving the adding request sent by the main cloud platform;
And acquiring connection parameters according to the addition request, and sending the connection parameters to a main cloud platform so that the main cloud platform executes connection operation according to the connection parameters.
7. The method of claim 6, wherein the auto-discovery component is configured to monitor a user datagram protocol, UDP, port;
accordingly, the receiving the broadcast query request broadcasted by the main cloud platform includes:
receiving a broadcast query request broadcast by the main cloud platform through the UDP port;
correspondingly, the sending the query response data to the main cloud platform includes:
and sending the query response data to the main cloud platform through the UDP port.
8. The method of claim 6, wherein the auto-discovery component is configured to listen to a transmission control protocol, TCP, port;
correspondingly, the receiving the adding request sent by the main cloud platform includes:
receiving the adding request sent by the main cloud platform through the TCP port;
correspondingly, the sending the connection parameters to the main cloud platform includes: and sending the connection parameters to the main cloud platform through the TCP port.
9. The method of claim 6, wherein the query request includes a source access address and a request path of a primary cloud platform;
Correspondingly, the sending the query response data to the main cloud platform includes:
and sending the query response data to the main cloud platform according to the source access address and the request path of the main cloud platform.
10. The method of claim 6, wherein the obtaining the connection parameters according to the addition request, and sending the connection parameters to a main cloud platform, comprises:
sending an authorization request to a collaborative management user side according to the addition request, so that the collaborative management side responds to authorization operation of a collaborative management user for the authorization request to generate an authorization instruction;
and receiving the authorization instruction sent by the collaborative management user terminal, acquiring connection parameters according to the authorization instruction, and sending the connection parameters to a main cloud platform.
11. The method of claim 6, wherein the obtaining connection parameters according to the addition request comprises:
inquiring whether unauthorized configuration information exists according to the addition request;
and if the unauthorized configuration information is judged to exist, acquiring the connection parameters, and sending the connection parameters to the main cloud platform.
12. The method of claim 6, wherein after the receiving the addition request sent by the primary cloud platform, further comprising:
Sending an authorization request to a collaborative management user side according to the addition request, so that the collaborative management user side responds to the unauthorized operation of the collaborative management user for the authorization request to generate an unauthorized prompt;
receiving the unauthorized prompt sent by the collaborative management user;
and sending an unauthorized prompt to the main cloud platform so that the main cloud platform sends the unauthorized prompt to the main management user side to prompt the main management user.
13. The method according to any one of claims 6 to 12, further comprising, before receiving the query request sent by the main cloud platform:
periodically acquiring preset working state information of the automatic discovery component;
and stopping the step of receiving the query request sent by the main cloud platform if the preset working state information is judged to meet the closing condition.
14. A cloud platform connection processing apparatus for application to a primary cloud platform deployed with an auto discovery component, the apparatus comprising:
the first receiving module is used for receiving a scanning instruction aiming at the collaborative cloud platform, which is sent by the main management user side;
the query module is used for generating a query request through the automatic discovery component according to the scanning instruction and broadcasting the query request to all the collaborative cloud platforms so that each collaborative cloud platform can generate query response data according to the query request through the automatic discovery component deployed by the collaborative cloud platform;
The first receiving module is further used for receiving query response data sent by each collaborative cloud platform; the first sending module is used for sending query response data of all the collaborative cloud platforms to the main management user side so that the main management user side displays a list of the collaborative cloud platforms;
the first receiving module is further configured to receive an addition request sent by the primary management user side, where the addition request is generated in response to a selection operation of a primary management user for at least one target collaborative cloud platform in the list of collaborative cloud platforms;
the first sending module is used for sending the adding request to a corresponding target cooperative cloud platform so that each target cooperative cloud platform can acquire connection parameters according to the adding request;
the first receiving module is further configured to receive the connection parameters sent by each target cooperative cloud platform;
and the cloud platform connection module is used for executing connection operation according to the connection parameters so as to complete the connection with each target cooperative cloud platform.
15. A cloud platform connection processing device, characterized by being applied to any collaborative cloud platform deployed with an auto discovery component, the device comprising:
The second receiving module is used for receiving a query request sent by the main cloud platform, wherein the query request is generated by an automatic discovery component deployed by the main cloud platform when the main cloud platform receives a scanning instruction sent by the main management user side, and the query request is broadcast to all collaborative cloud platforms;
the response module is used for generating query response data through the automatic discovery component according to the query request;
the second sending module is used for sending the query response data to the main cloud platform so that the main cloud platform sends the query response data of all the collaborative cloud platforms to the main management user side to display a list of all the collaborative cloud platforms, and receiving an adding request sent by the main management user side, wherein the adding request is generated in response to the selection operation of a main management user for at least one target collaborative cloud platform in the list of the collaborative cloud platforms; the second receiving module is further configured to receive the addition request sent by the main cloud platform;
the connection parameter acquisition module is used for acquiring connection parameters according to the addition request;
the second sending module is further configured to send the connection parameter to a main cloud platform, so that the main cloud platform performs a connection operation according to the connection parameter.
16. A computer device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory, causing the at least one processor to perform the cloud platform connectivity processing method of any of claims 1 to 5 or any of claims 6 to 13.
17. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, which when executed by a processor, implement the cloud platform connection processing method according to any one of claims 1 to 5 or any one of claims 6 to 13.
CN202310724172.2A 2023-06-16 2023-06-16 Cloud platform connection processing method and device, computer equipment and storage medium Pending CN116775979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310724172.2A CN116775979A (en) 2023-06-16 2023-06-16 Cloud platform connection processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310724172.2A CN116775979A (en) 2023-06-16 2023-06-16 Cloud platform connection processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116775979A true CN116775979A (en) 2023-09-19

Family

ID=87988995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310724172.2A Pending CN116775979A (en) 2023-06-16 2023-06-16 Cloud platform connection processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116775979A (en)

Similar Documents

Publication Publication Date Title
CN110049098B (en) Distributed operation quick starting system and method for mobile phone application
CN110351283B (en) Data transmission method, device, equipment and storage medium
EP2771803B1 (en) File fetch from a remote client device
US20080104661A1 (en) Managing Policy Settings for Remote Clients
US10382258B2 (en) Viral system discovery and installation for distributed networks
US20130346591A1 (en) Clientless Cloud Computing
JP2007018330A (en) Network terminal equipment, application program, recording medium with the program recorded thereon, installation program and recording medium with the program recorded thereon
US20220237295A1 (en) Remote Attestation Method and Device for Composite Device
EP2836954A1 (en) Opportunistic system scanning
CN110808857B (en) Network intercommunication method, device, equipment and storage medium for realizing Kubernetes cluster
US10148610B2 (en) Method to publish remote management services over link local network for zero-touch discovery, provisioning, and management
CN107086937B (en) Monitoring method and device
WO2020081331A1 (en) System and method for automated information technology services management
US20070199065A1 (en) Information processing system
CN112333289A (en) Reverse proxy access method, device, electronic equipment and storage medium
CN110278558B (en) Message interaction method and WLAN system
CN116775979A (en) Cloud platform connection processing method and device, computer equipment and storage medium
CN114844744A (en) Virtual private cloud network configuration method and device, electronic equipment and computer-readable storage medium
CN114338383A (en) Simplified configuration method and system for video equipment
US11055079B2 (en) Systems and methods for just-in-time application implementation
JP2021141609A (en) Method, apparatus, electronic device, storage medium, and program for peer-to-peer connection
JP4532238B2 (en) On-demand service provision system
EP3176986A1 (en) Method, device and system for remote desktop protocol gateway to conduct routing and switching
KR101014251B1 (en) Method for remote-controlling pc by use of internet protocol address and apparatus thereof
CN113360244B (en) Remote container mirror image application method, system and equipment

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