Equipment association method, device and equipment

By providing instance settings page and association interface in the load balancing control platform, the association relationship setting between load balancing devices and elastic instance groups is simplified, and the problem of users need to learn elastic scaling operations is solved, and the setting efficiency and user experience are improved.

CN120406790APending Publication Date: 2025-08-01HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410145831.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-01
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

When users establish an association relationship between the load balancing device and the elastic instance group, they need to learn how to operate the elastic scaling control platform, resulting in inefficiency.

Method used

In the load balancing control platform, an instance setting page is provided, the target elastic instance group is determined through the setting controls, and the association relationship between the load balancing device and the elastic instance group is created through the association interface, simplifying the operation process.

Benefits of technology

There is no need to learn the operation method of the elastic scaling control platform, which improves the efficiency of setting the relationship between the load balancing equipment and the elastic instance group, reduces the learning and usage costs, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120406790A_ABST
    Figure CN120406790A_ABST
Patent Text Reader

Abstract

The invention provides an equipment association method and device and equipment, the method is applied to a load balancing control platform, the method comprises the steps that an instance setting page corresponding to first load balancing equipment is displayed, the instance setting page comprises a setting control of an elastic instance group, and the elastic instance group comprises at least one service instance; and in response to an operation on the setting control, determining a target elastic instance group, and creating an association relationship between the first load balancing device and the target elastic instance group, the association relationship being used for enabling the first load balancing device to provide a load balancing service for the business instances in the target elastic instance group. And the efficiency of setting the association relationship between the load balancing equipment and the elastic instance group is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and in particular, to a device association method, apparatus, and device. Background Art

[0002] There may be an association relationship between a load balancing device and an elastic instance group. The elastic instance group may include at least one business instance. For example, the business instance may be an Elastic Compute Service (ECS) instance, or an Elastic Container Instance (ECI) instance, etc. The load balancing device may provide a load balancing service for the business instances in the elastic instance group with the association relationship. For example, the load balancing device may be a load balancing server group.

[0003] Currently, a user can set the association relationship between an elastic instance group and a load balancing device on the elastic scaling control platform. However, for a user who has used a load balancing device but has not used the elastic scaling control platform, it is relatively difficult to set the association relationship between the load balancing device and the elastic instance group on the elastic scaling control platform, and the user needs to spend a certain amount of time learning the operation method of the elastic scaling control platform, resulting in low efficiency in setting the association relationship between the load balancing device and the elastic instance group. Summary of the Invention

[0004] Multiple aspects of this application provide a device association method, apparatus, and device to improve the efficiency of setting the association relationship between a load balancing device and an elastic instance group.

[0005] In a first aspect, an embodiment of this application provides a device association method, which is applied to a load balancing control platform. The method includes:

[0006] Display an instance setting page corresponding to a first load balancing device. The instance setting page includes a setting control for an elastic instance group, and the elastic instance group includes at least one business instance;

[0007] In response to an operation on the setting control, determine a target elastic instance group, and create an association relationship between the first load balancing device and the target elastic instance group. The association relationship is used to enable the first load balancing device to provide a load balancing service for the business instances in the target elastic instance group.

[0008] In a possible implementation manner, creating the association relationship between the first load balancing device and the target elastic instance group includes:

[0009] Determine an association interface in the target elastic instance group;

[0010] Create an association relationship between the first load balancing device and the target elastic instance group through the association interface.

[0011] In a possible implementation, creating an association relationship between the first load balancing device and the target elastic instance group through the association interface includes:

[0012] Determine the call parameters corresponding to the association interface, where the call parameters include the device information of the first load balancing device, the port number corresponding to the target elastic instance group, and the weight value;

[0013] Call the association interface according to the call parameters to create an association relationship between the first load balancing device and the target elastic instance group.

[0014] In a possible implementation, displaying an instance setting page corresponding to the first load balancing device includes:

[0015] Display a load balancing device page, where the load balancing device page includes description information of multiple load balancing devices and elastic controls;

[0016] In response to an operation on the elastic control of the first load balancing device, display the instance setting page of the first load balancing device.

[0017] In a possible implementation, displaying the instance setting page of the first load balancing device in response to an operation on the elastic control of the first load balancing device includes:

[0018] In response to an operation on the elastic control of the first load balancing device, determine an instance group query interface;

[0019] Through the instance group query interface, obtain the instance group information of the elastic instance group associated with the first load balancing device;

[0020] Generate the instance setting interface according to the instance group information associated with the first load balancing device, and display the instance setting page.

[0021] In a possible implementation, the setting control includes an add elastic instance group control; in response to an operation on the setting control, determining a target elastic instance group includes:

[0022] In response to a click operation on the input of the add elastic instance group control, display a configuration page corresponding to the existing first elastic instance group, where the configuration page includes a port input control, a weight input control, and a confirmation control;

[0023] Configure the first elastic instance group through the port input control and the weight input control;

[0024] In response to a click operation on the confirmation control, determine the configured first elastic instance group as the target elastic instance group.

[0025] In a possible implementation manner, the setting control includes a new instance group control; determining a target elastic instance group in response to an operation on the setting control includes:

[0026] In response to a click operation on the new instance group control, display an instance group creation page, where the instance group creation page includes multiple information controls for the elastic instance group;

[0027] In response to the information input in the multiple information controls, obtain instance group information;

[0028] Generate the target elastic instance group according to the instance group information.

[0029] In a possible implementation manner, generating the target elastic instance group according to the instance group information includes:

[0030] Determine an instance group creation interface;

[0031] Call the instance group creation interface according to the instance group information to generate the target elastic instance group.

[0032] In a possible implementation manner, the method further includes:

[0033] Store the association relationship between the first load balancing device and the target instance group.

[0034] In a possible implementation manner, the method further includes:

[0035] Obtain an instance update request corresponding to a second load balancing device, where the instance update request is used to request to update the configuration information of the first elastic instance group corresponding to the second load balancing device, or delete the first elastic instance group corresponding to the second load balancing device;

[0036] Determine an update interface corresponding to the instance update request, and update the elastic instance group corresponding to the second load balancing device through the update interface.

[0037] In a second aspect, an embodiment of the present application provides a device association device, which is applied to a load balancing control platform. The device includes: a display module, a determination module, and a creation module, where,

[0038] The display module is used to display an instance setting page corresponding to the first load balancing device. The instance setting page includes setting controls for an elastic instance group, and the elastic instance group includes at least one business instance;

[0039] The determination module is used to determine a target elastic instance group in response to an operation on the setting control;

[0040] The creation module is used to create an association relationship between the first load balancing device and the target elastic instance group. The association relationship is used to enable the first load balancing device to provide load balancing services for business instances in the target elastic instance group.

[0041] In a possible implementation manner, the creation module is specifically used to,

[0042] Determine an association interface in the target elastic instance group;

[0043] Create an association relationship between the first load balancing device and the target elastic instance group through the association interface.

[0044] In a possible implementation manner, the creation module is specifically used to,

[0045] Determine call parameters corresponding to the association interface. The call parameters include device information of the first load balancing device, a port number corresponding to the target elastic instance group, and a weight value;

[0046] Call the association interface according to the call parameters to create an association relationship between the first load balancing device and the target elastic instance group.

[0047] In a possible implementation manner, the display module is specifically used to,

[0048] Display a load balancing device page, which includes description information of multiple load balancing devices and elastic controls;

[0049] In response to an operation on the elastic control of the first load balancing device, display the instance setting page of the first load balancing device.

[0050] In a possible implementation manner, the display module is specifically used to,

[0051] In response to an operation on the elastic control of the first load balancing device, determine an instance group query interface;

[0052] Obtain instance group information of an elastic instance group associated with the first load balancing device through the instance group query interface;

[0053] Generate the instance setting interface and display the instance setting page according to the instance group information associated with the first load balancing device.

[0054] In a possible implementation manner, the setting control includes an elastic instance group adding control; the determining module is specifically configured to,

[0055] In response to a click operation input to the elastic instance group adding control, display a configuration page corresponding to an existing first elastic instance group, where the configuration page includes a port input control, a weight input control, and a confirmation control;

[0056] Configure the first elastic instance group through the port input control and the weight input control;

[0057] In response to a click operation input to the confirmation control, determine the configured first elastic instance group as the target elastic instance group.

[0058] In a possible implementation manner, the setting control includes a new instance group adding control; the determining module is specifically configured to,

[0059] In response to a click operation input to the new instance group adding control, display an instance group creation page, where the instance group creation page includes a plurality of information controls for the elastic instance group;

[0060] In response to the information input in the plurality of information controls, obtain the instance group information;

[0061] Generate the target elastic instance group according to the instance group information.

[0062] In a possible implementation manner, the determining module is specifically configured to,

[0063] Determine an instance group creation interface;

[0064] Call the instance group creation interface according to the instance group information to generate the target elastic instance group.

[0065] In a possible implementation manner, the device further includes a storage module and an update module, where,

[0066] The storage module is used to store the association relationship between the first load balancing device and the target instance group.

[0067] In a possible implementation manner, the update module is used to,

[0068] Obtain an instance update request corresponding to a second load balancing device, where the instance update request is used to request an update of configuration information of a first elastic instance group corresponding to the second load balancing device, or to delete the first elastic instance group corresponding to the second load balancing device;

[0069] Determine an update interface corresponding to the instance update request, and update the elastic instance group corresponding to the second load balancing device through the update interface.

[0070] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor;

[0071] The memory stores computer-executable instructions;

[0072] The processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the method according to any one of the first aspect.

[0073] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of the first aspect.

[0074] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the method according to any one of the first aspect.

[0075] An embodiment of the present application provides a device association method, apparatus, and device. The control platform for load balancing can display an instance setting page corresponding to a first load balancing device, can determine a target elastic instance group in response to an operation on a setting control on the instance setting page, and can create an association relationship between the first load balancing device and the target elastic instance group. Through the above method, the user does not need to set the association relationship between the load balancing device and the elastic instance group in the control platform for elastic scaling. For users who have only used the load balancing device and have not used the control platform for elastic scaling, when setting the association relationship between the load balancing device and the elastic instance group, they do not need to learn the operation method of the control platform for elastic scaling, which improves the efficiency of setting the association relationship between the load balancing device and the elastic instance group. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] The drawings described herein are used to provide a further understanding of the present application, and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application, and do not constitute an improper limitation of the present application. In the drawings:

[0077] Figure 1 It is a schematic diagram of a scenario provided by an exemplary embodiment of the present application;

[0078] Figure 2 Schematic diagram of an interface for creating an elastic instance group provided by an exemplary embodiment of the present application;

[0079] Figure 3 Schematic diagram of a process for a device association method provided by an exemplary embodiment of the present application;

[0080] Figure 4 Schematic diagram of a process for another device association method provided by an exemplary embodiment of the present application;

[0081] Figure 5 Schematic diagram of a load balancing device page provided by an exemplary embodiment of the present application;

[0082] Figure 6 Schematic diagram of a display page of a traditional load balancing instance provided by an exemplary embodiment of the present application;

[0083] Figure 7 Schematic diagram of an instance setting page provided by an exemplary embodiment of the present application;

[0084] Figure 8 Schematic diagram of an editing page of a virtual server group provided by an exemplary embodiment of the present application;

[0085] Figure 9 Schematic diagram of a configuration page corresponding to a first elastic instance group provided by an exemplary embodiment of the present application;

[0086] Figure 10 Schematic diagram of an instance group creation page provided by an exemplary embodiment of the present application;

[0087] Figure 11 Schematic diagram of the structure of a device association device provided by an exemplary embodiment of the present application;

[0088] Figure 12 Schematic diagram of the structure of another device association device provided by an exemplary embodiment of the present application;

[0089] Figure 13 Schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. Detailed implementation

[0090] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties. And the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards, and corresponding operation entrances are provided for users to choose to authorize or reject.

[0091] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments of this application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without any creative efforts shall fall within the scope of protection of this application.

[0092] For ease of understanding, below in conjunction with Figure 1 , the application scenarios involved in the embodiments of this application will be described.

[0093] Figure 1 The following is a schematic diagram of a scenario provided for an exemplary embodiment of this application. Please refer to Figure 1 , there may be an association relationship between the load balancing device and the elastic instance group. If there is an association relationship between the load balancing device and the elastic instance group, it can be considered that the load balancing device includes the elastic instance group.

[0094] The load balancing device may be a load balancing server group. The load balancing server group may be a server group corresponding to a load balancing instance. For example, the load balancing instance may be an Application Load Balancer (ALB) instance, a Network Load Balancer (NLB) instance, or a Classic Load Balancer (CLB) instance. The load balancing instance can configure the corresponding server group.

[0095] The elastic instance group may include Service Instance 1, Service Instance 2,..., and Service Instance n. Wherein, n may be an integer greater than 1. For example, the service instance may be an ECS instance, or an ECI instance, etc.

[0096] Figure 1 In the scenario shown, when there is an association relationship between the load balancing device and the elastic instance group, the load balancing device can provide load balancing services for the service instances in the elastic instance group. For example, the load balancing device can receive service requests and forward the service requests to the service instances in the elastic instance group according to the load balancing principle.

[0097] It should be noted that for any load balancing device, the number of elastic instance groups associated with the load balancing device can be one or more. Figure 1 Only taking the number of elastic instance groups associated with the load balancing device being 1 as an example for illustration does not constitute a limitation on the embodiments of this application.

[0098] Currently, users can set the association between the load balancing device and the elastic instance group, or modify the association between the load balancing device and the elastic instance group in the elastic scaling control platform. Figure 2 , describes how to set the association between load balancing devices and elastic instance groups on the elastic scaling control platform.

[0099] Figure 2 A schematic diagram of an interface for creating an elastic instance group provided by an exemplary embodiment of the present application. Figure 2 This is a diagram of the interface for creating an elastic instance group on the elastic scaling control platform.

[0100] See Figure 2 When creating an elastic instance group, you can associate it with an ALB server group or NLB server group. The ALB server group or NLB server group can be an existing ALB server group or NLB server group, or a newly created ALB server group or NLB server group.

[0101] See Figure 2 The interface for creating an elastic instance group can display the server group information. To associate an existing ALB server group with a newly created elastic instance group, select ALB from the drop-down box corresponding to the type, and select the corresponding server group ID from the drop-down box corresponding to the server group (for example, Figure 2 The server group selected is 1), and you can also set the port and weight of the selected server group.

[0102] See Figure 2 You can also create an ALB server group or an NLB server group, and associate the newly created elastic instance group with the created ALB server group or NLB server group.

[0103] It should be noted that Figure 2 The interface for creating an elastic instance group is merely an example and does not limit the technical solution for creating an elastic instance group. The interface for creating an elastic instance group may also include more information than shown in the figure.

[0104] However, most users of load balancing devices have not used the Auto Scaling control platform. For these users, setting up the association between load balancing devices and elastic instance groups on the Auto Scaling control platform is quite difficult and requires a considerable amount of time to learn how to operate the Auto Scaling control platform, resulting in low efficiency in setting up the association between load balancing devices and elastic instance groups.

[0105] To solve the above problems, in the embodiments of the present application, the association relationship between the load balancing device and the elastic instance group can be set on the control platform of the load balancing. In this way, for users who have used the load balancing device but have not used the control platform of elastic scaling, when setting the association relationship between the load balancing device and the elastic instance group, there is no need to learn the operation method of the control platform of elastic scaling, which improves the efficiency of users setting the association relationship between the load balancing device and the elastic instance group.

[0106] In addition, when setting the association relationship between the load balancing device and the elastic instance group, users do not need to learn the operation method of the control platform of elastic scaling, which reduces the learning cost, and further reduces the cost of users using the load balancing device, improves the user experience, and further enhances the competitiveness of the load balancing product and the elastic scaling product.

[0107] Next, the technical solutions shown in the present application will be described in detail through specific embodiments. It should be noted that the following several embodiments can exist independently or be combined with each other, and the same or similar content will not be repeated in different embodiments.

[0108] Figure 3 It is a schematic flow chart of a device association method provided for an exemplary embodiment of the present application. Please refer to Figure 3 The method may include:

[0109] S301. Display an instance setting page corresponding to the first load balancing device, where the instance setting page includes a setting control for the elastic instance group.

[0110] This embodiment can be applied to the control platform of the load balancing. The control platform of the load balancing can be used to set the load balancing instance and the load balancing device corresponding to the load balancing instance. For example, the load balancing instance can be an ALB instance, an NLB instance, or a CLB instance, etc.

[0111] The load balancing device can be a server group corresponding to the load balancing instance or a virtual server group.

[0112] The first load balancing device can be any server group or any virtual server group corresponding to the load balancing instance.

[0113] The instance setting page corresponding to the first load balancing device can display the elastic instance group associated with the first load balancing device.

[0114] The elastic instance group includes at least one business instance. For example, the business instance can be an ECS instance or an ECI instance.

[0115] For any elastic instance group associated with the first load balancing device, the service instances included in the elastic instance group can be the service instances included in the first load balancing device. The first load balancing device can provide load balancing services for the service instances in the elastic instance group.

