Remote sensing model data standardization processing method

文档序号:1127737 发布日期:2020-10-02 浏览:20次 中文

阅读说明:本技术 一种遥感模型数据标准化处理方法 (Remote sensing model data standardization processing method ) 是由 于文洋 李国庆 曹彩红 于 2020-06-05 设计创作,主要内容包括:本发明公开一种遥感模型数据标准化处理方法,包括以下步骤:根据遥感模型输入参数和输出结果的特征,总结出遥感模型描述所需的必要属性,分别为参数名称、参数类型、参数解释说明、参数范围、参数数量以及其默认取值;对遥感模型描述的属性进行分类,包括主要属性和子属性,并结合WPS描述方式对输入参数和输出结果进行统一描述,主要属性包括参数名称,子属性包括参数类型、参数方向、参数解释说明、参数默认缺省取值、参数取值范围以及参数数量;采用XML元素标记方法对主要属性和子属性进行格式化处理。本发明解决了因遥感模型数量庞大,且其特征及其分布各不相同造成的难以共享和重用的问题,为遥感模型的集成和共享奠定了基础。(The invention discloses a remote sensing model data standardization processing method, which comprises the following steps: according to the characteristics of the input parameters and the output results of the remote sensing model, necessary attributes required by the description of the remote sensing model are summarized, wherein the necessary attributes are parameter names, parameter types, parameter explanation descriptions, parameter ranges, parameter numbers and default values of the parameter names, parameter types, parameter explanation descriptions, parameter ranges and parameter numbers; classifying the attributes described by the remote sensing model, wherein the attributes comprise main attributes and sub-attributes, the input parameters and the output results are uniformly described in combination with a WPS description mode, the main attributes comprise parameter names, and the sub-attributes comprise parameter types, parameter directions, parameter explanation descriptions, parameter default values, parameter value ranges and parameter numbers; and adopting an XML element marking method to format the main attribute and the sub-attribute. The invention solves the problem that the remote sensing models are difficult to share and reuse due to huge quantity and different characteristics and distribution of the remote sensing models, and lays a foundation for integration and sharing of the remote sensing models.)

1. A remote sensing model data standardization processing method is characterized by comprising the following steps: the method comprises the following steps:

step 1, summarizing necessary attributes required by remote sensing model description according to the characteristics of input parameters and output results of the remote sensing model, wherein the necessary attributes are parameter names, parameter types, parameter explanation descriptions, parameter ranges, parameter quantity and parameter default values respectively;

step 2, classifying attributes described by the remote sensing model, and uniformly describing input parameters and output results of the remote sensing model by combining a WPS description mode, wherein the attributes comprise main attributes and sub-attributes, the main attributes comprise parameter names paramName, and the sub-attributes comprise parameter types paramTypes, parameter directions paramDiection, parameter explanation paramDescription, parameter default values paramDefault, parameter value range paramRange and parameter number paramNumber;

and 3, formatting the main attribute and the sub-attribute by adopting an XML element marking method.

2. The remote sensing model data standardization processing method as claimed in claim 1, characterized in that the parameter name paramName is an important identifier for identifying a parameter file, and has uniqueness;

the parameter type paramTypes is a data type of input or output parameters, and supports commonly used text data types and complex data types;

the parameter direction paramDirection is used for identifying the IO type of the discrimination parameter;

the parameter explanation description is used for explaining the action content of the parameter in detail;

the parameter default value paramDefault is a default value of a parameter, and when the parameter type paramTypes is an int integer type and a String type, the default value paramDefault is provided by a system in a default mode;

the sub-attributes of the parameter value range paramRange include a maximum value of the parameter value range and a minimum value of the parameter value range, the parameter value range paramRange is determined by defining the maximum value of the parameter value range and the minimum value of the parameter value range, and when the parameter type paramType is a specific type, the value of the parameter value range paramRange is an effective value;

the sub-attributes of the parameter number paramNumber comprise the maximum number and the minimum number of the parameters, the upper limit and the lower limit of the parameter number paramNumber are determined by the maximum number and the minimum number of the parameters, the number of the parameter number paramNumber with the same parameter name is one or more, and the parameter number paramNumber is used for realizing the small-batch data operation.

