Semantic-based Internet of things equipment data processing related application program installation method and device

文档序号:884178 发布日期:2021-03-19 浏览:7次 中文

阅读说明:本技术 基于语义的物联网设备数据处理相关应用程序安装方法及装置 (Semantic-based Internet of things equipment data processing related application program installation method and device ) 是由 王晓峰 袁勇 余明 于 2018-07-24 设计创作,主要内容包括:本发明提供了基于语义的物联网设备数据处理相关应用程序安装方法和装置,其中,包括如下步骤:接收分析步骤,接收来自客户端的数据处理需求,从工业云中调取完成该数据处理需求所需安装的至少一个应用程序并分析该应用程序的安装需求以及所需要的源数据;分析判断步骤,分析在所述物联网中能够提供所述源程序的至少一个设备端,从而判断该设备是否满足所述应用程序的安装需求以及提供所需要的源数据;安装步骤,当所述设备端能够满足所述应用程序的安装需求,则安装所述应用程序于所述设备端对应的网关。本发明能够基于语义模型为工业物联网的设备端安装完成客户端数据处理需求所需要的应用程序。(The invention provides a semantic-based method and a semantic-based device for installing data processing related application programs of Internet of things equipment, wherein the method comprises the following steps: receiving and analyzing, namely receiving a data processing requirement from a client, calling at least one application program required to be installed for completing the data processing requirement from an industrial cloud, and analyzing the installation requirement of the application program and required source data; analyzing and judging, namely analyzing at least one equipment end capable of providing the source program in the Internet of things so as to judge whether the equipment meets the installation requirement of the application program and provides required source data; and an installation step, namely, when the equipment end can meet the installation requirement of the application program, installing the application program in a gateway corresponding to the equipment end. The method and the system can install the application program required by the client data processing requirement for the equipment end of the industrial Internet of things based on the semantic model.)

1. The semantic-based Internet of things equipment data processing related application program installation method comprises the following steps:

a receiving and analyzing step, namely receiving a data processing requirement from a client (P), calling at least one application program required to be installed for completing the data processing requirement from an industrial cloud (100) and analyzing the installation requirement of the application program and required source data;

analyzing and judging, namely analyzing at least one equipment end capable of providing the source program in the Internet of things so as to judge whether the equipment meets the installation requirement of the application program and provides required source data;

and an installation step, wherein when the equipment end can meet the installation requirement of the application program, the application program is installed in a gateway (400) corresponding to the equipment end.

2. The semantics-based internet of things device data processing related application installation method of claim 1, wherein the receiving and analyzing step further comprises the steps of:

receiving a data processing requirement from a client (P), and calling a workflow required for completing the data processing requirement from a workflow library (140) of the industrial cloud (100);

decomposing the workflow into a plurality of application programs required for completing the workflow;

reading semantic models of the plurality of applications from an application library (130) in an industrial cloud (100), and analyzing installation requirements and required source data of the plurality of applications;

3. the semantics-based internet of things device data processing related application installation method of claim 1, wherein the analyzing and determining step further comprises the steps of:

reading a semantic model of at least one equipment end capable of providing the source program in the Internet of things in a semantic description layer (500), and analyzing the semantic model so as to judge whether the equipment can provide required source data;

and reading the semantic model of the gateway (400) connected with the device so as to judge whether the gateway (400) connected with the device meets the installation requirement of the application program.

4. The semantics-based internet of things device data processing related application installation method of claim 1, wherein the installation step further comprises the steps of:

and when the equipment end can meet the installation requirement of the application program, calling the application program from an application program library (130) in the industrial cloud (100), and installing the application program in an application program container (410) in a gateway (400) corresponding to the equipment end.

5. The semantics-based internet of things device data processing related application installation method of claim 1, wherein the device-side semantic model comprises:

-an address model (311) comprising a name and an address of the device side on the internet of things;

-a resource model (312) describing a plurality of functions on the device side;

-a content model (313) describing the connection relationships and types of the device side with other devices.

6. The semantics-based internet of things device data processing-related application installation method of claim 1, wherein the semantic model of the gateway (400) comprises any one or more of:

