CN118540315A - Communication method based on cloud computing technology and related equipment - Google Patents

Communication method based on cloud computing technology and related equipment Download PDF

Info

Publication number
CN118540315A
CN118540315A CN202310120321.4A CN202310120321A CN118540315A CN 118540315 A CN118540315 A CN 118540315A CN 202310120321 A CN202310120321 A CN 202310120321A CN 118540315 A CN118540315 A CN 118540315A
Authority
CN
China
Prior art keywords
client node
information
data bucket
management platform
cloud management
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
CN202310120321.4A
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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Cloud Computing Technologies 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 Huawei Cloud Computing Technologies Co Ltd filed Critical Huawei Cloud Computing Technologies Co Ltd
Priority to CN202310120321.4A priority Critical patent/CN118540315A/en
Publication of CN118540315A publication Critical patent/CN118540315A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a communication method and related equipment based on a cloud computing technology, and relates to the technical field of cloud computing. The method comprises the following steps: the cloud management platform receives information input by a tenant and aimed at a client node, wherein the cloud management platform is used for providing an object storage service for the tenant and managing an infrastructure for providing a data bucket in the object storage service, and the client node is arranged outside the infrastructure and is connected to a public network; the cloud management platform writes information into a data bucket, wherein the data bucket is provided with an access address facing the public network, and the access address is used for indicating a client node to acquire the information from the data bucket; the cloud management platform accesses the data bucket, acquires the execution result of the information uploaded by the client node from the data bucket, and provides the execution result for the tenant. According to the method and the system, the communication channel between the client node and the cloud management platform is constructed based on the data bucket provided with the access address facing the public network, so that the safety of communication between the client node and the cloud management platform can be improved.

Description