[0116] Exemplarily, assume that elastic instance group 1 is associated with the first load balancing device, and the first load balancing device can provide load balancing services for the service instances in elastic instance group 1.

[0117] The setting controls of the elastic instance group can include an add elastic instance group control, a new elastic instance group control, etc.

[0118] If the user inputs a click operation to the add elastic instance component control, the load balancing control platform can display the configuration page corresponding to the existing elastic instance group.

[0119] If the user inputs a click operation to the new elastic instance component control, the load balancing control platform can display an instance group creation page.

[0120] S302. In response to the operation on the setting control, determine the target elastic instance group.

[0121] The target elastic instance group can be the elastic instance group to establish an association relationship with the first load balancing device.

[0122] The target elastic instance group can be an existing elastic instance group, or the target elastic instance group can be a newly created elastic instance group.

[0123] In a possible implementation, the load balancing control platform can, in response to the click operation input to the add elastic instance group control, display the existing elastic instance group; and can also determine any elastic instance group as the target elastic instance group according to the user's input operation.

[0124] In another possible implementation, the load balancing control platform can, in response to the click operation input to the new elastic instance group control, display an instance group creation page; can create an elastic instance group according to the user's input operation on the instance group creation page; and can set the association relationship between the created elastic instance group and the first load balancing setting.

[0125] It should be noted that for the specific method of setting the association relationship between the existing elastic instance group or the created elastic instance group and the first load balancing setting, reference can be made to Figure 4 the embodiment, which will not be elaborated here.

[0126] S303. Create an association relationship between the first load balancing device and the target elastic instance group.

[0127] The association relationship between the first load balancing device and the target elastic instance group can be established by adding the target elastic instance group to the first load balancing device.

[0128] The association relationship is used to enable the first load balancing device to provide load balancing services for the business instances in the target elastic instance group.

[0129] In this embodiment, the load balancing control platform can determine the association interface in the target elastic instance group; through the association interface, the association relationship between the first load balancing device and the target elastic instance group is created.

[0130] The association interface can be an interface in the elastic scaling control platform for setting the association relationship between the elastic instance group and the load balancing device. For example, the association interface can be the Attach Alb Server Groups interface.

[0131] Specifically, in response to a request from the user to create an association relationship between the first load balancing device and the target elastic instance group, the load balancing control platform can call the association interface in the elastic scaling control platform to create the association relationship between the first load balancing device and the target elastic instance group.

[0132] Exemplarily, the user can input a click operation to the confirmation control on the page for creating the association relationship between the first load balancing device and the target elastic instance group to generate a request for creating the association relationship between the first load balancing device and the target elastic instance group.

[0133] In this embodiment, the load balancing control platform can determine the call parameters corresponding to the association interface. The call parameters include the device information of the first load balancing device and the target instance group information of the target elastic instance group; according to the call parameters, the association interface is called to create the association relationship between the first load balancing device and the target elastic instance group.

[0134] The device information of the first load balancing device can be the ID of the first load balancing device, or the name of the first load balancing device, etc.

[0135] The target instance group information can include the port number corresponding to the target elastic instance group, the weight value corresponding to the target instance group, the ID of the target instance group, and the number of business instances included in the target instance group, etc.

[0136] The port number corresponding to the target elastic instance group can be the port number used by the business instances in the target elastic instance group after the target elastic instance group is added to the first load balancing device.

[0137] The weight value corresponding to the target elastic instance group may be the weight value of the service instances in the target elastic instance group after adding the target elastic instance group to the first load balancer device. The weight value corresponding to the target elastic instance group is proportional to the number of access requests assigned to the service instances in the target elastic instance group.

[0138] It should be noted that the user can configure the call parameters on the page for creating the association relationship between the first load balancer device and the target elastic instance group, so that the control platform for load balancing can obtain the configured call parameters.

[0139] It should be noted that any load balancer device can establish an association relationship with multiple elastic instance groups, and any elastic instance group can also establish an association relationship with multiple load balancer devices.

[0140] In this embodiment, the control platform for load balancing can display the instance setting page corresponding to the first load balancer device, can determine the target elastic instance group in response to an operation on the setting control on the instance setting page, and can create the association relationship between the first load balancer device and the target elastic instance group. Through the above method, the user does not need to set the association relationship between the load balancer device and the elastic instance group in the control platform for elastic scaling. For users who have only used the load balancer device and have not used the control platform for elastic scaling, when setting the association relationship between the load balancer device and the elastic instance group, they do not need to learn the operation method of the control platform for elastic scaling, which improves the efficiency of setting the association relationship between the load balancer device and the elastic instance group.

[0141] Next, on the basis of the above Figure 3 illustrated embodiment, in combination with Figure 4 , the device association method provided in the embodiments of the present application will be described in detail.

[0142] Figure 4 is a schematic flowchart of another device association method provided in an exemplary embodiment of the present application. Please refer to Figure 4 , the method may include:

[0143] S401. Display a load balancer device page, where the load balancer device page includes description information of multiple load balancer devices and an elastic control.

[0144] The description information of the load balancer device may include the name, identity (Identity document, ID), and the virtual private cloud (VPC) corresponding to the load balancer device, etc.

[0145] The elastic control may be a control for displaying the elastic instance group corresponding to the load balancer device.

[0146] Next, in combination with Figure 5 , the load balancing device page will be described.

[0147] Figure 5 The figure is a schematic diagram of a load balancing device page provided for an exemplary embodiment of the present application. Please refer to Figure 5 , load balancing may include application load balancing (ALB), network load balancing (NLB), and traditional load balancing (CLB). Figure 5 Taking the server group corresponding to the application load balancing as an example for description.