-a CPU occupancy;

-storage space and available storage space capacity;

-a bandwidth;

-throughput rate.

7. The semantics-based internet of things device data processing related application installation method of claim 1, wherein a semantic model of the application is used to describe requirements of the application required by a workflow, the requirements including service requirements (411a) and system resource requirements (411 b).

8. The semantics-based internet of things device data processing related application installation method of claim 2, further comprising the steps of:

the workflow of the data processing requirements of the client (P) is completed based on the installed application.

9. The device for installing the semanteme-based Internet of things equipment data processing related application program comprises a program scheduling module (120) used for:

receiving a data processing requirement from a client (P), calling at least one application program required to be installed for completing the data processing requirement from an industrial cloud (100) and analyzing the installation requirement of the application program and required source data;

analyzing at least one equipment end capable of providing the source program in the Internet of things so as to judge whether the equipment meets the installation requirement of the application program and provides required source data;

when the device end can meet the installation requirement of the application program, the device end is used for installing the application program in a gateway (400) corresponding to the device end.

10. The semantics-based internet of things device data processing-related application installation apparatus of claim 9, wherein the program scheduling module (120) is further configured to:

receiving a data processing requirement from a client (P), and calling a workflow required for completing the data processing requirement from a workflow library (140) of the industrial cloud (100);

decomposing the workflow into a plurality of application programs required for completing the workflow;

reading semantic models of the plurality of applications from an application library (140) in an industrial cloud (100), and analyzing installation requirements and required source data of the plurality of applications;

11. the semantics-based internet of things device data processing-related application installation apparatus of claim 9, wherein the program scheduling module (120) is further configured to:

reading a semantic model of at least one equipment end capable of providing the source program in the Internet of things in a semantic description layer (500), and analyzing the semantic model so as to judge whether the equipment can provide required source data;

and reading the semantic model of the gateway (400) connected with the equipment so as to judge whether the gateway connected with the equipment meets the installation requirement of the application program.

12. The semantics-based internet of things device data processing-related application installation apparatus of claim 9, wherein the program scheduling module (120) is further configured to:

when the device side can meet the installation requirement of the application program, the method is used for calling the application program from an application program library (140) in an industrial cloud (100) and installing the application program in an application program container (410) in a gateway (400) corresponding to the device side.

13. The semantics-based internet of things device data processing related application installation apparatus of claim 9, wherein the device-side semantic model comprises:

-an address model (311) comprising a name and an address of the device side on the internet of things;

-a resource model (312) describing a plurality of functions on the device side;

-a content model (313) describing the connection relationships and types of the device side with other devices.

14. The semantics-based internet of things device data processing-related application installation apparatus of claim 9, wherein the semantic model of the gateway comprises any one or more of:

-a CPU occupancy;

-storage space and available storage space capacity;

-a bandwidth;

-throughput rate.

15. The semantics-based internet of things device data processing-related application installation apparatus of claim 9, wherein the semantic model of the application is used to describe requirements of the application required by the workflow, the requirements including service requirements (411a) and system resource requirements (411 b).

16. The semantics-based internet of things device data processing-related application installation apparatus of claim 10, wherein the program scheduling module (120) is further configured to:

the workflow of the data processing requirements of the client (P) is completed based on the installed application.

Technical Field

The invention relates to the field of industrial Internet of things, in particular to a semantic-based method and device for installing data processing related application programs of Internet of things equipment.

Background

In intelligent plants, Internet of Things (IOT) based data processing systems play an important role in plant data collection and uploading collected data to an industrial cloud. In practical applications, the amount of industrial data collected over a period of time is always very large, and it is difficult for the internet of things data processing system to upload all data to the industrial cloud in time under the condition of limited network bandwidth.

Disclosure of Invention