3. The remote sensing model data normalization processing method according to claim 1, wherein the elements marked by the XML element marking method include root element parameters which are unique and exist in one document only, and the root element parameters are used for storing all parameter contents and creating a space for the parameter contents.

4. The remote sensing model data standardization processing method of claim 3, wherein the elements marked by the XML element marking method further comprise parameter elements param, the parameter elements param are sub-elements of the root elements parameters, the number of the parameter elements param is one or more, the parameter elements param need to be matched with detailed input and output parameters of the remote sensing model, the parameter elements param are used for describing detailed contents of each parameter, and the parameter name paramName attribute in the parameter elements param is an identifier representing uniqueness of the parameter elements and needs to be edited and corresponds to parameters of the remote sensing model.

5. The remote sensing model data standardization processing method of claim 4, wherein the parameter elements param include a parameter data type, a parameter IO type direction, a parameter description type desc, a default value default, a minimum value min, a maximum value max, a minimum occurrence sub and a maximum occurrence sup.

6. The remote sensing model data standardization processing method of claim 5, wherein the parameter data type is used for describing the data type of the current parameter element;

the parameter IO type direction is used for describing the IO type of the current parameter element;

the parameter description type desc is used for describing and explaining key information of the current parameter element;

the default value default represents the default value of the current parameter;

the minimum value min represents the minimum value of the parameter;

the maximum value max represents the maximum value of the parameter;

the minimum occurrence sub represents the minimum occurrence of the current parameter;

the maximum occurrence number sup represents the maximum occurrence number of the current parameter.

Technical Field

The invention relates to the field of spatial information description and sharing, in particular to a remote sensing model data standardization processing method.

Background

With the continuous progress of the aerospace industry and technology, the acquisition sources and the acquisition modes of remote sensing data are gradually diversified and simplified, so that the space data volume is rapidly increased, and a large number of remote sensing analysis processing models are developed. The models are combined with computer technology, and the development language, the operation mode and the like are all five-fold, so that the standardized description of the remote sensing model data becomes a hot problem for research. The currently common spatial information processing service description techniques mainly include: web Services Description language (wsdl) based on Web Service, and Web Processing Service (wps) based on OGC. Although each of these techniques has some features, there are still many problems, for example, if the WPS is used to describe the remote sensing model, there are two problems: (1) partial attributes of the remote sensing model are not set in description elements of the WPS, and need to be automatically expanded, so that extra workload is increased; (2) the WPS has various and complex functions, only extremely individual elements are used when the WPS is used for describing the remote sensing model, so that a large amount of functional redundancy is caused, and the whole remote sensing model description process is heavy. Therefore, there is a need to improve the conventional spatial information processing method to solve the defects of the prior art and realize the integration and sharing of data.

Disclosure of Invention

Aiming at the problems that the number of the remote sensing models is huge, the characteristics and the distribution of the remote sensing models are different, and the remote sensing models are difficult to share and reuse, the invention provides a remote sensing model data standardization processing method, which is used for standardizing and standardizing the relevant information of the remote sensing models and lays a foundation for the integration and sharing of the remote sensing models.

In order to achieve the purpose, the invention provides the following scheme: the invention provides a remote sensing model data standardization processing method, which comprises the following steps:

step 1, summarizing necessary attributes required by remote sensing model description according to the characteristics of input parameters and output results of the remote sensing model, wherein the necessary attributes are parameter names, parameter types, parameter explanation descriptions, parameter ranges, parameter quantity and parameter default values respectively;

step 2, classifying attributes described by the remote sensing model, and uniformly describing input parameters and output results of the remote sensing model by combining a WPS description mode, wherein the attributes comprise main attributes and sub-attributes, the main attributes comprise parameter names paramName, and the sub-attributes comprise parameter types paramTypes, parameter directions paramDiection, parameter explanation paramDescription, parameter default values paramDefault, parameter value range paramRange and parameter number paramNumber;

step 3, adopting an XML element marking method to format the main attribute and the sub-attribute;

preferably, the parameter name paramName is an important identifier for identifying the parameter file, and has uniqueness;

the parameter type paramTypes is a data type of input or output parameters, and supports commonly used text data types and complex data types;

the parameter direction paramDirection is used for identifying the IO type of the discrimination parameter;

the parameter explanation description is used for explaining the action content of the parameter in detail;

