A service orchestration processing method, device, equipment and storage medium

By parsing application installation files through a service management platform, generating and sending deployment and configuration information, the problem of service orchestration architecture being unable to automatically detect changes is solved, enabling dynamic adjustment of service dependencies and business stability.

CN118827357BActive Publication Date: 2026-01-02CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410216892.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-27
Publication Date
2026-01-02
Estimated Expiration
2044-02-27

AI Technical Summary

Technical Problem

The existing service orchestration architecture cannot automatically detect service changes, causing applications to be unable to process and recover in a timely manner, affecting the stability of business processes and user experience.

Method used

The service management platform parses application installation files, generates and sends deployment and configuration information to automatically detect service changes and make dynamic adjustments, including the relationships and interface information between services, to achieve dynamic service orchestration.

Benefits of technology

It enables a smooth evolution of service dependencies, reduces manual modifications, improves the efficiency of service upgrades and improvements, and ensures business stability and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118827357B_ABST
    Figure CN118827357B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a service arrangement processing method, device and equipment and a storage medium. The method comprises: a service management platform obtaining an application installation file, parsing the application installation file, obtaining service information, interface information, service deployment information and service configuration information; the interface information comprises interface related information provided by the service to the outside and interface related information consumed by the service; generating first configuration information based on the service information, the interface information and the service configuration information, generating first deployment information based on the service information and the service deployment information, and generating or updating first index management information based on the service information and the interface information; sending the first deployment information and the first configuration information to a service running platform respectively, and sending first information to the service running platform according to the first index management information, so that the service running platform redeploy services associated with the service according to the first information.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of cloud computing, and in particular to a service orchestration processing method and device, equipment and a storage medium. BACKGROUND

[0002] A service-oriented architecture (SOA) can distribute, combine and use loosely coupled coarse-grained application components through a network according to requirements. Under the SOA architecture, a complete business process can be implemented through cooperation between services, and this cooperation is service orchestration.

[0003] The current service orchestration architecture defines the business process of an application and the dependency relationship between services in the initial stage of the service. After the application is started, the application runs according to the existing process and mode. During the running of the application, the state configuration of the service can change due to resource limitations and other reasons. Since the application is a service-oriented architecture, when the service changes, the corresponding dependent services need to be adapted at the same time. However, since the service changes cannot be automatically sensed, the application cannot handle and recover in a timely manner, and has strong limitations. SUMMARY

[0004] To solve the existing technical problems, the embodiments of the present application provide a service orchestration processing method, device, equipment and storage medium.

[0005] To achieve the above-mentioned purposes, the technical solutions of the embodiments of the present application are as follows:

[0006] In a first aspect, the embodiments of the present application provide a service orchestration processing method, and the method comprises the following steps:

[0007] A service management platform obtains an application installation file, and the application installation file is used to request to deploy a service or to request to redeploy a service. The application installation file at least includes an association relationship between services, interface information corresponding to the services, information related to service deployment and information related to service configuration.

[0008] The service management platform parses the application installation file to obtain service information, interface information, service deployment information and service configuration information. The interface information includes interface-related information provided by the services and interface-related information consumed by the services.

[0009] The service management platform generates first configuration information based on the service information, the interface information and the service configuration information, generates first deployment information based on the service information and the service deployment information, and generates or updates first index management information based on the service information and the interface information. The first index management information at least includes an association relationship between interfaces and services.

[0010] The service management platform sends the first deployment information and the first configuration information to the service running platform respectively, so that the service running platform deploys or redeploy services according to the first deployment information and the first configuration information, and sends first information to the service running platform according to the first index management information, so that the service running platform redeploy services associated with the services according to the first information.

[0011] In the above scheme, the services include production services for data collection and consumption services; the consumption services consume data collected by the production services.

[0012] The first index management information includes the association relationship between the consumption services and at least one associated index information, and the index information represents service interface information provided by the production services.

[0013] In the above scheme, when the application installation file is used to request to redeploy the production services, the first index management information is updated based on the service information and the interface information, including:

[0014] When the service management platform determines that there is already first index management information associated with the production services based on the service information, the index information of the first index management information is updated based on the interface information.

[0015] In the above scheme, the service management platform sends the deployment information and the configuration information to the service running platform respectively, so that the service running platform deploys or redeploy services according to the deployment information and the configuration information, including:

[0016] The service management platform sends a first deployment request and a first configuration request to the service running platform respectively, the first deployment request includes first deployment information for deploying or redeploying services, and the first configuration request includes first configuration information for configuring or reconfiguring the services, so that the service running platform deploys or redeploy the services according to the first deployment information and the first configuration information.

[0017] The service management platform receives a first deployment request response sent by the service running platform, and the first deployment request response indicates that the service deployment or redeployment is completed.

[0018] In the above scheme, the application installation file is used to request to redeploy the production services; and the first information is sent to the service running platform according to the first index management information, so that the service running platform redeploy services associated with the services according to the first information, including:

[0019] The service management platform determines at least one index corresponding to the production service based on the first index management information, and determines a consumption service associated with the production service based on the at least one index;

[0020] The service management platform generates second deployment information and second configuration information based on the first index management information, the second deployment information being used for redeploying the consumption service, and the second configuration information being used for reconfiguring the consumption service;

[0021] The service management platform sends a second deployment request and a second configuration request to the service running platform respectively, the second deployment request including the second deployment information, and the second configuration request including the second configuration information, so that the service running platform redeploys the consumption service according to the second deployment information and the second configuration information;

[0022] The service management platform receives a second deployment request response sent by the service running platform, the second deployment request response indicating that the consumption service is redeployed completely.

[0023] In the above scheme, the application installation file includes a first abstract template; the first abstract template includes service-related information, interface information corresponding to the service, information related to service deployment, and information related to service configuration; wherein,

[0024] The service-related information at least includes a service name, a namespace of a project where the service is located, a service image name, and service description information;

[0025] The interface information corresponding to the service at least includes interface information provided by the service to the outside and interface information consumed by the service;

[0026] The information related to service deployment includes a service image version and an address of the service image;

[0027] The information related to service configuration includes environment configuration information and a number of replicas of the service.

[0028] In the above scheme, the application installation file further includes a second abstract template; the second abstract template at least includes service-related information, production service indication information used for describing an association relationship between an index and a service corresponding to the index, consumption service indication information used for describing an association relationship between an index and a service consuming the index, index type information, production indication information used for describing an index provided by a service to the outside, and consumption indication information used for describing an index consumed by a service.

[0029] In a second aspect, an embodiment of the present application further provides a service orchestration processing method, and the method comprises:

[0030] The service running platform receives the first deployment information and the first configuration information corresponding to the service sent by the service management platform, and receives the first information sent by the service management platform;

[0031] The service running platform deploys or redeploy the service based on the first deployment information and the first configuration information, and redeploy the service associated with the service according to the first information;

[0032] The first deployment information is generated by the service management platform according to service information and service deployment requirement information obtained by parsing the application installation file, the first configuration information is generated by the service management platform according to service information, interface information and service configuration information obtained by parsing the application installation file, the interface information includes interface related information provided by the service to the outside and interface related information consumed by the service; the first information is generated by the service management platform according to the first index management information, and the first index management information is generated based on the service information and the interface information.

[0033] In the above scheme, the service includes a production service for data collection and a consumption service; the consumption service consumes the data collected by the production service;

[0034] In the case of the service being a consumption service, the service running platform deploys the service based on the first deployment information and the first configuration information, including:

[0035] The service running platform deploys the consumption service based on the first deployment information, and obtains the interface configuration information corresponding to the consumption service based on the first configuration information, and associates the consumption service and the interface provided by the production service consumed by the consumption service based on the interface configuration information, to associate and schedule the consumption service and the production service.

[0036] In the above scheme, the service includes a production service for data collection and a consumption service; the consumption service consumes the data collected by the production service;

[0037] In the case of the service being a production service, the service running platform redeploy the service based on the deployment information and the configuration information, including:

[0038] The service running platform receives the first deployment request and the first configuration request sent by the service management platform, the first deployment request includes the first deployment information for redeploying the production service, and the first configuration request includes the first configuration information for reconfiguring the production service;

[0039] The service running platform redeploys the production service based on the first deployment information and the first configuration information, and sends a first deployment request response to the service management platform, the first deployment request response indicating that the production service is redeployed successfully.

[0040] In the above solution, the service associated with the service is a consumer service associated with the production service; and the redeploying the service associated with the service according to the first information comprises:

[0041] The service running platform receives a second deployment request and a second configuration request sent by the service management platform, the second deployment request including second deployment information for redeploying the consumer service, and the second configuration request including second configuration information for reconfiguring the consumer service; and the consumer service consumes data collected by the production service.

[0042] The service running platform redeploys the consumer service based on the second deployment information, obtains interface configuration information corresponding to the consumer service based on the second configuration information, and reassociates the consumer service and the interface provided by the production service based on the interface configuration information, so as to schedule the consumer service and the production service.

[0043] The service running platform sends a second deployment request response to the service management platform, the second deployment request response indicating that the consumer service is redeployed successfully.

[0044] In the above solution, the method further comprises: when the service running platform determines that configuration information associated with the production service already exists, replacing the configuration information with the first configuration information; and / or,

[0045] When the service running platform determines that configuration information associated with the consumer service already exists, replacing the configuration information with the second configuration information.

[0046] In a third aspect, an embodiment of the present application further provides a service orchestration processing device, the device being applied to a service management platform, the device comprising a service analysis module, an index management module, a service deployment module and a service configuration module; wherein,

[0047] The service analysis module is configured to obtain an application installation file, the application installation file being used to request deployment of a service or request redeployment of a service; the application installation file at least including an association relationship between services, interface information corresponding to the services, information related to service deployment and information related to service configuration; the service analysis module is configured to analyze the application installation file to obtain service information, interface information, service deployment information and service configuration information; the interface information includes interface related information provided by the services to the outside and interface related information consumed by the services.

[0048] The index management module is configured to generate first index management information based on the service information and the interface information, wherein the first index management information at least comprises an association relationship between the interface and the service; and to generate first information according to the first index management information, and to send the first information to the service running platform via the service deployment module and the service configuration module, so that the service running platform redeploys the service associated with the service according to the first information.

[0049] The service deployment module is configured to generate first deployment information based on the service information and the service deployment information, and to send the first deployment information to the service running platform.

[0050] The service configuration module is configured to generate first configuration information based on the service information, the interface information and the service configuration information, and to send the first configuration information to the service running platform, so that the service running platform deploys or redeploys the service according to the first deployment information and the first configuration information.

[0051] In a fourth aspect, the embodiments of the present application further provide a service orchestration processing device, which is applied to a service running platform, and comprises a service configuration dictionary module and a processing module, wherein the service configuration dictionary module is configured to receive first configuration information corresponding to a service sent by a service management platform; and the processing module is configured to receive first deployment information corresponding to the service sent by the service management platform, and to deploy or redeploy the service based on the first deployment information and the first configuration information in the service configuration dictionary module.

[0052] The service configuration dictionary module is configured to receive first configuration information corresponding to a service sent by a service management platform.

[0053] The processing module is configured to receive first deployment information corresponding to the service sent by the service management platform, and to deploy or redeploy the service based on the first deployment information and the first configuration information in the service configuration dictionary module; and to receive first information sent by the service management platform.

[0054] The first deployment information is generated by the service management platform based on service information and service deployment requirement information obtained by analyzing an application installation file, the first configuration information is generated by the service management platform based on service information, interface information and service configuration information obtained by analyzing the application installation file, the interface information comprises interface related information provided by the service to the outside and interface related information consumed by the service, and the first information is generated by the service management platform based on first index management information, wherein the first index management information is generated based on the service information and the interface information.

[0055] In a fifth aspect, the embodiments of the present application further provide a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the steps of the method in the first aspect or the second aspect.

[0056] In a sixth aspect, an embodiment of the present application further provides a service orchestration processing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method in the first aspect or the second aspect of the embodiment of the present application when executing the program.

[0057] In a seventh aspect, an embodiment of the present application further provides a computer program product, comprising computer program instructions, which cause a computer to execute the steps of the method in the first aspect or the second aspect of the embodiment of the present application.

[0058] The service orchestration processing method, device, equipment and storage medium provided by the embodiment of the present application, the method comprises: a service management platform obtains an application installation file, the application installation file is used to request to deploy a service or request to redeploy a service; the application installation file at least comprises an association relationship between services, interface information corresponding to the services, information related to service deployment and information related to service configuration; the application installation file is parsed to obtain service information, interface information, service deployment information and service configuration information; the interface information comprises interface related information provided by the services to the outside and interface related information consumed by the services; configuration information is generated based on the service information, the interface information and the service configuration information, deployment information is generated based on the service information and the service deployment information, and first index management information is generated based on the service information and the interface information; the first index management information at least comprises an association relationship between interfaces and services; the deployment information and the configuration information are sent to a service running platform based on the first index management information, so that the service running platform deploys or redeploys the services according to the deployment information and the configuration information. By adopting the technical solution of the embodiment of the present application, the interface information corresponding to the services is added in the application installation file, and the service orchestration processing scheme is designed, so that the change of the related information of the services is automatically perceived, the smooth evolution of service dependence and cooperation is realized, manual modification of the related information of the services is reduced or avoided, and the service upgrading and improvement efficiency is improved. BRIEF DESCRIPTION OF DRAWINGS

[0059] Figure 1 A system architecture diagram for the service orchestration processing method of the embodiment of the present application;

[0060] Figure 2 A flowchart of the service orchestration processing method of the embodiment of the present application Figure 1 ;

[0061] Figure 3a A diagram of the content included in the first abstract template in the service orchestration processing method of the embodiment of the present application;

[0062] Figure 3bA schematic diagram of contents included in the second abstract template in the service orchestration processing method of the embodiment of the present application;

[0063] Figure 4 A flowchart of the service orchestration processing method of the embodiment of the present application Figure 2 ;

[0064] Figure 5 A schematic diagram of the service orchestration processing method of the embodiment of the present application applied to the network intelligent operation and maintenance scenario

[0065] Figure 6 A schematic diagram of the interaction flow of the service orchestration processing of the embodiment of the present application Figure 1 ;

[0066] Figure 7 A schematic diagram of the interaction flow of the service orchestration processing of the embodiment of the present application Figure 2 ;

[0067] Figure 8 A schematic diagram of the interaction flow of the service orchestration processing of the embodiment of the present application

[0068] Figure 9 A schematic diagram of the composition structure of the service orchestration processing device of the embodiment of the present application Figure 1 ;

[0069] Figure 10 A schematic diagram of the composition structure of the service orchestration processing device of the embodiment of the present application Figure 2 ;

[0070] Figure 11 A schematic diagram of the hardware composition structure of the service orchestration processing device of the embodiment of the present application. DETAILED DESCRIPTION

[0071] The present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0072] The technical solution of the embodiment of the present application can be applied to various communication systems, for example: Global System of Mobile communication (GSM) system, Long Term Evolution (LTE) system or 5G system, etc. Optionally, the 5G system or 5G network can also be referred to as New Radio (NR) system or NR network.

[0073] Exemplarily, the communication system to which embodiments of the present application apply can comprise network devices and terminal devices (also referred to as terminals, communication terminals, etc.); the network devices can be devices that communicate with the terminal devices. Among them, the network devices can provide communication coverage in a certain area range, and can communicate with terminals located in the area. Optionally, the network devices can be base stations in various communication systems, for example, evolved Node Bs (eNBs) in LTE systems, or base stations (gNBs) in 5G or NR systems.

[0074] It should be understood that the devices with communication functions in the network / system in the embodiments of the present application can be referred to as communication devices. The communication devices can include network devices and terminal devices with communication functions, and the network devices and terminal devices can be the specific devices described above, which will not be described here again; the communication devices can also include other devices in the communication system, such as network controllers, mobile management entities, and other network entities, which are not limited in the embodiments of the present application.

[0075] It should be understood that the terms "system" and "network" are often used interchangeably in this document. The term "and / or" in this document is only used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone. In addition, the character " / " in this document generally represents an "or" relationship between the associated objects before and after it.

[0076] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0077] Before the embodiments of the present application are described in detail, the service orchestration of the conventional technology is first described.

[0078] An application can be composed of multiple services, for example, including service A, service B and service C, wherein service B and C depend on service A during running. After the application is installed and deployed, the services are normally running, during running, service A adjusts changes, for example, the interface address exposed by service A changes, service B and service C cannot perceive the change of service A and timely adjust and adapt, that is, other services depending on the interface cannot normally run, each service needs to modify the interface address of the corresponding service to ensure normal business operation, if a large number of services are involved and the dependency relationship between the services is complex, a large number of dependent services need to be modified, and each service needs to be manually modified and restarted, which will cause the service to be stalled for too long, causing business interruption, and even seriously affecting user experience. The embodiments of the present application solve the problem of how to realize dynamic processing in the case of interface change under the condition of cooperative dependence of services.

[0079] Figure 1 The system architecture schematic diagram for the service orchestration processing method of the embodiments of the present application is shown in FIG. 1. Figure 1 As shown in the figure, the system includes a service management platform and a service running platform.

[0080] The embodiments of the present application design a new template for service deployment installation package. The traditional service installation package can include a service template, an environment template and a deployment template, which respectively specify the IP port provided by the service, the service name, the environment variable configuration, the image address and the like. On this basis, the embodiments of the present application add an interface template, which specifies the interface related information provided by the service and the interface information to be consumed, and is used to associate the dependency relationship of the services and provide support for realizing dynamic change of the services.

[0081] The embodiments of the present application design a general design template for realizing service deployment and supporting dynamic change, which contains all information of the association relationship between services, service deployment and dynamic change. The service management platform realizes automatic deployment of services and service cooperation according to the template information, and realizes dynamic orchestration. It can be understood that the general design template of the embodiments of the present application includes the contents of the service template, the environment template, the deployment template and the interface template.

[0082] The service management platform includes a service parsing module, an index management module, a service deployment module and a service configuration module. Among them,

[0083] The service analysis module receives an application installation package (or an application installation file) provided by a service provider to create, update, delete, etc., and analyzes the application installation package (or the application installation file) to obtain interface information, service information, and other information and send the information to the index management module; the service analysis module sends service deployment information and service information and other related information obtained by analysis to the service deployment module; and the service analysis module sends service configuration information, interface information, and service information and other related information obtained by analysis to the service configuration module.

[0084] The index management module receives interface information and service information of a service, generates an association relationship between the service and indexes (i.e., index management information) according to a service abstraction template scheme; when the interface information of the service changes, the index management module can perceive a service (e.g., a production service) associated with the interface updated service (e.g., a consumption service) based on the index management information, and generate service update or deployment update related information in real time and send the information to the service deployment module and the service configuration module.

[0085] The service deployment module receives related service information and service deployment information of service deployment or service deployment update, generates deployment information according to deployment and configuration management specifications of service addition and update, and calls an interface of a service running platform (e.g., docker or k8s) to perform a service deployment operation.

[0086] The service configuration module receives service configuration information, interface information, and service information and other configuration information, generates configuration information according to service configuration management specifications, and sends the configuration information to a service configuration dictionary in the service running platform to perform service configuration.

[0087] The service running platform at least includes a service configuration dictionary module configured to receive configuration information sent by the service configuration module, perform configuration addition and change, and ensure that each service obtains the latest configuration information. For example, the service configuration dictionary saves production interface information descriptions provided by each service.

[0088] The embodiment of the application provides a service orchestration processing method. Figure 2 The service orchestration processing method provided by the embodiment of the application is shown in the flowchart Figure 1 ; as Figure 2 shown, the method comprises:

[0089] Step 101: A service management platform obtains an application installation file, the application installation file is used to request to deploy a service or request to redeploy a service; and the application installation file at least includes an association relationship between services, interface information corresponding to the services, information related to service deployment, and information related to service configuration.

[0090] Step 102: The service management platform parses the application installation file to obtain service information, interface information, service deployment information, and service configuration information; the interface information includes interface-related information provided by the service and interface-related information consumed by the service;

[0091] Step 103: The service management platform generates first configuration information based on the service information, the interface information, and the service configuration information, generates first deployment information based on the service information and the service deployment information, and generates first index management information based on the service information and the interface information; the first index management information at least includes the association relationship between the interface and the service; the configuration information at least includes interface configuration information corresponding to the service;

[0092] Step 104: The service management platform sends the first deployment information and the first configuration information to the service running platform respectively, so that the service running platform deploys or redeploys the service according to the first deployment information and the first configuration information, and sends first information to the service running platform according to the first index management information, so that the service running platform redeploys the service associated with the service according to the first information.

[0093] In this embodiment, the application installation file can also be referred to as an application installation package, a service deployment installation package, etc., such as an installation package helm chart of a k8s application, etc. Generally, the application installation file includes service configuration-related information and service deployment-related information. The service configuration-related information is used to define a unified access portal of the service, and the service deployment-related information is used to define service deployment image version and address, replica quantity, environment variable configuration, service availability, etc. On this basis, the application installation file can also include service corresponding interface information (or also referred to as interface description information), which includes interface information provided by the service and interface information to be consumed by the service. Through the service corresponding interface information, the association relationship between services can be determined, so as to realize dynamic management of the service. It can be understood that the application installation file also includes the association relationship between services and the service corresponding interface information, so as to realize dynamic management of the service through the association relationship between services and the service corresponding interface information.

[0094] In some optional embodiments, the application installation file adds service corresponding interface information by formulating a specification, for example, a kubenetes-based application deployment mode using a yaml specification or helmchart.

[0095] The service of the embodiment of the application can include: a production service and / or a consumption service; wherein the production service refers to a service of generating data or collecting data, that is, service data can be provided through the production service; the consumption service refers to a service of consuming data or a service of consuming service data provided by the production service. It can be understood that the consumption service needs to depend on the production service. In some optional embodiments, the application installation file can be used to deploy the production service, or used to deploy the consumption service, or used to deploy the production service and the consumption service in association, and the like.

[0096] In the embodiment, when the application or the service corresponding to the application installation file is initially installed, the application installation file is used to request to deploy the service. When the application or the service corresponding to the application installation file is not initially installed, that is, the application or the service has been deployed before the application installation file is received, that is, the application installation file is used to modify the installed or deployed application or service, the application installation file is used to redeploy the service.