The invention provides a semantic-based method for installing data processing related application programs of equipment of the Internet of things, which comprises the following steps: receiving and analyzing, namely receiving a data processing requirement from a client, calling at least one application program required to be installed for completing the data processing requirement from an industrial cloud, and analyzing the installation requirement of the application program and required source data; analyzing and judging, namely analyzing at least one equipment end capable of providing the source program in the Internet of things so as to judge whether the equipment meets the installation requirement of the application program and provides required source data; and an installation step, namely, when the equipment end can meet the installation requirement of the application program, installing the application program in a gateway corresponding to the equipment end. According to the method and the system, the semantic model and the performance of the gateway of the equipment end of the Internet of things can be evaluated according to the source data and the installation requirements of the application program, so that the application program required by the client data processing requirements is installed for the equipment end of the industrial Internet of things on the basis of the application program and the semantic model of the gateway.

Further, the receiving and analyzing step further comprises the steps of: receiving a data processing requirement from a client, and calling a workflow required for completing the data processing requirement from a workflow library of an industrial cloud; decomposing the workflow into a plurality of application programs required for completing the workflow; reading semantic models of the plurality of application programs from an application program library in an industrial cloud, and analyzing installation requirements and required source data of the plurality of application programs;

further, the analyzing and judging step further comprises the following steps: reading a semantic model of at least one equipment end capable of providing the source program in the Internet of things in a semantic description layer, and analyzing the semantic model so as to judge whether the equipment can provide required source data; and reading the semantic model of the gateway connected with the equipment so as to judge whether the gateway connected with the equipment meets the installation requirement of the application program.

Further, the mounting step further comprises the steps of: and when the equipment end can meet the installation requirement of the application program, calling the application program from an application program library in the industrial cloud, and installing the application program in an application program container in a gateway corresponding to the equipment end.

Further, the semantic model of the device side includes:

-an address model comprising a name and an address of the device side on the internet of things;

-a resource model describing a plurality of functions on the device side;

-a content model describing the connection relationships and types of the device side to other devices.

Further, the semantic model of the gateway includes any one or more of:

-a CPU occupancy;

-storage space and available storage space capacity;

-a bandwidth;

-throughput rate.

Further, the semantic model of the application is used for describing the requirements of the application required by the workflow, wherein the requirements comprise service requirements and system resource requirements.

Further, it also includes the following steps: the workflow of the data processing requirements of the client is completed based on the installed application.

The invention provides a semantic-based device for installing application programs related to data processing of equipment of the internet of things, which comprises a program scheduling module, a data processing module and a data processing module, wherein the program scheduling module is used for: receiving a data processing requirement from a client, calling at least one application program required to be installed for completing the data processing requirement from an industrial cloud, and analyzing the installation requirement of the application program and required source data; analyzing at least one equipment end capable of providing the source program in the Internet of things so as to judge whether the equipment meets the installation requirement of the application program and provides required source data; and when the equipment end can meet the installation requirement of the application program, the equipment end is used for installing the application program in a gateway corresponding to the equipment end. According to the method and the system, the semantic model and the performance of the gateway of the equipment end of the Internet of things can be evaluated according to the source data and the installation requirements of the application program, so that the application program required by the client data processing requirements is installed for the equipment end of the industrial Internet of things on the basis of the application program and the semantic model of the gateway.

Further, the program scheduling module is further configured to: receiving a data processing requirement from a client, and calling a workflow required for completing the data processing requirement from a workflow library of an industrial cloud; decomposing the workflow into a plurality of application programs required for completing the workflow; reading semantic models of the plurality of application programs from an application program library in an industrial cloud, and analyzing installation requirements and required source data of the plurality of application programs;

further, the program scheduling module is further configured to: reading a semantic model of at least one equipment end capable of providing the source program in the Internet of things in a semantic description layer, and analyzing the semantic model so as to judge whether the equipment can provide required source data; and reading the semantic model of the gateway connected with the equipment so as to judge whether the gateway connected with the equipment meets the installation requirement of the application program.

Further, the program scheduling module is further configured to: and when the equipment end can meet the installation requirement of the application program, calling the application program from an application program library in the industrial cloud, and installing the application program in an application program container in a gateway corresponding to the equipment end.

Further, the semantic model of the device side includes:

-an address model comprising a name and an address of the device side on the internet of things;

-a resource model describing a plurality of functions on the device side;

-a content model describing the connection relationships and types of the device side to other devices.

Further, the semantic model of the gateway includes any one or more of:

