Web Service metadata standards

Source: Internet
Author: User
Tags iso 8601 iso 8601 format uppercase letter domain name registration

2.0 rules and terminology of the Core metadata standard of the Chinese Emy of Sciences scientific database

. Rules and terminology

Rules

1Dataset identifier (URI) Naming rules

The dataset naming rule consists of the following four parts:

1). Character composition:

(1) 26 English letters, case-insensitive;

(2) ", 5," 10 digits;

(3) "-" (a hyphen in English ).

2) For a dataset owner with a registered domain name, use the domain name registration classification mode to define its dataset ID:

Dataseturi: = <top-level domain name ID>. <second-level domain name ID>... <End-level domain name ID> [. <dataset entity ID>]

3) special provisions:

Dataseturi: = cn. CSDB. <third-level domain name> (or <subject database ID>) [. <dataset entity ID>]

4) The registration of a domain name must be submitted by a user organization. The domain name can only be formally approved after being certified and registered by the scientific database center.

Use; the dataset entity ID should be controlled and used by the registered user organization. It must also ensure that the internal ID is unique and does not conflict with each other,

You must apply for an ICP filing with the apsaradb center.

Example:

① The Cube URI of the base database of the main database nano technology can be defined as "cn. CSDB. Nano ";

② Dataset URI of the patent information subset under the Drug and Natural Product Data sub-database in the chemistry subject database

It is defined as "CN. CSDB. organchem. medicament. Patent ".

2Service Identifier (URI) Naming rules

The General Service URI naming format for the scientific database project is:

Serviceuri: = SDBS: // + <identity of Service Provider>/service/<service-type>/<service-Name>

1) SDBS indicates various SDB services defined in the scientific database project );

2) <identitiy of Service Provider> is the domain name of the scientific database uniformly allocated to all the Main databases.

It is suffixed with csdb.cn. For example, the domain name of the nano-entity database is nano.csdb.cn;

3) <service-type> is a service type. Currently, there are five types of services: DBMS (Dataset Connection Service ),

Middleware (middleware Service), GRID (Grid Service), WWW (Network Service), FTP (download service );

4) <service-Name> is named by the service provider. It can be a hierarchical namespace separated;

Accordingly, we can name the data query service of the microbial mesh Service as follows:

SDBS: // micro.csdb.cn/service/grid/dataquery

3. url and file name

Other resources, such as file names and network addresses of computer systems, should also follow the "unified resources" of the Internet.

Identifier-Uri

4. Date

The date specification is in the form of an ISO 8601 representation of a date, that is, a YYYY-MM-DD. Its

In, YYYY is the year of the Gregorian calendar, mm is the month of the year, and DD is the day of the month. For example, April 1, 2003 indicates January 1, 2002, 1999-06 indicates January 1, and indicates January 1.

5 time

The time in a day must be in ISO 8601 format, that is, a 24-hour timer.

Method: hh: mm: Ss. HH indicates the number of hours since midnight in a day, MM indicates the number of minutes after the start of an hour, and SS indicates the number of seconds after the start of a minute. For example, 23: 59: 59 indicates 06:20 before midnight, indicates, and 12 indicates noon.

6. Date and Time

The representation of the date and the time in the date adopts the format of both date and time in ISO 8601:

Yyyy-mm-ddthh: mm: Ss. The uppercase letter T is used to separate the date and time. For example:

April 1, 2003 01:01:02 P.M. t13: 01: 02.

3.Standard Overview

Each Metadata Element (including composite and data elements) defined by the metadata standard uses nine

These nine attributes are described as follows:

Table 3-1 element attributes

Attribute name

Description

Chinese name

Chinese name of the element

English name

Element name

Identifier

Element ID represented by a string

Definition

Explanations of element meanings

Type

Data type to which an element belongs, such as composite type (that is, the element is a composite element), integer type,

Real number type, text type, etc.

Value Range

Permitted range of element values

Optionality

Whether the element is a required element or an optional element

Maximum number of occurrences

Number of records allowed by an element, such as 1 (repeatable records are not allowed) and N (repeatable records are unlimited)

.

Note

Supplementary description of elements, recommendations for recording formats, and other

Service metadata

3.1.1 General Service metadata model

Figure 3-1 General Service metadata model

1. Service Type

A service type refers to the class of a service with the same attributes. For services of the same type,

The feature attributes are the same. The service type should generally be the text content with a free text value. For a definite service, there can only be one belonging type.

2. Service name

The service name is generally the official public name of a specific service. If a Chinese name exists, we recommend that you use the official Chinese name.

3. Service URI

That is, the unique identifier of the service. It is the identifier assigned to the service according to the naming rules of the unique identifier of the service. Generally

The rule string code generated according to the relevant standards of the relevant organizations and organizations .. The unique identifier of a service is unique within the service system. users or systems can obtain the corresponding service information and support accordingly.

4. Service Description

The service description is mainly a description of the service and a text description of the service. Because in the service metadata,

There are some content that cannot be described and is not necessary, or whether the content exists directly with the application of the service.

The service provider can describe the information in the description for your reference. Element 1

It should be optional.

5. Service Attributes

Service Attributes are the attribute parameters required to describe the service, reflecting the specific characteristics of the service.

The following nine attributes can be used to describe elements from different sides:

Attribute name

Description

Chinese name

Chinese name of the element

English name

Element name

Identifier

Element ID represented by a string

Definition

Explanations of element meanings

Type

Data type to which an element belongs, such as composite type (that is, the element is a composite element), integer type,

Real number type, text type, etc.

Value Range

Permitted range of element values

Optionality

Whether the element is a required element or an optional element

Maximum number of occurrences

Number of records allowed by an element, such as 1 (repeatable records are not allowed) and N (repeatable records are unlimited)

.

Note

Supplementary description of elements, recommendations for recording formats, and other

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.