[0097] In the embodiment, the application installation file at least includes the association relationship between services, the interface information corresponding to the service, the information related to the service deployment and the information related to the service configuration, and the like. Wherein, the association relationship between services mainly refers to the association relationship between the production service and the consumption service, that is, the production service consumed by the consumption service; the interface information corresponding to the service can specifically include the interface information provided by the service (the production service) to the outside and / or the interface information consumed by the service (the consumption service). Then, through the association relationship between services and the interface information corresponding to the service, the interface information corresponding to the production service relied on by the consumption service can be determined. In other optional embodiments, the application installation file in the embodiment can include service information, interface information, service deployment information and service configuration information. Wherein, the service information can refer to the basic information of the service. The interface information can specifically include the interface information provided by the service (the production service) to the outside and / or the interface information consumed by the service (the consumption service). Then, through the service information combined with the interface information, the production service relied on by the consumption service can be determined, that is, the association relationship between services is determined, so as to realize the dynamic management of the service.

[0098] In some optional embodiments, the application installation file includes a first abstract template; the first abstract template includes: service related information, interface information corresponding to the service, information related to the service deployment and information related to the service configuration; wherein the service related information at least includes: a service name, a namespace of a service project, a service image name and service description information;

[0099] The interface information corresponding to the service at least includes: interface information provided by the service to the outside and interface information consumed by the service;

[0100] The information related to service deployment includes: service image version and address of service image.

[0101] The information related to service configuration includes: environment configuration information and number of copies of the service.

[0102] In the embodiment, the first abstract template can also be referred to as a service installation package abstract template. Compared with a traditional service installation package, the first abstract template adds interface information corresponding to the service, which can also be referred to as interface description information, including interface related information provided by the service to the outside and interface related information consumed by the service, so that the association relationship between services can be determined according to the interface information, thereby realizing dynamic management of the services.

[0103] Figure 3a A schematic diagram of contents included in the first abstract template in the service orchestration processing method of the embodiment of the present application is shown in FIG. 1. Figure 3a As shown in FIG. 1, the information included in the first abstract template and the association relationship are as follows.

[0104] 1. service-api: describes information required for installing a service package, including:

[0105] service-name: service name;

[0106] namespace: namespace of a project where the service is located;

[0107] image-name: service image name;

[0108] image-url: address and image version for obtaining a service image;

[0109] service-api-produced: interface list information: contains all interface information provided by the service to the outside;

[0110] service-api-comsumed: interface list information: contains all interface information to be consumed by the service;

[0111] description: description information: simple description of functions and purposes of the service implementation;

[0112] attribute (optional): extensible attribute information; provides information for service installation configuration, such as service copy number setting, environment configuration, etc.

[0113] 2. api: describes description information of interfaces produced and consumed by the service, including:

[0114] api-name: service interface name;

[0115] protocol-type: request protocol type;

[0116] url: interface specific address;

[0117] username (optional): access interface username;

[0118] password (optional): access interface password;

[0119] description: description information: a simple description of the function and purpose of the service interface implementation;

[0120] attribute (optional): extensible attribute information; for example, providing a request type.

[0121] 3. Protocol type (protocol-type): describes the interface protocol type: for example, including but not limited to Hypertext Transfer Protocol (HTTP), Hypertext Transfer Protocol Secure (HTTPS), File Transfer Protocol (FTP), Secure File Transfer Protocol (SFTP), Java Database Connectivity (JDBC), and other protocol types.

[0122] In some optional embodiments, the application installation file further includes a second abstract template; the second abstract template at least includes: service related information, production service indication information for describing the association between an index and the service corresponding to the index, consumption service indication information for describing the association between an index and the service consuming the index, index type information, production indication information for describing the index provided by the service, and consumption indication information for describing the index consumed by the service.

[0123] In this embodiment, the service is further abstracted into a production service and a consumption service, the production service provides a service interface, provides service data, and the way of providing service data includes but is not limited to publishing and subscribing, requesting and replying, FTP, RPC, etc.; the consumption service consumes the service data provided by the production service.

[0124] Generally, the service can provide a service interface as a production service, or consume the interface of other production service as a consumption service. Therefore, in the embodiments of the present application, the service interface of the service is abstracted, and the service interface provided by the production service is defined as an indicator, and the consumption service can dynamically select the related indicators for association according to the demand, and when the associated indicators are changed, the consumption service can timely perceive the change of the associated indicators and perform automatic dynamic configuration change. It can be understood that the first abstract template and the second abstract template have an association, and the second abstract template can be further refined information based on the information provided by the first abstract template.

[0125] Figure 3b The schematic diagram of the content included in the second abstract template in the service orchestration processing method of the embodiments of the present application is shown as Figure 3b The information included in the second abstract template and the association relationship are as follows:

[0126] 1. Service (Service): describe the detailed information of the service, including:

[0127] service-id: service id, a key value for uniquely identifying the service;

[0128] Service-name: service name;

[0129] Namespace: describes the namespace of the project where the service is located, which is used to isolate from other services and projects;

[0130] Image-name: image name, describes the image on which the service deployment depends;

[0131] Image-url: image address, describes the address and corresponding version of the service dependent image;

[0132] indicator-produced: production indicator information list, indicating the indicator information provided by the service, and the specific information is in the indicator-produced table;

[0133] Indicator-consumed: consumption indicator information list, used to identify the indicator list consumed by the service;

[0134] Description: a summary description of the function and purpose of the service;

[0135] Config-export-port: port number of the unified entrance provided by the service;

[0136] Attribute: (optional), used for specific extended configuration information.

[0137] 2、Indicator-service-producer: describes the relationship between the service indicator and the service that produces the indicator, each production indicator can only be produced by one service, by obtaining the id of the service according to the template, and then obtaining the detailed information of the service. Each production indicator belongs to a service, and a service can create multiple production indicators, including:

[0138] Indicator-id: indicator id, used to identify a unique indicator;

[0139] Indicator-name: indicator name;

[0140] Service-id: service id, indicating the service that produces the indicator;

[0141] Description: a summary description of the table;

[0142] Attribute: (optional), extended field.

[0143] 3、Indicator-service-consumer: describes the association between the indicator and the service that consumes the indicator, maintains the list of services that consume the indicator, and according to the association, when the production service indicator changes dynamically, the consumption service can perceive the production indicator change in time, dynamically realize configuration update, indicator adaptation, and re-establish the consumption service relationship, including:

[0144] Indicator-id: indicator id, used to identify a unique indicator;

[0145] Indicator-name: indicator name;

[0146] Service-id-list: service id list, indicating the list of services that consume the indicator;

[0147] Description: a summary description of the table;

[0148] Attribute: (optional), extended field.

[0149] 4、Indicator-type: describes the type of production indicator, mainly the protocol of service call: including but not limited to http, https, ftp, sftp, jdbc, etc.

[0150] 5、Indicator-produced: describes the detailed information of the service provided indicator, including:

[0151] Indicator-id: indicator id, used for identifying a unique indicator;

[0152] Indicator-name: indicator name;

[0153] Indicator-type: request protocol type;

[0154] url: interface specific address;

[0155] username (optional): access interface username;

[0156] password (optional): access interface password;

[0157] description: description information: a simple description of the function and purpose of the service interface implementation;

[0158] attribute (optional): extensible attribute information; for example, providing request type.

[0159] 6、Indicator-consumed: mainly describes the indicator information consumed by the service; through the template, the dependent indicators are determined, and then the dependent services are determined; including:

[0160] Indicator-id: indicator id, used for identifying a unique indicator;

[0161] Indicator-name: indicator name;

[0162] Description: a summary description of the table;

[0163] Attribute: (optional), extended field.

[0164] In this embodiment, the service analysis module of the service management platform analyzes the application installation file to obtain service information, interface information, service deployment information and service configuration information, sends the interface information and the service information to the indicator management module, sends the interface information, the service information and the service configuration information to the service configuration module, and sends the service information and the service deployment information to the service deployment module. The indicator management module generates first indicator management information according to the received interface information and service information; the service configuration module generates configuration information according to the interface information, the service information and the service configuration information according to the configuration specification; and the service deployment module generates deployment information according to the service information and the service deployment information.

[0165] In some optional embodiments, the services include production services for data collection and consumption services; the consumption services consume data collected by the production services; the first index management information includes an association relationship between the consumption services and at least one associated index information, and the index represents a service interface provided by the production service.

[0166] In this embodiment, the index management information (such as the first index management information) is mainly used to record the association relationship between the services and the indexes, and specifically the association relationship between the consumption services and the indexes (service interfaces provided by the production services) consumed by the consumption services, so that when the interface information of the production service is changed, the corresponding first index management information of the production service can be determined based on the changed production service, and then the consumption services associated with the changed production service are determined from the first index management information, so that the deployment of the consumption services is changed (that is, redeployed), thereby realizing the associated scheduling of the services.

[0167] In some optional embodiments, when the application installation file is used to request to redeploy the production service, the first index management information is updated based on the service information and the interface information, including: when the service management platform determines that the first index management information associated with the production service already exists based on the service information, the index information of the first index management information is updated based on the interface information.

[0168] In this embodiment, when the application installation file is used to request to redeploy the production service, the related deployment content of the production service is changed. The embodiments of the present application mainly aim at the case that the service interface provided by the production service to the outside is changed, that is, the interface information is changed. Then the service management platform can determine the first index management information associated with the corresponding production service based on the service information, and then update the index information in the first index management information according to the changed interface information; on the other hand, the consumption services associated with the production service can also be determined based on the first index management information, so that the consumption services are subsequently redeployed and configured.

[0169] In some optional embodiments, the service management platform sends the deployment information and the configuration information to the service running platform respectively, so that the service running platform deploys or redeploy services according to the deployment information and the configuration information, including: the service management platform sends a first deployment request and a first configuration request to the service running platform respectively, the first deployment request includes first deployment information for deploying or redeploying services, and the first configuration request includes first configuration information for configuring or reconfiguring the services, so that the service running platform deploys or redeploy the services according to the first deployment information and the first configuration information; the service management platform receives a first deployment request response sent by the service running platform, and the first deployment request response indicates that the service deployment or redeployment is completed.

[0170] In this embodiment, for the case of newly deploying services or redeploying services, the services can be production services or consumption services, then the service management platform sends the generated first deployment request and first configuration request to the service running platform respectively, and the service running platform deploys the production services or consumption services according to the first deployment request and the first configuration request, and sends a first deployment request response to the service management platform after successful deployment.

[0171] In some optional embodiments, the application installation file is used to request to redeploy the production services; and the service management platform sends first information to the service running platform according to the first index management information, so that the service running platform redeploy services associated with the services according to the first information, including: the service management platform determines at least one index corresponding to the production services based on the first index management information, and determines the consumption services associated with the production services based on the at least one index; the service management platform generates second deployment information and second configuration information based on the first index management information, the second deployment information is used to redeploy the consumption services, and the second configuration information is used to reconfigure the consumption services; the service management platform sends a second deployment request and a second configuration request to the service running platform respectively, the second deployment request includes the second deployment information, and the second configuration request includes the second configuration information, so that the service running platform redeploy the consumption services according to the second deployment information and the second configuration information; the service management platform receives a second deployment request response sent by the service running platform, and the second deployment request response indicates that the consumption services are redeployed.