Communication method based on cloud computing technology and related equipment
Technical Field
The embodiment of the application relates to the technical field of cloud computing, in particular to a communication method and related equipment based on a cloud computing technology.
Background
In the hybrid cloud scenario, the client node and the cloud node generally construct a communication channel in the following two ways, so that the client node can receive and execute an instruction issued by the cloud node, for example, the client node receives a data backup instruction issued by the cloud node, and data backup is realized. One is that a client node configures a fixed internet protocol (internet protocol, IP) address and an open fixed interface, and a cloud node actively calls the interface provided by the client node to communicate with the client node, and the other is that the cloud node configures a fixed IP address and an open fixed interface for the client node to actively connect.
The two modes all need to open the network between the client node and the cloud node, the network customization degree is high, the client node opens a fixed interface for the cloud node to call, or the cloud node opens a fixed interface for the client node to connect, the network attack is easy to happen, and the network security is not high.
Disclosure of Invention
In view of this, it is necessary to provide a communication method based on the cloud computing technology, so that the cloud management platform or the client node does not need to provide a fixed interface externally, and communication can be performed between the management platform and the client node.
The first aspect of the embodiment of the application discloses a communication method based on a cloud computing technology, which is applied to a cloud management platform, wherein the cloud management platform is used for providing object storage services for tenants and managing an infrastructure for providing data buckets in the object storage services, the infrastructure comprises at least one cloud data center, and the communication method comprises the following steps: the cloud management platform receives information input by a tenant and aiming at a client node, wherein the client node is arranged outside an infrastructure and is accessed to a public network; the cloud management platform writes information into a data bucket, wherein the data bucket is provided with an access address facing the public network, and the access address is used for indicating a client node to acquire the information from the data bucket; the cloud management platform accesses the data bucket, acquires an execution result of the information uploaded to the data bucket by the client node from the data bucket, and provides the execution result to the tenant.
By adopting the technical scheme, the cloud management platform can provide the object storage service for the tenant and manage the infrastructure for providing the data bucket in the object storage service, the data bucket is used as the communication transfer between the cloud management platform and the client node by utilizing the friendly network access capability of the object storage, the client node can write the information reported to the cloud management platform into the data bucket, the cloud management platform can acquire the information reported by the client node by accessing the data bucket and provide the information to the tenant, and the cloud management platform can write the information issued to the client node into the data bucket, so that the client node can acquire the information issued by the cloud management platform by accessing the data bucket, namely, the cloud management platform or the client node can perform information interaction without providing a fixed interface, and the safety of communication between the client node and the cloud management platform and the use experience of the tenant are improved.
In some embodiments, the cloud management platform writes information to the data bucket, comprising: the cloud management platform writes information into the data bucket based on a first access credential, the first access credential is used for indicating that the cloud management platform has the right to access the data bucket, the client node obtains the information from the data bucket based on a second access credential, and the second access credential is used for indicating that the client node has the right to access the data bucket.
By adopting the technical scheme, the cloud management platform and the client node can write or read the interaction information in the data barrel respectively based on the access credentials, so that the communication security between the client node and the cloud management platform can be further improved, for example, the access credentials can be the access credentials used for proving that the cloud management platform and the client node have the authority to access the data barrel.
In some embodiments, a cloud management platform accesses a data bucket, comprising: the cloud management platform periodically accesses the data bucket based on a first access credential that indicates that the cloud management platform has rights to access the data bucket.
By adopting the technical scheme, the cloud management platform periodically accesses the data barrel based on the access certificate, so that the information reported to the cloud management platform by the client node is timely acquired, and the safety of communication between the client node and the cloud management platform can be further improved.
In some embodiments, the client nodes comprise a plurality, the infrastructure comprises a data bucket in one-to-one correspondence with each of the plurality of client nodes, the cloud management platform writing information to the data bucket, comprising: the cloud management platform writes information of a first client node in the plurality of client nodes into a data bucket corresponding to the first client node; the cloud management platform accesses the data bucket, obtains an execution result of the information uploaded to the data bucket by the client node from the data bucket, and comprises the following steps: the cloud management platform accesses a data bucket corresponding to the first client node, and obtains an execution result of the information uploaded by the first client node from the data bucket corresponding to the first client node.
By adopting the technical scheme, for the situation that a one-to-many management mode exists between the cloud management platform and the client nodes, by distributing a data bucket for each client node, the cloud management platform can acquire information reported by the corresponding client node by accessing the corresponding data bucket, and the cloud management platform can write information issued to a certain client node into the corresponding data bucket, so that the client node can acquire information issued by the cloud management platform by accessing the corresponding data bucket.
In some embodiments, the information includes a unique task identifier, and obtaining, from the data bucket, an execution result for the information uploaded to the data bucket by the client node, including: and acquiring an execution result of the information uploaded by the client node from the data bucket based on the task identifier.
By adopting the technical scheme, the information issued by the cloud management platform to the client node can comprise the unique task identifier, so that the follow-up cloud management platform can quickly identify the execution result of the information uploaded by the client node from the data bucket based on the unique task identifier.
In some embodiments, the client nodes comprise a plurality of data buckets comprising information storage spaces in one-to-one correspondence with each of the plurality of client nodes, the cloud management platform writing information to the data buckets comprising: the cloud management platform writes information of a first client node in the plurality of client nodes into an information storage space corresponding to the first client node; the cloud management platform accesses the data bucket, obtains an execution result of the information uploaded to the data bucket by the client node from the data bucket, and comprises the following steps: the cloud management platform accesses an information storage space corresponding to the first client node, and obtains an execution result, uploaded by the first client node, for the information from the information storage space corresponding to the first client node.
By adopting the technical scheme, for the situation of one-to-many management mode between the cloud management platform and the client nodes, by distributing an information storage space for each client node, the cloud management platform can conveniently acquire information reported by the corresponding client node by accessing the corresponding information storage space, and the cloud management platform can write information issued to a certain client node into the corresponding information storage space, so that the client node can conveniently acquire information issued by the cloud management platform by accessing the corresponding information storage space.
In some embodiments, the information includes instructions and/or data.
By adopting the technical scheme, the information issued by the cloud management platform to the client node can comprise instructions, data or instructions and data, for example, the data is a software upgrade package, and the instructions are upgrade instructions, backup instructions and the like.
In some embodiments, the client node comprises one of the following devices: car machine, cell-phone, personal computer, intelligent wearing equipment, intelligent household electrical appliances, intelligent medical instrument, intelligent sports equipment, server, virtual machine, container.
By adopting the technical scheme, the client nodes interacted with the cloud management platform comprise, but are not limited to, a car machine, a mobile phone, a personal computer, intelligent wearing equipment, intelligent household appliances, intelligent medical appliances, intelligent sports appliances, servers, virtual machines and containers.
In a second aspect, an embodiment of the present application provides a cloud management platform, including: the cloud management platform is used for providing object storage services to tenants and managing infrastructure for providing data buckets in the object storage services, the infrastructure comprises at least one cloud data center, and the cloud management platform comprises: the receiving module is used for receiving information aiming at the client nodes, which is input by the tenants, wherein the client nodes are arranged outside the infrastructure and are connected to the public network; the writing module is used for writing information into the data barrel, wherein the data barrel is provided with an access address facing the public network, and the access address is used for indicating the client node to acquire the information from the data barrel; the access module is used for accessing the data bucket, acquiring an execution result of the information uploaded to the data bucket by the client node from the data bucket, and providing the execution result for the tenant.
By adopting the technical scheme, the cloud management platform can provide the object storage service for the tenant and manage the infrastructure for providing the data bucket in the object storage service, the data bucket is used as the communication transfer between the cloud management platform and the client node by utilizing the friendly network access capability of the object storage, the client node can write the information reported to the cloud management platform into the data bucket, the cloud management platform can acquire the information reported by the client node by accessing the data bucket and provide the information to the tenant, and the cloud management platform can write the information issued to the client node into the data bucket, so that the client node can acquire the information issued by the cloud management platform by accessing the data bucket, namely, the cloud management platform or the client node can perform information interaction without providing a fixed interface, and the safety of communication between the client node and the cloud management platform and the use experience of the tenant are improved.
In some embodiments, the write module is further to write information to the data bucket based on a first access credential, the first access credential to indicate that the cloud management platform has access to the data bucket, the client node to obtain information from the data bucket based on a second access credential, the second access credential to indicate that the client node has access to the data bucket.
By adopting the technical scheme, the cloud management platform and the client node can write or read the interaction information in the data barrel respectively based on the access credentials, so that the communication security between the client node and the cloud management platform can be further improved, for example, the access credentials can be the access credentials used for proving that the cloud management platform and the client node have the authority to access the data barrel.
In some embodiments, the access module is further to periodically access the data bucket based on a first access credential, the first access credential to indicate that the cloud management platform has rights to access the data bucket.
By adopting the technical scheme, the cloud management platform periodically accesses the data barrel based on the access certificate, so that the information reported to the cloud management platform by the client node is timely acquired, and the safety of communication between the client node and the cloud management platform can be further improved.
In some embodiments, the client nodes comprise a plurality, the infrastructure comprises a data bucket corresponding to each of the plurality of client nodes one-to-one, and the writing module is further configured to write information of a first client node of the plurality of client nodes to the data bucket corresponding to the first client node; the access module is further used for accessing a data bucket corresponding to the first client node, and acquiring an execution result of the information uploaded by the first client node from the data bucket corresponding to the first client node.
By adopting the technical scheme, for the situation that a one-to-many management mode exists between the cloud management platform and the client nodes, by distributing a data bucket for each client node, the cloud management platform can acquire information reported by the corresponding client node by accessing the corresponding data bucket, and the cloud management platform can write information issued to a certain client node into the corresponding data bucket, so that the client node can acquire information issued by the cloud management platform by accessing the corresponding data bucket.
In some embodiments, the information includes a unique task identifier, and the access module is further configured to obtain, from the data bucket, an execution result for the information uploaded by the client node based on the task identifier.
By adopting the technical scheme, the information issued by the cloud management platform to the client node can comprise the unique task identifier, so that the follow-up cloud management platform can quickly identify the execution result of the information uploaded by the client node from the data bucket based on the unique task identifier.
In some embodiments, the client nodes comprise a plurality of data buckets comprising information storage spaces in one-to-one correspondence with each of the plurality of client nodes, the writing module further configured to write information of a first client node of the plurality of client nodes to the information storage space corresponding to the first client node; the access module is further used for accessing an information storage space corresponding to the first client node, and obtaining an execution result of the information uploaded by the first client node from the information storage space corresponding to the first client node.
By adopting the technical scheme, for the situation of one-to-many management mode between the cloud management platform and the client nodes, by distributing an information storage space for each client node, the cloud management platform can conveniently acquire information reported by the corresponding client node by accessing the corresponding information storage space, and the cloud management platform can write information issued to a certain client node into the corresponding information storage space, so that the client node can conveniently acquire information issued by the cloud management platform by accessing the corresponding information storage space.
In some embodiments, the information includes instructions and/or data.
By adopting the technical scheme, the information issued by the cloud management platform to the client node can comprise instructions, data or instructions and data, for example, the data is a software upgrade package, and the instructions are upgrade instructions, backup instructions and the like.
In some embodiments, the client node comprises one of the following devices: car machine, cell-phone, personal computer, intelligent wearing equipment, intelligent household electrical appliances, intelligent medical instrument, intelligent sports equipment, server, virtual machine, container.
By adopting the technical scheme, the client nodes interacted with the cloud management platform comprise, but are not limited to, a car machine, a mobile phone, a personal computer, intelligent wearing equipment, intelligent household appliances, intelligent medical appliances, intelligent sports appliances, servers, virtual machines and containers.
In a third aspect, an embodiment of the present application provides a communication method based on a cloud computing technology, including: the cloud management platform receives information input by a tenant and aimed at a client node, wherein the cloud management platform is used for providing an object storage service for the tenant and managing an infrastructure for providing a data bucket in the object storage service, the infrastructure comprises at least one cloud data center, and the client node is arranged outside the infrastructure and is connected to a public network; the cloud management platform writes information into a data barrel, wherein the data barrel is provided with an access address facing the public network; the client node acquires information from the data bucket based on the access address, and uploads an execution result of the information to the data bucket; the cloud management platform accesses the data barrel, obtains the execution result of the information from the data barrel, and provides the execution result for the tenant.
By adopting the technical scheme, the cloud management platform can provide the object storage service for the tenant and manage the infrastructure for providing the data bucket in the object storage service, the data bucket is used as the communication transfer between the cloud management platform and the client node by utilizing the friendly network access capability of the object storage, the client node can write the information reported to the cloud management platform into the data bucket, the cloud management platform can acquire the information reported by the client node by accessing the data bucket and provide the information to the tenant, and the cloud management platform can write the information issued to the client node into the data bucket, so that the client node can acquire the information issued by the cloud management platform by accessing the data bucket, namely, the cloud management platform or the client node can perform information interaction without providing a fixed interface, and the safety of communication between the client node and the cloud management platform and the use experience of the tenant are improved.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, including computer program instructions, which when executed by a computing device cluster, cause the computing device cluster to perform a communication method based on cloud computing technology according to the first aspect.
In a fifth aspect, embodiments of the present application provide a cluster of computing devices, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device to cause the cluster of computing devices to perform the cloud computing technology based communication method as described in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product which, when run by a cluster of computing devices, causes the cluster of computing devices to perform a communication method based on cloud computing technology as described in the first aspect.
In a seventh aspect, an apparatus is provided, where the apparatus has a function of implementing the computing device cluster behavior in the method provided in the first aspect. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
It will be appreciated that the computer readable storage medium according to the fourth aspect, the computing device cluster according to the fifth aspect, the computer program product according to the sixth aspect, and the apparatus according to the seventh aspect correspond to the method according to the first aspect, and therefore, the advantages achieved by the apparatus according to the seventh aspect may refer to the advantages in the corresponding method provided above, and will not be repeated herein.
Drawings
FIG. 1 is a schematic diagram of a logic architecture of an object storage service according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an object storage system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a server according to an embodiment of the present application;
fig. 4 is a flow chart of a communication method based on a cloud computing technology according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a communication between a cloud management platform and a plurality of client nodes based on a data bucket according to an embodiment of the present application;
FIG. 6 is an interaction schematic diagram of a cloud management platform, a client node, and a data bucket according to an embodiment of the present application;
fig. 7 is a schematic block diagram of a cloud management platform according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a computing device according to an embodiment of the present application;
FIG. 9 is a schematic diagram illustrating a computing device cluster according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computing device cluster according to another embodiment of the present application.
Detailed Description
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and the representation may have three relationships, for example, a and/or B may represent: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The terms "first," "second," "third," "fourth" and the like in the description and in the claims and drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In order to facilitate understanding of the embodiments of the present application, the application scenario of the present application will be described below, and the service scenario described in the embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and does not constitute a limitation on the technical solution provided by the embodiments of the present application, and as a new service scenario appears, those skilled in the art can know that the technical solution provided by the embodiments of the present application is equally applicable to similar technical problems.
In order to facilitate understanding of the technical solutions in the embodiments of the present application, the following first explains some terms related to the embodiments of the present application:
object storage service (object storage service, OBS): the cloud storage system is an object-based mass storage service of public cloud, and provides mass, safe, high-reliability and low-cost data storage capacity for tenants of the public cloud.
Data buckets (also referred to as buckets): the object storage is a container for storing objects in the OBS, provides a flattened storage mode based on a data bucket and the objects, and all the objects in the data bucket are in the same logic level, so that a multi-level tree directory structure in a file system is removed. Each data bucket has the own storage category, access right, belonging area and other attributes, and tenants can create data buckets with different storage categories and access rights in different areas and configure more advanced attributes to meet the storage requirements of different scenes.
Cloud management platform: pages related to public cloud services can be provided for tenants to remotely access the public cloud services, the tenants can log in the cloud platform on the public cloud access page through a pre-registered account number and password, and after logging in successfully, corresponding public cloud services such as an OBS service, a virtual machine service, a container service and the like are selected and purchased on the public cloud access page, and for the OBS service, the tenants can further configure the OBS service through a configuration interface or an application programming interface (application programming interface, API) provided on the public cloud access page, such as creating a data bucket, configuring access policies of the data bucket, uploading objects from computing equipment local to the tenants through the Internet, and the like, and operating on the data bucket.
Object storage device (object storage device, OSD): the basic storage unit of the object storage system is arranged on a physical disk, in particular to a storage space with a fixed size of the physical disk, and the object storage system manages the physical disks of a plurality of servers (such as servers of a cloud data center) in an OSD form. In order to realize communication between the existing cloud management platform and the client node, one way is that the client node configures a fixed IP address and opens a fixed interface for the cloud management platform to call, and the other way is that the cloud management platform configures the fixed IP address and opens the fixed interface for the client node to connect.
In view of this, the embodiment of the present application provides a communication method based on a cloud computing technology, and builds communication capability between a client node and a cloud management platform based on an infrastructure providing a data bucket in an object storage service, where the client node and the cloud management platform do not need to provide a fixed API to the outside, and network security is high.
A tenant may log in on a cloud management platform by using an account number, a configuration interface or an API on a public cloud access page provided by the cloud platform may create a plurality of data buckets, the sum of the number and the size of objects stored in each data bucket is not limited, the tenant does not need to consider the expandability of data, the OBS is a service based on REST (Representational STATE TRANSFER) style and hypertext transfer protocol (hypertext transport protocol, HTTP) and hypertext transfer security protocol (Hypertext Transfer Protocol Secure, HTTPs) protocols, the tenant may locate data bucket resources through uniform resource locators (Uniform Resource Locator, URLs, which are also called domain names) or IP addresses, the relation between the data buckets and the objects in the OBS is shown in fig. 1, fig. 1 is a logical architecture diagram of an object storage service, as shown in fig. 1, each data bucket may include a plurality of objects, for example, a first data bucket shown in fig. 1 includes an object 1, an object 2, an object 3 and an object 4, and a second data bucket includes an object 5, an object 6, an object 7 and an object 8. Objects between the data buckets are isolated from each other, and the tenant remotely purchases an object storage service by operating the client node 20, the object storage service providing the data buckets to the tenant, in particular, a domain name or an IP address of the data bucket may be provided, which the tenant may operate the client node 20 to access so that data may be uploaded to the data buckets, and data may be downloaded from the data buckets, wherein the uploaded data is stored in the data buckets in an object manner.
An object is a basic unit of data storage in an OBS, and an object is actually an aggregate of data of one file and its related attribute information (metadata). The data uploaded to the OBS by the tenant is stored in the data bucket in the form of an object. The object includes three parts of Key value (Key), metadata (Metadata), and Data (Data). The key, i.e. the name of the object, is, for example, a character sequence encoded by UTF-8 and having a length greater than 0 and not more than 1024, and each object in a data bucket has a unique object key. Metadata, i.e., description information of the object, includes system metadata and tenant metadata, which are uploaded into the object storage service in the form of Key-Value pairs (Key-values). The system metadata is automatically generated by the object storage service, and is used when processing the object data, including Date (Date), content-length (Content-length), last-time modification (Last-modification), MD5 encrypted Content (Content-MD 5), and the like. Tenant metadata is specified by the tenant when uploading an object to a data bucket, and is tenant-customized object description information. The data is the data content uploaded by the tenant.
When the tenant uploads the object, the storage category of the object can be designated, and if the storage category is not designated, the storage category of the tenant is consistent with the storage category of the data bucket by default. After uploading, the storage class of the object may be modified, the data bucket may be accessed through the client node 20, the client node 20 may be, for example, a dedicated client provided by a browser or a cloud management platform of a tenant locally used, for example, the tenant may access the data bucket through a browser provided in a local computing device, after the input account is verified, the tenant may upload the object into the data bucket using the browser, or delete the object in the data bucket, where the local computing device accesses the internet (public network). For example, local computing devices include, but are not limited to: car machine, cell-phone, personal computer, intelligent wearing equipment, intelligent household electrical appliances, intelligent medical instrument, intelligent sports apparatus etc..
Further, client node 20 may also be located in a virtual machine, container, and server (e.g., bare metal server) provided by a public cloud service, with access to the data buckets via a public cloud internal network.
It should be noted that any device that can access a data bucket through the internet or public cloud intranet may be referred to as a client node 20 of an embodiment of the present invention. FIG. 2 is a schematic diagram of an object storage system according to an embodiment of the present invention.
In the embodiment shown in fig. 2, the object storage system includes a cloud management platform 10 and an infrastructure 11. The cloud management platform 10 is in communication with an infrastructure 11. A plurality of cloud data centers may be provided in the infrastructure 11, with an exemplary plurality of cloud data centers including cloud data center dc1 provided in area ar1 and cloud data center dc2 provided in area ar 2. Cloud data center dc1 and cloud data center dc2 may each include a plurality of servers on which virtual machines or containers provided for the tenants to use may be run, and the disks of the servers may be set to be data volumes as data buckets provided for the tenants to use by cloud management platform 10.
In this architecture, a tenant may create a data bucket b1 and a data bucket b2 in the cloud management platform 10 in advance, the data bucket b1 being disposed in the area ar1, and the data bucket b2 being disposed in the area ar2. Let the domain name of data bucket b1 be bucket1.Region1.Com, the IP address of data bucket b1 be IP1, the domain name of data bucket b2 be bucket2.Region2.Com, and the IP address of data bucket b2 be IP2.
Wherein, in the domain name bucket1.Region1.Com of the data bucket b1, bucket1 is the bucket name of the data bucket b1, and region1 is the region where the data bucket b1 is located. Similarly, bucket2 in the domain name bucket2.Region2.Com of data bucket b2 is the bucket name of data bucket b2, and region2 is the region in which data bucket b2 is located.
Specifically, after the creation of the data bucket b1 is completed, the cloud management platform 10 may register the corresponding relationship 1 between the public network domain name bucket1.Region1.Com and the public network IP1 in the domain name service node 30, and register the corresponding relationship 2 between the public network domain name bucket2.Region2.Com and the public network IP2 in the domain name service node 30 after the creation of the data bucket b2 is completed.
Alternatively, the domain name service node 30 may be jointly implemented by at least one top-level domain name service node and a plurality of secondary domain name service nodes disposed in different areas, where in the above-mentioned domain name registration process, the top-level domain name service node records a correspondence between region1 and the secondary domain name service node disposed in area ar1 (the secondary domain name service node may also record a correspondence between socket 1 and IP 1), and records a correspondence between region2 and the secondary domain name service node disposed in area ar2 (the secondary domain name service node may also record a correspondence between socket 2 and IP 2). The cloud management platform 10 may also be disposed in the cloud data center dc1 or the cloud data center dc2, where the cloud data center dc1 and the cloud data center dc2 are cloud data centers to which the cloud service provider belongs, and further, the cloud management platform 10 may also be disposed in other cloud data centers of the cloud service provider.
As shown in fig. 3, the server (for example, the server in the cloud data center dc1 or the cloud data center dc 2) includes a software layer and a hardware layer, the hardware layer includes a disk controller 2015, a physical network card 2016, a physical disk d1 and a physical disk d2, the software layer includes an OSD control unit 2011 and an operating system 2012, the OSD control unit 2011 runs on the operating system 2012, the operating system 2012 includes a disk driver 2013 and a physical network card driver 2014, the cloud management platform 10 may communicate with the OSD control unit 2011 through the physical network card 2016, the OSD control unit 2011 controls the disk controller 2015 through the disk driver 2013 to set the physical disk d1 and the physical disk d2 as a plurality of OSDs, and the cloud management platform 10 notifies the OSD control unit 2011 to create the data bucket b1 after receiving a creation instruction of the data bucket b1, at this time, the OSD control unit 2011 sets the OSDs 1-3 as the data bucket b1.
Fig. 4 is a flowchart illustrating steps of a communication method based on a cloud computing technology according to an embodiment of the present application. The order of the steps in the flow diagrams may be changed, and some steps may be omitted, according to different needs. In this embodiment, the communication method based on the cloud computing technology may be applied to the cloud management platform 10, where the cloud management platform 10 is configured to provide the object storage service to the tenant and manage the infrastructure 11 for providing the data bucket in the object storage service, and the communication method based on the cloud computing technology may include:
s41, the cloud management platform 10 receives information for the client node 20 input by the tenant.
In some embodiments, client node 20 is disposed outside of infrastructure 11 and accesses the public network. The information for client node 20 may include data, instructions, or data + instructions. For example, the data may be a software upgrade package, backup data, etc., and the instruction may be an upgrade instruction, a backup instruction, etc., which is not limited in the present application.
S42, the cloud management platform 10 writes the information for the client node 20 to the data bucket.
In some embodiments, the data bucket is provided with a public network oriented access address for instructing the client node 20 to obtain information for the client node 20 from the data bucket. For example, the access address may be a public network IP address or a public network domain name registered on a public network domain name server (e.g., domain name service node 30 shown in fig. 3).
For example, a tenant may refer to a user of client node 20, such as where client node 20 is a vehicle, and a tenant may be a user of a vehicle. Assuming that the software installed in the vehicle is to be upgraded, the tenant may log in the object storage service of the cloud management platform 10 to create a data bucket (e.g., data bucket b 1), upload a software upgrade package in the data bucket b1, and the vehicle may access the data bucket b1 based on the access address, and download the software upgrade package from the data bucket b1 for performing the software upgrade. Of course, the client node 20 may be other terminal devices, or servers, virtual machines, containers, etc. of the cloud data center.
In some embodiments, to promote security of information written into the data bucket, the data bucket may verify whether the visitor (cloud management platform 10 or client node 20) has access rights based on the access credentials, and allow the visitor to perform a read/write operation on the data bucket after confirming that the visitor has access rights. For example, cloud management platform 10 may write information for client node 20to data bucket b1 based on a first access credential indicating that cloud management platform 10 has the right to access data bucket b1, client node 20 obtaining information for client node 20 written by cloud management platform 10 from data bucket b1 based on a second access credential indicating that client node 20 has the right to access data bucket b 1. For example, the first access credential and the second access credential may be keys, passwords, tokens, and the like.
S43, the cloud management platform 10 accesses the data bucket, obtains the execution result of the information uploaded to the data bucket by the client node 20 from the data bucket, and provides the execution result to the tenant.
In some embodiments, after the client node 20 obtains the information from the data bucket, the obtained information may be executed and the execution result of the information may be uploaded to the data bucket, and the cloud management platform 10 may obtain the execution result of the client node 20 uploaded to the data bucket from the data bucket by accessing the data bucket and provide the execution result to the tenant. For example, client node 20 downloads a software upgrade package from a data bucket for a software upgrade. After the software upgrade is successful or fails, the client node 20 may upload the software upgrade success information or the software upgrade failure information to the data bucket, and the cloud management platform 10 may obtain a software upgrade result of the client node 20 by accessing the data bucket, and provide the software upgrade success information or the software upgrade failure information to the tenant (for example, display the software upgrade success information or the software upgrade failure information through a page), so that the tenant may timely learn the software upgrade result of the client node 20.
In some embodiments, the cloud management platform 10 may periodically access the data bucket based on the first access credential to obtain the execution result of the information reported to the cloud management platform 10 by the client node 20 in time. For example, the cloud management platform 10 may access the data bucket at intervals of a preset time after writing the information for the client node 20 into the data bucket, and the preset time may be set according to actual requirements, which is not limited in the present application. The cloud management platform 10 may also estimate a time period (e.g., a first time period) required for the client node 20 to execute the information, and access the data bucket at preset time intervals after the first time period after writing the information for the client node 20 to the data bucket.
In some embodiments, a one-to-many management mode is typically used between the cloud management platform 10 and the client nodes 20, and it is assumed that the cloud management platform 10 can manage N client nodes 20, where N is a positive integer. The tenants of N client nodes 20 create a data bucket at the infrastructure 11 that has a one-to-one correspondence with the N client nodes. Assuming that the tenant of the first client node creates a data bucket b1 at infrastructure 11, the tenant of the second client node creates a data bucket b2 at infrastructure 11. The cloud management platform 10 may write first information for a first client node to a data bucket corresponding to the first client node, i.e., data bucket b1, and second information for a second client node to a data bucket corresponding to the second client node, i.e., data bucket b2. The cloud management platform 10 obtains the execution result for the first information uploaded by the first client node by accessing the data bucket b 1. The cloud management platform 10 may further obtain an execution result for the second information uploaded by the second client node by accessing the data bucket b2.
In some embodiments, N client nodes 20 may also share a single data bucket. The information stored in the data bucket may include a task identification, which is a unique identification of the information to be executed. Each client node 20 can identify whether certain information is information issued by the cloud management platform 10 to the client node through the task identifier, and the cloud management platform 10 can also acquire an execution result for the information uploaded by the designated client node from the data bucket based on the task identifier.
In some embodiments, if each client node 20 has a one-to-one data bucket on the infrastructure 11, the information stored in the data bucket may also include a task identifier, so that each client node 20 may identify, through the task identifier, whether a piece of information is currently issued by the cloud management platform 10 or is information issued in a history (the information client node 20 has already executed), and the cloud management platform 10 may also obtain, based on the task identifier, an execution result of the specified information from the data bucket.
As shown in fig. 5, taking the cloud management platform 10 for managing N client nodes 20, the cloud management platform 10 is used for providing backup software services for the N client nodes 20 as an example. The cloud management platform 10 may perform tasks such as scheduling a backup task, deleting expired backup data, and managing a state of a client node, where the client node 20 is configured to execute a backup instruction issued by the cloud management platform 10, and perform operations such as creating a backup and deleting a backup.
In some embodiments, each client node 20 may also have pre-installed backup proxy software that may be registered with the cloud management platform 10 such that each client node 20 may be brought into management by the cloud management platform 10. The cloud management platform 10 and the client node 20 may agree with a communication protocol in advance, so that the client node 20 may parse an instruction issued by the cloud management platform 10, and the cloud management platform 10 parses an instruction execution result uploaded by the client node 20.
Cloud management platform 10 may receive tenant-entered backup instructions for client node 20. The cloud management platform 10 may write the backup instruction to be executed by each client node 20 into a data bucket, the data bucket is provided with an access address facing the public network, and each client node 20 may actively obtain the backup instruction from the data bucket based on the access address, so as to implement that the cloud management platform 10 issues the backup instruction to each client node 20.
For example, each client node 20 may obtain the backup instruction issued by the cloud management platform 10 from the data bucket through a periodic access manner, where the periodic access may refer to accessing the data bucket every preset time, and the preset time may be set according to the actual requirement, which is not limited in the present application. After each client node 20 obtains the backup instruction, the backup instruction after the analysis can be analyzed, the analyzed backup instruction can be executed, and instruction execution information (such as execution progress and execution result of the instruction) can be uploaded to the data bucket, and the cloud management platform 10 can periodically query the instruction execution information reported by each client node 20 from the data bucket, so as to obtain the instruction execution condition of each client node 20, and provide the instruction execution condition for the tenant.
In some embodiments, if N client nodes 20 share a data bucket, the data bucket may include N information storage spaces corresponding to N client nodes 20, where each information storage space may be a sub-storage space in the data bucket or may be a directory in the data bucket, which is not limited in this disclosure. Each client node 20 may access the corresponding information storage space through the backup proxy software to obtain and execute instructions written by the cloud management platform 10, such as backup creation, backup deletion. The tenant may further configure a backup policy on the cloud management platform 10, so that the cloud management platform 10 may automatically issue a backup instruction to the client node 20 at a time point set by the backup policy. The backup policy may include the time, period, and retention rules for backup tasks to execute, backup data, and the like. The retention rules for backup data may include retention time or number of retention.
For example, when the cloud management platform 10 writes an instruction into the data bucket, the cloud management platform may write the instruction into the corresponding information storage space according to the client node to which the instruction belongs, where a first client node of the N client nodes 20 corresponds to the first information storage space, a second client of the N client nodes 20 corresponds to the second information storage space, and an nth client node of the N client nodes 20 corresponds to the nth information storage space. The first client node may actively access the first information storage space, read the instruction issued by the cloud management platform 10 from the first information storage space, and the nth client node may actively access the nth information storage space, read the instruction issued by the cloud management platform 10 from the nth information storage space. For example, the cloud management platform 10 writes a first instruction for controlling the first client node to perform backup creation to the first information storage space of the data bucket, and the first client node may obtain the first instruction by actively accessing the first information storage space, for example, the first client node may access the first information storage space once every preset time. After the first client node reads the first instruction, the first client node may parse the first instruction and execute the parsed first instruction. The first client node may further upload the execution result of the first instruction to the first information storage space, and after the cloud management platform 10 writes the first instruction into the first information storage space, the cloud management platform may also query at regular time whether the first information storage space stores the execution result of the first instruction uploaded by the first client node, so as to timely obtain the instruction execution state of the first client node and provide the result to the tenant.
In some embodiments, the data bucket may not be divided into information storage spaces, and the instructions written to the data bucket by the cloud management platform 10 may include task identifiers, for example, the nth client node may obtain an instruction including the task identifier associated with the nth client node by actively accessing the data bucket, and parse and execute the obtained instruction. The identification information is client identity information capable of uniquely identifying and executing the instruction, and the task identification can comprise task unique identity identification, task basic information and client identity information. For example, the client identity information may be a Device identity (Device ID), a Media Access Control (MAC) address, a Unique Device identification code (Unique DEVICE IDENTIFIER, UDID), etc.
Fig. 6 is a schematic diagram illustrating interaction among the cloud management platform 10, the client node 20, and the data bucket according to an embodiment of the present invention.
This embodiment is described taking as an example a software upgrade service provided by cloud management platform 10 to client node 20. The process of interaction between cloud management platform 10, client node 20, and the data bucket may include:
at 60, cloud management platform 10 receives tenant-entered information for client node 20.
In some embodiments, cloud management platform 10 may manage one or more client nodes 20, and the information for client nodes 20 may include a software upgrade package, or a software upgrade package and upgrade instructions. A tenant may refer to a user or vendor of client node 20.
The cloud management platform 10 writes 61 information for the client node 20 to the data bucket based on the first access credentials.
In some embodiments, a data bucket may be created by a tenant at cloud management platform 10, the data bucket being provided with a public network oriented access address. In order to improve the security of the information stored in the data bucket, the data bucket can conduct authority verification on the access request. For example, when cloud management platform 10 requests that information for client node 20 be written to a data bucket, the data bucket may determine that cloud management platform 10 has access to the data bucket based on the first access credentials carried by the write request of cloud management platform 10, the data bucket allowing cloud management platform 10 to write information for client node 20 to the data bucket.
In some embodiments, the data bucket may include N information storage spaces corresponding to N client nodes 20, and each client node 20 may obtain and execute information issued by the cloud management platform 10 by accessing the corresponding information storage space. Taking an example that the information includes a software upgrade package, that is, the cloud management platform 10 can write the software upgrade package issued to the first client node into the first information storage space, and the first client node can access the first information storage space to obtain the software upgrade package issued to the first client node by the cloud management platform 10; the cloud management platform 10 may write the software upgrade package issued to the nth client node into the nth information storage space, and the nth client node may access the nth information storage space to obtain the software upgrade package issued to the nth client node by the cloud management platform 10.
In some embodiments, if N client nodes 20 are the same client node, the tenant is a vendor of the client node, the data bucket does not need to divide the information storage space, and after the cloud management platform 10 writes the software upgrade package into the data bucket based on the first access credential, each client node 20 may obtain the software upgrade package from the data bucket based on the access address, so as to implement software upgrade.
The client node 20 obtains information for the client node 20 from the data bucket based on the second access credential and the access address 62.
In some embodiments, when client node 20 requests access to a data bucket based on an access address, the data bucket may determine that client node 20 has access rights to the data bucket based on a second access credential carried by the access request of client node 20, the data bucket allowing client node 20 to obtain information for client node 20 therefrom.
In some embodiments, the client node 20 may access the data bucket at intervals of a preset time to obtain the latest information issued by the cloud management platform 10, where the latest information may be information that has not been executed by the client node 20.
In some embodiments, for client node 20, client node 20 may determine whether the information is up-to-date information issued by cloud management platform 10 based on a write timestamp of the information or a task identification contained in the information. If it is determined that the information is the latest instruction issued by the cloud management platform 10, which indicates that the information client node 20 has not yet executed, the client node 20 may read the information. If it is determined that the information is not the latest information issued by the cloud management platform 10, it indicates that the information has been previously read by the client node 20, and the client node 20 does not perform reading of the information.
In some embodiments, information written to the data bucket by cloud management platform 10 may also be set to an unread state. When client node 20 reads this information, the information may transition from the unread state to the read state. I.e., client node 20 may determine whether the information is up-to-date information issued by cloud management platform 10 based on whether the information is read.
63, The client node 20 parses the acquired information and executes the parsed information.
In some embodiments, parsing the acquired information by client node 20 may refer to processing the acquired information to be loadable and executable by client node 20, such as parsing a software upgrade package. If the cloud management platform 10 encrypts the information written into the data bucket, the analysis of the acquired information by the client node 20 may further include decryption of the information.
At 64, client node 20 uploads the results of the execution of the information to the data bucket.
For example, the execution result of the client node 20 execution information is software upgrade success information or software upgrade failure information, and the client node 20 may upload the software upgrade success information or the software upgrade failure information to the data bucket.
In some embodiments, the client node 20 may also periodically upload execution information (information about the progress of information execution, the result of information execution, etc.) of the information to the data bucket until the execution of the information is completed.
In some embodiments, when the client node 20 uploads the execution result of the information to the data bucket, the data bucket may further determine that the client node 20 has access rights based on the second access credential carried by the upload request of the client node 20, that is, allow the client node 20 to upload the execution result of the information to the data bucket.
65, The cloud management platform 10 accesses the data bucket, and obtains the execution result of the information from the data bucket.
In some embodiments, after writing information to the data bucket, cloud management platform 10 may access the data bucket once every preset time to obtain the execution result of the information uploaded by client node 20 from the data bucket. After acquiring the execution result of the information, the cloud management platform 10 may provide the execution result of the information to the tenant, for example, display the execution result of the information through a page.
In some embodiments, when the cloud management platform 10 accesses the data bucket, the data bucket may further determine that the cloud management platform 10 has access authority of the data bucket based on the first access credential carried by the access request of the cloud management platform 1, that is, allow the cloud management platform 10 to obtain an execution result of the information uploaded by the client node 20 from the data bucket.
As shown in fig. 7, a cloud management platform 10 is provided according to an embodiment of the present application. Cloud management platform 10 may include a receiving module 1001, a writing module 1002, and an accessing module 1003.
A receiving module 1001, configured to receive information input by a tenant for a client node 20, where the client node 20 is disposed outside the infrastructure 11 and accesses a public network.
A writing module 1002, configured to write information for the client node 20 to a data bucket, where the data bucket is provided with a public network oriented access address, and the access address is used to instruct the client node 20 to obtain information from the data bucket.
An accessing module 1003, configured to access the data bucket, obtain the execution result of the information uploaded to the data bucket by the client node 20 from the data bucket, and provide the execution result to the tenant.
In some embodiments, the writing module 1002 is further configured to write information for the client node 20 to the data bucket based on a first access credential, the first access credential being configured to indicate that the cloud management platform 10 has rights to access the data bucket, the client node 20 being configured to obtain information from the data bucket based on a second access credential, the second access credential being configured to indicate that the client node 20 has rights to access the data bucket.
In some embodiments, the access module 1003 is further configured to periodically access the data bucket based on the first access credential, and timely obtain an execution result for the information uploaded by the client node 20.
In some embodiments, if the client node 20 includes a plurality of client nodes, the infrastructure 11 includes a data bucket corresponding to each of the plurality of client nodes, and the writing module 1002 is further configured to write information of a first client node of the plurality of client nodes to the data bucket corresponding to the first client node; the accessing module 1003 is further configured to access a data bucket corresponding to the first client node, and obtain, from the data bucket corresponding to the first client node, an execution result for the information uploaded by the first client node.
In some embodiments, in a case where a plurality of client nodes 20 share a data bucket, the information stored in the data bucket may further include a task identifier, and the access module 1003 is further configured to obtain, from the data bucket, an execution result for the information uploaded by the specified client node based on the task identifier.
In some embodiments, if each client node 20 has a data bucket corresponding to each other on the infrastructure 11, the information stored in the data bucket may also include a task identifier, and the access module 1003 is further configured to obtain, from the data bucket, an execution result for the specified information uploaded by the client node based on the task identifier.
The receiving module 1001, the writing module 1002, and the accessing module 1003 may be implemented by software, or may be implemented by hardware. Illustratively, the implementation of the receiving module 1001 is described next as an example of the receiving module 1001. Similarly, the implementation of the writing module 1002 and the accessing module 1003 may refer to the implementation of the receiving module 1001.
Module as an example of a software functional unit, the receiving module 1001 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container, among others. Further, the above-described computing examples may be one or more. For example, the receiving module 1001 may include code running on multiple hosts/virtual machines/containers. It should be noted that, multiple hosts/virtual machines/containers for running the code may be distributed in the same region (region), or may be distributed in different regions. Further, multiple hosts/virtual machines/containers for running the code may be distributed in the same availability zone (availability zone, AZ) or may be distributed in different AZs, each AZ comprising one data center or multiple geographically close data centers. Wherein typically a region may comprise a plurality of AZs.
Also, multiple hosts/virtual machines/containers for running the code may be distributed in the same virtual private cloud (virtual private cloud, VPC) or may be distributed in multiple VPCs. In general, one VPC is disposed in one region, and a communication gateway is disposed in each VPC for implementing inter-connection between VPCs in the same region and between VPCs in different regions.
Module as an example of a hardware functional unit, the receiving module 1001 may include at least one computing device, such as a server or the like. Alternatively, the receiving module 1001 may be a device implemented using an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or the like. The PLD may be implemented as a complex program logic device (complex programmable logical device, CPLD), a field-programmable gate array (FPGA) GATE ARRAY, a general-purpose array logic (GENERIC ARRAY logic, GAL), or any combination thereof.
The multiple computing devices included in the receiving module 1001 may be distributed in the same region or may be distributed in different regions. The plurality of computing devices included in the receiving module 1001 may be distributed in the same AZ or may be distributed in different AZ. Also, the plurality of computing devices included in the receiving module 1001 may be distributed in the same VPC or may be distributed in a plurality of VPCs. Wherein the plurality of computing devices may be any combination of computing devices such as servers, ASIC, PLD, CPLD, FPGA, and GAL.
It should be noted that, in other embodiments, the receiving module 1001 may be used to execute any step in the communication method based on the cloud computing technology, the writing module 1002 may be used to execute any step in the communication method based on the cloud computing technology, the accessing module 1003 may be used to execute any step in the communication method based on the cloud computing technology, the steps that the receiving module 1001, the writing module 1002 and the accessing module 1003 are responsible for implementing may be specified according to needs, and all the functions of the cloud management platform 10 are implemented by implementing different steps in the communication method based on the cloud computing technology through the receiving module 1001, the writing module 1002 and the accessing module 1003.
As shown in fig. 8, for a computing device 100 provided in an embodiment of the present application, the computing device 100 includes: bus 102, processor 104, memory 106, and communication interface 108. Communication between the processor 104, the memory 106, and the communication interface 108 is via the bus 102. Computing device 100 may be a server or a terminal device. It should be understood that the present application is not limited to the number of processors, memories in computing device 100.
Bus 102 may be a peripheral component interconnect standard (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, only one line is shown in fig. 8, but not only one bus or one type of bus. Bus 104 may include a path to transfer information between various components of computing device 100 (e.g., memory 106, processor 104, communication interface 108).
The processor 104 may include any one or more of a central processing unit (central processing unit, CPU), a graphics processor (graphics processing unit, GPU), a Microprocessor (MP), or a digital signal processor (DIGITAL SIGNAL processor, DSP).
The memory 106 may include volatile memory (RAM), such as random access memory (random access memory). The processor 104 may also include non-volatile memory (non-volatile memory), such as read-only memory (ROM), flash memory, mechanical hard disk (HARD DISK DRIVE, HDD) or Solid State Disk (SSD).
The memory 106 stores executable program codes, and the processor 104 executes the executable program codes to realize the functions of the receiving module 1001, the writing module 1002, and the accessing module 1003, respectively, thereby realizing a communication method based on the cloud computing technology. That is, the memory 106 has stored thereon instructions for executing a communication method based on cloud computing technology. In fig. 8, the executable program code is executed by the processor 104 to realize the functions of the receiving module 1001, the writing module 1002, and the accessing module 1003, respectively.
Communication interface 108 enables communication between computing device 100 and other devices or communication networks using a transceiver module such as, but not limited to, a network interface card, transceiver, or the like.
The embodiment of the application also provides the computing device cluster 10. The cluster of computing devices 10 includes at least one computing device. The computing device may be a server for data storage or a local server in a local data center. In some embodiments, the computing device may also be a terminal device such as a desktop, notebook, or smart phone. The edge nodes and the center node may each be a computing device in the computing device cluster 10.
As shown in fig. 9, the computing device cluster 10 includes at least one computing device 100. The memory 106 in one or more computing devices 100 in the computing device cluster may have stored therein instructions of the same cloud management platform for performing a communication method based on cloud computing technology.
In some possible implementations, one or more computing devices 100 in the computing device cluster may also be used to execute some instructions of the cloud management platform for performing a communication method based on cloud computing technology. In other words, a combination of one or more computing devices 100 may collectively execute instructions of the cloud management platform for performing a communication method based on cloud computing technology.
It should be noted that the memory 106 in different computing devices 100 in the computing device cluster may store different instructions for performing part of the functions of the cloud management platform. That is, the instructions stored by the memory 106 in the different computing devices 100 may implement the functionality of one or more of the receiving module 1001, the writing module 1002, and the accessing module 1003.
As shown in fig. 10, one or more computing devices in the cluster of computing devices 10 may be connected by a network. Wherein the network may be a wide area network or a local area network, etc. Fig. 10 shows one possible implementation. As shown in fig. 10, two computing devices 100A and 100B are connected through a network, taking as an example the functions of one or more modules of a receiving module 1001, a writing module 1002, and an accessing module 1003. Specifically, the connection to the network is made through a communication interface in each computing device. In this type of possible implementation, instructions to perform the functions of the receiving module 1001 and the writing access module 1002 are stored in the memory 106 in the computing device 100A. Meanwhile, instructions to perform the functions of the access module 1003 are stored in the memory 106 in the computing device 100B.
The connection manner between the computing device clusters 10 shown in fig. 10 may be in consideration of that the communication method based on the cloud computing technology provided by the present application requires a large amount of storage data and reading data, so that the function implemented by the access module 1003 is considered to be performed by the computing device 100B.
It should be appreciated that the functionality of computing device 100A shown in fig. 10 may also be performed by multiple computing devices 100. Likewise, the functionality of computing device 100B may also be performed by multiple computing devices 100.
Embodiments of the present application also provide a computer program product comprising instructions. The computer program product may be software or a program product containing instructions capable of running on a computing device or stored in any useful medium. The computer program product, when run on at least one computing device, causes the at least one computing device to perform a communication method based on cloud computing technology.
The embodiment of the application also provides a computer readable storage medium. The computer readable storage medium may be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc. The computer-readable storage medium includes instructions that instruct a computing device to perform a communication method based on cloud computing technology.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are illustrative, and the module or unit is divided into a logic function, and there may be other division manners in actual implementation, for example, multiple units or components may be combined or integrated into another apparatus, 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 units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application.

Claims (20)

1. A communication method based on cloud computing technology, the method being applied to a cloud management platform for providing object storage services to tenants and managing an infrastructure for providing data buckets in the object storage services, the infrastructure comprising at least one cloud data center, the method comprising:
The cloud management platform receives information input by the tenant and aimed at a client node, wherein the client node is arranged outside the infrastructure and is accessed to a public network;
The cloud management platform writes the information into the data bucket, wherein the data bucket is provided with an access address facing the public network, and the access address is used for indicating the client node to acquire the information from the data bucket;
the cloud management platform accesses the data bucket, obtains an execution result of the information, which is uploaded to the data bucket by the client node, from the data bucket, and provides the execution result to the tenant.
2. The method of claim 1, wherein the cloud management platform writing the information to the data bucket comprises:
The cloud management platform writes the information into the data bucket based on a first access credential, the first access credential is used for indicating that the cloud management platform has the right to access the data bucket, the client node obtains the information from the data bucket based on a second access credential, and the second access credential is used for indicating that the client node has the right to access the data bucket.
3. The method of claim 1, wherein the cloud management platform accessing the data bucket comprises:
The cloud management platform periodically accesses the data bucket based on a first pre-access credential, the first access credential being used to indicate that the cloud management platform has permission to access the data bucket.
4. A method as claimed in any one of claims 1 to 3, wherein the client nodes comprise a plurality, the infrastructure comprises a data bucket in one-to-one correspondence with each of the plurality of client nodes, and the cloud management platform writes the information to the data bucket comprises:
The cloud management platform writes information of a first client node in the plurality of client nodes into a data bucket corresponding to the first client node;
the cloud management platform accesses the data bucket, obtains an execution result of the information, which is uploaded to the data bucket by the client node, from the data bucket, and comprises the following steps:
and the cloud management platform accesses a data bucket corresponding to the first client node, and obtains an execution result of the information uploaded by the first client node from the data bucket corresponding to the first client node.
5. A method according to any one of claims 1 to 3, wherein the information comprises a unique task identity, and wherein the obtaining, from the data bucket, the execution result for the information uploaded to the data bucket by the client node comprises:
and acquiring an execution result of the information uploaded by the client node from the data bucket based on the task identifier.
6. A method as claimed in any one of claims 1 to 3, wherein the client nodes comprise a plurality of, the data bucket comprises an information storage space in one-to-one correspondence with each of the plurality of client nodes, and the cloud management platform writes the information to the data bucket comprises:
the cloud management platform writes information of a first client node in the plurality of client nodes into an information storage space corresponding to the first client node;
the cloud management platform accesses the data bucket, obtains an execution result of the information, which is uploaded to the data bucket by the client node, from the data bucket, and comprises the following steps:
The cloud management platform accesses an information storage space corresponding to the first client node, and obtains an execution result, uploaded by the first client node, for the information from the information storage space corresponding to the first client node.
7. A method according to any one of claims 1 to 6, wherein the information comprises instructions and/or data.
8. The method of any of claims 1 to 7, wherein the client node comprises one of: car machine, cell-phone, personal computer, intelligent wearing equipment, intelligent household electrical appliances, intelligent medical instrument, intelligent sports equipment, server, virtual machine, container.
9. A cloud management platform for providing object storage services to tenants and managing an infrastructure for providing data buckets in the object storage services, the infrastructure including at least one cloud data center, the cloud management platform comprising:
The receiving module is used for receiving information input by the tenant and aiming at a client node, wherein the client node is arranged outside the infrastructure and is accessed to a public network;
the writing module is used for writing the information into the data barrel, wherein the data barrel is provided with an access address facing the public network, and the access address is used for indicating the client node to acquire the information from the data barrel;
the access module is used for accessing the data bucket, acquiring an execution result of the information, which is uploaded to the data bucket by the client node, from the data bucket, and providing the execution result to the tenant.
10. The cloud management platform of claim 9, wherein said writing module is further to write said information to said data bucket based on a first access credential, said first access credential to indicate that said cloud management platform has rights to access said data bucket, said client node to obtain said information from said data bucket based on a second access credential, said second access credential to indicate that said client node has rights to access said data bucket.
11. The cloud management platform of claim 9, said access module further to periodically access said data buckets based on a first access credential, said first access credential to indicate that said cloud management platform has rights to access said data buckets.
12. The cloud management platform of any of claims 9 to 11, wherein said client nodes comprise a plurality, said infrastructure comprises a data bucket in one-to-one correspondence with each of a plurality of client nodes, said writing module further for writing information of a first client node of said plurality of client nodes to a data bucket corresponding to said first client node; the access module is further configured to access a data bucket corresponding to the first client node, and obtain an execution result for the information uploaded by the first client node from the data bucket corresponding to the first client node.
13. The cloud management platform of any of claims 9 to 11, wherein the information comprises a unique task identity, the access module further configured to obtain, from the data bucket, an execution result for the information uploaded by the client node based on the task identity.
14. The cloud management platform of any of claims 9 to 11, wherein said client nodes comprise a plurality of said data buckets comprising information storage spaces in one-to-one correspondence with each of a plurality of client nodes, said writing module further for writing information of a first client node of said plurality of client nodes to an information storage space corresponding to said first client node; the access module is further configured to access an information storage space corresponding to the first client node, and obtain an execution result for the information uploaded by the first client node from the information storage space corresponding to the first client node.
15. The cloud management platform of any of claims 9 to 14, wherein the information comprises instructions and/or data.
16. The cloud management platform of any of claims 9 to 15, wherein said client node comprises one of: car machine, cell-phone, personal computer, intelligent wearing equipment, intelligent household electrical appliances, intelligent medical instrument, intelligent sports equipment, server, virtual machine, container.
17. A communication method based on cloud computing technology, comprising:
A cloud management platform receives information input by a tenant and aimed at a client node, wherein the cloud management platform is used for providing an object storage service for the tenant and managing an infrastructure for providing a data bucket in the object storage service, the infrastructure comprises at least one cloud data center, and the client node is arranged outside the infrastructure and is connected to a public network;
The cloud management platform writes the information into the data bucket, wherein the data bucket is provided with an access address facing the public network;
the client node acquires the information from the data bucket based on the access address, and uploads the execution result of the information to the data bucket;
the cloud management platform accesses the data bucket, obtains an execution result of the information from the data bucket, and provides the execution result to the tenant.
18. A cluster of computing devices, comprising at least one computing device, each computing device comprising a processor and a memory;
the processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device to cause the cluster of computing devices to perform the cloud computing technology based communication method of any of claims 1 to 8.
19. A computer program product containing instructions that, when executed by a cluster of computing devices, cause the cluster of computing devices to perform the cloud computing technology based communication method of any of claims 1 to 8.
20. A computer-readable storage medium comprising computer program instructions which, when executed by a cluster of computing devices, perform the cloud computing technology based communication method of any of claims 1 to 8.
CN202310120321.4A 2023-02-15 2023-02-15 Communication method based on cloud computing technology and related equipment Pending CN118540315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310120321.4A CN118540315A (en) 2023-02-15 2023-02-15 Communication method based on cloud computing technology and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310120321.4A CN118540315A (en) 2023-02-15 2023-02-15 Communication method based on cloud computing technology and related equipment

Publications (1)

Publication Number Publication Date
CN118540315A true CN118540315A (en) 2024-08-23

Family

ID=92388860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310120321.4A Pending CN118540315A (en) 2023-02-15 2023-02-15 Communication method based on cloud computing technology and related equipment

Country Status (1)

Country Link
CN (1) CN118540315A (en)

Similar Documents

Publication Publication Date Title
US10417454B1 (en) Automated secure operating system policy integration
CN108628658B (en) License management method and device for container
CN109274722B (en) Data sharing method and device and electronic equipment
US8924592B2 (en) Synchronization of server-side cookies with client-side cookies
US8254579B1 (en) Cryptographic key distribution using a trusted computing platform
JP6921831B2 (en) Associating user accounts with corporate workspaces
CN108289098B (en) Authority management method and device of distributed file system, server and medium
US11062041B2 (en) Scrubbing log files using scrubbing engines
US10148637B2 (en) Secure authentication to provide mobile access to shared network resources
US20190306169A1 (en) System and method for managing access to stored objects
US11005847B2 (en) Method, apparatus and computer program product for executing an application in clouds
CN108427677B (en) Object access method and device and electronic equipment
US11063922B2 (en) Virtual content repository
US20200042578A1 (en) Document Object Model (DOM) Element Location Platform
US11477187B2 (en) API key access authorization
US20230328138A1 (en) Cloud Platform and Bucket Management Method for Object Storage Service Provided by Cloud Platform
US20180183665A1 (en) Method and Device for Integrating Multiple Virtual Desktop Architectures
CN112948842A (en) Authentication method and related equipment
CN106648838B (en) Resource pool management configuration method and device
US11722481B2 (en) Multiple identity provider authentication system
US11757976B2 (en) Unified application management for heterogeneous application delivery
US11849037B1 (en) Cross-region replication of secrets
WO2022001879A1 (en) Management of computing secrets
CN118540315A (en) Communication method based on cloud computing technology and related equipment
US10884621B2 (en) Block volume mount synchronization to prevent data corruption

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication