Modeling method and device for information model of industrial internet identification

文档序号:1875566 发布日期:2021-11-23 浏览:19次 中文

阅读说明:本技术 一种用于工业互联网标识的信息模型的建模方法及装置 (Modeling method and device for information model of industrial internet identification ) 是由 王金业 张为民 于 2021-08-23 设计创作,主要内容包括:本发明提供了一种用于工业互联网标识的信息模型的建模方法及装置,所述方法包括:使用第一生成器,处理数据源,获得数据模板,所述数据源经第一生成器获得数据模板的映射关系为第一映射关系;使用第二生成器,处理数据源,获得标识编码,所述数据源经第二生成器获得标识编码的映射关系为第二映射关系;使用第三生成器,处理数据源,获得解析数据,所述数据源经第三生成器获得解析数据的映射关系为第三映射关系;以及使用第四生成器,处理数据源、第一映射关系、第二映射关系、第三映射关系,获得信息模型。本发明的用于工业互联网标识的信息模型的建模方法及装置便于标识信息传播、可完整表述标识信息。(The invention provides a modeling method and a device for an information model of industrial internet identification, wherein the method comprises the following steps: processing a data source by using a first generator to obtain a data template, wherein the mapping relation of the data source obtained by the first generator is a first mapping relation; processing the data source by using a second generator to obtain an identification code, wherein the mapping relation of the identification code obtained by the data source through the second generator is a second mapping relation; processing the data source by using a third generator to obtain analysis data, wherein the mapping relation of the analysis data obtained by the data source through the third generator is a third mapping relation; and processing the data source, the first mapping relation, the second mapping relation and the third mapping relation by using a fourth generator to obtain the information model. The modeling method and the device for the information model of the industrial internet identification are convenient for the propagation of the identification information and can completely express the identification information.)

1. A modeling method for an information model of industrial internet identification, the method comprising the steps of:

processing a data source by using a first generator to obtain a data template, wherein the mapping relation of the data source obtained by the first generator is a first mapping relation;

processing the data source by using a second generator to obtain an identification code, wherein the mapping relation of the identification code obtained by the data source through the second generator is a second mapping relation;

processing the data source by using a third generator to obtain analysis data, wherein the mapping relation of the analysis data obtained by the data source through the third generator is a third mapping relation; and

and processing the data source, the first mapping relation, the second mapping relation and the third mapping relation by using a fourth generator to obtain the information model.

2. The modeling method of information model for industrial internet id as claimed in claim 1, wherein said data source is owned by the id parsing platform user, configured by the user himself, and represented by the expression "data name: the number of data is determined by a user, is a generation basis of the data template, is a coding basis of the identification code, and is an analysis basis of the analysis data.

3. The modeling method for information model of industrial internet identification as claimed in claim 2, wherein said data template is used by the identification parsing platform to describe the structure, data name, data type of the identification information, and data stored in the form of hypertext or spreadsheet.

4. The modeling method for the information model of industrial internet identity as claimed in claim 2, wherein said first generator can process not only the data source to obtain the data template, but also the first mapping relationship to obtain the data template.

5. The modeling method for the information model of industrial internet identification as claimed in claim 2, wherein the identification code is non-empty string data used by the identification parsing platform to represent the unique identity of the identification information.

6. The modeling method for the information model of industrial internet identity as claimed in claim 2, wherein said second generator can process not only the data source to obtain the identity code, but also the second mapping relationship to obtain the identity code.

7. The modeling method for the information model of industrial internet identity as claimed in claim 2, wherein said third generator can process not only the data source to obtain the analytic data, but also the third mapping relationship to obtain the analytic data.

8. The modeling method of an information model for industrial internet identification as claimed in claim 1, wherein the information model is a four-segment information model, wherein a first segment is the data source, a second segment is the first mapping relationship, a third segment is the second mapping relationship, and a fourth segment is the third mapping relationship.

9. The modeling method of the information model for industrial internet identification as claimed in claim 8, wherein said fourth generator can process said first mapping relation, said second mapping relation, said third mapping relation and said data source to obtain said four-segment information model; the four-segment information model may also be processed to obtain the first mapping relationship, the second mapping relationship, the third mapping relationship, and the data source.

10. A modeling apparatus for an information model of industrial internet identification, the apparatus comprising:

a first creation module configured to obtain a data template, an identification code, and parsed data according to a data source, the first creation module comprising:

the first generation module is used for obtaining the data template according to the data source or a first mapping relation, wherein the first mapping relation refers to the mapping relation of the data source obtained by the first generation module;

the second generation module is used for obtaining the identification code according to the data source or a second mapping relation, wherein the first mapping relation refers to the mapping relation of the data source obtained the identification code through the second generation module;

the third generation module is used for obtaining the analysis data according to the data source or a third mapping relation, wherein the first mapping relation refers to the mapping relation of the data source obtaining the analysis data through the third generation module; and

a second creating module, configured to obtain an information model according to the data source, the first mapping relationship, the second mapping relationship, and the third mapping relationship, where the second creating module includes:

and the fourth generation module is used for acquiring the information model according to the data source, the first mapping relation, the second mapping relation and the third mapping relation.

Technical Field

The invention relates to the technical field of industrial internet identification, in particular to a modeling method and a device for an information model of industrial internet identification.

Background

At present, an industrial internet identifier analysis system is divided into five levels, namely a root node, a national top node, a secondary node, an enterprise node and a public recursion node, and any identifier accessed to the national top node can be analyzed and queried by using an industrial internet identifier analysis platform.

Whether the existing analysis query operation is initiated by a national top level node, a secondary node or an enterprise node, the expression form of the analyzed identification information comprises the following steps: the data template, the identification code and the analysis data are composed of three parts, because the identification is mostly registered by each secondary node platform, the quantity of the secondary node platforms is large, and because the industrial internet identification analysis industry is wide in popularization and application range, the identification registered on each secondary node platform often has the following problems in the data template, the identification code and the analysis data:

1. the data template is diversified, the identification coding mode is diversified, and the identification information is diversified;

2. the internal identification information managed by each secondary node can be self consistent, and when identification analysis is carried out across a secondary node platform or through a national top node, the diversity of the identification information is not beneficial to information transmission, so that information transmission barrier on identification information communication is brought;

3. invalid information often appears among data template, identification code, the analytic data among the identification information, if: there is no complete correspondence between the identification code and the parsed data, the identification code process cannot be explained, and so on.

Disclosure of Invention

In order to solve the problems of unclear information transmission, insufficient information quantity or redundancy of identification information in a cross-domain process in the prior art, the invention aims to provide a modeling method and a modeling device of an information model for industrial internet identification, which are convenient for identification information propagation and complete expression of the identification information.

In order to solve the problems, the technical scheme of the invention is as follows:

a modeling method for an information model for industrial internet identification, the method comprising the steps of:

processing a data source by using a first generator to obtain a data template, wherein the mapping relation of the data source obtained by the first generator is a first mapping relation;

processing the data source by using a second generator to obtain an identification code, wherein the mapping relation of the identification code obtained by the data source through the second generator is a second mapping relation;

processing the data source by using a third generator to obtain analysis data, wherein the mapping relation of the analysis data obtained by the data source through the third generator is a third mapping relation; and

and processing the data source, the first mapping relation, the second mapping relation and the third mapping relation by using a fourth generator to obtain the information model.

Optionally, the data source is held by a user of the identifier resolution platform, configured by the user, and represented by a "data name: the number of data is determined by a user, is a generation basis of the data template, is a coding basis of the identification code, and is an analysis basis of the analysis data.

Optionally, the data template is used by the identity resolution platform to describe the structure, data name, and data type of the identity information, and stores data in the form of hypertext or spreadsheet.

Optionally, the first generator may process not only the data source to obtain the data template, but also the first mapping relationship to obtain the data template.

Optionally, the identification code is non-empty string data used by the identification resolution platform to represent the unique identity of the identification information.

Optionally, the second generator may process not only the data source to obtain the identification code, but also the second mapping relationship to obtain the identification code.

Optionally, the third generator may process not only the data source to obtain the analysis data, but also the third mapping relationship to obtain the analysis data.

Optionally, the information model is a four-segment information model, where a first segment is the data source, a second segment is the first mapping relationship, a third segment is the second mapping relationship, and a fourth segment is the third mapping relationship.

Optionally, the fourth generator may process the first mapping relationship, the second mapping relationship, the third mapping relationship and the data source to obtain the four-stage information model; the four-segment information model may also be processed to obtain the first mapping relationship, the second mapping relationship, the third mapping relationship, and the data source.

Further, the present invention also provides a modeling apparatus for an information model of industrial internet identification, comprising:

a first creation module configured to obtain a data template, an identification code, and parsed data according to a data source, the first creation module comprising:

the first generation module is used for obtaining the data template according to the data source or a first mapping relation, wherein the first mapping relation refers to the mapping relation of the data source obtained by the first generation module;

the second generation module is used for obtaining the identification code according to the data source or a second mapping relation, wherein the first mapping relation refers to the mapping relation of the data source obtained the identification code through the second generation module;

the third generation module is used for obtaining the analysis data according to the data source or a third mapping relation, wherein the first mapping relation refers to the mapping relation of the data source obtaining the analysis data through the third generation module; and

a second creating module, configured to obtain an information model according to the data source, the first mapping relationship, the second mapping relationship, and the third mapping relationship, where the second creating module includes:

and the fourth generation module is used for acquiring the information model according to the data source, the first mapping relation, the second mapping relation and the third mapping relation.

Compared with the prior art, the invention solves the problems of unclear information transmission, insufficient information quantity or redundancy of the identification information in the cross-domain process in the prior art, establishes an information model convenient for identification information transmission, can express the mapping relation between a data template, identification codes and analytic data contained in the identification information and a data source, and is convenient for the cross-domain information transmission of the identification information.

Drawings

Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:

FIG. 1 is a flow chart of a modeling method of an information model for industrial Internet identification according to an embodiment of the invention;

FIG. 2 is a schematic representation of an information model provided by an embodiment of the present invention;

fig. 3 is a schematic structural diagram of a modeling device of an information model for industrial internet identification according to an embodiment of the present invention.

Detailed Description

The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.

Specifically, as shown in fig. 1, the present invention provides a modeling method for an information model of industrial internet identification, the method comprising the steps of:

s1: processing a data source by using a first generator to obtain a data template, wherein the mapping relation of the data source obtained by the first generator is a first mapping relation;

specifically, in step S1, the data source is owned by the user of the id resolution platform, configured by the user, and represented by the form "data name: each piece of data of the numerical value "is composed, the amount of the data is determined by a user, and is a basis for generating the data template, the form of the data source is as in the paragraph of" data source "in fig. 2, the data template is used by the identifier resolution platform, is used for describing the structure, data name and data type of the identifier information, and stores data in the form of Hypertext (Hypertext) or spreadsheet (Electronic form).

In step S1, the mapping relationship that the data source obtains the data template through the first generator is referred to as a first mapping relationship, the first mapping relationship is used to represent the operation step of the identity parsing platform generating the data template from the data source, and according to the first mapping relationship, anyone can parse the data source and the data template under the mapping relationship, and can obtain the method step of creating the data template from the data source.

In this embodiment, the expression method of the first mapping relationship is as shown in the paragraph of "first mapping relationship" in fig. 2, where the paragraph decomposes the first mapping relationship into N steps, where N is a positive integer, each step is an abstract expression of a data template generated by processing a data source by a first generator, and according to each step, a corresponding data template can be obtained by using the first generator, and after all the steps are performed, a complete data template can be obtained.

In this embodiment, the first generator may process not only the data source to obtain the data template, but also the first mapping relationship, and may also obtain the data template, where the first generator distinguishes whether the data source is the data source or the first mapping relationship according to the flag bit of the input data.

S2: processing the data source by using a second generator to obtain an identification code, wherein the mapping relation of the identification code obtained by the data source through the second generator is a second mapping relation;

specifically, in step S2, the data source is owned by the user of the id resolution platform, configured by the user, and represented by the form "data name: each piece of data of the value "is composed, the quantity of the data is determined by the user, and the number is the coding basis of the identification code.

The identification code is used by the identification analysis platform and used for representing non-empty character string data of the unique identity of identification information, in the industrial internet identification analysis platform, the identification code is composed of an identification prefix, an identification suffix and a separator, the identification prefix is distributed by an industrial internet identification analysis system and is a non-modifiable character string bound with a node where the identification analysis platform is located, the identification suffix can be customized, the uniqueness of the identification suffix on the identification analysis platform where the identification suffix is located is ensured, and the expression form of the identification code is 'identification prefix/identification suffix'.

In this embodiment, the mapping relationship in which the data source obtains the identifier code through the second generator is referred to as a second mapping relationship, the second mapping relationship is used to represent an operation step in which the identifier parsing platform generates the identifier code according to the data source, according to the second mapping relationship, anyone can parse the data source and the identifier code under the mapping relationship, and can obtain a logical encoding step of the identifier code, including but not limited to an encryption step and a splicing step.

The expression method of the second mapping relationship is as shown in the paragraph of "second mapping relationship" in fig. 2, the paragraph decomposes the second mapping relationship into N steps, where N is a positive integer, each step is to generate an abstract expression of an identification code for a data source processed by the second generator, and according to each step, the second generator can obtain a corresponding identification code, and after all steps are executed, a complete identification code can be obtained.

In this embodiment, the second generator may not only process the data source to obtain the identification code, but also process the second mapping relationship to obtain the identification code, and the second generator distinguishes whether the data source or the second mapping relationship is the data source or the second mapping relationship according to the flag bit of the input data.

S3: processing the data source by using a third generator to obtain analysis data, wherein the mapping relation of the analysis data obtained by the data source through the third generator is a third mapping relation;

specifically, in step S3, the data source is owned by the user of the id resolution platform, configured by the user, and represented by the form "data name: each piece of data of the numerical value "is composed, and the quantity of the data is determined by a user and is an analysis basis of the analysis data.

In this embodiment, the mapping relationship of the data source obtained from the third generator through the analysis data is referred to as a third mapping relationship, the third mapping relationship is used to identify the operation step of the identifier analysis platform where the data source is located to generate the analysis data according to the data source, according to the third mapping relationship, anyone can analyze the data source and the analysis data under the mapping relationship, and can obtain corresponding logic of the data source and the analysis data or a definition of the data source.

The third mapping relation is expressed as a "third mapping relation" paragraph in fig. 2, in which the third mapping relation is decomposed into N steps, where N is a positive integer, each step is an abstract expression of analytic data generated by processing a data source by a third generator, and according to each step, the third generator may obtain corresponding analytic data, and after all steps are performed, complete analytic data may be obtained.

The third generator can process the data source to obtain the analysis data, can process the third mapping relation and can also obtain the analysis data, and the third generator distinguishes the data source or the third mapping relation according to the flag bit of the sent data.

S4: and processing the data source, the first mapping relation, the second mapping relation and the third mapping relation by using a fourth generator to obtain the information model.

Specifically, in the step S4, the information model is a four-segment information model, where a first segment of the information model is the data source, a second segment is the first mapping relationship, a third segment is the second mapping relationship, and a fourth segment is the third mapping relationship. The four-segment information model may be in any form, and in the form of written representation, the four-segment information model is a text containing four segments, in this embodiment, the storage form of the four-segment information model is a JSON data format encoded by UTF8, as shown in fig. 2 specifically, and fig. 2 is a schematic diagram of an information model representation form provided by an embodiment of the present invention.

In step S4, the fourth generator may generate the first mapping relationship, the second mapping relationship, the third mapping relationship and the data source, and further obtain the four-segment information model, which corresponds to a process of creating an information model according to the existing identification information on the identification parsing platform by a user, and the process also includes processes of creating a data template, identifying a code and parsing data.

The fourth generator may also process the four-segment information model, analyze the first mapping relationship, the second mapping relationship, the third mapping relationship and the data source, and further obtain the data template of the identifier, the identifier code and the analysis data, which corresponds to a process of analyzing the identifier information in a cross-domain manner on the identifier analysis platform by the user.

As shown in fig. 3, an embodiment of the present invention discloses a modeling apparatus for an information model of industrial internet identification, the apparatus including:

a first creating module 1000, configured to obtain a first mapping relationship, a second mapping relationship, and a third mapping relationship according to a data source;

a second creating module 2000, configured to obtain an information model according to the data source, the first mapping relationship, the second mapping relationship, and the third mapping relationship;

further, the first creating module 1000 includes:

a first generation module 1001, configured to obtain a data template according to a data source or a first mapping relationship, where the first mapping relationship refers to a mapping relationship in which the data source obtains the data template through the first generation module 1001;

a second generating module 1003, configured to obtain the identifier code according to the data source or a second mapping relationship, where the second mapping relationship refers to a mapping relationship in which the data source obtains the identifier code through the second generating module 1003;

a third generating module 1005, configured to obtain the analysis data according to the data source or a third mapping relationship, where the third mapping relationship refers to a mapping relationship in which the data source obtains the analysis data through the third generating module 1005;

further, the second creating module 2000 includes:

the fourth generating module 2001 is configured to create the first mapping relationship, the second mapping relationship, and the third mapping relationship, and may be configured to process the data source, the first mapping relationship, the second mapping relationship, and the third mapping relationship to obtain the information model.

Compared with the prior art, the invention solves the problems of unclear information transmission, insufficient information quantity or redundancy of the identification information in the cross-domain process in the prior art, establishes an information model convenient for identification information transmission, can express the mapping relation between a data template, identification codes and analytic data contained in the identification information and a data source, and is convenient for the cross-domain information transmission of the identification information.

The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:图划分方法、装置、计算机设备和存储介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!