-a CPU occupancy;

-storage space and available storage space capacity;

-a bandwidth;

-throughput rate.

Further, the semantic model of the application is used for describing the requirements of the application required by the workflow, wherein the requirements comprise service requirements and system resource requirements.

Further, the program scheduling module is further configured to: the workflow of the data processing requirements of the client is completed based on the installed application.

Drawings

Fig. 1 is a system framework diagram of a semantics-based data processing-related application installation for an internet of things device in accordance with a specific embodiment of the present invention;

FIG. 2 is a diagram of a semantic model of a first application 411 required in a workflow in accordance with a specific embodiment of the present invention;

FIG. 3 is a diagram of a semantic model in a semantic description layer 500 for a first sensor 310 coupled to a machine tool 300, according to an embodiment of the present invention;

fig. 4 is a schematic diagram of the semantic model of the gateway 400 described in the performance module 420 of the gateway 400 according to an embodiment of the present invention.

Description of the reference numerals

P client

100 Industrial cloud

120 program scheduling module

130 application library

131 semantic model module

140 workflow

300 machine tool

310 first sensor

320 second sensor

330 third sensor

311 address model

312 resource model

313 content model

400 gateway

410 application container

411 first application program

411a service requirement

411b System resource requirement

412 second application program

413 third application program

420 performance module

500 semantic description layer

Detailed Description

The following describes a specific embodiment of the present invention with reference to the drawings.

The invention provides a semantic-based Internet of things equipment data processing related Application program installation mechanism, which treats a data processing task as a workflow consisting of a set of building blocks (computing modules), also called Application programs (apps). The application may be transmitted to an industrial cloud (industrial cloud) or a device end of the internet of things, such as a network manager (gateways) or a smart sensor node (smart sensor nodes), and finally the application is installed to the end device to which it is transmitted. In order to support the operation of the application program, an application container (app containers) is arranged at the industrial cloud or the device side of the internet of things, and the application container provides a running environment (runtime environment) for the operation of the application program. To build applications based on data processing workflows, program scheduling (scheduler) can dynamically generate a workflow execution plan (workflow execution plan). The workflow execution plan comprises an application-based workflow and a plan for setting running applications on different industrial cloud ends or equipment ends of the Internet of things. The workflow execution plan is generated based on optimization strategies (optimization strategies) of data processing performance factors (data processing performance factors).

In distributed data processing (distributed data processing), large data processing technologies based on map/reduce, for example, also consider distributing computing modules to different device sides. The main difference between the method and other distributed data processing is that the method provides a group of semantic models for the model distribution of the Internet of things. By utilizing the semantic model, the invention can complete the distributed data processing of resource context-aware (resource context-aware) and resource performance-aware (resource capability-aware) of the Internet of things. The resource context perception indicates whether the resource meets the data processing requirement based on the relationship analysis near the utilization of other resources of the internet of things, and the resource performance perception indicates whether the resources of the internet of things have the capability of supporting the known data processing requirement.

Fig. 1 is a system framework diagram of a semantics-based data processing related application installation for an internet of things device according to a specific embodiment of the present invention. As shown in fig. 1, an industrial cloud 100 and a plurality of gateways and devices coupled to the industrial cloud are provided in the internet of things, in this embodiment, only one gateway 400 is shown, and a machine tool 300 corresponding to the gateway is shown, and three vibration sensors, namely a first sensor 310, a second sensor 320, and a third sensor 330, are further connected to the machine tool 300. The semantic description layer 500 of the internet of things device is used for performing semantic description on the device. The industrial cloud 100 includes a program scheduling module 120, an application library 130, and a workflow library 140, where the application library 130 includes a semantic model module 131 of a plurality of applications. Gateway 400 includes, among other things, an application container 410 and a performance module 420. The second application container 410 contains a plurality of applications, namely a first application 411, a second application 412 and a third application 413. The client P submits a data processing requirement to the industrial cloud 100, and the industrial cloud 100 analyzes the data processing requirement, determines a workflow required for completing the data processing requirement, and decomposes the workflow into a plurality of application programs. The industrial cloud 100 and the gateway 400 determine a source program and an installation requirement required for installing the application program, determine which internet of things device ends can be installed, and finally install the application program required for executing the user data analysis requirement on the end device.

