Disclosure of Invention
In view of the above, the invention provides a method and a device for arranging a load balancing full-service scene, which can solve the defects of long arranging time and easy error existing in the prior art.
The technical scheme of the invention is realized as follows:
the arrangement method for the load balancing full-service scene specifically comprises the following steps:
defining a full-service scene and generating a service scene template library;
acquiring user service requirements, and selecting a corresponding service scene from a service scene template library according to the user service requirements;
inputting form data into the selected service scene to generate node configuration data;
and sending the node configuration data to the on-line configuration of the load balancing for configuration, thereby realizing the arrangement of the full-service scene.
As a further alternative of the arrangement method for load balancing full-service scenarios, the defining full-service scenarios specifically includes:
defining a basic metadata model and a deployment interface of an adaptation manufacturer;
defining the input of business scene form data;
defining node data;
and defining a service scene output result.
As a further alternative of the arrangement method for load balancing all-service scenarios, the inputting form data into the selected service scenario, generating node configuration data, specifically includes:
form data is extracted from the user service demands;
inputting form data into the selected service scene;
the business scenario converts form data into node configuration data according to preset logic for generating node configuration.
As a further alternative of the arrangement method for load balancing full-service scenarios, the sending the node configuration data to the on-line configuration for load balancing to perform configuration specifically includes:
checking node configuration data;
after checking, calling the factory deployment interface to issue, and issuing to the on-line configuration of load balancing.
An orchestration device for load balancing full-service scenarios, comprising:
the first defining module is used for defining a full-service scene and generating a service scene template library;
the acquisition module is used for acquiring the service requirements of the user;
the selection module is used for selecting a corresponding service scene from the service scene template library according to the service requirements of the user;
the input module is used for inputting form data into the selected service scene and generating node configuration data;
and the configuration module is used for sending the node configuration data to the on-line configuration of the load balancing for configuration, so that the arrangement of the full-service scene is realized.
As a further alternative to the orchestration device for load balancing full traffic scenarios, the first defining module comprises:
the second definition module is used for defining a basic metadata model and a deployment interface of an adaptation manufacturer;
the third definition module is used for defining the input of the business scene form data;
a fourth definition module for defining node data;
and the fifth definition module is used for defining a service scene output result.
As a further alternative to the orchestration device for load balancing full-service scenarios, the input module comprises:
the extraction module is used for extracting form data from the service demands of the users;
the execution module is used for inputting form data into the selected service scene;
the conversion module is used for converting form data into node configuration data according to preset logic for generating node configuration in the service scene.
As a further alternative to the orchestration device for load balancing full-service scenarios, the configuration module comprises:
the checking module is used for checking the node configuration data;
and the issuing module is used for calling the manufacturer deployment interface to issue and issuing the information to the on-line configuration of the load balancing.
The beneficial effects of the invention are as follows: by defining the full service scene, a service scene template library is generated, a corresponding service scene is selected from the service scene template library according to the service requirements of a user, form data is input into the selected service scene, node configuration data is generated, and the node configuration data is sent to the on-line configuration of load balancing for configuration, so that the efficiency of service scene arrangement can be improved, and the accuracy of service scene arrangement can be greatly improved.
Detailed Description
The following description of the technical solutions in the embodiments of the present invention will be clear and complete, and it is obvious that the described embodiments are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1-2, a method for arranging a load balancing full-service scene specifically includes:
defining a full-service scene and generating a service scene template library;
acquiring user service requirements, and selecting a corresponding service scene from a service scene template library according to the user service requirements;
inputting form data into the selected service scene to generate node configuration data;
and sending the node configuration data to the on-line configuration of the load balancing for configuration, thereby realizing the arrangement of the full-service scene.
In this embodiment, by defining a full service scenario, generating a service scenario template library, selecting a corresponding service scenario from the service scenario template library according to a user service requirement, inputting form data into the selected service scenario, generating node configuration data, and sending the node configuration data to an online configuration of load balancing for configuration, the efficiency of service scenario arrangement can be improved, and the accuracy of service scenario arrangement can also be greatly improved. It should be noted that, the load balancing online configuration is configured as manufacturer equipment, and is applicable to service arrangement of all equipment in industry, such as a firewall, a switching route, a host and middleware, which are not limited in particular herein; in addition, the configuration module supports synchronous generation rollback, which can be supported if there is an exception.
Preferably, the defining the full service scene specifically includes:
defining a basic metadata model and a deployment interface of an adaptation manufacturer;
defining the input of business scene form data;
defining node data;
and defining a service scene output result.
In this embodiment, the deployment interface of the definition basic metadata model and the adaptation manufacturer is used for representing the minimum basic object to be arranged, the input of the definition service scene form data is used for receiving interactive data of the user, the form input supports the definition of the commonly used form model, and the definition node data is used for combining the form data input by the user into the scene configuration to be finally deployed according to the service scene; defining the business scenario output result is the output of the execution scenario result, and the format of the business scenario output result can be customized.
Preferably, the inputting form data into the selected service scene generates node configuration data, which specifically includes:
form data is extracted from the user service demands;
inputting form data into the selected service scene;
the business scenario converts form data into node configuration data according to preset logic for generating node configuration.
In this embodiment, the logic for generating the node configuration is preset in the selected service scenario, and the logic for generating the node configuration is automatically executed after the service scenario receives the form data, so that the node configuration data to be finally issued to the devices of different manufacturers is generated, thereby further improving the efficiency of the service scenario arrangement.
Preferably, the sending the node configuration data to the on-line configuration of the load balancing for configuration specifically includes:
checking node configuration data;
after checking, calling the factory deployment interface to issue, and issuing to the on-line configuration of load balancing.
In this embodiment, by checking the node configuration data, the accuracy of the service scene arrangement can be further improved.
An orchestration device for load balancing full-service scenarios, comprising:
the first defining module is used for defining a full-service scene and generating a service scene template library;
the acquisition module is used for acquiring the service requirements of the user;
the selection module is used for selecting a corresponding service scene from the service scene template library according to the service requirements of the user;
the input module is used for inputting form data into the selected service scene and generating node configuration data;
and the configuration module is used for sending the node configuration data to the on-line configuration of the load balancing for configuration, so that the arrangement of the full-service scene is realized.
In this embodiment, by defining a full service scenario, generating a service scenario template library, selecting a corresponding service scenario from the service scenario template library according to a user service requirement, inputting form data into the selected service scenario, generating node configuration data, and sending the node configuration data to an online configuration of load balancing for configuration, the efficiency of service scenario arrangement can be improved, and the accuracy of service scenario arrangement can also be greatly improved. It should be noted that, the load balancing online configuration is configured as manufacturer equipment, and is applicable to service arrangement of all equipment in industry, such as a firewall, a switching route, a host and middleware, which are not limited in particular herein; in addition, the configuration module supports synchronous generation rollback, which can be supported if there is an exception.
Preferably, the first defining module includes:
the second definition module is used for defining a basic metadata model and a deployment interface of an adaptation manufacturer;
the third definition module is used for defining the input of the business scene form data;
a fourth definition module for defining node data;
and the fifth definition module is used for defining a service scene output result.
In this embodiment, the deployment interface of the definition basic metadata model and the adaptation manufacturer is used for representing the minimum basic object to be arranged, the input of the definition service scene form data is used for receiving interactive data of the user, the form input supports the definition of the commonly used form model, and the definition node data is used for combining the form data input by the user into the scene configuration to be finally deployed according to the service scene; defining the business scenario output result is the output of the execution scenario result, and the format of the business scenario output result can be customized.
Preferably, the input module includes:
the extraction module is used for extracting form data from the service demands of the users;
the execution module is used for inputting form data into the selected service scene;
the conversion module is used for converting form data into node configuration data according to preset logic for generating node configuration in the service scene.
In this embodiment, the logic for generating the node configuration is preset in the selected service scenario, and the logic for generating the node configuration is automatically executed after the service scenario receives the form data, so that the node configuration data to be finally issued to the devices of different manufacturers is generated, thereby further improving the efficiency of the service scenario arrangement.
Preferably, the configuration module includes:
the checking module is used for checking the node configuration data;
and the issuing module is used for calling the manufacturer deployment interface to issue and issuing the information to the on-line configuration of the load balancing.
In this embodiment, by checking the node configuration data, the accuracy of the service scene arrangement can be further improved.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.