the parameter default value paramDefault is a default value of a parameter, and when the parameter type paramTypes is an int integer type and a String type, the default value paramDefault is provided by a system in a default mode;

the sub-attributes of the parameter value range paramRange include a maximum value of the parameter value range and a minimum value of the parameter value range, the parameter value range paramRange is determined by defining the maximum value of the parameter value range and the minimum value of the parameter value range, and when the parameter type paramType is a specific type, the value of the parameter value range paramRange is an effective value;

the sub-attributes of the parameter number paramNumber comprise the maximum number and the minimum number of the parameters, the upper limit and the lower limit of the parameter number paramNumber are determined by the maximum number and the minimum number of the parameters, the number of the parameter number paramNumber with the same parameter name is one or more, and the parameter number paramNumber is used for realizing the small-batch data operation.

Preferably, the elements marked by the XML element marking method include root element parameters which have uniqueness, one and only one in one document, and the root element parameters are used for storing all parameter contents and creating a space for the parameter contents.

Preferably, the elements marked by the XML element marking method further include parameter elements param, wherein the parameter elements param are sub-elements of the root elements parameters, the number of the parameter elements param is one or more, the parameter elements param need to be matched with detailed input and output parameters of the remote sensing model, the parameter elements param are used for describing detailed contents of each parameter, and the parameter name paramName attribute in the parameter elements param is an identifier for embodying uniqueness of the parameter elements and needs to be edited and corresponds to parameters of the remote sensing model.

Preferably, the parameter element param includes a parameter data type, a parameter IO type direction, a parameter description type desc, a default value default, a minimum value min, a maximum value max, a minimum occurrence number sub, and a maximum occurrence number sup.

Preferably, the parameter data type is used to describe the data type of the current parameter element;

the parameter IO type direction is used for describing the IO type of the current parameter element;

the parameter description type desc is used for describing and explaining key information of the current parameter element;

the default value default represents the default value of the current parameter;

the minimum value min represents the minimum value of the parameter;

the maximum value max represents the maximum value of the parameter;

the minimum occurrence sub represents the minimum occurrence of the current parameter;

the maximum occurrence number sup represents the maximum occurrence number of the current parameter.

The invention discloses the following technical effects: the method is suitable for any operating system and development language, completely shields the internal implementation details of the remote sensing model algorithm, considers the remote sensing model implementation file as a black box, greatly improves the operability of remote sensing model integration, reduces the integration difficulty of the remote sensing model, solves the problem that the remote sensing model is difficult to share and reuse due to the large quantity and different characteristics and distribution of the remote sensing model, and lays a foundation for the integration and sharing of the remote sensing model.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.

FIG. 1 is an information structure diagram of a remote sensing model description language RSMDL employed in the present invention;

FIG. 2 is a schematic diagram of the essential attributes of the extracted remote sensing model features of the present invention;

figure 3 is a diagram of an information structure of a WPS incorporated in the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.

Referring to fig. 1-3, the remote sensing model data standardization processing method provided by the invention comprises the following steps:

step 1, analyzing the characteristics of more than 100 remote sensing models, and finally extracting and determining the necessary attributes of the remote sensing models, wherein the necessary attributes are parameter names, parameter types, parameter interpretations, parameter ranges, parameter numbers and default values of the parameter numbers.

Step 2, classifying the attributes described by the remote sensing model according to the necessary attributes of the parameters and the necessary relationship among the attributes, wherein the attributes comprise main attributes and sub-attributes, and the input parameters and the output results are uniformly described by combining a WPS description mode;

the main attribute comprises a parameter name paramName, wherein the parameter name is an important identifier for identifying the parameter file and must have uniqueness;

the sub-attributes comprise parameter types paramTypes, the parameter types refer to data types of input or output parameters, and the sub-attributes support complex data types such as complex number forms besides common text data types such as String character strings and file files; the parameter direction paramDirection is used for identifying the IO type of the discrimination parameter, has the values of Input and Output and respectively represents the Input parameter and the Output parameter; the parameter description paramDescription refers to the description of parameters and mainly explains the action content and the like of the parameters; the parameter defaults to the default value paramDefault, the attribute is the default value of the parameter, when the paramType of the parameter is of types such as int integer, String, etc., the value is provided by default by the system, and the value is also a reference and a constraint for the user; the parameter value range paramRange is similar to the parameter default paramDefault attribute, the value of the attribute is valid only when the parameter type paramType is a specific type, and the parameter value range paramRange determines the value range of the parameter by defining two sub-attributes of a maximum value and a minimum value; the number of the parameters is paramNumber, the attribute refers to the number of the parameters, the value of the same parameter name can be one or more, the upper limit and the lower limit of the number of the parameters are determined by two attributes of the maximum number of the parameters and the minimum number of the parameters, and the small-batch data operation can be realized by the attributes;