The following describes a method for installing a semantic-based internet of things device data processing related application program according to a first aspect of the present invention with reference to fig. 1. Where the workflow execution plan is generated based on a workflow defined by an expert for a particular data processing task, such as a root mean square (root mean square) based life cycle prediction of the vibration sensor signal. This step is performed by performing semantic matching between the service provided by the application and the semantic description of the data processing task. It is then determined which application container is feasible device is suitable for running the particular application in the workflow, and in particular, an application distribution plan is established based on the semantic description layer 500 of the internet of things, the performance module 420 of the internet of things, and the semantic model of the application. After the application distribution plan is established, the scheduler module 120 makes policy for data that is processed as close as possible, except for semantic matching between device performance and system resources. This means that the application will be distributed close to the data channel point. At the same time, other strategies may optimize the implanted program schedule module for data processing.

Specifically, step S1 is executed first, the receiving and analyzing step receives the data processing requirement from the client P, at least one application required to be installed to complete the data processing requirement is called from the industrial cloud 100, and the installation requirement of the application and the required source data are analyzed.

Wherein, the step S1 includes a first sub-step S11, a second sub-step S12, and a third sub-step S13.

First, in a first substep S11, a data processing requirement from a client P is received, and a workflow required to complete the data processing requirement is retrieved from the workflow library 140 of the industrial cloud 100. Wherein the client P submits data processing requirements to the program scheduling module 120 of the industrial cloud 100. The data processing requirement includes a data processing target, and the data processing requirement is exemplarily "determining a cause of the abnormal vibration condition of the machine tool 300 on the internet of things". The data flow library 140 includes a plurality of workflows, and a series of workflow packages are defined by experts in advance or are arranged after a large amount of user data processing requirements are processed. Specifically, the scheduler module 120 scans the workflow library 140 and performs semantic matching on the workflow description and the data processing goal to select a workflow that can accomplish the data processing goal.

Then, in a second substep S12, the workflow is decomposed into a plurality of applications required to complete the workflow. The workflow capable of fulfilling the data processing requirement of the client P includes a plurality of applications required to fulfill the workflow, for example, one of the plurality of applications is the first application 411.

Finally, in a third sub-step S13, the semantic models of the plurality of applications are read from the application semantic model module 131 of the application library 130 in the industrial cloud, and the installation requirements and the required source data of the plurality of applications are analyzed. For example, in the present embodiment, the data processing requirement input by the user is "determining the reason for the machine tool 300 on the internet of things to generate the abnormal vibration condition", and when receiving the data processing requirement, the program scheduling module 120 analyzes the source data required by the data processing requirement as the vibration signals of the three vibration sensors connected to the machine tool 300, that is, the vibration signals of the first sensor 310, the second sensor 320, and the third sensor 330 shown in fig. 1.

Further, the semantic model of the application is used to describe the requirements of the application needed by the workflow, including service requirements and system resource requirements. Where the service requirements describe services that the application needs, such as data services for a particular sensor. System resource requirements describe the system resources, e.g., memory, CPU, network bandwidth, needed for an application to operate. Fig. 2 is a schematic diagram of a semantic model of one of the first applications 411 required in the workflow of the embodiment. Among them, in the service requirement 411a, the functions of the first application 411 include service 1, service 2, and service 3. In the system resource requirement 411b, the memory required by the first application 411 is 0.1M, the required throughput rate is 1mbps, and the required CPU is 200 MHZ.

Then, step S2 is executed to analyze at least one device side capable of providing the source program in the internet of things, and determine whether the device meets the installation requirement of the application program and provides the required source data. Specifically, a semantic model of at least one device end capable of providing the source program in the internet of things in the semantic description layer 500 is read, and the semantic model is analyzed, so as to determine whether the device meets the installation requirement of the application program and whether the device can provide the required source data. Wherein the step S2 further includes a first sub-step S21 and a second sub-step S22.