[0172] In the embodiment, in the case that the production service has been redeployed, since the consumer service is associated with the production service, the service management platform needs to send first information to the service running platform according to the first index management information, so that the service running platform redeploys the consumer service associated with the production service according to the first information. Specifically, after the service management platform determines the message service associated with the production service based on the first index management information, the service management platform generates second deployment information and second configuration information related to the consumer service according to the first index management information. The second deployment information can be obtained according to the deployment information (or service information and service deployment information) of the previously deployed consumer service, and the second configuration information can be obtained according to the configuration information (or service information, interface information and service configuration information) of the previously configured consumer service in combination with the changed interface information (or index information) in the first index management information. Then the service management platform sends the second deployment information and the second configuration information to the service running platform, respectively, and the service running platform redeploys the consumer service according to the second deployment information and the second configuration information, so as to realize the associated scheduling of the consumer service associated with the production service in the case of interface change of the production service.

[0173] Based on the above embodiment, Figure 4 The flowchart of the service orchestration processing method of the embodiment of the application is shown in Figure 2 ; as Figure 4 shown, the method comprises:

[0174] Step 201: The service running platform receives the first deployment information and the first configuration information corresponding to the service sent by the service management platform, and receives the first information sent by the service management platform.

[0175] Step 202: The service running platform deploys or redeploys the service based on the first deployment information and the first configuration information, and redeploys the service associated with the service according to the first information.

[0176] The first deployment information is generated by the service management platform according to the service information and the service deployment requirement information obtained by analyzing the application installation file, the first configuration information is generated by the service management platform according to the service information, the interface information and the service configuration information obtained by analyzing the application installation file, the interface information comprises interface related information provided by the service to the outside and interface related information consumed by the service, and the first information is generated by the service management platform according to the first index management information, which is generated based on the service information and the interface information.

[0177] In some optional embodiments, the services include production services for data collection and consumption services; the consumption services consume data collected by the production services; in the case that the service is a consumption service, the service running platform deploys the service based on the first deployment information and the first configuration information, including: the service running platform deploys the consumption service based on the first deployment information, and acquires interface configuration information corresponding to the consumption service based on the first configuration information, and associates the consumption service and an interface provided by a production service consumed by the consumption service based on the interface configuration information, to associate and schedule the consumption service and the production service.

[0178] In some optional embodiments, the services include production services for data collection and consumption services; the consumption services consume data collected by the production services; in the case that the service is a production service, the service running platform redeploy the service based on the deployment information and the configuration information, including: the service running platform receives a first deployment request and a first configuration request sent by the service management platform, the first deployment request includes first deployment information for redeploying the production service, and the first configuration request includes first configuration information for reconfiguring the production service; the service running platform recreates the production service based on the first deployment information and the first configuration information, and sends a first deployment request response to the service management platform, the first deployment request response indicating that the production service is redeployed.

[0179] In some optional embodiments, the service associated with the service is a consumption service associated with the production service; the service running platform redeploy the service associated with the service according to the first information, including: the service running platform receives a second deployment request and a second configuration request sent by the service management platform, the second deployment request includes second deployment information for redeploying the consumption service, and the second configuration request includes second configuration information for reconfiguring the consumption service; the consumption service consumes data collected by the production service; the service running platform recreates the consumption service based on the second deployment information, and acquires interface configuration information corresponding to the consumption service based on the second configuration information, and reassociates the consumption service and an interface provided by the production service based on the interface configuration information, to reassociate and schedule the consumption service and the production service; the service running platform sends a second deployment request response to the service management platform, the second deployment request response indicating that the consumption service is redeployed.

[0180] In some optional embodiments of the present application, the method further comprises: when the service running platform determines that configuration information associated with the production service already exists, replacing the configuration information with the first configuration information; and / or, when the service running platform determines that configuration information associated with the consumption service already exists, replacing the configuration information with the second configuration information.

[0181] In general, the service orchestration processing method of the embodiments of the present application can include the following contents:

[0182] For the scenario of adding a new service:

[0183] Step 1: The service provider edits an application installation package and sends the application installation package to the service management platform.

[0184] The application installation package of the present embodiment adds configuration such as interface information for providing production and consumption of the application on the basis of a conventional application installation package (for example, the kubenetes-based application deployment method uses a yaml specification or a helm chart).

[0185] Step 2: The service parsing module of the service management system parses the application installation package and extracts interface information and service information, as well as service deployment information and service configuration information.

[0186] Step 3: The service parsing module of the service management system sends the service information and the interface information to the index management module, and the index management module generates index management information based on the service information and the interface information.

[0187] Step 4: The service parsing module of the service management system sends the service configuration information, the interface information, and the service information to the service configuration module, and the service configuration module generates configuration information according to the configuration specification and sends the configuration information to the service configuration dictionary of the service running platform.

[0188] Step 5: The service parsing module of the service management system sends the service deployment information and the service information to the service deployment module, and the service deployment module generates deployment information according to the deployment specification and sends the deployment information to the service running platform (for example, generates a k8s deployment application yaml file or a helm chart file), and invokes the service running platform through the service deployment module to execute service startup.

[0189] Step 6: The service running platform receives the deployment information and the deployment request, creates and starts the application in combination with the configuration information in the service configuration dictionary, and realizes application association scheduling.

[0190] For the scenario of updating a service:

[0191] Step 1: The service provider needs to update the application, and sends the application installation package containing the update information to the service management platform.

[0192] Step 2: The service analysis module of the service management system analyzes the application installation package, and extracts the interface information and service information, as well as the service deployment information and service configuration information.

[0193] Step 3: The service analysis module of the service management system sends the service information and interface information to the index management module, and the index management module determines the existing index management information corresponding to the service based on the service information, and then updates the corresponding index information of the service in the index management information based on the interface information.

[0194] Step 4: The service analysis module of the service management system sends the service configuration information, interface information and service information to the service configuration module, and the service configuration module generates configuration information according to the configuration specification, and sends the configuration information to the service configuration dictionary of the service running platform.

[0195] Step 5: The service analysis module of the service management system sends the service deployment information and service information to the service deployment module, and the service deployment module generates deployment information according to the deployment specification, and sends the deployment information to the service running platform.

[0196] Step 6: The service running platform receives the deployment information and deployment request, and recreates and starts the application in combination with the configuration information in the service configuration dictionary.

[0197] Step 7: The index management module determines the consumption service of the consumption index according to the updated index information associated with the service, generates configuration update information, and sends the configuration update information to the service configuration module for updating; in addition, the index management module sends a redeployment request to the service deployment module.

[0198] Step 8: The service configuration module receives the configuration update information, generates updated configuration information according to the deployment specification, and sends the configuration information to the service configuration dictionary of the service running platform.

[0199] Step 9: The service deployment module receives the redeployment request, sends a redeployment request to the service running platform, and the service running platform recreates and starts the application according to the redeployment request and the updated configuration information in the service configuration dictionary, to realize application associated scheduling.

[0200] The service orchestration method of the embodiment of the application will be described in detail below in combination with a specific example.

[0201] Figure 5 A schematic diagram of the service orchestration processing method of the embodiment of the application applied to a network intelligent operation and maintenance scene is shown in FIG. 1. Figure 5As shown, the network intelligent operation and maintenance system mainly includes two types of services, data collection service and intelligent analysis service. The data collection service is mainly responsible for collecting various resources, performance, alarms, logs and other data from the network layer; the intelligent analysis service is mainly responsible for subscribing to relevant data, judging the network state according to the relevant data, and timely preventing, diagnosing, alarming, repairing and other operations on the network state, so that the network can normally run to meet the needs of various users.

[0202] Since each intelligent analysis service depends on the data provided by the collection service. Assuming that the data collection service provides data services to the outside in a publish-subscribe (kafka) manner, the intelligent analysis service needs to know the topic, address, subscription permission and other related data provided by the collection service.

[0203] When the data collection service is migrated due to some reasons, the intelligent analysis service corresponding to the subscription related topic needs to modify the subscription address synchronously. The traditional way mainly includes the following ways:

[0204] 1: The address is hard coded, and the service needs to be upgraded and redeployed by modifying the code of the intelligent analysis service;

[0205] 2: The address is dynamically configured, and the configuration needs to be manually modified and the intelligent service needs to be reloaded.

[0206] No matter which way the above is, when the address is modified, the intelligent analysis service needs to manually modify the data subscription configuration and re-deploy and load, if there are a large number of subscription services, the same operation needs to be done for each service, so a large amount of manpower, material resources and time are needed to handle the operation, the system is delayed after being put online again, resulting in a large amount of business delay, which seriously affects the user experience.

[0207] Therefore, through the technical scheme of the embodiment of the present application, a service arrangement processing system as shown in Figure 1 is added to each service of the operation and maintenance system, and a processing method as shown in Figure 6 is adopted to further abstract and define the service, realize service management, automatically process the above problems, support flexible scheduling of the cooperative and dependent relationship between the services of the operation and maintenance system, and ensure the smooth upgrade and change of the system with the least operation.

[0208] Figure 6 The service arrangement processing interaction process of the embodiment of the present application is shown in Figure 1 ; this embodiment is a production service deployment online process, and the production service is, for example, a data collection service. As shown in Figure 6 , the method comprises:

[0209] Step 301: The service provider sends the application installation package (or service installation package) of the data acquisition service to the service resolution module of the service management platform to request the creation of the data acquisition service.

[0210] In this embodiment, the specific contents of the application installation package (or service installation package) for the data acquisition service are as follows:

[0211] service-name:data-collect

[0212] namespace:cfn

[0213] image-name:data-collect

[0214] image-url:http: / / xx.xx.xx.xx:8080 / data-collect**:tag

[0215] service-api-produced

[0216] api-name:pm_data

[0217] protocol-type:sftp

[0218] url:xx.xx.xx.xx:8080 / home / pm

[0219] username:admin

[0220] password:admin

[0221] Description: Provides a performance data interface.

[0222] api-name:cm_data

[0223] protocol-type:http

[0224] url:xx.xx.xx.xx:8080 / api / cm

[0225] Request-type:get

[0226] Description: Provides configuration data interface.

[0227] Description: Data acquisition service that provides users with the network and computing power performance and configuration information they need.

[0228] imagePullPolicy:Always

[0229] Service-enabled:true

[0230] config-expose-url:8080

[0231] Service-type:NodePort

[0232] replicaCount:1

[0233] The above information describes the deployment requirements of the data collection service of the present embodiment as follows:

[0234] Service name: data-collect;

[0235] Namespace: cfn;

[0236] Image name: data-collect;

[0237] Image address: http: / / xx.xx.xx.xx:8080 / data-collect**:tag.

[0238] The extended attribute information includes:

[0239] Image pulling strategy: Always;

[0240] Public service exposure port: 8080;

[0241] Service exposure type: NodePort;

[0242] Minimum number of service replicas: 1.

[0243] The interface information provided externally includes performance data interface and configuration data interface; wherein,

[0244] The performance data interface includes:

[0245] Interface name: pm_data;

[0246] Protocol type: sftp;

[0247] Interface address: xx.xx.xx.xx:8080 / home / pm;

[0248] Username: admin;

[0249] Password: admin.

[0250] The configuration data interface includes:

[0251] Interface name: cm_data;

[0252] Protocol Type: http;

[0253] Interface Address: xx.xx.xx.xx:8080 / home / cm;

[0254] Extended Attribute: Request Type: get.

