Systems and methods for dynamic metadata generation for cloud service integration
By dynamically generating metadata and applying rules at runtime, it solves the problems of cloud platform component endpoint information updating and new component discovery, improves the stability and efficiency of end-user applications, and ensures the effective use of cloud platform components.
Patent Information
- Application Number
- CN202080107460.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-12-31
AI Technical Summary
The existing technology cannot dynamically update the endpoint information of cloud platform hosting components, resulting in end-user applications being unable to effectively utilize cloud platform components and unable to discover new components or handle component changes.
Ensure the accuracy and consistency of endpoint information by dynamically generating metadata at runtime, utilizing rules (such as override rules and dependency rules) to reduce the number of parameters requested by end-user applications, and submitting connection information to the cloud platform to obtain endpoint information. .
It realizes the dynamic updating of cloud platform component endpoint information and the discovery of new components, reduces the number of parameters requested by end-user applications, and improves the stability and efficiency of applications.
Smart Images

Figure CN116508302B_ABST
Abstract
Description
[0001] Related Applications
[0002] This is the first patent application for this technology. Technical Field
[0003] Exemplary embodiments of the present invention relate to cloud computing, and in particular to dynamic metadata generation for cloud service integration. Background Art
[0004] Cloud computing is a form of network-based computing that allows users to access a shared pool of configurable computing resources and higher-level services that can be quickly provisioned with minimal management effort and are typically accessible to clients over the Internet. Cloud computing is provided through a cloud computing architecture (hereafter referred to as a cloud platform) and involves client-server based computing implemented as a service. Cloud computing service providers typically provide three main types of services (hereafter referred to as cloud computing services) by creating virtual machines and containers on demand for clients to use, namely infrastructure as a service (IaaS), platform as a service (PaaS) and software as a service (SaaS). IaaS provides computing infrastructure that can be rented and used by clients. The computing infrastructure includes physical computing components and resources (such as processors, memory, storage, servers, network components, etc.) that can be virtualized and shared among clients. PaaS provides a platform that allows clients to develop, run and manage software applications without building and maintaining computing infrastructure and middleware. SaaS provides software applications running on computing infrastructure on an on-demand basis over the Internet on a subscription basis. Each cloud computing service of the cloud platform has multiple components for clients to use.
[0005] End-user applications are client applications that connect to components of cloud computing services of a cloud platform (referred to herein as components of the cloud platform) through connection endpoints. These applications can be external, such as locally deployed applications or cloud applications hosted by the cloud platform. The connection endpoints are defined by the cloud platform provider. Information about the connection endpoint (hereinafter referred to as endpoint information) is required to access components of the cloud platform. The endpoint information includes the connection protocol, component address, component parameters, and other parameters. End-user applications that wish to use cloud platform components must have access to endpoint information to establish a connection. Collecting, updating, and maintaining endpoint information can become expensive, depending on the number of components to be maintained. Specifically, inefficiencies arise when the cloud platform hosts new components or component parameters change. End-user applications that access inaccurate endpoint information may be unstable. In addition, end-user applications may not be able to fully utilize the components of the cloud platform.
[0006] Existing solutions cannot dynamically update endpoint information and discover new components. Therefore, methods and systems are needed to determine the endpoint information of components hosted by a cloud platform, update the endpoint information of the component if the endpoint information is found to have changed, and discover new components when they are added. Summary of the invention
[0007] The present invention describes a method and system for an integration module that dynamically generates metadata at runtime. The integration module also applies a set of rules that can reduce the number of parameters required by end-user applications in at least some scenarios. Generating metadata at runtime can discover new components added to the cloud platform and update the endpoint information of previously discovered components when modifications or changes occur.
[0008] An exemplary embodiment of the present invention is a method for integrating one or more components of a cloud computing service with an end-user application. The method receives connection information required to connect to a cloud platform, which is an architecture for hosting cloud computing services, and requests endpoint information of one or more components hosted by the cloud platform by submitting the connection information to the cloud platform at runtime. After submitting the request, the method receives endpoint information of one or more components hosted by the cloud platform from the cloud platform in response to the submitted connection information, and the endpoint information at least includes parameters required to activate (in layman's terms, call) one or more components. Finally, the method generates metadata for each of the one or more components, and the metadata of each component includes endpoint information, enabling the end-user application to call the corresponding component of the cloud platform.
[0009] In one example, the method also applies rules to the generated metadata to reduce the number of parameters required by the end-user application to call one or more components. One type of rule is an override rule. For this rule, the method identifies common tags from the generated metadata, which are parameters of the same tag. The method then requests an instance of the common tag from the end-user application. The override rule is used to copy data of the parameters of one instance of the common tag to all parameters of the common tag.
[0010] In some examples of the above aspects, the method further applies a dependency rule. For the dependency rule, the method identifies a dependency relationship between the first component and the second component from the generated metadata, that is, the first component depends on the second component. The dependency rule is used to request one or more parameters from the end-user application to call the second component only when one or more parameters of the first component are requested.
[0011] In some examples of the above aspects, the method is repeated on any instance requested by the end-user application to generate metadata and discover changes in endpoint information of the one or more components.
[0012] In some examples of the above aspects, the connection information submitted to the cloud platform is submitted together with additional information to indicate (and thereby limit) the type and scope of the requested information.
[0013] In some examples of the above aspects, the end-user application using the method is a cloud platform application. In some examples, the end-user application using the method is a local deployment application in a processing device.
[0014] In some examples of the above aspects, the method requests parameters detailed in the generated metadata from the end-user application to call the corresponding one or more components. The method then verifies compliance of the parameters received from the end-user application based on the generated metadata.
[0015] In some examples of the above aspects, the generated metadata is constructed using JavaScript Object Notation (JSON) format.
[0016] According to exemplary aspects, a system for performing the method of one or more of the above aspects is disclosed.
[0017] According to exemplary aspects, a non-transitory computer readable medium is disclosed for performing a method of one or more of the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] For a more complete understanding of the exemplary embodiments and their advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which:
[0019] Figure 1 is a block diagram illustrating an exemplary cloud computing system according to an exemplary embodiment;
[0020] Figure 2 is a diagram showing a method for performing Figure 1 A block diagram of an end-user processing device interacting with a cloud computing system, the end-user processing device including an end-user application with an integrated module;
[0021] Figure 3 is a block diagram illustrating the operation of an integrated module according to an exemplary embodiment;
[0022] Figure 4 shows metadata of a connection request in JSON format according to an exemplary embodiment of the present invention, including connection information and additional information submitted to a cloud platform;
[0023] Figure 5 According to an exemplary embodiment, it is shown Figure 4 The cloud platform metadata response used to submit the connection request metadata;
[0024] Fig. 6A is a pseudo-code metadata example of a coverage rule for metadata governance according to an exemplary embodiment;
[0025] Figure 6B is a pseudo-code metadata example of dependency rules for metadata governance according to an exemplary embodiment;
[0026] Fig. 7A is a block diagram illustrating an example of dependency relationships between three components of a cloud platform according to an exemplary embodiment;
[0027] Figure 7B is another block diagram illustrating an example of dependencies between three components of a cloud platform according to an exemplary embodiment;
[0028] Figure 8 is a flow chart of a method of generating metadata using a metadata generator according to an exemplary embodiment;
[0029] Fig. 9 is a flow chart of a method performed by an integrated module according to an exemplary embodiment.
[0030] Similar reference numerals may be used in different drawings to represent similar components. DETAILED DESCRIPTION
[0031] End-user applications may need to integrate various components hosted by the cloud platform to provide the desired results. These components are developed, packaged, and deployed on one or more cloud platforms. Typically, the cloud platform provider provides connection information, which is an instruction for the end-user application to connect to the cloud platform and discover the hosted components. This connection information can be considered necessary to connect to the cloud platform, that is, the information is the information required for the connection (and this information may vary from platform to platform). Available solutions discover components hosted by the cloud platform and store the endpoint information (instructions for connecting to each component of the cloud platform 100) in the memory without changing it. The endpoint information may include the connection protocol, component address, and component parameters used by the end-user application to connect to the corresponding component of the cloud platform. Since the endpoint information is stored in the memory and is not updated, these solutions may become invalid if the cloud platform provider changes the endpoint information of the component. After the end-user application connects to the cloud platform and stores the endpoint information of its components, the end-user application may also not know the new components hosted by the cloud platform.
[0032] Exemplary embodiments of the present invention describe systems and methods for generating metadata, including endpoint information for components, and applying rules to the metadata to reduce the number of parameters requested from end-user applications. The methods and systems may also verify that the parameters of the end-user application meet the parameters expected by the component. These parameters requested from the end-user application are required to call the corresponding component of the cloud platform. For at least one or a combination thereof, the methods and systems of the present invention may generate metadata, apply rules, and verify parameters at runtime. Generating metadata at runtime allows the methods and systems to continuously discover changes in endpoint information for any component and discover newly hosted components.
[0033] Metadata is a data type that provides information about other data. It can be in the form of a summary, which may include the method of creating the other data, and provide the date when the other data was created, which computer Internet protocol was used to create the other data, the size of the other data, and additional information. The metadata of the present invention includes various information that allows connection to the cloud platform and its components. The metadata of the present invention includes a uniform resource identifier (URI), a method for submitting metadata (such as "get" or "post"), an authentication method (such as session-based authentication or token-based authentication), and at least one of the parameters for calling one or more components of the cloud platform. Each component has a specific metadata set, and all metadata sets are compiled into a metadata file stored in the memory. The metadata in the present invention is a means of implementing policies, triggering operations, and providing endpoint information to connect to cloud platform components.
[0034] For cross-platform compatibility, metadata is usually formatted using a well-defined structure, such as JavaScript Object Notation (JSON) or Extensible Markup Language (XML). The metadata is determined through a discovery process at runtime by submitting metadata of a connection request including connection information to the cloud platform and receiving endpoint information of a component hosted by the cloud platform in response to the metadata of the connection request.
[0035] The metadata generated is dynamic as it is generated when the end-user application needs to call the component. Hence, the endpoint information is collected at runtime. If there is any change in the endpoint information, the metadata will be updated accordingly.
[0036] An exemplary embodiment of the present invention also describes a method for applying or applying rules to reduce the number of parameters requested from an end-user application. Certain components have public tags, where the tags are string placeholders for corresponding parameters required to call one or more components of the cloud platform. An example of a tag is "ID", whose parameters can be alphanumeric strings such as "abc123". The method identifies the public tags and provides instructions for overwriting the public tag parameters by copying the values of the public tag parameters from one instance of each public tag. The parameters of one instance of each public tag are requested from the end-user application. Therefore, if multiple components require the same tag, the method requests one instance of each public tag from the end-user application instead of requesting multiple times.
[0037] For example, if multiple components require parameters of tag "ID", the method identifies the common tag "ID" and requests its parameters once from the end-user application. The method overwrites all parameters of tag "ID" and provides instructions to copy their data from the parameters requested by the end-user application.
[0038] In an exemplary embodiment, a method identifies dependencies between components and sets rules to reduce the number of parameters requested from an end-user application. For example, some scenarios require calling a first component that is dependent on calling a second component. Assume that the end-user application does not call the first component, in which case the method identifies the dependency and provides instructions to call the second component without requesting parameters, thereby reducing the number of parameters requested from the end-user application.
[0039] The following embodiments and aspects thereof are described and illustrated in conjunction with systems, tools and methods, which are exemplary and illustrative, but not limiting in scope. In various embodiments, one or more of the above challenges have been reduced or eliminated, while other embodiments may provide other improvements.
[0040] Embodiments will be described more fully below with reference to the accompanying drawings, in which some embodiments of the present invention are shown, but not all embodiments. The features and aspects presented in the present invention can be embodied in many different forms, and should not be interpreted as being limited to the embodiments set forth herein. Where possible, any term expressed in the singular form herein should also include plural forms, and vice versa, unless otherwise expressly stated. In the present invention, the use of the term "one" or "described" is also intended to include plural forms, unless the context clearly indicates other forms. In addition, when the terms "including", "comprising", "having" are used in the present invention, the presence of the elements is specified, but the presence or addition of other elements is not excluded.
[0041] Figure 11 is a logical block diagram of a cloud computing architecture of a cloud computing system capable of providing cloud computing services. The logical block diagram of the cloud computing architecture 100 (cloud platform 100) shown generally includes an infrastructure platform 102 (e.g., an IaaS layer), a service platform 104 (e.g., a PaaS layer), and an application platform 106 (e.g., a SaaS layer), each of which includes a corresponding set of components. The infrastructure platform 102 includes components including physical hardware resources 108, and a virtualization layer 110 that presents an abstraction of the physical hardware resources 108 to the service platform 104 and the application platform 106. The physical hardware resources 108 include components such as physical machines 114, which include processing resources (e.g., central processing units (CPUs), graphic processing units (GPUs), accelerators, tensor processing units (TPUs)), physical storage 116, including memory (e.g., static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), read-only memory (ROM), permanent storage devices (e.g., hard disk drives, optical disk drives), or combinations thereof), and network resources (not shown) that typically reside in a data center. As will be appreciated by those skilled in the art, a data center includes a collection of physical hardware resources 108 (typically in the form of servers) that can be used as collective computing resources including processing, storage, and network resources. Within a data center, multiple servers can be connected together to provide a computing resource pool so that virtualized entities can be instantiated on the computing resource pool. Data centers can be interconnected to form a computing resource pool and connected to each other through connection resources. The connection resource may take the form of a physical connection, such as an Ethernet or optical communication link.
[0042] By providing infrastructure platform 102 facilities, virtualization layer 110 supports a flexible and efficient multi-tenant runtime and hosting environment for applications 112 (a collection of multiple applications 112-1, 112-2 to 112-N) as components of application platform 106. Application platform 106 provides software applications 112-1, 112-2 to 112-N running on components of infrastructure platform 102 for use by other end users or end-user applications. Virtualization layer 110 includes a virtualization manager or hypervisor (not shown) to provide security and resource "sandboxes" for applications 112-1, 112-2 to 112-N. Each "sandbox" can be implemented as a virtual machine (VM) 118, including an appropriate operating system and controlled access to virtualized storage resources 120.
[0043] Virtualization of physical hardware resources 108 by virtualization layer 110 is considered to be the foundation technology of cloud platform 100. Virtualization is a technology that allows the creation of a virtual computing resource pool of computing resources (such as processing, storage and network resources) that are interconnected through connection resources. Virtualization can take the form of instantiating VM 118 to another entity on the network and to the software executed on VM 118, which is completely consistent with a physical computing device. VM 118 itself has a set of computing resources (such as processing, storage and connection resources) for executing an operating system. VM 118 can have a virtual network interface and can assign a network address to the interface. Between the underlying resources and VM 118, there is usually a virtual machine hypervisor (not shown) that manages resource isolation and network interaction. One of the purposes of VM 118 is to provide isolation from other processes running on cloud platform 100. When originally developed, VM 118 was a mechanism to allow different processes to run without worrying that a single erroneous process would cause the entire system to crash. Instead, the erroneous process would be contained in VM 118. This isolation allows each VM 118 to have a dedicated set of network interfaces. Typically, a single underlying computing resource can support multiple virtualized entities.
[0044] Those skilled in the art will appreciate that a recent advancement is the use of containers to replace VMs 118. As described above, each VM 118 typically includes a dedicated operating system, which typically increases the use of redundant computing, storage, and connectivity resources. However, containers allow a single operating system (OS) kernel to support multiple separate applications. Instead of a hypervisor that allows each VM 118 to run a dedicated operating system, a single OS hosts containers, and these containers are responsible for implementing the resource isolation provided by VMs 118.
[0045] The service platform 104 provides capabilities for hosting services including a middleware service platform 122. The middleware service platform 122 provides a set of middleware services and infrastructure services to the applications (112-1, 112-2 to 112-N) hosted on the application platform 106. The applications 112 hosted on the application platform 106 may run on a VM 118 or a physical machine 114.
[0046] exist Figure 1 In the described embodiment, the middleware service platform 122 includes a cloud cache service system 124 for in-memory data storage, a database service 126 for applications, a message service 128 for publishing messages to subscriber clients, and an application programming interface gateway service 130 that enables end users to create, publish, and maintain application programming interfaces (APIs) to access other cloud components. Those skilled in the art will appreciate that the middleware service platform 122 can provide other middleware application services to end users, such as notification services, runtime services, etc. The application 112 can be deployed and executed within a corresponding VM 118 or physical machine 114.
[0047] Accordingly, the cloud platform 100 provides three main types of services, namely, infrastructure as a service (IaaS) supported by the infrastructure platform 102; platform as a service (PaaS) supported by the service platform 104; and software as a service (SaaS) supported by the application platform 106. Each of the above-mentioned platforms includes the above-mentioned components and may also be supported by components of other platforms (e.g., applications 112 running on VMs 118 or physical machines 114). The following description provides a mechanism for accessing the components of the IaaS platform 102, the PaaS platform 104, and the SaaS platform 106 so that the functions provided by these components can be accessed by end-user applications, as described in detail below.
[0048] Figure 22 is a block diagram illustrating an end-user application 206 with an integrated module 222 in an end-user computing device 204 for connecting to one or more components of the cloud platform 100 according to an exemplary embodiment. The computing device 204 includes at least one processor 210 to control the overall operation of the computing device 204. The processor 210 is coupled to a plurality of components via a communication bus 212, which provides a communication path between the various components of the computing device 204 and the processor 210. The computing device 204 includes a memory 214, which may be a random access memory (RAM), a read-only memory (ROM), a persistent (non-volatile) memory (which may be one or more of a magnetic hard drive, flash memory, an erasable programmable read-only memory (EPROM) ("flash")), or other suitable forms of memory. The computing device 204 includes a communication module 216.
[0049] The communication module 216 may include any combination of a long-range wireless communication module, a short-range wireless communication module, or a wired communication module (e.g., Ethernet, etc.) to facilitate communication through the communication network 218. The communication network 218 includes a cellular network and the Internet, etc. The computing device 204 and the cloud platform 100 are used to communicate with each other through the communication network 218. The operating system software 220 executed by the processor 210 can be stored in a persistent memory of the memory 214. The memory 214 can also store application software instructions that, when executed by the processor 210, configure the processor 210 to implement one or more end-user applications 206. The software instructions for the end-user application 206 may include software instructions to configure the computing device 204 to implement an integrated module 222 responsible for establishing a connection with the components of the cloud platform 100. As described herein, "application" and "module" may refer to a combination of a hardware processing circuit (e.g., the processor 210) and machine-readable instructions (software and / or firmware) executable on the hardware processing circuit. The hardware processing circuitry may include any or some combination of a microprocessor, a core of a multi-core microprocessor, a microcontroller, a programmable integrated circuit, a programmable gate array, a digital signal processor, or other hardware processing circuitry.
[0050] End-user application 206 may require access to at least one component of cloud platform 100. End-user application 206 may be a user interface that enables an end user to investigate, integrate, and access one or more components of cloud platform 100. For example, end-user application 206 may be a machine learning application that utilizes components of cloud platform 100 for training. Data 224 is a repository of data stored in persistent storage of memory 214.
[0051] The integration module 222 is used by the end-user application 206 to facilitate connections with components of the cloud platform 100. In some examples, the integration module 222 connects to the cloud platform 100 via the communication network 218 and using the API gateway 130. It generates metadata ready for use by the end-user application 206 to connect to one or more components of the cloud platform 100. The metadata generated by the integration module 222 includes information required to establish a connection, such as a connection protocol, component addresses, component parameters, etc. The metadata generated by the integration module 222 can be generated at runtime. The metadata is dynamic because it can be continuously generated and updated by the end-user application 206. In some scenarios, metadata can be generated each time the end-user application 206 requests to use a component of the cloud platform 100. The integration module 222 is used to store data at data 224 for use by the end-user application 206.
[0052] exist Figure 2 In the example of , the end-user application 206 is hosted by the end-user computing device 204. However, in some examples, some or all of the functionality of the end-user application 206 can be hosted as one of the applications 112 included in the application platform 106 of the cloud platform 100. In such examples, a browser application or a thin client application can be implemented by the end-user computing device 204 to access the end-user application 206 on the cloud platform 100.
[0053] Thus, in some examples, end-user application 206 may be Figure 2 A locally hosted application as depicted in computing device 204 , or a cloud platform hosted application co-hosted with applications 112 - 1 , 112 - 2 through 112 -N of application platform 106 .
[0054] Figure 32 is a block diagram illustrating the operation of an integration module 222 of an end-user application 206 and a cloud platform 100 according to an exemplary embodiment of the present invention. The integration module 222 is used to connect one or more components of the cloud platform 100 through a network 218. The purpose of the integration module 222 is to establish a connection between the end-user application 206 and at least one component of the cloud platform 100. The integration module 222 includes a metadata generator 302, a metadata governance 304, and a deployment module 306.
[0055] The integration module 222 enables the end-user application 206 to connect to the cloud platform 100 through the integration module 222. The integration module 222 can submit connection information to the cloud platform 100 through a connection request. The connection information is provided by the cloud platform 100 provider. The cloud platform 100 provider generally does not change or modify the connection information. In addition, the connection information does not display any information about the components hosted by the cloud platform 100, but the endpoint information discussed below is displayed. The purpose of this structure is to allow the cloud platform provider to make internal changes to the cloud platform components without changing the connection information. The integration module 222 submits the connection information to the cloud platform 100, and in response, the cloud platform 100 returns the endpoint information of the components hosted by the cloud platform 100.
[0056] Endpoint information is information received by the integration module 222 in response to submitting connection information through a connection request. The endpoint information includes information about components hosted by the cloud platform 100 and how to connect to each component. Unlike the connection information, the cloud platform 100 provider can modify the endpoint information of existing components, or can add new components, thereby adding new endpoint information to the cloud platform 100.
[0057] Figure 4The metadata of the connection request 400 in JSON format according to an exemplary embodiment of the present invention is shown, including the connection information and additional information submitted to the cloud platform 100. The metadata of the connection request 400 stored in the data 224 (or the corresponding cloud storage when the end-user application 206 is hosted on the application platform 106 as a cloud application 100) (titled "discover_selector" 402) includes connection information (URI 404, method 406 and authentication method 408), and additional information ("selector_display" 410 and "selector_value" 412). The connection information includes a uniform resource identifier (URI) 404 indicating the address for accessing the cloud platform 100. It also includes a communication method "post" 406, indicating that the connection request sent by the integration module 222 will be accepted by the cloud platform 100. In addition, it also includes an authentication method 408 accepted by the cloud platform 100 for establishing a connection. In this embodiment, the "session" authentication method is required.
[0058] In addition to URI 402, method 404, and authentication 408, the metadata of connection request 400 may include additional information to indicate (and thereby limit) the type and scope of information being requested. Figure 4 In the additional information field, the cloud platform 100 sends the component's label ("selector_display" 410) and parameters ("selector_value" 412). In response to the metadata of the submitted connection request 400, the cloud platform 100 returns the endpoint information of all components hosted by the cloud platform and the labels and parameters of each component. The parameters are the data to be requested from the end-user application 206 to call the corresponding component, and the labels are string placeholders for the parameter names.
[0059] In some examples, the metadata of the connection request may also include detailed information for receiving connection endpoint information for a specific component of cloud platform 100 , rather than requesting endpoint information for all available components.
[0060] See also Figure 3, the metadata generator 302 sends a connection request and generates metadata required for the end-user application 206 to access at least one component of the cloud platform 100. The metadata generation operation is performed by submitting a connection request including at least connection information to discover components hosted by the cloud platform 100. In response to the connection request, the cloud platform 100 returns at least endpoint information of one or more hosted components. The processor 210 (or the corresponding cloud processor when the end-user application 206 is hosted on the application platform 106 as a cloud application 100) stores the received metadata generated by the metadata generator 302 in the data 224 (or the corresponding cloud storage when the end-user application 206 is hosted on the application platform 106 as a cloud application 100). The metadata generator 302 generates a metadata set for each component discovered by the metadata generator 302. The metadata sets of all components are compiled into a metadata file stored in the storage 224 (or the corresponding cloud storage when the end-user application 206 is hosted on the application platform 106 as a cloud application 100).
[0061] Figure 5 5 shows a metadata response to a request of the metadata generator 302 according to an exemplary embodiment of the present invention. The metadata 500 is a Figure 4 The response is for the hosting component “http-client” 502 of the cloud platform 100 . Figure 5 The endpoint information of the components of the connection information (URI 404, method 406, "authentication_method" 408) in response to the metadata of the connection request 402 is shown, including (URI 504, method 506, and "authentication_method" 508). Figure 5 It also shows that the response Figure 4 The additional information of the connection request metadata (“selector_display” 410 and “selector_value” 412 ) is returned in tags 510 and “query_params” 512 .
[0062] In order to call the component "http-client" 502, the end-user application 206 needs to connect to the specific component URI 504 through the "get" method. The "get" method is the opposite of the "post" method described above; it is a command to request resources from the cloud platform 100, in this embodiment, from the "http-client" component. The end-user application 206 is required to authenticate using the "session-token" authentication method 508.
[0063] Figure 4The metadata of the connection request includes additional information of labels and parameters. In response to "$.path[*].label" 410, the cloud platform 100 returns "User Name" and "User Age" 510, and in response to "$.path[*].params" 412, the cloud platform 100 returns "name" and "age" 512. The end-user application 206 needs to provide the parameters "name" and "age" 512 and the endpoint information (URI 504, method 506, and "authentication_method" 508) to call the "http-client" 502 component. Figure 5 A component is shown, which can return multiple components. Each component has a set of metadata, including the endpoint information, tags, and parameters required to call it.
[0064] refer to Figure 3 , the metadata governance 304 of the integration module 222 defines a set of rules to request only the parameters required for a successful call to the corresponding component from the end-user application 206. The metadata governance attaches the generated metadata with the rules, which, when executed, request the required inputs from the end-user application 206 to call the required components of the cloud platform 100. The rules of the metadata governance 304 are stored together with the metadata generated by the metadata generator 302 in a metadata file in the data 224 (or the corresponding cloud storage when the end-user application 206 is hosted on the application platform 106 as a cloud application 100).
[0065] The integration module 222 requests the parameters required to call the desired component of the cloud platform 100 from the end-user application 206. In some embodiments, two or more components may request the same component tag, for example, a component tag of "user name", "ID", "account number", "e-mail address", "age", etc. Instead of requesting multiple parameters of the same tag from the end-user application 206, the metadata governance 304 then identifies the common tag and requests its parameter value once. The metadata governance 304 populates the parameter value of the common tag through the overlay rule. Therefore, the metadata governance 304 reduces the number of parameters requested from the end-user application 206.
[0066] Fig. 6A600 of the metadata governance 304 shows two components: Service1 602 and Service 2 606. Both components have the same label (common label), parameters "param1" 604 and "param2" 608. Instead of requesting the values of param1 604 and param2 608 from the end-user application 206, the metadata governance 304 instructs the processor 210 (or the corresponding cloud processor when the end-user application 206 is hosted on the application platform 106 as a cloud application 100) to copy the data stored in param1 to param2. In other words, the metadata governance 304 sets a rule to override the value of param2 608 and copy its value from param1 604 without requesting it from the end-user application 206.
[0067] In another embodiment of the present invention, metadata governance 304 identifies dependencies between metadata sets. Metadata governance 304 ensures that if a parameter is requested from an end-user application 206, the parameter is used and is therefore not redundant. There are dependencies between components because the existence of one component depends on the existence of another component. Fig. 7A is an exemplary embodiment for explaining the dependency relationship between three components of the cloud platform 100, including: Service3 702, Service2 704, and Service1 706. Service2 704 depends on Service1 706, and Service3 702 depends on Service2 704. In order to successfully call Service3, the end-user application 206 needs to provide param3 to call Service3 702, param2 to call Service 2 704, and param1 to call Service1 706.
[0068] Figure 7Bis another exemplary embodiment that explains the dependency relationship between Service3 708, Service2 710, and Service1 712 of the cloud platform 100. In this embodiment, Service3 708 does not depend on Service2 710, but Service2 710 depends on Service1 712. In the example where the end-user application 206 needs to call Service3, param3 708 from the end-user application 206 is needed, but calling Service2 710 and Service1 712 is not needed. Therefore, the end-user application 206 does not need param2 of Service2 710 and param1 of Service1 712. Therefore, the metadata governance 304 identifies param2 of Service2 710 and param1 of Service1 712 as not needed, and the integration module 222 does not request their data from the end-user application 206 when executing the generated metadata.
[0069] Figure 6B 608 is a pseudo-code metadata example of component dependency rule metadata generated by metadata governance 304 after identifying a dependency relationship between two components. The component dependency metadata titled "component_dependency" 608 generated by metadata governance 304 describes the component dependency 608 between Service1 610 and Service2 614 of cloud platform 100. Metadata governance 304 implements rules that define dependency relationships between components, ensuring that components of cloud platform 100 are only called when components that depend on cloud platform 100 need to be called. Figure 6B The metadata of describes that param1 612 of Service1 610 is requested from the end-user application 206 only when param2 616 of Service2 614 is requested. This embodiment explains the dependency between Service2 614 and Service1 610. If Service2 614 is not called, then Service16 610 does not need to be called. Accordingly, the metadata governance 304 attaches the metadata file with a rule, and when executed, if param2 616 is not requested, then param1 612 is not requested.
[0070] Back to Figure 3, the deployment module 306 verifies the compliance of the parameters received from the end-user application 206. The deployment module 306 ensures that the parameters received from the end-user application 206 comply with the parameters required to call the corresponding component of the cloud platform 100. When executed, the deployment module 306 compares the parameters received from the end-user application 206 with the parameters discovered by the response received by the metadata generator 302. The deployment module 306 checks whether the end-user application 206 provides all required parameters and their formats. For example, if a component of the cloud platform 100 requires a string parameter with a label "user name", the deployment module 306 ensures that the end-user application 206 provides the string format parameter. In addition, in another example, if a component requires a specific number of parameters, the deployment module 306 checks whether the specific number of parameters is provided by the end-user application 206.
[0071] Figure 8 800 is a flow chart of a method for generating metadata using metadata generator 302 according to an exemplary embodiment of the present invention. At block 802, method 800 receives connection information from cloud platform 100. It compiles metadata for a connection request and stores the metadata for the connection request in data 224 (or a corresponding cloud storage when end-user application 206 is hosted on application platform 106 as cloud application 100). The connection information is generally not changed. At block 804, method 800 may update the metadata of the connection request with additional information to indicate and limit the type and scope of information requested from cloud platform 100. At block 806, method 800 submits the metadata of the connection request to cloud platform 100 to establish a connection with cloud platform 100. Upon successful connection, method 800 receives a response and stores it as metadata in a metadata file in data 224 (or a corresponding cloud storage when end-user application 206 is hosted on application platform 106 as cloud application 100) at block 808.
[0072] The method 800 is performed at runtime whenever an end-user application 206 requests an integration component. The method may also be performed any time an end-user application 206 requests to discover endpoint information for a new component or update endpoint information for an existing component hosted by the cloud platform 100.
[0073] Fig. 99 is a flow chart of a method performed by the integration module 222 according to an exemplary embodiment of the present invention. The method 900 receives connection information provided by the cloud platform 100, generates metadata of a connection request including the connection information, and submits the metadata of the connection request to the cloud platform 100 in block 902. In response to the metadata of the connection request, the method 900 receives at least one endpoint information of one or more components hosted by the cloud platform 100 in block 904. In block 906, the method generates metadata for each component received in the response and stores the metadata in a metadata file in the data 224 (or a corresponding cloud storage when the end-user application 206 is hosted on the application platform 106 as a cloud application 100). If the metadata includes endpoint information of more than one component (block 908), metadata governance rules are applied in block 910 to reduce the number of parameters requested from the end-user application 206.
[0074] As described above, metadata governance rules include at least two rules, namely, override rules and dependency rules. After applying the metadata governance rules at block 910, or if the metadata generated at block 906 includes only one component, the metadata at this stage is ready to be executed by the end-user application 206. At block 912, the method 900 receives the parameters provided by the end-user application 206 and validates them against the generated metadata at block 906.
[0075] Box 914 corresponds to the operation of the metadata generator 302 of the integration module 222, box 916 corresponds to the operation of the metadata governance module 304 of the integration module 222, and box 918 corresponds to the operation of the deployment module 306 of the integration module 222.
[0076] The above exemplary embodiments can be implemented only by using hardware, or by using software and necessary general hardware platforms. Based on these understandings, the technical solutions of some exemplary embodiments can be embodied in the form of software products. The software product can be stored in a non-volatile or non-transient storage medium, which can be a compact disk read-only memory (CD-ROM), a universal serial bus (USB) flash drive, or a mobile hard disk. The software product includes multiple instructions that enable a computer device (personal computer, server, or network device) to perform the method provided in the exemplary embodiment. According to an exemplary embodiment, the software product may also include multiple instructions that enable a computer device to perform operations for configuring or programming a digital logic device.
[0077] According to exemplary embodiments, the exemplary systems and methods described herein may be implemented by one or more controllers. The controller may include hardware, software, or a combination of hardware and software, depending on the specific application, component, or function. In some exemplary embodiments, one or more controllers may include analog or digital components, and may include one or more processors, one or more non-transitory storage media, such as a memory storing instructions executed by one or more processors, one or more transceivers (or separate transmitters and receivers), one or more signal processors (analog or digital), and one or more analog circuit components.
[0078] In the described method or block diagram, the box can represent an event, step, function, process, module, message and / or state-based operation, etc. Although some of the above examples have been described as occurring in a particular order, it will be appreciated by those skilled in the art that some steps or processes can be performed in different orders, provided that the result of any given step changing the order does not prevent or hinder the occurrence of subsequent steps. In addition, in other embodiments, some of the above messages or steps can be deleted or combined, and in other embodiments, some of the above messages or steps can be separated into multiple sub-messages or sub-steps. Even, some or all of the steps can be repeated as needed. The elements described as methods or steps are similarly applied to systems or sub-components, and vice versa. According to the perspective of a particular device, references to words such as "send" or "receive" can be interchanged.
[0079] The above embodiments are to be considered as illustrative rather than restrictive. Exemplary embodiments described as methods apply analogously to systems, and vice versa.
[0080] Some exemplary embodiments may be varied so that they may include combinations and sub-combinations of any of the above. The exemplary embodiments presented above are merely exemplary and are not meant to limit the scope of the invention. The changes to the innovations described herein are obvious to those of ordinary skill in the art, and these changes are within the intended scope of the invention. Specifically, features from one or more of the above-described embodiments may be selected to create an alternative embodiment consisting of a sub-combination of features that may not be explicitly described above. In addition, features from one or more of the above-described embodiments may be selected and combined to create an alternative embodiment consisting of a combination of features that may not be explicitly described above. When the present invention is taken as a whole, the features applicable to such combinations and sub-combinations are obvious to those skilled in the art. The subject matter described herein is intended to include all appropriate technical changes.
Claims
1. A method for integrating one or more components of a cloud computing service with an end-user application, characterized in that: The method includes: receiving connection information required to connect to a cloud platform, the cloud platform being an architecture that hosts the cloud computing service; At runtime, requesting endpoint information of one or more components hosted by the cloud platform by submitting the connection information to the cloud platform; In response to the submitted connection information, receiving endpoint information of one or more components hosted by the cloud platform from the cloud platform, the endpoint information including at least parameters required to call the one or more components; Metadata is generated for each of the one or more components, wherein the metadata of each component includes endpoint information that enables the end-user application to call a corresponding component of the cloud platform.
2. The method according to claim 1, characterized in that Also included is applying rules to the generated metadata to reduce the number of parameters required to invoke the one or more components from the end-user application; The rules include at least one of the following: an overlay rule and a dependency rule.
3. The method according to claim 2, characterized in that It also includes identifying common tags from the generated metadata, wherein the common tags are parameters of the same tag, and then requesting an instance of the common tag from the end-user application, wherein the overlay rules are used to copy data of the parameters of the one instance of the common tag to all parameters of the common tag.
4. The method according to claim 2, characterized in that: It also includes identifying a dependency relationship between a first component and a second component from the generated metadata, the first component being dependent on the second component, wherein the dependency rule is used to request one or more parameters from the end-user application to call the second component only when one or more parameters of the first component are requested.
5. The method according to any one of claims 1 to 4, characterized in that The method is repeated on any instance requested by the end-user application to generate metadata and discover changes in endpoint information for the one or more components.
6. The method according to any one of claims 1 to 4, characterized in that The connection information is submitted along with additional information to indicate and thereby limit the type and scope of the requested information.
7. The method according to any one of claims 1 to 4, characterized in that The end-user application using the method is a cloud platform application.
8. The method according to any one of claims 1 to 4, characterized in that The end-user application using the method is a locally deployed application in a processing device.
9. The method according to any one of claims 1 to 4, characterized in that It also includes requesting parameters detailed in the generated metadata from the end-user application to call the corresponding one or more components, and then verifying the compliance of the parameters received from the end-user application based on the generated metadata.
10. The method according to any one of claims 1 to 4, characterized in that The generated metadata is constructed using JavaScript Object Notation (JSON) format.
11. A computing system for integrating one or more components of a cloud computing service with an end-user application, characterized in that: The computing system comprises: Processor for: receiving connection information required to connect to a cloud platform, the cloud platform being an architecture that hosts the cloud computing service; At runtime, requesting endpoint information of one or more components hosted by the cloud platform by submitting the connection information to the cloud platform; In response to the submitted connection information, receiving endpoint information of one or more components hosted by the cloud platform from the cloud platform, the endpoint information including at least parameters required to call the one or more components; Metadata is generated for each of the one or more components, wherein the metadata of each component includes endpoint information that enables the end-user application to call a corresponding component of the cloud platform.
12. The system according to claim 11, characterized in that The processor is further configured to apply rules to the generated metadata to reduce the number of parameters required by the end-user application to invoke the one or more components; The rules include at least one of the following: an overlay rule and a dependency rule.
13. The system according to claim 12, characterized in that The processor is also used to identify common tags from the generated metadata, which are parameters of the same tag, and then request an instance of the common tag from the end-user application, wherein the overlay rules are used to copy data of the parameters of the one instance of the common tag to all parameters of the common tag.
14. The system according to claim 12, characterized in that The processor is also used to identify a dependency relationship between a first component and a second component from the generated metadata, wherein the first component depends on the second component, and wherein the dependency rule is used to request one or more parameters from the end-user application to call the second component only when one or more parameters of the first component are requested.
15. The system according to any one of claims 11 to 14, characterized in that The processor is configured to repeat operations on any instance requested by the end-user application, generate metadata and discover changes in endpoint information of the one or more components.
16. The system according to any one of claims 11 to 14, characterized in that The processor is operable to submit additional information with the connection information to indicate (and thereby limit) the type and scope of the requested information.
17. The system according to any one of claims 11 to 14, characterized in that The end-user application using the system is a locally deployed application in a processing device.
18. The system according to any one of claims 11 to 14, characterized in that The processor is further configured to request parameters detailed in the generated metadata from the end-user application to invoke the corresponding one or more components, and then verify compliance of the parameters received from the end-user application based on the generated metadata.
19. The system according to any one of claims 11 to 14, characterized in that The processor is used to construct the generated metadata in JavaScript Object Notation (JSON) format.
20. A non-transitory computer readable medium, characterized in that The device is used for storing instructions, which, when executed by one or more processors, cause the one or more processors to perform the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
System and Method for Resource Presentation
US20180124214A1
Back-end task fulfillment for dialog-driven applications
US20180143857A1