among the information, the paramName of the parameter is the most important attribute, because when the remote sensing model is used in operation, the name of the input and output parameter is used for matching to obtain the detailed information of the corresponding parameter, and if the parameter name is wrongly matched, the parameter of the remote sensing model is wrongly matched when being transmitted to the model, so that the operation of the remote sensing model is wrong, and a wrong experiment result cannot be generated or generated.

Step 3, the tree structure of the XML document can simply describe each element and clearly show the hierarchical relationship among the elements, so that 7 main attributes and sub-attributes in the information structure of the remote sensing model language RSMDL are formatted by adopting an XML element marking method to form root element parameters and parameter element param serving as the sub-elements of the root element;

the root element parameters have uniqueness, namely one and only one in one document, and the root element parameters are used for storing all parameter contents and creating a space for the parameter contents;

the parameter element param is a sub-element of the root element parameters and is used for describing the detailed content of each parameter, the number of the parameter elements param can be one or more, and the parameter elements param need to be matched with the detailed input and output parameters of the remote sensing model, and it needs to be emphasized that the parameter name paramName attribute in the parameter element param is an important mark for showing the uniqueness of the parameter element param and needs to be edited and corresponds to the parameters of the remote sensing model;

in order to supplement and explain parameter information, the parameter information of the remote sensing model is more three-dimensional, the parameter elements comprise 8 sub-elements, specifically, the sub-elements comprise a parameter data type, a parameter IO type direction, a parameter description type description, a default value default, a minimum value min, a maximum value max, a minimum occurrence number sub and a maximum occurrence number sup, wherein the minimum value min and the maximum value max jointly determine the range of a parameter range attribute paramRange, and the minimum occurrence number sub and the maximum occurrence number sup jointly determine the value of a parameter numerical attribute paramNumber;

in the above 8 elements, a default can be selectively set due to the difference of parameter data types paramDirection, when the parameter data type is file, the parameter IO type is input, and the number of the current element is only 1, then the default, minimum, and maximum values can be ignored, and when the parameter data type is double, the parameter IO type is input, and the number of the current element is only 1, then the default, minimum, and maximum values need to be described, it should be noted that, no matter what data type the parameter is, the parameter data type element and the parameter IO type element need to be described as assignment, and the remaining elements can be described as assignment according to the specific situation of the remote sensing model. The elements obtained using the XML element tagging method are shown in the following table.

TABLE 1 document markup element List

Name (R) Means of Value of Quantity and use
parameters Root element Sub-elements One (mandatory)
param Parameter element Parameter name One or more (mandatory)
type Parameter data type int|float|string|file|… One (mandatory)
direction Parameter IO type input|output One (mandatory)
desc Type of parameter description Self-defining Zero or more (optional)
default Default values Self-defining Zero or one (optional)
min Minimum value Self-defining Zero or one (optional)
max Maximum value Self-defining Zero or one (optional)
sub Minimum number of occurrences Self-defining Zero or one (optional)
sup Maximum number of occurrences Self-defining Zero or one (optional)

The invention provides a standardized processing method of a remote sensing model, which is suitable for any operating system and development language, completely shields the internal implementation details of the remote sensing model algorithm, takes the remote sensing model implementation file as a black box for consideration, greatly improves the operability of remote sensing model integration, reduces the integration difficulty of the remote sensing model, and lays a foundation for the integration and sharing of the remote sensing model.

The above-described embodiments are merely illustrative of the preferred embodiments of the present invention, and do not limit the scope of the present invention, and various modifications and improvements of the technical solutions of the present invention can be made by those skilled in the art without departing from the spirit of the present invention, and the technical solutions of the present invention are within the scope of the present invention defined by the claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种可扩展的GUI标记文档渲染框架的设计方法及装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!