[0255] Step 302: The service parsing module of the service management platform parses the application installation package (or also called service installation package), and obtains the interface information, service information, service deployment information and service configuration information of the data collection service.

[0256] Step 303: The service parsing module sends the interface information and the service information to the index management module, sends the interface information, the service information and the service configuration information to the service configuration module, and sends the service information and the service deployment information to the service deployment module.

[0257] Step 304: The index management module generates index management information according to the received interface information and service information of the data collection service.

[0258] In this embodiment, the index management information is in the production index dimension, and the specific content is as follows:

[0259] Production Index Information: Indicator-service-producerindicator-id: pm_data1

[0260] indicator-name: pm_data

[0261] service-id: data-collect1

[0262] service-name: data-collect

[0263] description: Performance data collection

[0264] protocol-type: sftp

[0265] url: xx.xx.xx.xx:8080 / home / pm

[0266] username: admin

[0267] password: admin

[0268] indicator-id: cm_data1

[0269] indicator-name: cm_data

[0270] service-id:data-collect1

[0271] service-name:data-collect

[0272] protocol-type:http

[0273] url:xx.xx.xx.xx:8080 / api / cm

[0274] Request-type:get

[0275] Description: Configure data collection

[0276] The above indicator management information describes the production indicator information of the data collection service in this embodiment: the data collection service data-collect includes two production indicators, performance data indicators and configuration data indicators, that is, the data collection service in this example uses performance data and configuration data to collect data; wherein, the content represented by the above indicator management information is as follows:

[0277] Production target information provided to external parties:

[0278] Performance data interfaces include:

[0279] Metric ID: pm_data1;

[0280] Metric name: pm_data;

[0281] Service ID: data-collect1;

[0282] Service name: data-collect;

[0283] Protocol type: sftp;

[0284] Interface address: xx.xx.xx.xx:8080 / home / pm;

[0285] Username: admin;

[0286] Password: admin.

[0287] The configuration data interface includes:

[0288] Metric ID: cm_data1;

[0289] Metric name: cm_data;

[0290] Service ID: data-collect1;

[0291] Service name: data-collect

[0292] Protocol type: http

[0293] Interface address: xx.xx.xx.xx:8080 / home / cm

[0294] Extended attribute: request type: get

[0295] It should be noted that, since the current service is newly added, there is no related service consumption index at present.

[0296] The above index management information is in the production index dimension; the index management module can also obtain service index information in the service index dimension according to the interface information and the service information. Specifically, the specific content of the service index information is as follows:

[0297] service-id: data-collect1

[0298] service-name: data-collect

[0299] namespace: cfn

[0300] Indicator-produced

[0301] indicator-id: pm_data1

[0302] indicator-name: pm_data

[0303] indicator-id: cm_data1

[0304] indicator-name: cm_data

[0305] The above information describes the service index information of the data collection service, including two production index information:

[0306] The data collection service data-collect contains two production indexes, performance data index and configuration data index; the content represented by the above service index information includes:

[0307] The production index information provided externally includes:

[0308] service id: data-collect1

[0309] service name: data-collect

[0310] namespace: cfn

[0311] The performance data interface includes:

[0312] Indicator id: pm_data1;

[0313] Indicator name: pm_data.

[0314] The configuration data interface includes:

[0315] Indicator id: cm_data1;

[0316] Indicator name: cm_data.

[0317] Steps 305 to 306: The service configuration module generates configuration information according to the interface information, service information and service configuration information according to the configuration specification, and sends the configuration information to the service configuration dictionary of the service running platform.

[0318] For example, the configuration information generated by the service configuration module is as follows:

[0319] service-name: data-collect

[0320] namespace: cfn

[0321] service-api-list

[0322] api-name: pm_data

[0323] protocol-type: sftp

[0324] url: xx.xx.xx.xx: 8080 / home / pm

[0325] username: admin

[0326] password: admin

[0327] description: Provide performance data interface

[0328] api-name: cm_data

[0329] protocol-type: http

[0330] url: xx.xx.xx.xx: 8080 / api / cm

[0331] Request-type: get

[0332] description: Provide configuration data interface

[0333] Description: Data collection service, providing the performance and configuration information of network and computing power required by users The above configuration information describes the configuration requirements of the data collection service of this example as follows:

[0334] Service name: data-collect

[0335] Namespace: cfn

[0336] The interface information provided externally includes: performance data interface and configuration data interface; wherein,

[0337] The performance data interface specifically includes:

[0338] Interface name: pm_data

[0339] Protocol type: sftp

[0340] Interface address: xx.xx.xx.xx:8080 / home / pm

[0341] Username: admin

[0342] Password: admin

[0343] The configuration data interface specifically includes:

[0344] Interface name: cm_data

[0345] Protocol type: http

[0346] Interface address: xx.xx.xx.xx:8080 / home / cm

[0347] Extended attribute: Request type: get

[0348] Steps 307 to 308: The service deployment module generates deployment information according to the service information and the service deployment information according to the deployment specification, sends a deployment request to the service running platform, and the deployment request includes the deployment information to call the service running platform interface to start the service.

[0349] For example, the deployment information generated by the service deployment module is as follows:

[0350] Service-name: data-collect

[0351] Namespace: cfn

[0352] Image-name: data-collect

[0353] image-url: http: / / xx.xx.xx.xx:8080 / data-collect**:tag

[0354] description: Data collection service, providing the performance and configuration information of network and computing power required by users

[0355] imagePullPolicy: Always

[0356] Service-enabled: true

[0357] config-expose-url: 8080

[0358] Service-type: NodePort

[0359] replicaCount: 1

[0360] The above deployment information describes the deployment requirements of the data collection service of the embodiment as follows:

[0361] Service name: data-collect

[0362] Namespace: cfn

[0363] Image name: data-collect

[0364] Image address: http: / / xx.xx.xx.xx:8080 / data-collect**:tag

[0365] The extended attribute information includes:

[0366] Image pulling strategy: Always

[0367] Exposed service port: 8080

[0368] Service exposure type: NodePort

[0369] Minimum number of service replicas: 1

[0370] Step 309: Based on the received deployment information and the configuration information of the service configuration dictionary, the service running platform creates and starts the application, realizes the associated scheduling of the application, and feeds back a response indicating that the application creation is successful to the service deployment module in the service management platform, and the service deployment module replies to the index management module that the application creation is successful.

[0371] Figure 7 Interaction flow diagram of service orchestration processing of the embodiment of the application Figure 2The embodiment is a consumer service deployment online process, and the consumer service is, for example, an intelligent analysis service. Figure 7 The method comprises the following steps:

[0372] Step 401: The service provider sends an application installation package (or also referred to as a service installation package) of the intelligent analysis service to a service analysis module of the service management platform to request creation of the intelligent analysis service.

[0373] In the embodiment, the application installation package (or also referred to as the service installation package) of the intelligent analysis service has the following specific content:

[0374] service-name: intelligent-1

[0375] namespace: cfn

[0376] image-name: intelligent-1

[0377] image-url: http: / / xx.xx.xx.xx:8080 / intelligent1**:tag

[0378] service-api-consumed

[0379] api-name: pm_data

[0380] protocol-type: sftp

[0381] url: xx.xx.xx.xx:8080 / home / pm

[0382] username: admin

[0383] password: admin

[0384] description: Get performance data interface

[0385] api-name: cm_data

[0386] protocol-type: http

[0387] url: xx.xx.xx.xx:8080 / api / cm

[0388] Request-type: get

[0389] description: Get configuration data interface

[0390] Data collection service, providing the performance and configuration information of network and computing power required by the user

[0391] imagePullPolicy: Always

[0392] replicaCount: 1

[0393] The above information describes the deployment requirements of the intelligent analysis service of the present embodiment as follows:

[0394] Service name: intelligent-1;

[0395] Namespace: cfn;

[0396] Image name: intelligent-1;

[0397] Image address: http: / / xx.xx.xx.xx:8080 / intelligent-1**:tag;

[0398] The extended attribute information includes:

[0399] Image pull policy: Always;

[0400] Minimum service replica number: 1;

[0401] The consumed interface information includes: performance data interface and configuration data interface; wherein,

[0402] The performance data interface includes:

[0403] Interface name: pm_data;

[0404] Protocol type: sftp;

[0405] Interface address: xx.xx.xx.xx:8080 / home / pm;

[0406] Username: admin;

[0407] Password: admin.

[0408] The configuration data interface includes:

[0409] Interface name: cm_data;

[0410] Protocol type: http;

[0411] Interface address: xx.xx.xx.xx:8080 / home / cm;

[0412] Extended attribute: request type: get.

[0413] Step 402: The service resolution module of the service management platform resolves the application installation package (or also referred to as service installation package), and obtains interface information, service information, service deployment information and service configuration information of service consumption of the intelligent analysis service.

[0414] Step 403: The service resolution module sends the interface information and the service information to the index management module, sends the interface information, the service information and the service configuration information to the service configuration module, and sends the service information and the service deployment information to the service deployment module.

[0415] Step 404: The index management module generates index management information according to the received interface information and service information of the intelligent analysis service.

[0416] In this embodiment, the index management information is in the consumption index dimension, and the production index is not provided. The consumption index dimension has the following specific content:

[0417] Indicator-service-consumer

[0418] indicator-id:pm_data1

[0419] indicator-name:pm_data

[0420] service-id-list

[0421] service-id:intelligent-1

[0422] service-name:intelligent-1

[0423] indicator-id:cm_data1

[0424] indicator-name:cm_data

[0425] service-id-list

[0426] service-id:intelligent-1

[0427] service-name:intelligent-1

[0428] The above index management information represents the index information of the intelligent analysis service in this embodiment, including the consumed index information. The content represented by the above information is that the intelligent analysis service intelligent-1 consumes two production indexes: performance data index and configuration data index, and specifically includes:

[0429] The consumption index information includes:

[0430] Indicator id: pm_data1

[0431] Indicator name: pm_data

[0432] The service list of the consumption index: service id: intelligent-1; service name: intelligent-1

[0433] Indicator id: cm_data1

[0434] Indicator name: cm_data

[0435] The service list of the consumption index: service id: intelligent-1; service name: intelligent-1

[0436] The above index management information is in the consumption index dimension; the index management module can also obtain service index information in the service index dimension according to the interface information and the service information. Specifically, the specific content of the service index information is as follows:

[0437] service-id: intelligent-1

[0438] service-name: intelligent-1

[0439] namespace: cfn

[0440] Indicator-consumed

[0441] indicator-id: pm_data1

[0442] indicator-name: pm_data

[0443] indicator-id: cm_data1

[0444] indicator-name: cm_data

[0445] The above information indicates that the intelligent analysis service intelligent-1 consumes two production indexes, the performance data index and the configuration data index of the data collection service; the content indicated by the above service index information includes:

[0446] The consumption index information includes:

[0447] service id: intelligent-1

[0448] Service Name: intelligent-1

[0449] The performance data interface includes:

[0450] Indicator ID: pm_data1;

[0451] Indicator Name: pm_data;

[0452] The configuration data interface includes:

[0453] Indicator ID: cm_data1;

[0454] Indicator Name: cm_data.

[0455] Steps 405 to 406: The service configuration module generates configuration information according to the interface information, service information and service configuration information according to the configuration specification, and sends the configuration information to the service configuration dictionary of the service running platform.

