Embodiments relate to the industrial Internet of Things, and in particular, to an application configuration method, apparatus, and system of an industrial Internet of Things solution, a computer software product, and a readable medium.
An end-to-end solution of the industrial Internet of Things (industrial IoT) needs to collect bottom-layer data to an upper-layer application for development in a development process. In addition, this industrial Internet of Things solution is user-customized. Therefore, the industrial Internet of Things solution generally relates to development of applications at an edge device end and an industrial cloud and integration of and alignment on interfaces of the edge device end and the industrial cloud. Therefore, the solution of the industrial Internet of Things encounters some challenges, including:
Customized development is performed on the industrial Internet of Things solution on the industrial cloud, and valuable information is visualized to an end user.
Alignment is performed on data interfaces for data obtaining at the edge device end and application development on the industrial cloud. However, data obtaining at the edge device end and application development on the industrial cloud are separate. However, to obtain a complete solution, data alignment needs to be performed on interfaces for data obtaining at the edge device end and application development on the industrial cloud.
An embodiment provides an application configuration method of an industrial Internet of Things solution, including S1, obtaining a resource recommendation prompt from a repository according to a user customized demand of an industrial Internet of Things solution, invoking a resource from a knowledge base or the repository to generate an industrial Internet of Things model, and matching an application installed at an industrial cloud and at an edge device end with a configuration needed by the application; and S2, generating the industrial Internet of Things solution and deploying the matched application to the industrial cloud and the edge device end.
The repository includes:
Further, step S1 further includes the following sub-steps: S11, selecting the first application from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution; S12, generating, based on the first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application, obtaining a first prompt for selecting the industrial Internet of Things model from the industrial Internet of Things model repository according to the user customized demand, and invoking the selected industrial Internet of Things model and a context relationship of the first application of the industrial Internet of Things model from the knowledge base; S13, matching a workflow template from the edge device end application workflow template repository based on the industrial Internet of Things model, the workflow template including a plurality of second applications associated with each other, then matching a second prompt of the second application from the edge device end application repository according to the matched workflow template, and invoking a context relationship, a workflow, and the second application of the industrial Internet of Things model from the knowledge base, where the second application includes a preprocessing application and a data obtaining application; and S14, generating input/output data source configurations of the first application and the second application according to production line context information.
The context scene includes a relationship between the applications and a relationship between the applications and the industrial Internet of Things model.
Further, step S11 further includes the following step: selecting a plurality of first applications from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution and integrating the plurality of first applications into a first application combination.
Further, when the plurality of first applications is integrated into the first application combination in step S11, step S12 further includes the following step: generating, based on each first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application and integrating the plurality of industrial Internet of Things model combinations into an industrial Internet of Things model set.
Further, step S2 further includes the following steps: generating a final industrial Internet of Things solution according to the matched first application and second application, and configurations and workflows needed by the first application and the second application; invoking the matched first application and second application from the industrial cloud application repository and the edge device end application repository or the knowledge base; and respectively deploying the first application and the second application to the industrial cloud and the edge device end.
Further, the application configuration method further includes the following step: S3, updating a model based on the final industrial Internet of Things solution, an application set and a configuration of the application set, and a context scene to the knowledge base for repeated use.
Another embodiment provides an application configuration apparatus of an industrial Internet of Things solution, obtaining a resource recommendation prompt from a repository according to a user customized demand of an industrial Internet of Things solution, invoking a resource from a knowledge base to generate an industrial Internet of Things model, and matching an application installed at an industrial cloud and at an edge device end with a configuration needed by the application; and generating the industrial Internet of Things solution and deploying the matched application to the industrial cloud and the edge device end.
The repository includes:
Further, the application configuration apparatus of an industrial Internet of Things solution further includes: an application configuration apparatus, selecting the first application from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution; and generating, based on the first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application, obtaining a first prompt for selecting the industrial Internet of Things model from the industrial Internet of Things model repository according to the user customized demand, and invoking the selected industrial Internet of Things model and a context relationship of the first application of the industrial Internet of Things model from the knowledge base; an industrial Internet of Things model generation module, matching a workflow template from the edge device end application workflow template repository based on the industrial Internet of Things model, the workflow template including a plurality of second applications associated with each other, then matching a second prompt of the second application from the edge device end application repository according to the matched workflow template, and invoking a context relationship, a workflow, and the second application of the industrial Internet of Things model from the knowledge base, where the second application includes a preprocessing application and a data obtaining application; and an edge device end workflow matching and recommendation module, generating input/output data source configurations of the first application and the second application according to production line context information.
The context scene includes a relationship between the applications and a relationship between the applications and the industrial Internet of Things model.
Further, the application configuration apparatus further selects a plurality of first applications from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution and integrates the plurality of first applications into a first application combination.
Further, the industrial Internet of Things model generation module further generates, based on each first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application and integrates the plurality of industrial Internet of Things model combinations into an industrial Internet of Things model set.
Further, the application configuration apparatus of an industrial Internet of Things solution further includes a solution generation and application deployment module, generating a final industrial Internet of Things solution according to the matched first application and second application, and configurations and workflows needed by the first application and the second application; invoking the matched first application and second application from the industrial cloud application repository and the edge device end application repository or the knowledge base; and respectively deploying the first application and the second application to the industrial cloud and the edge device end.
Further, the application configuration apparatus further includes a knowledge base improvement module 160, updating a model based on the final industrial Internet of Things solution, an application set and a configuration of the application set, and a context scene to the knowledge base for repeated use.
Another embodiment provides an application configuration system of an industrial Internet of Things solution, including: a processor; and a memory coupled to the processor, where the memory has an instruction stored in the memory, the instruction enables the electronic device to execute an action when being executed by the processor, and the action includes: obtaining a resource recommendation prompt from a repository according to a user customized demand of an industrial Internet of Things solution, invoking a resource from a knowledge base or the repository to generate an industrial Internet of Things model, and matching an application installed at an industrial cloud and at an edge device end with a configuration needed by the application; and generating the industrial Internet of Things solution and deploying the matched application to the industrial cloud and the edge device end.
Further, the action further includes: selecting the first application from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution; generating, based on the first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application, obtaining a first prompt for selecting the industrial Internet of Things model from the industrial Internet of Things model repository according to the user customized demand, and invoking the selected industrial Internet of Things model and a context relationship of the first application of the industrial Internet of Things model from the knowledge base; matching a workflow template from the edge device end application workflow template repository based on the industrial Internet of Things model, the workflow template including a plurality of second applications associated with each other, then matching a second prompt of the second application from the edge device end application repository according to the matched workflow template, and invoking a context relationship, a workflow, and the second application of the industrial Internet of Things model from the knowledge base, where the second application includes a preprocessing application and a data obtaining application; and generating input/output data source configurations of the first application and the second application according to production line context information.
Further, the action further includes: selecting a plurality of first applications from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution and integrating the plurality of first applications into a first application combination.
When the plurality of first applications is integrated into the first application combination, the action further includes: generating, based on each first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application and integrating the plurality of industrial Internet of Things model combinations into an industrial Internet of Things model set.
Further, the action further includes: generating a final industrial Internet of Things solution according to the matched first application and second application, and configurations and workflows needed by the first application and the second application; invoking the matched first application and second application from the industrial cloud application repository and the edge device end application repository or the knowledge base; and respectively deploying the first application and the second application to the industrial cloud and the edge device end.
Further, the action further includes: updating a model based on the final industrial Internet of Things solution, an application set and a configuration of the application set, and a context scene to the knowledge base for repeated use.
Another embodiment provides a computer program product, tangibly stored on a computer readable medium and including a computer executable instruction, enabling at least one processor to perform the method in the first embodiment when the computer executable instruction is executed.
Another embodiment provides a computer program, storing thereon a computer executable instruction, enabling at least one processor to perform the method in the first embodiment when the computer executable instruction is executed.
Embodiments may provide an end-to-end industrial Internet of Things solution, which implements that an application for the industrial cloud or the edge device end can be reused and reduces workloads of application development and communication between different parts of an industrial Internet of Things system. Embodiments may be implemented with the aid of domain knowledge, which provides a simple solution, so that applications can be simply connected to each other, and the applications can be deployed in functions without additional development. Embodiments may avoid excessively relying on experts and reduces workloads of providing a production line cloud service.
A repository connection assists an industrial Internet of Things project as the knowledge base, a production line context scene can support recommending a simple process to a user, and the knowledge base may also be updated from a generated final industrial Internet of Things solution.
Internet of Things solution according to a specific embodiment;
An embodiment provides an application configuration method of an industrial Internet of Things solution, including S1, obtaining a resource recommendation prompt from a repository according to a user customized demand of an industrial Internet of Things solution, invoking a resource from a knowledge base or the repository to generate an industrial Internet of Things model, and matching an application installed at an industrial cloud and at an edge device end with a configuration needed by the application; and S2, generating the industrial Internet of Things solution and deploying the matched application to the industrial cloud and the edge device end.
The repository includes:
Further, step S1 further includes the following sub-steps: S11, selecting the first application from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution; S12, generating, based on the first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application, obtaining a first prompt for selecting the industrial Internet of Things model from the industrial Internet of Things model repository according to the user customized demand, and invoking the selected industrial Internet of Things model and a context relationship of the first application of the industrial Internet of Things model from the knowledge base; S13, matching a workflow template from the edge device end application workflow template repository based on the industrial Internet of Things model, the workflow template including a plurality of second applications associated with each other, then matching a second prompt of the second application from the edge device end application repository according to the matched workflow template, and invoking a context relationship, a workflow, and the second application of the industrial Internet of Things model from the knowledge base, where the second application includes a preprocessing application and a data obtaining application; and S14, generating input/output data source configurations of the first application and the second application according to production line context information.
The context scene includes a relationship between the applications and a relationship between the applications and the industrial Internet of Things model.
Further, step S11 further includes the following step: selecting a plurality of first applications from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution and integrating the plurality of first applications into a first application combination.
Further, when the plurality of first applications is integrated into the first application combination in step S11, step S12 further includes the following step: generating, based on each first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application and integrating the plurality of industrial Internet of Things model combinations into an industrial Internet of Things model set.
Further, step S2 further includes the following steps: generating a final industrial Internet of Things solution according to the matched first application and second application, and configurations and workflows needed by the first application and the second application; invoking the matched first application and second application from the industrial cloud application repository and the edge device end application repository or the knowledge base; and respectively deploying the first application and the second application to the industrial cloud and the edge device end.
Further, the application configuration method further includes the following step: S3, updating a model based on the final industrial Internet of Things solution, an application set and a configuration of the application set, and a context scene to the knowledge base for repeated use.
Another embodiment provides an application configuration apparatus of an industrial Internet of Things solution, obtaining a resource recommendation prompt from a repository according to a user customized demand of an industrial Internet of Things solution, invoking a resource from a knowledge base to generate an industrial Internet of Things model, and matching an application installed at an industrial cloud and at an edge device end with a configuration needed by the application; and generating the industrial Internet of Things solution and deploying the matched application to the industrial cloud and the edge device end.
The repository includes:
Further, the application configuration apparatus of an industrial Internet of Things solution further includes: an application configuration apparatus, selecting the first application from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution; and generating, based on the first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application, obtaining a first prompt for selecting the industrial Internet of Things model from the industrial Internet of Things model repository according to the user customized demand, and invoking the selected industrial Internet of Things model and a context relationship of the first application of the industrial Internet of Things model from the knowledge base; an industrial Internet of Things model generation module, matching a workflow template from the edge device end application workflow template repository based on the industrial Internet of Things model, the workflow template including a plurality of second applications associated with each other, then matching a second prompt of the second application from the edge device end application repository according to the matched workflow template, and invoking a context relationship, a workflow, and the second application of the industrial Internet of Things model from the knowledge base, where the second application includes a preprocessing application and a data obtaining application; and an edge device end workflow matching and recommendation module, generating input/output data source configurations of the first application and the second application according to production line context information.
The context scene includes a relationship between the applications and a relationship between the applications and the industrial Internet of Things model.
Further, the application configuration apparatus further selects a plurality of first applications from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution and integrates the plurality of first applications into a first application combination.
Further, the industrial Internet of Things model generation module further generates, based on each first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application and integrates the plurality of industrial Internet of Things model combinations into an industrial Internet of Things model set.
Further, the application configuration apparatus of an industrial Internet of Things solution further includes a solution generation and application deployment module, generating a final industrial Internet of Things solution according to the matched first application and second application, and configurations and workflows needed by the first application and the second application; invoking the matched first application and second application from the industrial cloud application repository and the edge device end application repository or the knowledge base; and respectively deploying the first application and the second application to the industrial cloud and the edge device end.
Further, the application configuration apparatus further includes a knowledge base improvement module 160, updating a model based on the final industrial Internet of Things solution, an application set and a configuration of the application set, and a context scene to the knowledge base for repeated use.
Another embodiment provides an application configuration system of an industrial Internet of Things solution, including: a processor; and a memory coupled to the processor, where the memory has an instruction stored in the memory, the instruction enables the electronic device to execute an action when being executed by the processor, and the action includes: obtaining a resource recommendation prompt from a repository according to a user customized demand of an industrial Internet of Things solution, invoking a resource from a knowledge base or the repository to generate an industrial Internet of Things model, and matching an application installed at an industrial cloud and at an edge device end with a configuration needed by the application; and generating the industrial Internet of Things solution and deploying the matched application to the industrial cloud and the edge device end.
Further, the action further includes: selecting the first application from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution; generating, based on the first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application, obtaining a first prompt for selecting the industrial Internet of Things model from the industrial Internet of Things model repository according to the user customized demand, and invoking the selected industrial Internet of Things model and a context relationship of the first application of the industrial Internet of Things model from the knowledge base; matching a workflow template from the edge device end application workflow template repository based on the industrial Internet of Things model, the workflow template including a plurality of second applications associated with each other, then matching a second prompt of the second application from the edge device end application repository according to the matched workflow template, and invoking a context relationship, a workflow, and the second application of the industrial Internet of Things model from the knowledge base, where the second application includes a preprocessing application and a data obtaining application; and generating input/output data source configurations of the first application and the second application according to production line context information.
Further, the action further includes: selecting a plurality of first applications from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution and integrating the plurality of first applications into a first application combination.
When the plurality of first applications is integrated into the first application combination, the action further includes: generating, based on each first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application and integrating the plurality of industrial Internet of Things model combinations into an industrial Internet of Things model set.
Further, the action further includes: generating a final industrial Internet of Things solution according to the matched first application and second application, and configurations and workflows needed by the first application and the second application; invoking the matched first application and second application from the industrial cloud application repository and the edge device end application repository or the knowledge base; and respectively deploying the first application and the second application to the industrial cloud and the edge device end.
Further, the action further includes: updating a model based on the final industrial Internet of Things solution, an application set and a configuration of the application set, and a context scene to the knowledge base for repeated use.
Another embodiment provides a computer program product, tangibly stored on a computer readable medium and including a computer executable instruction, enabling at least one processor to perform the method in the first embodiment when the computer executable instruction is executed.
Another embodiment provides a computer program, storing thereon a computer executable instruction, enabling at least one processor to perform the method in the first embodiment when the computer executable instruction is executed.
Embodiments may provide an end-to-end industrial Internet of Things solution, which implements that an application for the industrial cloud or the edge device end can be reused and reduces workloads of application development and communication between different parts of an industrial Internet of Things system. Embodiments may be implemented with the aid of domain knowledge, which provides a simple solution, so that applications can be simply connected to each other, and the applications can be deployed in functions without additional development. Embodiments may avoid excessively relying on experts and reduces workloads of providing a production line cloud service.
A repository connection assists an industrial Internet of Things project as the knowledge base, a production line context scene can support recommending a simple process to a user, and the knowledge base may also be updated from a generated final industrial Internet of Things solution.
Specific implementations of embodiments are described below with reference to the accompanying drawings.
Embodiments provide an application configuration mechanism for an industrial Internet of Things solution, which may easily obtain a final industrial Internet of Things solution, make an application based on the final Internet of Things solution to be repeatedly used, and accelerate configurations of the edge device end based on a context scene of the application. Embodiments further integrate domain knowledge and reduces reliance on experts, so that an industrial Internet of Things project becomes easier for a non-expert developer.
The application configuration apparatus 100 is a core module of the embodiments and is configured to extract information from the repository 200 and the knowledge base 300, to generate an end-to-end Internet of Things solution (end-to-end IoT solution), which helps enrich the knowledge base 300. The application configuration mechanism of an industrial Internet of Things solution provided in the embodiments combines applications, industrial Internet of Things models (IoT models), and workflows. Because an application includes an application providing a service to an industrial cloud and implements a function at the edge device end, the embodiments implement connectivity of an industrial Internet of Things system. The application configuration apparatus 100 includes an application selection and combination module 110, an industrial Internet of Things model generation module 120, an edge device end workflow matching and recommendation module 130, a production line scene auxiliary configuration data obtaining module 140, a solution generation and application deployment module 150, and a knowledge base improvement module 160.
With reference to
First, perform step S1, obtaining a resource recommendation prompt from a repository 300 according to a user customized demand of an industrial Internet of Things solution, invoking a resource from a knowledge base 300 to generate an industrial Internet of Things model, and matching an application installed at an industrial cloud 400 and at an edge device end 500 with a configuration needed by the application. The industrial Internet of Things solution includes sets, industrial Internet of Things models, and workflows of different applications. The industrial Internet of Things models and the workflows further include a plurality of applications and a mutual relationship between the applications. An architecture of the industrial Internet of Things solution horizontally includes two parts, namely, the industrial cloud 400 and the edge device end 500. The industrial cloud 400 and the edge device end 50 each include a specific or particular industrial Internet of Things model, an application, a workflow, and the like matching an overall solution. The industrial Internet of Things model is related to a plurality of applications, and the industrial Internet of Things model defines data structures of the applications. Once the industrial Internet of Things model is determined, particular specific applications are determined. Therefore, data interfaces to which the particular specific applications correspond can be learned.
Specifically, as shown in
Specifically, step S1 further includes the following sub-steps.
First perform step S11, selecting the first application APP1 and a parameter needed by the first application APP1 from the industrial cloud application repository 210 of the repository 200 according to the user customized demand of the industrial Internet of Things solution. Preferably, a plurality of first applications APP1 is selected from the industrial cloud application repository 210 of the repository 200 according to the user customized demand of the industrial Internet of Things solution, and the plurality of first applications APP1 is integrated into a first application combination to complete an overall function.
Specifically, the application configuration apparatus 100 includes an application selection and combination module 110, providing a user interface for an end user. The end user may select, through the user interface, the first application APP1 stored by the industrial cloud in the industrial cloud application repository 210. The application selection and combination module 110 can select the needed first application APP1 in the existing industrial cloud application repository 210 according to a user's choice or can integrate the plurality of different first applications APP1 into a first application APP1 combination to complete an overall function. The parameter needed by the first application APP1 may be set according to an input of the user in a user interface, and the application selection and combination module 110 may also map the first application APP1 selected by the user to the needed parameter. The first application APP1 selected by the user or the integrated first application APP1 combination is deployed onto the industrial cloud 400 to provide a service to the end user. An input of the application selection and combination module 110 is the user customized demand or user interface input information, and outputs of the application selection and combination module 110 are the selected first application APP1 or the first application APP1 combination and the needed parameter thereof. The industrial cloud application repository 210 is used to provide metadata of the selected one or more first applications APP1.
Preferably, when the plurality of first applications APP1 is integrated into the first application combination in step S11, step S11 further includes the following step: selecting a plurality of first applications APP1 from the industrial cloud application repository 210 of the repository according to the user customized demand of the industrial Internet of Things solution and integrating the plurality of first applications APP1 into a first application combination.
Then perform sub-step S12, generating, based on the first application APP1, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application APP1, obtaining a first prompt for selecting the industrial Internet of Things model from the industrial Internet of Things model repository 220 according to the user customized demand, and invoking the selected industrial Internet of Things model model1 and a context relationship of the first application APP1 of the industrial Internet of Things model model1 from the knowledge base 300. The application configuration apparatus 100 includes an industrial Internet of Things model generation module 120, selecting the first prompt of the industrial Internet of Things model model1 from the industrial Internet of Things model repository 220 according to the user customized demand. The model is associated with the plurality of first applications APP1. Specifically, the industrial Internet of Things model generation module 120 queries the industrial Internet of Things model repository 220 and the knowledge base 300 to generate the industrial Internet of Things model model1 based on the selected one or more first applications APP1 in step S12. As a premise, the application on which the industrial Internet of Things model in the knowledge base 300 is based is associated with the first application APP1.
The first application APP1 manages a plurality of production line devices. One device may have an industrial Internet of Things model model1. For example, a television has a television model, and a gearbox has a gearbox model. A combination of a plurality of industrial Internet of Things models model1 of all devices managed by a particular first application APP1 is recommended in the first prompt of the industrial Internet of Things model repository 220. It should be noted that the application is only associated with the industrial Internet of Things model, but the model needs to be invoked from the repository 200 or the knowledge base 300 according to information about the associated industrial Internet of Things model. Specifically, as shown in
For example, as shown in
Further, when the plurality of first applications APP1 is integrated into the first application combination in step S11, step S12 includes the following step:
Inputs of the industrial Internet of Things model generation module 120 include:
1. outputs of the application selection and combination module 110, to be specific, the first application APP1 or the first application APP1 combination and a needed parameter thereof, that is, metadata of the first application APP1 and a needed parameter thereof. Association information of the industrial Internet of Things model and the first application APP1 is also included in the metadata.
2. the industrial Internet of Things model repository 120, including a plurality of industrial Internet of Things models model1, where the industrial Internet of Things model model1 further includes entity information such as an apparatus, a machine, a variable, and an entity parameter.
3. an application context scene of the knowledge base 300. The context scene includes connections between a plurality of applications and a relationship between the applications and the industrial Internet of Things model model1.
An output of the industrial Internet of Things model generation module 120 is the industrial Internet of Things model model1 associated with the first application APP1. The first application APP1 may be run based on a data structure defined by the industrial Internet of Things model model1.
Then, perform sub-step S13, matching a workflow template WF from the edge device end application workflow template repository 230 based on the industrial Internet of Things model model1, the workflow template WF including a plurality of second applications APP2 associated with each other, then matching a second prompt of the second application APP2 from the edge device end application repository 230 according to the matched workflow template WF, and invoking a context relationship, a workflow WF, and the second application APP2 of the industrial Internet of Things model model1 from the knowledge base 300, where the second application APP2 includes a preprocessing application and a data obtaining application. The edge device end workflow matching and recommendation module 130 is configured to help, with the aid of the knowledge base 300, the user automatically match and recommend the edge device end second application APP2. An output of the workflow should match the industrial Internet of Things model model1 generated in the foregoing step. Different industrial Internet of Things models model1 should be covered by any one of outputs of the workflow WF and the second application APP2. After outputs of different industrial Internet of Things models model1 are filled with an output of the edge device end 500, the first application APP1 obtains sufficient data to provide a service to the end user.
Specifically, inputs of the edge device end application repository 230 include:
1. the application-based industrial Internet of Things model model1;
2. a workflow template of the edge device end second application APP2. The workflow template includes input/output information of the second application APP2.
3. the edge device end application repository 240, providing metadata of the second application APP2 and an input/output model; and
4. the workflow WF and a context scene of an application input/output model from the knowledge base 300.
Outputs of the edge device end application repository 230 are the matched workflow WF and second application APP2 and a context scene thereof.
A workflow W template of the second application APP2 is a set of workflows predefined for the second application APP2 of the terminal device end 500. The foregoing template is usually used for a combination of the second applications APP2 of the terminal device end 500 and can be reused in a new project. A workflow WF includes a plurality of second applications APP2 and input/output wiring rules of these applications. The workflow WF can be described by using RDF or JSON.
Then perform step S14, as shown in
The application decides that production lines on which data sources need to be collected, and the data sources may be collected from a PLC or from a device on a production line or another apparatus connected to a device. For example, as shown in
As shown in
The context scene includes a relationship between the applications and a relationship between the applications and the industrial Internet of Things model.
Then, after step S1, perform step S2, generating the industrial Internet of Things solution and deploying the matched application to the industrial cloud and the edge device end. Specifically, a final industrial Internet of Things solution is generated according to the matched first application APP1 and second application APP2, and data interfaces and workflows WF needed by the first application APP1 and the second application APP2, and the matched first application APP1 and second application APP2 are invoked from the industrial cloud application repository 210 and the edge device end application repository 240. The first application APP1 and the second application APP2 are respectively deployed to the industrial cloud 400 and the edge device end 500.
When all the applications are selected, matched, and deployed, the solution generation and application deployment module 150 respectively deploys the first application APP1 and the second application APP2 to the industrial cloud 400 and the edge device end 500, to implement the industrial Internet of Things solution. The final industrial Internet of Things solution is the first application APP1, the second application APP2, the industrial Internet of Things model model1, and the workflow WF. The first application APP1 provides a service to the industrial cloud 400. The second application APP2 achieves a function at the edge device end 500. These applications are together connected in the industrial Internet of Things system. The inputs of the production line scene auxiliary configuration data obtaining module 140 are: the first application APP1; the industrial Internet of Things model model1; the matched data obtaining second application APP2; a pre-executed second application and workflow WF; the industrial cloud application repository 210; the edge device end application repository 240; and configurations needed by all the foregoing applications. The outputs of the production line scene auxiliary configuration data obtaining module 140 are: one or more first applications APP1 deployed at the industrial cloud 400; one or more second applications APP2, a workflow WF, and an application configuration that are deployed at the edge device end 500; the industrial Internet of Things model model1 disposed at the industrial cloud 400 and the edge device end 500; and all final industrial Internet of Things solution-based related information sent to the knowledge base 300.
At last, perform step S3, updating a model based on the final industrial Internet of Things solution, an application set and a configuration of the application set, and a context scene to the knowledge base 300 for repeated use. The knowledge base improvement module 160 classifies all selection and configuration information generated in the foregoing process as new knowledge and stores the new knowledge in the knowledge base 300. These statistic records in the knowledge base 300 are subsequently updated and are used to provide a better recommendation service. An input of the knowledge base improvement module 160 is the final industrial Internet of Things solution-based related information, including the application and the configuration of the application, the industrial Internet of Things model model1, and the workflow WF.
The repository 200 includes reusable elements, and the reusable elements are prestored in cloud storage. Each repository is consistent with a service and an application programming interface (API), to obtain or set content. Embodiments include four types of repositories, which represent four types of reusable elements.
The industrial cloud application repository 210 stores the first application APP1, and the first application APP1 is a cloud application and includes a set of the first application APP1 and metadata thereof. The set can be used to start an application in an execution time environment of the first application APP1. The application provides a service to the end user, and the service includes a network service of a user interface or value-add backend features. Most of the foregoing applications can be tightly bound to the industrial Internet of Things model because the industrial Internet of Things model defines that the application enters a data structure of cloud data.
The industrial Internet of Things model repository 220 includes universal entities, domain entities, and a specific instance of a plant or a machine and includes names, parameters, and relationships between different entities. In addition, the industrial Internet of Things model model1 defines a data structure and storage of the application. Different applications have different industrial Internet of Things models model1. The industrial Internet of Things model can be described by using RDF or W3C.
The second application APP2 exists in the edge device end application repository 240, including a combination of the second application APP2 and metadata thereof. The combination is used to start an application in a running time environment of the second application APP2. The foregoing application provides functional execution at the terminal device 500 or a network card. Each second application APP2 has input and output parameters, and an input end and an output end of the second application APP2 can be connected and integrated together to provide an overall function. This is the commonest feature of the second application for data obtaining and preprocessing in the terminal device.
Specifically, the knowledge base 300 provides knowledge and storage information, the knowledge can be described by using an RDF format, and a knowledge service provides a query service using an SPARQL language. The first application for the industrial cloud and the industrial Internet of Things model has internal association, the application metadata is associated with the industrial Internet of Things model, and the industrial Internet of Things model includes names and parameters. The workflow of the second application for the edge device end and an input/output model thereof includes an input and an output of the edge device end workflow and names and types of the input and the output. The domain context scene for recommendation is used to connect the workflow of the second application for the edge device end or a single second application to the industrial Internet of Things model having the first application.
A second embodiment provides an application configuration apparatus of an industrial Internet of Things solution, obtaining a resource recommendation prompt from a repository according to a user customized demand of an industrial Internet of Things solution, invoking a resource from a knowledge base to generate an industrial Internet of Things model, and matching an application installed at an industrial cloud and at an edge device end with a configuration needed by the application; and generating the industrial Internet of Things solution and deploying the matched application to the industrial cloud and the edge device end.
The repository includes:
Further, the application configuration apparatus of an industrial Internet of Things solution further includes: an application configuration apparatus, selecting the first application from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution; and generating, based on the first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application, obtaining a first prompt for selecting the industrial Internet of Things model from the industrial Internet of Things model repository according to the user customized demand, and invoking the selected industrial Internet of Things model and a context relationship of the first application of the industrial Internet of Things model from the knowledge base; an industrial Internet of Things model generation module, matching a workflow template from the edge device end application workflow template repository based on the industrial Internet of Things model, the workflow template including a plurality of second applications associated with each other, then matching a second prompt of the second application from the edge device end application repository according to the matched workflow template, and invoking a context relationship, a workflow, and the second application of the industrial Internet of Things model from the knowledge base, where the second application includes a preprocessing application and a data obtaining application; and an edge device end workflow matching and recommendation module, generating input/output data source configurations of the first application and the second application according to production line context information.
The context scene includes a relationship between the applications and a relationship between the applications and the industrial Internet of Things model.
Further, the application configuration apparatus further selects a plurality of first applications from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution and integrates the plurality of first applications into a first application combination.
Further, the industrial Internet of Things model generation module further generates, based on each first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application and integrates the plurality of industrial Internet of Things model combinations into an industrial Internet of Things model set.
Further, the application configuration apparatus of an industrial Internet of Things solution further includes a solution generation and application deployment module, generating a final industrial Internet of Things solution according to the matched first application and second application, and configurations and workflows needed by the first application and the second application; invoking the matched first application and second application from the industrial cloud application repository and the edge device end application repository or the knowledge base; and respectively deploying the first application and the second application to the industrial cloud and the edge device end.
Further, the application configuration apparatus further includes a knowledge base improvement module 160, updating a model based on the final industrial Internet of Things solution, an application set and a configuration of the application set, and a context scene to the knowledge base for repeated use.
A third embodiment provides an application configuration system of an industrial Internet of Things solution, including: a processor; and a memory coupled to the processor, where the memory has an instruction stored in the memory, the instruction enables the electronic device to execute an action when being executed by the processor, and the action includes: obtaining a resource recommendation prompt from a repository according to a user customized demand of an industrial Internet of Things solution, invoking a resource from a knowledge base or the repository to generate an industrial Internet of Things model, and matching an application installed at an industrial cloud and at an edge device end with a configuration needed by the application; and generating the industrial Internet of Things solution and deploying the matched application to the industrial cloud and the edge device end.
Further, the action further includes: selecting the first application from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution; generating, based on the first application, a plurality of industrial Internet of Things model combinations corresponding to a plurality of devices associated with the first application, obtaining a first prompt for selecting the industrial Internet of Things model from the industrial Internet of Things model repository according to the user customized demand, and invoking the selected industrial Internet of Things model and a context relationship of the first application of the industrial Internet of Things model from the knowledge base; matching a workflow template from the edge device end application workflow template repository based on the industrial Internet of Things model, the workflow template including a plurality of second applications associated with each other, then matching a second prompt of the second application from the edge device end application repository according to the matched workflow template, and invoking a context relationship, a workflow, and the second application of the industrial Internet of Things model from the knowledge base, where the second application includes a preprocessing application and a data obtaining application; and generating input/output data source configurations of the first application and the second application according to production line context information.
Further, the action further includes: selecting a plurality of first applications from the industrial cloud application repository of the repository according to the user customized demand of the industrial Internet of Things solution and integrating the plurality of first applications into a first application combination.
Further, the action further includes: generating a final industrial Internet of Things solution according to the matched first application and second application, and configurations and workflows needed by the first application and the second application; invoking the matched first application and second application from the industrial cloud application repository and the edge device end application repository or the knowledge base; and respectively deploying the first application and the second application to the industrial cloud and the edge device end.
Further, the action further includes: updating a model based on the final industrial Internet of Things solution, an application set and a configuration of the application set, and a context scene to the knowledge base for repeated use.
A fourth embodiment further provides a computer program product, tangibly stored on a computer readable medium and including a computer executable instruction, enabling at least one processor to perform the method in the first embodiment when the computer executable instruction is executed.
A fifth embodiment provides a computer program, storing thereon a computer executable instruction, enabling at least one processor to perform the method in the first embodiment when the computer executable instruction is executed.
Advantages of embodiments lie in providing an end-to-end industrial Internet of Things solution, which implements that an application for the industrial cloud or the edge device end can be reused and reduces workloads of application development and communication between different parts of an industrial Internet of Things system. The embodiments are implemented with the aid of domain knowledge, which provides a simple solution, so that applications can be simply connected to each other, and the applications can be deployed in functions without additional development. Embodiments avoids excessively relying on experts and reduces workloads of providing a production line cloud service.
A repository connection provided in the embodiments assist an industrial Internet of Things project as the knowledge base, a production line context scene can support recommending a simple process to a user, and the knowledge base may also be updated from a generated final industrial Internet of Things solution.
Although the content of the present disclosure is described in detail through the foregoing preferred embodiments, it should be learned that the foregoing description should not be considered as a limitation on the embodiments. After a person skilled in the art reads the foregoing content, various modifications and replacements of the embodiments would be obvious. Therefore, the protection scope of the present disclosure should be limited by the appended claims. In addition, any reference numeral in the claims should not be considered as a limitation on the involved claim. A word “include” does not exclude apparatuses or steps not listed in other claims or in the specification; words such as “first” and “second” are only used to represent names and do not indicate any particular sequence.
This application is the national phase under 35 U.S.C. § 371 of PCT International Application No. PCT/CN2018/120703, which has an International filing date of Dec. 12, 2018, the entire contents of which is incorporated herein by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2018/120703 | 12/12/2018 | WO | 00 |