In the first sub-step S21, the program scheduling module 120 reads a semantic model of at least one device side of the internet of things capable of providing the source program in the semantic description layer 500, and analyzes the semantic model to determine whether the device can provide the required source data.

Specifically, in the present embodiment, the program scheduling module 120 needs to retrieve a semantic model of the vibration sensor connected to the machine tool 300, including the first sensor 310, the second sensor 320, and the third sensor 330, from the semantic description layer 500. The semantic model of the first sensor 310 is described as an example.

Wherein the device side is based on semantic description, and the semantic model of the device side includes: the address model comprises the name and the address of the equipment end on the Internet of things; a resource model describing a plurality of functions on the device side; and the content model describes the connection relationship and the type of the equipment terminal and other equipment.

Illustratively, fig. 3 shows a semantic model schematic of a first sensor 310 connected to a machine tool 300 in a semantic description layer 500. The first sensor 310 includes an address model 311, a resource model 312, and a content model 313. Specifically, as shown in fig. 3, the first sensor 310 is a sensor S1, which is a type of sensor, in the internet of things. In the address model 311, gateway g1 has an address (i.e., URL), specifically http://10.10.10.1:8080, and sensor S1 has the name (i.e., ID) of vibration _ S1 (vibration sensor). In resource model 312, sensor S1 has three functions, service 1, service 2, and service 3. In the content model 313, the sensor S1 is connected with the gateway g1, and the gateway g1 is of the gateway type. The sensor S1 is provided with a motor m1, the motor m1 being of the type.

Therefore, based on the semantic model of the first sensor 310, step S2 can determine whether the first sensor 310 is suitable for installing the application. It should be noted that only the semantic model of the first sensor 310 is described herein, and the second sensor 320 and the third sensor 330 have similar semantic models to determine whether it is appropriate to install the application. For the sake of brevity, no further description is provided.

Among other things, the program schedule module 120 distributes and manages the devices of the internet of things to generate a feasible and efficient workflow execution plan. Therefore, the semantic description layer 500 of the device side of the internet of things is used for describing the device side distribution and performance of the internet of things. The semantic description layer 500 of the internet of things device side has three functions, the first function is to describe the capability of the internet of things device, and the capability of the device has a relationship with the service that the internet of things device can provide. The second function is to describe the channel between the source data and the application program, the data generated by each internet of things device is the basis for the analysis in step S2, and each data source needs to be connected to a gateway. The gateway is responsible for source data (e.g., the first sensor 310, the second sensor 320, and the third sensor 330 from the machine tool 300) and provides a channel to provide the source data to the application. The path from the source data to the application is in the form of a tuple, including the gateway address and the source data id, etc. The third function is to describe the content information of the source data, and the content information comprises the position of the source data and the relationship between the source data and other resources of the internet of things.

In a second sub-step S22, the program scheduling module 120 reads the semantic model of the gateway 400 to which the device is connected, so as to determine whether the gateway 400 to which the device is connected satisfies the installation requirements of the application. Wherein the semantic model of the gateway 400 is provided in the performance module 420.

Specifically, the semantic description layer 500 of the device end of the internet of things may be used to describe the device end distribution and performance of the internet of things, and may also describe components on the industrial cloud 100, so that the program scheduling module 120 of the industrial cloud 100 determines whether the application program can be installed on the components of the industrial cloud 100.

Further, the semantic model of the gateway includes any one or more of:

-a CPU occupancy;

-storage space and available storage space capacity;

-a bandwidth;

-throughput rate.

The performance of the equipment of the Internet of things is the basis of an application program distribution plan in a workflow, so the invention also provides a semantic model of the performance of the equipment of the Internet of things. Fig. 4 shows a semantic model diagram of a performance module 420 of a gateway 400 according to a specific embodiment of the present invention. The semantic model of the gateway 400 in the performance module 420 of the gateway 400, wherein the gateway 400 is the gateway g1 in fig. 3. The type of the gateway g1 is a gateway, and the gateway has a memory 200M, an unused memory 1848M, CPU occupancy rate of 30%, a throughput rate of 20mbps and a bandwidth of 2M. Wherein the performance module represents a device feature (device specific), which means that different devices have different performance modules. Compared with the semantic description layer of the internet of things, the performance module is stored in the device, and the semantic description layer is stored in the server.