[0456] Steps 407 to 408: The service information and service deployment information generate deployment information according to the deployment specification, send a deployment request to the service running platform, and the deployment request includes the deployment information to call the service running platform interface to start the service.

[0457] For example, the content of the deployment information generated by the service deployment module is as follows:

[0458] service-name: intelligent-1

[0459] namespace: cfn

[0460] image-name: intelligent-1

[0461] image-url: http: / / xx.xx.xx.xx:8080 / intelligent-1**:tag

[0462] description: intelligent analysis service

[0463] imagePullPolicy: Always

[0464] replicaCount: 1

[0465] The above deployment information describes the deployment requirements of the intelligent analysis service of the embodiment as follows:

[0466] Service Name: intelligent-1;

[0467] Namespace: cfn;

[0468] Mirror name: intelligent-1;

[0469] Mirror address: http: / / xx.xx.xx.xx:8080 / intelligent-1**:tag;

[0470] Extended attribute information includes:

[0471] Mirror pulling strategy: Always;

[0472] Minimum service replica number: 1.

[0473] Step 409: Based on the received deployment information and the configuration information of the service configuration dictionary, the service running platform creates and starts the application, associates the service information, performs scheduling, and feeds back a response indicating that the application creation is successful to the service deployment module in the service management platform. The service deployment module replies to the indicator management module that the application creation is successful.

[0474] Figure 8 The third is an interaction flowchart of the service orchestration process of the embodiment of the application. In this embodiment, the interface provided by the data collection service changes, resulting in the need to adapt and change the associated services. Through this embodiment, automatic dynamic changes of the associated services of the data collection service are realized. The execution premise of this embodiment is that the data collection service and the associated intelligent analysis services have been deployed and run according to the processes shown in Figure 6 and Figure 7 The data collection service and the associated intelligent analysis services have been deployed and run, and currently one data collection service and one intelligent analysis service are deployed, as shown in Figure 8 The method includes the following steps:

[0475] Step 501: The service provider sends an application installation package (or also referred to as a service installation package) containing the data collection service interface change requirement to the service analysis module of the service management platform to request to change the interface configuration.

[0476] In this embodiment, the specific content of the application installation package (or also referred to as the service installation package) is as follows:

[0477] service-name: data-collect

[0478] namespace: cfn

[0479] image-name: data-collect

[0480] image-url: http: / / xx.xx.xx.xx:8080 / data-collect**:tag

[0481] service-api-produced

[0482] api-name:pm_data

[0483] protocol-type:sftp

[0484] url:xx.xx.xx.xx:8081 / home / pm

[0485] username:admin

[0486] password:admin

[0487] Description: Provides a performance data interface.

[0488] api-name:cm_data

[0489] protocol-type:http

[0490] url:xx.xx.xx.xx:8081 / api / cm

[0491] Request-type:get

[0492] Description: Provides configuration data interface.

[0493] Description: Data acquisition service that provides users with the network and computing power performance and configuration information they need.

[0494] imagePullPolicy:Always

[0495] Service-enabled:true

[0496] config-expose-url:8081

[0497] Service-type:NodePort

[0498] replicaCount:1

[0499] The above information describes the change requirements for the data acquisition service in this embodiment as follows:

[0500] Service name: data-collect;

[0501] Namespace: cfn;

[0502] Image name: data-collect;

[0503] Mirror address: http: / / xx.xx.xx.xx:8080 / data-collect**:tag;

[0504] Extended attribute information includes:

[0505] Mirror pulling strategy: Always;

[0506] Public service port: 8081;

[0507] Service exposure type: NodePort;

[0508] Minimum service replica number: 1;

[0509] The interface information provided externally includes performance data interface and configuration data interface, wherein,

[0510] The performance data interface includes:

[0511] Interface name: pm_data;

[0512] Protocol type: sftp;

[0513] Interface address: xx.xx.xx.xx:8081 / home / pm;

[0514] Username: admin;

[0515] Password: admin;

[0516] The configuration data interface includes:

[0517] Interface name: cm_data;

[0518] Protocol type: http;

[0519] Interface address: xx.xx.xx.xx:8081 / home / cm;

[0520] Extended attribute: request type: get.

[0521] Step 502: The service parsing module of the service management platform applies an installation package (or also referred to as a service installation package) to obtain the interface information, service information, service deployment information and service configuration information of the data collection service.

[0522] Step 503: The service parsing module sends the interface information and the service information to the index management module, sends the interface information, the service information and the service configuration information to the service configuration module, and sends the service information and the service deployment information to the service deployment module.

[0523] Step 504: The indicator management module queries the indicator management information according to the received service information of the data collection service, judges whether there is associated indicator management information, if there is associated indicator management information, updates the indicator management information based on the interface information, if there is no associated indicator management information, generates the indicator management information based on the service information and the interface information.

[0524] In this embodiment, there is indicator management information associated with the service information, and the interface address of the data collection service provided to the outside according to the change requirement is changed, therefore, only the production indicator information is changed. Other relationships remain unchanged.

[0525] For example, the specific content of the change information is as follows:

[0526] Indicator-service-producer

[0527] indicator-id:pm_data1

[0528] indicator-name:pm_data

[0529] service-id:data-collect1

[0530] service-name:data-collect

[0531] description:performance data collection

[0532] protocol-type:sftp

[0533] url:xx.xx.xx.xx:8081 / home / pm

[0534] username:admin

[0535] password:admin

[0536] indicator-id:cm_data1

[0537] indicator-name:cm_data

[0538] service-id:data-collect1

[0539] service-name:data-collect

[0540] protocol-type:http

[0541] url: xx.xx.xx.xx:8081 / api / cm

[0542] Request-type: get

[0543] description: configuration data collection

[0544] The above index management information represents the production index information of the data collection service of the embodiment: the data collection service data-collect contains two production indexes: performance data index and configuration data index; the content represented by the above index management information is as follows:

[0545] Production index information provided externally:

[0546] The performance data interface includes:

[0547] Index id: pm_data1;

[0548] Index name: pm_data;

[0549] Service id: data-collect1;

[0550] Service name: data-collect;

[0551] Protocol type: sftp;

[0552] Interface address: xx.xx.xx.xx:8081 / home / pm;

[0553] Username: admin;

[0554] Password: admin;

[0555] The configuration data interface includes:

[0556] Index id: cm_data1;

[0557] Index name: cm_data;

[0558] Service id: data-collect1;

[0559] Service name: data-collect;

[0560] Protocol type: http;

[0561] Interface address: xx.xx.xx.xx:8081 / home / cm;

[0562] Extended attribute: request type: get.

[0563] In the dimension of the consumption indicator: consumption indicator information: the current instance is not changed. The specific content can include:

[0564] indicator-id:pm_data1

[0565] indicator-name:pm_data

[0566] service-id-list

[0567] service-id:intelligent-1

[0568] service-name:intelligent-1

[0569] indicator-id:cm_data1

[0570] indicator-name:cm_data

[0571] service-id-list

[0572] service-id:intelligent-1

[0573] service-name:intelligent-1

[0574] The above information represents the indicator information of the intelligent analysis service, including the consumption indicator information. The content represented by the above information is that the intelligent analysis service intelligent-1 consumes two production indicators, performance data indicators and configuration data indicators, which specifically include:

[0575] The consumption indicator information includes:

[0576] indicator id: pm_data1;

[0577] indicator name: pm_data;

[0578] service list of the consumption indicator: service id: intelligent-1; service name: intelligent-1;

[0579] indicator id: cm_data1;

[0580] indicator name: cm_data;

[0581] service list of the consumption indicator: service id: intelligent-1; service name: intelligent-1.

[0582] Similarly, according to the interface information and the service information, service indicator information in the dimension of service indicators can also be obtained. In the embodiment, the service indicator information in the current instance is not changed, and the specific content is as follows:

[0583] service-id:data-collect1

[0584] service-name:data-collect

[0585] namespace:cfn

[0586] Indicator-produced

[0587] indicator-id:pm_data1

[0588] indicator-name:pm_data

[0589] indicator-id:cm_data1

[0590] indicator-name:cm_data

[0591] The above information describes the indicator information of the data collection service, including two produced indicator information: the data collection service data-collect includes two produced indicators, a performance data indicator and a configuration data indicator:

[0592] The produced indicator information provided to the outside includes:

[0593] service id: data-collect1;

[0594] service name: data-collect;

[0595] The performance data interface includes:

[0596] indicator id: pm_data1;

[0597] indicator name: pm_data;

[0598] The configuration data interface includes:

[0599] indicator id: cm_data1;

[0600] indicator name: cm_data.

[0601] Steps 505 to 506: The service configuration module generates configuration information according to the interface information, the service information and the service configuration information according to the configuration specification, and sends the configuration information to the service configuration dictionary of the service running platform.

[0602] In this embodiment, the configuration information generated by the service configuration module is as follows:

[0603] service-name:data-collect

[0604] namespace:cfn

[0605] service-api-list

[0606] api-name:pm_data

[0607] protocol-type:sftp

[0608] url:xx.xx.xx.xx:8081 / home / pm

[0609] username:admin

[0610] password:admin

[0611] Description: Provides a performance data interface.

[0612] api-name:cm_data

[0613] protocol-type:http

[0614] url:xx.xx.xx.xx:8081 / api / cm

[0615] Request-type:get

[0616] Description: Provides configuration data interface.

[0617] Description: Data acquisition service, providing users with the network and computing power performance and configuration information they need. The above information describes the deployment requirements of the data acquisition service in this example:

[0618] Service name: data-collect;

[0619] Namespace: cfn;

[0620] The externally provided interface information includes: performance data interface and configuration data interface;

[0621] Performance data interfaces include:

[0622] Interface name: pm_data;

[0623] Protocol type: sftp;

[0624] Interface address: xx.xx.xx.xx:8081 / home / pm;

[0625] Username: admin;

[0626] Password: admin;

[0627] The configuration data interface includes:

[0628] Interface name: cm_data;

[0629] Protocol type: http;

[0630] Interface address: xx.xx.xx.xx:8081 / home / cm;

[0631] Extended attribute: request type: get.

[0632] Steps 507 to 508: The service information and the service deployment information generate deployment information according to the deployment specification, and send a deployment request to the service running platform, wherein the deployment request includes the deployment information, so as to call the service running platform interface to start the service.

[0633] For example, the content of the deployment information generated by the service deployment module is as follows:

[0634] service-name: data-collect

[0635] namespace: cfn

[0636] image-name: data-collect

[0637] image-url: http: / / xx.xx.xx.xx:8080 / data-collect**:tag

[0638] description: Data collection service, providing performance and configuration information of network and computing power required by users

[0639] imagePullPolicy: Always

[0640] Service-enabled: true

[0641] config-expose-url: 8081

[0642] Service-type: NodePort

[0643] replicaCount: 1

[0644] The above deployment information describes the deployment requirement of the data collection service of the embodiment as follows:

[0645] Service name: data-collect;

[0646] Namespace: cfn;

[0647] Image name: data-collect;

[0648] Image address: http: / / xx.xx.xx.xx:8080 / data-collect**:tag;

[0649] The extended attribute information includes:

[0650] Image pulling strategy: Always;

[0651] Public service port: 8081;

[0652] Service exposure type: NodePort;