[0148] As Figure 5 shown, the server group corresponding to the application load balancing may include Server Group 1, Server Group 2, and Server Group 3. The VPC corresponding to Server Group 1 may be VPC1, the VPC corresponding to Server Group 2 may be VPC2, and the VPC corresponding to Server Group 3 may be VPC3. Among them, VPC1, VPC2, and VPC3 may be the same, or VPC1, VPC2, and VPC3 may also be different, and this embodiment does not limit this.

[0149] As Figure 5 shown, the service instances associated with Server Group 2 may be Service Instance a and Service Instance b, and Server Group 1 and Server Group 3 are not associated with service instances. That is to say, Server Group 2 may include Service Instance a and Service Instance b, and Server Group 1 and Server Group 3 do not currently include service instances.

[0150] As Figure 5 shown, each server group may correspond to an elastic control. It should be noted that for any server group, in response to a click operation input to the elastic control corresponding to the server, the control platform of the load balancing may display an elastic instance group having an association relationship with the server group.

[0151] It should be noted that if a click operation is input to the network load balancing control as Figure 5 shown, the control platform of the load balancing may display the display page of the server group corresponding to the network load balancing. The display page of the server group corresponding to the network load balancing is similar to the display page of the server group corresponding to the application load balancing, and will not be elaborated here.

[0152] It should be noted that if a click operation is input to the traditional load balancing control as Figure 5 shown, the control platform of the load balancing may display the display page of the traditional load balancing instance. Next, in combination with Figure 6 , the display page of the traditional load balancing instance will be described.

[0153] Figure 6 This is a schematic diagram of the display page of a traditional load balancing instance provided by an exemplary embodiment of the present application. Please refer to Figure 6 , the corresponding instance of the traditional load balancing may include CLB instance 1. The ID of CLB instance 1 may be instance identifier 1, and the running status of CLB instance 1 may be running.

[0154] As Figure 6 shown, the elastic control may correspond to an unopened button and an immediate opening button.

[0155] If the unopened button is clicked, CLB instance 1 may not be associated with the elastic instance group. That is to say, the virtual server group corresponding to CLB instance 1 may not be associated with the elastic instance group.

[0156] If the immediate opening button is clicked, the association relationship between CLB instance 1 and the elastic instance group can be set. That is to say, the association relationship between the virtual server group corresponding to CLB instance 1 and the elastic instance group.

[0157] It should be noted that if a click operation is input to the virtual server group control in Figure 6 , the control platform of the load balancing can display the description information of the virtual server group corresponding to CLB instance 1 (not shown in the figure).

[0158] S402. In response to an operation on the elastic control of the first load balancing device, display an instance setting page of the first load balancing device.

[0159] The first load balancing device may be any load balancing device displayed on the load balancing device page. For example, the first load balancing device may be Figure 5 any server group shown.

[0160] In this embodiment, in response to an operation on the elastic control of the first load balancing device, determine an instance group query interface; through the instance group query interface, obtain the instance group information of the elastic instance group associated with the first load balancing device; generate an instance setting interface according to the instance group information of the elastic instance group associated with the first load balancing device, and display the instance setting page.

[0161] The operation on the elastic control of the first load balancing device may be a click operation, a long press operation, etc.

[0162] The instance group query interface may be an interface in the elastic scaling control platform for querying the elastic instance group associated with the load balancing device. For example, the instance group query interface may be the Describe Scaling Groups interface.

[0163] Specifically, the control platform of the load balancer can call the instance group query interface in the control platform of elastic scaling to query the elastic instance group associated with the first load balancer device.

[0164] The instance group information may include the ID of the elastic instance group, the dedicated network ID of the elastic instance group, the number of service instances included in the elastic instance group, and the like.

[0165] Optionally, after the instance setting page is displayed, in response to a click operation on the number of service instances included in the elastic instance group, a service instance query interface can be determined; through the service instance query interface, an instance list corresponding to the elastic instance group can be obtained; the instance list may include the instance identifiers of each service instance included in the elastic instance group.

[0166] The service instance query interface can be an interface in the control platform of elastic scaling for querying the instance list corresponding to the elastic instance group. For example, the service instance query interface can be the Describe ScalingInstances interface.

[0167] Specifically, the control platform of the load balancer can call the service instance query interface in the control platform of elastic scaling to query the instance list corresponding to the elastic instance group.

[0168] In this embodiment, the instance setting page may further include an add elastic instance group control and a new elastic instance group control.

[0169] Next, taking the server group corresponding to the application load balancer as the first load balancer device as an example, in combination with Figure 7 , the instance setting page will be described.

[0170] Figure 7 This is a schematic diagram of an instance setting page provided by an exemplary embodiment of the present application. Please refer to Figure 7 , Figure 7 It can be the instance setting page of server group 1 displayed in response to a click operation on the input of the elastic control corresponding to server group 1 in Figure 5 .

[0171] As Figure 7 shown, the elastic instance group associated with server group 1 may include elastic instance group 1. The dedicated network ID corresponding to elastic instance group 1 may be VPC1, the number of service instances currently included in elastic instance group 1 may be 3, the port number corresponding to elastic instance group 1 may be 80, and the weight of each service instance in elastic instance group 1 may be 100.

[0172] As Figure 7 shown, elastic instance group 1 may also have corresponding operation controls. The operation controls can be used to remove or configure elastic instance group 1, etc.

[0173] Optionally, if for Figure 7 the current number of service instances corresponding to the elastic instance group 1 shown (i.e., Figure 7 shown as 3) an input click operation is performed, the load balancing control platform can call the service instance query interface to query the instance list corresponding to the elastic instance group 1, and can display the instance list corresponding to the elastic instance group 1 ( Figure 7 not shown in the figure).

[0174] Such as Figure 7 shown, the instance setting page of the server group 1 can further include an add elastic instance group control and a new elastic instance group control.

[0175] Next, taking the virtual server group corresponding to the traditional load balancer as the first load balancing device as an example, combined with Figure 8 the editing page of the virtual server group is described.