Then, step S3 is executed, and when the device side can meet the installation requirement of the application program, the application program is installed in the gateway 400 corresponding to the device side. Specifically, according to the present embodiment, after the semantic matching actions in steps S1 and S2, when the device side (i.e. the first sensor 310) can meet the installation requirement of the first application 411, the first application 411 is called from the application library 130 in the industrial cloud 100, and the first application 411 is installed in the application container 410 in the gateway 400 corresponding to the device side.

Finally, step S4 is executed to complete the workflow of "determining the cause of the machine tool 300 on the internet of things to generate the abnormal vibration condition" of the client based on the installed first application 411 and the like, thereby completing the data processing requirement "determining the cause of the machine tool 300 on the internet of things to generate the abnormal vibration condition" of the client.

The second aspect of the present invention provides a semantic-based device for installing data processing related applications in an internet of things, where the device includes a program scheduling module 120, configured to: receiving a data processing requirement from a client P, calling at least one application program required to be installed to complete the data processing requirement from the industrial cloud 100, and analyzing the installation requirement of the application program and required source data; analyzing at least one equipment end capable of providing the source program in the Internet of things so as to judge whether the equipment meets the installation requirement of the application program and provides required source data; when the device side can meet the installation requirement of the application program, it is used to install the application program in the gateway 400 corresponding to the device side.

Further, the program scheduling module 120 is further configured to: receiving a data processing requirement from the client P, and calling a workflow required for completing the data processing requirement from the workflow library 140 of the industrial cloud 100; decomposing the workflow into a plurality of application programs required for completing the workflow; reading semantic models of the plurality of applications from an application library 140 in the industrial cloud 100, and analyzing installation requirements and required source data of the plurality of applications;

further, the program scheduling module 120 is further configured to: reading a semantic model of at least one device end capable of providing the source program in the internet of things in the semantic description layer 500, and analyzing the semantic model so as to judge whether the device can provide required source data; and reading the semantic model of the gateway 400 connected with the device, so as to judge whether the gateway connected with the device meets the installation requirement of the application program.

Further, the program scheduling module 120 is further configured to: when the device side can meet the installation requirement of the application program, the device side is used for calling the application program from the application program library 140 in the industrial cloud 100 and installing the application program in the application program container 410 in the gateway 400 corresponding to the device side.

Further, the semantic model of the device side includes: an address model 311, which includes the name and address of the device side on the internet of things; a resource model 312, which describes a plurality of functions on the device side; a content model 313, which describes the connection relationships and types of the device side to other devices.

Further, the semantic model of the gateway includes any one or more of: CPU occupancy rate; storage space and available storage space capacity; a bandwidth; the throughput rate.

Further, the semantic model of the application is used to describe the requirements of the application needed by the workflow, including service requirements 411a and system resource requirements 411 b.

Further, the program scheduling module 120 is further configured to: the workflow of the data processing requirements of the client P is completed based on the installed application.

According to the method and the system, the semantic model and the performance of the gateway of the equipment end of the Internet of things can be evaluated according to the source data and the installation requirements of the application program, so that the application program required by the client data processing requirements is installed for the equipment end of the industrial Internet of things on the basis of the application program and the semantic model of the gateway.

The invention can release the application program at the equipment end of the Internet of things, has a reasonable application program running environment, ensures that the data processing process is as close to the data processing point as possible, and greatly reduces the data transmission cost of the Internet of things system. The invention relates to a semantic model of a basic internet of things equipment end, equipment end performance and an application program, and the semantic model ensures a context-aware (context-aware) and capability-aware (capability-aware) distributed data calculation process of internet of things source data. The method can find a suitable operation position for the application program in the Internet of things system based on the semantic model, and optimizes the execution steps of the whole process.

While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims. Furthermore, any reference signs in the claims shall not be construed as limiting the claim concerned; the word "comprising" does not exclude the presence of other devices or steps than those listed in a claim or the specification; the terms "first," "second," and the like are used merely to denote names, and do not denote any particular order.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于分析源代码的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!