[0653] Minimum service replica number: 1.

[0654] Step 509: The service running platform receives the deployment information and the configuration information of the service configuration dictionary, reconstructs the data collection service, and realizes application association scheduling. The service running platform feeds back a response indicating that the application is created successfully to the service deployment module in the service management platform, and the service deployment module replies to the index management module that the application is created successfully.

[0655] Step 510: After the data collection service is deployed, the service running platform replies to the service deployment module in the service management platform that the deployment is completed, and the service deployment module notifies the index management module that the data collection service change is completed.

[0656] Step 511: The index management module finds the production index of the data collection service according to the changed index management information, finds the corresponding consumer service according to the production index, generates a deployment change request, and sends a service restart request to the service deployment module. The service restart request includes the service deployment information corresponding to the consumer service.

[0657] Step 512: The service deployment module generates a restart request configuration according to the service restart request, sends a deployment change request to the service running platform, and restarts the consumer service associated with the production index in sequence, so as to realize smooth automatic change of all services.

[0658] Based on the above embodiment, the embodiment of the application further provides a service orchestration processing device, which is applied to a service management platform. Figure 9Composition structure of service arrangement processing device for embodiment of the application Figure 1 ; as shown in the figure, the device comprises a service analysis module 11, an index management module 12, a service deployment module 13 and a service configuration module 14; wherein, Figure 9

[0659] The service analysis module 11 is configured to obtain an application installation file, wherein the application installation file is used to request deployment of a service or request redeployment of a service; the application installation file comprises at least an association relationship between services, interface information corresponding to the services, information related to service deployment and information related to service configuration; the application installation file is parsed to obtain service information, interface information, service deployment information and service configuration information; the interface information comprises interface-related information provided by the services and interface-related information consumed by the services;

[0660] The index management module 12 is configured to generate first index management information based on the service information and the interface information; the first index management information comprises at least an association relationship between interfaces and services; the index management module 12 is further configured to generate first information according to the first index management information; the service deployment module and the service configuration module are configured to send the first information to a service running platform, so that the service running platform redeploys services associated with the services according to the first information;

[0661] The service deployment module 13 is configured to generate first deployment information based on the service information and the service deployment information, and send the first deployment information to the service running platform;

[0662] The service configuration module 14 is configured to generate first configuration information based on the service information, the interface information and the service configuration information, and send the first configuration information to the service running platform, so that the service running platform deploys or redeploys services according to the first deployment information and the first configuration information.

[0663] In some optional embodiments of the application, the services comprise production services for data collection and consumption services; the consumption services consume data collected by the production services;

[0664] The first index management information comprises an association relationship between the consumption services and at least one index information associated therewith, wherein the index information represents service interface information provided by the production services.

[0665] In some optional embodiments of the application, the index management module 12 is configured to, when the application installation file is used to request redeployment of a production service, determine, based on the service information, that first index management information associated with the production service already exists, and update index information of the first index management information based on the interface information. ​

[0666] In some optional embodiments of the present application, the service deployment module 13 is configured to send a first deployment request to the service running platform, the first deployment request including first deployment information for deploying or redeploying a service; and receive a first deployment request response sent by the service running platform, the first deployment request response indicating that the service is deployed or redeployed.

[0667] The service configuration module 14 is configured to send a first configuration request to the service running platform, the first configuration request including first configuration information for configuring or reconfiguring the service, so that the service running platform deploys or redeploys the service according to the first deployment information and the first configuration information.

[0668] In some optional embodiments of the present application, the application installation file is configured to request to redeploy a production service; the index management module 12 is configured to determine at least one index corresponding to the production service based on the first index management information, determine a consumption service associated with the production service based on the at least one index; and send a redeployment request for redeploying the consumption service to the service deployment module 13, and send a reconfiguration request for reconfiguring the consumption service to the service configuration module; the reconfiguration request including at least one index associated with the consumption service.

[0669] The service deployment module 13 is further configured to generate second deployment information based on the redeployment request, send a second deployment request to the service running platform, the second deployment request including the second deployment information; and receive a second deployment request response sent by the service running platform, the second deployment request response indicating that the consumption service is redeployed.

[0670] The service configuration module 14 is further configured to generate second configuration information based on the reconfiguration request, send a second configuration request to the service running platform, the second configuration request including the second configuration information, so that the service running platform redeploys the consumption service according to the second deployment information and the second configuration information.

[0671] In some optional embodiments of the present application, the application installation file includes a first abstract template; the first abstract template includes: service related information, interface information corresponding to the service, information related to service deployment, and information related to service configuration; wherein,

[0672] The service related information at least includes: service name, namespace of a project where the service is located, service image name, and service description information.

[0673] The interface information corresponding to the service at least includes: interface information provided by the service to the outside and interface information consumed by the service.

[0674] The information related to the service deployment includes: a service image version and an address of the service image.

[0675] The information related to the service configuration includes: environment configuration information and a number of copies of the service.

[0676] In some optional embodiments of the application, the application installation file further includes a second abstract template; the second abstract template at least includes: service related information, production service indication information used for describing an association relationship between an index and a service corresponding to the index, consumption service indication information used for describing an association relationship between an index and a service consuming the index, index type information, production indication information used for describing an index provided by a service, and consumption indication information used for describing an index consumed by a service.

[0677] In the embodiments of the application, the service analysis module 11, the index management module 12, the service deployment module 13 and the service configuration module 14 in the device can be implemented by a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU) or a field-programmable gate array (FPGA) in actual application.

[0678] The embodiments of the application further provide a service arrangement processing device. Figure 10 The service arrangement processing device is used for service arrangement processing. Figure 2 As shown in FIG. 1, the device includes a service configuration dictionary module 21 and a processing module 22. Figure 10 The service configuration dictionary module 21 is used for receiving first configuration information corresponding to a service sent by a service management platform.

[0679] The processing module 22 is used for receiving first deployment information corresponding to the service sent by the service management platform, deploying or redeploying the service based on the first deployment information and the first configuration information in the service configuration dictionary module, and further receiving first information sent by the service management platform.

[0680] The processing module 22 is used for receiving first deployment information corresponding to the service sent by the service management platform, deploying or redeploying the service based on the first deployment information and the first configuration information in the service configuration dictionary module, and further receiving first information sent by the service management platform.

[0681] The first deployment information is generated by the service management platform according to service information and service deployment demand information obtained by analyzing an application installation file, the first configuration information is generated by the service management platform according to service information, interface information and service configuration information obtained by analyzing the application installation file, the interface information includes interface related information provided by the service and interface related information consumed by the service, and the first information is generated by the service management platform according to first index management information, and the first index management information is generated based on the service information and the interface information.

[0682] In some optional embodiments of the present application, the service includes a production service for data collection and a consumption service;

[0683] The processing module 22 is configured to, when the service is a consumption service, deploy the consumption service based on the first deployment information, acquire interface configuration information corresponding to the consumption service based on the first configuration information, and associate the consumption service and an interface provided by a production service consumed by the consumption service based on the interface configuration information, so as to associate and schedule the consumption service and the production service.

[0684] In some optional embodiments of the present application, the service includes a production service for data collection and a consumption service;

[0685] When the service is a production service, the service configuration dictionary module 21 is configured to receive a first configuration request sent by the service management platform, and the first configuration request includes first configuration information for reconfiguring the production service.

[0686] The processing module 22 is configured to receive a first deployment request sent by the service management platform, the first deployment request includes first deployment information for redeploying the production service, redeploy the production service based on the first deployment information and the first configuration information in the service configuration dictionary module 21, and send a first deployment request response to the service management platform, the first deployment request response indicating that the production service is redeployed.

[0687] In some optional embodiments of the present application, the service associated with the service is a consumption service associated with the production service, the service configuration dictionary module 21 is configured to receive a second configuration request sent by the service management platform, the second configuration request includes second configuration information for reconfiguring the consumption service, and the consumption service consumes data collected by the production service.

[0688] The processing module 22 is configured to receive a second deployment request sent by the service management platform, the second deployment request comprising second deployment information for re-deploying the consumer service; re-create the consumer service based on the second deployment information, and obtain interface configuration information corresponding to the consumer service based on the second configuration information in the service configuration dictionary module 21, re-associate the interfaces provided by the consumer service and the producer service based on the interface configuration information, and re-associate and schedule the consumer service and the producer service; and further configured to send a second deployment request response to the service management platform, the second deployment request response indicating that the re-deployment of the consumer service is completed.

[0689] In some optional embodiments of the present application, the service configuration dictionary module 21 is further configured to replace the configuration information associated with the producer service with the first configuration information when the configuration information associated with the producer service already exists, and / or replace the configuration information associated with the consumer service with the second configuration information when the configuration information associated with the consumer service already exists.

[0690] In the embodiments of the present application, the service configuration dictionary module 21 and the processing module 22 in the device can be implemented by a CPU, a DSP, an MCU or an FPGA in actual application.

[0691] It should be noted that the service orchestration processing device provided in the above embodiments is only exemplified by the division of the above program modules when performing service orchestration processing, and in actual application, the above processing can be completed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the service orchestration processing device and the service orchestration processing method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.

[0692] The embodiments of the present application further provide a service orchestration processing device, which is a service management platform or a service running platform. Figure 11 The hardware component structure of the service orchestration processing device of the embodiments of the present application is shown in FIG. 2. Figure 11 As shown in FIG. 2, the service orchestration processing device comprises a memory 32, a processor 31 and a computer program stored in the memory 32 and executable on the processor 31, and the processor 31 implements the steps of the service orchestration processing method applied to the service management platform or the service running platform of the embodiments of the present application when executing the program.

[0693] Optionally, the service orchestration processing device can also include at least one network interface 33. In this regard, various components of the service orchestration processing device are coupled together by a bus system 34. It will be appreciated that the bus system 34 is for implementing communication between the components. The bus system 34 includes a data bus, a power bus, a control bus, and a state signal bus for communicating data, power, control, and status information, respectively. However, for the sake of clarity, only the data bus is shown in Figure 11 FIG. 3, with the understanding that the other buses are also part of the bus system 34.

[0694] It can be appreciated that the memory 32 can be a volatile memory or a non-volatile memory, and can also include both a volatile memory and a non-volatile memory. The non-volatile memory can be a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Ferromagnetic Random Access Memory (FRAM), a Flash Memory, a magnetic surface memory, an optical disc, or a Compact Disc Read-Only Memory (CD-ROM). The magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a Random Access Memory (RAM) used as an external cache. By way of example and not limitation, many forms of RAM can be used, such as a Static Random Access Memory (SRAM), a Synchronous Static Random Access Memory (SSRAM), a Dynamic Random Access Memory (DRAM), a Synchronous Dynamic Random Access Memory (SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM), an Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), a Sync Link Dynamic Random Access Memory (SLDRAM), a Direct Rambus Random Access Memory (DRRAM).The memory 32 described in the embodiments of the present application is intended to include, but not limited to, these and any other suitable types of memory.

[0695] The method disclosed in the embodiments of the present application can be applied to the processor 31 or implemented by the processor 31. The processor 31 can be an integrated circuit chip having a processing capability of signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor 31 or the instruction in the form of software. The processor 31 described above can be a general processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The processor 31 can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the execution can be directly completed by the hardware decoding processor or by the combination of hardware and software modules in the decoding processor. The software module can be located in the storage medium, which is located in the memory 32. The processor 31 reads the information in the memory 32 and combines the hardware to complete the steps of the above method.

