Visual cloud architecture orchestration method and apparatus, and computing device cluster
Through the visual cloud architecture orchestration method, the connections in the cloud architecture diagram are automatically generated, which solves the problem of difficult to intuitively reflect the relationship between cloud product elements in the existing technology, and improves the quality of architecture design and user experience.
Patent Information
- Application Number
- PCT/CN2024/089162
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-23
- Filing Date
- 2024-04-22
- Publication Date
- 2025-03-06
AI Technical Summary
It is difficult for the prior art to intuitively reflect the relationship between the various cloud product elements in the architectural diagram of cloud service resources, affecting the quality of architecture design and user experience.
By providing a visual cloud architecture orchestration method to display the cloud architecture editing interface, users can select cloud product ingots and generate architecture diagrams, and automatically generate connections based on the relationship between cloud services, reflecting the relationship between cloud product ingots.
It improves the reference value and user experience of the architecture diagram, enables users to intuitively obtain the relevant information between cloud product elements, and improves the quality and aesthetics of the architecture design.
Smart Images

Figure CN2024089162_06032025_PF_FP_ABST
Abstract
Description
A visual cloud architecture orchestration method, device, and computing device cluster
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on July 24, 2023, with application number 202310908649.2 and application name “A method, system and device for optimizing graphic element layout”, the entire contents of which are incorporated by reference into this application; this application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on November 23, 2023, with application number 202311575314.X and application name “A visual cloud architecture orchestration method, device and computing device cluster” except for the entire contents of the above-mentioned application number 202310908649.2, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of graphic orchestration, and in particular to a visual cloud architecture orchestration method, apparatus, and computing device cluster. Background Art
[0004] With the rapid development of various industries (such as the cloud services industry), it is often necessary to present system models (such as technical architecture (including integration architecture, deployment architecture, etc.), information architecture, business architecture, and application architecture) to industry colleagues and clients through architecture diagrams to facilitate comprehensive understanding and improve efficiency. However, the content included in architecture diagrams (such as cloud product elements) is becoming increasingly rich, and architecture diagrams need to reflect the relationships between various cloud product elements.
[0005] The quality of architectural design, represented by integrated architecture and information architecture, directly impacts the quality of a solution. Furthermore, factors such as the intuitiveness and aesthetics of the architecture also determine the quality of the final delivered solution. An excellent, high-quality solution requires an intuitive and aesthetically pleasing architecture.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a visual cloud architecture orchestration method, apparatus, and computing device cluster for intuitively reflecting the association relationship between various cloud product elements in the architecture diagram of cloud service resources, thereby increasing the reference value of the architecture diagram and enhancing the user experience.
[0008] In a first aspect, a visualized cloud architecture orchestration method is provided, the method comprising: a cloud architecture orchestration apparatus displaying a cloud architecture editing interface, the cloud architecture editing interface comprising at least one graphic element selection area, the graphic element selection area comprising at least one cloud product graphic element, the at least one cloud product graphic element corresponding to at least one cloud service; the cloud architecture orchestration apparatus obtaining a graphic element selection instruction from a user for a first cloud product graphic element, the first cloud product graphic element corresponding to a first cloud service; the cloud architecture orchestration apparatus obtaining a graphic element selection instruction from a user for a second cloud product graphic element, the second cloud product graphic element corresponding to a second cloud service; the cloud architecture orchestration apparatus obtaining a first orchestration background frame, the first orchestration background frame representing at least one of the following cloud facilities: an availability zone, a virtual private cloud, and a virtual switch; the cloud architecture orchestration apparatus displaying a first cloud architecture diagram, the first cloud architecture diagram comprising a first orchestration background frame, the first orchestration background frame comprising a first cloud product graphic element and a second cloud product graphic element, wherein a connection between the first cloud product graphic element and the second cloud product graphic element is automatically generated based on an association relationship between the first cloud service and the second cloud service.
[0009] Using this method, the cloud architecture orchestration device automatically generates connections between cloud product elements that have an associated relationship in the first cloud architecture diagram, thereby being able to reflect the associated relationship between cloud product elements in the first cloud architecture diagram, so that users can intuitively obtain the associated information between cloud product elements, thereby improving user experience.
[0010] In a possible design, before displaying the first cloud architecture diagram, the cloud architecture orchestration device may further determine whether the interval between the first cloud product element and the second cloud product element is less than a first threshold.
[0011] With this design, the cloud architecture orchestration device displays connecting lines between cloud product graphics elements that are closer in the first cloud architecture diagram; conversely, there is no need to display connecting lines between cloud product graphics elements that are farther away, thereby avoiding excessive clutter in the first cloud architecture diagram, improving the reference value of the first cloud architecture diagram, and enhancing the user experience.
[0012] In one possible design, the cloud architecture orchestration device may further configure the communication relationship between the first cloud service and the second cloud service based on the connection between the first cloud product element and the second cloud product element.
[0013] With this design, the cloud architecture orchestration device can configure the communication relationship between the first cloud service and the second cloud service based on the connection between the aforementioned first cloud product element and the second cloud product element. That is, the cloud architecture orchestration device can configure cloud services based on the association relationship, thereby improving the application value of the first architecture diagram and enhancing the user experience.
[0014] In one possible design, the aforementioned association relationship includes at least one of the following: a data synchronization relationship, an Internet Protocol (IP) address binding relationship, a data storage relationship, a data backup relationship, and a message consumption relationship.
[0015] In one possible design, the cloud architecture orchestration device may also receive deployment instructions from the user; the cloud architecture orchestration device may also activate the first cloud service and the second cloud service for the user based on the deployment instructions.
[0016] With this design, the cloud architecture orchestration device can obtain the user's deployment instructions and activate the corresponding cloud services based on the deployment instructions, thereby improving the user experience.
[0017] In one possible design, before displaying the first cloud architecture diagram, the cloud architecture orchestration device may further obtain first position information of the first cloud product element, where the first position information is used to indicate the preset display position of the first cloud product element in the cloud architecture editing interface; the cloud architecture orchestration device may further obtain second position information of the second cloud product element, where the second position information is used to indicate the preset display position of the second cloud product element in the cloud architecture editing interface; the cloud architecture orchestration device may further determine whether the preset display position of the first cloud product element and the preset display position of the second cloud product element overlap based on the first position information and the second position information; when the preset display positions of the first cloud product element and the second cloud product element overlap, the cloud architecture orchestration device may further adjust the position of the first cloud product element and / or the second cloud product element so that the actual display positions of the first cloud product element and the second cloud product element in the first cloud architecture diagram do not overlap.
[0018] With this design, the cloud architecture orchestration device can adjust the actual display positions of the first cloud product icon and the second cloud product icon according to the preset display positions of the first cloud product icon and the second cloud product icon, so that there is no overlap between the cloud product icons in the first cloud architecture diagram, avoiding confusion in the architecture diagram caused by overlapping cloud product icons and improving user experience.
[0019] In one possible design, before displaying the first cloud architecture diagram, the cloud architecture orchestration device may further determine a grid set based on the position of the first cloud product icon in the cloud architecture editing interface; the grid set includes a first grid and multiple adjacent grids of the first grid; the position of the first cloud product icon is included in the first grid; the cloud architecture orchestration device may further determine a second grid based on the first grid; the second grid is any idle grid among the multiple adjacent grids; the position of the second cloud product icon is included in the second grid; the first grid and the second grid are horizontally aligned or vertically aligned; and / or the distance between the first grid and the second grid is a preset value.
[0020] With this design, the cloud architecture orchestration device can generate a grid set on the cloud architecture editing interface according to the location of the first cloud product element, and display other cloud product elements near the first cloud product element in the grid. Since the grids in the grid set are neatly arranged, the aesthetics of the architecture diagram can be improved and the user experience can be enhanced.
[0021] In one possible design, before determining the grid set based on the position of the first cloud product element in the cloud architecture editing interface, the cloud architecture orchestration device may also determine that the interval between the first cloud product element and the second cloud product element is less than a second threshold.
[0022] With this design, when the interval between the first cloud product element and the second cloud product element is small, the cloud architecture orchestration device triggers the aforementioned grid design; conversely, when the interval between the first cloud product element and the second cloud product element is far, there is no need to start the grid design, thereby saving computing resources of the cloud architecture orchestration device.
[0023] In one possible design, the cloud architecture editing interface further includes a third cloud product graphic element and a fourth cloud product graphic element, and the cloud architecture orchestration device can also obtain the user's one-click layout instruction; the cloud architecture orchestration device can also display a second cloud architecture diagram based on the one-click layout instruction and the first cloud architecture diagram, and the second cloud architecture diagram includes the third cloud product graphic element and the fourth cloud product graphic element; the position of the third cloud product graphic element is included in the third grid; the position of the fourth cloud product graphic element is included in the fourth grid; the third grid and the fourth grid are horizontally aligned or vertically aligned, and / or the distance between the third grid and the fourth grid is a preset value.
[0024] With this design, the cloud architecture orchestration device can place all cloud product elements in the cloud architecture editing interface in a grid through a one-click layout function design, thereby simplifying user operations and improving user experience.
[0025] In one possible design, the cloud architecture editing interface further includes a fifth cloud product graphic element. The cloud architecture orchestration device may also obtain a user's specific drag instruction for the first cloud product graphic element. The specific drag instruction corresponds to third position information. The third position information is used to indicate a preset display position of the first cloud product graphic element in the cloud architecture editing interface. The cloud architecture orchestration device may also obtain fourth position information of the fifth cloud product graphic element. The fourth position information is used to indicate a preset display position of the fifth cloud product graphic element in the cloud architecture editing interface. The cloud architecture orchestration device may also exchange the actual display positions of the first cloud product graphic element and the fifth cloud product graphic element based on the third position information and the fourth position information, and display the third cloud architecture diagram. The interval between the preset display position of the first cloud product graphic element and the preset display position of the fifth cloud product graphic element is less than a third threshold.
[0026] With this design, the cloud architecture orchestration device can conveniently implement the position exchange of cloud product graphics elements by obtaining specific drag and drop instructions from users, thereby simplifying user operations and improving user experience.
[0027] In the second aspect, the present application also provides a visual cloud architecture orchestration device. The beneficial effects can be found in the description of the first aspect and will not be repeated here. The device has the function of implementing the behavior in the method example of the first aspect mentioned above. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the structure of the device includes an editing module, an acquisition module and a cloud architecture display module. These modules or models can perform the corresponding functions in the method example of the first aspect mentioned above. Please refer to the detailed description in the method example for details, which will not be repeated here.
[0028] In a third aspect, an embodiment of the present application further provides a computing device, which includes a processor and a memory, and may also include a communication interface. Optionally, it also includes a display screen. The processor executes the program instructions in the memory to execute the method provided in the above-mentioned first aspect or any possible implementation of the first aspect. The memory is coupled to the processor, which stores the program instructions and data necessary for determining traffic flow. The communication interface is used to communicate with other devices. The display screen is used to display information to the user when triggered by the processor, such as displaying a cloud architecture editing interface.
[0029] In a fourth aspect, the present application provides a computing device cluster comprising at least one computing device. Each computing device comprises a memory and a processor. The processor of at least one computing device is configured to access code in the memory to execute the method provided in the first aspect or any possible implementation of the first aspect.
[0030] In a fifth aspect, the present application provides a non-transitory readable storage medium. When the non-transitory readable storage medium is executed by a computing device, the computing device performs the method provided in the first aspect or any possible implementation of the first aspect. The storage medium stores a program. The storage medium includes, but is not limited to, volatile memory, such as random access memory, and non-volatile memory, such as flash memory, a hard disk drive (HDD), and a solid state drive (SSD).
[0031] In a sixth aspect, the present application provides a computer program product, comprising computer instructions. When executed by a computing device, the computing device performs the method provided in the aforementioned first aspect or any possible implementation of the first aspect. The computer program product may be a software installation package. When the method provided in the aforementioned first aspect or any possible implementation of the first aspect is required, the computer program product may be downloaded and executed on a computing device.
[0032] In the seventh aspect, the present application also provides a computer chip, which is connected to a memory and is used to read and execute a software program stored in the memory to execute the method provided in the aforementioned first aspect or any possible implementation of the first aspect.
[0033] In addition, the technical effects brought about by the second to sixth aspects can be found in the description of the first aspect above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] FIG1 is a flow chart of a visual cloud architecture orchestration method provided in an embodiment of the present application;
[0035] FIG2 is an example diagram of a cloud architecture editing interface provided by an embodiment of the present application;
[0036] FIG3 is a flow chart of a visual cloud architecture orchestration method provided in an embodiment of the present application;
[0037] FIG4a is an example diagram of a cloud computing data center provided in an embodiment of the present application;
[0038] FIG4 b is an example diagram of another visualized cloud architecture orchestration method provided in an embodiment of the present application;
[0039] FIG5a is an example diagram of another visualized cloud architecture orchestration method provided in an embodiment of the present application;
[0040] FIG5 b is an example diagram of another visualized cloud architecture orchestration method provided in an embodiment of the present application;
[0041] FIG6 is an example diagram of another visualized cloud architecture orchestration method provided in an embodiment of the present application;
[0042] FIG7 a is an example diagram of another visualized cloud architecture orchestration method provided in an embodiment of the present application;
[0043] FIG7 b is an example diagram of another visualized cloud architecture orchestration method provided in an embodiment of the present application;
[0044] FIG8 is an example diagram of another visualized cloud architecture orchestration method provided in an embodiment of the present application;
[0045] FIG9 is an example diagram of another visual cloud architecture orchestration method provided in an embodiment of the present application;
[0046] FIG10 is an example diagram of another visual cloud architecture orchestration method provided in an embodiment of the present application;
[0047] FIG11 is an example diagram of another visualized cloud architecture orchestration method provided in an embodiment of the present application;
[0048] FIG12 is an example diagram of another visual cloud architecture orchestration method provided in an embodiment of the present application;
[0049] FIG13 is an example diagram of another visual cloud architecture orchestration method provided in an embodiment of the present application;
[0050] FIG14 is a schematic diagram of the structure of a visual cloud architecture orchestration device provided in an embodiment of the present application;
[0051] FIG15 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;
[0052] FIG16 is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solutions and beneficial effects of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0054] In the description of this application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in this application is merely a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of this application, “at least one” means one or more items, and “multiple items” means two or more items. In the description of this application, words such as “first” and “second” are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0055] In order to intuitively reflect the relationship between various cloud product elements in the architecture diagram of cloud service resources, improve the reference value of the architecture diagram, and enhance the user experience, an embodiment of the present application provides a visual cloud architecture orchestration method, which can be applied to a visual cloud architecture orchestration device (such as a terminal device).
[0056] The terminal device provided in the embodiments of this application may be any of the following descriptions, and this application does not limit this. A terminal device, also known as user equipment (UE), mobile station (MS), or mobile terminal (MT), is a device that provides voice and / or data connectivity to a user. For example, a terminal device includes a handheld device with wireless connectivity, an in-vehicle device, and the like. Currently, terminal devices may include: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices (such as smart watches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed trains, etc.), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, smart home devices (such as refrigerators, televisions, air conditioners, electricity meters, etc.), intelligent robots, workshop equipment, wireless terminals in self-driving cars, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and flying devices (such as intelligent robots, hot air balloons, drones, and airplanes). The terminal device may also be other devices having terminal device functions. For example, the terminal device may also be a device that functions as a terminal device in device-to-device (D2D) communication, Internet of Vehicles (IoV), or machine-to-machine (M2M) communication. In particular, when communication is performed between network devices, the network device that functions as a terminal device may also be considered a terminal device. The method provided in the embodiments of the present application may be executed by the terminal device or by a component of the terminal device (e.g., a processor, a chip, or a chip system, etc.).
[0057] FIG1 illustrates a visual cloud architecture orchestration method provided in an embodiment of the present application. This visual cloud architecture orchestration method can be applied to primitive canvas software and some industrial design software (e.g., computer-aided design (CAD) / computer-aided manufacturing (CAM) software). Taking the cloud architecture orchestration device as an example, the method may include the following steps:
[0058] S101: The cloud architecture arrangement device displays a cloud architecture editing interface, where the cloud architecture editing interface includes at least one graphic element selection area, where the graphic element selection area includes at least one cloud product graphic element, and the at least one cloud product graphic element corresponds to at least one cloud service.
[0059] Among them, the cloud product primitive refers to the graphic identification of the smallest unit, which is also called primitive in the embodiment of this application. For example, in the management of a cloud service resource, two or more cloud services can be integrated together to form a server cluster; each cloud product primitive can identify the type, basic specifications and other information of a cloud service. In one possible implementation method, a cloud product primitive can also represent a collection of more than two cloud services. There is no limitation on the number and type of specific cloud services represented by the cloud product primitive. In the embodiment of this application, the cloud product primitive can be an element of relatively fixed size, or it can be a table, wireframe or connection element, which is not limited in this application. For example, the cloud services corresponding to the cloud product elements include but are not limited to the following: cloud server ECS (Elastic Compute Service), elastic public IP (Elastic IP), database service (Database Service), complex balancing server load balancer (SLB), proprietary network virtual private cloud (VPC), cloud enterprise network (CEN), object storage service (OSS), machine learning artificial intelligence platform (platform for AI, PAI), data transmission service (DTS), etc.
[0060] Figure 2 is an example diagram of a possible cloud architecture editing interface provided by an embodiment of the present application, wherein the left side is an element selection area and the right side is a custom canvas, which is used to display the selected cloud product elements to the user.
[0061] S102: The cloud architecture orchestration apparatus obtains a user's graphic element selection instruction for a first cloud product graphic element, where the first cloud product graphic element corresponds to a first cloud service.
[0062] In the embodiments of the present application, the element selection instructions for a cloud product element (e.g., the first cloud product element) include, but are not limited to, any of the following: clicking (e.g., single-clicking, double-clicking) a cloud product element in the element selection area; dragging a cloud product element in the element selection area; configuring and deploying specific information for a cloud product element. As previously mentioned, the first cloud service can be a single cloud service or a combination of two cloud services.
[0063] Optionally, in response to the aforementioned user's graphic element selection instruction for the first cloud product graphic element, the cloud architecture orchestration device may display the first cloud product graphic element in the custom canvas of the aforementioned cloud architecture editing interface.
[0064] In one possible implementation, a cloud server sends an image instruction to a cloud architecture orchestration device so that the cloud architecture orchestration device can display the interface or image to a user or tenant. In this implementation, the cloud server can be considered to be the entity that displays the interface or image to the user or tenant. Similarly, when the cloud architecture orchestration device receives an instruction from a user or tenant to perform a primitive operation, or when the cloud architecture orchestration device sends the instruction to a cloud service so that the cloud server can perform the aforementioned primitive mobilization, selection, etc. in the cloud, the cloud server can also be considered to be the entity that executes the relevant instruction acquisition action.
[0065] In one possible implementation, users can perform the above operations on the cloud architecture orchestration device through a network (web) interface or client. The above operations can cooperate with the cloud to achieve a certain invention purpose. In this implementation, although the subject of terminal execution may be an individual user, since the terminal's functions, interface, and execution capabilities all come from the cloud, the subject of the execution of the actions performed by the above cloud architecture orchestration device can also be regarded as the legal entity of the cloud device, such as a cloud service provider.
[0066] It is understandable that in the current software service system, cloud devices often need to send or instruct the cloud architecture orchestration device to obtain certain instructions, which can be through downloading a client or through a web page, etc., so that the cloud architecture orchestration device can act as an agent for the cloud to contact the end user or tenant to obtain the operations and instructions of the end user or tenant. The cloud architecture orchestration device then forwards the above operations and instructions to the cloud for cloud processing, or performs simple local processing on some simple content. Since all instructions received by the above cloud architecture orchestration device are cloud services, or the above cloud architecture orchestration device is instructed by the cloud to receive and process the operations and instructions received from the end user or tenant, or the above cloud architecture orchestration device receives and executes the above instructions and functions on behalf of the cloud architecture orchestration device, all actions performed by the above cloud architecture orchestration device can be regarded as an extension of the cloud device, and the subject of the cloud architecture orchestration device performing the action should be regarded as the subject of the cloud server, such as a cloud service provider.
[0067] S103: The cloud architecture arrangement device obtains a graphic element selection instruction from the user for a second cloud product graphic element, where the second cloud product graphic element corresponds to a second cloud service.
[0068] Optionally, in response to the aforementioned user's graphic element selection instruction for the second cloud product graphic element, the cloud architecture orchestration device may display the second cloud product graphic element in the custom canvas of the aforementioned cloud architecture editing interface.
[0069] S104: The cloud architecture orchestration apparatus obtains a first orchestration background frame, where the first orchestration background frame represents at least one of the following cloud facilities: an availability zone, a virtual private cloud, and a virtual switch.
[0070] It should be understood that the first orchestration background frame may also represent other cloud facilities (eg, servers, storage systems, management and monitoring tools, etc.) not shown, which is not limited in this application.
[0071] The following is a brief explanation of the aforementioned cloud facilities.
[0072] Availability Zone (AZ): An AZ is a collection of one or more physical data centers, each with independent water and electricity. Computing, networking, storage, and other resources are logically divided into multiple clusters within the AZ. Multiple AZs within a region are connected by high-speed fiber optic cables to meet users' needs for building high-availability systems across AZs. An AZ describes the location of a data center, and users can create cloud resources (including virtual machines) in a specific AZ.
[0073] A virtual private cloud (VPC) is a customizable, logically isolated network space on a public cloud. Users can create a VPC in a cloud computing data center.
[0074] As shown in Figure 3, a user can create virtual machines (VMs) 1 and 2 in a cloud computing data center and place them in VPC1. They can also create VMs 3 and 4 and place them in VPC2. The user can use the interface provided by the cloud management platform to set the private network segments for VPC1 and VPC2. These can be the same or different, similar to two independent local area networks. The user can further configure the private network addresses for VM1 and VM2 in VPC1 and for VM3 and VM4 in VPC2. VM1 and VM2 can communicate with each other in VPC1 (they can ping each other), and VM3 and VM4 can communicate with each other in VPC2. However, VM1 and VM2 cannot communicate with VM3 or VM4 across VPCs. For example, pinging VM3's private network address 192.168.1.4 from VM1 will not receive a response. The above features of the VPC network completely simulate the characteristics of the local LAN in the public cloud, so that the user's local computer can be set up in an environment similar to the local network after it is put on the cloud, and the local device can even maintain its own private network address after it is put on the cloud.
[0075] Virtual switch: also known as virtual network switch, is used to deploy core business systems or regional servers. It works in the Layer 2 data network and implements the Layer 2 (and some Layer 3) network functions of a physical switch through software.
[0076] S105: The cloud architecture orchestration device displays a first cloud architecture diagram, where the first cloud architecture diagram includes a first orchestration background frame. The first orchestration background frame includes a first cloud product graphic element and a second cloud product graphic element. The connection line (or connecting line) between the first cloud product graphic element and the second cloud product graphic element is automatically generated based on the association relationship between the first cloud service and the second cloud service.
[0077] The concept of "within the frame" can be understood as all cloud product elements within the frame. If the large wireframe includes the small wireframe, the cloud product elements within the small wireframe can also be considered as cloud product elements within the large wireframe. "Automatically generate" in step S105 includes, but is not limited to, any of the following: generating a connection by default; generating a connection after the user clicks a button with a function similar to "one-click generation"; providing only recommended connections to the user (for example, displaying them as dotted lines) and generating the connection after the user confirms.
[0078] In the embodiment of the present application, the cloud architecture diagram is composed of at least one cloud product element and a connection line. Exemplarily, the cloud architecture diagram can belong to any of the following:
[0079] (1) Integration Architecture: This is used to describe a cloud service solution. The integration architecture includes the basic information of the cloud service solution, such as the composition and integration relationships of cloud services.
[0080] (2) Information Architecture: Used to describe a set of overall component specifications in a structured manner. Information architecture includes various types of information and their relationships required for business operations and management decisions.
[0081] Optionally, the aforementioned association relationship includes at least one of the following: a data synchronization relationship, an Internet Protocol (IP) address binding relationship, a data storage relationship, a data backup relationship, and a message consumption relationship.
[0082] Assuming that the relationship between cloud product elements is marked with "->", the following is a simple example to illustrate the above relationship:
[0083] Data synchronization relationship: When users need to migrate data between different databases, for example, they need to migrate all or part of the data in source database A to another destination database B. In this case, the data replication service (DRS) can be used to provide migration services. For example, assuming that the cloud service (i.e., the aforementioned source database A) is one of the database engines provided by the relational database service (e.g., my structured query language (MySQL)), and the relationship is stored as: "RDS (MySQL) -> DRS", then this relationship indicates that the data of the RDS database will be fully or incrementally extracted (or synchronized) through DRS. In this way, using DRS can achieve data migration of the RDS (MySQL) database. This data migration process involves data synchronization, which means that the data in the destination database B can be kept consistent with the data in the source database A.
[0084] IP address binding: After a user binds an Elastic IP (EIP) to a cloud service, the cloud service can access the resources associated with the EIP over the internet. An EIP provides independent public IP resources, including a public IP address and public network bandwidth. For example, a stored association like "Elastic Cloud Server (ECS) -> EIP" indicates that an ECS instance (e.g., a virtual machine) is associated with an EIP.
[0085] Data Ingestion Relationship: Data ingestion is the process of storing data in a database. This process involves extracting data from various data sources, converting it into a storable format, and then loading it into the database. Data ingestion is a crucial component of data warehouses and business intelligence systems, helping organizations and businesses better manage and analyze their data to support decision-making and business development. For example, the stored relationship "Cloud Data Migration (CDM) -> RDS (MySQL)" indicates that source data is written to an RDS (MySQL) database via CDM. CDM is an efficient and easy-to-use batch data migration service.
[0086] Data backup relationship: Data backup refers to the process of copying data in a computer system or network to another storage device to prevent data loss or damage. Backup data is usually stored on external hard drives, optical disks, tapes, or cloud storage to ensure that data can be recovered in the event of system failure, natural disasters, human error, or malicious attacks. Data backup is an important part of data management and security, and can ensure data security and business continuity for enterprises and individuals. For example, the association relationship is stored as "ECS->Object Storage Service (OBS)", which means that data in ECS is backed up to OBS, thereby preventing user data loss due to ECS failure.
[0087] Message consumption relationships: Message consumption can be done in push or pull modes. For example, a relationship stored as "Distributed Message Service (DMS) Kafka -> Map Reduce Service (MRS) Flink" indicates that messages (streams) from DMS Kafka are consumed by MRS Flink.
[0088] Optionally, the aforementioned association relationships can be divided into multiple categories, and the lines corresponding to different categories can be represented in different forms. For example, the line can be a solid line or a dashed line; the line can be an undirected line segment, a line segment with a unidirectional arrow, or a line segment with multidirectional arrows. This application does not limit the classification method of the association relationships, nor does it limit the form of the lines. In actual processes, traditional technical solutions can be referred to.
[0089] Optionally, the aforementioned association relationships can be obtained by searching a pre-stored file set. The file set may include association relationships between multiple cloud product graphics elements. The association relationships between cloud product graphics elements may be generated based on pre-stored design rules (e.g., prefabricated architecture templates), wherein the design rules include integration relationships between cloud services (e.g., preferred relationships, recommended relationships, non-recommended relationships, and managed relationships, etc.).
[0090] This application provides the following examples to illustrate some of the displayed content in the cloud architecture editing interface or cloud architecture diagram:
[0091] As shown in (1) of FIG4a , the cloud architecture editing interface (only a portion of the display interface is shown in the figure) includes a first cloud product element and a second cloud product element, and there is no connection line between the first cloud product element and the second cloud product element. In conjunction with the aforementioned visual cloud architecture arrangement method, before executing steps S102 and S103, the first cloud product element and the second cloud product element can be located in the element selection area; after executing steps S102 and S103, the first cloud product element and the second cloud product element can also be located outside the element selection area, for example, the first cloud product element and the second cloud product element can still be located in the canvas.
[0092] As shown in (2) of Figure 4a, the layout background frame of the first cloud architecture diagram includes the first cloud product element and the second cloud product element, and a line connects the first cloud product element and the second cloud product element. In all figures corresponding to the embodiments of this application, the layout background frame is only an example. In actual applications, it can be combined with different colors, different shapes, and different fill formats, which is not limited in this application.
[0093] By adopting the method shown in the aforementioned steps S101 to S105, the cloud architecture orchestration device can intuitively reflect the relationship between various cloud product elements by displaying connections on the cloud architecture diagram, thereby improving the reference value of the architecture diagram and enhancing the user experience.
[0094] In one possible design, before executing step S105, the cloud architecture orchestration device may further determine whether the distance between the first cloud product primitive and the second cloud product primitive is less than a first threshold. In this way, when the two cloud product primitives are close together, the cloud architecture orchestration device can display a connection line based on the relationship between the two cloud product primitives. Conversely, when the two cloud product primitives are far apart, the cloud architecture orchestration device does not need to determine the relationship between the two cloud product primitives and therefore does not need to display the connection line between them, thus saving computing resources and avoiding excessive clutter in the architecture diagram.
[0095] In this embodiment of the present application, the definition of the interval between cloud product primitives can be pre-set and is not limited in this application. Assuming that the first cloud product primitive is located to the upper left of the second cloud product primitive, this embodiment of the present application provides six examples as shown in Figure 4b:
[0096] Example 1: As shown in (1) in Figure 4b, a tangent line of the first cloud product primitive is drawn at any coordinate point of the lower right corner of the first cloud product primitive, and a tangent line of the second cloud product primitive is drawn at any coordinate point of the upper left corner of the second cloud product primitive. The two tangent lines are parallel to each other, and the distance between the two tangent lines (shown by a thick line segment in the figure) is used as the interval between the first cloud product primitive and the second cloud product primitive.
[0097] Example 2: As shown in (2) in Figure 4b, draw a horizontal tangent line below the first cloud product element and draw a horizontal tangent line above the second cloud product element. The two horizontal tangent lines are parallel to each other, and the distance between the two horizontal tangent lines (shown by a thick line segment in the figure) is used as the interval between the first cloud product element and the second cloud product element.
[0098] Example 3: As shown in (3) in Figure 4b, draw a vertical tangent line on the right side of the first cloud product element and draw a vertical tangent line on the left side of the second cloud product element. The two vertical tangent lines are parallel to each other, and the distance between the two vertical tangent lines (shown by a thick line segment in the figure) is used as the interval between the first cloud product element and the second cloud product element.
[0099] Example 4: As shown in (4) in Figure 4b, select the intersection of the horizontal tangent below and the vertical tangent on the right side of the first cloud product element, select the intersection of the horizontal tangent above and the vertical tangent on the left side of the second cloud product element, and use the distance between the two intersections (shown by thick lines in the figure) as the interval between the first cloud product element and the second cloud product element.
[0100] It should be understood that the lines in the aforementioned Examples 1 to 4 may be temporarily displayed on the cloud architecture editing interface or may not be displayed on the cloud architecture editing interface, and this application does not limit this.
[0101] In one possible design, the cloud architecture orchestration device may further configure the communication relationship between the first cloud service and the second cloud service based on the connection between the first cloud product element and the second cloud product element.
[0102] For example, the cloud architecture orchestration device can configure IP, memory resources, account information, region, etc. for the first cloud service or the second cloud service. The content of the aforementioned communication relationship can refer to the traditional cloud service configuration method and is not limited in this application.
[0103] In one possible design, the cloud architecture orchestration device may receive a deployment instruction from a user; the cloud architecture orchestration device may also activate the first cloud service and the second cloud service for the user based on the deployment instruction.
[0104] Optionally, the cloud architecture orchestration device can trigger the aforementioned deployment instructions through various user operations, which are not limited in this application. For example, the cloud architecture orchestration device can trigger the aforementioned deployment instructions by clicking (single-click or double-clicking) a pre-configured function area (or function key); for another example, when completing the action of configuring the communication relationship in the previous design, the cloud architecture orchestration device can confirm the completion of the configuration based on the user's operation, and the cloud architecture orchestration device can also use this operation as the operation to trigger the deployment instruction.
[0105] After the cloud architecture orchestration device activates the cloud service for the user, the cloud architecture orchestration device can provide the user with the services corresponding to the cloud service. Optionally, when the cloud architecture orchestration device activates the cloud service for the user, the cloud architecture orchestration device can also start timing or billing for the service for the user.
[0106] This application also provides a design to avoid overlapping cloud product elements, which can improve the reference value of the architecture diagram and enhance the user experience. It should be understood that this design can be executed independently or based on the visual cloud architecture orchestration method shown in steps S101 to S105 above, and this application does not limit it.
[0107] In one possible design, the cloud architecture orchestration device obtains first position information of a first cloud product graphic element, where the first position information is used to indicate a preset display position of the first cloud product graphic element in the cloud architecture editing interface; the cloud architecture orchestration device obtains second position information of a second cloud product graphic element, where the second position information is used to indicate a preset display position of the second cloud product graphic element in the cloud architecture editing interface; the cloud architecture orchestration device determines whether the preset display position of the first cloud product graphic element and the preset display position of the second cloud product graphic element overlap based on the first position information and the second position information; when the preset display positions of the first cloud product graphic element and the second cloud product graphic element overlap, the cloud architecture orchestration device adjusts the position of the first cloud product graphic element and / or the second cloud product graphic element so that the actual display positions of the first cloud product graphic element and the second cloud product graphic element in the first cloud architecture diagram do not overlap.
[0108] In the embodiments of the present application, the preset display position of a cloud product element (e.g., a first cloud product element or a second cloud product element) at a first moment refers to the position corresponding to the last user operation on the cloud product element obtained by the cloud architecture orchestration device at or before the first moment. The preset display position of a cloud product element includes, but is not limited to, the following three situations:
[0109] Case 1: The cloud architecture orchestration device obtains the user's graphic element selection instruction for the cloud product graphic element. After a period of time (until the first moment mentioned above), the cloud architecture orchestration device does not obtain the user's operation on the position of the cloud product graphic element, then the position corresponding to the graphic element selection instruction is used as the preset display position of the cloud product graphic element.
[0110] Case 2: After the cloud product element has been displayed in the cloud architecture editing interface, the cloud architecture orchestration device obtains the user's first operation (such as a left-click drag operation) on the position of the cloud product element at a second moment (the same as the first moment or a moment before the first moment), and then uses the position corresponding to the first operation (such as the release position of the left-click drag operation) as the preset display position of the cloud product element.
[0111] Scenario 3: A cloud product element is displayed in the cloud architecture editing interface. The cloud architecture orchestration device detects a second user operation on the location of the cloud product element at a third moment (before the first moment), and detects a third user operation on the location of the cloud product element at a fourth moment (before the first moment and after the third moment). The location corresponding to the third operation is then used as the default display location for the cloud product element. The second and third operations can be the same or different.
[0112] In the aforementioned design, "the cloud architecture orchestration device determines whether the preset display positions of two cloud product graphics elements overlap," the cloud architecture orchestration device can determine the coordinates corresponding to the preset display position of the cloud product graphics element, or the coordinates corresponding to the cloud product graphics element icon determined based on the preset display position. The aforementioned example of the determination object should also be considered an overlap determined by location information.
[0113] In the embodiment of the present application, the existence of an overlapping relationship between the preset display positions of two cloud product graphics means that: the two cloud product graphics are partially covered or completely covered; or the interval between the two cloud product graphics is too close, etc. For example, the cloud architecture orchestration device can pre-set an coverage threshold. When the overlap rate of two cloud product graphics exceeds the overlap threshold, the cloud architecture orchestration device determines that there is an overlapping relationship between the two cloud product graphics. For another example, the cloud architecture orchestration device can pre-set a distance threshold. When the interval between two cloud product graphics is less than (or equal to) the distance threshold, the cloud architecture orchestration device determines that there is an overlapping relationship between the two cloud product graphics.
[0114] Optionally, the first position information of the first cloud product element may be determined based on a first user drag operation (e.g., an element selection instruction); and the second position information of the second cloud product element may be determined based on a second user drag operation. The first and second drag operations may be left-click drag operations. The first and second drag operations may be the same as or different from the operations corresponding to the element selection instructions in steps S102 and S103.
[0115] As shown in (1) in FIG5a, after the cloud architecture orchestration device executes the aforementioned steps S102 and S103, that is, when the cloud architecture orchestration device initially obtains the element selection instruction for the first cloud product element and the second cloud product element, the cloud architecture editing interface (only part of the display interface is shown in the figure) includes the first cloud product element and the second cloud product element; at the moment when the cloud architecture orchestration device obtains the first position information of the first cloud product element and the second position information of the second cloud product element (for example, at a certain moment after a series of user operations), as shown in (2) or (3) in FIG5a, the preset display position of the first cloud product element (shown by a dotted line in the figure) and the preset display position of the second cloud product element (shown by a dotted line in the figure) overlap to varying degrees; as shown in (4) in FIG5a, in the orchestration background frame of the first cloud architecture diagram displayed by the cloud architecture orchestration device, there is no overlap between the actual display position of the first cloud product element (shown by a solid line in the figure) and the actual display position of the second cloud product element (shown by a solid line in the figure). It should be understood that the shading in FIG5 a is only used to reflect the overlap between the cloud product primitives and does not represent the actual nature of the cloud product primitives.
[0116] Optionally, the method for the cloud architecture orchestration device to determine whether two cloud product graphics elements overlap can refer to traditional technologies, which is not limited in this application. For example, taking two cloud product graphics elements as graphics element A and graphics element B, when the upper left corner coordinates of graphics element A (x1, y1), the width of graphics element A (w1), the height of graphics element A (h1), the upper left corner coordinates of graphics element B (x2, y2), the width of graphics element B (w2), and the height of graphics element B (h2) meet the preset conditions, it is determined that graphics element A and graphics element B have an overlapping relationship; when the upper left corner coordinates of graphics element A (x1, y1), the width of graphics element A (w1), the height of graphics element A (h1), the upper left corner coordinates of graphics element B (x2, y2), the width of graphics element B (w2), and the height of graphics element B (h2) do not meet the aforementioned preset conditions, it is determined that graphics element A and graphics element B do not have an overlapping relationship. Among them, the width (w1) of the element A and the width (w2) of the element B can be the same or different, and the height (h1) of the element A and the height (h2) of the element B can be the same or different, and this application does not limit this.
[0117] Optionally, the distance between the actual display position of the first cloud product icon after adjustment by the cloud architecture orchestration device and the preset display position of the first cloud product icon is smaller than the preset distance; and / or the distance between the actual display position of the second cloud product icon after adjustment by the cloud architecture orchestration device and the preset display position of the second cloud product icon is smaller than the preset distance. In this way, the actual display position of the first cloud product icon (or the second cloud product icon) determined by the cloud architecture orchestration device is closer to the preset display position, that is, the actual display position of the first cloud product icon (or the second cloud product icon) is closer to the position expected by the user, so that the architecture diagram better meets the user's expectations.
[0118] Optionally, in order to make the architecture diagram more neat, in combination with the above design, it is assumed that the cloud architecture layout device only adjusts the preset display position of the first cloud product element, and does not adjust the preset display position of the second cloud product element, that is, the preset display position of the second cloud product element is the actual display position. The actual display position of the first cloud product element can be determined according to the position (i.e., the preset display position) of any cloud product element (e.g., the second cloud product element) in the current cloud architecture editing interface. For example, the actual display position of the first cloud product element is located directly above, directly below, directly to the left, directly to the right, at a 45-degree angle to the upper left, at a 45-degree angle to the upper right, at a 45-degree angle to the lower left, or at a 45-degree angle to the lower right of the preset display position of the second cloud product element. As shown in Figure 5b, the actual display position of the first cloud product element is located at eight positions in eight directions around the second cloud product element (indicated by dotted lines in the figure); in order to avoid overlapping of the first cloud product element with other cloud product elements, the three positions located above in the eight positions in the figure (indicated by shaded lines in the figure) are not desirable.
[0119] This application also provides a grid-based design to make the cloud product elements in the architecture diagram more neat and beautiful, improving the user experience. It should be understood that this design can be executed independently or based on the visual cloud architecture arrangement method shown in steps S101 to S105 above, and this application does not limit it.
[0120] The aforementioned grid design specifically includes the following steps: the cloud architecture orchestration device determines a grid set based on the position of the first cloud product element in the cloud architecture editing interface; the grid set includes the first grid and multiple adjacent grids of the first grid; the position of the first cloud product element is included in the first grid; the cloud architecture orchestration device determines a second grid based on the first grid; the second grid is any idle grid among the multiple adjacent grids; the position of the second cloud product element is included in the second grid.
[0121] Optionally, the first grid and the second grid are aligned horizontally or vertically; and / or, the distance between the first grid and the second grid is a preset value.
[0122] Optionally, before executing the aforementioned design, the cloud architecture orchestration device determines that the interval between the first cloud product element and the second cloud product element is less than a second threshold.
[0123] Optionally, before executing the aforementioned design, the cloud architecture orchestration device may determine that the state corresponding to the gridding function is enabled. In other words, the user of the cloud architecture orchestration device can adjust the state of the gridding function on the cloud architecture editing interface. When the state is enabled, the cloud architecture orchestration device executes the aforementioned design; conversely, when the state is disabled, the cloud architecture orchestration device does not execute the aforementioned design.
[0124] Optionally, the grid set in the aforementioned design does not need to cover the entire cloud architecture editing interface, that is, the grid set can be limited only to the position of cloud product elements within a preset range (small range); that is, for cloud product elements that are farther away, they do not need to be limited by the grid set. When the cloud product element enters the aforementioned preset range, the aforementioned design is executed so that the cloud product element is located in the grid.
[0125] As shown in (1) in FIG6 , based on FIG4a , the cloud architecture orchestration device determines a grid collection according to the position of the first cloud product graphic element, wherein the multiple grids in the grid collection are neatly arranged, and the position of the first cloud product graphic element is included in the first grid; as shown in (2) in FIG6 , a second grid is selected from the adjacent grids of the first grid, and the second cloud product graphic element is displayed in the second grid.
[0126] Optionally, the aforementioned grid may be displayed on the cloud architecture editing interface (or architecture diagram) temporarily or permanently (within a preset time period), or the aforementioned grid may never be displayed on the cloud architecture editing interface (or architecture diagram), which is not limited in this application.
[0127] Based on the aforementioned grid-based design concept, this application provides a functional design for one-click layout of the architecture diagram, thereby simplifying user operations and improving the user experience. It should be understood that this design can be executed independently or based on the visual cloud architecture orchestration method shown in steps S101 to S105 above, and this application does not limit it.
[0128] In one possible design, assuming that a cloud architecture editing interface includes three cloud product elements and a fourth cloud product element, the cloud architecture orchestration device receives a one-click layout instruction from the user. Based on the one-click layout instruction and the first cloud architecture diagram, the cloud architecture orchestration device displays a second cloud architecture diagram, where the second cloud architecture diagram includes the third cloud product element and the fourth cloud product element. The third cloud product element is located within a third grid, and the fourth cloud product element is located within a fourth grid. The third and fourth grids are horizontally or vertically aligned, and / or the distance between the third and fourth grids is a preset value.
[0129] As shown in (1) of FIG7a , the cloud architecture editing interface includes a first cloud product element, a second cloud product element, a third cloud product element, and a fourth cloud product element. The arrangement of these multiple cloud product elements is irregular and may overlap (for example, the first cloud product element and the third cloud product element overlap in the figure). As shown in (2) of FIG7a , a grid set is generated based on the first cloud product element (or any other cloud product element), and the cloud product elements in the cloud architecture editing interface are all placed in the grid, thereby displaying the cloud architecture diagram. In this way, since all cloud product elements are located in the grid, the layout of the cloud product elements in the cloud architecture diagram is relatively neat.
[0130] Optionally, the cloud architecture orchestration device may also, in response to the fourth operation, determine multiple associated graphics elements having an associated relationship among the first cloud product graphics element, the second cloud product graphics element, the third cloud product graphics element, and the fourth cloud product graphics element; the cloud architecture orchestration device may also display connecting lines between the multiple associated graphics elements based on the association between the multiple associated graphics elements.
[0131] As shown in Figure 7b, based on the various cloud product elements in the cloud architecture editing interface, multiple associated elements with associated relationships are determined. It is assumed that the first cloud product element is associated with the third cloud product element, the second cloud product element is associated with the third cloud product element, and the fourth cloud product element is associated with the third cloud product element. Therefore, the cloud architecture orchestration device can display connecting lines between the various associated elements (exemplified by one-way arrows in the figure).
[0132] This application also provides a convenient design for exchanging graphics primitives, thereby simplifying user operations and improving user experience. It should be understood that this design can be executed independently or based on the visual cloud architecture orchestration method shown in steps S101 to S105 above, and this application does not limit this.
[0133] Assuming that the cloud architecture editing interface also includes a fifth cloud product graphic element, the aforementioned graphic element exchange design specifically includes the following steps: the cloud architecture orchestration device obtains the user's specific drag instruction (such as a right-click drag operation) for the first cloud product graphic element, and the specific drag instruction corresponds to the third position information, and the third position information is used to indicate the preset display position of the first cloud product graphic element in the cloud architecture editing interface; the cloud architecture orchestration device obtains the fourth position information of the fifth cloud product graphic element, and the fourth position information is used to indicate the preset display position of the fifth cloud product graphic element in the cloud architecture editing interface; the cloud architecture orchestration device exchanges the actual display positions of the first cloud product graphic element and the fifth cloud product graphic element based on the third position information and the fourth position information, and displays the third cloud architecture diagram; wherein, the interval between the preset display position of the first cloud product graphic element and the preset display position of the fifth cloud product graphic element is less than the third threshold.
[0134] Among them, the method for the cloud architecture orchestration device to obtain the preset display position of the fifth cloud product graphic element can refer to the method for the aforementioned cloud architecture orchestration device to obtain the preset display position of the second cloud product graphic element, which will not be repeated here.
[0135] As shown in (1) in FIG8 , before the specific drag operation, the first cloud product element is located in the upper left corner of the cloud architecture editing interface, and the fifth cloud product element is located in the lower right corner of the cloud architecture editing interface; as shown in (2) in FIG8 , when the specific drag operation (corresponding to the third position information) on the first cloud product element is released, the preset display position of the first cloud product element moves from the upper left corner to the lower right corner of the cloud architecture editing interface, and the preset display position of the fifth cloud product element is still located in the lower right corner of the cloud architecture editing interface (i.e., the fourth position information). At this time, the interval between the preset display position of the first cloud product element and the preset display position of the fifth cloud product element is less than the third threshold value. It can be understood that the first cloud product element and the fifth cloud product element may overlap at this time; as shown in (3) in FIG8 , based on (2) in FIG8 , the actual display positions of the first cloud product element and the fifth cloud product element are exchanged, thereby displaying the cloud architecture diagram.
[0136] Based on the aforementioned visualized cloud architecture orchestration method and combined with the management of cloud service resources, this application provides the following five embodiments:
[0137] Example 1:
[0138] As shown in (1) in FIG9 , the cloud architecture editing interface includes cloud product graphics corresponding to two elastic cloud servers (refer to the first cloud product graphics and the second cloud product graphics in the aforementioned visual cloud architecture orchestration method), and there is overlap (or obscuration) between the cloud product graphics corresponding to the two elastic cloud servers. The overlapping relationship may be generated based on a previous operation (refer to the operation corresponding to the graphics selection instruction or the left-key drag operation in the aforementioned visual cloud architecture orchestration method); as shown in (2) in FIG9 , when the cloud architecture orchestration device detects that the cloud product graphics corresponding to the two elastic cloud servers overlap, the cloud architecture orchestration device may move the cloud product graphics corresponding to any one of the elastic cloud servers and display the architecture diagram, that is, display the cloud product graphics corresponding to the elastic cloud server in an idle position within the orchestration background frame of the architecture diagram, thereby avoiding the aforementioned overlap.
[0139] Example 2:
[0140] As shown in Figure 10, the orchestration background frame of the architecture diagram includes cloud product elements corresponding to the cloud database, virtual private cloud, elastic cloud server, and cloud container engine. Referring to the grid design in the aforementioned visual cloud architecture orchestration method, the cloud architecture orchestration device generates a grid set based on the relative positions of the cloud product elements in the architecture diagram, and aligns each grid on a straight line. This ensures that the cloud product elements in the architecture diagram are more standardized within the orchestration background frame.
[0141] Example 3:
[0142] As shown in (1) in FIG11 , the cloud architecture editing interface includes cloud product graphics corresponding to two elastic cloud servers respectively (refer to the first cloud product graphics and the second cloud product graphics in the aforementioned visual cloud architecture orchestration method); as shown in (2) in FIG11 , with reference to the aforementioned visual cloud architecture orchestration method, the cloud architecture orchestration device determines whether there is a preferred or recommended integration relationship (a form of association relationship in the aforementioned visual cloud architecture orchestration method) between the two elastic cloud servers. If there is an integration relationship, an arrowed line between the cloud product graphics corresponding to the two elastic cloud servers is displayed on the architecture diagram; otherwise, no line is displayed.
[0143] Example 4:
[0144] As shown in (1) of FIG12 , the cloud architecture editing interface includes cloud product graphics corresponding to cloud service backup and elastic cloud server respectively; as shown in (2) of FIG12 , referring to the functional design of one-key layout in the aforementioned visual cloud architecture arrangement method, if the user activates the one-key layout function on the cloud architecture editing interface, the cloud architecture arrangement device places the aforementioned cloud product graphics in a grid and displays the architecture diagram. Optionally, the cloud architecture arrangement device can also display the connection between cloud service backup and elastic cloud server in the architecture diagram based on the direct integration relationship between cloud service backup and elastic cloud server (not shown in the figure).
[0145] Embodiment 5:
[0146] As shown in (1) in Figure 13, the orchestration background frame of the architecture diagram includes cloud product graphics corresponding to elastic cloud servers and elastic scaling respectively; as shown in (2) in Figure 13, the user performs a specific drag operation on any cloud product graphic element in the orchestration background frame of the architecture diagram (refer to the specific drag operation in the aforementioned visual cloud architecture orchestration method). The release position of the specific drag operation is located near another cloud product graphic element. The cloud architecture orchestration device can switch the positions of the two cloud product graphic elements and display the exchanged architecture diagram.
[0147] The method provided in the embodiment of the present application is introduced above in conjunction with the accompanying drawings. The visual cloud architecture orchestration device provided in the embodiment of the present application is introduced below in conjunction with the accompanying drawings.
[0148] Based on the same technical concept, the present application also provides a visual cloud architecture orchestration device, which is used to implement the visual cloud architecture orchestration method provided in the above embodiments. Referring to Figure 14, the visual cloud architecture orchestration device includes an editing module 1401, an acquisition module 1402, and a cloud architecture display module 1403. The aforementioned three modules are used to implement the steps of the visual cloud architecture orchestration method shown in Figure 1.
[0149] Among them, the editing module 1401, the acquisition module 1402 and the cloud architecture display module 1403 can all be implemented through software or hardware.
[0150] For example, the implementation of the editing module 1401 is described below by taking the editing module 1401 as an example. Similarly, the implementation of the acquisition module 1402 and the cloud architecture display module 1403 can refer to the implementation of the editing module 1401.
[0151] When implemented by software, the editing module 1401 can be an application or code block running on a computer device. The computer device can be at least one of a physical host, a virtual machine, a container, and other computing devices. Furthermore, the above-mentioned computer device can be one or more. For example, the editing module 1401 can be an application running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the application can be distributed in the same availability zone (AZ) or in different AZs. The multiple hosts / virtual machines / containers used to run the application can be distributed in the same region or in different regions. Generally, a region can include multiple AZs.
[0152] Similarly, multiple hosts / virtual machines / containers used to run the application can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Typically, a region can include multiple VPCs, and a VPC can include multiple AZs.
[0153] When implemented through hardware, the editing module 1401 may include at least one computing device, such as a server. Alternatively, the editing module 1401 may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0154] The multiple computing devices included in editing module 1401 can be distributed in the same AZ or in different AZs. The multiple computing devices included in editing module 1401 can be distributed in the same region or in different regions. Similarly, the multiple computing devices included in editing module 1401 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.
[0155] It should be noted that any one of the editing module 1401 , the obtaining module 1402 and the cloud architecture display module 1403 can be used to execute part or all of the steps in the visual cloud architecture orchestration method shown in FIG. 1 .
[0156] In one possible example, the editing module 1401 is used to: display a cloud architecture editing interface, the cloud architecture editing interface includes at least one graphic element selection area, the graphic element selection area includes at least one cloud product graphic element, and the at least one cloud product graphic element corresponds to at least one cloud service; the acquisition module 1402 is used to: obtain a user's graphic element selection instruction for a first cloud product graphic element, the first cloud product graphic element corresponds to a first cloud service; the acquisition module 1402 is also used to: obtain a user's graphic element selection instruction for a second cloud product graphic element, the second cloud product graphic element corresponds to a second cloud service; the acquisition module 1402 is also used to: obtain a first orchestration background frame, the first orchestration background frame represents at least one of the following cloud facilities: an availability zone, a virtual private cloud, and a virtual switch; the cloud architecture display module 1403 is used to: display a first cloud architecture diagram, the first cloud architecture diagram includes a first orchestration background frame, the first orchestration background frame includes a first cloud product graphic element and a second cloud product graphic element, and the connection between the first cloud product graphic element and the second cloud product graphic element is automatically generated based on the association relationship between the first cloud service and the second cloud service.
[0157] In a possible design, before displaying the first cloud architecture diagram, the cloud architecture display module 1403 is further configured to: determine whether the interval between the first cloud product graphic element and the second cloud product graphic element is smaller than a first threshold.
[0158] In one possible design, the device also includes a resource configuration module (not shown in Figure 14), which is used to configure the communication relationship between the first cloud service and the second cloud service based on the connection between the first cloud product element and the second cloud product element.
[0159] In one possible design, the aforementioned association relationship includes at least one of the following: a data synchronization relationship, an Internet Protocol (IP) address binding relationship, a data storage relationship, a data backup relationship, and a message consumption relationship.
[0160] In one possible design, the device also includes a resource configuration module (not shown in Figure 14); the acquisition module 1402 is also used to: receive the user's deployment instructions; the resource configuration module is used to: the cloud architecture orchestration device can also open the first cloud service and the second cloud service for the user according to the deployment instructions.
[0161] In one possible design, before displaying the first cloud architecture diagram, the acquisition module 1402 is further used to: obtain first position information of the first cloud product element, the first position information is used to indicate the preset display position of the first cloud product element in the cloud architecture editing interface; the acquisition module 1402 is further used to: obtain second position information of the second cloud product element, the second position information is used to indicate the preset display position of the second cloud product element in the cloud architecture editing interface; the cloud architecture display module 1403 is further used to: determine whether the preset display position of the first cloud product element and the preset display position of the second cloud product element overlap based on the first position information and the second position information; when the preset display positions of the first cloud product element and the second cloud product element overlap, the cloud architecture display module 1403 is further used to: adjust the position of the first cloud product element and / or the second cloud product element so that the actual display positions of the first cloud product element and the second cloud product element in the first cloud architecture diagram do not overlap.
[0162] In one possible design, before displaying the first cloud architecture diagram, the cloud architecture display module 1403 is further used to: determine a grid set based on the position of the first cloud product icon in the cloud architecture editing interface; the grid set includes a first grid and multiple adjacent grids of the first grid; the position of the first cloud product icon is included in the first grid; the cloud architecture display module 1403 is further used to: determine a second grid based on the first grid; the second grid is any idle grid among the multiple adjacent grids; the position of the second cloud product icon is included in the second grid; the first grid and the second grid are horizontally aligned or vertically aligned; and / or the distance between the first grid and the second grid is a preset value.
[0163] In one possible design, before determining the grid set based on the position of the first cloud product primitive in the cloud architecture editing interface, the cloud architecture display module 1403 is further used to: determine whether the interval between the first cloud product primitive and the second cloud product primitive is less than a second threshold.
[0164] In one possible design, the cloud architecture editing interface further includes a third cloud product graphic element and a fourth cloud product graphic element, and the acquisition module 1402 is further used to: obtain the user's one-key layout instruction; the cloud architecture display module 1403 is further used to: display the second cloud architecture diagram according to the one-key layout instruction and the first cloud architecture diagram, the second cloud architecture diagram including the third cloud product graphic element and the fourth cloud product graphic element; the position of the third cloud product graphic element is included in the third grid; the position of the fourth cloud product graphic element is included in the fourth grid; the third grid and the fourth grid are horizontally aligned or vertically aligned, and / or the distance between the third grid and the fourth grid is a preset value.
[0165] In one possible design, the method further includes: the cloud architecture editing interface further includes a fifth cloud product graphic element, and the acquisition module 1402 is further used to: obtain the user's specific drag instruction for the first cloud product graphic element, the specific drag instruction corresponds to the third position information, and the third position information is used to indicate the preset display position of the first cloud product graphic element in the cloud architecture editing interface; the acquisition module 1402 is further used to: obtain the fourth position information of the fifth cloud product graphic element, and the fourth position information is used to indicate the preset display position of the fifth cloud product graphic element in the cloud architecture editing interface; the cloud architecture display module 1403 is further used to: exchange the actual display positions of the first cloud product graphic element and the fifth cloud product graphic element according to the third position information and the fourth position information, and display the third cloud architecture diagram; wherein, the interval between the preset display position of the first cloud product graphic element and the preset display position of the fifth cloud product graphic element is less than the third threshold.
[0166] This application also provides a computing device 1500. As shown in Figure 15, computing device 1500 includes a bus 1501, a processor 1502, a memory 1503, and a communication interface 1504. Processor 1502, memory 1503, and communication interface 1504 communicate with each other via bus 1501. Computing device 1500 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in computing device 1500.
[0167] Bus 1501 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG15 shows only one line, but this does not imply a single bus or type of bus. Bus 1504 may include a path for transmitting information between various components of computing device 1500 (e.g., memory 1503, processor 1502, and communication interface 1504).
[0168] The processor 1502 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0169] The memory 1503 may include a volatile memory, such as a random access memory (RAM). The processor 1502 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0170] Memory 1503 stores executable program code, and processor 1502 executes the executable program code to implement the functions of the aforementioned editing module 1401, acquisition module 1402, and cloud architecture display module 1403, thereby implementing the visual cloud architecture orchestration method shown in FIG1 . In other words, memory 1503 stores instructions for the visual cloud architecture orchestration apparatus to execute the visual cloud architecture orchestration method shown in FIG1 .
[0171] Alternatively, the memory 1503 stores executable program code, and the processor 1502 executes the executable program code to implement the functions of the aforementioned visual cloud architecture orchestration device, thereby implementing the visual cloud architecture orchestration method shown in Figure 1. That is, the memory 1503 stores instructions for the visual cloud architecture orchestration device to execute the visual cloud architecture orchestration method shown in Figure 1.
[0172] The communication interface 1504 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 1500 and other devices or a communication network.
[0173] Embodiments of the present application also provide a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.
[0174] As shown in Figure 16, the computing device cluster includes at least one computing device 1500. The memory 1503 in one or more computing devices 1500 in the computing device cluster may store the same visual cloud architecture orchestration apparatus for executing instructions of the visual cloud architecture orchestration method shown in Figure 1.
[0175] In some possible implementations, one or more computing devices 1500 in the computing device cluster may also be used to execute some of the instructions of the visual cloud architecture orchestration apparatus for executing the visual cloud architecture orchestration method shown in FIG1. In other words, the combination of one or more computing devices 1500 may jointly execute the instructions of the visual cloud architecture orchestration apparatus for executing the visual cloud architecture orchestration method shown in FIG1.
[0176] It should be noted that the memory 1503 in different computing devices 1500 in the computing device cluster can store different instructions for executing some functions of the visual cloud architecture orchestration apparatus. In other words, the instructions stored in the memory 1503 in different computing devices 1500 can implement the functions of one or more of the editing module 1401, acquisition module 1402, and cloud architecture presentation module 1403 shown in FIG. 14 .
[0177] The present application also provides a computer program product comprising instructions. The computer program product may be software or a program product comprising instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computer device, the at least one computer device executes the aforementioned apparatus for visualizing cloud architecture orchestration to execute the visualizing cloud architecture orchestration method shown in FIG1 .
[0178] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned cloud architecture orchestration device for visualization to execute the visualized cloud architecture orchestration method shown in Figure 1.
[0179] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the various embodiments of the present invention.
[0180] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0181] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.
[0182] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0183] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0184] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A visual cloud architecture orchestration method, characterized in that: The method comprises: Displaying a cloud architecture editing interface, wherein the cloud architecture editing interface includes at least one graphic element selection area, wherein the graphic element selection area includes at least one cloud product graphic element, and the at least one cloud product graphic element corresponds to at least one cloud service; Acquire a user's graphic element selection instruction for a first cloud product graphic element, where the first cloud product graphic element corresponds to a first cloud service; Acquire a graphic element selection instruction of a user for a second cloud product graphic element, where the second cloud product graphic element corresponds to a second cloud service; Obtaining a first orchestration context frame, wherein the first orchestration context frame represents at least one of the following cloud facilities: an availability zone, a virtual private cloud, and a virtual switch; A first cloud architecture diagram is displayed, wherein the first cloud architecture diagram includes the first orchestration background frame, wherein the first orchestration background frame includes the first cloud product graphic element and the second cloud product graphic element, and a connection line between the first cloud product graphic element and the second cloud product graphic element is automatically generated according to an association relationship between the first cloud service and the second cloud service.
2. The method according to claim 1, characterized in that Before presenting the first cloud architecture diagram, the method further includes: It is determined that a distance between the first cloud product primitive and the second cloud product primitive is less than a first threshold.
3. The method according to claim 1 or 2, characterized in that The method further comprises: A communication relationship between the first cloud service and the second cloud service is configured according to a connection between the first cloud product graphic element and the second cloud product graphic element.
4. The method according to any one of claims 1 to 3, characterized in that: The association relationship includes at least one of the following: a data synchronization relationship, an Internet Protocol IP address binding relationship, a data storage relationship, a data backup relationship, and a message consumption relationship.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Receive deployment instructions from users; According to the deployment instruction, the first cloud service and the second cloud service are activated for the user.
6. The method according to any one of claims 1 to 5, characterized in that: Before presenting the first cloud architecture diagram, the method further includes: Acquire first position information of the first cloud product graphic element, where the first position information is used to indicate a preset display position of the first cloud product graphic element in the cloud architecture editing interface; Acquire second position information of the second cloud product graphic element, where the second position information is used to indicate a preset display position of the second cloud product graphic element in the cloud architecture editing interface; Determining whether a preset display position of the first cloud product graphic element and a preset display position of the second cloud product graphic element overlap according to the first position information and the second position information; When the preset display positions of the first cloud product icon and the second cloud product icon overlap, adjust the position of the first cloud product icon and / or the second cloud product icon so that the actual display positions of the first cloud product icon and the second cloud product icon in the first cloud architecture diagram do not overlap.
7. The method according to any one of claims 1 to 6, characterized in that: Before presenting the first cloud architecture diagram, the method further includes: Determine a grid set according to the position of the first cloud product primitive in the cloud architecture editing interface; the grid set includes a first grid and a plurality of adjacent grids of the first grid; the position of the first cloud product primitive is included in the first grid; The second grid is determined based on the first grid; the second grid is any idle grid among the multiple adjacent grids; the position of the second cloud product graphic element is included in the second grid; the first grid and the second grid are horizontally aligned or vertically aligned; and / or the distance between the first grid and the second grid is a preset value.
8. The method according to claim 7, characterized in that Before determining the grid set according to the position of the first cloud product primitive in the cloud architecture editing interface, the method further includes: It is determined that a spacing between the first cloud product primitive and the second cloud product primitive is smaller than a second threshold.
9. The method according to claim 7 or 8, characterized in that The cloud architecture editing interface further includes a third cloud product graphic element and a fourth cloud product graphic element, and the method further includes: Get the user's one-key layout instruction; According to the one-key layout instruction and the first cloud architecture diagram, a second cloud architecture diagram is displayed, wherein the second cloud architecture diagram includes the third cloud product graphic element and the fourth cloud product graphic element; the position of the third cloud product graphic element is included in the third grid; the position of the fourth cloud product graphic element is included in the fourth grid; the third grid and the fourth grid are horizontally aligned or vertically aligned, and / or the distance between the third grid and the fourth grid is a preset value.
10. The method according to any one of claims 1 to 9, characterized in that: The cloud architecture editing interface further includes a fifth cloud product graphic element, and the method further includes: Acquire a specific drag instruction of the user for the first cloud product graphic element, where the specific drag instruction corresponds to third position information, and the third position information is used to indicate a preset display position of the first cloud product graphic element in the cloud architecture editing interface; Acquire fourth position information of the fifth cloud product graphic element, where the fourth position information is used to indicate a preset display position of the fifth cloud product graphic element in the cloud architecture editing interface; According to the third position information and the fourth position information, the actual display positions of the first cloud product graphic element and the fifth cloud product graphic element are exchanged, and the third cloud architecture diagram is displayed; Among them, the interval between the preset display position of the first cloud product graphic element and the preset display position of the fifth cloud product graphic element is less than a third threshold.
11. A visual cloud architecture arrangement device, characterized in that: The device comprises: An editing module, used to display a cloud architecture editing interface, wherein the cloud architecture editing interface includes at least one graphic element selection area, wherein the graphic element selection area includes at least one cloud product graphic element, and the at least one cloud product graphic element corresponds to at least one cloud service; An acquisition module, configured to acquire a user's graphic element selection instruction for a first cloud product graphic element, wherein the first cloud product graphic element corresponds to a first cloud service; The acquisition module is further used to: acquire an element selection instruction of a user for a second cloud product element, where the second cloud product element corresponds to a second cloud service; The acquisition module is further used to: acquire a first orchestration background frame, wherein the first orchestration background frame represents at least one of the following cloud facilities: an availability zone, a virtual private cloud, and a virtual switch; The cloud architecture display module is used to display a first cloud architecture diagram, wherein the first cloud architecture diagram includes the first orchestration background frame, the first orchestration background frame includes the first cloud product graphic element and the second cloud product graphic element, and the connection between the first cloud product graphic element and the second cloud product graphic element is automatically generated according to the association relationship between the first cloud service and the second cloud service.
12. The device according to claim 11, characterized in that Before displaying the first cloud architecture diagram, the cloud architecture display module is further used to: It is determined that a distance between the first cloud product primitive and the second cloud product primitive is less than a first threshold.
13. The device according to claim 11 or 12, characterized in that The device also includes a resource configuration module. The resource configuration module is used to configure the communication relationship between the first cloud service and the second cloud service according to the connection between the first cloud product graphic element and the second cloud product graphic element.
14. The device according to any one of claims 11 to 13, characterized in that: The association relationship includes at least one of the following: a data synchronization relationship, an Internet Protocol IP address binding relationship, a data storage relationship, a data backup relationship, and a message consumption relationship.
15. The device according to any one of claims 11 to 14, characterized in that: The device also includes a resource configuration module. The acquisition module is also used to: receive a deployment instruction from a user; The resource configuration module is used to activate the first cloud service and the second cloud service for the user according to the deployment instruction.
16. The device according to any one of claims 11 to 15, characterized in that: Before presenting the first cloud architecture diagram, The acquisition module is further used to: acquire first position information of the first cloud product graphic element, where the first position information is used to indicate a preset display position of the first cloud product graphic element in the cloud architecture editing interface; The acquisition module is further used to: acquire second position information of the second cloud product graphic element, where the second position information is used to indicate a preset display position of the second cloud product graphic element in the cloud architecture editing interface; The cloud architecture display module is further used to: determine whether the preset display position of the first cloud product graphic element and the preset display position of the second cloud product graphic element overlap according to the first position information and the second position information; When the preset display positions of the first cloud product icon and the second cloud product icon overlap, the cloud architecture display module is also used to: adjust the position of the first cloud product icon and / or the second cloud product icon so that the actual display positions of the first cloud product icon and the second cloud product icon in the first cloud architecture diagram do not overlap.
17. The device according to any one of claims 11 to 16, characterized in that: Before presenting the first cloud architecture diagram, The cloud architecture display module is further used to: determine a grid set according to the position of the first cloud product graphic element in the cloud architecture editing interface; the grid set includes a first grid and a plurality of adjacent grids of the first grid; the position of the first cloud product graphic element is included in the first grid; The cloud architecture display module is further used to: determine a second grid according to the first grid; the second grid is any idle grid among the plurality of adjacent grids; the position of the second cloud product graphic element is included in the second grid; the first grid and the second grid are horizontally aligned or vertically aligned; And / or, the distance between the first grid and the second grid is a preset value.
18. The device according to claim 17, characterized in that Before determining the grid set according to the position of the first cloud product primitive in the cloud architecture editing interface, The cloud architecture display module is further used to determine that the interval between the first cloud product graphic element and the second cloud product graphic element is less than a second threshold.
19. The device according to claim 17 or 18, characterized in that The cloud architecture editing interface further includes a third cloud product graphic element and a fourth cloud product graphic element. The acquisition module is also used to: acquire a one-key layout instruction from a user; The cloud architecture display module is also used to: display a second cloud architecture diagram according to the one-key layout instruction and the first cloud architecture diagram, the second cloud architecture diagram including the third cloud product graphic element and the fourth cloud product graphic element; the position of the third cloud product graphic element is included in the third grid; the position of the fourth cloud product graphic element is included in the fourth grid; the third grid and the fourth grid are horizontally aligned or vertically aligned, and / or the distance between the third grid and the fourth grid is a preset value.
20. The device according to any one of claims 11 to 19, characterized in that The cloud architecture editing interface further includes a fifth cloud product element, The acquisition module is further used to: acquire a specific drag instruction of the user for the first cloud product graphic element, the specific drag instruction corresponds to third position information, and the third position information is used to indicate a preset display position of the first cloud product graphic element in the cloud architecture editing interface; The acquisition module is further used to: acquire fourth position information of the fifth cloud product graphic element, where the fourth position information is used to indicate a preset display position of the fifth cloud product graphic element in the cloud architecture editing interface; The cloud architecture display module is further used to: exchange the actual display positions of the first cloud product graphic element and the fifth cloud product graphic element according to the third position information and the fourth position information, and display the third cloud architecture diagram; Among them, the interval between the preset display position of the first cloud product graphic element and the preset display position of the fifth cloud product graphic element is less than a third threshold.
21. A computing device, characterized in that The method comprises a processor, wherein the processor is coupled to a memory and is configured to execute a program stored in the memory to implement the method according to any one of claims 1 to 10.
22. A computing device cluster, characterized in that: 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, so that the computing device cluster executes the method according to any one of claims 1 to 10.
23. A computer program product comprising instructions, characterized in that When the instructions are executed by a computer device cluster, the computer device cluster executes the method according to any one of claims 1 to 10.
24. A computer-readable storage medium, characterized in that: The method comprises computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to any one of claims 1 to 10.