[0176] Figure 8 This is a schematic diagram of the editing page of a virtual server group provided by an exemplary embodiment of the present application. Please refer to Figure 8 , Figure 8 it can be the editing page of the virtual server group 1.

[0177] The editing page of the virtual server group can display the virtual server group ID, or the virtual server group name, the dedicated network ID corresponding to the virtual server group, and the status of the virtual server group, etc.

[0178] The editing page of the virtual server group can display an add elastic instance group control and a new elastic instance group control.

[0179] S403. In response to an operation on the setting control, determine the target elastic instance group.

[0180] In this embodiment, the setting control can include an add elastic instance group control, a new elastic instance group control, etc. According to different setting controls, determining the target elastic instance group includes at least the following two cases:

[0181] Case 1: The setting control is an add elastic instance group control.

[0182] In this case, in response to a click operation input to the add elastic instance group control, display the configuration page corresponding to the existing first elastic instance group. The configuration page includes a port input control, a weight input control, and a confirmation control; configure the first elastic instance group through the port input control and the weight input control; in response to a click operation input to the confirmation control, determine the configured first elastic instance group as the target elastic instance group.

[0183] Adding an elastic instance group control can be used to set the elastic instance group control displayed on the instance settings page.

[0184] The first elastic instance group can be an existing elastic instance group. The number of the first elastic instance groups can be one or more, and this embodiment does not limit this.

[0185] The port input control can be used to configure the port corresponding to the first elastic instance group.

[0186] The weight input control can be used to configure the weights of the business instances in the first elastic instance group.

[0187] Next, taking the first load balancing device as the server group corresponding to the application load balancing as an example, combined with Figure 9 , the configuration page corresponding to the first elastic instance group will be described.

[0188] Figure 9 This is a schematic diagram of the configuration page corresponding to a first elastic instance group provided by an exemplary embodiment of the present application. Please refer to Figure 9 , Figure 9 It can be a configuration page corresponding to the first elastic instance group displayed in response to a click operation on the add elastic instance group control input for Figure 7 . For example, the first elastic instance group can be the elastic instance group 2.

[0189] As Figure 9 shown, a click operation can be input on the drop-down button corresponding to the elastic instance group to select the elastic instance group 2. The port corresponding to the elastic instance group 2 can be set to 80 through the port input control. The weights of the business instances in the elastic instance group 2 can be set to 50 through the weight input control, and a click operation can be input on the confirmation control to determine the configured elastic instance group 2 as the target elastic instance group.

[0190] Case 2: The setting control is a new elastic instance group control.

[0191] In this case, in response to a click operation on the new instance group control, an instance group creation page is displayed. The instance group creation page includes multiple information controls for the elastic instance group. In response to the information input in the multiple information controls, instance group information is obtained. According to the instance group information, a target elastic instance group is generated.

[0192] The new elastic instance group control can be the new elastic instance group control displayed on the instance settings page.

[0193] The instance group information can include the elastic instance group name, the elastic instance group type, and the source of the instance configuration information within the group, etc.

[0194] The instance configuration information within the group may include the switch information corresponding to the service instances within the elastic instance group, as well as the security group information, etc.

[0195] In this case, when generating the target elastic instance group based on the instance group information, the instance group creation interface can be determined; the instance group creation interface can be called according to the instance group information to generate the target elastic instance group.

[0196] The instance group creation interface can be the interface in the elastic scaling control platform for creating an instance group. For example, the instance group creation interface can be the Create Scaling Group interface.

[0197] Specifically, the control platform of the load balancer can call the instance group creation interface in the elastic scaling control platform to generate the target instance group according to the instance group information.

[0198] In this case, after creating the target elastic instance group, the control platform of the load balancer can also call the Enable Scaling Group interface in the elastic scaling control platform to enable the target elastic instance group.

[0199] Below, taking the first load balancer device as the server group corresponding to the application load balancer as an example, combined with Figure 10 , the instance group creation page will be described.

[0200] Figure 10 This is a schematic diagram of an instance group creation page provided by an exemplary embodiment of the present application. Please refer to Figure 10 , Figure 10 It can be the instance group creation page displayed in response to a click operation on the new elastic instance group control for Figure 7 .

[0201] Please refer to Figure 10 , the instance group creation page may include a control for setting the name of the elastic instance group, a control for selecting the type of the elastic instance group, a control for selecting the source of the instance configuration information within the group, and controls for configuring the minimum number of instances and the maximum number of instances within the group. Among them, the type of the elastic instance group can be the ECS type or the ECI type.

[0202] Please refer to Figure 10, the source of the instance configuration information within the group can be a startup template, selecting an existing instance, or creating from scratch. It should be noted that if the source of the instance configuration information within the group is a startup template, the instance configuration information within the group can be determined by selecting an existing template; if the source of the instance configuration information within the group is selecting an existing instance, the configuration information of the existing instance can be copied and the copied configuration information can be determined as the instance configuration information within the group; if the source of the instance configuration information within the group is creating from scratch, the instance configuration information within the group can be set.

[0203] Please refer to Figure 10 , the instance group creation page can also include controls for associating with ALB and NLB server groups. The user can select the corresponding server group in the server group information and can create the association relationship between the target elastic instance group and the selected server group by clicking an operation on the confirmation control. For example, as Figure 10 shown, server group 1 can be selected and the association relationship between server group 1 and the target elastic instance group can be established.

[0204] It should be noted that if no server group is selected, no association relationship between the target elastic instance group and the server group is established.

[0205] S404. Create the association relationship between the first load balancing device and the target elastic instance group.

[0206] It should be noted that the specific implementation of S404 can refer to S303 and will not be elaborated here.

[0207] S405. Store the association relationship between the first load balancing device and the target instance group.