[0696] In the exemplary embodiments, the service orchestration processing device can be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), FPGAs, general-purpose processors, controllers, MCUs, microprocessors (Microprocessors), or other electronic elements, for executing the above-mentioned methods.

[0697] In the exemplary embodiments, the embodiments of the present application also provide a computer readable storage medium, such as the memory 32 including a computer program, which can be executed by the processor 31 of the service orchestration processing device to complete the steps of the above-mentioned method. The computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM, etc. The computer readable storage medium can also be various devices including one or any combination of the above-mentioned memories.

[0698] The computer readable storage medium provided by the embodiments of the present application has a computer program stored thereon, which is executed by the processor to implement the steps of the service orchestration processing method applied to the service management platform or the service running platform according to the embodiments of the present application.

[0699] The embodiment of the present application further provides a computer program product comprising a computer program, which can be executed by a service orchestration processing device (such as a processor 31 of the service orchestration processing device) to complete the steps of any of the preceding data packet mapping methods.

[0700] The methods disclosed in the several method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.

[0701] The features disclosed in the several product embodiments provided by the present application can be combined arbitrarily without conflict to obtain new product embodiments.

[0702] The features disclosed in the several method or device embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.

[0703] In the several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. There can be another division manner in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the various components shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.

[0704] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0705] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be realized in the form of hardware or in the form of hardware plus software functional unit.

[0706] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware, and the foregoing program can be stored in a computer readable storage medium, and the program is executed to execute the steps of the above-mentioned method embodiments; and the foregoing storage medium includes mobile storage equipment, ROM, RAM, magnetic disc or optical disc and various storage program codes.

[0707] Alternatively, the above-mentioned integrated unit of the present application, if realized in the form of a software function module and sold or used as an independent product, can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: mobile storage devices, ROM, RAM, magnetic disks or optical disks, and various media that can store program codes.

[0708] The above describes only the specific implementation of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A service orchestration processing method, characterized in that, The method includes: The service management platform obtains the application installation file, which is used to request service deployment or service redeployment; the application installation file includes at least the association between services, the interface information corresponding to the service, information related to service deployment, and information related to service configuration; The service management platform parses the application installation file to obtain service information, interface information, service deployment information, and service configuration information; the interface information includes information related to the interfaces provided by the service and information related to the interfaces consumed by the service. The service management platform generates first configuration information based on service information, interface information, and service configuration information; generates first deployment information based on service information and service deployment information; and generates or updates first indicator management information based on service information and interface information. The first indicator management information includes at least the relationship between interfaces and services. The service management platform sends the first deployment information and the first configuration information to the service operation platform, so that the service operation platform can deploy or redeploy the service according to the first deployment information and the first configuration information, and sends the first information to the service operation platform according to the first indicator management information, so that the service operation platform can redeploy the service associated with the service according to the first information.

2. The method according to claim 1, characterized in that, The service includes a production service for data collection and a consumption service; the consumption service consumes the data collected by the production service. The first indicator management information includes the association between consumer services and at least one associated indicator information, wherein the indicator information represents the service interface information provided by the production service.

3. The method according to claim 2, characterized in that, When the application installation file requests a redeployment of production services, the update of the first indicator management information based on service information and interface information includes: When the service management platform determines, based on the service information, that first indicator management information already exists that is associated with the production service, it updates the indicator information of the first indicator management information based on the interface information.

4. The method according to claim 1, characterized in that, The service management platform sends the deployment information and the configuration information to the service operation platform, respectively, so that the service operation platform can deploy or redeploy the service according to the deployment information and the configuration information, including: The service management platform sends a first deployment request and a first configuration request to the service operation platform, respectively. The first deployment request includes first deployment information for deploying or redeploying the service, and the first configuration request includes first configuration information for configuring or reconfiguring the service, so that the service operation platform deploys or redeploys the service according to the first deployment information and the first configuration information. The service management platform receives a first deployment request response from the service operation platform, the first deployment request response indicating that the service deployment or redeployment is complete.

5. The method according to claim 1, characterized in that, The application installation file is used to request the redeployment of production services; the step of sending first information to the service operation platform according to the first indicator management information, so that the service operation platform redeploys services associated with the service according to the first information, includes: The service management platform determines at least one indicator corresponding to the production service based on the first indicator management information, and determines the consumption service associated with the production service based on the at least one indicator. The service management platform generates second deployment information and second configuration information based on the first indicator management information. The second deployment information is used to redeploy the consumption service, and the second configuration information is used to reconfigure the consumption service. The service management platform sends a second deployment request and a second configuration request to the service operation platform, respectively. The second deployment request includes the second deployment information, and the second configuration request includes the second configuration information, so that the service operation platform redeploys the consumption service according to the second deployment information and the second configuration information. The service management platform receives a second deployment request response from the service operation platform, the second deployment request response indicating that the consumer service has been redeployed.

6. The method according to claim 1, characterized in that, The application installation file includes a first abstract template; The first abstract template includes: service-related information, interface information corresponding to the service, information related to service deployment, and information related to service configuration; wherein, The service-related information includes at least: service name, namespace of the project where the service is located, service image name, and service description information; The interface information corresponding to the service includes at least: the interface information provided by the service to the outside world and the interface information consumed by the service; The information related to service deployment includes: the service image version and the address of the service image; The information related to service configuration includes: environment configuration information and the number of copies of the service.

7. The method according to claim 6, characterized in that, The application installation file also includes a second abstract template; The second abstract template includes at least: service-related information, production service instruction information describing the relationship between indicators and the corresponding services, consumption service instruction information describing the relationship between indicators and the services that consume those indicators, indicator type information, production instruction information describing the indicators provided by the service to the outside world, and consumption instruction information describing the indicators consumed by the service.

8. A service orchestration processing method, characterized in that, The method includes: The service operation platform receives the first deployment information and the first configuration information corresponding to the service sent by the service management platform, and also receives the first information sent by the service management platform; The service operation platform deploys or redeploys the service based on the first deployment information and the first configuration information, and redeploys services associated with the service according to the first information; Wherein, the first deployment information is generated by the service management platform based on the service information and service deployment requirement information obtained by parsing the application installation file; the first configuration information is generated by the service management platform based on the service information, interface information and service configuration information obtained by parsing the application installation file; the interface information includes interface-related information provided by the service to the outside world and interface-related information consumed by the service; the first information is generated by the service management platform based on the first indicator management information, which is generated based on the service information and the interface information.

9. The method according to claim 8, characterized in that, The service includes a production service for data collection and a consumption service; the consumption service consumes the data collected by the production service. When the service is a consumer service, the service operation platform deploys the service based on the first deployment information and the first configuration information, including: The service operation platform deploys the consumption service based on the first deployment information, obtains the interface configuration information corresponding to the consumption service based on the first configuration information, and associates the interface provided by the consumption service and the production service consumed by the consumption service based on the interface configuration information, so as to associate and schedule the consumption service and the production service.

10. The method according to claim 8, characterized in that, The service includes a production service for data collection and a consumption service; the consumption service consumes the data collected by the production service. When the service is a production service, the service operation platform redeploys the service based on the deployment information and the configuration information, including: The service operation platform receives a first deployment request and a first configuration request sent by the service management platform. The first deployment request includes first deployment information for redeploying the production service, and the first configuration request includes first configuration information for reconfiguring the production service. The service operation platform recreates the production service based on the first deployment information and the first configuration information, and sends a first deployment request response to the service management platform. The first deployment request response indicates that the redeployment of the production service is complete.

11. The method according to claim 10, characterized in that, The service associated with the service is a consumption service associated with the production service; the step of redeploying the service associated with the service based on the first information includes: The service operation platform receives a second deployment request and a second configuration request sent by the service management platform. The second deployment request includes second deployment information for redeploying the consumption service, and the second configuration request includes second configuration information for reconfiguring the consumption service. The consumption service consumes the data collected by the production service. The service operation platform recreates the consumer service based on the second deployment information, obtains the interface configuration information corresponding to the consumer service based on the second configuration information, and re-associates the interfaces provided by the consumer service and the production service based on the interface configuration information, so as to re-associate and schedule the consumer service and the production service. The service operation platform sends a second deployment request response to the service management platform, the second deployment request response indicating that the consumer service has been redeployed.

12. The method according to claim 11, characterized in that, The method further includes: When the service operation platform determines that configuration information associated with the production service already exists, it replaces the configuration information with the first configuration information; and / or, When the service operation platform determines that configuration information associated with the consumption service already exists, it replaces the configuration information with the second configuration information.

13. A service orchestration processing apparatus, characterized in that, The device is applied to a service management platform and includes a service parsing module, an indicator management module, a service deployment module, and a service configuration module; wherein... The service parsing module is used to obtain the application installation file, which is used to request service deployment or service redeployment. The application installation file includes at least the association between services, the interface information corresponding to the service, information related to service deployment, and information related to service configuration. The module parses the application installation file to obtain service information, interface information, service deployment information, and service configuration information. The interface information includes information related to the interfaces provided by the service and information related to the interfaces consumed by the service. The indicator management module is used to generate first indicator management information based on service information and interface information; the first indicator management information includes at least the association between interfaces and services; it is also used to generate first information based on the first indicator management information; and send the first information to the service operation platform through the service deployment module and the service configuration module, so that the service operation platform redeploys the services associated with the service based on the first information. The service deployment module is used to generate first deployment information based on service information and service deployment information, and send the first deployment information to the service operation platform. The service configuration module is used to generate first configuration information based on service information, interface information, and service configuration information, and send the first configuration information to the service operation platform so that the service operation platform can deploy or redeploy the service according to the first deployment information and the first configuration information.

14. A service orchestration processing apparatus, characterized in that, The device is applied to a service operation platform, and includes a service configuration dictionary module and a processing module; wherein... The service configuration dictionary module is used to receive the first configuration information corresponding to the service sent by the service management platform; The processing module is configured to receive first deployment information corresponding to a service sent by the service management platform, and deploy or redeploy the service based on the first deployment information and the first configuration information in the service configuration dictionary module; it is also configured to receive first information sent by the service management platform. Wherein, the first deployment information is generated by the service management platform based on the service information and service deployment requirement information obtained by parsing the application installation file; the first configuration information is generated by the service management platform based on the service information, interface information and service configuration information obtained by parsing the application installation file; the interface information includes interface-related information provided by the service to the outside world and interface-related information consumed by the service; the first information is generated by the service management platform based on the first indicator management information, which is generated based on the service information and the interface information.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the method according to any one of claims 1 to 7; or... When executed by a processor, the program performs the steps of the method according to any one of claims 8 to 12.

16. A service orchestration processing apparatus, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 7; or... When the processor executes the program, it implements the steps of the method according to any one of claims 8 to 12.

17. A computer program product, characterized in that, Includes computer program instructions that cause a computer to perform the steps of the method according to any one of claims 1 to 7; or, The computer program instructions cause the computer to perform the steps of the method according to any one of claims 8 to 12.

Citation Information

Patent Citations

  • Service arrangement and deployment method and system, network equipment and storage medium

    CN114721764A

  • Service deployment method and device, electronic equipment and storage medium

    CN116915770A