[0208] In this embodiment, after creating the association relationship between the first load balancing device and the target elastic instance group, the load balancing control platform can also store the association relationship between the first load balancing device and the target elastic instance group.

[0209] In this embodiment, the load balancing control platform can also obtain an instance update request corresponding to the second load balancing device. The instance update request is used to request an update of the configuration information of the first elastic instance group corresponding to the second load balancing device, or to delete the first elastic instance group corresponding to the second load balancing device; determine the update interface corresponding to the instance update request, and update the elastic instance group corresponding to the second load balancing device through the update interface.

[0210] The second load balancing device can be a server group associated with one or more elastic instance groups.

[0211] The instance update request can be an instance modification request or an instance deletion request.

[0212] The update interface can be an instance deletion interface, etc.

[0213] The configuration information of the first elastic instance group can be the port information and weight information corresponding to the first elastic instance group.

[0214] Specifically, if the instance update request is an instance deletion request, the control platform of the load balancer can call the instance deletion interface in the control platform of elastic scaling to delete the first elastic instance group. For example, the instance deletion interface can be the Detach Alb Server Groups interface, or the DetachVServer Groups interface, etc.

[0215] If the instance update request is an instance modification request, the control platform of the load balancer can first call the instance deletion interface in the control platform of elastic scaling to delete the first elastic instance group, and then call the instance addition interface to add a new elastic scaling instance. For example, the instance addition interface can be the Attach Alb Server Groups interface, or the Attach VServer Groups interface, etc.

[0216] In the embodiment of the present application, the control platform of the load balancer can display a load balancer device page, and the load balancer device page includes description information and elastic controls of multiple load balancer devices; in response to an operation on the elastic control of the first load balancer device, an instance setting page of the first load balancer device can be displayed; in response to an operation on the setting control, a target elastic instance group can be determined; an association relationship between the first load balancer device and the target elastic instance group can be created; and the association relationship between the first load balancer device and the target instance group can be stored. Through the above method, the user can set the association relationship between the first load balancer device and an existing elastic instance group, or set the association relationship between the first load balancer device and a newly created elastic instance group on the control platform of the load balancer. For users who have only used load balancer devices and have not used the control platform of elastic scaling, when setting the association relationship between the load balancer device and the elastic instance group, there is no need to learn the operation method of the control platform of elastic scaling, which improves the efficiency of setting the association relationship between the load balancer device and the elastic instance group.

[0217] Figure 11 The structure diagram of a device association device provided for an exemplary embodiment of the present application. The device association device is applied to the control platform of the load balancer. Please refer to Figure 11 As shown, the device association device 10 includes: a display module 11, a determination module 12, and a creation module 13, where

[0218] The display module 11 is configured to display an instance setting page corresponding to the first load balancing device. The instance setting page includes setting controls for an elastic instance group, and the elastic instance group includes at least one service instance.

[0219] The determination module 12 is configured to determine a target elastic instance group in response to an operation on the setting control.

[0220] The creation module 13 is configured to create an association relationship between the first load balancing device and the target elastic instance group. The association relationship is used to enable the first load balancing device to provide load balancing services for the service instances in the target elastic instance group.

[0221] The device association apparatus provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments. The implementation principles and beneficial effects are similar and will not be elaborated here.

[0222] In a possible implementation manner, the creation module 13 is specifically configured to

[0223] Determine an association interface in the target elastic instance group;

[0224] Create an association relationship between the first load balancing device and the target elastic instance group through the association interface.

[0225] In a possible implementation manner, the creation module 13 is specifically configured to

[0226] Determine call parameters corresponding to the association interface. The call parameters include device information of the first load balancing device, a port number corresponding to the target elastic instance group, and a weight value;

[0227] Call the association interface according to the call parameters to create an association relationship between the first load balancing device and the target elastic instance group.

[0228] In a possible implementation manner, the display module 11 is specifically configured to

[0229] Display a load balancing device page, which includes description information of multiple load balancing devices and elastic controls;

[0230] In response to an operation on the elastic control of the first load balancing device, display the instance setting page of the first load balancing device.

[0231] In a possible implementation manner, the display module 11 is specifically configured to

[0232] In response to an operation on the elastic control of the first load balancing device, determine an instance group query interface;

[0233] Obtain the instance group information of the elastic instance group associated with the first load balancing device through the instance group query interface;

[0234] Generate the instance setting interface and display the instance setting page according to the instance group information associated with the first load balancing device.

[0235] In a possible implementation manner, the setting control includes an add elastic instance group control; the determining module 12 is specifically configured to,

[0236] In response to a click operation input to the add elastic instance group control, display the configuration page corresponding to the existing first elastic instance group, where the configuration page includes a port input control, a weight input control, and a confirmation control;

[0237] Configure the first elastic instance group through the port input control and the weight input control;

[0238] In response to a click operation input to the confirmation control, determine the configured first elastic instance group as the target elastic instance group.

[0239] In a possible implementation manner, the setting control includes a new instance group control; the determining module 12 is specifically configured to,

[0240] In response to a click operation on the new instance group control, display an instance group creation page, where the instance group creation page includes a plurality of information controls for the elastic instance group;

[0241] Obtain the instance group information in response to the information input in the plurality of information controls;

[0242] Generate the target elastic instance group according to the instance group information.

[0243] In a possible implementation manner, the determining module 12 is specifically configured to,

[0244] Determine the instance group creation interface;

[0245] Call the instance group creation interface according to the instance group information to generate the target elastic instance group.

[0246] Figure 12 This is a schematic structural diagram of another device association device provided by an exemplary embodiment of the present application. On Figure 11 On this basis, the device association device may further include a storage module 14 and an update module 15, where,

[0247] The storage module 14 is configured to store the association relationship between the first load balancing device and the target instance group.

[0248] In a possible implementation, the update module 15 is configured to,

[0249] obtain an instance update request corresponding to a second load balancing device, where the instance update request is used to request an update of the configuration information of the first elastic instance group corresponding to the second load balancing device, or to delete the first elastic instance group corresponding to the second load balancing device;

[0250] determine an update interface corresponding to the instance update request, and update the elastic instance group corresponding to the second load balancing device through the update interface.

[0251] The device association apparatus provided in the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, and will not be elaborated here.

[0252] Figure 13 The following is a schematic structural diagram of an electronic device provided for an exemplary embodiment of the present application. Please refer to Figure 13 , the electronic device 20 may include a processor 21 and a memory 22. Exemplarily, the processor 21 and the memory 22 are interconnected with each other through a bus 23.

[0253] The memory 22 stores computer-executable instructions;

[0254] The processor 21 executes the computer-executable instructions stored in the memory 22, so that the processor 21 executes the method shown in the above method embodiments.

[0255] <H Figure 13 The load balancing control platform described in any of the above embodiments may run in the electronic device shown.

[0256] Correspondingly, the embodiments of the present application provide a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the above method embodiments.

[0257] Correspondingly, the embodiments of the present application may further provide a computer program product, including a computer program, and when the computer program is executed by a processor, the method shown in the above method embodiments can be implemented.

[0258] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0259] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices produce means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0260] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including instruction means that implement the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0261] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0262] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

[0263] The memory may include non-permanent memory in the computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.

[0264] A computer-readable medium includes both permanent and non-permanent, removable and non-removable media and can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer-readable medium does not include transitory computer-readable media such as modulated data signals and carrier waves.

[0265] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising the element.

[0266] The above description is only for the embodiments of the present application and is not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A device association method, characterized in that, A control platform applied to load balancing, the method includes: Display an instance setting page corresponding to a first load balancing device, where the instance setting page includes a setting control for an elastic instance group, and the elastic instance group includes at least one service instance; In response to an operation on the setting control, determine a target elastic instance group, and create an association relationship between the first load balancing device and the target elastic instance group, where the association relationship is used to enable the first load balancing device to provide load balancing services for the service instances in the target elastic instance group.

2. The method according to claim 1, characterized in that, Creating the association relationship between the first load balancing device and the target elastic instance group includes: Determine the association interface in the target elastic instance group; Through the association interface, create an association relationship between the first load balancing device and the target elastic instance group.

3. The method according to claim 2, wherein Creating the association relationship between the first load balancing device and the target elastic instance group through the association interface includes: Determine the call parameters corresponding to the association interface, where the call parameters include the device information of the first load balancing device and the target instance group information of the target elastic instance group; According to the call parameters, call the association interface to create an association relationship between the first load balancing device and the target elastic instance group.

4. The method according to any one of claims 1 to 3, characterized in that Displaying the instance setting page corresponding to the first load balancing device includes: Display a load balancing device page, where the load balancing device page includes description information of multiple load balancing devices and elastic controls; In response to an operation on the elastic control of the first load balancing device, display the instance setting page of the first load balancing device.

5. The method according to claim 4, wherein In response to an operation on the elastic control of the first load balancing device, displaying the instance setting page of the first load balancing device includes: In response to an operation on the elastic control of the first load balancing device, determine an instance group query interface; Through the instance group query interface, obtain the instance group information of the elastic instance group associated with the first load balancing device; According to the instance group information associated with the first load balancing device, generate the instance setting interface and display the instance setting page.

6. The method according to any one of claims 1-5, characterized in that, The setting control includes an add elastic instance group control; In response to an operation on the setting control, determining the target elastic instance group includes: In response to a click operation on the input of the add elastic instance group control, display a configuration page corresponding to an existing first elastic instance group, where the configuration page includes a port input control, a weight input control, and a confirmation control; Configure the first elastic instance group through the port input control and the weight input control; In response to a click operation on the input of the confirmation control, determine the configured first elastic instance group as the target elastic instance group.

7. The method according to any one of claims 1-5, characterized in that The setting control includes a new instance group control; In response to an operation on the setting control, determining the target elastic instance group includes: In response to a click operation on the new instance group control, display an instance group creation page, where the instance group creation page includes multiple information controls for the elastic instance group; Obtain instance group information in response to the information input in the multiple information controls; Generate the target elastic instance group according to the instance group information.

8. The method according to claim 7, wherein Generating the target elastic instance group according to the instance group information includes: Determine the instance group creation interface; Call the instance group creation interface according to the instance group information to generate the target elastic instance group.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: Store the association relationship between the first load balancing device and the target instance group.

10. The method according to any one of claims 1-9, characterized in that, The method further includes: Obtain an instance update request corresponding to the second load balancing device, where the instance update request is used to request to update the configuration information of the first elastic instance group corresponding to the second load balancing device, or delete the first elastic instance group corresponding to the second load balancing device; Determine the update interface corresponding to the instance update request, and update the elastic instance group corresponding to the second load balancing device through the update interface.

11. An apparatus for device association, characterized in that, Applied to a control platform for load balancing, the device includes: a display module, a determination module, and a creation module, where The display module is used to display an instance setting page corresponding to the first load balancing device, and the instance setting page includes a setting control for an elastic instance group, and the elastic instance group includes at least one service instance; The determination module is used to determine a target elastic instance group in response to an operation on the setting control; The creation module is used to create an association relationship between the first load balancing device and the target elastic instance group, and the association relationship is used to enable the first load balancing device to provide load balancing services for the service instances in the target elastic instance group.

12. An electronic device, characterized in that, Includes: At least one processor; And A memory communicatively connected to the at least one processor; Wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the electronic device to execute the method according to any one of claims 1-10.

13. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, the method according to any one of claims 1-10 is implemented.

14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, the method according to any one of claims 1-10 is implemented.