KR101024730B1 - Systems and methods for data modeling in an item-based storage platform - Google Patents

Systems and methods for data modeling in an item-based storage platform Download PDF

Info

Publication number
KR101024730B1
KR101024730B1 KR1020067003584A KR20067003584A KR101024730B1 KR 101024730 B1 KR101024730 B1 KR 101024730B1 KR 1020067003584 A KR1020067003584 A KR 1020067003584A KR 20067003584 A KR20067003584 A KR 20067003584A KR 101024730 B1 KR101024730 B1 KR 101024730B1
Authority
KR
South Korea
Prior art keywords
item
delete delete
relationship
items
type
Prior art date
Application number
KR1020067003584A
Other languages
Korean (ko)
Other versions
KR20060080921A (en
Inventor
아닐 케이. 노리
사미트 아가르왈
제이. 패트릭 톰슨
페드로 셀리스
데이비드 지. 캠벨
소너 에프. 테렉
킴 카메론
월터 알. 스미스
다렌 에이. 샤키브
나타니엘 에이치. 밸로우
스리니바스무르씨 피. 아카르야
발란 세투 라만
피터 엠. 스피로
Original Assignee
마이크로소프트 코포레이션
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 마이크로소프트 코포레이션 filed Critical 마이크로소프트 코포레이션
Publication of KR20060080921A publication Critical patent/KR20060080921A/en
Application granted granted Critical
Publication of KR101024730B1 publication Critical patent/KR101024730B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/288Entity relationship models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/289Object oriented databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units

Abstract

본 발명의 다양한 실시예들은 저장된 데이터가 항목, 요소, 및 관계를 포함하는 데이터 저장소(302)에 관한 것이다. 항목은 데이터 저장소(302) 내의 데이터 저장 단위이며, 상기 요소 및 상기 관계를 더 포함한다. 요소는 하나 이상의 필드들을 포함하는 타입의 인스턴스(instance)이다. 관계는 적어도 2개의 항목들 간의 링크이다. 데이터 저장소(302)는 하드웨어/소프트웨어 인터페이스 시스템이 코어 항목 세트를 이해하고 미리결정된 및 예측가능한 방식으로 직접 처리하게 하는 코어 항목 세트를 정의하기 위한 코어 스키마(304)를 더 포함한다. 코어 항목은 공통 단일 기초 항목으로부터 도출되어 기초 스키마 내의 기본 항목이 된다.

Figure R1020067003584

인터페이스, 저장 플랫폼, 동기화, 애플리케이션 프로그래밍 인터페이스

Various embodiments of the present invention relate to data store 302 in which stored data includes items, elements, and relationships. An item is a unit of data storage within data store 302, and further includes the element and the relationship. An element is an instance of a type that contains one or more fields. A relationship is a link between at least two items. The data store 302 further includes a core schema 304 for defining a core item set that allows the hardware / software interface system to understand the core item set and directly process it in a predetermined and predictable manner. Core items are derived from a common single base item and become the base item in the base schema.

Figure R1020067003584

Interface, storage platform, synchronization, application programming interface

Description

항목 기반 저장 플랫폼 내에서 데이터 모델링하기 위한 시스템 및 방법{SYSTEMS AND METHODS FOR DATA MODELING IN AN ITEM-BASED STORAGE PLATFORM}SYSTEM AND METHOD FOR MODELING DATA IN AN ITEMS-BASED STORAGE PLATFORM {SYSTEMS AND METHODS FOR DATA MODELING IN AN ITEM-BASED STORAGE PLATFORM}

<상호 참조><Cross Reference>

본 출원은 다음의 본 출원과 공히 양도된 출원들에 개시된 발명들과 내용이 관련되어 있다: "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능하지만 물리적 표현에 무관한 정보의 단위들을 표현하기 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 (아직 부여되지 않았음) (대리인 관리번호 제MSFT-1748호); "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들을 그들의 물리적 체계로부터 분리하기 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 (아직 부여되지 않았음) (대리인 관리번호 제MSFT-1749호); "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들을 체계화하기 위한 기본 스키마의 구현을 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 (아직 부여되지 않았음) (대리인 관리번호 제MSFT-1750호); "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들을 체계화하기 위한 최상위 레벨 구조를 제공하는 코어 스키마의 구현을 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 (아직 부여되지 않았음) (대리인 관리번호 제MSFT-1751호); "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들 간의 관계를 표현하기 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 (아직 부 여되지 않았음) (대리인 관리번호 제MSFT-1752호); "데이터의 체계화, 검색 및 공유를 위한 저장 플랫폼"이라는 제목의 미국 특허 출원 번호 (아직 부여되지 않았음) (대리인 관리번호 제MSFT-2734호); "항목 기반 저장 플랫폼에서의 데이터 모델링을 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 (아직 부여되지 않았음) (대리인 관리번호 제MSFT-2735호).This application is related to the inventions and contents disclosed in the following assigned applications, in addition to: "System and method for expressing units of information manageable by a hardware / software interface system but independent of physical representation. US Patent Application No. (not yet assigned) entitled "Agent Control Number MSFT-1748"; United States Patent Application (not yet assigned) entitled "System and Method for Separating Units of Information Manageable by Hardware / Software Interface System from Their Physical Mechanisms" (Agent Control No. MSFT-1749); US Patent Application No. (not yet assigned) entitled "System and Method for Implementation of a Basic Schema to Organize Units of Information Manageable by a Hardware / Software Interface System" (Agent Control No. MSFT-1750) ); US Patent Application No. (not yet assigned) entitled "System and Method for Implementing Core Schema that Provides Top Level Structure for Organizing Units of Information Manageable by Hardware / Software Interface System" No. MSFT-1751); US Patent Application No. (not yet assigned) entitled "System and Method for Representing Relationships Between Units of Information Manageable by Hardware / Software Interface System" (Agent Control No. MSFT-1752); US Patent Application No. (not yet assigned) entitled "Storage Platform for Systematization, Retrieval and Sharing of Data" (Agent Control No. MSFT-2734); US Patent Application No. (not yet assigned) entitled “Systems and Methods for Data Modeling in Item-Based Storage Platforms” (Agent Control No. MSFT-2735).

본 발명은 일반적으로 정보 저장 및 리트리벌(retrieval) 분야에 관한 것이며, 더욱 상세하게는 컴퓨터화된 시스템에서 상이한 타입의 데이터를 체계화하고, 검색하고, 공유하기 위한 액티브 저장 플랫폼에 관한 것이다.The present invention generally relates to the field of information storage and retrieval, and more particularly to an active storage platform for organizing, retrieving, and sharing different types of data in computerized systems.

개별 디스크 용량은 지난 10년 동안 해마다 약 70%씩 증가해 왔다. 무어의 법칙(Moore's law)은 수년 동안 이루어진 놀랄만한 CPU 성능의 향상을 정확히 예측하였다. 유선 및 무선 기술은 엄청난 접속성 및 대역폭을 제공하였다. 현재의 경향이 계속된다고 가정하면, 수년 내에 평균적인 랩탑 컴퓨터는 약 1 테라바이트(TB)의 저장 용량을 가질 것이고, 수백만 개의 파일을 포함할 것이며, 500 기가바이트(GB) 드라이브가 일반적이 될 것이다.Individual disk capacity has increased approximately 70% annually over the last decade. Moore's law accurately predicted a surprising increase in CPU performance over the years. Wired and wireless technologies provided tremendous connectivity and bandwidth. Assuming current trends continue, within a few years the average laptop computer will have a storage capacity of about 1 terabyte (TB), contain millions of files, and a 500 gigabyte (GB) drive will be common. .

소비자들은 개인정보가 전형적인 개인 정보 관리자(PIM) 스타일의 데이터인지 디지털 음악 또는 사진과 같은 매체인지에 관계없이 그들의 컴퓨터를 주로 그러한 개인 정보의 통신 및 체계화에 사용한다. 디지털 콘텐츠의 양, 및 미처리 바이트(raw bytes)를 저장하는 능력은 엄청나게 증가해 왔지만, 소비자들이 데이터를 체계화하고 통합하기 위해 사용할 수 있는 방법은 보조를 맞추지 못했다. 지식 노동자들은 정보를 관리하고 공유하는 데 막대한 양의 시간을 소비하는 데, 몇몇 연구에 의하면 지식 노동자들이 그들의 시간의 15-25%를 비생산적인 정보 관련 활동에 소비하는 것으로 추정되고 있다. 다른 연구에 따르면, 일반적인 지식 노동자는 정보를 검색하기 위해 하루에 약 2.5 시간을 소비하는 것으로 추정되고 있다. Consumers use their computers primarily for the communication and organization of such personal information, regardless of whether the personal information is media such as traditional personal information manager (PIM) style data or digital music or photographs. The amount of digital content, and the ability to store raw bytes, has increased tremendously, but the methods consumers can use to organize and integrate data have not kept pace. Knowledge workers spend an enormous amount of time managing and sharing information. Some studies estimate that knowledge workers spend 15-25% of their time on unproductive information-related activities. According to other studies, the average knowledge worker spends about 2.5 hours a day searching for information.

개발자들 및 정보 기술(IT) 분야들은 사람, 장소, 시간 및 이벤트와 같은 것들을 표현하기 위한 공통 저장 추상화를 위해 그들 자신의 데이터 저장소를 구축하는 데 상당한 양의 시간 및 돈을 투자한다. 이것은 중복된 작업을 유발할 뿐만 아니라, 공통 데이터의 공통 검색 또는 공유를 위한 메커니즘이 없는 공통 데이터의 섬들을 생성한다. 마이크로소프트 윈도우 운영 체제를 실행하는 컴퓨터 상에 오늘날 얼마나 많은 어드레스 북이 존재할 수 있는지를 고려하자. 이메일 클라이언트 및 개인용 회계 프로그램과 같은 많은 애플리케이션은 개별 어드레스 북을 유지하며, 각각의 프로그램이 개별적으로 유지하고 있는 어드레스 북 데이터에 대한 애플리케이션들의 공유는 거의 존재하지 않는다. 결과적으로, 회계 프로그램(예컨대, 마이크로소프트 머니)은 수취인에 대한 어드레스를 이메일 연락처 폴더(contact folder)(예컨대, 마이크로소프트 아웃룩에 있는 폴더)에 저장된 어드레스와 함께 공유하지 않는다. 실제로, 많은 사용자들은 다양한 장치를 갖고 있으며, 논리적으로 그들의 개인 데이터를 그들 자신들 사이에서, 그리고 휴대폰 내지 MSN 및 AOL 등의 상용 서비스를 포함하는 다양한 추가 소스들 사이에서 동기화해야 하는데, 그럼에도 공유 문서들의 협동은 대개는 문서들을 이메일 메시지에 첨부함으로써, 즉 수동적으로 그리고 비효율적으로 달성된다.Developers and information technology (IT) sectors spend significant amounts of time and money building their own data stores for a common storage abstraction for representing things such as people, places, time and events. Not only does this cause redundant work, but it also creates islands of common data that have no mechanism for common retrieval or sharing of common data. Consider how many address books can exist today on a computer running the Microsoft Windows operating system. Many applications, such as email clients and personal accounting programs, maintain separate address books, and there is little sharing of applications for address book data that each program maintains individually. As a result, the accounting program (eg Microsoft Money) does not share the address for the payee with the address stored in an email contact folder (eg a folder in Microsoft Outlook). Indeed, many users have a variety of devices and must logically synchronize their personal data between themselves and between a variety of additional sources, including mobile phones or commercial services such as MSN and AOL. This is usually accomplished by attaching documents to an email message, ie manually and inefficiently.

이러한 협동이 부족한 하나의 이유는 컴퓨터 시스템에서 정보의 체계화를 위한 전통적인 접근법이 파일을 저장하는 데 사용되는 저장 매체의 물리적 체계화의 추상화에 기초하여 다수의 파일을 폴더들의 디렉토리 계층 구조로 체계화하기 위해 파일-폴더-디렉토리 기반 시스템("파일 시스템")의 사용에 중점을 두어 왔다는 점이다. 1960년대에 개발된 멀틱스(Multics) 운영 체제는 운영 체제 레벨에서 저장 가능한 데이터의 단위들을 관리하기 위해 파일, 폴더 및 디렉토리의 사용을 개척한 것으로 여겨질 수 있다. 구체적으로, 멀틱스는 파일들의 계층 구조 내에서 심볼 어드레스(symbol address)를 사용하였는데(이에 따라 파일 경로의 아이디어를 도입함), 파일들의 물리적 어드레스는 사용자에게(애플리케이션 및 최종 사용자) 투명하지 않았다. 이러한 파일 시스템은 임의의 개별 파일의 파일 포맷에는 전혀 관심이 없었으며, 파일들 사이의 관계들은 운영 체제 레벨에서(즉, 계층 구조 내의 파일의 위치가 아님) 무관한 것으로 간주되었다. 멀틱스의 출현 이후, 저장 가능 데이터는 운영 체제 레벨에서 파일, 폴더 및 디렉토리로 체계화되었다. 이들 파일은 일반적으로 파일 시스템에 의해 유지되는 특수 파일에 삽입된 파일 계층 구조 자체("디렉토리")를 포함한다. 또한, 이 디렉토리는 디렉토리 내의 다른 파일들 모두에 대응하는 엔트리들의 리스트, 및 계층 구조에서의 이러한 파일들의 노드 위치(본 명세서에서 폴더로서 지칭됨)를 유지한다. 이것이 약 40년 동안의 최고 수준의 기술이었다.One reason for this lack of collaboration is that traditional approaches for the organization of information in computer systems allow files to be organized into a directory hierarchy of folders based on the abstraction of the physical organization of storage media used to store files. The focus has been on the use of folder-directory based systems ("file systems"). The Multics operating system, developed in the 1960s, can be thought of as pioneering the use of files, folders and directories to manage the units of data that can be stored at the operating system level. Specifically, Multics used a symbol address within the hierarchy of files (and thus introduces the idea of file paths), and the physical addresses of the files were not transparent to the user (application and end user). This file system was not interested in the file format of any individual file at all, and the relationships between the files were considered irrelevant at the operating system level (ie, not the location of the files in the hierarchy). Since the advent of multics, storeable data has been organized into files, folders and directories at the operating system level. These files generally contain the file hierarchy itself ("directory") inserted into a special file maintained by the file system. This directory also maintains a list of entries corresponding to all of the other files in the directory, and the node location of these files in the hierarchy (referred to herein as folders). This was the highest level of technology for about 40 years.

그러나, 파일 시스템은 컴퓨터의 물리 저장 시스템에 상주하는 정보의 합리 적인 표현을 제공하지만, 그럼에도 불구하고 물리 저장 시스템의 추상화이며, 따라서 파일들의 사용은 사용자가 조작하는 것(문맥, 특징 및 다른 단위들에 대한 관계)과 운영 체제가 제공하는 것(파일, 폴더 및 디렉토리) 사이의 간접(indirection)(해석) 레벨을 요구한다. 결과적으로, 사용자들(애플리케이션 및/또는 최종 사용자)은 그렇게 하는 것이 비효율적이거나 일관성이 없거나 바람직하지 않은 경우에도 정보의 단위들을 파일 시스템 구조로 만드는 것밖에 선택할 수 없다. 더욱이, 기존 파일 시스템은 개별 파일에 저장된 데이터의 구조에 대해서는 거의 알지 못하며, 이 때문에 대부분의 정보는 이들을 작성한 애플리케이션에 의해서만 액세스(및 이해)될 수 있는 파일들 내에 갇힌 채 유지된다. 결과적으로, 이러한 정보에 대한 개요 설명 및 정보 관리 메커니즘의 부족은 개별 저장소들 사이에서 데이터가 거의 공유되지 않는 데이터 저장소들의 생성을 유발한다. 예를 들어, 많은 PC 사용자는 이들이 소정의 레벨에서 함께 상호작용하는 사람들에 대한 정보를 포함하는 5개 이상의 다른 저장소, 예를 들어 아웃룩 연락처, 온라인 계정 어드레스, 윈도우 어드레스 북, 퀵컨 페이이(Quicken Payees) 및 인스턴트 메시징(IM) 버디 리스트를 갖는데, 이는 파일들의 체계화가 PC 사용자들에게 심각한 문제를 제공하기 때문이다. 대부분의 기존 파일 시스템은 파일들 및 폴더들을 체계화하기 위해 중첩 폴더 메타포어(nested folder metaphor)를 사용하므로, 파일들의 수가 증가함에 따라 유연하고 효율적인 체계화 스킴을 유지하기 위해 필요한 노력은 아주 커졌다. 이러한 상황에서, 단일 파일에 대한 다양한 분류를 갖는 것이 매우 유용하겠지만, 기존 파일 시스템에서 하드 또는 소프트 링크를 사용하는 것은 성가시고 관리하기 어렵다.However, the file system provides a reasonable representation of the information residing in the computer's physical storage system, but is nevertheless an abstraction of the physical storage system, so that the use of files is what the user manipulates (contexts, features and other units). Requires a level of indirection (interpretation) between what the relationship is, and what the operating system provides (files, folders, and directories). As a result, users (applications and / or end users) can only choose to make units of information into a file system structure even if doing so is inefficient, inconsistent or undesirable. Moreover, existing file systems know little about the structure of the data stored in individual files, so that most of the information remains locked in files that can only be accessed (and understood) by the application that created them. As a result, the lack of an overview and information management mechanism for this information leads to the creation of data stores where data is rarely shared between individual stores. For example, many PC users have five or more different repositories that contain information about people they interact with at some level, such as Outlook contacts, online account addresses, Windows address books, and Quicken Payees. And instant messaging (IM) buddy lists, because the organization of files presents a serious problem for PC users. Most existing file systems use nested folder metaphors to organize files and folders, so as the number of files increases, the effort required to maintain a flexible and efficient organizing scheme has grown tremendously. In this situation, having various classifications for a single file would be very useful, but using hard or soft links in existing file systems is cumbersome and difficult to manage.

파일 시스템의 단점을 해결하고자 했던 여러 성공적이지 못한 시도가 과거에 행해졌었다. 이러한 이전의 시도들 중 일부는 데이터가 물리적 어드레스에 의해서가 아니라 콘텐츠에 의해 액세스될 수 있는 메커니즘을 제공하기 위한 콘텐츠 어드레스 가능 메모리의 사용에 관한 것이다. 그러나, 이러한 노력들은 성공적이지 못한 것으로 입증되었는데, 이는 콘텐츠 어드레스 가능 메모리가 캐시 및 메모리 관리 단위과 같은 장치들에 의한 소규모 사용에는 유용한 것으로 입증된 반면, 물리적 저장 매체와 같은 장치에서의 대규모 사용은 다양한 이유로 아직 불가능하기 때문이며, 따라서 이러한 솔루션은 존재하지 않는다. 객체 지향 데이터베이스(OODB) 시스템을 사용한 다른 시도가 이루어졌으나, 이러한 시도는 강력한 데이터베이스 특성 및 양호한 비 파일(non-file) 표현을 특징으로 하지만, 파일 표현의 처리에 효과적이지 못했으며, 하드웨어/소프트웨어 인터페이스 시스템 레벨에서 파일 및 폴더 기반 계층 구조의 속도, 효율 및 단순성을 복제할 수 없었다. SmallTalk(및 다른 파생물)를 사용하려고 시도한 것들과 같은 다른 노력들은 파일 및 비 파일 표현의 처리에 아주 효과적이지만, 다양한 데이터 파일 사이에 존재하는 관계들을 효율적으로 체계화하고 사용하는 데 필요한 데이터베이스 기능이 부족하여 전체적인 시스템 효율이 수용될 수 없는 것으로 입증되었다. BeOS(및 다른 그러한 운영 체제 연구)를 사용하려는 또 다른 시도는 소정의 필요한 데이터베이스 기능을 제공하면서 파일을 적절히 표현할 수 있음에도 불구하고 비 파일 표현의 처리에 적절하지 않음(전통적인 파일 시스템과 동일한 핵심적인 단점)이 입증되었다. Several unsuccessful attempts to address the shortcomings of file systems have been made in the past. Some of these previous attempts relate to the use of content addressable memory to provide a mechanism by which data can be accessed by content rather than by physical address. However, these efforts have proved unsuccessful, while content addressable memory has proven useful for small-scale use by devices such as cache and memory management units, while large-scale use in devices such as physical storage media has been used for a variety of reasons. This is not possible yet, so such a solution does not exist. Other attempts have been made using the object-oriented database (OODB) system, although these features feature strong database characteristics and good non-file representations, but have not been effective in the processing of file representations, and are hardware / software interfaces. At the system level, the speed, efficiency and simplicity of file and folder-based hierarchies could not be replicated. Other efforts, such as those attempting to use SmallTalk (and other derivatives), are very effective in handling file and non-file representations, but lack the database capabilities needed to efficiently organize and use the relationships that exist between various data files. Overall system efficiency has proven unacceptable. Another attempt to use BeOS (and other such operating system studies) is not adequate for the handling of non-file representations (although they have the same core drawbacks as traditional file systems), although files can be properly represented while providing some necessary database functionality. ) Has been proven.

데이터베이스 기술은 유사한 문제가 존재하는 또 하나의 기술 영역이다. 예컨대, 관계형 데이터베이스 모델은 대단한 상업적 성공을 거두었지만, 실제로 개별 소프트웨어 벤더들(ISV)은 일반적으로 관계형 데이터베이스 소프트웨어 제품(예컨대, 마이크로소프트 SQL 서버)에서 사용할 수 있는 기능 중 작은 부분만을 사용한다. 대신에, 애플리케이션의 이러한 제품과의 상호작용의 대부분은 단순한 "입수(gets)" 및 "배치(puts)"의 형태이다. 이에 대해서는 명백한 이유가 많이 있지만(예컨대, 플랫폼 또는 데이터베이스에 중립적임), 종종 간과하기 쉬운 하나의 중요한 이유는 데이터베이스가 주요 비지니스 애플리케이션 벤더가 실제로 필요로 하는 정확한 추상화를 항상 제공하지는 못한다는 것이다. 예컨대, 실세계는 "고객" 또는 "주문"과 같은 "항목들"(주문의 삽입된 "라인 항목"을 그 내부의 항목 및 그의 항목으로서 함께)에 대한 개념을 갖지만, 관계형 데이터베이스는 단지 테이블 및 행의 관점으로만 대화한다. 결과적으로, 애플리케이션은 (몇 가지 예를 들면) 항목 레벨에서 일관성, 잠금, 보안 및/또는 트리거(trigger)의 양태를 갖기를 원할 수 있지만, 일반적으로 데이터베이스는 테이블/행 레벨에서만 이러한 기능을 제공한다. 이것은 각 항목이 데이터베이스에서 소정 테이블 내의 단일 행으로 매핑되는 경우에는 훌륭하게 동작할 수 있지만, 다수의 라인 항목을 가진 주문의 경우에는, 항목이 실제로 다수의 테이블로 매핑되는 이유들이 존재할 수 있으며, 그러한 경우, 단순한 관계형 데이터베이스 시스템은 올바른 추상화를 전혀 제공하지 못한다. 결과적으로, 애플리케이션은 이러한 기본 추상화를 제공하기 위해 데이터베이스의 상부에 논리를 구축해야 한다. 즉, 기본 관계 모델은 보다 높은 레벨의 애플 리케이션이 쉽게 개발될 수 있는 충분한 데이터 저장용 플랫폼을 제공하지 못하는데, 이는 기본 관계 모델이 애플리케이션과 저장 시스템 사이에 간접 레벨을 필요로 하기 때문이다(여기서, 데이터의 시맨틱(semantic) 구조는 소정의 인스턴스에서 애플리케이션에서만 볼 수 있다). 일부 데이터베이스 벤더들은 보다 높은 레벨의 기능을 그들의 제품 내에 구축하고 있지만(예컨대, 객체 관계 능력, 새로운 체계화 모델 등을 제공), 그 어느 것도 필요한 포괄적인 솔루션의 종류는 아직 제공하지 못하고 있는데, 진정으로 포괄적인 솔루션은 유용한 데이터 모델 추상화(예컨대, "항목", "확장", "관계" 등) 및 유용한 도메인 추상화(예컨대, "사람", "위치", "이벤트" 등) 양자를 제공하는 솔루션이다. Database technology is another technical area where similar problems exist. For example, the relational database model has been a great commercial success, but in practice individual software vendors (ISVs) typically use only a small portion of the functionality available in relational database software products (eg, Microsoft SQL Server). Instead, most of the application's interaction with these products is in the form of simple "gets" and "puts". There are many obvious reasons for this (eg, neutral to the platform or database), but one important reason that is often overlooked is that databases do not always provide the exact abstraction that a major business application vendor really needs. For example, the real world has the concept of "items" such as "customers" or "orders" (with an embedded "line item" of an order as an item within and an item therein), but a relational database is merely a table and a row. Only talk in terms of As a result, an application may want to have aspects of consistency, locks, security, and / or triggers at the item level (for example), but in general the database provides this functionality only at the table / row level. . This works great if each item is mapped to a single row within a table in the database, but for orders with multiple line items, there may be reasons why the item is actually mapped to multiple tables, in which case However, a simple relational database system doesn't provide the right abstraction at all. As a result, the application must build logic on top of the database to provide this basic abstraction. In other words, the basic relationship model does not provide a platform for storing enough data that higher-level applications can be easily developed because the basic relationship model requires an indirect level between the application and the storage system (where The semantic structure of the data is only visible to the application at any given instance). Some database vendors are building higher levels of functionality into their products (eg, providing object relational capabilities, new organizational models, etc.), but none of them have yet to offer the kind of comprehensive solutions they need. In solutions are solutions that provide both useful data model abstractions (eg, "items", "extensions", "relationships", etc.) and useful domain abstractions (eg, "persons", "locations", "events", etc.).

기존의 데이터 저장 및 데이터베이스 기술의 전술한 결함에 비추어, 컴퓨터 시스템에서 모든 타입의 데이터를 체계화하고, 검색하고, 공유할 수 있는 향상된 능력을 제공하는 새로운 저장 플랫폼, 즉 기존의 파일 시스템 및 데이터베이스 시스템을 넘어 데이터 플랫폼을 확장하고 확대하고, 모든 타입의 데이터에 대한 저장소가 되도록 설계된 저장 플랫폼이 필요하다. 본 발명은 본 명세서의 앞 부분에 참조로서 반영된 관련 발명들과 함께 이러한 요구를 만족시킨다.In view of the above deficiencies of existing data storage and database technology, a new storage platform, namely, existing file systems and database systems, which provides an improved ability to organize, search and share all types of data in computer systems, You need a storage platform designed to extend and extend your data platform and to be a repository for all types of data. The present invention satisfies this need with the related inventions incorporated by reference earlier in this specification.

다음의 요약은 발명의 다양한 양태의 개요를 제공한다. 이 요약은 본 발명의 중요한 양태들 모두를 망라한 설명을 제공하기 위해 의도된 것은 아니며, 본 발명의 범위를 한정하지도 않는다. 오히려, 이 요약은 뒤따르는 상세한 설명 및 도면에 대한 서론으로서 기능하도록 의도된다.The following summary provides an overview of various aspects of the invention. This Summary is not intended to provide an exhaustive description of all of the important aspects of the invention, nor is it intended to limit the scope of the invention. Rather, this summary is intended to serve as an introduction to the following detailed description and drawings.

본 발명은 데이터를 체계화하고, 검색하고, 공유하기 위한 저장 플랫폼에 관한 것이다. 본 발명의 저장 플랫폼은 기존 파일 시스템 및 데이터베이스 시스템을 넘어 데이터 저장의 개념을 확장하고 확대하며, 구조화된 데이터, 구조화되지 않은 데이터 또는 반 구조화된 데이터를 포함하는 모든 타입의 데이터에 대한 저장소가 되도록 설계된다. The present invention relates to a storage platform for organizing, retrieving, and sharing data. The storage platform of the present invention extends and extends the concept of data storage beyond existing file systems and database systems, and is designed to be a repository for all types of data including structured data, unstructured data, or semi-structured data. do.

본 발명의 일 양태에 따라, 본 발명의 저장 플랫폼은 데이터베이스 엔진 상에 구현된 데이터 저장소를 포함한다. 데이터베이스 엔진은 객체 관계 확장을 갖는 관계형 데이터베이스 엔진을 포함한다. 데이터 저장소는 데이터의 체계화, 검색, 공유, 동기화 및 보안을 지원하는 데이터 모델을 구현한다. 특정 타입의 데이터는 스키마에 의해 기술되며, 플랫폼은 새로운 타입의 데이터(본질적으로 스키마에 의해 제공되는 기본 타입의 서브타입)를 정의하기 위해 스키마 세트를 확장하기 위한 메커니즘을 제공한다. 동기화 능력은 사용자들 또는 시스템들 간의 데이터 공유를 용이하게 한다. 종래 파일 시스템에 대한 제한 없이, 데이터 저장소의 이러한 종래 파일 시스템과의 연동을 허용하는 파일 시스템 유사 능력이 제공된다. 변경 추적 메커니즘은 데이터 저장소에 대한 변경을 추적하는 능력을 제공한다. 저장 플랫폼은 애플리케이션이 전술한 저장 플랫폼의 능력들 모두에 액세스할 수 있고 스키마에 의해 기술된 데이터에 액세스할 수 있게 하는 애플리케이션 프로그램 인터페이스의 세트를 더 포함한다.According to one aspect of the present invention, the storage platform of the present invention comprises a data store implemented on a database engine. The database engine includes a relational database engine with object relational extensions. The data store implements a data model that supports the organization, retrieval, sharing, synchronization, and security of data. Specific types of data are described by schemas, and the platform provides a mechanism for extending the schema set to define new types of data (essentially subtypes of the base types provided by the schema). The synchronization capability facilitates data sharing between users or systems. Without limitation to conventional file systems, file system-like capabilities are provided that allow data storage to interoperate with such conventional file systems. The change tracking mechanism provides the ability to track changes to the data store. The storage platform further includes a set of application program interfaces that allow an application to access all of the capabilities of the storage platform described above and to access data described by the schema.

본 발명의 다른 양태에 따라, 데이터 저장소에 의해 구현되는 데이터 모델은 항목, 요소 및 관계의 관점에서 데이터 저장 단위들을 정의한다. 항목은 데이터 저장소에 저장할 수 있는 데이터의 단위이며, 하나 이상의 요소 및 관계를 포함할 수 있다. 요소는 하나 이상의 필드(본 명세서에 속성으로도 지칭됨)를 포함하는 타입의 인스턴스이다. 관계는 두 항목 사이의 링크이다. (본 명세서에서 사용되는 이들 및 다른 특정 용어들은 이들을 매우 유사하게 사용되는 다른 용어들과 구별하기 위해 대문자화될 수 있지만, 그러나 대문자화된 용어(예컨대 "Item")와 대문자화되지 않은 동일 용어(예컨대 "item")를 구별할 의도는 전혀 없으며, 어떠한 차이도 가정되거나 암시되지 않아야 한다.)According to another aspect of the invention, a data model implemented by a data store defines data storage units in terms of items, elements, and relationships. An item is a unit of data that can be stored in a data store and can contain one or more elements and relationships. An element is an instance of a type that includes one or more fields (also referred to herein as attributes). A relationship is a link between two items. (These and other specific terms used herein may be capitalized to distinguish them from other terms that are used very similarly, but may be capitalized terms (such as "Item") and the same non-capitalized term ( There is no intention to distinguish "item", for example, and no differences should be assumed or implied.)

본 발명의 다른 양태에 따라, 컴퓨터 시스템은 복수의 항목(여기서, 각 항목은 하드웨어/소프트웨어 인터페이스 시스템에 의해 조작될 수 있는 별개의 저장 가능한 정보 단위를 구성함); 상기 항목들에 대한 체계적인 구조를 구성하는 복수의 항목 폴더; 및 복수의 항목을 조작하기 위한 하드웨어/소프트웨어 인터페이스 시스템을 더 포함하며, 각 항목은 적어도 하나의 항목 폴더에 속하며, 하나 이상의 항목 폴더에 속할 수 있다. According to another aspect of the present invention, a computer system includes a plurality of items, each of which constitutes a separate storeable information unit that can be operated by a hardware / software interface system; A plurality of item folders constituting a systematic structure for the items; And a hardware / software interface system for manipulating a plurality of items, each item belonging to at least one item folder and belonging to one or more item folders.

본 발명의 다른 양태에 따라, 컴퓨터 시스템은 복수의 항목들을 포함하며, 각 항목은 하드웨어/소프트웨어 인터페이스 시스템에 의해 조작될 수 있는 별개의 저장 가능한 정보 단위를 구성하고, 항목 또는 항목의 속성 값들 중 일부는 지속적인 저장소로부터 도출되는 것과 반대로 동적으로 계산될 수 있다. 즉, 하드웨어/소프트웨어 인터페이스 시스템은 항목이 저장되는 것을 요구하지 않으며, 현재의 항목들의 세트를 열거할 수 있는 능력, 또는 그의 저장 플랫폼에 대한 식별자가 주어질 때 항목을 리트리브할 수 있는 능력(애플리케이션 프로그래밍 인터페이스 또는 API를 설명하는 섹션에서 보다 상세히 설명됨)과 같은 소정의 동작들이 지원되는데, 예컨대 항목은 휴대폰의 현재 위치 또는 온도 센서에서 읽은 온도일 수 있다. According to another aspect of the present invention, a computer system includes a plurality of items, each item comprising a separate storeable unit of information that can be manipulated by a hardware / software interface system, wherein the item or some of the attribute values of the item Can be calculated dynamically as opposed to being derived from a persistent store. That is, the hardware / software interface system does not require the item to be stored, but the ability to enumerate the current set of items, or the ability to retrieve the item when given an identifier for its storage platform (application programming interface). Or certain actions (such as described in more detail in the section describing the API), for example, the item may be the current location of the phone or the temperature read from a temperature sensor.

본 발명의 다른 양태에 따라, 다수의 항목을 조작하는 컴퓨터 시스템용 하드웨어/소프트웨어 인터페이스 시스템은 하드웨어/소프트웨어 인터페이스 시스템에 의해 관리되는 다수의 관계에 의해 상호접속된 항목들을 더 포함한다. 본 발명의 다른 양태에 따라, 컴퓨터 시스템용 하드웨어/소프트웨어 인터페이스 시스템은 자기가 이해할 수 있는 속성들을 갖는 다수의 별개의 정보 단위를 조작한다. 본 발명의 다른 양태에 따라, 컴퓨터 시스템용 하드웨어/소프트웨어 인터페이스 시스템은 자신이 이해하고, 미리결정된 방식 및 예측가능한 방식으로 직접 처리할 수 있는 코어 항목 세트를 정의하기 위한 코어 스키마를 포함한다. 본 발명의 다른 양태에 따라, 상기 항목들을 다수의 관계와 상호접속시키는 것 및 하드웨어/소프트웨어 인터페이스 시스템 레벨에서 상기 관계를 관리하는 것을 포함하는, 컴퓨터 시스템용 하드웨어/소프트웨어 인터페이스 시스템 내에서 다수의 별개의 정보 단위("항목")를 관리하기 위한 방법이 개시된다.According to another aspect of the present invention, a hardware / software interface system for a computer system that manipulates multiple items further includes items interconnected by a number of relationships managed by the hardware / software interface system. In accordance with another aspect of the present invention, a hardware / software interface system for a computer system manipulates a number of distinct units of information with attributes that are self understandable. In accordance with another aspect of the present invention, a hardware / software interface system for a computer system includes a core schema for defining a set of core items that it can understand and directly process in a predetermined and predictable manner. According to another aspect of the present invention, there are a plurality of distinct within a hardware / software interface system for a computer system, comprising interconnecting the items with multiple relationships and managing the relationships at a hardware / software interface system level. A method for managing information units (“items”) is disclosed.

본 발명의 다른 특징에 따라, 저장 플랫폼의 API는 저장 플랫폼 스키마 세트에 정의된 각 항목, 항목 확장 및 관계에 대한 데이터 클래스를 제공한다. 또한, API는 데이터 클래스들에 대한 공통 거동 세트(common set of behaviors)를 정의하고 데이터 클래스들과 함께 저장 플랫폼 API에 대한 기본 프로그래밍 모델을 제공하는 프레임워크 클래스 세트를 제공한다. 본 발명의 다른 특징에 따라, 저장 플랫폼 API는, 기반 데이터베이스 엔진의 질의 언어에 대한 상세로부터 애플리케이션 프로그래머들을 격리시키는 방식으로, 애플리케이션 프로그래머들이 데이터 저장소 내의 항목들의 다양한 속성에 기초하여 질의를 형성하는 것을 가능하게 하는 단순화된 질의 모델을 제공한다. 본 발명의 저장 플랫폼 API의 또 다른 양태에 따라, API는 또한 애플리케이션 프로그램에 의해 만들어진 항목에 대한 변경을 수집한 후, 데이터 저장소가 구현된 데이터베이스 엔진(또는 임의 종류의 저장 엔진)에 의해 요청되는 올바른 갱신들 내에 그들을 체계화한다. 이것은 애플리케이션 프로그래머들이 메모리 내의 항목을 변경하는 것을 가능하게 하며, 데이터 저장소 갱신들의 복잡성을 API로 넘기는 것을 가능하게 한다. According to another feature of the invention, the storage platform's API provides a data class for each item, item extension and relationship defined in the storage platform schema set. In addition, the API provides a set of framework classes that define common sets of behaviors for data classes and provide the basic programming model for the storage platform API with the data classes. According to another aspect of the invention, the storage platform API enables application programmers to form queries based on various attributes of items in the data store in a manner that isolates application programmers from the details of the query language of the underlying database engine. Provide a simplified query model. According to another aspect of the storage platform API of the present invention, the API also collects changes to items made by the application program and then corrects the requests requested by the database engine (or any kind of storage engine) in which the data store is implemented. Organize them in updates. This enables application programmers to change items in memory and to pass the complexity of data store updates to the API.

그의 공통 저장 기반구조 및 스키마화된 데이터를 통해, 본 발명의 저장 플랫폼은 소비자, 지식 노동자 및 기업에 대한 보다 효율적인 애플리케이션의 개발을 가능하게 한다. 이것은 그의 데이터 모델에 고유한 능력들을 사용할 수 있게 해줄 뿐만 아니라 기존 파일 시스템 및 데이터베이스 액세스 방법을 수용하고 확장하는 풍부하고 확장 가능한 API를 제공한다. Through its common storage infrastructure and schemad data, the storage platform of the present invention enables the development of more efficient applications for consumers, knowledge workers and enterprises. This not only allows the use of capabilities unique to his data model, but also provides a rich and extensible API to accommodate and extend existing file system and database access methods.

본 발명의 다른 특징 및 이점은 아래의 발명의 상세한 설명 및 첨부 도면으로부터 명백해질 것이다.Other features and advantages of the present invention will become apparent from the following detailed description of the invention and the accompanying drawings.

전술한 요약 및 아래의 발명의 상세한 설명은 첨부된 도면들과 함께 읽을 때 더 잘 이해된다. 본 발명을 설명하기 위해, 본 발명의 다양한 실시예가 도면들에 도시되어 있지만, 본 발명은 개시된 특정 방법 및 수단으로 한정되지 않는다. The foregoing summary and the following detailed description of the invention are better understood when read in conjunction with the accompanying drawings. To illustrate the invention, various embodiments of the invention are shown in the drawings, but the invention is not limited to the specific methods and instrumentalities disclosed.

도 1은 본 발명의 양태들이 구현될 수 있는 컴퓨터 시스템을 나타내는 블록도이다.1 is a block diagram illustrating a computer system in which aspects of the present invention may be implemented.

도 2는 3개의 컴포넌트 그룹, 즉 하드웨어 컴포넌트, 하드웨어/소프트웨어 인터페이스 시스템 컴포넌트 및 애플리케이션 프로그램 컴포넌트로 분할된 컴퓨터 시스템을 나타내는 블록도이다.2 is a block diagram illustrating a computer system divided into three component groups: hardware components, hardware / software interface system components, and application program components.

도 2a는 파일 기반 운영 체제에서 디렉토리 내의 폴더들에 그룹화된 파일들에 대한 종래의 트리 기반 계층 구조를 나타내는 도면이다.2A illustrates a conventional tree-based hierarchy of files grouped in folders in a directory in a file-based operating system.

도 3은 본 발명에 따른 저장 플랫폼을 나타내는 블록도이다.3 is a block diagram illustrating a storage platform according to the present invention.

도 4는 항목들, 항목 폴더들 및 카테고리들 사이의 구조 관계를 나타내는 도면이다.4 is a diagram illustrating a structural relationship between items, item folders, and categories.

도 5a는 본 발명의 다양한 실시예들의 항목의 구조를 나타내는 블록도이다.5A is a block diagram illustrating the structure of items of various embodiments of the present invention.

도 5b는 도 5a의 항목의 복합 속성 타입을 나타내는 블록도이다.FIG. 5B is a block diagram illustrating a complex attribute type of the item of FIG. 5A.

도 5c는 복합 타입들이 자세하게 설명된(명시적으로 리스트된) "위치" 항목을 나타내는 블록도이다.FIG. 5C is a block diagram illustrating a “location” item in which complex types are described in detail (explicitly listed).

도 6a는 항목을 기본 스키마에서 발견되는 그 항목의 서브타입으로 나타내는 도면이다.6A illustrates an item as a subtype of that item found in the base schema.

도 6b는 (직접적인 속성 외에) 상속된 타입들이 명시적으로 리스트된 도 6a의 서브타입 항목을 나타내는 블록도이다.FIG. 6B is a block diagram illustrating the subtype item of FIG. 6A in which inherited types are explicitly listed (in addition to direct attributes). FIG.

도 7은 2개의 최상위 레벨 클래스 타입, 즉 Item 및 PropertyBase를 포함하는 기본 스키마, 및 이로부터 도출되는 추가적인 기본 스키마 타입들을 나타내는 블록도이다.7 is a block diagram illustrating a base schema comprising two top level class types, namely Item and PropertyBase, and additional base schema types derived therefrom.

도 8a는 코어 스키마 내의 항목들을 나타내는 블록도이다.8A is a block diagram illustrating items in a core schema.

도 8b는 코어 스키마 내의 속성 타입들을 나타내는 블록도이다.8B is a block diagram illustrating attribute types in a core schema.

도 9는 항목 폴더, 그의 멤버 항목들, 및 항목 폴더와 그의 멤버 항목들 사이의 상호접속 관계를 나타내는 블록도이다.9 is a block diagram illustrating an item folder, its member items, and an interconnect relationship between an item folder and its member items.

도 10은 카테고리(다시, 항목 자체), 그의 멤버 항목들, 및 카테고리와 그의 멤버 항목들 사이의 상호접속 관계를 나타내는 블록도이다.10 is a block diagram illustrating a category (again, the item itself), its member items, and an interconnection relationship between the category and its member items.

도 11은 본 발명에 따른, 저장 플랫폼의 데이터 모델의 참조 타입 계층 구조를 나타내는 도면이다.11 illustrates a reference type hierarchy of a data model of a storage platform, in accordance with the present invention.

도 12는 본 발명의 일 실시예에 따라, 관계들이 어떻게 분류되는지를 나타내는 도면이다.12 is a diagram illustrating how relationships are classified, in accordance with an embodiment of the invention.

도 13은 본 발명의 일 실시예에 따른, 통지 메커니즘을 나타내는 도면이다.13 is a diagram illustrating a notification mechanism according to an embodiment of the present invention.

도 14는 2개의 트랜잭션이 모두 동일한 B 트리 내에 새로운 레코드를 삽입하는 예를 나타내는 도면이다.14 is a diagram illustrating an example in which two transactions insert a new record in the same B tree.

도 15는 본 발명의 일 실시예에 따른, 데이터 변경 검출 프로세스를 나타내는 도면이다.15 is a diagram illustrating a data change detection process, according to an embodiment of the present invention.

도 16은 예시적인 디렉토리 트리를 나타내는 도면이다.16 is a diagram illustrating an exemplary directory tree.

도 17은 본 발명의 다른 실시예에 따른, 디렉토리 기반 파일 시스템의 기존 폴더가 저장 플랫폼 데이터 저장소로 이동하는 예를 나타내는 도면이다.17 is a diagram illustrating an example of moving an existing folder of a directory-based file system to a storage platform data store according to another embodiment of the present invention.

도 18은 본 발명의 일 실시예에 따른, 포함 폴더의 개념을 나타내는 도면이 다.18 is a diagram illustrating a concept of an include folder according to an embodiment of the present invention.

도 19는 저장 플랫폼 API의 기본 구조를 나타내는 도면이다.19 is a diagram illustrating a basic structure of a storage platform API.

도 20은 저장 플랫폼 API 스택의 다양한 컴포넌트를 개략적으로 나타내는 도면이다.20 is a diagram schematically illustrating various components of a storage platform API stack.

도 21a 및 21b는 예시적인 연락처 (항목 및 요소) 스키마의 도면이다.21A and 21B are diagrams of example contact (item and element) schemas.

도 22는 본 발명의 양태에 따른, 저장 플랫폼 API의 실행시간 프레임워크를 나타내는 도면이다.22 illustrates a runtime framework of a storage platform API, in accordance with aspects of the present invention.

도 23은 본 발명의 일 실시예에 따른, FindAll 동작의 실행을 나타내는 도면이다.23 illustrates execution of a FindAll operation according to an embodiment of the present invention.

도 24는 본 발명의 양태에 따라, 저장 플랫폼 API 클래스들이 저장 플랫폼 스키마로부터 생성되는 프로세스를 나타내는 도면이다.24 is a diagram illustrating a process in which storage platform API classes are generated from a storage platform schema, in accordance with an aspect of the present invention.

도 25는 본 발명의 다른 양태에 따른, 파일 API가 기초로 하는 스키마를 나타내는 도면이다.25 is a diagram illustrating a schema on which a file API is based, according to another aspect of the present invention.

도 26은 본 발명의 일 실시예에 따라, 데이터 보안을 위해 사용되는 액세스 마스크 포맷(access mask format)을 나타내는 도면이다.FIG. 26 is a diagram illustrating an access mask format used for data security, according to an embodiment of the present invention.

도 27a, b 및 c는 본 발명의 일 양태의 일 실시예에 따라, 동일하게 보호되는 새로운 보안 영역이 기존 보안 영역으로부터 보호되는 것을 나타내는 도면이다.27A, B, and C are diagrams illustrating that a new secured area that is equally protected is protected from an existing secured area, according to one embodiment of an aspect of the present invention.

도 28은 본 발명의 일 양태의 일 실시예에 따른, 항목 검색 뷰(Item search view)의 개념을 나타내는 도면이다.FIG. 28 is a diagram illustrating the concept of an Item search view according to an embodiment of an aspect of the present invention.

도 29는 본 발명의 일 실시예에 따른, 예시적인 항목 계층 구조를 나타내는 도면이다.29 is a diagram illustrating an exemplary item hierarchy, in accordance with an embodiment of the present invention.

목차Contents

I. 서론I. Introduction

A. 예시적인 컴퓨팅 환경A. Example Computing Environment

B. 통상의 파일 기반 저장B. Normal File-Based Storage

II. 데이터의 체계화, 검색 및 공유를 위한 새로운 저장 플랫폼II. New storage platform for organizing, searching, and sharing data

A. 용어집A. Glossary

B. 저장 플랫폼의 개요B. Overview of Storage Platforms

C. 데이터 모델C. Data Model

1. 항목1. Item

2. 항목 식별2. Item Identification

a) 항목 참조a) See item

(1) ItemIDReference(1) ItemIDReference

(2) ItemPathReference(2) ItemPathReference

b) 참조 타입 계층 구조b) reference type hierarchy

3. 항목 폴더 및 카테고리3. Item Folders and Categories

4. 스키마4. Schema

a) 기본 스키마a) basic schema

b) 코어 스키마b) core schema

5. 관계5. Relationship

a) 관계 선언a) relationship declaration

b) 유지 관계b) maintenance relationship

c) 삽입 관계c) insertion relationship

d) 참조 관계d) reference relationships

e) 규칙 및 제한e) rules and restrictions

f) 관계 순서화f) relationship ordering

6. 확장성6. Scalability

a) 항목 확장a) item expansion

b) NestedElement 타입 확장b) NestedElement type extension

D. 데이터베이스 엔진D. Database Engine

1. UDT를 사용한 데이터 저장소 구현1. Implementing a Data Store Using UDTs

2. 항목 매핑2. Item Mapping

3. 확장 매핑3. Extension Mapping

4. 중첩 요소 매핑4. Nested Element Mapping

5. 객체 식별5. Object Identification

6. SQL 객체 명명6. Naming SQL Objects

7. 칼럼 명명7. Column Naming

8. 검색 뷰8. Search View

a) 항목a) item

(1) 마스터 항목 검색 뷰(1) Master Item Search View

(2) 타입화된 항목 검색 뷰(2) Typed Item Search View

b) 항목 확장b) item expansion

(1) 마스터 확장 검색 뷰(1) master extended search view

(2) 타입화된 확장 검색 뷰(2) typed extended search view

c) 중첩 요소c) nested elements

d) 관계d) relationships

(1) 마스터 관계 검색 뷰(1) Master Relationship Search View

(2) 관계 인스턴스 검색 뷰(2) relationship instance search view

9. 갱신9. Renewal

10. 변경 추적 및 묘비10. Change tracking and tombstone

a) 변경 추적a) change tracking

(1) "마스터" 검색 뷰에서의 변경 추적(1) Change tracking in the "master" search view

(2) "타입화된" 검색 뷰에서의 변경 추적(2) Change tracking in "typed" search views

b) 묘비b) tombstone

(1) 항목 묘비(1) item tombstone

(2) 확장 묘비(2) tombstone

(3) 관계 묘비(3) relationship tombstone

(4) 묘비 소거 (4) tombstone elimination

11. 헬퍼 API 및 함수11. Helper APIs and Functions

a) 함수 [System.Storage].GetItema) function [System.Storage] .GetItem

b) 함수 [System.Storage].GetExtensionb) function [System.Storage] .GetExtension

c) 함수 [System.Storage].GetRelationshipc) function [System.Storage] .GetRelationship

12. 메타데이터12. Metadata

a) 스키마 메타데이터a) schema metadata

b) 인스턴스 메타데이터b) instance metadata

E. 보안E. Security

1. 개요1. Overview

2. 보안 모델의 상세 설명2. Detailed description of the security model

a) 보안 기술자 구조a) security engineer structure

(1) 액세스 마스크 포맷(1) access mask format

(2) 일반 액세스 권리(2) general access rights

(3) 표준 액세스 권리(3) standard access rights

b) 항목 특정 권리b) item-specific rights;

(1) 파일 및 디렉토리 객체 특정 권리(1) file and directory object specific rights

(2) WinFSItemRead(2) WinFSItemRead

(3) WinFSItemRead 속성(3) WinFSItemRead property

(4) WinFSItemWrite 속성(4) WinFSItemWrite property

(5) WinFSItemWrite(5) WinFSItemWrite

(6) WinFSItemAddLink(6) WinFSItemAddLink

(7) WinFSItemDeleteLink(7) WinFSItemDeleteLink

(8) 항목을 삭제하기 위한 권리(8) Right to Delete Items

(9) 항목을 복사하기 위한 권리(9) Right to copy items

(10) 항목을 이동시키기 위한 권리(10) Right to move items

(11) 항목에 대한 보안 정책을 보기 위한 권리(11) Right to view security policy on items

(12) 항목에 대한 보안 정책을 변경하기 위한 권리(12) The right to change the security policy on items.

(13) 직접적인 등가물을 갖지 않는 권리(13) The right not to have a direct equivalent

3. 구현3. Implementation

a) 컨테이너 내에 새로운 항목 생성a) create a new item within the container

b) 항목에 명시적인 ACL 추가b) adding explicit ACLs to entries

c) 항목에 유지 관계 추가c) adding maintenance relationships to items

d) 항목으로부터 유지 관계 삭제d) delete a maintenance relationship from an item;

e) 항목으로부터 명시적인 ACL 삭제e) explicit ACL deletion from entries

f) 항목에 관련된 ACL 수정f) modify the ACL associated with an entry.

F. 통지 및 변경 추적F. Notice and Change Tracking

1. 저장 변경 이벤트1. Save change event

a) 이벤트a) event

b) 감시자b) monitor

2. 변경 추적 및 통지 생성 메커니즘2. Change tracking and notification generation mechanism

a) 변경 추적a) change tracking

b) 타임 스탬프 관리b) timestamp management

c) 데이터 변경 삭제 - 이벤트 검출c) Data change deletion-Event detection

G. 동기화G. Sync

1. 저장 플랫폼 대 저장 플랫폼 동기화1. Storage platform vs storage platform synchronization

a) 동기화(Sync) 제어 애플리케이션a) Sync control application

b) 스키마 주석b) schema annotation

c) Sync 구성c) Sync configuration

(1) 공동체 폴더-매핑(1) community folder-mapping

(2) 프로파일(2) profile

(3) 스케쥴(3) schedule

d) 충돌 처리d) conflict handling

(1) 충돌 검출(1) collision detection

(a) 지식 기반 충돌(a) knowledge base conflict

(b) 제한 기반 충돌(b) restriction-based conflicts

(2) 충돌 처리(2) conflict handling

(a) 자동화된 충돌 해결(a) automated conflict resolution

(b) 충돌 로깅(b) conflict logging

(c) 충돌 검사 및 해결(c) collision detection and resolution

(d) 사본의 수렴 및 충돌 해결의 전파(d) dissemination of copies and dissemination of conflict resolution;

2. 비 저장 플랫폼 데이터 저장소에 대한 동기화2. Synchronize for non-storage platform data store

a) 동기화 서비스a) synchronization service

(1) 변경 열거(1) change enumeration

(2) 변경 적용 (2) apply changes

(3) 충돌 해결(3) conflict resolution

b) 어댑터 구현b) adapter implementation

3. 보안3. Security

4. 관리성4. Manageability

H. 통상의 파일 시스템 연동성H. Normal File System Interoperability

1. 연동성에 대한 모델1. Model for interoperability

2. 데이터 저장소 기능2. Data Store Function

a) 볼륨이 아님a) not a volume

b) 저장소 구조b) storage structure

c) 모든 파일들이 이주되지 않음c) all files are not migrated

d) 저장 플랫폼 파일에의 NTFS 명칭 공간 액세스d) NTFS Namespace Access to Storage Platform Files

e) 예상되는 명칭 공간/도출 문자e) expected namespace / derived character

I. 저장 플랫폼 APII. Storage Platform API

1. 개요1. Overview

2. 명명 및 범위2. Naming and scope

3. 저장 플랫폼 API 컴포넌트3. Storage Platform API Components

4. 데이터 클래스4. Data Class

5. 실행시간 프레임워크5. Runtime framework

a) 실행시간 프레임워크 클래스a) runtime framework classes

(1) ItemContext(1) ItemContext

(2) ItemSearcher(2) ItemSearcher

(a) 타겟 타입(a) target type

(b) 필터(b) filter

(c) 검색 준비(c) preparing for search

(d) 옵션 찾기(d) Find options

(3) 항목 결과 스트림("FindResult")(3) Item Result Stream ("FindResult")

b) 동작의 실행시간 프레임워크b) runtime framework of operations;

c) 공통 프로그래밍 패턴c) common programming patterns

(1) ItemContext 객체 열고 닫기(1) opening and closing an ItemContext object

(2) 객체 검색(2) object search

(a) 검색 옵션(a) search options

(b) FindOne 및 FindOnly(b) FindOne and FindOnly

(c) ItemContext에 대한 쇼트컷 검색(c) Shortcut search for ItemContext

(d) ID 또는 경로에 의한 찾기(d) Find by ID or path

(e) GetSearcher 패턴(e) GetSearcher pattern

(3) 저장소 갱신(3) update the repository

6. 보안6. Security

7. 관계 지원7. Relationship Support

a) 기본 관계 타입a) basic relationship types

(1) Relationship 클래스(1) Relationship class

(2) ItemReference 클래스(2) ItemReference class

(3) ItemIdReference 클래스(3) ItemIdReference class

(4) ItemPathReference 클래스(4) ItemPathReference class

(5) RelationshipId 구조(5) RelationshipId structure

(6) VirtualRelationshipCollection 클래스(6) VirtualRelationshipCollection class

b) 생성된 관계 타입b) the type of relationship created

(1) 생성된 관계 타입(1) the created relationship type

(2) RelationshipPrototype 클래스(2) RelationshipPrototype class

(3) RelationshipPrototypeCollection 클래스(3) RelationshipPrototypeCollection class

c) 항목 클래스 내의 관계 지원c) supporting relationships within item classes

(1) Item 클래스(1) Item class

(2) RelationshipCollection 클래스(2) RelationshipCollection class

d) 검색 표현 내의 관계 지원d) supporting relationships in search expressions;

(1) 항목으로부터 관계로 트래버스(traverse)함(1) Traverse from relationship to relationship

(2) 관계로부터 항목으로 트래버스함(2) Traverse from item to item

(3) 관계 트래버설(traversal) 조합(3) relational traversal combination

e) 관계 지원의 예시적인 사용e) exemplary use of relationship support

(1) 관계에 대한 검색(1) search for relationships

(2) 관계로부터 소스 및 타겟 항목으로 네비게이션(2) navigation from source to target items

(3) 소스 항목으로부터 관계로 네비게이션(3) navigation from source item to relation

(4) 관계(및 항목) 생성(4) Create relationships (and items)

(5) 관계(및 항목) 삭제(5) Delete relationships (and items)

8. 저장 플랫폼 API "확장"8. Storage Platform API "Extension"

a) 도메인 거동a) domain behavior

b) 값-추가 거동b) value-additional behavior

c) 서비스 공급자로서의 값-추가 거동c) value-adding behavior as a service provider;

9. 시간 프레임워크 설계9. Design time framework

10. 질의 형식10. Query Format

a) 필터 기초a) filter base

b) 타입 캐스트(cast)b) type cast

c) 필터 신택스c) filter syntax

11. 원격11. Remote

a) API의 로컬/원격 투명성a) local / remote transparency of the API

b) 원격의 저장소 플랫폼 구현b) remote storage platform implementation

c) 비 저장 플랫폼 저장소에의 액세스c) access to non-storage platform repositories

d) DFS와의 관계d) relationship with DFS

e) GXA/인디고(indigo)와의 관계e) relationship with GXA / indigo

12. 제한12. Limitations

13. 공유13. Share

a) 공유 표현a) shared representation

b) 공유 관리b) share management

c) 공유 액세스c) shared access

d) 발견성d) discoverability

14. Find의 시맨틱14. Semantics of Find

15. 저장소 플랫폼 연락처 API15. Storage Platform Contact API

a) System.Storage.Contact의 개요a) Overview of System.Storage.Contact

b) 도메인 거동b) domain behavior

16. 저장소 플랫폼 파일 API16. Repository platform file API

a) 소개a) Introduction

(1) 저장소 플랫폼 내의 NTFS 볼륨을 반영(1) reflects NTFS volumes within the storage platform

(2) 저장 플랫폼 명칭 공간에 파일 및 디렉토리 생성(2) Create files and directories in the storage platform namespace

b) 파일 스키마b) file schema

c) System.Storage.Files의 개요c) Overview of System.Storage.Files

d) 코드 예d) code example

(1) 파일 열기 및 파일에 기록(1) open file and write to file

(2) 질의 사용(2) using queries

e) 도메인 거동e) domain behavior

J. 결론J. Conclusion

I. 서론I. Introduction

본 발명의 내용은 법적인 요건을 만족시키도록 구체적으로 설명된다. 그러나, 설명 자체는 본 발명의 범위를 한정하려는 의도는 아니다. 오히려, 본 발명자는 특허 청구된 내용이 다른 현재 또는 미래의 기술과 함께 본 명세서에서 설명된 것들과 다른 단계들 또는 유사한 단계들의 조합을 포함하도록 다른 방식으로 구현될 수도 있음을 고려하였다. 더욱이, "단계"라는 용어가 본 명세서에서 사용 방법들의 상이한 요소들을 의미하기 위해 사용될 수 있지만, 이 용어는 개별 단계들의 순서가 명시적으로 기술될 때를 제외하고는 다양한 단계들 사이의 임의의 특정 순서를 의미하는 것으로 해석되지 않아야 한다. The subject matter of the present invention is specifically described to satisfy legal requirements. However, the description itself is not intended to limit the scope of the invention. Rather, the inventors have contemplated that the claimed subject matter may be embodied in other manners, including other steps or combinations of steps similar to those described herein, along with other current or future technologies. Moreover, although the term "step" may be used herein to mean different elements of the methods of use, this term refers to any particular between various steps except when the order of individual steps is explicitly described. It should not be construed as meaning an order.

A. 예시적인 컴퓨팅 환경A. Example Computing Environment

본 발명의 다양한 실시예는 컴퓨터 상에서 실행될 수 있다. 도 1 및 아래의 설명은 본 발명이 구현될 수 있는 적절한 컴퓨팅 환경의 간략한 전반적인 설명을 제공하고자 의도된다. 요구되지는 않지만, 본 발명의 다양한 양태는 클라이언트 워크스테이션 또는 서버와 같은 컴퓨터에 의해 실행되는 프로그램 모듈과 같은 컴퓨터 실행 가능 명령어와 일반적으로 관련하여 설명될 수 있다. 일반적으로, 프로그램 모듈은 특정 작업을 수행하거나 특정 추상 데이터 타입을 구현하는 루틴, 프로그램, 객체, 컴포넌트, 데이터 구조 등을 포함한다. 더욱이, 본 발명은 핸드헬드 장치, 멀티프로세서 시스템, 마이크로프로세서 기반 또는 프로그래머블 소비자 전자장치, 네트워크 PC, 미니 컴퓨터, 메인프레임 컴퓨터 등을 포함하는 다른 컴퓨터 시스템 구성에서 실시될 수 있다. 본 발명은 또한 통신 네트워크를 통해 링크 된 원격 처리 장치들에 의해 작업가 수행되는 분산 컴퓨팅 환경에서 실시될 수 있다. 분산 컴퓨팅 환경에서, 프로그램 모듈은 로컬 및 원격 메모리 저장 장치 양자에 위치할 수 있다. Various embodiments of the invention may be implemented on a computer. 1 and the following description are intended to provide a brief general description of a suitable computing environment in which the present invention may be implemented. Although not required, various aspects of the invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer, such as a client workstation or server. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, the present invention may be practiced in other computer system configurations including handheld devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

도 1에 도시된 바와 같이, 예시적인 범용 컴퓨팅 시스템은 처리 장치(21), 시스템 메모리(22), 및 시스템 메모리를 포함하는 다양한 시스템 컴포넌트를 처리 장치(21)에 결합하는 시스템 버스(23)를 포함하는 통상의 개인용 컴퓨터(20) 등을 포함한다. 시스템 버스(23)는 메모리 버스 또는 메모리 제어기, 주변 버스, 및 다양한 버스 구조 중 어느 하나를 사용한 로컬 버스를 포함하는 여러 타입의 버스 구조 중 하나일 수 있다. 시스템 메모리는 ROM(24) 및 RAM(25)을 포함한다. 예컨대 시동 중에 개인용 컴퓨터(20) 내의 요소들 사이에서 정보를 전송하는 것을 돕는 기본 루틴을 포함하는 BIOS(26)는 ROM(24)에 저장된다. 개인용 컴퓨터(20)는 도시되지 않은 하드 디스크에 대한 판독 및 기록을 위한 하드 디스크 드라이브(27), 도시되지 않은 착탈식 자기 디스크(29)에 대한 판독 및 기록을 위한 자기 디스크 드라이브(28), 및 CD-ROM 또는 다른 광학 매체와 같은 착탈식 광 디스크(31)에 대한 판독 및 기록을 위한 광 디스크 드라이브(30)를 더 포함할 수 있다. 하드 디스크 드라이브(27), 자기 디스크 드라이브(28) 및 광 디스크 드라이브(30)는 각각 하드 디스크 드라이브 인터페이스(32), 자기 디스크 드라이브 인터페이스(33) 및 광 디스크 드라이브 인터페이스(34)에 의해 시스템 버스(23)에 접속된다. 드라이브들 및 관련 컴퓨터 판독 가능 매체들은 컴퓨터 판독 가능 명령어, 데이터 구조, 프로그램 모듈 및 다른 개인용 컴퓨터(20)용 데이터의 비휘발성 저장을 제공한다. 본 명세 서에 설명되는 예시적인 환경이 하드 디스크, 착탈식 자기 디스크(29) 및 착탈식 광 디스크(21)를 사용하고 있지만, 자기 카세트, 플래시 메모리 카드, DVD, 베르누이 카트리지, RAM, ROM 등과 같이 컴퓨터에 의해 액세스될 수 있는 데이터를 저장할 수 있는 다른 타입의 컴퓨터 판독 가능 매체도 예시적인 컴퓨팅 환경에서 사용될 수 있다는 것을 당업자들은 이해해야 한다. 마찬가지로, 예시적인 환경은 열 센서 및 보안 또는 화재 경보 시스템과 같은 많은 타입의 모니터링 장치, 및 다른 정보 소스를 포함할 수 있다. As shown in FIG. 1, an exemplary general-purpose computing system includes a system bus 23 that couples various system components, including the processing unit 21, system memory 22, and system memory, to the processing unit 21. Ordinary personal computer 20, and the like, which are included. The system bus 23 may be one of several types of bus structures including a memory bus or a memory controller, a peripheral bus, and a local bus using any of a variety of bus structures. The system memory includes a ROM 24 and a RAM 25. BIOS 26 is stored in ROM 24 that includes, for example, a basic routine to help transfer information between elements in personal computer 20 during startup. The personal computer 20 includes a hard disk drive 27 for reading and writing to a hard disk not shown, a magnetic disk drive 28 for reading and writing to a removable magnetic disk 29 not shown, and a CD. It may further comprise an optical disc drive 30 for reading and writing to a removable optical disc 31, such as a ROM or other optical medium. The hard disk drive 27, the magnetic disk drive 28, and the optical disk drive 30 are each connected to a system bus by the hard disk drive interface 32, the magnetic disk drive interface 33, and the optical disk drive interface 34. 23). The drives and associated computer readable media provide non-volatile storage of computer readable instructions, data structures, program modules, and other data for the personal computer 20. Although the exemplary environment described in this specification uses a hard disk, a removable magnetic disk 29 and a removable optical disk 21, the computer may be installed in a computer such as a magnetic cassette, a flash memory card, a DVD, a Bernoulli cartridge, RAM, a ROM, or the like. Those skilled in the art should understand that other types of computer readable media capable of storing data that can be accessed by may be used in the exemplary computing environment. Likewise, example environments may include many types of monitoring devices, such as thermal sensors and security or fire alarm systems, and other sources of information.

운영 체제(35), 하나 이상의 애플리케이션 프로그램(36), 다른 프로그램 모듈(37) 및 프로그램 데이터(38)를 포함하는 다수의 프로그램 모듈이 하드 디스크, 자기 디스크(29), 광 디스크(31), ROM(24) 또는 RAM(25)에 저장될 수 있다. 사용자는 키보드(40) 및 포인팅 장치(42)와 같은 입력 장치를 통해 개인용 컴퓨터(20)에 명령 및 정보를 입력할 수 있다. 다른 입력 장치(도시되지 않음)는 마이크, 조이스틱, 게임 패드, 위성 안테나, 스캐너 등을 포함할 수 있다. 이들 및 다른 입력 장치들은 종종 시스템 버스에 결합되는 직렬 포트 인터페이스(46)를 통해 처리 장치(21)에 접속되지만, 병렬 포트, 게임 포트 또는 USB와 같은 다른 인터페이스를 통해 접속될 수 있다. 모니터(47) 또는 다른 타입의 표시 장치도 비디오 어댑터(48)와 같은 인터페이스를 통해 시스템 버스(23)에 접속된다. 모니터(47) 외에, 개인용 컴퓨터는 일반적으로 스피커 및 프린터와 같은 다른 주변 출력 장치(도시되지 않음)를 포함한다. 도 1의 예시적인 시스템은 또한 호스트 어댑터(55), SCSI 버스(56) 및 SCSI 버스(56)에 접속된 외부 저장 장치(62)를 포함한다.A number of program modules, including an operating system 35, one or more application programs 36, other program modules 37, and program data 38, may include hard disks, magnetic disks 29, optical disks 31, ROMs. 24 or RAM 25. A user may enter commands and information into the personal computer 20 through input devices such as keyboard 40 and pointing device 42. Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 21 via a serial port interface 46 that is coupled to the system bus, but may be connected via another interface, such as a parallel port, game port or USB. A monitor 47 or other type of display device is also connected to the system bus 23 via an interface such as a video adapter 48. In addition to the monitor 47, personal computers generally include other peripheral output devices (not shown) such as speakers and printers. The example system of FIG. 1 also includes a host adapter 55, a SCSI bus 56, and external storage 62 connected to the SCSI bus 56.

개인용 컴퓨터(20)는 원격 컴퓨터(49)와 같은 하나 이상의 원격 컴퓨터에 대한 논리 접속을 사용하여 네트워크 환경에서 동작할 수 있다. 원격 컴퓨터(49)는 다른 개인용 컴퓨터, 서버, 라우터, 네트워크 PC, 피어 장치 또는 다른 공통 네트워크 노드일 수 있으며, 도 1에는 메모리 저장 장치(50)만이 도시되어 있지만, 일반적으로 개인용 컴퓨터(20)와 관련하여 위에 설명된 요소들의 대부분 또는 전부를 포함한다. 도 1에 도시된 논리 접속은 LAN(51) 및 WAN(52)을 포함한다. 이러한 네트워킹 환경은 사무실, 기업 컴퓨터 네트워크, 인트라넷 및 인터넷에서 일반적이다.Personal computer 20 may operate in a network environment using logical connections to one or more remote computers, such as remote computer 49. Remote computer 49 may be another personal computer, server, router, network PC, peer device, or other common network node, although only memory storage device 50 is shown in FIG. 1, but generally with personal computer 20. It includes most or all of the elements described above in connection with. The logical connection shown in FIG. 1 includes a LAN 51 and a WAN 52. Such networking environments are commonplace in offices, corporate computer networks, intranets and the Internet.

개인용 컴퓨터(20)는 LAN 네트워킹 환경에서 사용될 때 네트워크 인터페이스 또는 어댑터(53)를 통해 LAN(51)에 접속된다. 개인용 컴퓨터(20)는 WAN 네트워킹 환경에서 사용될 때 일반적으로 인터넷과 같은 WAN(52)을 통해 통신을 설정하기 위한 모뎀 또는 다른 수단을 포함한다. 내장형 또는 외장형일 수 있는 모뎀(54)은 직렬 포트 인터페이스(46)를 통해 시스템 버스(23)에 접속된다. 네트워크 환경에서, 개인용 컴퓨터(20)와 관련하여 설명된 프로그램 모듈 또는 그 부분들은 원격 메모리 저장 장치에 저장될 수 있다. 도시된 네트워크 접속은 예시적인 것이며, 컴퓨터들 사이에 통신 링크를 설정하기 위한 다른 수단이 사용될 수 있다는 것을 이해할 것이다.The personal computer 20 is connected to the LAN 51 via a network interface or adapter 53 when used in a LAN networking environment. Personal computer 20 generally includes a modem or other means for establishing communications over WAN 52, such as the Internet, when used in a WAN networking environment. The modem 54, which may be internal or external, is connected to the system bus 23 via the serial port interface 46. In a networked environment, program modules or portions thereof described in connection with personal computer 20 may be stored in a remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means for establishing a communications link between the computers can be used.

도 2의 블록도에 도시된 바와 같이, 컴퓨터 시스템(200)은 크게 세 개의 컴포넌트 그룹, 즉 하드웨어 컴포넌트(202), 하드웨어/소프트웨어 인터페이스 시스템 컴포넌트(204), 및 애플리케이션 프로그램 컴포넌트(206)(본 명세서에서 소정의 상 황에서 "사용자 컴포넌트" 또는 "소프트웨어 컴포넌트"로도 지칭됨)로 분류될 수 있다.As shown in the block diagram of FIG. 2, computer system 200 can be divided into three major groups of components: hardware component 202, hardware / software interface system component 204, and application program component 206 (as described herein). In some situations, also referred to as "user component" or "software component".

컴퓨터 시스템(200)의 다양한 실시예에서, 그리고 도 1을 다시 참조하면, 하드웨어 컴포넌트(202)는 CPU(21), 메모리(ROM(24) 및 RAM(25)), BIOS(26), 및 특히 키보드(40), 마우스(42), 모니터(47) 및/또는 프린터(도시되지 않음)와 같은 다양한 입출력(I/O) 장치를 포함할 수 있다. 하드웨어 컴포넌트(202)는 컴퓨터 시스템(200)을 위한 기본 물리적 기반 구조를 포함한다.In various embodiments of computer system 200, and referring again to FIG. 1, hardware component 202 may include CPU 21, memory (ROM 24 and RAM 25), BIOS 26, and in particular Various input / output (I / O) devices such as keyboard 40, mouse 42, monitor 47 and / or printer (not shown) may be included. Hardware component 202 includes a basic physical infrastructure for computer system 200.

애플리케이션 프로그램 컴포넌트(206)는 컴파일러, 데이터베이스 시스템, 워드 프로세서, 비지니스 프로그램, 비디오 게임 등을 포함하는 (단, 이에 한정되지 않음) 다양한 소프트웨어 프로그램을 포함한다. 애플리케이션 프로그램은 문제를 해결하고, 솔루션을 제공하고, 다양한 사용자(기기, 다른 컴퓨터 시스템 및/또는 최종 사용자)의 데이터를 처리하기 위해 컴퓨터 자원을 사용하는 수단을 제공한다.The application program component 206 includes a variety of software programs, including but not limited to compilers, database systems, word processors, business programs, video games, and the like. Application programs provide a means to solve problems, provide solutions, and use computer resources to process data of various users (devices, other computer systems, and / or end users).

하드웨어/소프트웨어 인터페이스 시스템 컴포넌트(204)는 대부분의 경우 그 자체가 쉘 및 커널을 포함하는 운영 체제(OS)를 포함한다(그리고, 몇몇 실시예에서는 운영 체제만으로 이루어진다). OS는 애플리케이션 프로그램과 컴퓨터 하드웨어 사이에서 중개자로서 동작하는 특수 프로그램이다. 하드웨어/소프트웨어 인터페이스 시스템 컴포넌트(204)는 또한 가상 기기 관리자(VMM), 공통 언어 실행 시간(CLR) 또는 그의 기능적 등가물, 자바 가상 기기(JVM) 또는 그의 기능적 등가물, 또는 컴퓨터 시스템 내의 운영 체제에 대신하거나 추가적으로 다른 그러한 소프트웨어 컴포넌트를 포함할 수 있다. 하드웨어/소프트웨어 인터페이스 시스템의 목적 은 사용자가 애플리케이션 프로그램을 실행할 수 있는 환경을 제공하는 것이다. 임의의 하드웨어/소프트웨어 인터페이스 시스템의 목적은 컴퓨터 하드웨어를 효율적인 방식으로 사용하는 것은 물론 컴퓨터 시스템을 사용하기 편리하게 만드는 것이다. The hardware / software interface system component 204 most often includes an operating system (OS) that itself includes a shell and a kernel (and in some embodiments consists solely of an operating system). An OS is a special program that acts as an intermediary between an application program and computer hardware. The hardware / software interface system component 204 may also replace or substitute for a virtual device manager (VMM), a common language runtime (CLR) or a functional equivalent thereof, a Java virtual device (JVM) or a functional equivalent thereof, or an operating system within a computer system. In addition, it may include other such software components. The purpose of the hardware / software interface system is to provide an environment in which a user can execute an application program. The purpose of any hardware / software interface system is to use the computer hardware in an efficient manner as well as to make the computer system convenient to use.

하드웨어/소프트웨어 인터페이스 시스템은 일반적으로 시동시에 컴퓨터 시스템에 로딩된 후, 컴퓨터 시스템 내의 모든 애플리케이션 시스템을 관리한다. 애플리케이션 프로그램은 API를 통해 서비스를 요구함으로써 하드웨어/소프트웨어 인터페이스 시스템과 상호작용한다. 몇몇 애플리케이션 프로그램은 최종 사용자가 명령 언어 또는 GUI와 같은 사용자 인터페이스를 통해 하드웨어/소프트웨어 인터페이스 시스템과 상호작용하는 것을 가능하게 한다.The hardware / software interface system is generally loaded into the computer system at startup and then manages all application systems within the computer system. The application program interacts with the hardware / software interface system by requesting a service through an API. Some application programs allow end users to interact with a hardware / software interface system through a user interface such as a command language or a GUI.

하드웨어/소프트웨어 인터페이스 시스템은 통상적으로 애플리케이션에 대한 다양한 서비스를 수행한다. 다수의 프로그램이 동시에 실행될 수 있는 멀티 태스킹 하드웨어/소프트웨어 인터페이스 시스템에서, 하드웨어/소프트웨어 인터페이스 시스템은 어느 애플리케이션이 어떤 순서로 실행되어야 하는지, 그리고 교대를 위해 다른 애플리케이션으로 스위칭하기 전에 각각의 애플리케이션에 대해 얼마나 많은 시간이 할당되어야 하는지를 결정한다. 하드웨어/소프트웨어 인터페이스 시스템은 또한 다수의 애플리케이션 사이에서의 내부 메모리의 할당을 관리하며, 하드 디스크, 프린터 및 다이얼-업 포트와 같은 부착된 하드웨어 장치에 대한 입출력을 처리한다. 하드웨어/소프트웨어 인터페이스 시스템은 또한 동작의 상태 및 발생했을 수 있는 임의의 에러에 관한 메시지를 각각의 애플리케이션(및 소정의 경우 최 종 사용자)으로 전송한다. 하드웨어/소프트웨어 인터페이스 시스템은 또한 일괄처리 (batch) 작업(예컨대 인쇄)의 관리를 오프로딩하여, 개시 애플리케이션이 이 작업으로부터 자유롭게 되어 다른 처리 및/또는 동작을 재개하게 할 수 있다. 병렬 처리를 제공할 수 있는 컴퓨터 상에서, 하드웨어/소프트웨어 인터페이스 시스템은 또한 프로그램이 2개 이상의 프로세서에서 동시에 실행되도록 프로그램의 분할을 관리한다. Hardware / software interface systems typically perform various services for applications. In a multitasking hardware / software interface system in which multiple programs can run simultaneously, the hardware / software interface system determines which applications should be executed in what order and how many for each application before switching to another application for alternation. Determine if time should be allocated. The hardware / software interface system also manages the allocation of internal memory among multiple applications, and handles input and output to attached hardware devices such as hard disks, printers, and dial-up ports. The hardware / software interface system also sends a message to each application (and in some cases, the end user) about the status of the operation and any errors that may have occurred. The hardware / software interface system can also offload management of batch jobs (such as printing), allowing the initiating application to be freed from these jobs and resume other processing and / or operations. On a computer capable of providing parallel processing, the hardware / software interface system also manages the division of the program so that the program runs simultaneously on two or more processors.

하드웨어/소프트웨어 인터페이스 시스템 쉘(여기서는 단순히 "쉘"로서 지칭됨)은 하드웨어/소프트웨어 인터페이스 시스템에 대한 대화식 최종 사용자 인터페이스이다. (쉘은 "명령 해석기" 또는 운영 체제에서 "운영 체제 쉘"로도 지칭될 수 있다.) 쉘은 애플리케이션 및/또는 최종 사용자에 의해 직접 액세스될 수 있는 하드웨어/소프트웨어 인터페이스 시스템의 외곽 계층이다. 쉘과 달리, 커널은 하드웨어 컴포넌트와 직접 상호작용하는 하드웨어/소프트웨어 인터페이스 시스템의 내부 계층이다. The hardware / software interface system shell (herein simply referred to as "shell") is an interactive end user interface to the hardware / software interface system. (A shell may also be referred to as a "command interpreter" or "operating system shell" in the operating system.) A shell is an outer layer of a hardware / software interface system that can be accessed directly by applications and / or end users. Unlike the shell, the kernel is the inner layer of the hardware / software interface system that interacts directly with the hardware components.

본 발명의 다양한 실시예가 컴퓨터화된 시스템에 특히 적합한 것으로 생각되지만, 본 명세서에서 이러한 실시예들로 본 발명을 한정하려는 어떤 것도 의도되지 않는다. 이와 달리, 여기서 사용되는 "컴퓨터 시스템"이라는 용어는 장치들이 사실상 전자, 기기, 논리 또는 가상 장치인지에 관계없이 정보를 저장하고 처리할 수 있고, 그리고/또는 저장된 정보를 사용하여 장치 자체의 거동 또는 실행을 제어할 수 있는 임의의 장치 및 모든 장치를 포함하는 것으로 의도된다. While various embodiments of the invention are deemed particularly suitable for computerized systems, nothing herein is intended to limit the invention to these embodiments. Alternatively, the term "computer system" as used herein may store and process information regardless of whether the devices are in fact electronic, appliance, logical or virtual devices, and / or use the stored information to determine the behavior or behavior of the device itself. It is intended to include any and all devices capable of controlling the execution.

B. 통상의 파일 기반 저장B. Normal File-Based Storage

오늘날 대부분의 컴퓨터 시스템에서, "파일"은 하드웨어/소프트웨어 인터페이스 시스템은 물론 애플리케이션 프로그램, 데이터 세트 등을 포함할 수 있는 저장 가능한 정보의 단위이다. 현대의 모든 하드웨어/소프트웨어 인터페이스 시스템(윈도우, 유닉스, 리눅스, 맥 OS, 가상 기기 시스템 등)에서, 파일은 하드웨어/소프트웨어 인터페이스 시스템에 의해 조작될 수 있는 정보(예컨대, 데이터, 프로그램 등)의 기본적인 개별(저장 가능 및 리트리브 가능) 단위이다. 파일 그룹은 일반적으로 "폴더"에 체계화된다. 마이크로소프트 윈도우, 매킨토시 OS, 및 다른 하드웨어/소프트웨어 인터페이스 시스템에서, 폴더는 정보의 단일 단위로서 리트리브되고, 이동되고, 조작될 수 있는 파일들의 집합이다. 또한, 이러한 폴더는 디렉토리라는 트리 기반 계층 구조에 체계화된다(후술함). DOS, z/OS 및 대부분의 유닉스 기반 운영 체제와 같은 소정의 다른 하드웨어/소프트웨어 인터페이스 시스템에서, "디렉토리" 및/또는 "폴더"라는 용어는 상호 교환 가능하게 사용되며, 초기의 애플 컴퓨터 시스템(예컨대, 애플 IIe)은 디렉토리 대신에 "카탈로그"라는 용어를 사용했지만, 여기서 사용되는 바와 같이, 이들 용어 모두는 동의어이고 상호 교환 가능한 것으로 간주되며, 계층적 정보 저장 구조들 및 이들의 폴더 및 파일 컴포넌트에 대한 모든 다른 등가 용어 및 참조를 더 포함하는 것으로 의도된다. In most computer systems today, a "file" is a unit of storage information that can include a hardware / software interface system as well as application programs, data sets, and the like. In all modern hardware / software interface systems (Windows, Unix, Linux, Mac OS, virtual machine systems, etc.), files are the basic discrete pieces of information (eg data, programs, etc.) that can be manipulated by the hardware / software interface system. Units can be stored and retrieved. File groups are generally organized in "folders". In Microsoft Windows, Macintosh OS, and other hardware / software interface systems, a folder is a collection of files that can be retrieved, moved, and manipulated as a single unit of information. In addition, these folders are organized in a tree-based hierarchy called directories (described below). In some other hardware / software interface system, such as DOS, z / OS, and most Unix-based operating systems, the terms "directory" and / or "folder" are used interchangeably and may be used in conjunction with early Apple computer systems (e.g., , Apple IIe) used the term "catalog" instead of directories, but as used herein, all of these terms are considered synonymous and interchangeable and refer to hierarchical information storage structures and their folder and file components. It is intended to further include all other equivalent terms and references.

통상적으로, 디렉토리(폴더들의 디렉토리)는, 파일들이 폴더 내에 그룹화되고, 또한 폴더들이 디렉토리 트리를 포함하는 상대적 노드 위치에 따라 배열되는 트리 기반 계층 구조이다. 예컨대, 도 2a에 도시된 바와 같이, DOS 기반 파일 시 스템 기본 폴더(또는 "루트 디렉토리")(212)는 다수의 폴더(214)를 포함할 수 있는데, 이들 각각은 또한 추가적인 폴더들(특정 폴더의 "서브폴더")(216)을 포함할 수 있으며, 이들의 각각도 추가 폴더(218)를 포함할 수 있다(이것은 무한 반복될 수 있다). 이들 폴더 각각은, 하드웨어/소프트웨어 인터페이스 시스템 레벨에서 폴더 내의 개별 파일들이 트리 계층 구조 내의 그들의 위치 외에는 어떠한 공통점도 갖지 않을지라도 하나 이상의 파일(220)을 가질 수 있다. 놀랍지 않게도, 파일들을 폴더 계층 구조 내에 체계화하는 이러한 접근법은 이들 파일을 저장하는 데 사용되는 일반적인 저장 매체(예컨대, 하드 디스크, 플로피 디스크, CD-ROM 등)의 물리적 체계화를 간접적으로 반영한다.Typically, a directory (directory of folders) is a tree-based hierarchy in which files are grouped into folders and folders are arranged according to the relative node location that contains the directory tree. For example, as shown in FIG. 2A, the DOS-based file system default folder (or “root directory”) 212 may include a number of folders 214, each of which may also include additional folders (specific folders). 216), each of which may also include additional folders 218 (which can be repeated indefinitely). Each of these folders may have one or more files 220 at the hardware / software interface system level, although the individual files in the folder may have nothing in common other than their location in the tree hierarchy. Not surprisingly, this approach to organizing files within a folder hierarchy indirectly reflects the physical organization of common storage media (eg, hard disks, floppy disks, CD-ROMs, etc.) used to store these files.

전술한 것 외에, 각 폴더는 그의 서브 폴더 및 그의 파일들에 대한 컨테이너인데, 즉 각 폴더는 그의 서브 폴더 및 파일을 소유한다. 예컨대, 폴더가 하드웨어/소프트웨어 인터페이스 시스템에 의해 삭제될 때, 그 폴더의 서브 폴더 및 파일들도 삭제된다(각 서브 폴더의 경우, 그 자신의 서브 폴더 및 파일들을 반복적으로 더 포함한다). 마찬가지로, 각 파일은 일반적으로 단 하나의 폴더에 의해 소유되며, 파일이 복사될 수 있고, 사본이 다른 폴더에 위치될 수 있지만, 파일의 사본 자체는 원본과의 직접적인 연결을 갖지 않는 상이하고 개별적인 단위이다(예를 들어, 원본 파일에 대한 변경은 하드웨어/소프트웨어 인터페이스 시스템 레벨에서는 사본 파일에 반영되지 않는다). 이러한 관계에 따라서, 파일 및 폴더는 특성상 "물리적"인데, 이는 폴더가 물리적 컨테이너와 같이 취급되고, 파일이 이 컨테이너 내의 상이하고 개별적인 물리적 요소로 취급되기 때문이다. In addition to the foregoing, each folder is a container for its subfolders and their files, ie each folder owns its subfolders and files. For example, when a folder is deleted by the hardware / software interface system, its subfolders and files are also deleted (for each subfolder, it further includes its own subfolders and files repeatedly). Similarly, each file is typically owned by only one folder, and the file can be copied and the copy can be located in another folder, but the copy of the file itself is a different, separate unit that does not have a direct connection with the original. (For example, changes to the original file are not reflected in the copy file at the hardware / software interface system level). In accordance with this relationship, files and folders are "physical" in nature because the folder is treated like a physical container and the files are treated as different and separate physical elements within this container.

II. 데이터의 체계화, 검색 및 공유를 위한 WINFS 저장 플랫폼II. WINFS storage platform for organizing, searching, and sharing data

본 발명은 여기서 초기에 설명된 바와 같이 참조로 반영된 관련 발명들과 함께 데이터를 체계화하고, 검색하고, 공유하기 위한 저장 플랫폼에 관련된다. 본 발명의 저장 플랫폼은 전술한 기존 파일 시스템 및 데이터베이스 시스템의 종류들을 넘어 데이터 플랫폼을 확장하고 확대하며, 항목이라고 하는 새로운 데이터 형태를 포함하는 모든 데이터 타입에 대한 저장소가 되도록 설계된다.The present invention relates to a storage platform for organizing, retrieving, and sharing data with the related inventions incorporated herein by reference as described earlier. The storage platform of the present invention is designed to extend and expand the data platform beyond the types of existing file systems and database systems described above, and to be a repository for all data types, including new data types called items.

A. 용어집A. Glossary

본 명세서 및 청구범위에서 사용되는 아래의 용어는 다음의 의미를 갖는다.The following terms used in the present specification and claims have the following meanings.

ㆍ"항목(Item)"은 하드웨어/소프트웨어 인터페이스 시스템에 의해 액세스될 수 있는 저장 가능 정보의 단위이며, 단순 파일과 달리 하드웨어/소프트웨어 인터페이스 시스템 쉘에 의해 최종 사용자에게 노출되는 모든 객체에 걸쳐서 공통으로 지원되는 기본 속성 세트를 가진 객체이다. 항목은 또한 새로운 속성 및 관계가 도입되는 것을 허용하는 특징들을 포함하는 모든 항목 타입에 걸쳐 공통으로 지원되는 속성 및 관계를 갖는다(후술함)."Item" is a unit of storable information that can be accessed by the hardware / software interface system and, unlike a simple file, is commonly supported across all objects exposed to the end user by the hardware / software interface system shell. An object with a set of default attributes. An item also has attributes and relationships that are commonly supported across all item types, including features that allow new properties and relationships to be introduced (described below).

ㆍ"운영 체제(OS)"는 애플리케이션 프로그램과 컴퓨터 하드웨어 사이에서 중개자로서 기능하는 특수 프로그램이다. OS는 대부분의 경우 쉘 및 커널을 포함한다. "Operating System (OS)" is a special program that functions as an intermediary between an application program and computer hardware. The OS in most cases includes a shell and a kernel.

ㆍ"하드웨어/소프트웨어 인터페이스 시스템"은 컴퓨터 시스템의 기반 하드웨 어 컴포넌트들과 컴퓨터 시스템 상에서 실행되는 애플리케이션들 사이의 인터페이스로서 기능하는 소프트웨어 또는 하드웨어 및 소프트웨어의 조합이다. 하드웨어/소프트웨어 인터페이스 시스템은 일반적으로 운영 체제를 포함한다(그리고, 몇몇 실시예에서는 운영 체제만으로 구성된다). 하드웨어/소프트웨어 인터페이스 시스템은 또한 가상 기기 관리자(VMM), 공통 언어 실행 시간(CLR) 또는 그의 기능적 등가물, 자바 가상 기기(JVM) 또는 그의 기능적 등가물, 또는 컴퓨터 시스템 내의 운영 체제에 대신하거나 추가적으로 다른 그러한 소프트웨어 컴포넌트를 포함할 수 있다. 하드웨어/소프트웨어 인터페이스 시스템의 목적은 사용자가 애플리케이션 프로그램을 실행할 수 있는 환경을 제공하는 것이다. 임의의 하드웨어/소프트웨어 인터페이스 시스템의 목적은 컴퓨터 하드웨어를 효율적인 방식으로 사용하는 것은 물론 컴퓨터 시스템을 사용하기 편리하게 만드는 것이다. A "hardware / software interface system" is software or a combination of hardware and software that functions as an interface between the underlying hardware components of a computer system and the applications running on the computer system. The hardware / software interface system generally includes an operating system (and in some embodiments consists solely of an operating system). The hardware / software interface system may also be such software in place of or in addition to a virtual device manager (VMM), a common language execution time (CLR) or functional equivalent thereof, a Java virtual device (JVM) or functional equivalent thereof, or an operating system within a computer system. It may include a component. The purpose of the hardware / software interface system is to provide an environment in which a user can execute an application program. The purpose of any hardware / software interface system is to use the computer hardware in an efficient manner as well as to make the computer system convenient to use.

B. 저장 플랫폼의 개요B. Overview of Storage Platforms

도 3을 참조하면, 저장 플랫폼(300)은 데이터베이스 엔진(314) 상에서 구현되는 데이터 저장소(302)를 포함한다. 일 실시예에서, 데이터베이스 엔진은 객체 관계 확장들을 가진 관계형 데이터베이스 엔진을 포함한다. 일 실시예에서, 관계형 데이터베이스 엔진(314)은 마이크로소프트 SQL 서버 관계형 데이터베이스 엔진을 포함한다. 데이터 저장소(302)는 데이터의 체계화, 검색, 공유, 동기화, 및 보안을 지원하는 데이터 모델(304)을 구현한다.Referring to FIG. 3, storage platform 300 includes a data store 302 implemented on database engine 314. In one embodiment, the database engine includes a relational database engine with object relational extensions. In one embodiment, relational database engine 314 includes a Microsoft SQL Server relational database engine. The data store 302 implements a data model 304 that supports the organization, retrieval, sharing, synchronization, and security of data.

특정 타입의 데이터는 스키마(340)와 같은 스키마에서 기술되며, 저장 플랫 폼(300)은 후술하는 바와 같이 이러한 스키마를 전개하는 것은 물론, 이러한 스키마를 확장하기 위한 툴(346)을 제공한다.Certain types of data are described in a schema, such as schema 340, and storage platform 300 provides tools 346 for extending such schemas as well as deploying such schemas, as described below.

데이터 저장소(302) 내에 구현되는 변경 추적 메커니즘(306)은 데이터 저장소에 대한 변경을 추적할 수 있는 능력을 제공한다. 데이터 저장소(302)는 또한 보안 능력(308) 및 증진/강등 능력(310)을 제공하는데, 이들 양자는 후술한다. 데이터 저장소(302)는 또한 다른 저장 플랫폼 컴포넌트 및 저장 플랫폼을 사용하는 애플리케이션 프로그램(예컨대, 애플리케이션 프로그램 350a, 350b, 350c)에게 데이터 저장소(302)의 능력들을 노출시키기 위한 한 세트의 API(312)를 제공한다.The change tracking mechanism 306 implemented within the data store 302 provides the ability to track changes to the data store. Data store 302 also provides security capability 308 and enhancement / demotion capability 310, both of which are described below. The data store 302 also provides a set of APIs 312 for exposing the capabilities of the data store 302 to application programs (e.g., application programs 350a, 350b, 350c) that use other storage platform components and storage platforms. to provide.

본 발명의 저장 플랫폼은 애플리케이션 프로그램(350a, 350b, 350c)과 같은 애플리케이션 프로그램이 전술한 저장 플랫폼의 모든 능력에 액세스하고 스키마에 기술된 데이터에 액세스하는 것을 가능하게 하는 API(322)를 더 포함한다. 저장 플랫폼 API(322)는 OLE DB API(324) 및 마이크로소프트 윈도우 Win32 API(326)와 같은 다른 API와 함께 애플리케이션 프로그램에 의해 사용될 수 있다. The storage platform of the present invention further includes an API 322 that allows an application program, such as the application program 350a, 350b, 350c, to access all the capabilities of the storage platform described above and to access data described in the schema. . The storage platform API 322 may be used by the application program in conjunction with other APIs such as the OLE DB API 324 and the Microsoft Windows Win32 API 326.

본 발명의 저장 플랫폼은 사용자들 또는 시스템들 사이의 데이터 공유를 쉽게 하는 동기화 서비스(330)를 포함하는 다양한 서비스(328)를 애플리케이션 프로그램에 제공할 수 있다. 예컨대, 동기화 서비스(330)는 데이터 저장소(302)와 동일한 포맷을 가진 다른 데이터 저장소(340)와의 연동은 물론, 다른 포맷을 가진 데이터 저장소(342)에 대한 액세스를 가능하게 할 수 있다. 저장 플랫폼(300)은 또한 윈도우 NTFS 파일 시스템(318)과 같은 기존 파일 시스템과 데이터 저장소(302)의 연동을 허용하는 파일 시스템 능력을 제공한다.The storage platform of the present invention can provide a variety of services 328 to application programs, including a synchronization service 330 that facilitates data sharing between users or systems. For example, the synchronization service 330 may enable interworking with other data stores 340 having the same format as the data store 302 as well as access to data stores 342 having other formats. The storage platform 300 also provides file system capabilities that allow for interworking of the data store 302 with existing file systems such as the Windows NTFS file system 318.

적어도 몇몇 실시예에서, 저장 플랫폼(300)은 또한 데이터가 다른 시스템 상에서 동작하는 것을 가능하게 하고 다른 시스템과의 상호작용을 가능하게 하는 추가적인 능력을 애플리케이션 프로그램에게 제공할 수 있다. 이러한 능력들은 정보 에이전트 서비스(334) 및 통지 서비스(332)와 같은 추가 서비스(328)의 형태는 물론, 다른 유틸리티(336)의 형태로 구현될 수 있다. In at least some embodiments, storage platform 300 may also provide application programs with additional capabilities to enable data to operate on other systems and to interact with other systems. These capabilities may be implemented in the form of additional services 328, such as information agent service 334 and notification service 332, as well as other utilities 336.

적어도 몇몇 실시예에서, 저장 플랫폼은 컴퓨터 시스템의 하드웨어/소프트웨어 인터페이스 시스템 내에 구현되거나, 그의 통합 부분을 형성한다. 예컨대, 그리고 제한 없이, 본 발명의 저장 플랫폼은 운영 체제, 가상 기기 관리자(VMM), CLR 또는 그의 기능적 등가물, 또는 JVM 또는 그의 기능적 등가물 내에 구현되거나, 그의 통합 부분을 형성할 수 있다.In at least some embodiments, the storage platform is implemented within or forms an integral part of the hardware / software interface system of the computer system. For example, and without limitation, the storage platform of the present invention may be implemented within, or form part of, an operating system, a virtual device manager (VMM), a CLR or a functional equivalent thereof, or a JVM or a functional equivalent thereof.

본 발명의 저장 플랫폼은 그의 공통 저장 기초 및 스키마화된 데이터를 통해 소비자, 지식 노동자 및 기업을 위한 보다 효율적인 애플리케이션 개발을 가능하게 한다. 저장 플랫폼은 그의 데이터 모델에 고유한 능력들을 사용할 수 있게 만들 뿐만 아니라 기존의 파일 시스템 및 데이터베이스 액세스 방법을 수용하고 확장하는 풍부하고 확장 가능한 프로그래밍 표면 영역을 제공한다.The storage platform of the present invention enables more efficient application development for consumers, knowledge workers and enterprises through its common storage foundation and schematized data. The storage platform not only makes the capabilities unique to its data model available, but also provides a rich and extensible programming surface area to accommodate and extend existing file system and database access methods.

아래의 설명에서, 그리고 다양한 도면들에서, 본 발명의 저장 플랫폼(300)은 "WinFS"로 지칭될 수 있다. 그러나, 이러한 저장 플랫폼을 지칭하는 명칭의 사용은 단지 설명의 편의를 위한 것이며, 어떠한 식으로도 제한하려는 의도는 아니다.In the following description, and in the various figures, the storage platform 300 of the present invention may be referred to as "WinFS". However, the use of names to refer to such storage platforms is for convenience of description only and is not intended to be limiting in any way.

C. 데이터 모델C. Data Model

본 발명의 저장 플랫폼(300)의 데이터 저장소(302)는 저장소에 상주하는 데이터의 체계화, 검색, 공유, 동기화 및 보안을 지원하는 데이터 모델을 구현한다. 본 발명의 데이터 모델에서, "항목"은 저장 정보의 기본 단위이다. 데이터 모델은 후술하는 바와 같이 항목 및 항목 확장을 선언하고, 항목들에 대한 관계를 설정하며, 항목들을 항목 폴더 내에 그리고 카테고리 내에 체계화하기 위한 메커니즘을 제공한다.The data store 302 of the storage platform 300 of the present invention implements a data model that supports the organization, retrieval, sharing, synchronization, and security of data residing in the store. In the data model of the present invention, an "item" is a basic unit of stored information. The data model provides a mechanism for declaring items and item extensions, establishing relationships for items, and organizing items into item folders and into categories, as described below.

데이터 모델은 2개의 기본 메커니즘, 즉 타입 및 관계에 의존한다. 타입은 타입의 인스턴스의 형태를 지배하는 포맷을 제공하는 구조이다. 포맷은 순서화된 속성들의 세트로서 표현된다. 속성은 주어진 타입의 값 또는 값들의 세트에 대한 명칭이다. 예컨대, USPostalAddress 타입은 Street, City, Zip, State의 속성들을 가질 수 있는데, 여기서 Street, City 및 State는 스트링 타입이고, Zip은 Int32 타입이다. Street는 멀티 값(즉 한 세트의 값들)이어서, 어드레스가 Street 속성에 대해 둘 이상의 값을 갖는 것을 허용할 수 있다. 시스템은 다른 타입의 구축에 사용될 수 있는 소정의 기본 타입을 정의하는데, 이들은 String, Binary, Boolean, Int16, Int32, Int64, Single, Double, Byte, DataTime, Decimal 및 GUID를 포함한다. 타입의 속성들은 기본 타입들 중 어느 하나 또는 (아래에 설명되는 소정의 제한과 함께) 구축된 타입들 중 어느 하나를 사용하여 정의될 수 있다. 예컨대, 좌표 및 어드레스 속성을 가진 위치 타입이 정의될 수 있는데, 어드레스 속성은 전술한 바와 같이 USPostalAddress 타입이다. 속성들은 또한 필수적 또는 선택적일 수 있다.The data model depends on two basic mechanisms: type and relationship. Types are structures that provide a format that governs the type of instances of a type. The format is represented as a set of ordered attributes. An attribute is a name for a value or set of values of a given type. For example, the USPostalAddress type may have attributes of Street, City, Zip, and State, where Street, City, and State are string types, and Zip is an Int32 type. Street is multi-valued (ie, a set of values), allowing an address to have more than one value for the Street attribute. The system defines certain base types that can be used for other types of construction, including String, Binary, Boolean, Int16, Int32, Int64, Single, Double, Byte, DataTime, Decimal and GUID. Attributes of a type can be defined using either one of the base types or any of the built types (along with certain restrictions described below). For example, a location type with coordinate and address attributes can be defined, where the address attribute is of type USPostalAddress. The attributes may also be required or optional.

관계는 두 타입의 인스턴스들의 세트들 사이에 선언될 수 있으며, 이들 사이의 매핑을 표현한다. 예컨대, 사람 타입과, 어느 사람이 어느 위치에 살고 있는지를 정의하는 LivesAt이라고 하는 위치 타입 사이에 관계가 선언될 수 있다. 관계는 명칭, 2개의 엔드 포인트, 즉 소스 엔드 포인트 및 타겟 엔드 포인트를 갖는다. 관계는 또한 순서화된 속성들의 세트를 가질 수 있다. 소스 및 타겟 엔드 포인트들 양자는 명칭 및 타입을 갖는다. 예컨대, LivesAt 관계는 사람 타입의 거주자라고 하는 소스 및 위치 타입의 주거지라고 하는 타겟을 가지며, 또한 거주자가 주거지에 산 기간을 나타내는 StartDate 및 EndDate 속성을 갖는다. 사람은 시간에 따라 다수의 주거지에 살 수 있고, 주거지는 다수의 거주자를 가질 수 있으며, 따라서 StartDate 및 EndDate 정보를 넣을 가장 가능성 있는 장소는 관계 자체이다.A relationship can be declared between sets of two types of instances, representing a mapping between them. For example, a relationship can be declared between a person type and a location type called LivesAt, which defines which locations live in which locations. The relationship has a name, two endpoints, a source endpoint and a target endpoint. A relationship can also have a set of ordered attributes. Both source and target endpoints have a name and type. For example, a LivesAt relationship has a target called a dwelling of a source type and a location type called a dweller of a person type, and also has a StartDate and EndDate attribute indicating the length of time the dweller has lived in the dwelling. People can live in multiple dwellings over time, and dwellings can have multiple dwellers, so the most likely place to put StartDate and EndDate information is the relationship itself.

관계는 엔드 포인트 타입으로 주어진 타입에 의해 제한되는 인스턴스들 사이의 매핑을 정의한다. 예컨대, LivesAt 관계는 자동차가 거주자인 관계일 수 없는데, 이는 자동차가 사람이 아니기 때문이다.Relationships define the mapping between instances that are limited by a given type to an endpoint type. For example, the LivesAt relationship cannot be a car-resident relationship, because the car is not a person.

데이터 모델은 타입들 사이의 서브 타입-수퍼 타입 관계의 정의를 허용한다. BaseType 관계로도 알려진 서브 타입-수퍼 타입 관계는 타입 A가 타입 B에 대한 BaseType인 경우에 B의 모든 인스턴스가 A의 인스턴스이기도 한 경우가 존재해야 하는 방식으로 정의된다. 이것을 표현하는 또 하나의 방법은 B에 따르는 모든 인스턴스는 A도 따라야 한다는 것이다. 예컨대, A가 스트링 타입의 속성 명칭을 갖고, B가 Int16 타입의 속성 나이를 갖는 경우, B의 임의의 인스턴스는 명칭 및 나이 양자를 가져야 한다. 타입 계층 구조는 루트에 단일 수퍼 타입을 가진 트리로 서 생각될 수 있다. 루트로부터의 분기들은 제1 레벨의 서브 타입들을 제공하며, 이 레벨의 분기들은 제2 레벨의 서브 타입들을 제공하는 등, 이것은 그 자체가 어떠한 서브 타입도 갖지 않는 말단 서브 타입까지 계속된다. 트리는 균일한 깊이를 갖는 것으로 제한되지 않으나, 어떠한 순환도 포함할 수 없다. 주어진 타입이 제로 또는 많은 서브 타입 및 제로 또는 하나의 수퍼 타입을 가질 수 있다. 주어진 인스턴스는 많아야 하나의 타입 및 이 타입의 수퍼 타입에 따를 수 있다. 또 하나의 방법으로서, 트리 내에 임의의 레벨의 주어진 인스턴스에 대해, 이 인스턴스는 그 레벨에 있는 많아야 하나의 서브 타입에 따를 수 있다.The data model allows the definition of subtype-supertype relationships between types. The subtype-supertype relationship, also known as the BaseType relationship, is defined in such a way that when all the instances of B are also instances of A, where type A is the BaseType for type B. Another way to express this is that every instance following B must also follow A. For example, if A has an attribute name of type string and B has an attribute age of type Int16, then any instance of B must have both a name and an age. A type hierarchy can be thought of as a tree with a single supertype at the root. Branches from the root provide subtypes of the first level, which provide subtypes of the second level, and so on, up to the terminal subtype which itself does not have any subtypes. The tree is not limited to having a uniform depth, but may contain no circulation. A given type may have zero or many subtypes and zero or one supertype. A given instance can depend on at most one type and its supertypes. As another method, for a given instance of any level in the tree, this instance may conform to at most one subtype at that level.

타입은 그 타입의 인스턴스들이 그 타입의 서브 타입의 인스턴스이기도 해야 하는 경우 추상적이라고 일컬어진다. A type is said to be abstract when instances of that type must also be instances of subtypes of that type.

1. 항목1. Item

항목은 단순 파일과 달리 저장 플랫폼에 의해 최종 사용자 또는 애플리케이션 프로그램에게 노출되는 모든 객체에 걸쳐 공통으로 지원되는 속성들의 기본 세트를 가진 객체인 저장 가능 정보의 단위이다. 항목은 또한 후술하는 바와 같이 새로운 속성 및 관계가 도입되는 것을 허용하는 특징들을 포함하는 모든 항목 타입에 걸쳐 공통으로 지원되는 속성 및 관계를 갖는다.An item is a unit of storable information that, unlike a simple file, is an object with a basic set of attributes that is commonly supported across all objects exposed to the end user or application program by the storage platform. An item also has properties and relationships that are commonly supported across all item types, including features that allow new properties and relationships to be introduced, as described below.

항목은 복사, 삭제, 이동, 개방, 인쇄, 백업, 복원, 복제 등과 같은 일반 동작에 대한 객체이다. 항목은 저장 및 리트리브될 수 있는 단위이며, 저장 플랫폼에 의해 조작되는 저장 가능 정보의 모든 형태는 항목, 항목의 속성 또는 항목 사 이의 관계로서 존재하는데, 이들 각각은 후술한다.Items are objects for common operations such as copy, delete, move, open, print, backup, restore, duplicate, and so on. An item is a unit that can be stored and retrieved, and all forms of storeable information manipulated by the storage platform exist as items, attributes of items, or relationships between items, each of which will be described later.

항목은 연락처, 사람, 서비스, 위치, 문서(모든 다양한 종류) 등과 같은 데이터의 실세계의 쉽게 이해될 수 있는 단위를 나타낸다. 도 5a는 항목의 구조를 나타내는 블록도이다. 항목의 고유 명칭은 "위치"이다. 항목의 적격 명칭은 이 항목의 구조가 코어 스키마 내에 특정 타입의 항목으로 정의되어 있음을 나타내는 "Core.Location"이다. (코어 스키마는 후술한다.)An item represents an easily understandable unit of the real world of data such as a contact, person, service, location, document (all various kinds), and the like. 5A is a block diagram showing the structure of an item. The unique name of the item is "location". The qualified name of an item is "Core.Location", which indicates that the structure of this item is defined as a specific type of item in the core schema. (The core schema will be described later.)

위치 항목은 EAddress, MetropolitanRegion, Neighborhood 및 PostalAddress를 포함하는 다수의 속성을 갖는다. 각각에 대한 속성의 특정 타입은 속성 명칭 직후에 표시되며, 콜론(":")에 의해 속성 명칭과 구분된다. 타입 명칭의 우측에, 그 속성 타입에 대해 허용되는 값들의 수가 대괄호들("[]") 사이에 표시되는데, 콜론 우측의 별표("*")는 미지정 및/또는 비제한 수("다수")를 나타낸다. 콜론 우측의 "1"은 기껏해야 하나의 값이 존재할 수 있다는 것을 나타낸다. 콜론 좌측의 제로("0")는 속성이 선택적이라는 것을 나타낸다(아무 값도 존재하지 않을 수 있다). 콜론 좌측의 "1"은 적어도 하나의 값이 존재해야 한다는 것을 나타낸다(속성이 필요하다). Neighborhood 및 MetropolitanRegion은 모두 미리 정의된 데이터 타입 또는 "단순 타입"(그리고 본 명세서에서 대문자화 없이 표시됨)인 "nvarchar"(또는 등가물) 타입이다. 그러나, EAddress 및 PostalAddress는 각각 EAddress 및 PostalAddress 타입의 정의된 타입 또는 "복합 타입"(여기서 대문자화에 의해 표시됨)의 속성들이다. 복합 타입은 하나 이상의 단순 데이터 타입 및/또는 다른 복합 타입으로부터 도출되는 타입이다. 항목의 속성들에 대한 복합 타입은 또한 "중첩 요소"를 구성하는데, 이는 복합 타입의 상세가 그의 속성들을 정의하기 위해 직접 항목 내에 중첩되고, 복합 타입에 관한 정보가 이들 속성을 가진 항목과 함께 (후술하는 바와 같이 항목의 경계 내에) 유지되기 때문이다. 이러한 타입화의 개념은 공지되어 있으며, 당업자들에게 쉽게 이해된다.Location entries have a number of attributes including EAddress, MetropolitanRegion, Neighborhood, and PostalAddress. The specific type of attribute for each is shown immediately after the attribute name and is separated from the attribute name by a colon (":"). On the right side of the type name, the number of allowed values for that attribute type is shown between square brackets ("[]"), with an asterisk ("*") on the right side of the colon unspecified and / or unrestricted number ("many"). ). "1" to the right of the colon indicates that at most one value can be present. Zero ("0") to the left of the colon indicates that the attribute is optional (no value may be present). "1" to the left of the colon indicates that at least one value must be present (attribute required). Neighborhood and MetropolitanRegion are both "nvarchar" (or equivalent) types, which are either predefined data types or "simple types" (and shown without capitalization herein). However, EAddress and PostalAddress are attributes of the defined type or “composite type” (here indicated by capitalization) of the EAddress and PostalAddress types, respectively. A complex type is a type derived from one or more simple data types and / or other complex types. The complex type for the attributes of an item also constitutes a "nesting element", in which the details of the complex type are nested directly within the item to define its attributes, and information about the complex type is accompanied by an item with these attributes ( This is because it is maintained within the boundary of the item as described later. The concept of such typing is known and easily understood by those skilled in the art.

*도 5b는 복합 속성 타입인 PostalAddress 및 EAddress를 나타내는 블록도이다. PostalAddress 속성 타입은 PostalAddress 속성 타입의 항목이 0 또는 1의 City 값, 0 또는 1의 CountryCode 값, 0 또는 1의 MailStop 값 및 임의 수(0 내지 다수)의 PostalAddressType 등등을 갖는 것으로 예상될 수 있다. 이러한 방식으로, 항목 내의 특정 속성에 대한 데이터의 형상이 그에 따라 정의된다. EAddress 속성 타입은 도시된 바와 유사하게 정의된다. 본 명세서에서는 선택적으로 사용되지만, 위치 항목에서 복합 타입을 표현하는 또 하나의 방법은 항목을 그 안에 리스트된 각각의 복합 타입의 개별 속성들과 함께 드로잉하는 것이다. 도 5c는 복합 타입들이 더 기술되어 있는 위치 항목을 나타내는 블록도이다. 그러나, 이러한 도 5c의 위치 항목의 대체 표현은 도 5a에 도시된 것과 정확히 동일한 항목에 대한 것이라는 것을 이해해야 한다. 본 발명의 저장 플랫폼은 또한 서브 타입화를 허용하는데, 이에 따라 하나의 속성 타입이 다른 속성 타입의 서브 타입이 될 수 있다(하나의 속성 타입은 다른 부모 속성 타입의 속성을 상속한다).5B is a block diagram illustrating PostalAddress and EAddress, which are complex attribute types. The PostalAddress attribute type may be expected that an item of PostalAddress attribute type has a City value of 0 or 1, a CountryCode value of 0 or 1, a MailStop value of 0 or 1, and an arbitrary number (0 to many) of PostalAddressType, and so forth. In this way, the shape of the data for a particular attribute in an item is defined accordingly. The EAddress attribute type is defined similarly to that shown. Although optionally used herein, another way to represent a complex type in a location item is to draw the item with the individual attributes of each complex type listed therein. 5C is a block diagram illustrating a location item in which complex types are further described. However, it should be understood that this alternative representation of the location item in FIG. 5C is for the exact same item as shown in FIG. 5A. The storage platform of the present invention also allows for subtypes, whereby one attribute type can be a subtype of another attribute type (one attribute type inherits attributes of another parent attribute type).

속성들 및 이들의 속성 타입과 유사하지만 다르게, 항목들은 서브 타입화의 주체일 수도 있는 그들 자신의 항목 타입들을 고유하게 표현한다. 즉, 본 발명의 여러 실시예에서의 저장 플랫폼은 항목이 다른 항목의 서브 타입이 되는 것을 허용한다(이에 따라 하나의 항목은 다른 부모 항목의 속성을 상속한다). 더욱이, 본 발명의 다양한 실시예에서, 모든 항목은 기본 스키마에서 발견되는 제1 및 기본 항목 타입인 "항목" 항목 타입의 서브 타입이다. (기본 스키마도 후술된다). 도 6a는 기본 스키마에서 발견되는 Item 항목 타입의 서브 타입인 항목, 이 인스턴스 내의 위치 항목을 나타낸다. 이 도면에서, 화살표는 위치 항목이(모든 다른 항목과 같이) Item 항목 타입의 서브 타입임을 나타낸다. 모든 다른 항목이 도출되는 기본 항목인 Item 항목 타입은 ItemId 및 다양한 타임 스탬프와 같은 다수의 중요한 속성을 가지며, 이에 의해 운영 체제 내의 모든 항목의 표준 속성을 정의한다. 이 도면에서, 이러한 Item 항목 타입의 속성들은 위치에 의해 상속되며, 이에 의해 위치의 속성이 된다. Similar to the attributes and their attribute types, but differently, the entries uniquely represent their own item types, which may be the subject of the subtyped. That is, the storage platform in various embodiments of the present invention allows an item to be a subtype of another item (whereby one item inherits the attributes of another parent item). Moreover, in various embodiments of the present invention, all items are subtypes of the "item" item type, which are the first and basic item types found in the base schema. (Basic schema is also described later). 6A shows an item that is a subtype of the Item item type found in the basic schema, and a location item within this instance. In this figure, the arrow indicates that the location item (as with all other items) is a subtype of the Item item type. The Item item type, which is the base item from which all other items are derived, has a number of important properties, such as ItemId and various time stamps, thereby defining the standard properties of all items within the operating system. In this figure, the properties of this Item item type are inherited by the location, thereby becoming the property of the location.

Item 항목 타입으로부터 상속된 위치 항목의 속성을 표현하는 또 하나의 방법은 위치를 그 안에 리스트된 부모 항목으로부터의 각각의 속성 타입의 개별 속성들과 함께 드로잉하는 것이다. 도 6b는 직접 속성 외에 상속된 타입들이 기술되는 위치 항목을 나타내는 블록도이다. 이 도면에서는 위치가 그의 속성들 모두와 함께, 즉 이 도면과 도 5a 양쪽에 도시된 직접 속성, 및 이 도면에는 도시되어 있으나 도 5a에는 없는(반면, 도 5a에서는, 위치 항목이 Item 항목 타입의 서브 타입이라는 것을 화살표로 표시함으로써 이들 속성이 참조된다) 상속된 속성과 함께 도시되어 있지만, 이 위치 항목은 도 5a에 도시된 것과 동일한 항목이라는 점에 유의하고 이해해야 한다.Another way to express the properties of a location item inherited from the Item type is to draw the location with the individual properties of each property type from the parent item listed in it. 6B is a block diagram illustrating a location item in which inherited types in addition to direct attributes are described. In this figure, the position, along with all of its attributes, i.e., the direct attribute shown in both this figure and FIG. 5A, and in this figure but not in FIG. 5A (whereas in FIG. 5A, the position item is of the Item item type Note that these properties are referenced by marking them with arrows indicating subtypes). Note that although the location items are shown with inherited properties, this location item is the same item as shown in FIG. 5A.

항목은 독립 객체이며, 따라서 항목을 삭제할 경우, 항목의 직접 및 상속 속성 모두가 또한 삭제된다. 마찬가지로, 항목을 리트리브할 때, 수신되는 것은 항목 및 그의 모든 직접 및 상속 속성(그의 복합 속성 타입에 관한 정보 포함)이다. 본 발명의 소정 실시예는 특정 항목을 리트리브할 때 속성들의 서브 세트를 요구하는 것을 가능하게 하지만, 이러한 많은 실시예의 디폴트는 리트리브시 항목을 그의 모든 직접 및 상속 속성들과 함께 제공하는 것이다. 더욱이, 항목의 속성은 또한 그 항목의 타입의 기존 속성에 새로운 속성을 추가함으로써 확장될 수 있다. 이러한 "확장"은 그후 항목의 진정한 속성이 되며, 그 항목의 서브 타입은 확장 속성을 자동으로 포함할 수 있다.An item is an independent object, so when you delete an item, both its direct and inherited attributes are also deleted. Likewise, when retrieving an item, what is received is the item and all its direct and inherited attributes (including information about their compound attribute types). While certain embodiments of the present invention make it possible to require a subset of attributes when retrieving a particular item, the default for many such embodiments is to provide the item upon retrieval along with all its direct and inherited attributes. Moreover, an item's attributes can also be extended by adding new attributes to existing attributes of the item's type. This "extension" then becomes the true attribute of the item, and the subtype of that item may automatically include the extension attribute.

항목의 "경계"는 그의 속성(복합 속성 타입, 확장 등을 포함)에 의해 표현된다. 항목의 경계는 또한 복사, 삭제, 이동, 생성 등과 같이 항목에 대해 수행되는 동작의 한계를 표현한다. 예컨대, 본 발명의 여러 실시예에서, 항목이 복사될 때, 그 항목의 경계 내의 모든 것이 또한 복사된다. 각 항목에 대해, 경계는 다음을 포함한다:The "boundary" of an item is represented by its attributes (including complex attribute types, extensions, etc.). The boundary of an item also expresses the limits of the actions performed on the item, such as copying, deleting, moving, creating, etc. For example, in various embodiments of the invention, when an item is copied, everything within that item's bounds is also copied. For each item, the boundary includes:

ㆍ 항목의 항목 타입, 및 항목이 다른 항목의 서브 타입인 경우(모든 항목이 기본 스키마 내의 단일 항목 및 항목 타입으로부터 도출되는 본 발명의 여러 실시예의 경우와 같이), 임의의 적용 가능한 서브 타입 정보(즉, 부모 항목 타입에 관한 정보). 복사되는 원본 항목이 다른 항목의 서브 타입인 경우, 사본도 그 동일 항목의 서브 타입일 수 있다.The item type of the item, and if the item is a subtype of another item (as in the case of various embodiments of the invention, where all items are derived from a single item and item type in the base schema), any applicable subtype information ( That is, information about the parent item type). If the original item to be copied is a subtype of another item, the copy may also be a subtype of the same item.

ㆍ 있을 경우, 항목의 복합 타입 속성 및 확장. 원본 항목이 복합 타입(원 시 또는 확장)의 속성을 가진 경우, 사본도 동일한 복합 타입을 가질 수 있다.• the complex type attribute and extension of the item, if any. If the original item has a property of a complex type (raw or extended), the copy may have the same complex type.

ㆍ 항목의 "소유 관계"에 대한 기록, 즉 이 항목(소유 항목)이 어떤 다른 항목(타겟 항목)을 소유하고 있는지를 나타내는 항목 자신의 리스트. 이것은 후술하는 바와 같이 항목 폴더와 특히 관련이 있으며, 규칙은 아래에서 모든 항목이 적어도 하나의 항목 폴더에 속해야 하는 것을 지시한다. 더욱이, 후술하는 삽입 항목과 관련하여, 삽입 항목은 이 삽입 항목이 복사, 삭제 등과 같은 동작을 위해 삽입되는 항목의 일부로서 간주된다. A record of the "ownership" of an item, i.e., a list of the item itself, indicating which other item (target item) this item (own item) owns. This is particularly relevant to item folders as described below, and the rule below indicates that all items must belong to at least one item folder. Moreover, with regard to the insertion item described later, the insertion item is considered as part of the item into which the insertion item is inserted for an operation such as copying, deleting, and the like.

* 2. 항목 식별* 2. Item Identification

항목은 ItemID에 의해 글로벌 항목 공간 내에서 고유하게 식별된다. Base.Item 타입은 항목에 대한 식별자를 저장하는 타입 GUID의 필드 ItemID를 정의한다. 항목은 데이터 저장소(302) 내에 정확하게 하나의 식별자를 가져야 한다.An item is uniquely identified within the global item space by ItemID. Base.Item type defines the field ItemID of the type GUID that stores the identifier for the item. The item must have exactly one identifier in the data store 302.

a) 항목 참조a) See item

항목 참조는 항목을 찾고 식별하기 위한 정보를 포함하는 데이터 구조이다. 데이터 모델에서, 모든 항목 참조 타입이 도출되는 ItemReference라는 명칭의 추상 타입이 정의된다. ItemReference 타입은 Resolve라는 명칭의 가상 메소드를 정의한다. Resolve 메소드는 ItemReference를 분석하고, 항목을 리턴한다. 이 메소드는 참조가 주어질 때 항목을 리트리브하는 기능을 구현하는 ItemReference의 구체적인 서브 타입들에 의해 무시된다. Resolve 메소드는 저장 플랫폼 API(322)의 일 부로서 호출된다.An item reference is a data structure that contains information for finding and identifying an item. In the data model, an abstract type named ItemReference is defined from which all item reference types are derived. The ItemReference type defines a virtual method named Resolve. The Resolve method resolves an ItemReference and returns an item. This method is overridden by concrete subtypes of ItemReference that implement the ability to retrieve an item when given a reference. The Resolve method is called as part of the storage platform API 322.

(1) ItemIDReference(1) ItemIDReference

ItemIDReference는 ItemReference의 서브 타입이다. 이것은 Locator 및 ItemID 필드를 정의한다. Locator 필드는 항목 도메인을 명명(즉, 식별)한다. 이것은 항목 도메인에 대한 Locator의 값을 분석할 수 있는 로케이터 분석 메소드에 의해 처리된다. ItemID 필드는 ItemID 타입이다.ItemIDReference is a subtype of ItemReference. This defines the Locator and ItemID fields. The Locator field names (ie, identifies) the item domain. This is handled by the Locator analysis method, which can resolve the value of the Locator for the item domain. The ItemID field is of ItemID type.

(2) ItemPathReference(2) ItemPathReference

ItemPathReference는 Locator 및 Path 필드를 정의하는 ItemReference의 특수 형태이다. Locator 필드는 항목 도메인을 식별한다. 이것은 항목 도메인에 대한 Locator의 값을 분석할 수 있는 로케이터 분석 메소드에 의해 처리된다. Path 필드는 Locator에 의해 제공되는 항목 도메인에서 루트된 저장 플랫폼 명칭 공간 내의 (상대) 경로를 포함한다.ItemPathReference is a special form of ItemReference that defines Locator and Path fields. The Locator field identifies the entry domain. This is handled by the Locator analysis method, which can resolve the value of the Locator for the item domain. The Path field contains the (relative) path in the storage platform namespace rooted at the entry domain provided by the Locator.

b) 참조 타입 계층 구조b) reference type hierarchy

이러한 타입의 참조는 세트 동작에서 사용될 수 없다. 참조는 일반적으로 경로 분석 프로세스를 통해 분석되어야 한다. 저장 플랫폼 API(322)의 Resolve 메소드는 이러한 기능을 제공한다.This type of reference cannot be used in set operations. References should generally be resolved through the path analysis process. The Resolve method of the storage platform API 322 provides this functionality.

전술한 참조 형태는 도 11에 도시된 참조 타입 계층 구조를 통해 표현된다. 이러한 타입으로부터 상속되는 추가적인 참조 타입들이 스키마에서 정의될 수 있다. 이들은 관계 선언에서 타겟 필드의 타입으로서 사용될 수 있다.The aforementioned reference type is represented through the reference type hierarchy shown in FIG. 11. Additional reference types inheriting from these types can be defined in the schema. These can be used as the type of the target field in the relationship declaration.

3. 항목 폴더 및 카테고리3. Item Folders and Categories

후술하는 바와 같이, 항목 그룹은 항목 폴더(파일 폴더와 혼동하지 말 것)라고 하는 특수 항목 내에 체계화된다. 그러나, 대부분의 파일 시스템과 달리, 항목은 둘 이상의 항목 폴더에 속할 수 있으며, 따라서 항목이 하나의 항목 폴더에서 액세스되고 수정된 때, 이 수정된 항목은 다른 항목 폴더로부터 직접 액세스될 수 있다. 본질적으로, 항목에 대한 액세스는 상이한 항목 폴더들로부터 이루어질 수 있지만, 실제로 액세스되는 것은 실제로는 동일한 항목이다. 그러나, 항목 폴더는 그의 멤버 항목들 모두를 반드시 소유하지는 않거나, 단순히 다른 폴더와 함께 항목들을 공유할 수 있으며, 따라서 항목 폴더의 삭제가 반드시 항목의 삭제로 귀착되는 것은 아니다. 그럼에도, 본 발명의 여러 실시예에서, 항목은 적어도 하나의 항목 폴더에 속해야 하며, 따라서 특정 항목에 대한 유일한 항목 폴더가 삭제된 경우, 몇몇 실시예에서는 항목이 자동으로 삭제되거나, 다른 실시예에서는 항목이 자동으로 디폴트 항목 폴더(예컨대, 다양한 파일-폴더 기반 시스템에서 사용되는 유사 명칭 폴더들과 개념적으로 유사한 "Trash Can" 항목 폴더)의 멤버가 된다.As described later, item groups are organized in special items called item folders (not to be confused with file folders). However, unlike most file systems, an item can belong to more than one item folder, so when an item is accessed and modified in one item folder, this modified item can be accessed directly from another item folder. In essence, access to an item may be from different item folders, but what is actually accessed is actually the same item. However, an item folder does not necessarily own all of its member items or may simply share items with other folders, so deletion of an item folder does not necessarily result in deletion of an item. Nevertheless, in various embodiments of the present invention, an item must belong to at least one item folder, so when the only item folder for a particular item is deleted, in some embodiments the item is automatically deleted, or in other embodiments This automatically becomes a member of the default item folder (eg, the "Trash Can" item folder conceptually similar to the similarly named folders used in various file-folder based systems).

또한 후술하는 바와 같이, 항목은 또한 (a) 항목 타입(또는 타입들), (b) 특정 직접 또는 상속 속성(또는 속성들), 또는 (c) 항목 속성에 대응하는 특정 값(또는 값들)과 같은 공통 기술 특성에 기초하는 카테고리에 속할 수 있다. 예컨대, 개인 연락처 정보에 대한 특정 속성을 포함하는 항목은 자동으로 Contact 카테고리에 속할 수 있으며, 연락처 정보 속성을 가진 임의의 항목도 자동으로 이 카테고리에 속할 것이다. 마찬가지로, "New York City" 값의 위치 속성을 갖는 임의의 항 목은 자동으로 NewYorkCity 카테고리에 속할 수 있다.As further described below, an item may also be associated with (a) an item type (or types), (b) a specific direct or inherited property (or properties), or (c) a specific value (or values) corresponding to the item property. It may belong to a category based on the same common technical characteristics. For example, an item that includes a particular attribute for personal contact information may automatically belong to the Contact category, and any item with a contact information attribute will automatically belong to this category. Similarly, any item with a location attribute of "New York City" value may automatically belong to the NewYorkCity category.

카테고리는 개념적으로 항목 폴더와 다른데, 이는 항목 폴더가 서로 관련되지 않은(즉 공통 기술 특성이 없는) 항목들을 포함할 수 있는 반면, 카테고리 내의 각 항목은 그 카테고리에 대해 기술되는 공통 타입, 속성 또는 값(공통성)을 가지며, 카테고리 내의 다른 항목들에 대한, 그리고 그들 사이에서의 관계에 대한 기초를 형성하는 것은 이러한 공통성이기 때문이다. 더욱이, 특정 폴더 내의 항목의 멤버는 그 항목의 임의의 특정 양태에 강제로 기초하지 않는 반면, 소정 실시예에서 카테고리에 절대적으로 관련된 공통성을 가진 모든 항목은 하드웨어/소프트웨어 인터페이스 시스템 레벨에서 자동으로 그 카테고리의 멤버가 될 수 있다. 개념적으로, 카테고리는 또한 특정 질의(예를 들어, 데이터베이스와 관련하여)의 결과에 기초하는 멤버를 갖는 가상 항목 폴더로 간주될 수도 있으며, 따라서 이러한 질의의 조건(카테고리의 공통성에 의해 정의됨)을 만족시키는 항목들은 카테고리의 멤버를 포함한다.Categories are conceptually different from item folders, where item folders may contain items that are not related to each other (ie, they do not have common technical characteristics), while each item within a category has a common type, attribute, or value described for that category. It is because of this commonality that has (commonity) and forms the basis for the relationships between and within the categories. Moreover, while a member of an item within a particular folder is not forcibly based on any particular aspect of that item, in some embodiments all items with commonalities that are absolutely related to the category are automatically at that hardware / software interface system level. Can be a member of Conceptually, a category can also be thought of as a virtual item folder with members based on the results of a particular query (eg, with respect to a database), thus categorizing the conditions of such a query (defined by category commonality). The satisfying items include members of the category.

도 4는 항목들, 항목 폴더들 및 카테고리들 사이의 구조 관계를 나타낸다. 다수의 항목(402, 404, 406, 408, 410, 412,414, 416, 418, 420)은 다양한 항목 폴더(422, 424, 426, 428, 430)의 멤버이다. 몇몇 항목들은 둘 이상의 항목 폴더에 속할 수 있는데, 예를 들어 항목(402)은 항목 폴더들(422 및 424)에 속한다. 몇몇 항목들, 예컨대 항목(402, 404, 406, 408, 410 및 412)은 또한 하나 이상의 카테고리(432, 434 및 436)의 멤버이며, 다른 항목들, 예를 들어 항목들(414, 416, 418 및 420)은 어떠한 카테고리에도 속하지 않을 수 있다(그러나, 이것은 임의의 속성 의 소유가 자동으로 카테고리 내의 멤버를 의미하고, 따라서 항목이 임의의 카테고리의 멤버가 되지 않기 위해서는 완전히 특징이 없어야 하는 소정의 실시예에서 거의 가능하지 않다). 폴더들의 계층 구조와 달리, 카테고리 및 항목 폴더 양자는 도시된 바와 같은 방향성 그래프와 보다 유사한 구조를 갖는다. 임의의 이벤트에서, 항목, 항목 폴더, 및 카테고리는 모두 항목(항목 타입은 상이함)이다.4 shows the structural relationship between items, item folders and categories. Multiple items 402, 404, 406, 408, 410, 412, 414, 416, 418, 420 are members of various item folders 422, 424, 426, 428, 430. Some items may belong to more than one item folder, for example item 402 belongs to item folders 422 and 424. Some items, such as items 402, 404, 406, 408, 410, and 412, are also members of one or more categories 432, 434, and 436, and other items, such as items 414, 416, 418. And 420 may not belong to any category (however, this implies that certain ownership of any attribute automatically means a member in a category, and therefore certain implementations must be completely uncharacteristic in order for an item not to be a member of any category). Hardly possible in the example). Unlike the hierarchical structure of folders, both category and item folders have a structure more similar to the directional graph as shown. In any event, the item, item folder, and category are all items (the item types are different).

파일, 폴더 및 디렉토리와 달리, 본 발명의 항목, 항목 폴더 및 카테고리는 특성상 "물리적"이 아닌데, 이는 이들이 물리적 컨테이너의 개념적 등가를 갖지 않으며, 따라서 항목들은 둘 이상의 위치에 존재할 수 있기 때문이다. 항목들이 둘 이상의 항목 폴더 위치에 존재할 수 있고 카테고리 내에 체계화될 수 있는 능력은 현재 이 분야에서 사용할 수 있는 것을 넘어서, 하드웨어/소프트웨어 인터페이스 시스템 레벨에서 향상되고 풍부한 데이터 조작 및 저장 구조 능력을 제공한다. Unlike files, folders, and directories, items, item folders, and categories of the present invention are not "physical" in nature because they do not have the conceptual equivalent of a physical container, and therefore items may exist in more than one location. The ability for items to be present in more than one item folder location and to be organized within categories is enhanced at the hardware / software interface system level and provides rich data manipulation and storage structure capabilities beyond what is currently available in the art.

4. 스키마4. Schema

a) 기본 스키마a) basic schema

항목의 생성 및 사용을 위한 보편적 기초를 제공하기 위하여, 본 발명의 저장 플랫폼의 다양한 실시예는 항목 및 속성을 생성하고 체계화하기 위한 개념적 프레임워크를 설정하는 기본 스키마를 포함한다. 기본 스키마는 항목 및 속성의 소정의 특수 타입들, 및 서브 타입들이 더 도출될 수 있는 이러한 특수 기초 타입들의 특징들을 정의한다. 이러한 기본 스키마의 사용은 프로그래머가 개념적으로 항목들(및 이들 각각의 타입들)과 속성들(및 이들 각각의 타입들)을 구별하는 것을 허용한다. 더욱이, 기본 스키마는 모든 항목(및 이들에 대응하는 항목 타입)이 기본 스키마 내의 기본 항목(및 이에 대응하는 항목 타입)으로부터 도출될 때 모든 항목이 소유할 수 있는 속성들의 기본 세트를 설명한다. To provide a universal basis for the creation and use of items, various embodiments of the storage platform of the present invention include a basic schema that sets up a conceptual framework for creating and organizing items and attributes. The base schema defines certain special types of items and attributes, and the characteristics of these special base types from which subtypes can be further derived. The use of this base schema allows the programmer conceptually to distinguish between items (and their respective types) and attributes (and their respective types). Moreover, the base schema describes a base set of attributes that all items can own when all items (and their corresponding item types) are derived from the base items (and corresponding item types) in the base schema.

도 7에 도시된 바와 같이, 그리고 본 발명의 여러 실시예와 관련하여, 기본 스키마는 3개의 최상위 레벨 타입, 즉 Item, Extension 및 PropertyBase를 정의한다. 도시된 바와 같이, 항목 타입은 기본 "항목" 항목 타입의 속성들에 의해 정의된다. 이와 달리, 최상위 레벨 속성 타입 "PropertyBase"는 미리 정의된 속성을 갖지 않으며, 단지 모든 다른 속성 타입이 도출되고, 도출된 모든 속성 타입이 상호 관련되는(단일 속성 타입으로부터 공동으로 도출됨) 앵커일 뿐이다. 확장 타입 속성은 확장이 어느 항목을 확장하는지는 물론, 항목이 다수의 확장을 가질 수 있을 때 하나의 확장을 다른 확장과 구별할 수 있는 식별자를 정의한다. As shown in FIG. 7 and with respect to various embodiments of the present invention, the base schema defines three top-level types, Item, Extension and PropertyBase. As shown, the item type is defined by the attributes of the basic "item" item type. In contrast, the top level property type "PropertyBase" has no predefined properties, it is just an anchor from which all other property types are derived and all derived property types are correlated (collected from a single property type). . The extension type attribute defines not only which item the extension extends, but also an identifier that can distinguish one extension from another when an item can have multiple extensions.

ItemFolder는 항목으로부터 상속된 속성들 외에 그의 멤버들(있을 경우)에 대한 링크를 설정하기 위한 관계를 특징으로 하는 Item 항목 타입의 서브 타입이며, IdentityKey 및 Property는 PropertyBase의 서브 타입이다. 또한, CategoryRef는 IdentityKey의 서브 타입이다. ItemFolder is a subtype of the Item item type that features a relationship for establishing a link to its members (if any) in addition to the properties inherited from the item. IdentityKey and Property are subtypes of PropertyBase. Also, CategoryRef is a subtype of IdentityKey.

b) 코어 스키마b) core schema

본 발명의 저장 플랫폼의 다양한 실시예는 최상위 레벨 항목 타입 구조에 대한 개념적 프레임워크를 제공하는 코어 스키마를 더 포함한다. 도 8a는 코어 스키마 내의 항목을 나타내는 블록도이고, 도 8b는 코어 스키마 내의 속성 타입을 나타 내는 블록도이다. 파일-폴더 기반 시스템에서 상이한 확장자(*.com, *.exe, *.bat, *.sys 등) 및 다른 기준을 가진 파일들 사이의 차이는 코어 스키마의 기능와 유사하다. 항목 기반 하드웨어/소프트웨어 인터페이스 시스템에서, 코어 스키마는, 직접(항목 타입에 의해) 또는 간접으로(항목 서브 타입에 의해) 항목 기반 하드웨어/소프트웨어 인터페이스 시스템이 이해하고 소정의 예측 가능한 방식으로 직접 처리할 수 있는 하나 이상의 코어 스키마 항목 타입으로 모든 항목을 특징화하는 한 세트의 코어 항목 타입을 정의한다. 미리 정의된 항목 타입은 항목 기반 하드웨어/소프트웨어 인터페이스 시스템에서 가장 공통적인 항목을 반영하며, 따라서 코어 스키마를 포함하는 미리 정의된 항목 타입을 이해하는 항목 기반 하드웨어/소프트웨어 인터페이스 시스템에 의해 일정 레벨의 효율성이 얻어진다. Various embodiments of the storage platform of the present invention further include a core schema that provides a conceptual framework for the top level item type structure. 8A is a block diagram illustrating an item in a core schema, and FIG. 8B is a block diagram illustrating an attribute type in a core schema. In file-folder based systems, the difference between files with different extensions (* .com, * .exe, * .bat, * .sys, etc.) and other criteria is similar to that of the core schema. In an item based hardware / software interface system, the core schema may be directly (by item type) or indirectly (by item subtype) understood and directly processed by the item based hardware / software interface system in some predictable manner. One or more core schema item types that define one set of core item types that characterize all items. Predefined item types reflect the most common items in an item-based hardware / software interface system, so that some level of efficiency is achieved by an item-based hardware / software interface system that understands a predefined item type that includes the core schema. Obtained.

소정 실시예에서, 코어 스키마는 확장 가능하지 않은데, 즉 코어 스키마의 일부인 미리 정의되고 도출된 특정 항목 타입들을 제외하고는 기본 스키마 내의 항목 타입으로부터 어떠한 추가적인 항목 타입도 직접 서브 타입화될 수 없다. 코어 스키마에 대한 확장을 방지함으로써(즉, 코어 스키마에 새로운 항목의 추가를 방지함으로써), 저장 플랫폼은 코어 스키마 항목 타입들의 사용을 지시하는데, 이는 모든 후속 항목 타입이 반드시 코어 스키마 항목 타입의 서브 타입이기 때문이다. 이러한 구조는 추가적인 항목 타입을 정의함에 있어서 합리적인 정도의 유연성을 가능하게 하면서 미리 정의된 코어 항목 타입 세트를 갖는 이익도 유지할 수 있게 한다. In certain embodiments, the core schema is not extensible, that is, no additional item type can be directly subtyped from an item type in the base schema except for certain predefined and derived specific item types that are part of the core schema. By preventing extensions to the core schema (that is, by preventing the addition of new items to the core schema), the storage platform dictates the use of core schema item types, which means that all subsequent item types must be subtypes of the core schema item type. Because it is. This structure allows for a reasonable degree of flexibility in defining additional item types while maintaining the benefits of having a predefined set of core item types.

본 발명의 다양한 실시예에서, 그리고 도 8a를 참조하면, 코어 스키마에 의 해 지원되는 특정 항목 타입은 다음 중 하나 이상을 포함한다.In various embodiments of the present invention, and with reference to FIG. 8A, a particular item type supported by the core schema includes one or more of the following.

ㆍ Category: 이 항목 타입(및 이로부터 도출되는 서브 타입)의 항목들은 항목 기반 하드웨어/소프트웨어 인터페이스 시스템에서 유효한 카테고리를 나타낸다.Category: Items of this item type (and subtypes derived therefrom) represent categories that are valid in an item based hardware / software interface system.

ㆍ Commodity: 값을 식별할 수 있는 항목Commodity: An item whose value can be identified.

ㆍ Device: 정보 처리 능력을 지원하는 논리 구조를 가진 항목ㆍ Device: Item with a logical structure that supports information processing capability

ㆍ Document: 항목 기반 하드웨어/소프트웨어 인터페이스 시스템에 의해 해석되지 않는 대신 문서 타입에 대응하는 애플리케이션 프로그램에 의해 해석되는 콘텐츠를 가진 항목Document: An item whose content is not interpreted by the item-based hardware / software interface system, but instead interpreted by the application program corresponding to the document type.

ㆍ Event: 환경에서 소정의 발생을 기록하는 항목Event: Item that records a certain occurrence in the environment

ㆍ Location: 물리적 위치(예컨대, 지리적 위치)를 나타내는 항목Location: An item representing a physical location (eg, geographic location).

ㆍ Message: 둘 이상의 주체(아래 정의됨) 사이의 통신 항목Message: A communication item between two or more subjects (defined below).

ㆍ Principal: ItemID와 별도로 명확하게 입증할 수 있는 적어도 하나의 식별자(예컨대, 사람, 조직, 그룹, 가정, 저자, 서비스 등의 식별자)를 가진 항목Principal: An item that has at least one identifier (eg, an identifier of a person, organization, group, household, author, service, etc.) that can be clearly identified separately from the ItemID.

ㆍ Statement: 제한 없이, 정책, 가입, 자격증 등을 포함하는 환경에 관한 특수 정보를 가진 항목Statement: An item with special information about the environment, including, without limitation, policies, subscriptions, certifications, etc.

마찬가지로, 그리고 도 8b를 참조하면, 코어 스키마에 의해 지원되는 특정 속성 타입은 다음 중 하나 이상을 포함할 수 있다.Likewise, and with reference to FIG. 8B, the particular attribute type supported by the core schema may include one or more of the following.

ㆍ Certificate(기본 스키마 내의 기본 PropertyBase 타입으로부터 도출됨)Certificate (derived from the base PropertyBase type in the base schema)

ㆍ Principal Identity Key(기본 스키마 내의 IdentityKey 타입으로부터 도출됨)Principal Identity Key (derived from the IdentityKey type in the base schema)

ㆍ Postal Address(기본 스키마 내의 속성 타입으로부터 도출됨)Postal Address (derived from the attribute type in the base schema)

ㆍ Rich Text(기본 스키마 내의 속성 타입으로부터 도출됨)Rich Text (derived from attribute type in base schema)

ㆍ EAddress(기본 스키마 내의 속성 타입으로부터 도출됨)EAddress (derived from the attribute type in the base schema)

ㆍ IdentitySecurityPackage(기본 스키마 내의 관계 타입으로부터 도출됨)IdentitySecurityPackage (derived from the relationship type in the base schema)

ㆍ RoleOccupancy(기본 스키마 내의 관계 타입으로부터 도출됨)RoleOccupancy (derived from the relationship type in the base schema)

ㆍ BasicPresence(기본 스키마 내의 관계 타입으로부터 도출됨)BasicPresence (derived from the relationship type in the basic schema)

이들 항목 및 속성은 도 8a 및 도 8b에 설명된 그들 각각의 속성에 의해 또한 설명된다.These items and attributes are also described by their respective attributes described in FIGS. 8A and 8B.

5. 관계5. Relationship

관계는 하나의 항목이 소스로 지정되고 다른 항목이 타겟으로 지정되는 바이너리 관계이다. 소스 항목 및 타겟 항목은 관계에 의해 관련된다. 소스 항목은 일반적으로 관계의 수명을 제어한다. 즉, 소스 항목이 삭제될 때, 항목들 사이의 관계도 삭제된다.A relationship is a binary relationship in which one item is specified as the source and the other item is targeted. Source items and target items are related by relationship. Source items generally control the lifetime of a relationship. That is, when a source item is deleted, the relationship between the items is also deleted.

관계는 포함 및 참조 관계로 분류된다. 포함 관계는 타겟 항목의 수명을 제어하는 반면, 참조 관계는 어떠한 수명 관리 시맨틱도 제공하지 않는다. 도 12는 관계들이 분류되는 방식을 나타낸다.Relationships are classified into include and reference relationships. Inclusion relationships control the lifetime of target items, while reference relationships do not provide any life management semantics. 12 illustrates how the relationships are classified.

포함 관계 타입은 유지 및 삽입 관계로 더 분류된다. 항목에 대한 모든 유지 관계가 제거될 때, 그 항목은 삭제된다. 유지 관계는 참조 카운팅 메커니즘을 통해 타겟의 수명을 제어한다. 삽입 관계는 복합 항목의 모델링을 가능하게 하며, 배타적 유지 관계로서 간주될 수 있다. 항목은 하나 이상의 유지 관계의 타겟일 수 있으나, 항목은 단 하나의 삽입 관계의 타겟일 수 있다. 삽입 관계의 타겟인 항목은 임의의 다른 유지 또는 삽입 관계의 타겟이 될 수 없다.Inclusion relationship types are further classified into maintenance and insertion relationships. When all maintenance relationships for an item are removed, the item is deleted. The maintenance relationship controls the life of the target through a reference counting mechanism. Insertion relationships allow the modeling of complex items and can be considered as exclusive maintenance relationships. An item may be a target of one or more maintenance relationships, but an item may be a target of only one insertion relationship. An item that is a target of an insertion relationship cannot be a target of any other maintenance or insertion relationship.

참조 관계는 타겟 항목의 수명을 제어하지 않는다. 참조 관계는 공중에 뜰 수 있는데, 즉 타겟 항목이 존재하지 않을 수 있다. 참조 관계는 글로벌 항목 명칭 공간(즉, 원격 데이터 저장소 포함) 내의 어느 곳에서나 항목에 대한 참조를 모델링하는 데 사용될 수 있다. Reference relationships do not control the life of the target item. The reference relationship may be in the air, i.e., the target item may not exist. Reference relationships can be used to model references to items anywhere in the global item namespace (ie, including remote data stores).

항목의 인출은 그의 관계를 자동으로 인출하지 못한다. 애플리케이션은 항목의 관계를 명시적으로 요구해야 한다. 또한, 관계의 수정은 소스 또는 타겟 항목을 수정하지 못하며, 유사하게 관계의 추가는 소스/타겟 항목에 영향을 주지 못한다.The withdrawal of an item does not automatically withdraw its relationship. The application must explicitly request the relationship of items. Also, modifying a relationship does not modify the source or target item, and similarly, adding a relationship does not affect the source / target item.

a) 관계 선언a) relationship declaration

명시적인 관계 타입은 다음 요소들과 함께 정의된다.Explicit relationship types are defined with the following elements:

ㆍ 관계 명칭은 명칭 속성 내에 지정된다.Relationship name is specified within the name attribute.

ㆍ 관계 타입은 다음 중 하나: 유지, 삽입, 참조. 이것은 타입 속성 내에 지정된다.The relationship type is one of the following: hold, insert, reference. This is specified within the type attribute.

ㆍ 소스 및 타겟 엔드 포인트. 각 엔드 포인트는 참조되는 항목의 명칭 및 타입을 지정한다. Source and target endpoints. Each endpoint specifies the name and type of the referenced item.

ㆍ 소스 엔드 포인트 필드는 일반적으로 ItemID 타입(선언되지 않음)이며, 관계 인스턴스와 동일한 데이터 저장소 내의 항목을 참조해야 한다.The source endpoint field is typically of type ItemID (not declared) and must reference an item in the same data store as the relationship instance.

ㆍ 유지 및 삽입 관계에 대해, 타겟 엔드 포인트 필드는 ItemIDReference 타입이어야 하며, 관계 인스턴스와 동일한 저장소 내의 항목을 참조해야 한다. 참조 관계에 대해, 타겟 엔드 포인트는 임의의 ItemReference 타입일 수 있으며, 다른 저장 플랫폼 데이터 저장소 내의 항목을 참조할 수 있다.For maintenance and insertion relationships, the target endpoint field must be of type ItemIDReference and must reference an item in the same repository as the relationship instance. For reference relationships, the target endpoint can be of any ItemReference type and can reference items in other storage platform data stores.

ㆍ 선택적으로 스칼라 또는 PropertyBase 타입의 하나 이상의 필드들이 선언될 수 있다. 이들 필드는 관계와 관련된 데이터를 포함할 수 있다.Optionally, one or more fields of scalar or PropertyBase type can be declared. These fields may contain data related to the relationship.

ㆍ 관계 인스턴스는 글로벌 관계 테이블에 저장된다.Relationship instances are stored in the global relationship table.

ㆍ 모든 관계 인스턴스는 조합(소스 ItemID, 관계 ID)에 의해 고유하게 식별된다. 관계 ID는 그들의 타입에 관계 없이 주어진 항목에 소스를 가진 모든 관계에 대해 주어진 소스 ItemID 내에서 고유하다.Every relationship instance is uniquely identified by a combination (source ItemID, relationship ID). Relationship IDs are unique within a given source ItemID for all relationships that have a source on a given item, regardless of their type.

소스 항목은 관계의 소유자이다. 소유자로서 지정된 항목이 관계의 수명을 제어하는 반면, 관계 자체는 그가 관계하는 항목으로부터 분리된다. 저장 플랫폼 API(322)는 항목과 관련된 관계를 노출시키기 위한 메커니즘을 제공한다.The source item is the owner of the relationship. While the item designated as the owner controls the lifetime of the relationship, the relationship itself is separated from the item to which it relates. Storage platform API 322 provides a mechanism for exposing a relationship associated with an item.

다음은 관계 선언의 일례이다:The following is an example of a relationship declaration:

Figure 112006012719774-pct00001
Figure 112006012719774-pct00001

이것은 참조 관계의 일례이다. 관계는 소스 참조에 의해 참조되는 사람 항목이 존재하지 않는 경우 생성될 수 없다. 또한, 사람 항목이 삭제되면, 사람과 조직 사이의 관계 인스턴스는 삭제된다. 그러나, 조직 항목이 삭제되면, 관계는 삭제되지 않고 공중에 뜬 상태가 된다.This is an example of a reference relationship. The relationship cannot be created if there is no person entry referenced by the source reference. Also, when a person entry is deleted, the relationship instance between the person and the organization is deleted. However, when an organization item is deleted, the relationship is not deleted but becomes in the air.

b) 유지 관계b) maintenance relationship

유지 관계는 타겟 항목의 참조 수 기반 수명 관리를 모델링하는 데 사용된다.Maintenance relationships are used to model reference number based life management of target items.

항목은 0개 이상의 항목에 대한 관계의 소스 엔드 포인트일 수 있다. 삽입된 항목이 아닌 항목은 하나 이상의 유지 관계의 타겟일 수 있다. An item can be the source endpoint of a relationship to zero or more items. Items that are not inserted items may be targets of one or more maintenance relationships.

타겟 엔드 포인트 참조 타입은 ItemIDReference이어야 하며, 관계 인스턴스와 동일한 저장소 내의 항목을 참조해야 한다.The target endpoint reference type must be an ItemIDReference and reference an item in the same repository as the relationship instance.

유지 관계는 타겟 엔드 포인트의 수명 관리를 이행한다. 유지 관계 인스턴 스 및 이것이 목표로 하는 항목의 생성은 최소 동작(atomic operation)이다. 동일 항목을 목표로 하는 추가적인 유지 관계 인스턴스가 생성될 수 있다. 타겟 엔드 포인트로서 주어진 항목을 갖는 최종 유지 관계 인스턴스가 삭제되면, 타겟 항목도 삭제된다.The maintenance relationship enforces lifecycle management of the target endpoint. The creation of a maintenance relationship instance and the items it targets is an atomic operation. Additional maintenance relationship instances can be created that target the same item. If the final maintenance relationship instance with the item given as the target endpoint is deleted, the target item is also deleted.

관계 선언에서 지정되는 엔드 포인트 항목의 타입은 일반적으로 관계의 인스턴스가 생성될 때 강제된다. 엔드 포인트 항목의 타입은 관계가 설정된 후에는 변경될 수 없다.The type of endpoint entry specified in the relationship declaration is usually enforced when an instance of the relationship is created. The type of the endpoint item cannot be changed after the relationship is established.

유지 관계들은 항목 명칭 공간의 형성에 중요한 역할을 한다. 이들은 소스 항목에 대한 타겟 항목의 명칭을 정의하는 "명칭" 속성을 포함한다. 이러한 상대적 명칭은 주어진 항목을 소스로 하는 모든 유지 관계에 대해 고유하다. 루트 항목에서 주어진 항목까지의 상대적 명칭들의 순서화된 리스트는 항목에 대한 완전한 명칭을 형성한다.Maintenance relationships play an important role in the formation of the item namespace. These include a "name" attribute that defines the name of the target item for the source item. This relative name is unique for all maintenance relationships that source the given item. The ordered list of relative names from the root item to the given item forms the complete name for the item.

유지 관계는 방향성 비순환 그래프(DAG)를 형성한다. 유지 관계가 생성될 때, 시스템은 순환이 생성되지 않는 것을 보장함으로써 항목 명칭 공간이 DAG를 형성하는 것을 보장한다. The maintenance relationship forms a directional acyclic graph (DAG). When a maintenance relationship is created, the system ensures that no item namespace forms a DAG by ensuring that no recursion is created.

유지 관계가 타겟 항목의 수명을 제어하는 반면, 타겟 엔드 포인트 항목의 동작 일관성을 제어하지 못한다. 타겟 항목은 유지 관계를 통해 타겟 항목을 소유하는 항목으로부터 동작면에서 독립적이다. 유지 관계의 소스인 항목에 대한 복사, 이동, 백업 및 다른 동작은 동일 관계의 타겟인 항목에 영향을 주지 못하는데, 예를 들면, 즉 폴더 항목의 백업은 폴더 내의 모든 항목(FolderMember 관계의 타겟 들)을 자동으로 백업하지 못한다.While the maintenance relationship controls the lifetime of the target item, it does not control the behavioral consistency of the target endpoint item. The target item is operationally independent from the item that owns the target item through a maintenance relationship. Copying, moving, backing up, and other actions on items that are the source of a maintenance relationship do not affect items that are targets of the same relationship, for example, a backup of a folder item means that all items within the folder (targets of the FolderMember relationship) Does not back up automatically.

다음은 유지 관계의 일례이다.The following is an example of a maintenance relationship.

*

Figure 112006012719774-pct00002
*
Figure 112006012719774-pct00002

FolderMember 관계는 일반적인 항목들의 집합으로서의 폴더의 개념을 가능하게 한다. The FolderMember relationship enables the concept of folders as a collection of common items.

c) 삽입 관계c) insertion relationship

삽입 관계는 타겟 항목의 수명의 배타적인 제어의 개념을 모델링한다. 삽입 관계는 복합 항목들의 개념을 가능하게 한다. Insertion relationships model the concept of exclusive control of the lifetime of a target item. Insertion relationships enable the concept of compound items.

삽입 관계 인스턴스 및 이것이 목표로 하는 항목의 생성은 최소 동작이다. 항목은 0개 이상의 삽입 관계의 소스일 수 있다. 그러나, 항목은 하나 및 단 하나의 삽입 관계의 타겟일 수 있다. 삽입 관계의 타겟인 항목은 유지 관계의 타겟이 될 수 없다.The creation of an insert relationship instance and the item it targets is a minimal action. An item can be a source of zero or more insertion relationships. However, an item may be a target of one and only one insertion relationship. An item that is a target of an insertion relationship cannot be a target of a maintenance relationship.

타겟 엔드 포인트 참조 타입은 ItemIDReference이어야 하며, 관계 인스턴스와 동일한 데이터 저장소 내의 항목을 참조해야 한다.The target endpoint reference type must be an ItemIDReference and must reference an item in the same data store as the relationship instance.

관계 선언에서 지정되는 엔드 포인트 항목의 타입은 일반적으로 관계의 인스턴스가 생성될 때 강제된다. 엔드 포인트 항목의 타입은 관계가 설정된 후에는 변 경될 수 없다.The type of endpoint entry specified in the relationship declaration is usually enforced when an instance of the relationship is created. The type of the endpoint item cannot be changed after the relationship is established.

삽입 관계는 타겟 엔드 포인트의 동작 일관성을 제어한다. 예컨대, 항목의 직렬화 동작은 그 항목은 물론 그들의 타겟들 모두로부터 나온 모든 삽입 관계의 직렬화를 포함할 수 있으며, 항목의 복사는 또한 그의 모든 삽입된 항목을 복사한다.The insertion relationship controls the behavioral consistency of the target endpoint. For example, the serialization operation of an item may include serialization of all insertion relationships from that item as well as all of their targets, and copying the item also copies all of its inserted items.

다음은 선언의 일례이다.The following is an example of a declaration.

Figure 112006012719774-pct00003
Figure 112006012719774-pct00003

d) 참조 관계d) reference relationships

참조 관계는 그것이 참조하는 항목의 수명을 제어하지 않는다. 심지어, 참조 관계는 타겟의 존재를 보장하지 않으며, 관계 선언에서 지정되는 타겟의 타입도 보장하지 않는다. 이것은 참조 관계가 현수(dangling) 상태일 수 있다는 것을 의미한다. 또한, 참조 관계는 다른 데이터 저장소 내의 항목을 참조할 수 있다. 참조 관계는 웹 페이지 내의 링크와 유사한 개념으로 간주될 수 있다.Reference relationships do not control the lifetime of the item it references. Even a reference relationship does not guarantee the existence of the target, nor does it guarantee the type of the target specified in the relationship declaration. This means that the reference relationship can be in a dangling state. Reference relationships can also refer to items in other data stores. Reference relationships can be thought of as concepts similar to links within web pages.

다음은 참조 관계 선언의 일례이다.The following is an example of a reference relationship declaration.

Figure 112006012719774-pct00004
Figure 112006012719774-pct00004

타겟 엔드 포인트에서 임의의 참조 관계가 허용된다. 참조 관계에 참여하는 항목들은 임의의 항목 타입일 수 있다.Any reference relationship is allowed at the target endpoint. Items participating in the reference relationship can be of any item type.

참조 관계는 항목들 사이의 대부분의 비 수명(non-lifetime) 관리 관계를 모델링하는 데 사용된다. 타겟의 존재가 강제되지 않으므로, 참조 관계는 느슨하게 결합된 관계를 모델링하는 데 편리하다. 참조 관계는 다른 컴퓨터 상의 저장소를 포함하는 다른 데이터 저장소 내의 항목을 타겟으로 하여 사용될 수 있다.Reference relationships are used to model most of the non-lifetime management relationships between items. Since the presence of a target is not enforced, reference relationships are convenient for modeling loosely coupled relationships. Reference relationships can be used to target items in other data stores, including repositories on other computers.

e) 규칙 및 제한e) rules and restrictions

다음의 추가적인 규칙 및 제한은 관계에 적용된다.The following additional rules and restrictions apply to relationships.

1. 항목은 (단 하나의 삽입 관계) 또는 (하나 이상의 유지 관계)의 타겟이어야 한다. 하나의 예외는 루트 항목이다. 항목은 0개 이상의 참조 관계의 타겟일 수 있다.1. An item must be a target of (only one insertion relationship) or (one or more maintenance relationships). One exception is the root entry. An item may be a target of zero or more reference relationships.

2. 삽입 관계의 타겟인 항목은 유지 관계의 소스일 수 없다. 이것은 참조 관계의 소스일 수 있다.2. An item that is the target of an insertion relationship cannot be the source of a maintenance relationship. This may be the source of the reference relationship.

3. 항목은 파일로부터 증진된 경우 유지 관계의 소스가 될 수 없다. 이것은 삽입 관계 및 참조 관계의 소스가 될 수 있다. 3. An item cannot be the source of a maintenance relationship if it is promoted from a file. This can be the source of insertion and reference relationships.

4. 파일로부터 증진된 항목은 삽입 관계의 타겟이 될 수 없다.4. Items promoted from a file cannot be targets of insertion relationships.

f) 관계들의 순서화f) ordering of relationships

적어도 하나의 실시예에서, 본 발명의 저장 플랫폼은 관계들의 순서화를 지원한다. 순서화는 기본 관계 정의 내의 "순서(Order)"라는 명칭의 속성을 통해 달성된다. 순서 필드에 대한 고유성 제한은 존재하지 않는다. 동일한 "순서" 속성 값을 가진 관계들의 순서는 보장되지 않으나, 이들이 보다 낮은 "순서" 값을 가진 관계 후에, 그리고 보다 높은 "순서" 필드 값을 가진 관계 전에 순서화될 수 있는 것은 보장된다.In at least one embodiment, the storage platform of the present invention supports the ordering of relationships. Ordering is accomplished through an attribute named "Order" in the basic relationship definition. There is no uniqueness restriction on the order field. The order of relationships with the same "order" attribute value is not guaranteed, but it is guaranteed that they can be ordered after a relationship with a lower "order" value and before a relationship with a higher "order" field value.

애플리케이션은 조합(SourceItemID, RelationshipID, Order) 상에서의 순서화에 의해 디폴트 순서로 관계를 입수할 수 있다. 주어진 항목으로부터 나온 모든 관계 인스턴스는 집합 내의 관계의 타입에 관계없이 단일 집합으로서 순서화된다. 그러나, 이것은 주어진 타입의 모든 관계(예컨대, FolderMembers)가 주어진 항목에 대한 관계 집합의 순서화된 서브세트임을 보장한다. The application can obtain the relationships in the default order by ordering on the combination (SourceItemID, RelationshipID, Order). All relationship instances from a given item are ordered as a single set, regardless of the type of relationship in the set. However, this ensures that all relationships of a given type (eg FolderMembers) are an ordered subset of the relationship set for a given item.

관계를 조작하기 위한 데이터 저장소 API(312)는 관계들의 순서화를 지원하는 한 세트의 동작을 구현한다. 다음 용어들은 동작의 설명을 돕기 위해 도입된다.Data store API 312 for manipulating relationships implements a set of operations that support the ordering of relationships. The following terms are introduced to help explain the operation.

RelFirst는 순서 값 OrdFirst를 가진 순서화된 집합 내의 첫 번째 관계이다.RelFirst is the first relationship in the ordered set with the order value OrdFirst.

RelLast는 순서 값 OrdLast를 가진 순서화된 집합 내의 최종 관계이다.RelLast is the final relationship in the ordered set with the order value OrdLast.

RelX는 순서 값 OrdX를 가진 집합 내의 소정의 관계이다.RelX is a predetermined relationship in the set with the order value OrdX.

RelPrev는 OrdX보다 작은 순서 값 OrdPrev를 가진 집합에서 RelX에 가장 가까운 관계이다. RelPrev is the closest relation to RelX in a set with an OrdPrev ordinal value less than OrdX.

RelNext는 OrdX보다 큰 순서 값 OrdNext를 가진 집합에서 RelX에 가장 가까운 관계이다. RelNext is the closest relation to RelX in the set with ordNext greater than OrdX.

InsertBeforeFirst(SourceItemID, Relationship)는 집합 내의 제1 관계로서 관계를 삽입한다. 새로운 관계의 순서 속성 값은 OrdFirst보다 작을 수 있다. InsertBeforeFirst (SourceItemID, Relationship) inserts a relationship as the first relationship in the set. The order attribute value of the new relationship may be less than OrdFirst.

InsertAfterLast(SourceItemID, Relationship)는 집합 내의 최종 관계로서 관계를 삽입한다. 새로운 관계의 "순서" 속성 값은 OrdLast보다 클 수 있다. InsertAfterLast (SourceItemID, Relationship) inserts a relationship as the final relationship in the set. The value of the "Order" attribute of the new relationship can be greater than OrdLast.

InsertAt(SourceItemID, ord, Relationship)는 "순서" 속성에 대한 지정 값을 가진 관계를 삽입한다. InsertAt (SourceItemID, ord, Relationship) inserts a relationship with the specified value for the "Order" attribute.

InsertBefore(SourceItemID, ord, Relationship)는 주어진 "순서" 값을 가진 관계 앞에 관계를 삽입한다. 새로운 관계는 OrdPrev와 ord 사이(이들 값은 포함하지 않음)의 순서 값을 할당받을 수 있다.InsertBefore (SourceItemID, ord, Relationship) inserts the relationship before the relationship with the given "order" value. The new relationship may be assigned an order value between OrdPrev and ord (not including these values).

InsertAfter(SourceItemID, ord, Relationship)는 주어진 "순서" 값을 가진 관계 뒤에 관계를 삽입한다. 새로운 관계는 ord와 OrdNext 사이(이들 값은 포함되지 않음)의 순서 값을 할당받을 수 있다.InsertAfter (SourceItemID, ord, Relationship) inserts the relationship after the relationship with the given "order" value. The new relationship can be assigned an order value between ord and OrdNext (these values are not included).

MoveBefore(SourceItemID, ord, Relationship)는 주어진 관계 ID를 가진 관계를 지정된 "순서" 값을 가진 관계 앞으로 이동시킨다. 관계는 OrdPrev와 ord 사 이(이들 값은 포함되지 않음)의 새로운 순서 값을 할당받을 수 있다.MoveBefore (SourceItemID, ord, Relationship) moves the relationship with the given relationship ID before the relationship with the specified "Order" value. Relationships can be assigned new order values between OrdPrev and ord (these values are not included).

MoveAfter(SourceItemID, ord, Relationship)는 주어진 관계 ID를 가진 관계를 지정된 "순서" 값을 가진 관계 뒤로 이동시킨다. 관계는 ord와 OrdNext 사이(이들 값은 포함되지 않음)의 새로운 순서 값을 할당받을 수 있다.MoveAfter (SourceItemID, ord, Relationship) moves the relationship with the given relationship ID behind the relationship with the specified "Order" value. The relationship may be assigned a new order value between ord and OrdNext (not including these values).

전술한 바와 같이, 모든 항목은 항목 폴더의 멤버여야 한다. 관계에 의하여, 모든 항목은 항목 폴더와의 관계를 가져야 한다. 본 발명의 여러 실시예에서, 소정의 관계들은 항목들 사이에 존재하는 관계에 의해 표현된다.As mentioned above, every item must be a member of an item folder. By relationship, every item must have a relationship with an item folder. In various embodiments of the invention, certain relationships are represented by relationships that exist between items.

본 발명의 다양한 실시예에서 구현되는 바와 같이, 관계는 하나의 항목(소스)에 의해 다른 항목(타겟)으로 확장되는 방향성 바이너리 관계를 제공한다. 관계는 소스 항목(관계를 확장한 항목)에 의해 소유되며, 따라서 소스가 제거되는 경우에는 관계가 제거된다(예컨대, 관계는 소스 항목이 삭제될 때 삭제된다). 더욱이, 소정의 예에서, 관계는 타겟 항목의 소유를 공유(공동 소유)할 수 있으며, 이러한 소유는 (관계 속성 타입에 대해 도 7에 도시된 바와 같이) 관계의 IsOwned 속성(또는 그의 등가물) 내에 반영될 수 있다. 이들 실시예에서, 새로운 IsOwned 관계의 생성은 타겟 항목에 대한 참조 수를 자동으로 증가시키며, 이러한 관계의 삭제는 타겟 항목에 대한 참조 수를 감소시킬 수 있다. 이러한 특정 실시예에서, 항목들은 이들이 0보다 큰 참조 수를 갖는 경우 계속 존재하며, 참조 수가 0이 되는 경우 자동으로 삭제된다. 또한, 항목 폴더는 다른 항목들에 대해 한 세트의 관계를 갖는(또는 가질 수 있는) 항목인데, 이들 다른 항목들은 항목 폴더의 멤버을 포함한다. 다른 실제적인 관계의 구현도 가능하며, 여기서 설명되는 기능을 달성하 도록 본 발명에 의해 예측된다.As implemented in various embodiments of the present invention, a relationship provides a directional binary relationship that is extended by one item (source) to another item (target). The relationship is owned by the source item (an item that expands the relationship), so if the source is removed, the relationship is removed (eg, the relationship is deleted when the source item is deleted). Moreover, in some examples, a relationship may share (co-ownership) ownership of the target item, which ownership may be within the IsOwned attribute (or equivalent thereof) of the relationship (as shown in FIG. 7 for the relationship attribute type). Can be reflected. In these embodiments, the creation of a new IsOwned relationship automatically increases the reference number for the target item, and the deletion of this relationship can reduce the reference number for the target item. In this particular embodiment, items continue to exist if they have a reference number greater than zero and are automatically deleted when the reference number reaches zero. Also, an item folder is an item that has (or may have) a set of relationships to other items, which include members of the item folder. Other practical relationships are possible and are foreseen by the present invention to achieve the functions described herein.

실제 구현과 관계없이, 관계는 하나의 객체에서 다른 객체로의 선택 가능한 접속이다. 하나의 항목이 둘 이상의 항목 폴더는 물론, 하나 이상의 카테고리에 속할 수 있는 능력, 및 이들 항목, 폴더 및 카테고리가 공개적인지 사적인지의 여부는 항목 기반 구조에서의 존재(또는 부재)에 대해 주어지는 의미에 의해 결정된다. 이러한 논리 관계는 물리적 구현에 관계없이 본 명세서에서 설명되는 기능을 달성하기 위해 구체적으로 사용되는 한 세트의 관계에 할당되는 의미들이다. 논리 관계는 항목과 그의 항목 폴더(들) 또는 카테고리들(및 그 역) 사이에 설정되는데, 이는 본질적으로 항목 폴더 및 카테고리가 각각 항목의 특수한 타입이기 때문이다. 결과적으로, 항목 폴더 및 카테고리는 복사되고, 이메일 메시지에 추가되고, 문서에 삽입되는 등등 제한 없이, 임의의 다른 항목과 동일한 방식으로 동작될 수 있으며, 항목 폴더 및 카테고리는 다른 항목에 대한 것과 동일한 메커니즘을 사용하여 직렬화 및 역직렬화(가져오기 및 가져가기)될 수 있다. (예를 들어, XML에서 모든 항목은 직렬화 포맷을 가질 수 있으며, 이러한 포맷은 항목 폴더, 카테고리 및 항목에 동일하게 적용된다.)Regardless of the actual implementation, a relationship is a selectable connection from one object to another. The ability of an item to belong to more than one category of folders, as well as to more than one category, and whether these items, folders and categories are public or private, depends on the meaning given for their existence (or absence) in the item infrastructure. Is determined by. These logical relationships are the meanings assigned to a set of relationships specifically used to achieve the functions described herein, regardless of their physical implementation. Logical relationships are established between an item and its item folder (s) or categories (and vice versa), because essentially an item folder and category are each a special type of item. As a result, item folders and categories can be operated in the same way as any other item, without limitations being copied, added to email messages, inserted into documents, etc., and item folders and categories are the same mechanism as for other items. Can be serialized and deserialized using (import and import). (For example, every item in XML can have a serialization format, which applies equally to item folders, categories, and items.)

항목과 그의 항목 폴더 사이의 관계를 나타내는 전술한 관계는 논리적으로 항목에서 항목 폴더로, 항목 폴더에서 항목으로, 또는 양쪽으로 확장될 수 있다. 항목에서 항목 폴더로 확장되는 관계는 항목 폴더가 항목에 대해 공개적이며 항목과 그의 멤버 정보를 공유한다는 것을 나타내지만, 역으로 항목에서 항목 폴더로의 논리 관계의 결여는 항목 폴더가 항목에 대해 사적이며, 항목과 그의 멤버 정보를 공유하지 않는다는 것을 나타낸다. 유사하게, 항목 폴더에서 항목으로 논리적으로 확장되는 관계는 항목이 공개적이며 항목 폴더와 공유될 수 있다는 것을 나타내는 반면, 항목 폴더에서 항목으로의 논리 관계의 결여는 항목이 사적이고, 공유될 수 없다는 것을 나타낸다. 결과적으로, 항목 폴더가 다른 시스템에 노출될 때, 이것은 이 새로운 상황에서 공유되는 "공개" 항목이며, 항목이 그의 항목 폴더에서 다른 공유 가능한 항목들을 검색할 때, 이것은 항목에 이에 속하는 공유 가능한 항목들에 관한 정보를 제공하는 "공개" 항목 폴더들이다.The foregoing relationship, which represents a relationship between an item and its item folder, may logically extend from item to item folder, item folder to item, or both. A relationship that extends from item to item folder indicates that the item folder is public to the item and shares the item and its member information, but conversely, the lack of a logical relationship from item to item folder means that the item folder is private to the item. , Does not share the item and its member information. Similarly, a relationship that logically extends from an item folder to an item indicates that the item is public and can be shared with the item folder, while the lack of a logical relationship from the item folder to the item indicates that the item is private and cannot be shared. Indicates. As a result, when an item folder is exposed to another system, it is a "public" item that is shared in this new situation, and when the item retrieves other shareable items from its item folder, it is the shareable items belonging to the item. "Public" item folders that provide information about.

도 9는 항목 폴더(이것은 또한 항목 그 자체이다), 그의 멤버 항목들, 및 항목 폴더와 그의 멤버 항목들 사이의 상호접속 관계를 나타내는 블록도이다. 항목 폴더(900)는 다수의 항목(902, 904, 906)을 갖는다. 항목 폴더(900)는 그 자신으로부터 항목(902)으로의 관계(912)를 갖는데, 이는 항목(902)이 공개적이며 항목 폴더(900), 그의 멤버들(904, 906), 및 항목 폴더(900)에 액세스할 수 있는 임의의 다른 항목 폴더들, 카테고리들, 또는 항목들(도시되지 않음)과 공유될 수 있다는 것을 나타낸다. 그러나, 항목(902)에서 항목 폴더(900)로의 관계는 존재하지 않으며, 이는 항목 폴더(900)가 항목(902)에 대해 사적이며, 항목(902)과 그의 멤버 정보를 공유하지 않는다는 것을 나타낸다. 한편, 항목(904)은 그 자신에서 항목 폴더(900)로의 관계를 가지며, 이는 항목 폴더(900)가 공개적이며 항목(904)과 그의 멤버 정보를 공유한다는 것을 나타낸다. 그러나, 항목 폴더(900)에서 항목(904)으로의 관계는 존재하지 않으며, 이는 항목(904)이 사적이며 항목 폴더(900), 그의 다른 멤버들(902, 906), 및 항목 폴더(900에 액세스할 수 있는 항목 폴더, 카테고 리 또는 항목(도시되지 않음)과 공유되지 않음을 나타낸다. 항목 폴더의 항목들(902, 904)에 대한 관계(또는 관계의 결여)와 달리, 항목 폴더(900)는 그 자신에서 항목(906)으로의 관계(916)를 가지며, 항목(906)은 역으로 항목 폴더(900)로의 관계(926)을 갖는데, 이는 함께 항목(906)이 공개적이며 항목 폴더(900), 그의 멤버들(902, 904), 및 항목 폴더(900)에 액세스할 수 있는 임의의 다른 항목 폴더, 카테고리 또는 항목(도시되지 않음)과 공유될 수 있고, 항목 폴더(900)가 공개적이고 항목(906)과 그의 멤버 정보를 공유한다는 것을 나타낸다.9 is a block diagram showing the item folder (which is also the item itself), its member items, and the interconnection relationship between the item folder and its member items. The item folder 900 has a number of items 902, 904, 906. Item folder 900 has a relationship 912 from itself to item 902, which item 902 is public and item folder 900, its members 904, 906, and item folder 900 ) Can be shared with any other item folders, categories, or items (not shown) that can access. However, there is no relationship from item 902 to item folder 900, which indicates that item folder 900 is private to item 902 and does not share its member information with item 902. Item 904, on the other hand, has a relationship from itself to item folder 900, indicating that item folder 900 is public and shares its member information with item 904. However, there is no relationship from item folder 900 to item 904, which means that item 904 is private and that item folder 900, its other members 902, 906, and item folder 900 are not present. Not shared with an accessible item folder, category, or item (not shown) Unlike the relationship (or lack of relationship) to items 902 and 904 in the item folder, item folder 900 ) Has a relationship 916 from itself to item 906, which in turn has a relationship 926 to item folder 900, which together makes item 906 public and item folder ( 900, its members 902, 904, and any other item folder, category, or item (not shown) that can access item folder 900, and item folder 900 is public. And share its member information with item 906.

전술한 바와 같이, 항목 폴더 내의 항목들은 공통성(commonality)을 공유할 필요는 없는데, 이는 항목 폴더가 "기술"되지 않기 때문이다. 한편, 카테고리는 그의 멤버 항목들 모두에 공통인 공통성에 의해 기술된다. 결과적으로, 카테고리의 멤버는 기술된 공통성을 가진 항목들로 고유하게 제한되며, 소정 실시예에서 카테고리의 기술을 만족시키는 모든 항목은 자동으로 카테고리의 멤버가 된다. 따라서, 항목 폴더는 평범한 타입의 구조들이 그들의 멤버쉽에 의해 표현되는 것을 허용하는 반면, 카테고리는 정의된 공통성에 기초하여 멤버쉽을 허용한다.As mentioned above, items in an item folder need not share commonality, because the item folder is not "described." On the other hand, categories are described by commonalities common to all of their member items. As a result, members of a category are uniquely limited to items with the described commonalities, and in some embodiments all items that satisfy the description of the category automatically become members of the category. Thus, item folders allow mediocre types of structures to be represented by their membership, while categories allow membership based on defined commonalities.

물론, 카테고리 기술은 사실상 논리적이며, 따라서 카테고리는 타입들, 속성들 및/또는 값들의 임의의 논리적 표현에 의해 기술될 수 있다. 예컨대, 카테고리의 논리적 표현은 2개의 속성 중 하나 또는 양자를 갖는 항목들을 포함하는 그의 멤버일 수 있다. 카테고리에 대해 기술된 이러한 속성들이 "A" 및 "B"인 경우, 카테고리 멤버는 속성 A를 가지나 B는 갖지 않는 항목들, 속성 A는 갖지 않고 B를 갖는 항목들, 및 속성 A 및 B를 모두 갖는 항목들을 포함할 수 있다. 이러한 속성들 의 논리적 표현은 논리 연산자 "OR"에 의해 기술되는데, 카테고리에 의해 기술되는 멤버들의 세트는 속성 A OR B를 가진 항목들이다. 유사한 논리 연산자(제한 없이 "AND", "XOR" 및 "NOT"를 단독으로 또는 조합으로 포함)도 당업자가 이해하듯이 카테고리를 기술하는 데 사용될 수 있다. Of course, category descriptions are logical in nature, and thus categories can be described by any logical representation of types, attributes and / or values. For example, a logical representation of a category can be a member thereof that includes items with one or both of two attributes. If these attributes described for the category are "A" and "B", then the category member has attributes A but no B, those with attribute A and B, and both attributes A and B It may include items having. The logical representation of these attributes is described by the logical operator "OR", where the set of members described by the category are items with attributes A OR B. Similar logical operators (including without limitation " AND ", " XOR " and " NOT " alone or in combination) can also be used to describe categories as those skilled in the art will understand.

항목 폴더(기술되지 않음)와 카테고리(기술됨) 사이의 차이에도 불구하고, 항목에 대한 카테고리의 관계 및 카테고리에 대한 항목의 관계는 본질적으로 본 발명의 많은 실시예에서 항목 폴더 및 항목에 대해 위에 개시한 것과 동일한 방식을 갖는다. Notwithstanding the differences between item folders (not described) and categories (described), the relationship of categories to items and the relationship of items to categories is inherently above that for item folders and items in many embodiments of the invention. It has the same manner as disclosed.

도 10은 카테고리(항목 자체), 그의 멤버 항목들, 및 카테고리와 그의 멤버 항목들 사이의 상호접속 관계를 나타내는 블록도이다. 카테고리(1000)는 다수의 항목(1002, 1004, 1006)을 멤버로서 갖는데, 이들 모두는 카테고리(1000)에 의해 기술되는 바와 같이 공통 속성들, 값들 또는 타입들(1008)의 소정의 조합을 공유한다. 카테고리(1000)는 그 자체에서 항목(1002)으로의 관계(1012)를 갖는데, 이는 항목(1002)이 공개적이며, 카테고리(1000), 그의 멤버들(1004, 1006), 및 카테고리(1000)에 액세스할 수 있는 임의의 다른 카테고리, 항목 폴더 또는 항목(도시되지 않음)과 공유될 수 있다는 것을 나타낸다. 그러나, 항목(1002)에서 카테고리(1000)로의 관계는 존재하지 않으며, 이는 카테고리(1000)가 항목(1002)에 대해 사적이며, 항목(1002)과 그의 멤버 정보를 공유하지 않는다는 것을 나타낸다. 한편, 항목(1004)은 그 자체에서 카테고리(1000)로의 관계(1024)를 갖지 않으며, 이는 카테고리(1000)가 공개적이며, 항목(1004)과 그의 멤버 정보를 공유한다는 것을 나타 낸다. 그러나, 카테고리(1000)에서 항목(1004)으로 확장되는 관계는 존재하지 않으며, 이는 항목(1004)이 사적이며, 카테고리(1000), 그의 다른 멤버들(1002, 1006), 및 카테고리(1000)에 액세스할 수 있는 임의의 다른 카테고리, 항목 폴더 또는 항목(도시되지 않음)과 공유될 수 없다는 것은 나타낸다. 카테고리의 항목(1002, 1004)과의 관계(또는 그의 결여)와 달리, 카테고리(1000)는 그 자체에서 항목(1006)으로의 관계를 가지며, 항목(1006)은 역으로 카테고리(1000)로의 관계를 갖는데, 이는 함께 항목(1006)이 공개적이며 카테고리(1000), 그의 항목 멤버들(1002, 1004), 및 카테고리(1000)에 액세스할 수 있는 임의의 다른 카테고리, 항목 폴더 또는 항목(도시되지 않음)과 공유될 수 있다는 것과, 카테고리(1000)가 공개적이며, 항목(1006)과 그의 멤버 정보를 공유한다는 것을 나타낸다.10 is a block diagram illustrating a category (item itself), its member items, and an interconnection relationship between a category and its member items. Category 1000 has a number of items 1002, 1004, 1006 as members, all of which share some combination of common attributes, values, or types 1008 as described by category 1000. do. Category 1000 itself has a relationship 1012 to item 1002, in which item 1002 is public, and in category 1000, its members 1004, 1006, and category 1000. Indicates that it can be shared with any other category, item folder, or item (not shown) that can be accessed. However, there is no relationship from item 1002 to category 1000, which indicates that category 1000 is private to item 1002 and does not share its member information with item 1002. Item 1004, on the other hand, does not itself have a relationship 1024 to category 1000, which indicates that category 1000 is public and shares its member information with item 1004. However, there is no relationship that extends from category 1000 to item 1004, which means that item 1004 is private, and that category 1000, its other members 1002, 1006, and category 1000 do not exist. Indicates that it cannot be shared with any other category, item folder, or item (not shown) accessible to it. Unlike the relationship (or lack thereof) with items 1002 and 1004 of a category, category 1000 has a relationship to item 1006 on its own, and item 1006 is conversely to category 1000. Which together is an item 1006 is public and includes category 1000, its item members 1002 and 1004, and any other category, item folder or item (not shown) that can access category 1000 ) And category 1000 is public and shares item 1006 with its member information.

마지막으로, 카테고리 및 항목 폴더들 자체는 항목이기 때문에, 소정의 다른 실시예에서 항목들은 서로에 대한 관계를 가질 수 있고, 카테고리는 항목 폴더에 대한 관계를, 항목 폴더는 카테고리에 대한 관계를 가질 수 있으며, 카테고리, 항목 폴더 및 항목은 다른 카테고리, 항목 폴더 및 항목에 대한 관계를 가질 수 있다. 그러나, 다양한 실시예에서, 항목 폴더 구조 및/또는 카테고리 구조는 하드웨어/소프트웨어 인터페이스 시스템 레벨에서 순환을 포함하는 것이 금지된다. 항목 폴더 및 카테고리 구조가 방향성 그래프와 유사한 경우, 순환을 금지하는 실시예들은 그래프 이론 분야의 수학적 정의에 의해 동일한 정점에서 어떠한 경로도 시작하거나 끝나지 않는 방향 그래프인 방향성 비순환 그래프(DAG)와 유사하다. Finally, because categories and item folders themselves are items, in some other embodiments, items may have a relationship to each other, categories may have a relationship to item folders, and item folders may have a relationship to categories. Categories, item folders, and items may have relationships to other categories, item folders, and items. However, in various embodiments, the item folder structure and / or category structure is prohibited to include recursion at the hardware / software interface system level. If the item folder and category structure is similar to a directional graph, embodiments that prohibit cycling are similar to a directional acyclic graph (DAG), which is a directional graph where no path starts or ends at the same vertex by mathematical definition in the field of graph theory.

6. 확장성6. Scalability

저장 플랫폼은 전술한 바와 같이 초기 스키마 세트(340)를 구비한다. 또한, 그러나 적어도 일부 실시예에서 저장 플랫폼은 개별 소프트웨어 벤더(ISV)를 포함하는 고객들이 새로운 스키마(344)(즉, 새로운 항목 및 중첩 요소 타입)를 생성하는 것을 허용한다. 이 섹션은 초기 스키마 세트(340)에 정의된 항목 타입 및 중첩 요소 타입(또는 단순히 요소 타입)을 확장함으로써 이러한 스키마를 생성하는 메커니즘을 다룬다.The storage platform has an initial schema set 340 as described above. In addition, however, in at least some embodiments, the storage platform allows customers, including individual software vendors (ISVs), to create a new schema 344 (ie, new items and nested element types). This section deals with the mechanism for creating such a schema by extending the item types and nested element types (or simply element types) defined in the initial schema set 340.

바람직하게도, 초기의 항목 및 중첩 요소 타입 세트는 다음과 같이 제한된다. Preferably, the initial item and nested element type set are limited as follows.

ISV는 새로운 항목 타입, 즉 서브 타입인 Base.Item을 도입하는 것이 허용된다.ISVs are allowed to introduce a new item type, Base.Item, which is a subtype.

ISV는 새로운 중첩 요소 타입, 즉 서브 타입인 Base.NestedElement를 도입하는 것이 허용된다.ISVs are allowed to introduce new nested element types, ie subtypes Base.NestedElement.

ISV는 새로운 확장, 즉 서브 타입인 Base.NestedElement를 도입하는 것이 허용된다; 그러나, ISV는 저장 플랫폼 스키마의 초기 세트(340)에 의해 정의된 임의의 타입(항목, 중첩 요소 또는 확장 타입)을 서브 타입화할 수 없다.ISVs are allowed to introduce new extensions, that is, the subtype Base.NestedElement; However, the ISV cannot subtype any type (item, nested element or extended type) defined by the initial set 340 of the storage platform schema.

저장 플랫폼 스키마의 초기 세트에 정의된 항목 타입 또는 중첩 요소 타입은 ISV 애플리케이션의 요구에 정확하게 부응하지 않을 수 있기 때문에, ISV가 타입을 개별화하는 것을 허용할 필요가 있다. 이것은 확장의 개념으로 허용된다. 확장은 강력하게 타입화된 확장이지만, (a) 이것은 독립적으로 존재할 수 없고, (b) 항목 또는 중첩 요소에 첨부되어야 한다. Because item types or nested element types defined in the initial set of storage platform schemas may not exactly meet the needs of ISV applications, it is necessary to allow ISVs to personalize types. This is allowed with the concept of extension. Extensions are strongly typed extensions, but (a) they cannot exist independently and (b) must be attached to an item or nested element.

스키마 확장성의 필요성을 다루는 것 외에, 확장은 또한 "멀티 타입화" 문제를 다룬다. 소정의 실시예에서, 저장 플랫폼은 다수의 상속 또는 중첩 서브 타입을 지원하지 않을 수 있기 때문에, 애플리케이션은 확장을 오버랩된(overlapped) 타입 인스턴스를 모델링하기 위한 방법으로서 사용할 수 있다(예컨대, 문서는 합법 문서는 물론 보안 문서이다). In addition to addressing the need for schema extensibility, extensions also address the "multi-type" problem. In some embodiments, since the storage platform may not support multiple inheritance or nested subtypes, applications may use extensions as a method for modeling overlapped type instances (eg, documents are legitimate). The document is of course a secure document).

a) 항목 확장a) item expansion

항목 확장성을 제공하기 위하여, 데이터 모델은 또한 Base. Extension이라는 명칭의 추상 타입을 정의한다. 이것은 확장 타입의 계층 구조에 대한 루트 타입이다. 애플리케이션은 특정 확장 타입을 생성하기 위해 Base.Extension을 서브 타입화할 수 있다. In order to provide item scalability, the data model also uses Base. Defines an abstract type named Extension. This is the root type for the hierarchy of extended types. An application can subtype Base.Extension to create a specific extension type.

Base.Extension 타입은 다음과 같이 Base.Extension 내에 정의된다.Base.Extension type is defined in Base.Extension as follows.

Figure 112006012719774-pct00005
Figure 112006012719774-pct00005

ItemID 필드는 확장이 연관되어 있는 항목의 ItemID를 포함한다. 이 ItemID를 가진 항목이 존재해야 한다. 확장은 소정의 ItemID를 가진 항목이 존재하지 않 는 경우 생성될 수 없다. 항목이 삭제되면, 동일한 ItemID를 가진 모든 확장이 삭제된다. 튜플(ItemID, ExtensionID)은 확장 인스턴스를 고유하게 식별한다.The ItemID field contains the ItemID of the item with which the extension is associated. An item with this ItemID must exist. An extension cannot be created if there is no item with the given ItemID. When an item is deleted, all extensions with the same ItemID are deleted. Tuples (ItemID, ExtensionID) uniquely identify an extension instance.

확장 타입의 구조는 항목 타입의 구조와 유사하다:The structure of extended types is similar to that of item types:

확장 타입은 필드를 갖는다.Extended types have fields.

필드는 기본 또는 중첩 요소 타입일 수 있다.The field may be a basic or nested element type.

확장 타입은 서브 타입화될 수 있다.Extension types may be subtyped.

이하의 제한들은 확장 타입에 적용된다.The following restrictions apply to extended types.

확장은 관계의 소스 및 타겟일 수 없다.Extensions cannot be sources and targets of relationships.

확장 타입 인스턴스는 항목과 별개로 존재할 수 없다.An extension type instance cannot exist separately from an item.

확장 타입은 저장 플랫폼 타입 정의에서 필드 타입으로 사용될 수 없다.Extended types cannot be used as field types in storage platform type definitions.

주어진 항목 타입과 관련될 수 있는 확장의 타입에는 제한이 없다. 어떠한 확장 타입도 임의의 항목 타입을 확장하는 것이 허용된다. 다수의 확장 인스턴스가 항목에 첨부될 때, 이들은 구조 및 거동 양자에서 서로 독립적이다. There is no restriction on the type of extension that can be associated with a given item type. Any extension type is allowed to extend any item type. When multiple extension instances are attached to an item, they are independent of each other in both structure and behavior.

확장 인스턴스는 저장되어 항목으로부터 개별적으로 액세스된다. 모든 확장 타입 인스턴스는 글로벌 확장 뷰로부터 액세스될 수 있다. 어떤 타입의 항목과 연관되어 있는지에 관계없이 소정 확장 타입의 모든 인스턴스를 리턴하는 효율적인 질의가 구축될 수 있다. 저장 플랫폼 API는 항목에 대한 확장을 저장, 검색 및 수정할 수 있는 프로그래밍 모델을 제공한다. Extension instances are stored and accessed individually from the item. All extension type instances can be accessed from the global extension view. An efficient query can be constructed that returns all instances of a given extension type, regardless of what type of item it is associated with. The storage platform API provides a programming model for storing, retrieving, and modifying extensions to items.

확장 타입은 저장 플랫폼 단일 상속 모델을 사용하여 서브 타입화된 타입일 수 있다. 확장 타입으로부터의 도출은 새로운 확장 타입을 생성한다. 확장의 구조 또는 거동은 항목 타입 계층 구조의 구조 또는 거동을 무시하거나 대체할 수 없다.The extended type may be a subtyped type using the storage platform single inheritance model. Derivation from an extension type creates a new extension type. The structure or behavior of an extension cannot override or replace the structure or behavior of an item type hierarchy.

항목 타입과 유사하게, 확장 타입 인스턴스는 확장 타입과 관련된 뷰를 통해 직접 액세스될 수 있다. 확장의 ItemID는 이들이 어느 항목에 속하는지를 나타내며, 글로벌 항목 뷰로부터 대응하는 항목 객체를 검색하는 데 사용될 수 있다.Similar to item types, extension type instances can be accessed directly through views associated with the extension type. The ItemID of the extension indicates which item they belong to and can be used to retrieve the corresponding item object from the global item view.

확장은 동작의 일관성을 위해 항목의 일부로 간주된다. 저장 플랫폼이 정의하는 복사/이동, 백업/복원 및 다른 일반 동작들은 항목의 일부로서 확장에 대해 동작할 수 있다.Extensions are considered part of the item for consistency of operation. Copy / move, backup / restore, and other general operations defined by the storage platform may operate on extensions as part of the item.

다음 예를 고려하자. 윈도우 타입 세트 내에 연락처 타입이 정의된다.Consider the following example. The contact type is defined within the window type set.

Figure 112006012719774-pct00006
Figure 112006012719774-pct00006

Figure 112006012719774-pct00007
Figure 112006012719774-pct00007

CRM 애플리케이션 개발자는 저장 플랫폼에 저장된 연락처에 CRM 애플리케이션 확장을 첨부하기를 원한다. 애플리케이션 개발자는 애플리케이션이 조작할 수 있는 추가적인 데이터 구조를 포함하는 CRM 확장을 정의한다. CRM application developers want to attach CRM application extensions to contacts stored on the storage platform. The application developer defines a CRM extension that contains additional data structures that the application can manipulate.

Figure 112006012719774-pct00008
Figure 112006012719774-pct00008

HR 애플리케이션 개발자는 또한 연락처에 추가 데이터를 첨부하기를 원할 수 있다. 이 데이터는 CRM 애플리케이션 데이터와 무관하다. 또한, 애플리케이션 개발자는 확장을 생성할 수 있다.HR application developers may also want to attach additional data to their contacts. This data is independent of CRM application data. In addition, application developers can create extensions.

Figure 112006012719774-pct00009
Figure 112006012719774-pct00009

CRMExtension 및 HRExtension은 연락처 항목에 첨부될 수 있는 2개의 독립적인 확장이다. 이들은 서로 독립적으로 생성되고 액세스된다. CRMExtension and HRExtension are two independent extensions that can be attached to contact entries. They are created and accessed independently of each other.

위의 예에서, CRMExtension 타입의 필드 및 메소드는 연락처 계층 구조의 필드 또는 메소드를 무시할 수 없다. CRMExtension 타입의 인스턴스는 연락처가 아니라 항목 타입에 첨부될 수 있다는 점에 유의해야 한다. In the example above, fields and methods of type CRMExtension cannot override fields or methods in the contact hierarchy. Note that an instance of type CRMExtension can be attached to an item type rather than a contact.

연락처 항목이 리트리브될 때, 그의 항목 확장이 자동으로 리트리브되는 것은 아니다. 연락처 항목이 주어지면, 그와 관련된 항목 확장은 동일한 ItemID를 가진 확장에 대한 글로벌 확장 뷰에 질의함으로써 액세스될 수 있다. When a contact item is retrieved, its item expansion is not automatically retrieved. Given a contact item, the item extension associated with it can be accessed by querying the global extension view for the extension with the same ItemID.

시스템 내의 모든 CRMExtension 확장들은 이들이 어느 항목에 속하는지에 관계없이 CRMExtension 타입 뷰를 통해 액세스될 수 있다. 항목의 모든 항목 확장은 동일한 항목 ID를 공유한다. 위 예에서, 연락처 항목 인스턴스 및 첨부된 CRMExtension 및 HRExtension 인스턴스는 동일한 ItemID를 공유한다. All CRMExtension extensions in the system can be accessed through the CRMExtension type view, regardless of which items they belong to. All item extensions of an item share the same item ID. In the example above, the contact item instance and the attached CRMExtension and HRExtension instances share the same ItemID.

다음 테이블은 항목, 확장 및 중첩 요소 타입 사이의 유사성 및 차이를 요약한 것이다.The following table summarizes the similarities and differences between the item, extension, and nested element types.

항목 대 항목 확장 대 중첩 요소Item-to-item expansion vs. nested elements

항목Item 항목 확장Item extension 중첩 요소Nested elements 항목 IDItem ID 그 자신의 항목 ID를 갖는다.Has its own item ID. 항목의 항목 ID를 공유한다.Share the item ID of the item. 그 자신의 항목 ID를 갖지 않는다. 중첩 요소는 항목의 일부이다.It does not have its own item ID. Nested elements are part of an item. 저장Save 항목 계층 구조는 그 자신의 테이블에 저장된다.The item hierarchy is stored in its own table. 항목 확장 계층 구조는 그 자신의 테이블에 저장된다.The item extension hierarchy is stored in its own table. 항목과 함께 저장된다.It is stored with the item. 질의/검색Query / Search 항목 테이블에 질의할 수 있다.You can query the item table. 항목 확장 테이블에 질의할 수 있다.You can query the item extension table. 일반적으로 포함하는 항목 문맥(Item Context) 내에서만 질의될 수 있다.In general, it can only be queried within the containing Item Context. 질의/검색 범위Query / search scope 항목 타입의 모든 인스턴스를 검색할 수 있다.You can retrieve all instances of an item type. 항목 확장 타입의 모든 인스턴스를 검색할 수 있다.You can search all instances of the item extension type. 일반적으로 단일 (포함) 항목의 중첩 요소 타입 인스턴스 내에서만 검색할 수 있다.In general, you can only search within nested element type instances of a single (contained) item. 관계 시맨틱Relationship semantics 항목들에 대한 관계를 가질 수 있다.It can have a relationship to items. 항목 확장에 대한 관계 없음.No relationship to item expansion. 중첩 요소에 대한 관계 없음No relationship to nested elements 항목에 대한 연관성Association to the item 유지, 삽입 및 소프트 관계를 통해 다른 항목과 관련될 수 있다.Retain, insert, and soft relationships can be associated with other items. 일반적으로 확장을 통해서만 관련될 수 있다. 확장 시맨틱은 삽입된 항목 시맨틱과 유사하다.Generally only relevant through expansion. Extension semantics are similar to the inserted item semantics. 필드를 통해 항목과 관련됨, 중첩 요소는 항목의 일부이다.Associated with an item via a field, nested elements are part of the item.

b) 중첩 요소 타입 확장b) Nested element type extension

중첩 요소 타입은 항목 타입과 동일한 메커니즘으로 확장되지 않는다. 중첩 요소의 확장은 중첩 요소 타입의 필드와 동일한 메커니즘으로 저장되고 액세스된다.Nested element types do not extend to the same mechanism as item types. Extension of nested elements is stored and accessed with the same mechanism as fields of nested element types.

데이터 모델은 Element라는 명칭의 중첩 요소 타입의 루트를 정의한다.The data model defines the root of a nested element type named Element.

Figure 112006012719774-pct00010
Figure 112006012719774-pct00010

중첩 요소 타입은 이 타입으로부터 상속된다. NestElement 요소 타입은 요소들의 멀티 세트인 필드를 추가적으로 정의한다.Nested element types inherit from this type. The NestElement element type further defines a field that is a multiset of elements.

Figure 112006012719774-pct00011
Figure 112006012719774-pct00011

중첩 요소 확장은 다음의 방식에서 항목 확장과 다르다:Nested element expansion differs from item expansion in the following ways:

중첩 요소 확장은 확장 타입이 아니다. 이것은 Base.Extension 타입에서 루트가 되는 확장 타입 계층 구조에 속하지 않는다.Nested element extensions are not extension types. It is not part of the extension type hierarchy rooted in the Base.Extension type.

중첩 요소 확장은 항목의 다른 필드들과 함께 저장되며, 글로벌 액세스가 가능하지 않으며, 주어진 확장 타입의 모든 인스턴스를 검색하는 질의가 구축될 수 없다.Nested element extensions are stored along with the other fields of the item, are not globally accessible, and no query can be constructed that retrieves all instances of a given extension type.

이들 확장은 (항목의) 다른 중첩 요소들이 저장되는 것과 동일한 방식으로 저장된다. 다른 중첩 세트와 같이, 중첩 요소 확장은 UDT에 저장된다. 이들은 중첩 요소 타입의 확장 필드를 통해 액세스될 수 있다. These extensions are stored in the same way that other overlapping elements (of items) are stored. Like other nested sets, nested element extensions are stored in UDTs. These can be accessed through extension fields of nested element types.

멀티 값의 속성들에 액세스하는 데 사용되는 집합 인터페이스도 타입 확장 세트에 대한 액세스 및 반복을 위해 사용된다.The aggregation interface used to access multi-valued attributes is also used for access and iteration over the set of type extensions.

다음 테이블은 항목 확장 및 중첩 요소 확장을 요약하고 비교한 것이다.The following table summarizes and compares item expansion and nested element expansion.

항목 확장 대 중첩 요소 확장Item Expansion vs. Nested Element Expansion

항목 확장Item extension 중첩 요소 확장Nested Element Extensions 저장Save 항목 확장 계층 구조가 그 자신의 테이블에 저장된다.The item extension hierarchy is stored in its own table. 중첩 요소와 같이 저장된다.Stored with nested elements 질의/검색Query / Search 항목 확장 테이블에 질의할 수 있다.You can query the item extension table. 일반적으로 포함 항목 문맥 내에서만 질의될 수 있다.In general, it can only be queried within the context of the containing item. 질의/검색 범위Query / search scope 항목 확장 타입의 모든 인스턴스를 검색할 수 있다.You can search all instances of the item extension type. 일반적으로 단일 (포함) 항목의 중첩 요소 타입 인스턴스 내에서만 검색할 수 있다.In general, you can only search within nested element type instances of a single (contained) item. 프로그래밍 가능성Programmability 특수 확장 API 및 확장 테이블에 대한 특수 질의가 필요하다.Special queries for special extension APIs and extension tables are required. 중첩 요소 확장은 중첩 요소의 임의의 다른 멀티 값의 필드와 유사하며, 정상 중첩 요소 타입 API가 사용된다.Nested element extensions are similar to any other multi-valued fields of nested elements, and normal nested element type APIs are used. 거동motion 거동을 연관시킬 수 있다.You can correlate the behavior. 거동이 허용되지 않음(?)Behavior not allowed (?) 관계 시맨틱Relationship semantics 항목 확장에 대한 관계 없음No relationship to item expansion 중첩 요소 확장에 대한 관계 없음No relationship to nested element expansion 항목 IDItem ID 항목의 항목 ID를 공유한다.Share the item ID of the item. 그 자신의 항목 ID를 갖지 않는다. 중첩 요소 확장은 항목의 일부이다.It does not have its own item ID. Nested element expansion is part of the item.

D. 데이터베이스 엔진D. Database Engine

전술한 바와 같이, 데이터 저장소는 데이터베이스 엔진 상에서 구현된다. 본 실시예에서, 데이터베이스 엔진은 객체 관계 확장으로 마이크로소프트 SQL 서버 엔진과 같은 SQL 질의 언어를 구현하는 관계형 데이터베이스 엔진을 포함한다. 이 섹션은 본 실시예에 따라 데이터 저장소를 구현하는 데이터 모델의 관계 저장소에 대한 매핑을 설명하며, 저장 플랫폼 클라이언트에 의해 사용되는 논리 API에 대한 정보를 제공한다. 그러나, 상이한 데이터베이스 엔진이 사용될 때 상이한 매핑이 사용될 수 있다는 것을 이해해야 한다. 실제로, 관계형 데이터베이스 엔진 상에서 저장 플랫폼 개념 데이터 모델을 구현하는 것 외에, 예를 들어 객체 지향 및 XML 데이터베이스와 같은 다른 타입의 데이터베이스 상에서도 구현될 수 있다.As mentioned above, the data store is implemented on a database engine. In this embodiment, the database engine includes a relational database engine that implements an SQL query language such as the Microsoft SQL Server engine with object relational extensions. This section describes the mappings to the relational stores of the data model that implements the data store according to this embodiment, and provides information about the logical APIs used by the storage platform client. However, it should be understood that different mappings may be used when different database engines are used. Indeed, in addition to implementing the storage platform conceptual data model on a relational database engine, it can also be implemented on other types of databases such as, for example, object-oriented and XML databases.

객체 지향(OO) 데이터베이스 시스템은 프로그래밍 언어 객체(예컨대, C++, 자바)에 대한 지속성 및 트랜잭션을 제공한다. "항목"의 저장 플랫폼 개념은 삽입된 집합들이 객체에 추가되어야 하지만 객체 지향 시스템에서 "객체"로 양호하게 매핑된다. 상속 및 중첩 요소 타입과 같은 다른 저장 플랫폼 타입 개념들도 객체 지향 타입 시스템에 매핑된다. 객체 지향 시스템은 일반적으로 객체 식별자를 이미 지원하며, 따라서 항목 식별자는 객체 식별자로 매핑될 수 있다. 항목 거동(동작)은 객체 메소드로 양호하게 매핑된다. 그러나, 객체 지향 시스템은 일반적으로 체계적인 능력이 부족하며, 검색이 열악하다. 또한, 객체 지향 시스템은 비구조적 및 반구조적 데이터에 대한 지원을 제공하지 않는다. 여기에 설명되는 완전한 저장 플랫폼 데이터 모델을 지원하기 위하여, 관계, 폴더 및 확장과 같은 개념들이 객체 데이터 모델에 추가될 필요가 있다. 또한, 증진, 동기화, 통지 및 보안과 같은 메커니즘이 구현될 필요가 있다.Object-Oriented (OO) database systems provide persistence and transactions for programming language objects (eg, C ++, Java). The storage platform concept of "items" is well mapped to "objects" in object-oriented systems, although inserted sets must be added to an object. Other storage platform type concepts, such as inheritance and nested element types, also map to object-oriented type systems. Object-oriented systems generally already support object identifiers, so item identifiers can be mapped to object identifiers. Item behavior (behavior) is well mapped to object methods. However, object-oriented systems generally lack systematic capabilities and are poorly searched. In addition, object-oriented systems do not provide support for unstructured and semi-structured data. To support the complete storage platform data model described herein, concepts such as relationships, folders, and extensions need to be added to the object data model. In addition, mechanisms such as promotion, synchronization, notification, and security need to be implemented.

객체 지향 시스템과 유사하게, XSD(XML 스키마 정의)에 기초하는 XML 데이터베이스는 단일 상속 기반 타입 시스템을 지원한다. 본 발명의 항목 타입 시스템은 XSD 타입 모델로 매핑될 수 있다. XSD는 또한 거동에 대한 지원을 제공하지 않는다. 항목에 대한 XSD는 항목 거동에 대해 보강되어야 한다. XML 데이터베이스는 단일 XSD 문서를 처리하며, 체계화 및 광범위한 검색 능력이 부족하다. 객체 지향 데이터베이스에서와 같이, 여기서 설명되는 데이터 모델을 지원하기 위하여, 관계 및 폴더와 같은 다른 개념들이 이러한 XML 데이터베이스에 포함될 필요가 있으며, 또한 동기화, 통지 및 보안과 같은 메커니즘이 구현될 필요가 있다. Similar to object-oriented systems, XML databases based on XSD (XML Schema Definition) support a single inheritance based type system. The item type system of the present invention may be mapped to an XSD type model. XSD also does not provide support for behavior. The XSD for the item should be reinforced for the item behavior. An XML database handles a single XSD document and lacks organizational and extensive search capabilities. As with object-oriented databases, to support the data model described herein, other concepts, such as relationships and folders, need to be included in this XML database, and mechanisms such as synchronization, notification, and security also need to be implemented.

1. UDT를 사용한 데이터 저장소 구현1. Implementing a Data Store Using UDTs

본 실시예에서, 일 실시예에서 마이크로소프트 SQL 서버 엔진을 포함하는 관계형 데이터베이스 엔진(314)은 내장된 스칼라 타입을 지원한다. 내장된 스칼라 타입은 "원시적"이고 "단순"하다. 그들은 사용자가 그들의 타입을 정의할 수 없다는 의미에서 원시적이며, 복합 구조를 캡슐화할 수 없다는 의미에서 단순하다. 사용자 정의 타입(이하, UDT)은 사용자가 복합 구조화된 타입을 정의함으로써 타입 시스템을 확장하는 것을 가능하게 함으로써 원시 스칼라 타입 시스템을 넘어서 타입 확장가능성에 대한 메커니즘을 제공한다. 일단 사용자에 의해 정의되면, UDT는 내장된 스칼라 타입이 사용될 수 있는 타입 시스템 내의 어디에서나 사용될 수 있다.In this embodiment, in one embodiment the relational database engine 314 including the Microsoft SQL Server engine supports built-in scalar types. Built-in scalar types are "primitive" and "simple". They are primitive in the sense that users cannot define their types, and simple in the sense that they cannot encapsulate complex structures. User-defined types (hereinafter, UDTs) provide a mechanism for type extensibility beyond the primitive scalar type system by allowing users to extend the type system by defining complex structured types. Once defined by the user, the UDT can be used anywhere in the type system where built-in scalar types can be used.

본 발명의 일 양태에 따라, 저장 플랫폼 스키마가 데이터베이스 엔진 저장소 내의 UDT 클래스로 매핑된다. 데이터 저장소 항목들은 Base.Item 타입으로부터 도출되는 UDT 클래스로 매핑된다. 항목과 유사하게, 확장도 또한 UDT 클래스로 매핑되며, 상속을 사용한다. 루트 확장 타입은 모든 확장 타입이 도출되는 Base.Extension이다. According to one aspect of the invention, the storage platform schema is mapped to a UDT class in a database engine repository. Data store items are mapped to UDT classes derived from the Base.Item type. Similar to items, extensions are also mapped to UDT classes and use inheritance. The root extension type is Base.Extension from which all extension types are derived.

UDT는 CLR 클래스이며, 이는 상태(즉, 데이터 필드) 및 거동(즉, 루틴)을 갖는다. UDT는 관리형 언어들, 즉 C#, VB.NET 등들 중 임의의 것을 사용하여 정의된 다. UDT 메소드 및 연산자는 그 타입의 인스턴스에 대해 T-SQL로 호출될 수 있다. UDT는 행 내의 열의 타입, T-SQL 내의 루틴의 파라미터 타입 또는 T-SQL 내의 변수의 타입일 수 있다.UDTs are CLR classes, which have state (ie data fields) and behavior (ie routines). UDTs are defined using any of the managed languages, C #, VB.NET, and so on. UDT methods and operators can be called in T-SQL against instances of that type. The UDT can be the type of a column in a row, the parameter type of a routine in T-SQL, or the type of a variable in T-SQL.

다음 예는 UDT의 기초를 예시한다. MapLib.dll은 MapLib라 불리는 어셈블리를 갖는다고 가정하자. 이 어셈블리에서는, 명칭 공간 BaseType 하에 Point라 불리는 클래스가 있다:The following example illustrates the basics of a UDT. Suppose MapLib.dll has an assembly called MapLib. In this assembly, there is a class called Point under the namespace BaseType:

Figure 112006012719774-pct00012
Figure 112006012719774-pct00012

다음의 T-SOL 코드는 클래스 Point를 Point라 불리는 SQL 서버 UDT에 결합한다. 제1 단계는 MapLib 어셈블리를 데이터베이스에 로드하는 "CreateAssembly"를 호출한다. 제2 단계는 사용자 정의 타입 "Point"를 생성하기 위한 "CreateType"을 호출하고, 그것을 관리 타입 BaseTypes.Point에 결합시킨다:The following T-SOL code combines a class Point into a SQL server UDT called Point. The first step is to call "CreateAssembly" which loads the MapLib assembly into the database. The second step calls "CreateType" to create a user defined type "Point" and associates it with the managed type BaseTypes.Point:

Figure 112006012719774-pct00013
Figure 112006012719774-pct00013

저장 플랫폼 스키마의 UDT 클래스로의 매핑은 고레벨에서 매우 간단하다. 일반적으로, 저장 플랫폼 스키마는 CLR 명칭 공간으로 매핑된다. 저장 플랫폼 타입은 CLR 클래스로 매핑된다. CLR 클래스 상속성은 저장 플랫폼 타입 상속성을 미러링하며, 저장 플랫폼 속성은 CLR 클래스 속성으로 매핑된다.The mapping of storage platform schemas to UDT classes is very simple at a high level. In general, the storage platform schema is mapped to the CLR namespace. Storage platform types are mapped to CLR classes. CLR class inheritance mirrors storage platform type inheritance, and storage platform properties map to CLR class properties.

본원에서 도 29에 예시된 항목 계층 구조는 예로서 사용된다. 이것은, 모든 항목 타입들이 화살표로 나타낸 상속에 의해 도출된 항목 타입(예를 들어, Contact.Person 및 Contact.Employee)들의 세트를 따라 도출되는 Base.Item 타입을 나타낸다.The item hierarchy illustrated in FIG. 29 is used herein as an example. This represents the Base.Item type, in which all item types are derived along a set of item types (eg, Contact.Person and Contact.Employee) derived by inheritance indicated by arrows.

2. 항목 매핑2. Item Mapping

바람직하게 항목들이 글로벌하게 검색 가능하고, 본 실시예의 관계형 데이터베이스에서 상속성 및 타입 대체성이 지원되면, 데이터베이스 저장소 내의 항목 저장에 대한 하나의 가능한 구현은 단일 테이블 내의 타입 Base.Item의 열에 모든 항 목을 저장할 것이다. 타입 대체성을 사용하면, 모든 타입의 항목들이 저장될 수 있으며, 검색은 유콘(Yukon)의 "is of(Type)" 연산자를 사용하여 항목 타입 및 서브 타입에 의해 필터링될 수 있었다. Preferably, if items are globally searchable, and inheritance and type substitution are supported in the relational database of this embodiment, one possible implementation for storing items in a database repository may list all items in a column of type Base.Item in a single table. Will save. Using type substitution, all types of items could be stored, and the search could be filtered by item type and subtype using Yukon's "is of (Type)" operator.

그러나, 이러한 접근법과 관련된 오버헤드에 대한 염려로 인해, 본 실시예에서는 항목들이 최상위 레벨 타입에 의해 분류되며, 따라서 각 타입 "패밀리"의 항목들은 개별 테이블에 저장된다. 이러한 분할 스킴 하에서는 Base.Item으로부터 직접 상속되는 각각의 항목 타입에 대해 테이블이 생성된다. 이들 아래에서 상속되는 타입들은 전술한 바와 같이 타입 대체성을 사용하여 적절한 타입 패밀리에 저장된다. Base.Item으로부터의 제1 레벨의 상속만이 특수하게 처리된다. 도 29에 도시된 예시적인 항목 계층 구조에 대해서, 이것은 다음의 타입 패밀리 테이블을 결과로 낸다:However, due to the concern with the overhead associated with this approach, in this embodiment the items are sorted by top level type, so that items of each type "family" are stored in separate tables. Under this partitioning scheme, a table is created for each item type that inherits directly from Base.Item. Types inherited below them are stored in the appropriate type family using type substitution as described above. Only the first level of inheritance from Base.Item is specially handled. For the example item hierarchy shown in FIG. 29, this results in the following type family table:

Figure 112006012719774-pct00014
Figure 112006012719774-pct00014

모든 항목에 대한 글로벌 검색 가능 속성들의 사본을 저장하기 위하여 "쉐도우" 테이블이 사용된다. 이 테이블은 모든 데이터 변경을 행하는 저장 플랫폼 API의 Update() 메소드에 의해 유지될 수 있다. 타입 패밀리 테이블과 달리, 이 글로벌 항목 테이블은 완전한 UDT 항목 객체가 아니라 항목의 최상위 레벨 스칼라 속성만을 포함한다.A "shadow" table is used to store a copy of the global searchable attributes for all items. This table can be maintained by the Update () method of the storage platform API, which makes all data changes. Unlike type family tables, this global item table contains only the top-level scalar attributes of the item, not the complete UDT item object.

글로벌 항목 테이블의 구조는 다음과 같다:The structure of the global entry table is as follows:

Figure 112006012719774-pct00015
Figure 112006012719774-pct00015

글로벌 항목 테이블은 ItemID 및 TypeID를 노출시킴으로써 타입 패밀리 테이블에 저장된 항목 객체에 대한 네비게이션을 허용한다. ItemID는 일반적으로 데이터 저장소 내의 항목을 고유하게 식별한다. TypeID는 여기서 설명되지 않는 메타데이터를 사용하여 타입 명칭 및 항목을 포함하는 뷰로 매핑될 수 있다.The global item table allows navigation to item objects stored in the type family table by exposing ItemID and TypeID. The ItemID typically uniquely identifies an item in the data store. TypeID may be mapped to a view containing the type name and item using metadata not described herein.

글로벌 항목 테이블과 관련하여, 그리고 다른 상황과 관련하여, 항목을 그의 ItemID에 의해 찾는 것은 일반적인 동작일 수 있으므로, 항목의 ItemID가 주어지면 항목 객체를 리트리브하기 위한 GetItem() 함수가 제공된다. 이 함수는 다음의 선언을 갖는다:With regard to the global item table and with respect to other situations, finding an item by its ItemID may be a normal operation, so given the ItemID of the item, a GetItem () function is provided to retrieve the item object. This function has the following declaration:

Base.Item Base.GetItem(uniqueidentifier ItemID)Base.Item Base.GetItem (uniqueidentifier ItemID)

편리한 액세스를 위해, 그리고 구현 상세를 가능한 한도까지 숨기기 위해, 항목에 대한 모든 질의는 전술한 항목 테이블 상에 구축된 뷰들에 대한 것일 수 있다. 구체적으로, 적절한 타입 패밀리 테이블에 대해 각각의 항목 타입에 대한 뷰들이 생성될 수 있다. 이러한 타입 뷰는 서브 타입을 포함하는 관련 타입의 모든 항목을 선택할 수 있다. 편의를 위해, UDT 객체 외에, 뷰들은 상속된 필드를 포함하는 그 타입의 모든 최상위 레벨 필드에 대한 열들을 노출시킬 수 있다. 도 29에 나타낸 예시적인 항목 계층 구조에 대한 뷰는 다음과 같다:For convenient access, and to the extent possible to hide implementation details, all queries for an item may be for views built on the item table described above. Specifically, views can be created for each item type for the appropriate type family table. This type view may select all items of related types including subtypes. For convenience, in addition to UDT objects, views can expose columns for all top-level fields of that type, including inherited fields. A view of the example item hierarchy shown in FIG. 29 is as follows:

Figure 112006012719774-pct00016
Figure 112006012719774-pct00016

완벽함을 위해, 뷰는 또는 글로벌 항목 테이블에 대해서도 생성될 수 있다. 이 뷰는 초기에 테이블과 동일한 열들을 노출할 수 있다:For completeness, a view can also be created for a global item table. This view can initially expose the same columns as the table:

Figure 112006012719774-pct00017
Figure 112006012719774-pct00017

3. 확장 매핑3. Extension Mapping

확장은 항목과 매우 유사하며, 동일한 요건들의 일부를 갖는다. 상속을 지원하는 다른 루트 타입으로서, 확장은 저장에 있어서의 동일한 고려 및 트레이드오프 중 많은 부분에 종속된다. 이 때문에, 유사한 타입 패밀리 매핑이 단일 테이블 접근법이 아니라 확장에 적용된다. 물론, 다른 실시예에서는 단일 테이블 접근법이 사용될 수 있다. The extension is very similar to the item and has some of the same requirements. As another root type that supports inheritance, extensions are subject to much of the same considerations and tradeoffs in storage. Because of this, similar type family mappings apply to extensions rather than single table approaches. Of course, in other embodiments a single table approach may be used.

본 실시예에서, 확장은 ItemID에 의해 정확히 하나의 항목과 연관되며, 항목 과 관련하여 고유한 ExtensionID를 포함한다. 확장 테이블은 다음의 정의를 갖는다:In this embodiment, the extension is associated with exactly one item by ItemID and includes a unique ExtensionID with respect to the item. Extension tables have the following definitions:

Figure 112006012719774-pct00018
Figure 112006012719774-pct00018

항목에서와 같이, ItemID 및 ExtensionID 쌍으로 이루어진 확장 식별자가 주어질 때 확장을 리트리브하기 위한 기능이 제공될 수 있다. 이 기능은 다음의 선언을 갖는다:As with the item, a function may be provided for retrieving the extension when given an extension identifier consisting of ItemID and ExtensionID pairs. This function has the following declaration:

Figure 112006012719774-pct00019
Figure 112006012719774-pct00019

항목 타입 뷰와 유사한 각각의 항복 타입에 대한 뷰가 생성된다. 다음의 타입을 가진 예시적인 항목 계층 구조에 병렬인 확장 계층구조를 가정하자: Base.Extension, Contact.PersonExtension, Contact.EmployeeExtention. 다음의 뷰가 생성될 수 있다:A view is created for each yield type similar to the item type view. Assume an extension hierarchy that is parallel to an example item hierarchy of the following type: Base.Extension, Contact.PersonExtension, Contact.EmployeeExtention. The following view can be created:

Figure 112006012719774-pct00020
Figure 112006012719774-pct00020

4. 중첩 요소 매핑4. Nested Element Mapping

중첩 요소들은 항목, 확장, 관계, 또는 깊게 중첩된 구조를 형성하는 다른 중첩 요소들 내에 삽입될 수 있는 타입이다. 항목 및 확장과 같이, 중첩 요소는 UDT로서 구현되지만, 항목 및 확장 내에 저장된다. 따라서, 중첩 요소들은 그들의 항목 및 확장 컨테이너의 매핑을 넘어서는 어떠한 저장 매핑도 갖지 않는다. 즉, 시스템 내에는 중첩 요소 타입의 인스턴스를 직접 저장하는 테이블이 존재하지 않으며, 중첩 요소에 특정하게 전용화된 어떠한 뷰도 존재하지 않는다.Nesting elements are of a type that can be inserted into items, extensions, relationships, or other nesting elements that form deeply nested structures. Like items and extensions, nested elements are implemented as UDTs, but are stored within items and extensions. Thus, nested elements have no storage mapping beyond the mapping of their item and extension containers. That is, there is no table in the system that directly stores instances of nested element types, and there are no views specifically dedicated to nested elements.

5. 객체 식별5. Object Identification

데이터 모델 내의 각 엔티티, 즉 항목, 확장 및 관계는 고유 키 값을 갖는다. 항목은 그의 ItemID에 의해 고유하게 식별된다. 확장은 (ItemID, ExtensionID)의 합성 키에 의해 고유하게 식별된다. 관계는 합성 키(ItemID, RelationID)에 의해 식별된다. ItemID, ExtensionID 및 RelationID는 GUID 값이다.Each entity in the data model, namely items, extensions and relationships, has a unique key value. An item is uniquely identified by its ItemID. Extensions are uniquely identified by a composite key of (ItemID, ExtensionID). Relationships are identified by composite keys (ItemID, RelationID). ItemID, ExtensionID and RelationID are GUID values.

6. SQL 객체 명명6. Naming SQL Objects

데이터 저장소에서 생성된 모든 객체는 저장 플랫폼 스키마 명칭으로부터 도출된 SQL 스키마 명칭에 저장될 수 있다. 예컨대, 저장 플랫폼 기본 스키마(종종 "Base"라고 함)는 "[System.Storage]" SQL 스키마 내에 "[System.Storage].Item"과 같은 타입을 생성할 수 있다. 생성된 명칭 앞에는 명명 충돌을 없애기 위하여 한 정사가 붙는다. 적절한 경우, 명칭의 각각의 논리 부분에 대한 분리자로서 느낌표(!)가 사용된다. 아래의 테이블은 데이터 저장소 내의 객체들에 대해 사용되는 명명 규약의 개요를 나타낸다. 각각의 스키마 요소(항목, 확장, 관계 및 뷰)는 데이터 저장소 내의 인스턴스에 액세스하는 데 사용되는 장식 명명 규약과 함께 리스트되어 있다.All objects created in the data store can be stored in the SQL schema name derived from the storage platform schema name. For example, the storage platform base schema (often referred to as "Base") may create a type such as "[System.Storage] .Item" in the "[System.Storage]" SQL schema. The generated name is preceded by a canon to eliminate naming conflicts. Where appropriate, an exclamation point (!) Is used as a separator for each logical part of the name. The table below gives an overview of the naming conventions used for objects in the data store. Each schema element (item, extension, relationship, and view) is listed with a decorative naming convention used to access instances within the data store.

객체Object 명칭 장식Name Decoration 설명Explanation Yes 마스터 항목 검색 뷰Master Item Search View Master!ItemMaster! Item 현재 항목 도메인 내의 항목들의 요약을 제공한다.Provides a summary of items in the current item domain. [System.Storage].
[Master!Item]
[System.Storage].
[Master! Item]
타입화된 항목 검색 뷰Typed Item Search View ItemTypeItemType 항목 및 임의의 부모 타입(들)으로부터의 모든 속성 데이터를 제공한다.Provide all attribute data from the item and any parent type (s). [AcmeCorp.Doc].
[OfficeDoc]
AcmeCorp.Doc.
[OfficeDoc]
마스터 확장 검색 뷰Master extended search view Master!ExtensionMaster! Extension 현재 항목 도메인 내의 모든 확장의 요약을 제공한다.Provides a summary of all extensions within the current item domain. [System.Storage].
[Master!Extension]
[System.Storage].
[Master! Extension]
타입화된 확장 검색 뷰Typed extended search view Extension!extensionTypeExtension! ExtensionType 확장에 대한 모든 속성 데이터를 제공한다.Provides all the attribute data for the extension. [AcmeCorp.Doc].
[Extension!StickyNote]
AcmeCorp.Doc.
[Extension! StickyNote]
마스터 관계 뷰Master relationship view Master!RelationshipMaster! Relationship 현재 항목 도메인 내의 모든 관계의 요약을 제공한다.Provides a summary of all relationships within the current item domain. [System.Storage].
[Master!Relationship]
[System.Storage].
[Master! Relationship]
관계 뷰Relationship view Relation!relationshipNameRelation! RelationshipName 주어진 관계와 관련된 모든 데이터를 제공한다.Provide all data related to a given relationship. [AcmeCorp.Doc].
[Relationship!AuthorsFromDocument]
AcmeCorp.Doc.
[Relationship! AuthorsFromDocument]
View View!viewNameView! ViewName 스키마 뷰 정의에 기초하여 열/타입을 제공한다.Provide columns / types based on the schema view definition. [AcmeCorp.Doc].
[View!DocumentTitles]
AcmeCorp.Doc.
[View! DocumentTitles]

7. 열 명명7. Column Naming

임의의 객체 모델을 저장소로 매핑할 때, 명명 충돌의 가능성은 애플리케이션 객체와 함께 저장된 추가 정보로 인해 발생한다. 명명 충돌을 방지하기 위해, 모든 논-타입 특정 열(타입 선언 내의 명명 속성으로 직접 매핑되지 않는 열들) 앞에는 밑줄(_) 캐릭터(character)가 붙여진다. 본 실시예에서, 밑줄(_) 캐릭터는 임의의 식별자 속성의 시작 캐릭터로서 허용되지 않는다. 또한, CLR과 데이터 저장소 사이의 명명을 통일하기 위하여 저장 플랫폼 타입 또는 스키마 요소(관계 등)의 모든 속성은 대문자화된 제1 캐릭터를 가져야 한다. When mapping an arbitrary object model to a repository, the possibility of naming conflicts arises from the extra information stored with the application object. To avoid naming conflicts, all non-type specific columns (columns that do not map directly to naming attributes in the type declaration) are prefixed with an underscore (_) character. In this embodiment, the underscore (_) character is not allowed as the start character of any identifier attribute. In addition, to unify the naming between the CLR and the data store, all attributes of the storage platform type or schema element (such as a relationship) must have a capitalized first character.

8. 검색 뷰8. Search View

뷰는 저장된 콘텐츠를 검색하기 위해 저장 플랫폼에 의해 제공된다. SQL 뷰가 각각의 항목 및 확장 타입에 대해 제공된다. 또한, 관계 및 뷰를 지원하기 위해(데이터 모델에 정의된 바와 같이) 뷰들이 제공된다. 저장 플랫폼 내의 모든 SQL 뷰 및 기본 테이블은 판독 전용이다. 후술하는 바와 같이, 데이터는 저장 플랫폼 API의 Update() 메소드를 사용하여 저장 또는 변경될 수 있다.The view is provided by the storage platform to retrieve the stored content. SQL views are provided for each item and extension type. In addition, views are provided (as defined in the data model) to support relationships and views. All SQL views and base tables in the storage platform are read only. As described below, data can be stored or changed using the Update () method of the storage platform API.

저장 플랫폼 스키마 내에 명시적으로 정의된(저장 플랫폼에 의해 자동 생성된 것이 아니라 스키마 설계자에 의해 정의된) 각각의 뷰는 명명된 SQL 뷰 [<schema-name>].[View!<view-name>]에 의해 액세스될 수 있다. 예를 들어, 스키마 "AcmePublisher.Books" 내에 "BookSales"로 명명된 뷰는 명칭 "[AcmePublisher.Bookks].[View!BookSales]"를 사용하여 액세스될 수 있다. 뷰의 출력 포맷은 뷰 단위로(뷰를 정의하는 자에 의해 제공되는 임의의 질의에 의해 정의됨) 맞춰지므로, 열은 스키마 뷰 정의에 기초하여 직접 매핑된다.Each view explicitly defined within the storage platform schema (as defined by the schema designer, not automatically generated by the storage platform) is named SQL view [<schema-name>]. [View! <View-name> ] Can be accessed. For example, a view named "BookSales" within the schema "AcmePublisher.Books" can be accessed using the name "[AcmePublisher.Bookks]. [View! BookSales]". Since the output format of the view is tailored on a per view basis (defined by any query provided by the definer of the view), the columns are mapped directly based on the schema view definition.

저장 플랫폼 데이터 저장소 내의 모든 SQL 검색 뷰는 다음과 같은 열 순서화 규약을 사용한다.All SQL search views within the storage platform data store use the following column ordering conventions:

1. ItemId, ElementId, RelationshipId 등과 같은 뷰 결과의 논리 "키" 열1. Logical "key" columns in view results, such as ItemId, ElementId, RelationshipId, etc.

2. TypeId와 같은 결과의 타입에 대한 메타데이터 정보2. Metadata information about the result type, such as TypeId

3. CreateVersion, UpdateVersion 등과 같은 변경 추적 열3. Change tracking columns such as CreateVersion, UpdateVersion, etc.

4. 타입 특정 열(선언 타입의 속성)4. Type-specific columns (attributes of declared types)

5. 타입 특정 뷰(패밀리 뷰)는 또한 객체를 리턴하는 객체 열을 포함한다.5. Type-specific views (family views) also contain an array of objects that return objects.

각 타입 패밀리의 멤버들은 일련의 항목 뷰들을 사용하여 검색 가능한데, 데이터 저장소에는 항목 타입당 하나의 뷰가 존재한다. 도 28은 항목 검색 뷰의 개념을 나타내는 도면이다.Members of each type family can be searched using a series of item views. There is one view per item type in the data store. 28 is a diagram illustrating the concept of an item search view.

a) 항목a) item

각 항목 검색 뷰는 특정 타입 또는 그의 서브 타입의 항목의 각 인스턴스에 대한 행을 포함한다. 예를 들어, 문서에 대한 뷰는 Document, LegalDocument 및 ReviewDocument의 인스턴스를 리턴할 수 있다. 이러한 예가 주어지면, 항목 뷰는 도 29에 도시된 바와 같이 개념화될 수 있다.Each item search view includes a row for each instance of an item of a particular type or subtype thereof. For example, a view on a document can return instances of Document, LegalDocument, and ReviewDocument. Given this example, the item view can be conceptualized as shown in FIG.

(1) 마스터 항목 검색 뷰(1) Master Item Search View

저장 플랫폼 데이터 저장소의 각 인스턴스는 마스터 항목 뷰라고 하는 특수 항목을 정의한다. 이 뷰는 데이터 저장소 내의 각 항목에 대한 요약 정보를 제공한다. 뷰는 항목 타입 속성당 하나의 열, 항목의 타입을 기술하는 열, 및 변경 추 적 및 동기화 정보를 제공하는 데 사용되는 여러 열을 제공한다. 마스터 항목 뷰는 명칭 "[System.Storage].[Master!Item]"을 사용하여 데이터 저장소에서 식별된다.Each instance of the storage platform data store defines a special item called a master item view. This view provides a summary of each item in the data store. The view provides one column per item type attribute, a column describing the type of the item, and several columns used to provide change tracking and synchronization information. The master item view is identified in the data store using the name "[System.Storage]. [Master! Item]".

Heat 타입type 설명Explanation ItemIdItemId ItemIdItemId 항목의 저장 플랫폼 식별자Storage platform identifier of the item _TypeId_TypeId TypeIdTypeId 항목의 TypeId는 항목의 정확한 타입을 식별하며, 메타데이터 카탈로그를 사용하여 타입에 대한 정보를 리트리브하는 데 사용될 수 있다.The Item's TypeId identifies the exact type of the item and can be used to retrieve information about the type using the metadata catalog. _RootItemId_RootItemId ItemIdItemId 이 항목의 수명을 제어하는 제1 비삽입 조상의 ItemIdThe ItemId of the first non-insert ancestor controlling the lifetime of this item <global change tracking><global change tracking> ...... 글로벌 변경 추적 정보Global change tracking information <Item props><Item props> n/an / a 항목 타입 속성당 하나의 열One column per item type attribute

(2) 타입화된 항목 검색 뷰(2) Typed Item Search View

각 항목 타입은 또한 검색 뷰를 갖는다. 루트 항목 뷰와 유사한 반면, 이 뷰는 "_Item" 열을 통해 항목 객체에 대한 액세스도 제공한다. 각각의 타입화된 항목 검색 뷰는 명칭 [schemaName].[itemTypeName]를 사용하여 데이터 저장소에서 식별된다. 예를 들어, [AcmeCorp.Doc][OfficeDoc].Each item type also has a search view. Similar to the root item view, this view also provides access to the item object via the "_Item" column. Each typed item search view is identified in the data store using the name [schemaName]. [ItemTypeName]. For example, [AcmeCorp.Doc] [OfficeDoc].

Heat 타입type 설명Explanation ItemIdItemId ItemIdItemId 항목의 저장 플랫폼 식별자Storage platform identifier of the item <type change tracking><type change tracking> ...... 타입 변경 추적 정보Type change tracking information <parent props><parent props> <property specific><property specific> 부모 속성당 하나의 열One column per parent property <item props><item props> <property specific><property specific> 이 타입의 배타적 속성당 하나의 열One column per exclusive attribute of this type _Item_Item 항목의 CLR 타입CLR type of the item CLR 객체-선언 항목의 타입Type of CLR object-declaration item

b) 항목 확장b) item expansion

WinFS 저장소 내의 모든 항목 확장은 또한 검색 뷰를 사용하여 검색 가능하다.All item extensions within the WinFS repository can also be searched using the search view.

(1) 마스터 확장 검색 뷰(1) master extended search view

데이터 저장소의 각각의 인스턴스는 마스터 확장 뷰라고 하는 특수 확장 뷰를 정의한다. 이 뷰는 데이터 저장소 내의 각각의 확장에 대한 요약 정보를 제공한다. 뷰는 확장 속성당 하나의 열, 확장 타입을 기술하는 하나의 열, 및 변경 추적 및 동기화 정보를 제공하는 데 사용되는 여러 열을 갖는다. 마스터 확장 뷰는 명칭 "[System.Storage].[Master!Extension]"을 사용하여 데이터 저장소에서 식별된다.Each instance of the data store defines a special extended view called the master extended view. This view provides a summary of each extension in the data store. The view has one column per extension attribute, one column describing the extension type, and several columns used to provide change tracking and synchronization information. The master extension view is identified in the data store using the name "[System.Storage]. [Master! Extension]".

Heat 타입type 설명Explanation ItemIdItemId ItemIdItemId 확장이 연관된 항목의 저장 플랫폼 식별자The storage platform identifier of the item with which the extension is associated. ExtensionIdExtensionId ExtensionId(GUID)ExtensionId (GUID) 이 확장 인스턴스의 IDID of this extension instance _TypeId_TypeId TypeIdTypeId 확장의 TypeId는 확장의 정확한 타입을 식별하며, 메타데이터 카탈로그를 사용하여 확장에 대한 정보를 리트리브하는 데 사용될 수 있다.The extension's TypeId identifies the exact type of extension and can be used to retrieve information about the extension using the metadata catalog. <global change tracking><global change tracking> ...... 글로벌 변경 추적 정보Global change tracking information <ext properties><ext properties> <property specific><property specific> 확장 타입 속성당 하나의 열One column per extended type attribute

(2) 타입화된 확장 검색 뷰(2) typed extended search view

각각의 확장 타입은 또한 검색 뷰를 갖는다. 마스터 확장 뷰와 유사한 반면, 이 뷰는 _Extension 열을 통해 항목에 대한 액세스도 제공한다. 각각의 타입화된 확장 검색 뷰는 명칭 [schemaName].[Extension!extensionTypeName]을 사용하여 데이터 저장소에서 식별된다. 예를 들어, [AcmeCorp.Doc].[Extension!OfficeDocExt].Each type of extension also has a search view. Similar to the master extension view, this view also provides access to items through the _Extension column. Each typed extension search view is identified in the data store using the name [schemaName]. [Extension! ExtensionTypeName]. For example, [AcmeCorp.Doc]. [Extension! OfficeDocExt].

Heat 타입 type 설명Explanation ItemIdItemId ItemIdItemId 이 확장이 연관된 항목의 저장 플랫폼 식별자Storage platform identifier of the item that this extension is associated with ExtensionIdExtensionId ExtensionId(GUID)ExtensionId (GUID) 이 확장 인스턴스의 IDID of this extension instance <type change tracking><type change tracking> ...... 타입 변경 추적 정보Type change tracking information <parent props><parent props> <property specific><property specific> 부모 속성당 하나의 열One column per parent property <ext props><ext props> <property specific><property specific> 이 타입의 배타적 속성당 하나의 열One column per exclusive attribute of this type _Extension_Extension 확장 인스턴스의 CLR 타입CLR type of extension instance CLR 객체-선언 확장의 타입Types of CLR Object-Declaration Extensions

c) 중첩 요소c) nested elements

모든 중첩 요소는 항목, 확장 또는 관계 인스턴스 내에 저장된다. 이에 따라, 이들은 적절한 항목, 확장 또는 관계 검색 뷰에 질의함으로써 액세스된다.All nested elements are stored within an item, extension, or relationship instance. Accordingly, they are accessed by querying the appropriate item, extension, or relationship search view.

d) 관계d) relationships

전술한 바와 같이, 관계는 저장 플랫폼 데이터 저장소 내의 항목들 사이의 연결의 기본 단위를 형성한다.As mentioned above, relationships form the basic unit of connection between items in a storage platform data store.

(1) 마스터 관계 검색 뷰(1) Master Relationship Search View

각각의 데이터 저장소는 마스터 관계 뷰를 제공한다. 이 뷰는 데이터 저장소 내의 모든 관계 인스턴스에 대한 정보를 제공한다. 마스터 관계 뷰는 명칭 "[System.Storage].[Master!Relationship]"을 사용하여 데이터 저장소에서 식별된다.Each data store provides a master relationship view. This view provides information about all relationship instances within the data store. The master relationship view is identified in the data store using the name "[System.Storage]. [Master! Relationship]".

Heat 타입type 설명Explanation ItemIdItemId ItemIdItemId 소스 엔드포인트의 식별자(ItemId)Identifier of the source endpoint (ItemId) RelationshipIdRelationshipId RelationshipId(GUID)RelationshipId (GUID) 관계 인스턴스의 IDID of the relationship instance _RelTypeId_RelTypeId RelationshipTypeIdRelationshipTypeId 관계의 RelTypeId는 메타데이터 카탈로그를 사용하여 관계 인스턴스의 타입을 식별한다.The RelTypeId of the relationship identifies the type of the relationship instance using the metadata catalog. <global change tracking><global change tracking> ...... 글로벌 변경 추적 정보Global change tracking information TargetItemReferenceTargetItemReference ItemReferenceItemreference 타겟 엔드포인트의 식별자Identifier of the target endpoint _Relationship_Relationship RelationshipRelationship 이 인스턴스에 대한 관계 객체의 인스턴스An instance of the relationship object for this instance

(2) 관계 인스턴스 검색 뷰(2) relationship instance search view

각각의 선언된 관계는 또한 특정 관계의 모든 인스턴스를 리턴하는 검색 뷰를 갖는다. 마스터 관계 뷰와 유사하지만, 이 뷰는 관계 데이터의 각 속성에 대해 명명된 열을 또한 제공한다. 각각의 관계 인스턴스 검색 뷰는 명칭 [schemaName].[Relationship!relationshipName]을 사용하여 데이터 저장소에서 식별된다. 예를 들면, [AcmeCorp.Doc].[Relationship!DocumentAuthor].Each declared relationship also has a search view that returns all instances of that particular relationship. Similar to the master relationship view, this view also provides named columns for each attribute of the relationship data. Each relationship instance search view is identified in the data store using the name [schemaName]. [Relationship! RelationshipName]. For example, [AcmeCorp.Doc]. [Relationship! DocumentAuthor].

Heat 타입 type 설명Explanation ItemIdItemId ItemIdItemId 소스 엔드포인트의 식별자(ItemId)Identifier of the source endpoint (ItemId) RelationshipIdRelationshipId RelationshipId(GUID)RelationshipId (GUID) 관계 인스턴스의 IDID of the relationship instance <type change tracking><type change tracking> ...... 타입 변경 추적 정보Type change tracking information TargetItemReferenceTargetItemReference ItemReferenceItemreference 타겟 엔드포인트의 식별자Identifier of the target endpoint <source name><source name> ItemIdItemId 소스 엔드포인트 식별자의 명명된 속성(ItemId의 별명)Named attribute of the source endpoint identifier (alias for ItemId) <target name><target name> ItemReference 또는 도출된 클래스ItemReference or derived class 타겟 엔드포인트 식별자의 명명된 속성(TargetItemReference에 대한 별명 및 캐스트)Named attribute of the target endpoint identifier (alias and cast to TargetItemReference) <rel property><rel property> <property specific><property specific> 관계 정의의 속성당 하나의 열One column per attribute in the relationship definition _Relationship_Relationship 관계 인스턴스의 CLR 타입CLR type of the relation instance CLR 객체-선언 관계의 타입Types of CLR Object-Declaration Relationships

9. 갱신9. Renewal

저장 플랫폼 데이터 저장소 내의 모든 뷰는 판독 전용이다. 데이터 모델 요소(항목, 확장 또는 관계)의 새로운 인스턴스를 생성하기 위하여, 또는 기존 인스턴스를 갱신하기 위하여, 저장 플랫폼 API의 ProcessOperation 또는 ProcessUpdategram 메소드가 사용되어야 한다. ProcessOperation 메소드는 수행될 액션을 상술하는 "동작"을 소비하는 데이터 저장소에 의해 정의된 단일 저장 절차이다. ProcessUpdategram 메소드는 수행될 한 세트의 액션을 집합적으로 상술하는 "updategram"으로 알려진 순서화된 동작 세트를 취하는 저장된 절차이다. All views within the storage platform data store are read only. To create a new instance of a data model element (item, extension, or relationship), or update an existing instance, the ProcessOperation or ProcessUpdategram methods of the storage platform API must be used. The ProcessOperation method is a single stored procedure defined by the data store that consumes an "action" that specifies the action to be performed. The ProcessUpdategram method is a stored procedure that takes an ordered set of actions known as an "updategram" that collectively specifies a set of actions to be performed.

동작 포맷은 확장 가능하며, 스키마 요소에 대한 다양한 동작을 제공한다. 소정의 일반 동작들은 다음을 포함한다.The operation format is extensible and provides various operations on schema elements. Certain general operations include the following.

1. 항목 동작1. Item Action

a. CreateItem(삽입 또는 유지 관계와 관련된 새로운 항목 생성)a. CreateItem (create a new item related to an insert or maintenance relationship)

b. UpdateItem(기존 항목 갱신)b. UpdateItem (Update Existing Item)

2. 관계 동작2. Relationship Behavior

a. CreateRelationship(참조 또는 유지 관계의 인스턴스 생성)a. CreateRelationship (create an instance of a reference or maintenance relationship)

b. UpdateRelationship(관계 인스턴스 갱신)b. UpdateRelationship (Update Relationship Instance)

c. DeleteRelationship(관계 인스턴스 제거)c. DeleteRelationship (remove relationship instance)

3. 확장 동작3. Extended operation

a. CreateExtension(기존 항목에 확장 추가)a. CreateExtension (add extension to existing item)

b. UpdateExtension(기존 확장 갱신)b. UpdateExtension (Update Existing Extension)

c. DeleteExtension(확장 삭제)c. DeleteExtension

10. 변경 추적 및 묘비10. Change tracking and tombstone

변경 추적 및 묘비 서비스는 후술하는 바와 같이 데이터 저장소에 의해 제공된다. 이 섹션은 데이터 저장소에 노출되는 변경 추적 정보의 개요를 제공한다.Change tracking and tombstone services are provided by the data store as described below. This section provides an overview of the change tracking information exposed to the data store.

a) 변경 추적a) change tracking

데이터 저장소에 의해 제공되는 각 검색 뷰는 변경 추적 정보를 제공하는 데 사용되는 열들을 포함하며, 이 열들은 모든 항목, 확장 및 관계 뷰에 걸쳐 공통이다. 스키마 설계자에 의해 명시적으로 정의되는 저장 플랫폼 스키마 뷰는 변경 추적 정보를 자동으로 제공하지 않으며, 이러한 정보는 뷰 자체가 구축되는 검색 뷰를 통해 간접적으로 제공된다.Each search view provided by the data store contains columns used to provide change tracking information, which are common across all item, extension, and relationship views. Storage platform schema views explicitly defined by the schema designer do not automatically provide change tracking information, which is indirectly provided through the search view in which the view itself is built.

데이터 저장소 내의 각각의 요소에 대해, 변경 추적 정보는 2개의 장소, 즉 마스터 요소 뷰 및 타입화된 요소 뷰로부터 사용할 수 있다. 예를 들어, AcmeCorp.Document.Document 항목 타입에 대한 변경 추적 정보는 마스터 항목 뷰 "[System.Storage].[Master!Item]" 및 타입화된 검색 뷰 [AcmeCorp.Document].[Document]로부터 사용 가능하다.For each element in the data store, change tracking information is available from two places, the master element view and the typed element view. For example, change tracking information for the AcmeCorp.Document.Document item type is used from the master item view "[System.Storage]. [Master! Item]" and the typed search view [AcmeCorp.Document]. [Document]. It is possible.

(1) 마스터 검색 뷰에서의 변경 추적(1) Change tracking in master search view

마스터 검색 뷰 내의 변경 추적 정보는 요소의 생성 및 갱신 버젼에 대한 정보, 동기 파트너가 생성하고 최종 갱신한 요소의 대상인 정보, 및 생성 및 갱신을 위한 각 파트너로부터의 버젼 번호를 제공한다. 동기 관계(후술함) 내의 파트너들은 파트너 키에 의해 정의된다. 타입 [System.Storage.Store].ChangeTrackingInfo의 _ChangeTrackingInfo라는 명칭의 단일 UDT 객체가 이러한 모든 정보를 포함한다. 타입은 System.Storage 스키마에서 정의된다. _ChangeTrackingInfo는 항목, 확장 및 관계에 대한 모든 글로벌 검색 뷰에서 사용될 수 있다. ChangeTrackingInfo의 타입 정의는 다음과 같다.The change tracking information in the master search view provides information about the creation and update versions of the elements, information that is the target of the elements created and last updated by the sync partner, and version numbers from each partner for creation and update. Partners in a motivational relationship (described below) are defined by partner key. A single UDT object named _ChangeTrackingInfo of type [System.Storage.Store] .ChangeTrackingInfo contains all of this information. Types are defined in the System.Storage schema. _ChangeTrackingInfo can be used in all global search views for items, extensions, and relationships. The type definition of ChangeTrackingInfo is as follows.

Figure 112006012719774-pct00021
Figure 112006012719774-pct00021

이들 속성은 다음 정보를 포함한다.These attributes include the following information:

Heat 설명Explanation _CreationLocalTS_CreationLocalTS 로컬 기기에 의한 생성 타임 스탬프Creation time stamp by local device _CreatingPartnerKey_CreatingPartnerKey 이 엔티티를 생성한 파트너의 PartnerKey. 엔티티가 로컬 생성된 경우, 이것은 로컬 기기의 PartnerKey이다.PartnerKey of the partner that created this entity. If the entity was created locally, this is the PartnerKey of the local device. _CreatingPartnerTS_CreatingPartnerTS 이 엔티티가 _CreatingPartnerKey에 대응하는 파트너에서 생성된 시간의 타임 스탬프.Timestamp of the time this entity was created on the partner corresponding to _CreatingPartnerKey. _LastUpdateLocalTS_LastUpdateLocalTS 로컬 기기에서의 갱신 시간에 대응하는 로컬 타임 스탬프Local time stamp that corresponds to the update time on the local device _LastUpdatingPartnerKey_LastUpdatingPartnerKey 이 엔티티를 최종 갱신한 파트너의 PartnerKey. 엔티티에 대한 최종 갱신이 로컬 수행된 경우, 이것은 로컬 기기의 PartnerKey이다.PartnerKey of the partner that last updated this entity. If the last update to the entity was performed locally, this is the PartnerKey of the local device. _LastUpdatingPartnerTS_LastUpdatingPartnerTS 이 엔티티가 _LastUpdatingPartnerKey에 대응하는 파트너에서 갱신된 시간의 타임 스탬프Timestamp of when this entity was updated at the partner corresponding to _LastUpdatingPartnerKey

(2) 타입화된 검색 뷰에서의 변경 추적(2) change tracking in typed search views

각각의 타입화된 검색 뷰는 글로벌 검색 뷰와 동일한 정보를 제공하는 것 외에 동기 토폴로지에서 각각의 요소의 동기 상태를 기록하는 추가 정보를 제공한다.Each typed search view provides the same information as the global search view, as well as providing additional information to record the synchronization status of each element in the synchronous topology.

Heat 타입type 설명Explanation <global change tracking><global change tracking> ...... 글로벌 변경 추적으로부터의 정보Information from Global Change Tracking _ChangeUnitVersions_ChangeUnitVersions MultiSet<ChangeUnitVersion>MultiSet <ChangeUnitVersion> 특정 요소 내의 변경 단위의 버젼 번호에 대한 설명A description of the version number of the change unit in the particular element _ElementSyncMetadata_ElementSyncMetadata ElementSyncMetadataElementSyncMetadata 동기화 실행 시간에만 관련된 항목에 대한 추가적인 버젼 독립 메타데이터Additional version-independent metadata for items related only to the synchronization run time _VersionSyncMetadata_VersionSyncMetadata VersionSyncMetadataVersionSyncMetadata 동기화 실행 시간에만 관련된 버젼에 대한 추가 버젼 특정 메타데이터Additional version specific metadata for versions relevant only at runtime of synchronization

b) 묘비b) tombstone

데이터 저장소는 항목, 확장 및 관계에 대한 묘비 정보를 제공한다. 묘비 뷰는 한 곳에서 살아 있는 엔티티 및 묘비를 가진 엔티티(항목, 확장 및 관계) 양자에 대한 정보를 제공한다. 항목 및 확장 묘비 뷰는 대응 객체에 대한 액세스를 제공하지 않는 반면, 관계 묘비는 관계 객체에 대한 액세스를 제공한다(관계 객체는 묘비를 가진 관계의 경우 공백이다).The data store provides tombstone information about items, extensions, and relationships. Gravestone views provide information about both living entities and entities with tombstones (items, extensions, and relationships) in one place. Item and extended tombstone views do not provide access to corresponding objects, while relationship tombstones provide access to relationship objects (relational objects are blank for relationships with tombstones).

(1) 항목 묘비(1) item tombstone

항목 묘비는 뷰 [System.Storage].[Tombstone!Item]을 통해 시스템으로부터 리트리브된다.Item tombstones are retrieved from the system via the view [System.Storage]. [Tombstone! Item].

Heat 타입type 설명Explanation ItemIdItemId ItemIdItemId 항목의 식별자Identifier of the item _TypedID_TypedID TypedIDTypedID 항목의 타입The type of the item <Item properties><Item properties> ...... 모든 항목에 대해 정의된 속성Attribute defined for all items _RootItemId_RootItemId ItemIdItemId 이 항목을 포함하는 제1 비삽입 항목의 ItemIdItemId of the first non-inserted item containing this item _ChangeTrackingInfo_ChangeTrackingInfo 타입 ChangeTrackingInfo의 CLR 인스턴스CLR instance of type ChangeTrackingInfo 이 항목에 대한 변경 추적 정보Change tracking information for this item _IsDeleted_IsDeleted BITBIT 이것은 살아 있는 항목에 대해 0이고, 묘비를 가진 항목에 대해 1인 플래그이다.This is a flag of 0 for living items and 1 for items with gravestones. _DeletionWallclock_DeletionWallclock UTCDATETIMEUTCDATETIME 항목을 삭제한 파트너에 따르는 UTC 벽시계 날짜 시간. 이것은 항목이 살아 있는 경우 공백이다.UTC wall clock date time according to the partner who deleted the item. This is blank if the item is alive.

* (2) 확장 묘비* (2) tombstone

확장 묘비는 뷰 [System.Storage].[Tombstone!Extension]을 사용하여 시스템으로부터 리트리브된다. 확장 변경 추적 정보는 ExtensionId 속성이 추가된 항목에 대해 제공되는 것과 유사하다.Extension tombstones are retrieved from the system using the view [System.Storage]. [Tombstone! Extension]. Extension change tracking information is similar to that provided for items with the ExtensionId attribute added.

Heat 타입type 설명Explanation ItemIdItemId ItemIdItemId 확장을 소유하는 항목의 식별자Identifier of the item that owns the extension ExtensionIdExtensionId ExtensionIdExtensionId 확장의 확장 IDExtension ID of the extension _TypedID_TypedID TypedIDTypedID 확장의 타입Type of extension _ChangeTrackingInfo_ChangeTrackingInfo 타입 ChangeTrackingInfo의 CLR 인스턴스CLR instance of type ChangeTrackingInfo 이 확장에 대한 변경 추적 정보Change tracking information for this extension _IsDeleted_IsDeleted BITBIT 이것은 살아 있는 항목에 대해 0이고, 묘비를 가진 항목에 대해 1인 플래그이다.This is a flag of 0 for living items and 1 for items with gravestones. _DeletionWallclock_DeletionWallclock UTCDATETIMEUTCDATETIME 항목을 삭제한 파트너에 따르는 UTC 벽시계 날짜 시간. 이것은 확장이 살아 있는 경우 공백이다.UTC wall clock date time according to the partner who deleted the item. This is blank if the extension is alive.

* (3) 관계 묘비* (3) relationship tombstone

관계 묘비는 뷰 [System.Storage].[Tombstone!Relationship]을 통해 시스템으로부터 리트리브된다. 관계 묘비 정보는 확장에 대해 제공되는 것과 유사하다. 그러나, 관계 인스턴스의 타겟 ItemRef에 대한 추가 정보가 제공된다. 또한, 관계 객체도 선택된다.Relationship tombstones are retrieved from the system via the view [System.Storage]. [Tombstone! Relationship]. The relationship tombstone information is similar to that provided for the extension. However, additional information is provided about the target ItemRef of the relationship instance. The relationship object is also selected.

Heat 타입type 설명Explanation ItemIdItemId ItemIdItemId 관계를 소유하는 항목의 식별자(관계 소스 엔드포인트의 식별자)Identifier of the entity that owns the relationship (identifier of the relationship source endpoint) RelationshipIdRelationshipId RelationshipIdRelationshipId 관계의 RelationshipIdRelationshipId of the relationship _TypedID_TypedID TypedIDTypedID 관계의 타입Type of relationship _ChangeTrackingInfo_ChangeTrackingInfo 타입 ChangeTrackingInfo의 CLR 인스턴스CLR instance of type ChangeTrackingInfo 이 관계에 대한 변경 추적 정보Change tracking information for this relationship _IsDeleted_IsDeleted BITBIT 이것은 살아 있는 항목에 대해 0이고 묘비를 가진 항목에 대해 1인 플래그이다.This is a flag of 0 for living items and 1 for items with gravestones. _DeletionWallclock_DeletionWallclock UTCDATETIMEUTCDATETIME 관계를 삭제한 파트너에 따르는 UTC 벽시계 날짜 시간. 이것은 관계가 살아 있는 경우 공백이다.UTC wall clock date time according to the partner who deleted the relationship. This is blank if the relationship is alive. _Relationship_Relationship 관계의 CLR 인스턴스CLR instance of a relationship 이것은 살아 있는 관계에 대한 관계 객체이다. 이것은 묘비를 가진 관계에 대해 공백이다.This is a relationship object for a living relationship. This is blank for relationships with gravestones. TargetItemReferenceTargetItemReference ItemReferenceItemreference 타겟 엔드포인트의 식별자Identifier of the target endpoint

(4) 묘비 제거(4) tombstone removal

묘비 정보의 무제한 증가를 방지하기 위해, 데이터 저장소는 묘비 제거 작업을 제공한다. 이 작업는 묘비 정보가 언제 폐기될 수 있는지를 결정한다. 작업는 로컬 생성/갱신 버젼에 대한 경계를 계산한 후, 모든 초기 묘비 버젼을 폐기함으로써 묘비 정보를 단축시킨다. To prevent an unlimited increase in tombstone information, the data store provides tombstone removal. This task determines when tombstone information can be discarded. The task computes the boundary for the locally created / updated version and then shortens the tombstone information by discarding all initial tombstone versions.

11. 헬퍼 API 및 기능11. Helper APIs and Features

기본 매핑도 다수의 헬퍼 기능을 제공한다. 이들 기능은 데이터 모델을 통해 일반 동작들을 돕도록 제공된다. Basic mappings also provide a number of helper functions. These functions are provided to help with common operations through the data model.

a) 함수 [System.Storage].GetItema) function [System.Storage] .GetItem

Figure 112006012719774-pct00022
Figure 112006012719774-pct00022

b) 함수 [System.Storage].GetExtensionb) function [System.Storage] .GetExtension

Figure 112006012719774-pct00023
Figure 112006012719774-pct00023

Figure 112006012719774-pct00024
Figure 112006012719774-pct00024

c) 함수 [System.Storage].GetRelationshipc) function [System.Storage] .GetRelationship

Figure 112006012719774-pct00025
Figure 112006012719774-pct00025

12. 메타데이터12. Metadata

저장소에서 표현되는 2가지 타입의 메타데이터, 즉 인스턴스 메타데이터(항목의 타입 등) 및 타입 메타데이터가 존재한다.There are two types of metadata represented in the repository: instance metadata (type of item, etc.) and type metadata.

a) 스키마 메타데이터a) schema metadata

스키마 메타데이터는 메타 스키마로부터의 항목 타입의 인스턴스로서 데이터 저장소에 저장된다.Schema metadata is stored in the data store as instances of item types from the meta schema.

b) 인스턴스 메타데이터b) instance metadata

인스턴스 메타데이터는 항목의 타입에 대해 질의하기 위해 애플리케이션에 의해 사용되며, 항목과 관련된 확장을 찾는다. 항목에 대한 ItemId가 주어지면, 애플리케이션은 글로벌 항목 뷰에 질의하여 항목의 타입을 리턴하고 이 값을 사용하여 메타 타입 뷰에 질의하여 항목의 선언 타입에 대한 정보를 리턴할 수 있다. 다음은 그 예이다.Instance metadata is used by the application to query for the type of the item, looking for extensions associated with the item. Given an ItemId for an item, the application can query the global item view to return the item's type and use this value to query the metatype view to return information about the item's declaration type. Here is an example:

Figure 112006012719774-pct00026
Figure 112006012719774-pct00026

E. 보안E. Security

이 섹션은 일 실시예에 따른 본 발명의 저장 플랫폼에 대한 보안 모델을 설명한다.This section describes a security model for the storage platform of the present invention according to one embodiment.

1. 개요1. Overview

본 발명에 따르면, 저장 플랫폼의 보안 정책이 특정 및 시행되는 입상(granularity)이 주어진 데이터 저장소의 항목에 대한 다양한 동작들의 레벨에 있 으며, 전체로부터 항목의 부분들을 개별적으로 보안하기 위한 능력은 없다. 보안 모듈은 액세스 제어 리스트(ACL)를 통해 항목에 대해서 이러한 동작들을 수행하기 위한 액세스가 주어질 수 있는 또는 거절될 수 있는 주체의 세트를 특정한다. 각각의 ACL은 액세스 제어 엔트리(ACE)의 순서화된 집합이다.According to the present invention, the granularity in which the storage platform's security policy is specified and enforced is at the level of various operations for an item of a given data store, and there is no ability to individually secure parts of the item from the whole. The security module specifies a set of subjects that may be given or denied access to perform these operations on items via an access control list (ACL). Each ACL is an ordered set of access control entries (ACEs).

항목에 대한 보안 정책은 임의 액세스 제어 정책 및 시스템 액세스 제어 정책에 의해 완벽하게 설명될 수 있다. 이들 각각은 ACL의 세트이다. 제2 ACL 세트가 객체가 소정의 방식으로 조작될 때 감사하는 시스템이 동작하는 방법을 특정하는 SACL(시스템 액세스 제어 리스트)를 의미하는 반면, 제1 세트(DACL)는 항목의 소유자가 다양한 주체에 준 임의 액세스를 나타낸다. 이외에, 데이터 저장소 내의 각각의 항목은 항목의 소유자에 대응하는 SID(소유자 SID)에 관련된다.The security policy for an item can be fully described by the discretionary access control policy and system access control policy. Each of these is a set of ACLs. Whereas a second set of ACLs refers to a system access control list (SACL) that specifies how the auditing system behaves when an object is manipulated in some way, the first set (DACL) refers to the various entities Represents quasi-random access. In addition, each item in the data store is associated with an SID (owner SID) corresponding to the owner of the item.

저장 플랫폼 데이터 저장소 내에 항목들을 체계화하기 위한 주요 메커니즘은 포함 계층 구조의 그것이다. 포함 계층 구조는 항목들 간의 유지 관계를 사용하여 실현된다. "A는 B를 포함한다"와 같이 표현된 두 개의 항목 A와 B 간의 유지 관계는 항목 A가 항목 B의 수명에 영향을 줄 수 있게 한다. 일반적으로, 데이터 저장소 내의 항목은 다른 항목으로부터 그것으로의 유지 관계가 존재하기 전까지는 존재할 수 없다. 유지 관계는 항목의 수명을 제어하는 것 이외에 항목에 대한 보안 정책을 전파하기 위해 필요한 메커니즘을 제공한다.The primary mechanism for organizing items within the storage platform data store is that of the containment hierarchy. Inclusion hierarchies are realized using maintenance relationships between items. The maintenance relationship between two items A and B, expressed as "A includes B", allows item A to affect the life of item B. In general, an item in a data store cannot exist until there is a maintenance relationship from another item to it. In addition to controlling the life of an item, a maintenance relationship provides the mechanisms needed to propagate the security policy for the item.

각각의 항목에 대해 특정된 보안 정책은 그 항목에 대해 명시적으로 특정된 부분 및 데이터 저장소 내의 항목의 부모로부터 상속된 부분의 두 개의 부분으로 구성된다. 임의의 항목에 대해 명시적으로 정의된 보안 정책은 조건하에서 항목에 의 액세스를 관리하는 부분 및 포함 계층 구조 내의 그것의 모든 자손들에 상속된 보안 정책에 영향을 주는 부분의 두 개의 부분으로 구성된다. 자손에 상속된 보안 정책은 명시적으로 정의된 정책 및 상속된 정책의 기능이다.The security policy specified for each item consists of two parts, the part explicitly specified for that item and the part inherited from the item's parent in the data store. An explicitly defined security policy for an item consists of two parts: one that controls access to the item under conditions and one that affects the security policy inherited by all its descendants in the containment hierarchy. . The inherited security policy is a function of explicitly defined and inherited policies.

보안 정책은 유지 관계를 통해 전파되고 임의의 항목에서 무시될 수 있기 때문에, 항목에 대한 효율적인 보안 정책을 결정하는 방법을 특정할 필요가 있다. 본 실시예에서, 데이터 저장소 포함 계층 구조 내의 항목은 저장소의 루트에서부터 그 항목까지의 모든 경로를 따라 ACL을 상속한다.Since security policies can be propagated through maintenance relationships and can be ignored in any item, there is a need to specify how to determine an effective security policy for an item. In this embodiment, an item in the data store containing hierarchy inherits an ACL along all paths from the root of the store to that item.

임의의 주어진 경로에 대해서 상속된 ACL 내에서, ACL 내의 다양한 ACE들의 순서화는 시행되는 최종 보안 정책을 결정한다. 다음의 설명은 ACL 내의 ACE들의 순서화를 설명한다. 항목에 의해 상속되는 ACL 내의 ACE들의 순서화는 다음의 두 개의 규칙에 의해 결정된다 -Within an ACL inherited for any given path, the ordering of the various ACEs in the ACL determines the final security policy enforced. The following description describes the ordering of ACEs in an ACL. The ordering of the ACEs in the ACL inherited by the entry is determined by two rules:

제1 규칙은 포함 계층 구조의 루트로부터 항목 I로의 경로 내의 여러 항목들로부터 상속된 ACE를 계층화한다. 보다 근접한 컨테이너로부터 상속된 ACE는 멀리 있는 컨테이너로부터 상속된 엔트리보다 선행된다. 직관적으로, 이것은 관리자가 포함 계층 구조 내의 보다 멀리서부터 상속된 ACE를 무시하기 위한 능력을 허용한다. 이 규칙은 다음과 같다:The first rule stratifies ACEs inherited from various items in the path from the root of the containment hierarchy to item I. ACEs inherited from closer containers have precedence over entries inherited from distant containers. Intuitively, this allows the administrator the ability to ignore inherited ACEs from farther in the containment hierarchy. This rule is as follows:

Figure 112006012719774-pct00027
Figure 112006012719774-pct00027

제2 규칙은 항목에 액세스를 준 ACE 앞의 항목에 액세스를 거절한 ACE를 두도록 순서화한다.The second rule orders the ACEs that denied access to the items before the ACEs that gave them access.

Figure 112006012719774-pct00028
Figure 112006012719774-pct00028

트리인 포함 계층 구조의 경우에, 트리의 루트로부터 항목까지에는 오직 하나의 경로만이 존재하며, 항목은 오직 하나의 상속된 ACL를 갖는다. 이런 상황에서, 항목에 상속된 ACL은 ACL 내의 ACE들의 상대적인 순서화의 관점에서 기존 윈도우즈 보안 모델 내에서 파일(항목)에 상속된 ACL과 일치한다.In the case of a containment hierarchy that is a tree, there is only one path from the root of the tree to the item, and the item has only one inherited ACL. In this situation, the ACL inherited on an entry matches the ACL inherited on a file (entry) within the existing Windows security model in terms of the relative ordering of the ACEs within the ACL.

그러나, 데이터 저장소 내의 포함 계층 구조는 항목에 대한 다수의 유지 관계들이 허용되기 때문에 방향성 비순환 그래프(DAG)이다. 이 조건 하에서, 포함 계층 구조의 루트로부터 항목으로의 다수의 경로가 존재한다. 항목은 모든 경로를 따라 ACL을 상속받기 때문에, 각각의 항목은 단일 ACL과는 반대인 ACL의 집합에 연관된다. 이것은 파일 또는 폴더에 단지 하나의 ACL만이 연관되는 종래 파일 시스템 모델과 다르다는 것을 명심하자.However, the containment hierarchy in the data store is a directional acyclic graph (DAG) because multiple retention relationships for the item are allowed. Under this condition, there are a number of paths from the root of the containment hierarchy to the item. Because entries inherit ACLs along all paths, each entry is associated with a set of ACLs, as opposed to a single ACL. Note that this is different from the traditional file system model, where only one ACL is associated with a file or folder.

포함 계층 구조가 트리가 아니라 DAG일 때 정성들여 만들 필요가 있는 두 개의 양태가 있다. 항목이 자신의 부모로부터 둘 이상의 ACL을 상속받을 때 그 항목에 대한 효율적인 보안 정책이 어떻게 계산되는지에 대한 설명이 필요하며, 그들이 어떻게 체계화되고 표현되는지는 저장 플랫폼 데이터 저장소에 대한 보안 모델의 관리에 직접적으로 관련된다.There are two aspects that need to be elaborated when the containment hierarchy is a DAG rather than a tree. When an item inherits more than one ACL from its parent, an explanation is needed about how the effective security policy for that item is calculated, and how they are organized and expressed is directly related to the management of the security model for the storage platform data store. Is related.

다음의 알고리즘은 주어진 항목에 주어진 주체에 대한 액세스 권리를 평가한다. 이 문서를 통해, 다음은 항목에 연관된 ACL을 설명한다.The following algorithm evaluates the access rights for a given subject in a given item. Throughout this document, the following describes the ACLs associated with entries.

Inherited_ACLs(ItemId) - 항목 식별자가 ItemId인 항목이 저장소 내의 자신의 부모로부터 상속받은 ACL들의 세트.Inherited_ACLs (ItemId)-The set of ACLs whose item identifier ItemId is inherited from its parent in the repository.

Explicit_ACL(ItemId) - 식별자가 ItemId인 항목에 대해 명시적으로 정의된 ACL.Explicit_ACL (ItemId)-An explicitly defined ACL for an item whose identifier is ItemId.

Figure 112006012719774-pct00029
Figure 112006012719774-pct00029

상기 루틴은 원하는 액세스가 명시적으로 거절되지 않았으면, STATES_SUCCESS를 리턴하며, pGrantedAccess는 사용자가 원하는 어떤 권리가 특정된 ACL에 의해 주어졌는지를 결정한다. 원하는 액세스 중 어느 것이라도 명시적으로 거절되면, 루틴은 STATUS_ACCESS_DENIED를 리턴한다.The routine returns STATES_SUCCESS if the desired access has not been explicitly denied, and pGrantedAccess determines which rights the user desires have been given by the specified ACL. If any of the desired accesses are explicitly denied, the routine returns STATUS_ACCESS_DENIED.

Figure 112006012719774-pct00030
Figure 112006012719774-pct00030

임의의 항목에서 정의된 보안 정책의 영향 범위는 데이터 저장소 상에 정의된 포함 계층 구조 내의 항목의 모든 자손들을 커버한다. 명시적인 정책이 정의된 모든 항목들에 대해서, 사실 포함 계층 내의 모든 자손들에 상속된 정책이 정의되어 있다. 모든 자손들에게 상속된 유효한 ACL은 상속된 각각의 ACL을 취하고, ACL 의 개시시에 상속가능한 ACE을 명시적인 ACL 내에 추가함으로써 획득된다. 이는 항목에 연관된 상속가능한 ACL의 세트를 의미한다.The scope of impact of a security policy defined in any item covers all descendants of the item in the inclusion hierarchy defined on the data store. For all items for which an explicit policy has been defined, a policy inherited to all descendants in the containing hierarchy is in fact defined. A valid ACL inherited to all descendants is obtained by taking each inherited ACL and adding the inheritable ACE into the explicit ACL at the beginning of the ACL. This means a set of inheritable ACLs associated with the item.

폴더 항목에서 루트된 포함 계층 구조 내의 명시적인 보안 사양이 없으면, 폴더의 보안 사양이 포함 계층 구조 내의 그 항목의 모든 자손들에게 적용된다. 그러므로, 명시적인 보안 정책 사양이 제공된 모든 항목은 동일하게 보호된 항목들의 영역을 정의하고, 모든 항목에 대한 유효한 ACL은 그 항목에 대한 상속가능한 ACL 세트이다. 이는 트리인 포함 계층 구조의 경우에 영역을 완벽하게 정의할 것이다. 각각의 영역이 수와 연관되어 있으면, 단순히 항목과 함께, 그 항목이 속한 영역을 포함하는 것으로 충분할 것이다.If there is no explicit security specification in the containing hierarchy rooted at the folder item, then the security specification of the folder applies to all descendants of that item in the containing hierarchy. Therefore, every item provided with an explicit security policy specification defines an area of equally protected items, and the valid ACL for all items is the set of inheritable ACLs for that item. This will completely define the region in the case of a tree-included hierarchy. If each region is associated with a number, it would be sufficient to simply include the region to which it belongs, along with the item.

그러나, DAG인 포함 계층 구조에 대해서, 효과적인 보안 정책이 변경되는 포함 계층 구조 내의 포인트는 두 가지 종류의 항목에 의해 결정된다. 첫 번째는 명시적인 ACL이 특정된 항목이다. 전형적으로, 이것들은 관리자가 명시적으로 ACL을 특정한 포함 계층 구조 내의 포인트이다. 두 번째는 두 개 이상의 부모를 갖는 항목이며, 이 부모는 그들에 연관된 상이한 보안 정책을 갖는다. 전형적으로, 이들은 볼륨에 대해 특정된 보안 정책의 합류점이며, 새로운 보안 정책의 시작을 나타내는 항목이다.However, for a containment hierarchy that is a DAG, the point in the containment hierarchy where the effective security policy changes is determined by two kinds of items. The first is an explicit ACL specified entry. Typically, these are points within an inclusion hierarchy where the administrator explicitly specifies ACLs. The second is an item with two or more parents, which have different security policies associated with them. Typically, they are the confluence of security policies specific to the volume, and are the items that mark the beginning of a new security policy.

이 정의에 의해, 데이터 저장소 내의 모든 항목들은 동일하게 보호되는 보안 영역의 루트인 것들과 그렇지 않은 것들의 두 개의 카테고리 중 하나에 속한다. 보안 영역을 정의하지 않은 항목도 분명히 하나의 보안 영역에 속한다. 트리의 경우에서와 같이, 항목에 대한 효과적인 보안은 항목과 함께 항목이 속해 있는 영역 을 특정함으로써 특정될 수 있다. 이는, 저장소 내에서 동일하게 보호되는 다양한 영역에 기초하여 저장 플랫폼 데이터 저장소의 보안을 관리하기 위한 간단한 모델을 이끌어낸다.By this definition, all items in the data store fall into one of two categories: those that are the root of the same secured area and those that are not. Items that do not define a security zone obviously belong to one security zone. As in the case of a tree, effective security for an item can be specified by specifying the area to which the item belongs along with the item. This leads to a simple model for managing the security of the storage platform data store based on the various areas that are equally protected within the store.

2. 보안 모델의 상세 설명2. Detailed description of the security model

이 섹션은 포함된 ACL 및 보안 기술자 내의 개별적인 권리가 다양한 동작에 어떻게 영향을 주는지를 설명함으로써 항목이 어떻게 보안되는지에 대한 상세를 제공한다.This section provides details on how items are secured by explaining how the individual rights within the included ACLs and security descriptors affect various behaviors.

a) 보안 기술자 구조a) security engineer structure

보안 모델의 상세를 설명하기 전에, 보안 기술자에 대한 기초 설명이 유용하다. 보안 기술자는 보안가능한 객체에 연관된 보안 정보를 포함한다. 보안 기술자는 SECURITY_DESCRIPTOR 구조 및 그에 연관된 보안 정보로 구성된다. 보안 기술자는 다음의 보안 정보를 포함할 수 있다:Before describing the details of the security model, a basic description of the security descriptor is useful. The security descriptor includes security information associated with the securable object. The security descriptor consists of the SECURITY_DESCRIPTOR structure and its associated security information. The security descriptor may include the following security information:

1. 객체의 소유자 및 주요 그룹에 대한 SID.1. The SID of the owner and major group of objects.

2. 특정한 사용자 또는 그룹에 허용된 또는 거절된 액세스 권리를 특정 DACL.2. A specific DACL that grants or denies access to specific users or groups.

3. 객체에 대한 감사 레코드를 생성하려고 시도하는 액세스의 타입을 특정하는 SACL.3. A SACL that specifies the type of access attempting to create an audit record for the object.

4. 보안 기술자 또는 그것의 개별적인 멤버들에 의미를 부여하는 제어 비트 의 세트.4. A set of control bits that give meaning to a security descriptor or its individual members.

가급적, 애플리케이션은 보안 기술자의 콘텐츠를 직접적으로 조작할 수 없다. 객체의 보안 기술자 내의 보안 정보를 설정하고 리트리브하기 위한 기능이 존재한다. 이외에, 새로운 객체에 대한 보안 기술자를 생성하고 초기화하기 위한 기능도 존재한다.Preferably, the application cannot directly manipulate the security technician's content. There is a facility for setting and retrieving security information in the security descriptor of an object. In addition, there is the ability to create and initialize security descriptors for new objects.

임의 액세스 제어 리스트(DACL)는 보안가능한 객체들에의 액세스가 허용된 또는 거절된 트러스티(trustee)를 식별한다. 프로세스가 보안가능한 객체에 액세스하려고 시도할 때, 시스템은 객체 DACL 내의 ACE를 체크하여 그것에 액세스를 줄지를 판정한다. 객체가 DACL을 갖지 않으면, 시스템은 모두에게 전체 액세스를 준다. 객체의 DACL이 ACE를 하나도 갖지 않으면, DACL이 어떤 액세스 권리도 허용하지 않는 것이기 때문에 시스템은 객체에 액세스하기 위한 모든 시도를 거절한다. 시스템은 요청된 액세스 권리들 모두를 허용하는 하나 이상의 ACE를 찾아 내거나 요청된 액세스 권리 중 임의의 것이 거절될 때까지 일련의 ACE를 체크한다.The discretionary access control list (DACL) identifies a trustee that is allowed or denied access to the securable objects. When a process attempts to access a securable object, the system checks the ACE in the object DACL to determine whether to give it access. If the object does not have a DACL, the system gives everyone full access. If the DACL of an object does not have any ACEs, the system rejects all attempts to access the object because the DACL does not grant any access rights. The system finds one or more ACEs that allow all of the requested access rights or checks the series of ACEs until any of the requested access rights are denied.

시스템 액세스 제어 리스트(SACL)는 로그 시도들에 대한 관리자가 보안되는 객체에 액세스할 수 있게 한다. 각각의 ACE는 시스템이 보안 이벤트 로그 내에 레코드를 생성하게 하는 특정 트러스티를 사용하여 액세스 시도의 타입을 특정한다. SACL 내의 ACE는 액세스 시도가 실패했을 때, 성공했을 때, 또는 둘 다의 경우에 감사 레코드를 생성할 수 있다. SACL은 또한 인증되지 않은 사용자가 객체에의 액세스를 획득하려고 시도할 때 경보를 울릴 수 있다.System access control lists (SACLs) allow administrators to log attempts to access secured objects. Each ACE specifies the type of access attempt using a specific trustee that allows the system to create a record in the security event log. An ACE in a SACL may generate an audit record when an access attempt fails, when it succeeds, or both. The SACL can also sound an alert when an unauthorized user attempts to gain access to an object.

모든 ACE 타입은 다음의 액세스 제어 정보를 포함한다:All ACE types contain the following access control information:

1. ACE가 적용되는 트러스티를 식별하는 보안 식별자(SID)1. Security identifier (SID) that identifies the trustee to which the ACE applies.

2. ACE가 제어하는 액세스 권리를 특정하는 액세스 마스크2. an access mask specifying the access rights controlled by the ACE

3. ACE의 타입을 나타내는 플래그3. Flag indicating the type of ACE

4. 자식 컨테이너 또는 객체가 ACL이 첨부된 주요 객체로부터 ACE를 상속받을 수 있는지를 판정하는 비트 플래그 세트4. A set of bit flags that determine whether the child container or object can inherit the ACE from the main object to which the ACL is attached.

다음의 테이블은 모든 보안가능한 객체들에 의해 지원되는 세 개의 ACE 타입을 리스트한다.The following table lists the three ACE types supported by all securable objects.

타입type 설명Explanation 액세스-거절된 ACEAccess-denied ACE DACL 내에서 트러스티에 액세스 권리를 거절하기 위해 사용됨.Used to deny access to trustees within the DACL. 액세스-허용된 ACEAccess-permitted ACE ACL 내에서 트러스티에 액세스 권리를 허용하기 위해 사용됨.Used to grant access to trustees within an ACL. 시스템-감시 ACESystem-monitoring ACE SACL 내에서 트러스티가 특정된 액세스 권리를 행사하려고 시도할 때 감사 레코드를 생성하기 위해 사용됨.Used to generate audit records when trustees attempt to exercise specified access rights within the SACL.

(1) 액세스 마스크 포맷(1) access mask format

모든 보안 가능한 객체는 도 26에 도시된 액세스 마스크 포맷을 사용하여 그들의 액세스 권리를 배열한다. 이 포맷에서, 낮은 순위의 16개의 비트는 객체 특정 액세스 권리에 대한 것이고, 다음 7개의 비트는 대부분의 객체 타입에 적용되는 표준 액세스 권리에 대한 것이며, 높은 순위의 4개의 비트는 각각의 객체 타입이 표준 및 객체 특정 권리의 세트로 매핑될 수 있는 일반 액세스 권리를 특정하는 데 사용된다. ACCESS_SYSTEM_SECURITY 비트는 객체의 SACL에 액세스하기 위한 권리에 대응한다. All securable objects arrange their access rights using the access mask format shown in FIG. In this format, the 16 low-order bits are for object-specific access rights, the next 7 bits are for standard access rights that apply to most object types, and the 4 high-order bits are for each object type. Used to specify general access rights that can be mapped to a set of standard and object specific rights. The ACCESS_SYSTEM_SECURITY bit corresponds to the right to access the SACL of the object.

(2) 일반 액세스 권리(2) general access rights

일반 권리는 마스크 내의 4개의 높은 순위의 비트 내에 특정된다. 각 타입의 보안가능한 객체는 이러한 비트들을 표준 및 객체 특정 액세스 권리의 세트에 매핑한다. 예를 들어, 파일 객체는 GENERIC_READ 비트를 READ_CONTROL 및 SYNCRONIZE 표준 액세스 권리, 그리고 FILE_READ_DATA, FILE_READ_EA, 및 FILE_READ_ATTRIBUTES 객체 특정 액세스 권리에 매핑한다. 다른 타입의 객체는 GENERIC_READ 비트를 그 타입의 객체에 적절한 아무 액세스 권리 세트에나 매핑한다.General rights are specified within four high rank bits in the mask. Each type of secureable object maps these bits to a set of standard and object specific access rights. For example, the file object maps the GENERIC_READ bit to the READ_CONTROL and SYNCRONIZE standard access rights, and the FILE_READ_DATA, FILE_READ_EA, and FILE_READ_ATTRIBUTES object specific access rights. Objects of other types map the GENERIC_READ bit to any set of permissions appropriate to that type of object.

일반 액세스 권리는 객체에 대한 처리를 열 때 필요한 액세스의 타입을 특정하는 데 사용될 수 있다. 이는 전형적으로 대응하는 표준 및 특정 권리 모두를 특정하는 것보다 간단하다. 다음 테이블은 일반 액세스 권리에 대해 정의된 상수(constant)를 나타낸다.General access rights can be used to specify the type of access required when opening a process for an object. This is typically simpler than specifying both the corresponding standard and the specific rights. The following table shows the constants defined for general access rights.

상수a constant 일반 의미General meaning GENERIC_ALLGENERIC_ALL 판독, 기록, 및 실행 액세스Read, write, and execute access GENERIC_EXECUTEGENERIC_EXECUTE 실행 액세스Running access GENERIC_READGENERIC_READ 판독 액세스Read access GENERIC_WRITEGENERIC_WRITE 기록 액세스Record access

(3) 표준 액세스 권리(3) standard access rights

각 타입의 보안가능한 객체는 그 타입의 객체에 특정한 동작에 대응하는 액세스 권리 세트를 갖는다. 이들 객체 특정 액세스 권리 이외에, 대부분의 타입의 보안가능한 객체에 공통적인 동작에 대응하는 표준 액세스 권리의 세트가 존재한다. 다음의 테이블은 표준 액세스 권리에 대해 정의된 상수를 나타낸다.Each type of securable object has a set of access rights that correspond to actions specific to that type of object. In addition to these object specific permissions, there is a set of standard permissions that correspond to actions common to most types of securable objects. The following table shows the constants defined for standard access rights.

상수a constant 의미meaning DELETEDELETE 객체를 삭제하기 위한 권리Right to Delete Object READ_CONTROLREAD_CONTROL SACL 내의 정보를 제외한 객체 보안 식별자 내의 정보를 판독하기 위한 권리Right to Read Information in Object Security Identifier Except for Information in SACL SYNCHRONIZESYNCHRONIZE 객체를 동기화하기 위한 권리. 이는 스레드가, 객체가 시그널링된 상태일 때까지 대기할 수 있게 함. 몇몇 객체 타입은 이 액세스 권리를 지원하지 않음.Right to synchronize objects. This allows a thread to wait for an object to be signaled. Some object types do not support this permission. WRITE_DACWRITE_DAC 객체 보안 기술자 내의 DACL을 수정하기 위한 권리Right to Modify DACLs in Object Security Descriptors WRITE_OWERWRITE_OWER 객체 보안 기술자 내의 소유자를 변경하기 위한 권리Right to Change Owner in Object Security Descriptor

b) 항목 특정 권리b) item-specific rights;

도 26의 액세스 마스크 구조에서, 항목 특정 권리는 객체 특정 권리 섹션(낮은 순위의 16 비트)에 배치된다. 본 실시예에서 저장 플랫폼은 보안 관리를 위해 2 세트의 API, 즉 Win32 및 저장 플랫폼 API를 노출시키므로, 파일 시스템 객체 특정 권리는 저장 플랫폼 객체 특정 권리의 설계를 자극하도록 고려되어야 한다.In the access mask structure of FIG. 26, the item specific rights are placed in the object specific rights section (16 bits of low rank). Since the storage platform in this embodiment exposes two sets of APIs for security management, Win32 and the storage platform API, file system object specific rights should be considered to stimulate the design of storage platform object specific rights.

(1) 파일 및 디렉토리 객체 특정 권리(1) file and directory object specific rights

다음의 테이블을 고려하자:Consider the following table:

디렉토리Directory 디렉토리 설명Directory description 파일file 파일 설명File description value FILE_LIST_DIRECTORYFILE_LIST_DIRECTORY 디렉토리의 콘텐츠를 리스트하기 위한 권리Right to list the contents of the directory FILE_READ_DATAFILE_READ_DATA 대응하는 파일 데이터를 판독하기 위한 권리The right to read the corresponding file data 0x00010x0001 FILE_ADD_FILEXFILE_ADD_FILEX 디렉토리에 파일을 생성하기 위한 권리Right to create a file in a directory FILE_WRITE_DATAFILE_WRITE_DATA 파일에 데이터를 기록하기 위한 권리Right to Write Data to File 0x00020x0002 FILE_ADD_SUBDIRECTORYFILE_ADD_SUBDIRECTORY 서브디렉토리를 생성하기 위한 권리Right to Create Subdirectory FILE_APPEND_DATAFILE_APPEND_DATA 파일에 데이터를 첨부하기 위한 권리Right to Attach Data to File 0x00040x0004 FILE_READ_EAFILE_READ_EA 확장된 파일 속성을 판독하기 위한 권리Right to Read Extended File Attributes FILE_READ_EAFILE_READ_EA 확장된 파일 속성을 판독하기 위한 권리Right to Read Extended File Attributes 0x00080x0008 FILE_WRITE_EAFILE_WRITE_EA 확장된 파일 속성을 기록하기 위한 권리Right to Record Extended File Attributes FILE_WRITE_EAFILE_WRITE_EA 확장된 파일 속성을 기록하기 위한 권리Right to Record Extended File Attributes 0x00100x0010 FILE_TRAVERSEFILE_TRAVERSE 디렉토리를 트래버싱(traversing)하기 위한 권리Right to Traversing Directories FILE_EXECUTEFILE_EXECUTE 원시 코드 파일에 대해서, 파일을 실행하기 위한 권리For source code files, the right to run the file 0x00200x0020 FILE_DELETE_CHILDFILE_DELETE_CHILD 디렉토리 및 그것이 포함한 모든 파일을 삭제하기 위한 권리Right to delete directory and all files it contains 없음none 없음none 0x00400x0040 FILE_READ_ATTRIBUTESFILE_READ_ATTRIBUTES 디렉토리 속성을 판독하기 위한 권리Right to read directory attributes FILE_READ_ATTRIBUTESFILE_READ_ATTRIBUTES 파일 속성을 판독하기 위한 권리Right to read file attributes 0x00800x0080 FILE_WRITE_ATTRIBUTESFILE_WRITE_ATTRIBUTES 디렉토리 속성을 기록하기 위한 권리Right to Record Directory Attributes FILE_WRITE_ATTRIBUTESFILE_WRITE_ATTRIBUTES 파일 속성을 기록하기 위한 권리Right to Record File Attributes 0x01000x0100

상기 테이블을 참조하여, 파일 시스템이 파일과 디렉토리 사이의 근본적인 구별을 만든다는 것(왜 파일 권리와 디렉토리 권리가 동일한 비트에 오버랩되는 지)을 명심하자. 파일 시스템은 애플리케이션이 이러한 객체들에 대한 거동을 제어하도록 허용하는 매우 입상적인 권리를 정의한다. 예를 들어, 그들은 애플리케이션이 파일에 연관된 속성(FILE_READ/WRITE_ATTRIBUTES), 확장된 속성, 및 DATA 스트림을 구별하는 것을 허용한다.With reference to the table above, keep in mind that the file system makes a fundamental distinction between files and directories (why file rights and directory rights overlap on the same bit). The file system defines a very granular right that allows an application to control the behavior of these objects. For example, they allow an application to distinguish between attributes associated with a file (FILE_READ / WRITE_ATTRIBUTES), extended attributes, and DATA streams.

예를 들어, 본 발명의 저장 플랫폼의 보안 모델의 목적은 권리 할당 모델을 단순화시켜, 데이터 저장소 항목(연락처, 이메일 등)에 대해서 동작하는 애플리케 이션이 일반적으로, 속성, 확장된 속성, 및 데이터 스트림을 구별할 필요 없게 하는 것이다. 그러나, 파일 및 폴더에 대해서, 입상적인 Win32 권리를 보호하고, 저장 플랫폼을 통한 액세스의 시맨틱이 정의됨으로써, Win32 애플리케이션과의 호환성 제공될 수 있다. 이 매핑은 다음에 특정된 각각의 항목 권리에 의해 설명된다.For example, the purpose of the security model of the storage platform of the present invention is to simplify the rights assignment model so that applications that operate on data store items (contacts, email, etc.) generally have attributes, extended attributes, and data streams. There is no need to distinguish. However, for files and folders, by protecting the granular Win32 rights and defining the semantics of access through the storage platform, compatibility with Win32 applications can be provided. This mapping is explained by the respective item rights specified below.

다음의 항목 권리는 연관된 허용가능한 동작에 의해 특정된다. 이러한 항목 권리들 각각을 지원하는 등가의 Win32 권리도 또한 제공된다.The following item rights are specified by the associated allowable actions. Equivalent Win32 rights are also provided to support each of these item rights.

(2) WinFSItemRead(2) WinFSItemRead

이 권리는 삽입된 관계를 통해 항목에 링크된 항목들을 포함하는 항목의 모든 요소들에의 판독 액세스를 허용한다. 이것은 또한 유지 관계를 통해 이 항목에 링크된 항목들의 열거(또한 디렉토리 리스팅으로도 알려짐)를 허용한다. 이것은 참조 관계를 통해 링크된 항목의 명칭을 포함한다. 이 권리는 다음에 매핑된다:This right allows read access to all elements of the item, including items linked to the item via an inserted relationship. It also allows enumeration (also known as directory listing) of items linked to this item through a maintenance relationship. This includes the name of the item linked through the reference relationship. This right is mapped to:

파일:file:

(FILE_READ_DATA|SYNCHRONIZE)(FILE_READ_DATA | SYNCHRONIZE)

폴더:folder:

(FILE_LIST_DIRECTORY|SYNCHRONIZE)(FILE_LIST_DIRECTORY | SYNCHRONIZE)

시맨틱은 보안 애플리케이션이 WinFSItemReadData를 설정하고 상기 특정된 파일 권리의 조합으로 권리 마스크를 특정할 수 있다는 것이다.Semantic is that a security application can set WinFSItemReadData and specify a rights mask with a combination of the specified file rights.

(3) WinFSItemReadAttributes(3) WinFSItemReadAttributes

이 권리는 파일 시스템이 기초 파일 속성과 데이터 스트림 사이를 구별하는 것과 같이 항목의 기초 속성에의 판독 액세스를 허용한다. 가급적, 이러한 기초 속성은 모든 항목들이 도출되는 기초 항목 내에 상주하는 것들이다. 이 권리는 다음에 매핑된다:This right allows read access to the element's elementary attributes as the file system distinguishes between elementary file attributes and data streams. Preferably, these elementary attributes reside in the elementary item from which all items are derived. This right is mapped to:

파일:file:

(FILE_READ_ATTRIBUTE)(FILE_READ_ATTRIBUTE)

폴더:folder:

(FILE_READ_ATTRIBUTE)(FILE_READ_ATTRIBUTE)

(4) WinFSItemWriteAttributes(4) WinFSItemWriteAttributes

이 권리는 파일 시스템이 기초 파일 속성과 데이터 스트림 사이를 구별하는 것과 같이 항목의 기초 속성에의 기록 액세스를 허용한다. 가급적, 이러한 기초 속성은 모든 항목들이 도출되는 기초 항목 내에 상주한다. 이 권리는 다음에 매핑된다:This right allows write access to the element's elementary attributes as the file system distinguishes between elementary file attributes and data streams. Preferably, this base attribute resides in the base item from which all items are derived. This right is mapped to:

파일:file:

(FILE_WRITE_ATTRIBUTES)(FILE_WRITE_ATTRIBUTES)

폴더:folder:

(FILE_WRITE_ATTRIBUTES)(FILE_WRITE_ATTRIBUTES)

(5) WinFSItemWrite(5) WinFSItemWrite

이 권리는 삽입 관계를 통해 링크된 항목들을 포함하는 항목의 모든 요소에 기록을 하기 위한 능력을 허용한다. 이 권리는 또한 다른 항목들에 삽입 관계를 추가 또는 삭제하기 위한 능력을 허용한다. 이 권리는 다음에 매핑된다:This right allows the ability to write to all elements of an item, including items linked through an insert relationship. This right also allows the ability to add or delete insert relationships in other items. This right is mapped to:

파일:file:

(FILE_WRITE_DATA)(FILE_WRITE_DATA)

폴더:folder:

(FILE_ADD_FILE)(FILE_ADD_FILE)

저장 플랫폼 데이터 저장소에서, 항목과 폴더 간에는 차이가 없는데, 이는 항목도 또한 데이터 저장소 내의 다른 항목들과의 유지 관계를 가질 수 있기 때문이다. 이에 따라, FILE_ADD_SUBDIRECTORY(또는 FILE_APPEND_DATA) 권리를 가지면, 다른 항목들과의 관계의 소스인 항목을 가질 수 있다.In a storage platform data store, there is no difference between an item and a folder because an item may also have a maintenance relationship with other items in the data store. Accordingly, with the right of FILE_ADD_SUBDIRECTORY (or FILE_APPEND_DATA), it is possible to have an item which is the source of a relationship with other items.

(6) WinFSItemAddLink(6) WinFSItemAddLink

이 권리는 저장소 내의 항목에 유지 관계를 추가하기 위한 권리를 허용한다. 다수의 유지 관계에 대한 보안 모델이 항목에 대한 보안을 변경하며, 이 변경이 계층 구조 내의 보다 높은 포인트로부터 온 것이면, WRITE_DAC를 우회할 수 있기 때문에, 그것과의 관계를 생성할 수 있기 위해 목적지 항목에 대한 WRITE_DAC가 요청된다. 이 권리는 다음에 매핑된다:This right allows the right to add maintenance relationships to items in the repository. The security model for many maintenance relationships changes the security for an item, and if this change comes from a higher point in the hierarchy, it can bypass the WRITE_DAC, so that the destination item can be created in order to create a relationship with it. WRITE_DAC is requested for. This right is mapped to:

파일:file:

(FILE_APPEND_DATA)(FILE_APPEND_DATA)

폴더:folder:

(FILE_ADD_SUBDIRECTORY)(FILE_ADD_SUBDIRECTORY)

(7) WinFSItemDeleteLink(7) WinFSItemDeleteLink

이 권리는 항목을 삭제하기 위한 권리가 주체에 주어지지 않았더라도, 항목의 유지를 삭제하기 위한 능력을 허용한다. 이것은 파일 시스템 모델에 일관적이며, 정화를 돕는다. 이 권리는 다음에 매핑된다:This right allows the ability to delete the maintenance of an item even if the subject is not given the right to delete the item. This is consistent with the file system model and helps with cleanup. This right is mapped to:

파일:file:

(FILE_DELETE_CHILD) - 파일 시스템은 이 권리에 대한 파일 등가물을 갖지 않지만, 우리는 다른 것과의 유지 관계를 갖는 항목에 대한 개념을 가지며, 이에 따라 비 폴더에 대해서도 이 권리가 전달된다는 것을 명심하자.(FILE_DELETE_CHILD)-The file system does not have file equivalents for this right, but we have the concept of an item that has a maintenance relationship with others, so keep in mind that this right is also passed to non-folders.

폴더:folder:

(FILE_DELETE_CHILD)(FILE_DELETE_CHILD)

(8) 항목을 삭제하기 위한 권리(8) Right to Delete Items

항목에의 마지막 보유 관계가 사라지면, 항목은 삭제된다. 항목을 삭제하는 것에 대한 명시적인 개념은 없다. 항목과의 모든 유지 관계를 삭제하는 정화 동작은 있지만, 그것은 고레벨 기능이며, 시스템 기본은 아니다.If the last retention relationship to the item disappears, the item is deleted. There is no explicit concept of deleting an item. There is a purge action that deletes all maintenance relationships with items, but it is a high level feature and is not a system default.

경로를 사용하여 특정된 임의의 항목은 (1) 경로에 따른 부모 항목이 주체에의 기록 액세스를 주지 않거나 (2) 항목에 대한 표준 권리가 DELETE를 주는 두 개의 조건 중 하나를 만족하면, 링크가 해제될 수 있다. 마지막 관계가 제거되면, 항목은 시스템으로부터 사라진다. ItemID를 사용하여 특정된 임의의 항목은, 항목에 대한 표준 권리가 DELETE를 주면 링크가 해제될 수 있다.Any item specified using a path may be denied if either (1) the parent item along the path does not give write access to the subject, or (2) the standard right for the item satisfies one of two conditions: DELETE. Can be released. When the last relationship is removed, the item disappears from the system. Any item specified using ItemID can be unlinked if the standard right for the item gives a DELETE.

(9) 항목을 복사하기 위한 권리(9) Right to copy items

주체에게 항목에 대한 WinFSItemRead, 및 목적지 폴더에 대한 WinFSItemWrite가 주어지면, 항목은 소스로부터 목적지 폴더로 복사될 수 있다.Given a subject to WinFSItemRead for an item and WinFSItemWrite for a destination folder, the item can be copied from the source to the destination folder.

(10) 항목을 이동하기 위한 권리(10) Right to move items

파일 시스템 내에서의 파일 이동은 소스 파일에 대한 DELETE 권리, 및 목적지 디렉토리에 대한 FILE_ADD_FILE 만을 요청하며, 이는 그것이 목적지에 대한 ACL를 보호하기 때문이다. 그러나, 플래그는 애플리케이션이 교차-볼륨 이동의 경우에 CopyFile 시맨틱을 허용할 수 있다는 것을 특정하게 하는 MoveFileEx 호출(MOVEFILE_COPY_ALLOWED)로 특정될 수 있다. 이동시에 보안 기술자에 의해 무엇이 발생하는지에 관한 잠재적인 4가지 선택이 있다:File movement within the file system requires only a DELETE right for the source file, and a FILE_ADD_FILE for the destination directory, because it protects the ACL for the destination. However, the flag can be specified with a MoveFileEx call (MOVEFILE_COPY_ALLOWED) that specifies that the application can allow CopyFile semantics in the case of cross-volume moves. There are four potential choices about what happens by security descriptors on the move:

1. 파일과 함께 전체 ACL를 이동시킴 - 디폴트 인트라-볼륨 이동 시맨틱.1. Move the entire ACL with files-default intra-volume move semantics.

2. 파일과 함께 전체 ACL를 이동시키고 ACL를 보호된 것으로 표식함.2. Move the entire ACL with the file and mark the ACL as protected.

3. 명시적인 ACE만을 이동시키고 목적지 상에 다시 상속받음.3. Move only explicit ACEs and inherit again on the destination.

4. 아무것도 이동시키지 않고, 목적지 상에 다시 상속받음 - 디폴트 인터-볼륨 이동 시맨틱 - 파일 복사와 같음.4. Nothing moved, inherited again on the destination-default inter-volume move semantics-same as file copy.

본 보안 모델에서, 애플리케이션이 MOVEFILE_COPY_ALLOWED 플래그를 특정하 면, 이 4가지 선택은 인터 및 인트라 볼륨 경우 모두에 대해서 수행된다. 플래그가 특정되지 않았으면, 목적지가 동일한 보안 영역(즉, 동일한 상속성 시맨틱) 내에 있지 않는 이상 제2 옵션이 수행된다. 저장 플랫폼 레벨 이동은 제4 선택을 구현하고, 사본과 같은 소스에 대한 READ_DATA를 요청한다.In this security model, if an application specifies the MOVEFILE_COPY_ALLOWED flag, these four choices are performed for both inter and intra volume cases. If the flag is not specified, the second option is performed unless the destination is in the same security realm (ie, the same inheritance semantics). The storage platform level move implements the fourth selection and requests READ_DATA for a source such as a copy.

(11) 항목에 대한 보안 정책을 보기 위한 권리(11) Right to view security policy on items

항목이 주체에게 표준 권리 READ_CONTROL을 주면, 항목의 보안이 보여질 수 있다.If the item gives the subject the standard right READ_CONTROL, the item's security can be seen.

(12)항목에 대한 보안 정책을 변경하기 위한 권리(12) The right to change the security policy on items.

항목이 주체에게 표준 권리 WRITE_DAC를 주면, 항목의 보안은 변경될 수 있다. 그러나, 데이터 저장소가 내재적 상속성을 제공하면, 이것은 보안이 계층 구조 상에서 어떻게 변경될 수 있는지를 의미한다. 계층 구조의 루트가 WRITE_DAC을 주면, 계층 구조(또는 DAG) 내의 특정 항목이 주체에게 WIRTE_DAC를 주지 않았는지에 상관없이 보안 정책이 전체 계층 구조 상에서 변경된다는 것이 규칙이다.If the item gives the subject the standard right WRITE_DAC, the security of the item can be changed. However, if the data store provides implicit inheritance, this means how security can change in the hierarchy. If the root of the hierarchy gives WRITE_DAC, then the rule is that the security policy changes over the entire hierarchy regardless of whether a particular item in the hierarchy (or DAG) did not give the subject WIRTE_DAC.

(13) 직접적인 등가물을 갖지 않을 권리(13) not to have direct equivalents

본 실시예에서, FILE_EXECITE(디렉토리에 대한 FILE_TRAVERSE)는 저장 플랫폼 내에 직접적인 등가물을 갖지 않는다. 모델은 Win32 호환성을 위해서 이것들을 유지하고 있지만, 이러한 권리에 기초하여 항목에 대해 행해지는 어떤 액세스 결정 도 하지 않는다. FILE_READ/WRITE_EA와 같이, 데이터 저장소 항목이 확장된 속성에 대한 개념을 갖지 않기 때문에, 이 비트에 대한 시맨틱은 제공되지 않는다. 그러나, 이 비트는 Win32 호환성을 위해 남아있는다.In this embodiment, FILE_EXECITE (FILE_TRAVERSE for a directory) does not have a direct equivalent in the storage platform. The model maintains these for Win32 compatibility, but does not make any access decisions made on items based on these rights. As with FILE_READ / WRITE_EA, the semantics for this bit are not provided because data store items do not have the concept of extended attributes. However, this bit remains for Win32 compatibility.

3. 구현3. Implementation

동일하게 보호된 영역을 정의하는 모든 항목들은 보안 테이블 내에 그들에 관련된 엔트리를 갖는다. 보안 테이블을 다음과 같이 정의된다:All items that define equally protected areas have entries associated with them in the security table. The security table is defined as follows:

항목 식별자Item identifier 아이템 순서 경로(Item Ordpath)Item Ordpath 명시적인 항목 ACLExplicit Entry ACL 경로 ACLPath ACL 영역 ACLZone ACL

항목 식별자 엔트리는 동일하게 보호된 보안 영역의 루트의 항목 식별자이다. 항목 순서 경로 엔트리는 동일하게 보호되는 보안 영역의 루트에 연관된 순서 경로이다. 명시적인 항목 ACL 엔트리는 동일하게 보호되는 보안 영역의 루트에 대한 정의된 명시적인 ACL이다. 몇몇의 경우에, 이것은 NULL일 수 있는데, 예를 들어, 항목이 상이한 영역에 속한 다수의 부모를 가지는 것으로 인해, 새로운 보안 영역이 정의될 때 그러하다. 경로 ACL 엔트리는 항목에 상속된 ACL의 세트이며, 영역 ACL 엔트리는 항목에 연관된 동일하게 보호되는 보안 영역에 대해 정의된 ACL의 세트이다.The item identifier entry is the item identifier of the root of the same protected area. The entry order path entry is the order path associated with the root of the security zone that is equally protected. Explicit Entry ACL An entry is a defined explicit ACL for the root of an equally protected security zone. In some cases, this may be NULL, for example when a new security zone is defined, for example because the item has multiple parents belonging to different zones. A path ACL entry is a set of ACLs inherited by an entry, and a zone ACL entry is a set of ACLs defined for an equally protected security zone associated with an entry.

주어진 저장소 내의 임의의 항목에 대해 효과적인 보안에 대한 계산은 이 테이블에 영향을 준다. 항목에 연관된 보안 정책을 결정하기 위해, 항목에 연관된 보안 영역이 획득되고 그 영역에 연관된 ACL이 리트리브된다.The calculations for effective security for any item in a given repository affect this table. To determine the security policy associated with the item, the security realm associated with the item is obtained and the ACL associated with that realm is retrieved.

항목에 관련된 보안 정책은 직접적으로 명시적인 ACL을 추가하거나 간접적으 로 새로운 보안 영역에 대한 공식을 생성하는 유지 관계를 추가함으로써 변경되므로 보안 테이블은 항목의 효과적인 보안을 결정하기 위한 상기 알고리즘이 유효하다는 것을 보증하기 위해 계속 갱신된다.The security policy associated with an item is altered either by adding an explicit ACL directly or indirectly by adding a maintenance relationship that generates a formula for the new security zone, so that the security table indicates that the above algorithm for determining effective security of an item is valid. Continually updated to guarantee

보안 테이블을 유지하기 위한 저장소에의 다양한 변경 및 동반 알고리즘은 다음과 같다:Various changes to the repository and accompanying algorithms to maintain security tables are as follows:

a) 컨테이너 내에 새로운 아이템 생성a) create a new item within the container

항목이 컨테이너 내에 새롭게 생성될 때, 그것은 컨테이너에 연관된 모든 ACL들을 상속받는다. 새롭게 생성된 항목은 단 하나의 부모만을 가지기 때문에, 그것은 자신의 부모와 동일한 영역에 속한다. 따라서 보안 테이블에 새로운 엔트리를 생성할 필요가 없다.When an item is newly created in a container, it inherits all the ACLs associated with the container. Since a newly created item has only one parent, it belongs to the same area as its parent. Therefore, there is no need to create new entries in the security table.

b) 항목에 명시적인 ACL 추가b) adding explicit ACLs to entries

ACL이 항목에 추가될 때, 그것은 주어진 항목과 동일한 보안 영역에 속하는 포함 계층 구조 내의 자신의 자손들 모두에 대한 새로운 보안 영역을 정의한다. 포함 계층 구조 내의 주어진 항목의 자손들이지만 다른 보안 영역에 속한 모든 항목에 대해서, 보안 영역은 변경되지 않은 채로 남아 있지만 그 영역에 연관된 효과적인 ACL은 새로운 ACL의 추가를 반영하도록 변경된다.When an ACL is added to an entry, it defines a new security zone for all its descendants in the containing hierarchy that belong to the same security zone as the given entry. For all items that are descendants of a given item in the containing hierarchy but belonging to another security realm, the security realm remains unchanged, but the effective ACL associated with that realm is changed to reflect the addition of a new ACL.

이 새로운 보안 영역의 소개는, 옛 보안 영역과 새롭게 정의된 보안 영역을 스트래들(straddle)하고 있는 조상들과 다수의 유지 관계를 갖고 있는 모든 항목들에 대한 더한 영역 정의를 트리거할 수 있다. 이러한 모든 항목들을 위해, 새로운 보안 영역이 정의될 필요가 있으며 프로시저가 반복될 필요가 있다.The introduction of this new security zone can trigger the addition of zone definitions for all items that have multiple maintenance relationships with ancestors straddling the old and newly defined security zones. For all these items, a new security realm needs to be defined and the procedure needs to be repeated.

도 27a, b, 및 c는 새로운 명시적인 ACL을 도입함으로써 기존 보안 영역으로부터 분리되는 새로운 동일하게 보호되는 보안 영역을 나타낸다. 이것은 참조번호 2로 표시된 노드에 의해 나타내진다. 그러나, 항목이 다수의 유지 관계를 갖고 있기 때문에, 이 새로운 영역의 소개는 추가적인 영역 3을 생성한다.27A, B, and C illustrate new equally protected security zones that are separated from existing security zones by introducing new explicit ACLs. This is represented by the node indicated by reference number 2. However, because the item has a number of maintenance relationships, the introduction of this new area creates an additional area 3.

다음의 보안 테이블의 일련의 갱신은 동일하게 보호되는 보안 영역의 인수분해를 반영한다.The next series of updates to the security table reflects the factorization of equally protected security zones.

c) 항목에 유지 관계 추가c) adding maintenance relationships to items

유지 관계는 항목에 추가될 때, 세 가지 가능성 중 하나를 발생시킨다. 유지 관계의 타겟, 즉 조건 하의 항목이 보안 영역의 루트이면, 영역에 관련된 효과적인 ACL은 변경되고 보안 테이블에 대한 수정이 더 이상 요청되지 않는다. 새로운 유지 관계의 소스의 보안 영역이 항목의 기존 부모의 보안 영역과 동일하면, 변경이 요청되지 않는다. 그러나, 항목이 상이한 보안 영역에 속한 부모를 가지면, 보안 영역의 루트로 주어진 항목을 갖는 새로운 보안 영역이 형성된다. 이 변경은 항목에 연관된 보안 영역을 수정함으로써 포함 계층 구조 내의 모든 항목들에게 전파된다. 조건 하의 항목과 동일한 보안 영역에 속한 모든 항목들 및 포함 계층 구조 내의 그것의 자손들은 변경될 필요가 있다. 일단 변경되면, 다수의 유지 관계를 갖는 항목들 모두는 변경이 더 요청되는지를 판정하기 위해 검사되어야 한다. 이러한 항목 중 임의의 것이 상이한 보안 영역의 부모를 가지면, 변경이 더 요청될 수 있다.When a maintenance relationship is added to an item, it raises one of three possibilities. If the target of the maintenance relationship, i.e. the item under the condition, is the root of the security zone, then the effective ACL associated with the zone is changed and no further modifications to the security table are required. If the security zone of the source of the new maintenance relationship is the same as the security zone of the existing parent of the item, no change is requested. However, if an item has a parent belonging to a different security realm, a new security realm with the item given as the root of the security realm is formed. This change is propagated to all items in the containment hierarchy by modifying the security zone associated with the item. All items belonging to the same security domain as the item under the condition and their descendants in the containing hierarchy need to be changed. Once changed, all items with multiple maintenance relationships should be examined to determine if more changes are required. If any of these items have parents of different security zones, further changes may be requested.

d) 항목으로부터 유지 관계를 삭제d) delete a maintenance relationship from an item

보유 관계가 항목으로부터 삭제될 때, 소정의 조건이 만족되면, 한 보안 영역이 그것의 부모 영역과 함께 붕괴될 가능성이 있다. 보다 정확하게, 이것은 (1) 유지 관계의 제거가 하나의 부모를 갖는 항목을 생성하면 그 항목에 대한 어떤 명시적인 ACL도 특정되지 않고, (2) 유지 관계의 제거가 부모들이 모두 동일한 보안 영역 내에 있는 항목을 생성하면 그 항목에 대한 어떤 명시적인 ACL도 특정되지 않는다는 조건 하에서 이루어질 수 있다. 이러한 환경하에서, 보안 영역은 부모와 동일하게 표식될 수 있다. 이 표식은 보안 영역이 붕괴된 영역에 대응하는 항목들 모두에 적용될 필요가 있다.When a retention relationship is deleted from an item, it is likely that one security zone will collapse with its parent zone if certain conditions are met. More precisely, this means that (1) if the removal of a maintenance relationship creates an item with one parent, no explicit ACL is specified for that item, and (2) the removal of the maintenance relationship is within the same security zone. Creating an item can be done under the condition that no explicit ACL is specified for that item. Under these circumstances, the security zone can be marked the same as the parent. This marker needs to be applied to all items corresponding to the zone where the security zone is collapsed.

e) 항목으로부터 명시적인 ACL 삭제e) explicit ACL deletion from entries

명시적인 ACL이 항목으로부터 삭제될 때, 그 항목에서 루트된 보안 영역은 자기 부모의 보안 영역으로 붕괴될 수 있다. 보다 정확하게, 이것은, 명시적인 ACL의 제거가 포함 계층 구조 내의 부모가 동일한 보안 영역에 속해 있는 항목을 생성하면, 행해질 수 있다. 이 환경에서, 보안 영역은 부모와 동일하게 표식될 수 있으며, 변경은 보안 영역이 붕괴된 영역에 대응하는 모든 항목에 적용될 수 있다.When an explicit ACL is deleted from an entry, the security zone rooted in that entry can collapse into the security zone of its parent. More precisely, this can be done if the removal of explicit ACLs creates an item whose parents belong to the same security zone in the containing hierarchy. In this environment, the security zone can be marked the same as the parent, and the change can be applied to all items corresponding to the zone where the security zone is collapsed.

f) 항목에 관련된 ACL 수정f) modify the ACL associated with an entry.

이 시나리오에서, 보안 테이블에 어떠한 새로운 추가도 요청되지 않는다. 영역에 연관된 유효한 ACL이 갱신되고, 새로운 ACL 변경이 그것에 의한 영향을 받는 보안 영역에 전파된다.In this scenario, no new additions to the security table are required. Valid ACLs associated with the zone are updated, and new ACL changes are propagated to the affected security zone.

F. 통지 및 변경 추적F. Notice and Change Tracking

본 발명의 다른 양태에 따르면, 저장 플랫폼은 애플리케이션이 데이터 변경을 추적하는 것을 허용하는 통지 능력을 제공한다. 이 기능은 주로 휘발 상태를 유지하거나 데이터 변경 이벤트에 대한 비지니스 논리를 실행하는 애플리케이션들을 위해 의도된 것이다. 애플리케이션은 항목, 항목 확장 및 항목 관계에 대한 통지를 등록시킨다. 통지는 데이터 변경이 행해진 후에 비동기적으로 전달된다. 애플리케이션은 항목, 확장 및 관계 타입은 물론 동작의 타입에 의해 통지를 필터링할 수 있다.According to another aspect of the invention, the storage platform provides a notification capability that allows an application to track data changes. This feature is primarily intended for applications that maintain volatility or execute business logic on data change events. The application registers notifications for items, item extensions and item relationships. Notifications are delivered asynchronously after data changes have been made. An application can filter notifications by type of action, as well as item, extension, and relationship types.

일 실시예에 따르면, 저장 플랫폼 API(322)는 통지에 대해 두 종류의 인터페이스를 제공한다. 첫째, 애플리케이션은 항목, 항목 확장 및 항목 관계에 대한 변경에 의해 트리거되는 단순 데이터 변경 이벤트에 대해서 등록한다. 둘째, 애플리케이션은 "감시자" 객체를 생성하여 항목, 항목 확장 및 항목들 사이의 관계의 세트를 모니터한다. 감시자 객체의 상태는 저장될 수 있으며, 시스템 고장 후 또는 시스템이 연장된 기간 동안 오프라인이 된 후에는 재생성될 수 있다. 단일 통지는 다수의 갱신을 반영할 수 있다.According to one embodiment, storage platform API 322 provides two kinds of interfaces for notifications. First, the application registers for simple data change events triggered by changes to items, item extensions, and item relationships. Second, the application creates a "watcher" object to monitor the set of items, item extensions, and relationships between items. The state of the watcher object can be stored and recreated after a system crash or after the system has been offline for an extended period of time. A single notification can reflect multiple updates.

1. 저장 변경 이벤트1. Save change event

이 섹션은 저장 플랫폼 API(322)에 의해 제공된 통지 인터페이스가 어떻게 사용되는지의 몇몇 예를 제공한다.This section provides some examples of how the notification interface provided by storage platform API 322 is used.

a) 이벤트a) event

항목, 항목 확장, 및 항목 관계는 데이터 변경 통지에 대해 등록하기 위해 애플리케이션이 사용하는 데이터 변경 이벤트를 노출시킨다. 다음의 코드 샘플은 기초 항목 클래스에 대한 ItemModified 및 ItemRemoved 이벤트 핸들러(handler)들의 정의를 나타낸다.Items, item extensions, and item relationships expose data change events that an application uses to register for data change notifications. The following code sample shows the definition of the ItemModified and ItemRemoved event handlers for the base item class.

Figure 112006012719774-pct00031
Figure 112006012719774-pct00031

모든 통지들은 데이터 저장소로부터 변경된 항목을 리트리브하기에 충분한 데이터를 전달한다. 다음의 코드 샘플은 항목, 항목 확장, 및 항목 관계에 대한 이벤트들에 대해서 어떻게 등록해야 할지를 나타낸다:All notifications carry enough data to retrieve changed items from the data store. The following code sample shows how to register for events on items, item extensions, and item relationships:

Figure 112006012719774-pct00032
Figure 112006012719774-pct00032

본 실시예에서, 저장 플랫폼은, 마지막으로 전달된 이후 개별 항목이 수정 또는 삭제되면, 또는 데이터 저장소로부터의 마지막 패치 이후 새로운 등록이 행해진 경우에 통지가 애플리케이션에 통지될 것을 보증한다.In this embodiment, the storage platform ensures that notifications will be notified to the application if individual items have been modified or deleted since the last delivery, or if a new registration has been made since the last patch from the data store.

b) 감시자b) monitor

본 실시예에서, 저장 플랫폼은 (1) 폴더 또는 폴더 계층 구조, (2) 항목 문맥, 또는 (3) 특정 항목에 연관된 객체를 모니터하기 위한 감시자 클래스를 정의한다. 세 가지 카테고리 각각에 대해서, 저장 플랫폼은 연관된 항목, 항목 확장, 또는 항목 관계를 모니터하는 특정한 감시자 클래스를 제공하는데, 예를 들어, 저장 플랫폼은 각각 FolderItemWatcher, FolderRelationshipWatcher, 및 FolderExtensionWatcher 클래스를 제공한다.In this embodiment, the storage platform defines a watcher class to monitor (1) a folder or folder hierarchy, (2) an item context, or (3) an object associated with a particular item. For each of the three categories, the storage platform provides a specific watcher class that monitors the associated item, item extension, or item relationship, for example, the storage platform provides the FolderItemWatcher, FolderRelationshipWatcher, and FolderExtensionWatcher classes, respectively.

감시자를 생성할 때, 애플리케이션은 기존 항목, 즉 항목, 확장 또는 관계에 대한 통지를 요청할 수 있다. 이 옵션은 대개 사적 항목 캐시(cache)를 유지하는 애플리케이션에 대한 것이다. 요청되지 않았으면, 애플리케이션은 감시자 객체가 생성된 이후 일어나는 모든 갱신에 관한 통지를 수신한다.When creating a watcher, an application can request notification of an existing item, that is, an item, extension, or relationship. This option is usually for applications that maintain a private item cache. If not requested, the application receives a notification about all updates that occur after the watcher object is created.

통지를 전달하면서, 저장 플랫폼은 "WatcherState" 객체를 제공한다. WatcherState는 직렬화되어 디스크 상에 저장된다. 그 후 감시자 상태는 실패한 후에 또는 오프-라인이 된 후 재접속할 때 개별 감시자를 재생성하기 위해 사용될 수 있다. 새롭게 재생성된 감시자는 수신확인되지 않은 통지를 재생성할 것이다. 애플리케이션은 "Exclude" 메소드를 호출함으로써 통지에 참조를 제공하는 개별 감시자 상태 상에 통지의 전달을 나타낸다.In conveying the notification, the storage platform provides a "WatcherState" object. WatcherState is serialized and stored on disk. The watcher state can then be used to recreate an individual watcher when it reconnects after a failure or after it goes off-line. The newly regenerated supervisor will regenerate the unacknowledged notification. The application represents the delivery of the notification on the individual watcher state that provides a reference to the notification by calling the "Exclude" method.

저장 플랫폼은 감시자 상태의 개별적인 사본을 각각의 이벤트 핸들러에 전달한다. 동일한 이벤트 핸들러의 다음 호출 상에서 수신된 감시자 상태는 이전에 수신된 모든 통지의 전달을 가정한다.The storage platform delivers a separate copy of the watcher's state to each event handler. The watcher state received on the next invocation of the same event handler assumes delivery of all previously received notifications.

예를 들어, 다음의 코드 샘플은 FolderItemWatcher의 정의를 나타낸다.For example, the following code sample shows the definition of FolderItemWatcher.

Figure 112006012719774-pct00033
Figure 112006012719774-pct00033

다음의 코드 샘플은 폴더의 콘텐츠를 모니터하기 위한 폴더 감시자 객체를 어떻게 생성해야하는지를 나타낸다. 감시자는 새로운 음악 항목이 추가되거나 기존 음악 항목이 갱신 또는 삭제될 때, 통지, 즉, 이벤트를 생성한다. 폴더 감시자는 특정한 폴더 또는 폴더 계층 구조 내의 모든 폴더들을 모니터한다.The following code sample shows how to create a folder watcher object to monitor the contents of a folder. The watcher generates a notification, that is, an event, when a new music item is added or an existing music item is updated or deleted. Folder Watcher monitors all folders within a particular folder or folder hierarchy.

Figure 112006012719774-pct00034
Figure 112006012719774-pct00034

2. 변경 추적 및 통지 생성 메커니즘2. Change tracking and notification generation mechanism

저장 플랫폼은 데이터 변경을 추적하고 통지를 생성하기 위한 단순하지만 유효한 메커니즘을 제공한다. 클라이언트는 데이터를 리트리브하는 데 사용되는 동일한 접속에 대한 통지를 리트리브한다. 이것은 주로 보안 체크를 단순화하고, 지연을 제거하며, 가능한 네트워크 구성을 제한한다. 통지는 선택 스테이트먼트 (select statement)를 발행함으로써 리트리브된다. 폴링을 방지하기 위해, 클라이언트는 데이터베이스 엔진(314)이 제공하는 "waitfor" 기능을 사용할 수 있다. 도 13은 기본적인 저장 플랫폼 통지 개념을 나타낸다. 이 waitfor 질의는, 결과가 사용가능하게 되기 전까지 호출 스레드가 차단되는 경우에 동기적으로, 또는 그 스레드가 차단되지 않고 결과가 개별 스레드에 리턴된 경우(사용이능한 때)에 비동기적으로 실행될 수 있다.The storage platform provides a simple but valid mechanism for tracking data changes and generating notifications. The client retrieves the notification for the same connection used to retrieve the data. This primarily simplifies security checks, eliminates delays, and limits possible network configurations. The notification is retrieved by issuing a select statement. To prevent polling, the client can use the "waitfor" function provided by the database engine 314. 13 illustrates a basic storage platform notification concept. This waitfor query can be run synchronously when the calling thread is blocked until the result is available, or asynchronously when the thread is not blocked and the result is returned to an individual thread (when available). have.

"waitfor" 및 "select"의 조합은 변경이 개별 데이터 영역 상에 통지 잠금을 설정함으로써 모니터될 수 있을 때 특정한 데이터 범위에 맞는 데이터 변경을 모니터하기에 좋다. 이것은 여러 공통 저장 플랫폼 시나리오를 유지한다. 개별적인 항목에의 변경은 개별 데이터 영역 상에 통지 잠금을 설정함으로써 효율적으로 모니터될 수 있다. 폴더 및 폴더 트리에의 변경은 경로 영역 상에 통지 잠금을 설정함으로써 모니터될 수 있다. 타입 및 그것의 서브타입에의 변경은 타입 영역 상에 통지 잠금을 설정함으로써 모니터될 수 있다.The combination of " waitfor " and " select " is good for monitoring data changes that fit a particular data range when changes can be monitored by setting a notification lock on a separate data area. This maintains several common storage platform scenarios. Changes to individual items can be efficiently monitored by setting notification locks on individual data areas. Changes to folders and folder trees can be monitored by setting notification locks on the path area. Changes to the type and its subtypes can be monitored by setting a notification lock on the type area.

일반적으로, 통지를 처리하는 것에 연관된 (1) 데이터 변경 또는 심지어 탐지, (2) 가입 일치, 및 (3) 통지 전달의 세 가지의 별개의 페이즈(phase)들이 존재한다. 동기적인 통지 전달, 즉 데이터 변경을 수행하는 트랜젝션의 일부로서의 통지 전달을 제외하고, 저장 플랫폼은 두 개의 통지 전달 형태를 구현할 수 있다:In general, there are three distinct phases associated with processing notifications: (1) data change or even detection, (2) subscription match, and (3) notification delivery. Apart from synchronous notification delivery, that is, notification delivery as part of a transaction that performs data changes, the storage platform may implement two notification delivery forms:

1) 즉각적인 이벤트 탐지: 이벤트 탐지 및 가입 일치는 갱신 트랜젝션의 일부로서 수행된다. 통지는 가입자에 의해 모니터되는 테이블에 삽입된다.1) Immediate Event Detection: Event detection and subscription matching is performed as part of the update transaction. The notification is inserted into a table monitored by the subscriber.

2) 연기된(deferred) 이벤트 탐지: 이벤트 탐지 및 가입 일치는 갱신 트랜젝 션이 행해지고 난 이후 수행된다. 그 후, 실제 가입자 또는 매개물은 이벤트를 탐지하고 통지를 생성한다.2) Deferred Event Detection: Event detection and subscription matching is performed after an update transaction is made. The real subscriber or mediator then detects the event and generates a notification.

즉각적인 이벤트 탐지는 추가적인 코드가 갱신 동작의 일부로 실행될 것을 요청한다. 이것은 관련 상태 변경을 나타내는 이벤트들을 포함하는 관련 이벤트 모두를 캡쳐하는 것을 허용한다.Immediate event detection requires additional code to be executed as part of the update operation. This allows capturing all of the related events, including those that indicate a related state change.

연기된 이벤트 탐지는 동작을 갱신하기 위해 추가적인 코드를 추가할 필요성을 제거한다. 이벤트 탐지는 궁극적인 가입자에 의해 행해진다. 연기된 이벤트 탐지는 이벤트 탐지 및 이벤트 전달을 자연스럽게 일괄처리하며, 데이터베이스 엔진(314)(예를 들어, SQL 서버)의 질의 실행 기반구조에 잘 맞는다.Deferred event detection eliminates the need to add additional code to update behavior. Event detection is done by the ultimate subscriber. Deferred event detection naturally batches event detection and event delivery and fits well into the query execution infrastructure of the database engine 314 (eg, SQL server).

연기된 이벤트 탐지는 로그 또는 갱신 동작에 의해 남겨진 흔적에 응답한다. 저장 플랫폼은 삭제된 데이터 항목에 대한 묘비와 함께 논리적인 타임 스탬프 세트를 유지한다. 변경을 위해 데이터 저장소를 스캔할 때, 클라이언트는 변경을 탐지하기 위한 낮은 워터마크(watermark)를 정의하는 타임 스탬프, 및 중복 통지를 방지하기 위한 타임 스탬프 세트를 제공한다. 애플리케이션은 낮은 워터마크가 나타낸 시간 이후 발생하는 모든 수정에 대한 통지를 수신할 수 있다.Deferred event detection responds to traces left by log or update operations. The storage platform maintains a set of logical timestamps with the tombstones for deleted data items. When scanning the data store for changes, the client provides a time stamp that defines a low watermark for detecting changes, and a set of time stamps to prevent duplicate notifications. The application may receive a notification of all modifications that occur after the time indicated by the low watermark.

코어 뷰에의 액세스를 가진 세련된 애플리케이션은 사적인 매개변수 및 중복 필터 테이블을 생성함으로써 잠재적으로 큰 항목 세트를 모니터하기 위해 필요한 SQL 스테이트먼트를 최적화하고 그것의 개수를 줄일 수 있다. 풍부한 뷰를 지원해야 하는 것들과 같은 특별한 요구들을 갖는 애플리케이션은 데이터 변경을 모니터하고 그들의 사적인 스냅샷(snapshot)을 복구하기 위해 사용가능한 변경 추적 프레 임워크를 사용할 수 있다.Sophisticated applications with access to core views can create private parameter and duplicate filter tables to optimize and reduce the number of SQL statements needed to monitor a potentially large set of items. Applications with special needs, such as those that need to support rich views, can use the change tracking framework available to monitor data changes and restore their private snapshots.

그러므로, 일 실시예에서, 가급적으로 저장 플랫폼은 다음에 보다 완벽하게 설명된 바와 같이 연기된 이벤트 탐지 접근법을 구현한다.Therefore, in one embodiment, preferably the storage platform implements the deferred event detection approach as described more fully below.

a) 변경 추적a) change tracking

모든 항목, 확장 및 항목 관계 정의는 고유한 식별자를 갖는다. 변경 추적은 모든 데이터 항목에 대한 생성, 갱신 및 삭제 시간을 기록하기 위해 논리적인 타임 스탬프의 세트를 유지한다. 삭제된 데이터 항목을 나타내기 위해 묘비 엔트리가 사용된다.Every item, extension, and item relationship definition has a unique identifier. Change tracking maintains a set of logical time stamps to record the creation, update, and deletion times for all data items. Tombstone entries are used to indicate deleted data items.

애플리케이션은 그 정보를 사용하여, 애플리케이션이 마지막으로 데이터 저장소에 액세스한 이후 특정한 항목, 항목 확장, 또는 항목 관계가 새롭게 추가, 갱신 또는 삭제되었는지를 효율적으로 모니터한다. 다음의 예는 이 메커니즘을 나타낸다.The application uses that information to efficiently monitor whether a particular item, item extension, or item relationship has been newly added, updated, or deleted since the application last accessed the data store. The following example illustrates this mechanism.

Figure 112006012719774-pct00035
Figure 112006012719774-pct00035

모든 삭제된 항목, 항목 확장 및 관계는 대응하는 묘비 테이블에 기록된다. 다음에 템플릿(template)이 나타내진다.All deleted items, item extensions and relationships are recorded in the corresponding gravestone tables. Next, a template is shown.

Figure 112006012719774-pct00036
Figure 112006012719774-pct00036

효율성을 위해, 저장 플랫폼은 항목, 항목 확장, 관계 및 경로 명칭에 대한 글로벌 테이블 세트를 유지한다. 이러한 글로벌 룩업 테이블(global lookup table)은 효율적으로 데이터 영역을 모니터하고 연관된 타임 스탬프 및 타입 정보를 리트리브하기 위해 애플리케이션에 의해 사용될 수 있다.For efficiency, the storage platform maintains a set of global tables for items, item extensions, relationships, and path names. This global lookup table can be used by the application to efficiently monitor the data area and retrieve the associated time stamp and type information.

b) 타임 스탬프 관리b) timestamp management

논리적인 타임 스탬프는 데이터베이스 저장소, 즉 저장 플랫폼 볼륨에 "로컬"이다. 타임 스탬프는 단조롭게 64-비트 값으로 증가한다. 단일 타임 스탬프를 보유하는 것은, 종종 저장 플랫폼 볼륨에의 마지막 접속 이후 데이터가 변경됐는지를 탐지하기에 충분하다. 그러나, 대부분의 현실적인 시나리오에서는, 중복을 계속적으로 체크하기 위해 몇 개의 타임 스탬프가 더 필요하다. 그 이유에 다음에 설명된다.The logical time stamp is "local" to the database store, i.e. the storage platform volume. The time stamp monotonically increases to a 64-bit value. Holding a single time stamp is often sufficient to detect if data has changed since the last connection to the storage platform volume. However, in most realistic scenarios, several more time stamps are needed to continuously check for duplicates. The reason is explained next.

관계형 데이터베이스 테이블은 물리적인 데이터 구조(즉, B-트리, 힙 등)의 세트의 상부에 구축된 논리적인 추상화이다. 새롭게 생성되거나 갱신된 레코드에 타임 스탬프를 할당하는 것은 최소단위 동작(atomic action)이 아니다. 그 레코드를 기초 데이터 구조에 삽입하는 것은 상이한 시간에 발행할 수 있으며, 따라서 애플리케이션은 레코드 순서가 흐트러졌다는 것을 알 수 있다. Relational database tables are logical abstractions built on top of a set of physical data structures (ie, B-trees, heaps, etc.). Assigning a time stamp to a newly created or updated record is not an atomic action. Inserting the record into the underlying data structure can be issued at different times, so the application can know that the record order is out of order.

도 14는 새로운 레코드를 동일한 B-트리에 삽입하는 두 개의 트랜젝션을 나타낸다. 트랜젝션 T3이 트랜젝션 T2의 삽입이 스케줄링되기 이전에 자신의 레코드를 삽입하기 때문에, B-트리를 스캔하는 애플리케이션은 T2에 의해 삽입된 것 이전 에 트랜젝션 T3에 의해 삽입된 레코드를 볼 수 있다. 이에 따라, 판독기는 시간 "10"까지 생성된 모든 레코드들을 보았다고 부정확하게 가정할 수 있다. 이 문제점을 해결하기 위해, 데이터베이스 엔진(314)은 모든 갱신이 행해지고 개별적인 기초 데이터 구조에 삽입되기 전까지 낮은 워터마크를 리턴하는 기능을 제공한다. 상기 예에서, 트랜젝션 T2가 행해지기 이전에 판독기가 시작되었다고 가정하면, 리턴된 낮은 워터마크는 "5"일 것이다. 데이터베이스 엔진(314)이 제공한 낮은 워터마크는 애플리케이션이 데이터베이스 또는 데이터 변경에 대한 데이터 영역을 스캔할 때 어느 항목을 무시해야하는지를 효율적으로 결정하는 것을 허용한다. 일반적으로, ACID 트랜젝션은 매우 단시간 동안만 지속되리라고 가정되며, 낮은 워터마크는 가장 최근에 분배된 타임 스탬프에 매우 근접하리라고 기대된다. 오래 지속되는 트랜젝션이 존재할 때, 애플리케이션은 중복을 탐지하고 삭제하기 위해 개별적인 타임 스탬프를 유지해야만 할 것이다.14 shows two transactions inserting a new record into the same B-tree. Since transaction T3 inserts its record before the insertion of transaction T2 is scheduled, the application scanning the B-tree can see the record inserted by transaction T3 before being inserted by T2. Thus, the reader may incorrectly assume that he has seen all the records created by time "10". To solve this problem, the database engine 314 provides the ability to return a low watermark until all updates are made and inserted into individual underlying data structures. In the above example, assuming that the reader has started before transaction T2 is made, the low watermark returned will be "5". The low watermark provided by the database engine 314 allows the application to efficiently determine which items to ignore when scanning the data area for database or data changes. In general, ACID transactions are assumed to last only for a very short time, and low watermarks are expected to be very close to the most recently distributed time stamp. When there is a long lasting transaction, the application will have to maintain separate time stamps to detect and delete duplicates.

c) 데이터 변경 탐지 - 이벤트 탐지c) Data change detection-event detection

데이터 저장소를 질의할 때, 애플리케이션은 낮은 워터마크를 획득한다. 그 후, 애플리케이션은 그 워터마크를 사용하여 생성, 갱신 또는 삭제 타임 스탬프가 리턴된 낮은 워터마크보다 큰 엔트리를 찾기 위해 데이터 저장소를 스캔한다. 도 15는 이 프로세스를 나타낸다.When querying the data store, the application gets a low watermark. The application then uses the watermark to scan the data store to find entries that are larger than the low watermark for which a create, update, or delete time stamp was returned. 15 shows this process.

중복 통지를 방지하기 위해, 애플리케이션은 리턴된 낮은 워터마크보다 큰 타임 스탬프를 기억하고 있다가, 중복을 제거하기 위해 그들을 사용한다. 애플리 케이션은 큰 중복 타임 스탬프 세트를 효율적으로 관리하기 위해 세션 로컬 임시 테이블을 생성한다. select 스테이트먼트를 발행하기 전에, 다음에 나타낸 것처럼, 애플리케이션은 이미 리턴된 모든 중복 타임 스탬프를 삽입하고, 리턴된 마지막 낮은 워터마크보다 오래된 것들을 삭제한다.To prevent duplicate notifications, the application remembers timestamps larger than the low watermark returned and uses them to remove duplicates. The application creates session-local temporary tables to efficiently manage large sets of duplicate time stamps. Before issuing a select statement, as shown below, the application inserts any duplicate time stamps that have already been returned and deletes those older than the last low watermark returned.

Figure 112006012719774-pct00037
Figure 112006012719774-pct00037

E. 동기화E. Synchronization

본 발명의 또 다른 양태에 따라, 저장 플랫폼은 (i) 저장 플랫폼의 다수의 인스턴스(각각 그 자신의 데이터 저장소(302)를 가짐)가 융통성 있는 규칙 세트에 따라 그들의 콘텐츠의 부분들을 동기화시키는 것을 허용하고, (ii) 제3자가 본 발명의 저장 플랫폼의 데이터 저장소를 독점 프로토콜을 구현하는 다른 데이터 소스와 동기화하기 위한 기반 구조를 제공하는 동기화 서비스(330)를 제공한다.According to another aspect of the present invention, the storage platform allows (i) multiple instances of the storage platform, each with its own data store 302, to synchronize portions of their content according to a flexible set of rules. And (ii) provide a synchronization service 330 that provides an infrastructure for the third party to synchronize the data repository of the storage platform of the present invention with other data sources implementing proprietary protocols.

저장 플랫폼 대 저장 플랫폼 동기화는 참여 사본들의 그룹 사이에서 발생한다. 예컨대, 도 3을 참조하면, 아마도 다른 컴퓨터 시스템 상에서 실행되는 저장 플랫폼의 또 하나의 인스턴스의 제어하에 저장 플랫폼(300)의 데이터 저장소(302)와 다른 원격 데이터 저장소(338) 사이의 동기화를 제공하는 것이 바람직할 수 있다. 이 그룹의 모든 멤버는 임의의 주어진 시간에 임의의 주어진 사본을 반드시 알 필요는 없다.Storage platform to storage platform synchronization occurs between groups of participating copies. For example, referring to FIG. 3, perhaps providing control between the data store 302 of the storage platform 300 and the other remote data store 338 under the control of another instance of the storage platform running on another computer system. It may be desirable. All members of this group do not necessarily know any given copy at any given time.

다른 사본들은 독립적으로(즉, 동시에) 변경을 행할 수 있다. 동기화 프로세스는 모든 사본이 다른 사본들에 의해 행해진 변경을 인식하게 만드는 것으로 정의된다. 동기화 능력은 본질적으로 멀티 마스터이다. Other copies can make changes independently (ie, at the same time). The synchronization process is defined as making all copies aware of the changes made by other copies. Synchronization capability is inherently multimaster.

본 발명의 동기화 능력은 사본들이 The synchronization capability of the present invention is that

ㆍ 다른 사본이 어떠한 변경을 알고 있는지를 판정하고,Determine what changes the other copy is aware of,

ㆍ 이 사본이 알지 못하는 변경에 대한 정보를 요구하고,Request information about changes that this copy does not know;

ㆍ 다른 사본이 알지 못하는 변경에 대한 정보를 전달하고,Communicate information about changes that other copies are not aware of,

*ㆍ 2개의 변경이 언제 서로 충돌하는지를 판정하고,Determine when two changes conflict with each other,

ㆍ 변경을 로컬 적용하고,Apply the change locally,

ㆍ 수렴을 보장하기 위해 충돌 해결을 다른 사본들에 전달하고,Deliver conflict resolution to other copies to ensure convergence,

ㆍ 충돌 해결을 위한 지정된 정책에 기초하여 충돌을 해결하는 것을 허용한다.Allow to resolve conflicts based on specified policies for conflict resolution.

1. 저장 플랫폼 대 저장 플랫폼 동기화1. Storage platform vs storage platform synchronization

본 발명의 저장 플랫폼의 동기화 서비스(330)의 주요 응용은 저장 플랫폼의 다수의 인스턴스(각각 그 자신의 데이터 저장소를 가짐)를 동기화하는 것이다. 동기화 서비스는 저장 플랫폼 스키마 레벨에서(데이터베이스 엔진(314)의 기본 테이블이 아님) 동작한다. 따라서, 예를 들면, "범위(Scopes)"는 후술하는 바와 같이 동기화 세트를 정의하는 데 사용된다.The primary application of the synchronization service 330 of the storage platform of the present invention is to synchronize multiple instances of the storage platform, each with its own data store. The synchronization service operates at the storage platform schema level (not the base table of the database engine 314). Thus, for example, "Scopes" are used to define a synchronization set as described below.

동기화 서비스는 "순수 변경(net change)"의 원리로 동작한다. 동기화 서비스는 개별 동작들(예컨대, 트랜잭션 복제)을 기록하고 전송하는 것이 아니라, 이 동작들의 최종 결과를 전송하며, 따라서 종종 다수의 동작의 결과들을 단일 결과 변경으로 통합한다.The synchronization service operates on the principle of "net change". The synchronization service does not record and transmit individual operations (eg, transactional replication), but sends the final results of these operations, thus often integrating the results of multiple operations into a single result change.

동기화 서비스는 일반적으로 트랜잭션 경계를 존중하지 않는다. 즉, 단일 트랜잭션에서 저장 플랫폼 데이터 저장소에 대해 2개의 변경이 행해진 경우, 이들 변경이 모든 다른 사본들에 최소 단위로(atomically) 적용된다는 보장이 없는데, 즉 하나의 변경은 다른 변경 없이도 나타날 수 있다. 이 원리에 대한 예외는, 2개의 변경이 동일 트랜잭션에서 동일 항목에 대해 행해진 경우, 이들 변경은 최소 단위로 다른 복제들로 전송되고 적용되는 것이 보장된다는 것이다. 따라서, 항목들은 동기화 서비스의 일관성 단위이다. Synchronization services generally do not respect transaction boundaries. That is, if two changes are made to the storage platform data store in a single transaction, there is no guarantee that these changes will be applied atomically to all other copies, i.e. one change may appear without another. The exception to this principle is that if two changes are made to the same item in the same transaction, then these changes are guaranteed to be sent and applied to the other replicas in minimal units. Thus, items are the unit of consistency of the synchronization service.

a) 동기화(Sync) 제어 애플리케이션a) Sync control application

임의의 애플리케이션이 동기화 서비스에 접속되어, 동기화 동작을 개시할 수 있다. 이러한 애플리케이션은 동기화를 행하는 데 필요한 파라미터들을 모두 제공한다(아래의 동기 프로파일 참조). 이 애플리케이션은 본 명세서에서 동기화 제어 애플리케이션(SCA)이라 한다.Any application can connect to a synchronization service to initiate a synchronization operation. This application provides all of the parameters needed to perform synchronization (see Sync Profile below). This application is referred to herein as a Synchronization Control Application (SCA).

2개의 저장 플랫폼 인스턴스를 동기화할 때, 동기화는 SCA에 의해 한쪽에서 개시된다. SCA는 원격 파트너와 동기화하기 위해 로컬 동기화 서비스에 알린다. 다른 쪽에서는 시발 기기로부터 동기화 서비스에 의해 전송된 메시지에 의해 동기 화 서비스가 개시된다. 동기화 서비스는 도달 기기 상에 존재하는 지속적인 구성 정보(아래 매핑 참조)에 기초하여 응답한다. 동기화 서비스는 스케쥴에 따라 또는 이벤트에 응답하여 실행될 수 있다. 이들 경우에, 스케쥴을 구현하는 동기화 서비스가 SCA가 된다.When synchronizing two storage platform instances, synchronization is initiated on one side by the SCA. The SCA notifies the local synchronization service to synchronize with the remote partner. On the other side, the synchronization service is initiated by a message sent by the synchronization service from the starting device. The synchronization service responds based on persistent configuration information (see mapping below) present on the reaching device. The synchronization service may be executed according to a schedule or in response to an event. In these cases, the synchronization service implementing the schedule is the SCA.

동기화를 가능하게 하기 위하여, 두 단계가 취해져야 한다. 먼저, 스키마 설계자는 저장 플랫폼 스키마에 적절한 동기화 시맨틱(후술하는 바와 같이 변경 단위를 나타냄)을 주석으로 달아야 한다. 둘째, 동기화는 동기화에 참여할 저장 플랫폼의 인스턴스를 가진 기기들 모두에서 적절히 구성되어야 한다.In order to enable synchronization, two steps must be taken. First, the schema designer should annotate the appropriate synchronization semantics (representing units of change as described below) in the storage platform schema. Second, synchronization must be properly configured on all devices with instances of the storage platform that will participate in the synchronization.

b) 스키마 주석 달기b) annotating the schema

동기화 서비스의 기본 개념은 변경 단위의 개념이다. 변경 단위는 저장 플랫폼에 의해 개별적으로 추적되는 스키마의 가장 작은 부분이다. 모든 변경 단위에 대해, 동기화 서비스는 변경 단위가 최종 동기화 이후 변경되었는지의 여부를 결정할 수 있다. The basic concept of the synchronization service is the concept of change units. The change unit is the smallest part of the schema that is tracked separately by the storage platform. For every change unit, the synchronization service may determine whether the change unit has changed since the last synchronization.

스키마에 변경 단위를 표시하는 것은 여러 목적을 갖는다. 먼저, 이것은 유선 상에서 동기화 서비스의 채티(chatty) 정도가 어떤지를 판정한다. 변경 단위 내에서 변경이 행해질 때, 전체 변경 단위는 다른 사본들로 전송되는데, 이는 동기화 서비스가 변경 단위의 어느 부분이 변경되었는지를 알지 못하기 때문이다. 둘째, 이것은 충돌 검출의 입도를 결정한다. 2개의 동시 변경(이 용어는 후속 섹션에서 상세히 정의된다)이 동일 변경 단위에 대해 행해질 때, 동기화 서비스는 충돌 을 일으키는 반면, 동시 변경이 상이한 변경 단위들에 대해 행해지는 경우에는 충돌이 발생하지 않고, 변경들은 자동으로 병합된다. 셋째, 이것은 시스템에 의해 유지되는 메타데이터의 양에 강한 영향을 미친다. 동기화 서비스 메타데이터의 많은 부분은 변경 단위에 대해 유지되며, 따라서 변경 단위들이 동기화의 오버헤드를 보다 적게 증가시키게 된다.Displaying change units in a schema has several purposes. First, it determines what the degree of chatty of the synchronization service is on the wire. When a change is made within a change unit, the entire change unit is sent to the other copies, since the synchronization service does not know which part of the change unit has changed. Second, this determines the granularity of collision detection. When two concurrent changes (the term is defined in detail in subsequent sections) are made for the same change unit, the synchronization service causes a conflict, whereas if concurrent changes are made for different change units, no conflict occurs. , Changes are automatically merged. Third, this has a strong impact on the amount of metadata maintained by the system. Much of the synchronization service metadata is maintained for change units, so that change units add less synchronization overhead.

변경 단위의 정의는 올바른 트레이드오프의 발견을 필요로 한다. 이 때문에, 동기화 서비스는 스키마 설계자가 프로세스에 참여하는 것을 허용한다.Defining change units requires finding the right tradeoffs. Because of this, the synchronization service allows schema designers to participate in the process.

일 실시예에서, 동기화 서비스는 요소보다 큰 변경 단위를 지원하지 않는다. 그러나, 동기화 서비스는 스키마 설계자가 요소보다 작은 변경 단위를 지정할 수 있는 능력, 즉 요소의 다수의 속성을 개별 변경 단위로 그룹화할 수 있는 능력을 지원한다. 이 실시예에서, 이것은 다음의 신택스를 사용하여 달성된다.In one embodiment, the synchronization service does not support larger units of change than elements. However, the synchronization service supports the ability of schema designers to specify smaller units of change than elements, that is, the ability to group multiple attributes of an element into individual change units. In this embodiment, this is accomplished using the following syntax.

Figure 112006012719774-pct00038
Figure 112006012719774-pct00038

Figure 112006012719774-pct00039
Figure 112006012719774-pct00039

c) 동기화 구성c) Configure synchronization

동기화에서 자신들의 데이터의 소정 부분을 유지하기를 원하는 저장 플랫폼 파트너들의 그룹은 동기화 공동체로 지칭된다. 공동체의 멤버들이 동기화 상태에 머물기를 원하는 동안, 이들은 정확히 동일한 방식으로 데이터를 표시할 필요는 없는데, 즉 동기화 파트너들은 이들이 동기화하고 있는 데이터를 변환할 수 있다.The group of storage platform partners who want to keep some portion of their data in synchronization is referred to as the synchronization community. While members of the community want to stay in sync, they do not need to present the data in exactly the same way, that is, synchronization partners can transform the data they are synchronizing.

피어-투-피어 시나리오에서, 피어들이 이들의 파트너들 모두에 대한 변환 매핑을 유지하는 것은 비현실적이다. 대신에, 동기화 서비스는 "공동체 폴더"를 정의하는 접근법을 취한다. 공동체 폴더는 모든 공동체 멤버들이 동기화되고 있는 가상적인 "공유 폴더"를 나타내는 추상 개념이다. In a peer-to-peer scenario, it is impractical for peers to maintain translation mappings for all of their partners. Instead, the synchronization service takes the approach of defining "community folders". Community folders are abstract concepts that represent virtual "shared folders" where all community members are synchronized.

이 개념은 일례에 의해 가장 잘 설명된다. 조(Joe)가 동기화 상태에서 자신의 여러 컴퓨터들의 내 문서 폴더들을 유지하기를 원하는 경우, 조는 예컨대 JoesDocuments라고 하는 공동체 폴더를 정의한다. 그러면, 모든 컴퓨터에서 조는 가상적인 JoesDocuments 폴더와 로컬 내 문서 폴더 사이의 매핑을 구성한다. 이 시점으로부터, 조의 컴퓨터들이 서로 동기화될 때, 이들은 이들의 로컬 항목들이 아니라 JoesDocuments 내의 문서들에 관해 대화한다. 이러한 방식으로, 조의 모든 컴퓨터들은 다른 컴퓨터들이 누구인지를 알지 않고도 서로를 이해하게 되며, 공동체 폴더는 동기화 공동체의 공통어가 된다. This concept is best illustrated by an example. If Joe wants to keep My Documents folders on his various computers in sync, Joe defines a community folder, for example JoesDocuments. Joe then configures the mapping between the virtual JoesDocuments folder and the local My Documents folder on every computer. From this point on, when Joe's computers are synchronized with each other, they talk about documents in JoesDocuments, not their local items. In this way, all Joe's computers understand each other without knowing who the other computers are, and community folders become the common language of the sync community.

동기화 서비스의 구성은 3 단계, 즉 (1) 로컬 폴더와 공동체 폴더 간의 매핑을 정의하는 단계, (2) 무엇이 동기화되는지(예컨대, 누구와 동기화되는지, 어느 서브 세트가 전송되어야 하고 수신되어야 하는지)를 결정하는 동기화 프로파일을 정의하는 단계, 및 (3) 상이한 동기화 프로파일들이 실행되어야 하는 스케쥴 또는 이들을 수동으로 실행하는 스케쥴을 정의하는 단계로 구성된다. The configuration of the synchronization service involves three steps: (1) defining the mapping between local and community folders, (2) what is synchronized (e.g. with whom, which subset should be sent and received). Defining a synchronization profile to determine, and (3) defining a schedule at which different synchronization profiles should be executed or a schedule to execute them manually.

(1) 공동체 폴더-매핑(1) community folder-mapping

공동체 폴더 매핑은 개별 기기들 상에 XML 구성 파일로서 저장된다. 각각의 매핑은 다음 스키마를 갖는다. Community folder mappings are stored as XML configuration files on individual devices. Each mapping has the following schema:

/mappings// mappings / communityFoldercommunityFolder

이 요소는 이 매핑의 대상인 공동체 폴더의 명칭을 정한다. 명칭은 폴더의 신택스 규칙을 따른다.This element specifies the name of the community folder that this mapping targets. The name follows the syntax rules of the folder.

/mappings// mappings / localFolderlocalFolder

이 요소는 매핑이 변환되는 로컬 폴더의 명칭을 정한다. 이 명칭은 폴더의 신택스 규칙을 따른다. 폴더는 매핑이 유효하도록 이미 존재해야 한다. 이 폴더 내의 항목들은 이 매핑에 대한 동기화를 위해 고려된다. This element specifies the name of the local folder to which the mapping is translated. This name follows the syntax rules for the folder. The folder must already exist for the mapping to be valid. Items in this folder are considered for synchronization to this mapping.

/mappings/transformations/ mappings / transformations

이 요소는 공동체 폴더에서 로컬 폴더로 그리고 그 역으로 항목들을 변환하는 방법을 정의한다. 존재하지 않거나 비어 있는 경우, 변환은 행해지지 않는다. 구체적으로 이것은 어떠한 ID도 매핑되지 않는다는 것을 의미한다. 이 구성은 주로 폴더의 캐시를 생성하는 데 유용하다.This element defines how to convert items from a community folder to a local folder and vice versa. If it does not exist or is empty, no conversion is done. Specifically, this means that no ID is mapped. This configuration is mainly useful for creating a cache of folders.

/mappings/transformation// mappings / transformation / mapIDsmapIDs

이 요소는 공동체 ID들이 다시 사용되는 것이 아니라 새로 생성된 로컬 ID들이 공동체 폴더로부터 매핑된 항목들 모두에 대해 할당될 것을 요구한다. 동기화 실행 시간은 항목들을 이리저리 변환하기 위해 ID 매핑을 유지한다.This element does not require that community IDs be used again, but requires that newly created local IDs be assigned for all items mapped from the community folder. Synchronization execution time maintains ID mapping to convert items back and forth.

/mappings/transformations// mappings / transformations / localRootlocalRoot

이 요소는 공동체 폴더 내의 모든 루트 항목들이 지정된 루트의 자식들이 될 것을 요구한다.This element requires that all root items in the community folder be children of the specified root.

/mappings// mappings / runAsrunAs

이 요소는 누구의 권한 하에 이 매핑에 대한 요구들이 처리되는지를 제어한다. 존재하지 않는 경우, 송신자가 가정된다.This element controls under whose authority the requests for this mapping are handled. If not present, the sender is assumed.

/mappings// mappings / runAsrunAs /sender/ sender

이 요소의 존재는 이 매핑에 대한 메시지의 송신자가 구현되어 그의 신임 하에 요구들이 처리되어야 한다는 것을 지시한다.The presence of this element indicates that the sender of the message for this mapping is implemented so that requests must be processed under its credentials.

(2) 프로파일(2) profile

동기화 프로파일은 동기화를 개시하는 데 필요한 파라미터들의 종합 세트이다. 이것은 동기화 개시를 위해 SCA에 의해 동기화 실행 시간으로 제공된다. 저장 플랫폼 대 저장 플랫폼 동기화에 대한 동기화 프로파일은 다음 정보를 포함한다.The synchronization profile is a comprehensive set of parameters needed to initiate synchronization. This is provided by the SCA as a synchronization run time to initiate synchronization. The synchronization profile for storage platform to storage platform synchronization includes the following information.

ㆍ 변경에 대한 소스 및 목표로서 기능하는 로컬 폴더Local folders that serve as the source and target for changes

ㆍ 동기화될 원격 폴더 명칭 - 이 폴더는 위에서 정의된 매핑을 통해 원격 파트너로부터 공개되어야 한다.Remote folder name to be synchronized-This folder must be made public from the remote partner via the mapping defined above.

ㆍ 방향 - 동기화 서비스는 전송만을, 수신만을, 그리고 전송-수신 동기화를 지원한다.Direction-The synchronization service supports transmission only, reception only, and transmission-receive synchronization.

ㆍ 로컬 필터 - 어떤 로컬 정보가 원격 파트너에게 전송될지를 선택한다. 로컬 폴더에 대한 저장 플랫폼 질의로서 표현된다.Local Filter-Select which local information will be sent to the remote partner. Expressed as a storage platform query for a local folder.

ㆍ 원격 필터- 원격 파트너로부터 어떤 원격 정보가 리트리브될지를 선택한다. 공동체 폴더에 대한 저장 플랫폼 질의로서 표현된다.Remote Filter-Select which remote information will be retrieved from the remote partner. Expressed as a storage platform query for community folders.

ㆍ 변환 - 로컬 포맷에 대해 어떻게 항목을 변환할지를 정의한다. Conversion-defines how items are converted for the local format.

ㆍ 로컬 보안 - 원격 엔드 포인트로부터 리트리브된 변경들이 원격 엔드포인트(의인화됨)의 허용 하에 또는 로컬 동기화를 개시하는 사용자의 허용하여 적용되어야 하는지를 지정한다. Local Security-Specifies whether changes retrieved from a remote endpoint should be applied under the permission of the remote endpoint (personified) or with the permission of the user initiating local synchronization.

ㆍ 충돌 해결 정책 - 충돌이 거부, 로그 또는 자동 해결되어야 하는지를 지정한다. 후자의 경우, 어느 충돌 해결자를 사용할지는 물론 그에 대한 구성 파라 미터를 지정한다.Conflict Resolution Policy-Specifies whether a conflict should be rejected, logged or automatically resolved. In the latter case, you specify which conflict resolver to use as well as its configuration parameters.

동기화 서비스는 동기화 프로파일들의 간단한 구축을 허용하는 실행시간 CLR 클래스를 제공한다. 프로파일들은 또한 쉬운 저장을 위해 XML 파일들에 대해 직렬화될 수 있다(종종 스케쥴과 함께). 그러나, 모든 프로파일이 저장되는 저장 플랫폼 내의 표준 장소는 없으며, SCA는 프로파일을 계속 유지하지 않고 프로파일을 스폿 상에 구축해도 좋다. 동기화를 개시하기 위해 로컬 매핑을 갖출 필요는 없다는 점에 유의한다. 모든 동기화 정보는 프로파일에서 지정될 수 있다. 그러나, 원격 측에 의해 개시되는 동기화 요구에 응답하기 위해서는 매핑이 필요하다.The synchronization service provides a runtime CLR class that allows simple construction of synchronization profiles. Profiles can also be serialized to XML files (often with a schedule) for easy storage. However, there is no standard place in the storage platform where all profiles are stored, and the SCA may build the profile on the spot without continuing to maintain the profile. Note that it is not necessary to have a local mapping to initiate synchronization. All synchronization information can be specified in the profile. However, mapping is needed to respond to synchronization requests initiated by the remote side.

(3) 스케쥴(3) schedule

일 실시예에서, 동기화 서비스는 그 자신의 스케쥴링 기반 구조를 제공하지 않는다. 그 대신, 이 작업을 수행할 다른 컴포넌트, 즉 마이크로소프트 윈도우 운영 체제에서 사용할 수 있는 윈도우 스케쥴러에 의존한다. 동기화 서비스는 SCA로서 동작하고 XML 파일에 저장된 동기화 프로파일에 기초하여 동기화를 트리거하는 명령 라인 유틸리티를 포함한다. 이 유틸리티는 스케쥴에 따라, 또는 사용자 로그온 또는 로그오프와 같은 이벤트에 응답하여 동기화를 실행하는 윈도우 스케쥴러를 구성하는 것을 용이하게 한다.In one embodiment, the synchronization service does not provide its own scheduling infrastructure. Instead, it relies on other components to perform this task: the window scheduler available in the Microsoft Windows operating system. The synchronization service includes a command line utility that acts as an SCA and triggers synchronization based on a synchronization profile stored in an XML file. This utility facilitates configuring the window scheduler to perform synchronization on a schedule or in response to events such as user logon or logoff.

d) 충돌 처리d) conflict handling

동기화 서비스에서의 충돌 처리는 3 단계, 즉 (1) 변경 적용 시간에 발생하 는 충돌 검출 단계-이 단계는 변경이 안전하게 적용될 수 있는지를 판정한다-; (2) 자동 충돌 해결 및 로깅 단계-이 단계 동안(충돌이 검출된 직후 발생함), 충돌이 해결될 수 있는지를 알아 보기 위해 자동 충돌 해결자가 참고되며, 해결될 수 없는 경우, 충돌은 선택적으로 로그된다-; 및 (3) 충돌 검사 및 해결 단계-이 단계는 소정의 충돌이 로그되어 있는 경우에 발생하며, 동기화 세션과 관련 없이 발생하는데, 이때 로그된 충돌들이 해결되어 로그로부터 제거될 수 있다.The collision processing in the synchronization service includes three steps, namely (1) a collision detection step occurring at the time of change application, which determines whether the change can be safely applied; (2) Automatic conflict resolution and logging phase-During this phase (which occurs immediately after a collision is detected), an automatic conflict resolver is consulted to see if the conflict can be resolved, and if it cannot be resolved, the conflict may optionally Is logged; And (3) Conflict checking and resolution step—This step occurs when a predetermined conflict is logged and occurs without regard to a synchronization session, where the logged conflicts can be resolved and removed from the log.

(1) 충돌 검출(1) collision detection

이 실시예에서, 동기화 서비스는 두 종류의 충돌, 즉 지식 기반 충돌 및 제한 기반 충돌을 검출한다.In this embodiment, the synchronization service detects two kinds of collisions: knowledge based collisions and restriction based collisions.

(a) 지식 기반 충돌(a) knowledge base conflict

지식 기반 충돌은 2개의 사본이 동일 변경 단위에 대해 독립적인 변경을 행할 때 발생한다. 2개의 변경은 이들이 서로에 대한 지식 없이 이루어지는 경우 독립적이라고 일컬어지는데, 즉 제1 변경의 버젼은 제2 변경에 대한 지식에 의해 커버되지 않으며, 그 반대의 경우도 그러하다. 동기화 서비스는 전술한 바의 사본의 지식에 기초한 모든 충돌을 자동 검출한다. Knowledge base conflicts arise when two copies make independent changes to the same unit of change. The two changes are said to be independent if they are made without knowledge of each other, ie the version of the first change is not covered by the knowledge of the second change and vice versa. The synchronization service automatically detects all conflicts based on the knowledge of the copy as described above.

충돌을 종종, 변경 단위의 버젼 이력 내의 포크(fork)로 간주하는 것이 도움이 될 수 있다. 변경 단위의 생애에 충돌이 발생하지 않는 경우, 그 버젼 이력은 간단한 체인이며, 즉 각각의 변경은 이전 변경 후에 발생한다. 지식 기반 충돌의 경우, 2개의 변경은 동시에 발생하여, 체인 분할되어 버젼 트리가 되게 한다. Often, it can be helpful to regard a collision as a fork in the version history of the change unit. If no conflict occurs in the life of the change unit, its version history is a simple chain, ie each change occurs after a previous change. In the case of knowledge base collisions, the two changes occur at the same time, causing the chain to be split into version trees.

(b) 제한 기반 충돌(b) restriction-based conflicts

독립적인 변경들이 함께 적용될 때 보전 제한을 위반하는 경우가 있다. 예컨대, 동일 디렉토리에 동일 명칭을 가진 파일을 생성하는 2개의 복제는 이러한 충돌을 발생시킬 수 있다. When independent changes are applied together, there is a violation of conservation restrictions. For example, two replicas that create a file with the same name in the same directory can cause this conflict.

제한 기반 충돌은 2개의 독립적인 변경(지식 기반 충돌과 똑같이)을 수반하지만, 이들은 동일 변경 단위에 영향을 미치지 않는다. 오히려, 이들은 상이하지만 그 사이에 제한이 존재하는 변경 단위들에 영향을 미친다.Constraints-based collisions involve two independent changes (just like knowledge-based collisions), but they do not affect the same unit of change. Rather, they affect change units that differ but have limitations in between.

동기화 서비스는 변경 적용시에 제한 위반을 검출하여 제한 기반 충돌을 자동으로 발생시킨다. 제한 기반 충돌의 해결은 대개 제한을 위반하지 않는 방식으로 변경을 수정하는 커스텀 모드를 요구한다. 동기화 서비스는 이를 행하기 위한 범용 메커니즘을 제공하지 않는다.The synchronization service automatically detects limit violations when applying changes and automatically generates limit-based conflicts. Resolving restriction-based conflicts usually requires a custom mode that modifies the change in a way that does not violate the restriction. The synchronization service does not provide a general purpose mechanism for doing this.

(2) 충돌 처리(2) conflict handling

충돌이 검출된 때, 동기화 서비스는 (동기화 프로파일에서 동기화 개시자에 의해 선택되는) 3가지 동작 중 하나, 즉 변경을 거부하고 이것을 다시 송신자에게 리턴하거나, (2) 충돌을 충돌 로그에 로그하거나, (3) 충돌을 자동으로 해결하는 동작을 취할 수 있다. When a conflict is detected, the synchronization service either selects one of three actions (selected by the synchronization initiator in the synchronization profile): reject the change and return it back to the sender, (2) log the conflict in the conflict log, (3) An action can be taken to automatically resolve the conflict.

변경이 거부되면, 동기화 서비스는 변경이 사본에 도달하지 않는 것처럼 동 작한다. 부정 응답이 발신자에게 전송된다. 이러한 해결 정책은 주로 충돌의 로깅이 가능하지 않은 헤드 없는 사본들(예를 들어, 파일 서버)에 유용하다. 그 대신, 이러한 사본들은 다른 사본들이 충돌을 거절함으로써 충돌을 처리하도록 시킨다.If the change is rejected, the synchronization service behaves as if the change did not reach the copy. A negative response is sent to the sender. This resolution policy is primarily useful for headless copies (e.g. file servers) for which logging of conflicts is not possible. Instead, these copies allow other copies to handle the conflict by rejecting the conflict.

동기 개시자들은 이들의 동기화 프로파일에 충돌 해결을 구성한다. 동기화 서비스는 다음과 같은 방법으로, 즉 성공할 때까지 하나씩 시도될 충돌 해결자들의 리스트를 지정한 후, 충돌 해결자들을 충돌 타입들에 연관시킴으로써, 즉 갱신-갱신 지식 기반 충돌들을 하나의 해결자로 전송하지만 다른 모든 충돌들을 로그로 전송함으로써 단일 프로파일에 다수의 충돌 해결자를 결합시키는 것을 지원한다.Sync initiators configure conflict resolution in their synchronization profile. The synchronization service specifies the list of conflict resolvers to be tried one by one until it succeeds, and then associates the conflict resolvers with the conflict types, ie sending update-update knowledge base conflicts to one resolver. Sending all other conflicts to the log supports combining multiple conflict resolvers into a single profile.

(a) 자동 충돌 해결(a) Automatic conflict resolution

동기화 서비스는 다수의 디폴트 충돌 해결자를 제공한다. 이 리스트는 다음을 포함한다.The synchronization service provides a number of default conflict resolvers. This list includes:

ㆍ 로컬 윈(win): 로컬 저장 데이터를 가진 충돌에서의 경우, 들어오는 변경을 무시한다.Local win: In case of a conflict with local stored data, the incoming changes are ignored.

ㆍ 원격 윈: 들어오는 변경을 가진 충돌에서의 경우, 로컬 데이터를 무시한다. Remote Win: In case of a conflict with an incoming change, ignore local data.

ㆍ 최종 작성자 윈: 변경의 타임 스탬프에 기초하여 변경 단위마다 로컬 윈 또는 원격 윈을 선택한다(일반적으로 동기화 서비스는 클럭 값에 의존하지 않는데, 이 충돌 해결자는 이 규칙에 대한 단 하나의 예외이다).Final author win: Selects a local win or a remote win per change unit based on the time stamp of the change (generally, the synchronization service does not depend on the clock value, this conflict resolver is the only exception to this rule). .

ㆍ 결정론적임: 모든 사본 상에서 동일하도록, 그렇지 않은 경우 무의미한 것을 보장하는 방식으로 위너를 선택하는데, 동기화 서비스의 일 실시예에서는 파트너 ID의 사전 편집 비교를 사용하여 이 기능을 구현한다.Deterministic: We select Wiener in such a way as to ensure that it is otherwise insignificant on all copies, in one embodiment of the synchronization service using preedit comparisons of partner IDs to implement this functionality.

또한, ISV는 그 자신의 충돌 해결자를 구현하고 설치할 수 있다. 고객 충돌 해결자들은 구성 파라미터들을 받아들일 수 있는데, 이 파라미터들은 동기화 프로파일의 충돌 해결 섹션에서 SCA에 의해 지정되어야 한다.An ISV can also implement and install its own conflict resolver. Customer conflict resolvers can accept configuration parameters, which must be specified by the SCA in the conflict resolution section of the synchronization profile.

충돌 해결자는 충돌을 처리할 때 (충돌 변경 대신에) 수행되어야 하는 동작들의 리스트를 실행시간으로 리턴한다. 이후, 동기화 서비스는 충돌 핸들러가 고려하고 있는 것을 포함하도록 적절히 조정된 원격 지식을 가진 이들 동작들을 적용한다. The conflict resolver returns to runtime a list of actions that should be performed (instead of conflict changes) when handling the conflict. The synchronization service then applies these operations with remote knowledge properly tuned to include what the conflict handler is considering.

해결을 적용하는 동안 다른 충돌이 검출될 수 있다. 이 경우, 새로운 충돌은 원래의 처리를 재개하기 전에 해결되어야 한다.Other conflicts may be detected while applying the solution. In this case, the new conflict must be resolved before resuming the original process.

충돌을 항목의 버젼 이력에서 분기로서 간주할 때, 충돌 해결은 2개의 분기를 단일 포인트를 형성하도록 결합한 연결로서 보여질 수 있다. 따라서, 충돌 해결은 버젼 이력을 DAG로 바꾼다. When considering a conflict as a branch in an item's version history, conflict resolution can be seen as a join that combines two branches to form a single point. Thus, conflict resolution changes the version history to DAG.

(b) 충돌 로깅(b) conflict logging

충돌 해결자의 매우 특이한 한 종류는 충돌 로거이다. 동기화 서비스는 충돌을 타입 ConflictRecord의 항목으로서 로그한다. 이 레코드는 충돌하고 있는 항목들과 다시 관련된다(항목들 자체가 삭제되지 않은 경우). 각 충돌 레코드는 충 돌을 유발하는 들어오는 변경, 충돌의 타입, 즉 갱신-갱신, 갱신-삭제, 삭제-갱신, 삽입-삽입, 또는 제한, 및 들어오는 변경의 버젼 및 이를 전송하는 사본에 대한 지식을 포함한다. 로그된 충돌들은 후술하는 바와 같이 검사 및 해결에 사용될 수 있다. One very unusual kind of conflict resolver is a collision logger. The synchronization service logs the conflict as an item of type ConflictRecord. This record is associated with the conflicting items again (if the items themselves are not deleted). Each conflict record contains knowledge of the incoming change that caused the conflict, the type of conflict, that is, update-update, update-delete, delete-update, insert-insert, or limit, and the version of the incoming change and the copy that sent it. Include. Logged conflicts can be used for inspection and resolution as described below.

(c) 충돌 검사 및 해결(c) collision detection and resolution

동기화 서비스는 충돌 로그를 검사하고 그 안에 충돌의 해결을 제안하기 위해 애플리케이션에 대한 API를 제공한다. API는 애플리케이션이 모든 충돌, 또는 주어진 항목에 관한 충돌을 열거하는 것을 허용한다. API는 또한 이러한 애플리케이션이 세가지 방법, 즉 (1) 로그된 변경을 수용하고 충돌하는 로컬 변경을 덮어쓰는 원격 윈, (2) 로그된 변경의 충돌하는 부분을 무시하는 로컬 윈, 및 (3) 애플리케이션이 그의 의견에서 충돌을 해결하는 병합을 제안하는 새로운 변경 제안 중 하나로 로그된 충돌을 해결하는 것을 허용한다. 애플리케이션에 의해 충돌이 해결되면, 동기화 서비스는 로그로부터 제거된다. The synchronization service provides an API to the application to examine the crash log and suggest resolving conflicts in it. The API allows an application to enumerate all conflicts, or conflicts about a given item. The API also allows these applications to do three things: (1) remote wins that accept logged changes and overwrite conflicting local changes, (2) local wins that ignore conflicting portions of logged changes, and (3) applications. This allows him to resolve logged conflicts with one of the new change proposals that suggest merging to resolve conflicts. When the conflict is resolved by the application, the synchronization service is removed from the log.

(d) 사본의 수렴 및 충돌 해결의 전파(d) dissemination of copies and dissemination of conflict resolution;

복잡한 동기화 시나리오에서, 동일한 충돌이 다수의 사본에서 검출될 수 있다. 이것이 발생할 경우, 여러 가지가 발생할 수 있는데, 즉 (1) 충돌이 하나의 사본에서 해결되고, 이 해결이 다른 사본으로 전송되거나, (2) 충돌이 양 사본에서 자동으로 해결되거나, (3) 충돌이 양 사본에서 수동으로(충돌 검사 API를 통해) 해 결될 수 있다.In complex synchronization scenarios, the same conflict may be detected in multiple copies. When this happens, several things can happen: (1) the conflict is resolved on one copy, this resolution is sent to another copy, (2) the conflict is automatically resolved on both copies, or (3) the conflict In both copies, this can be resolved manually (via the collision detection API).

수렴을 보장하기 위해, 동기화 서비스는 충돌 해결을 다른 사본으로 전송한다. 충돌을 해결하는 변경이 사본에 도달할 때, 동기화 서비스는 로그에서 이 갱신에 의해 해결되는 임의의 충돌 레코드들을 찾아 이들을 제거한다. 이러한 의미에서, 하나의 사본에서의 충돌 해결은 모든 다른 사본에 결합된다. To ensure convergence, the synchronization service sends conflict resolution to another copy. When a conflict-resolving change reaches the copy, the synchronization service finds any conflicting records in the log that are resolved by this update and removes them. In this sense, conflict resolution in one copy is combined in all other copies.

동일 충돌에 대해 상이한 사본들에 의해 상이한 위너들이 선택되는 경우, 동기화 서비스는 충돌 해결을 결합하는 원리를 적용하여 2개의 해결 중 하나를 나머지에 대해 자동으로 승리하도록 선택한다. 위너는 항상 동일한 결과를 생성하는 것을 보장하는 결정론적 방식으로 선택된다(일 실시예는 사본 ID 사전 편집 비교를 사용한다).If different winners are selected by different copies for the same conflict, the synchronization service chooses to automatically win one of the two resolutions by applying the principle of combining conflict resolutions. Winners are selected in a deterministic manner that ensures that they always produce the same result (one embodiment uses copy ID preedit comparisons).

동일 충돌에 대해 상이한 사본들에 의해 상이한 "새로운 변경들"이 제안되는 경우, 동기화 서비스는 이 새로운 충돌을 특수 충돌로서 취급하고, 충돌 로거를 사용하여 이 새로운 충돌이 다른 사본들로 전파되는 것을 방지한다. 이러한 상황은 일반적으로 수동 충돌 해결에서 발생한다.If different "new changes" are proposed by different copies for the same conflict, the synchronization service treats this new conflict as a special conflict and uses a collision logger to prevent this new conflict from propagating to other copies. do. This situation usually arises from manual conflict resolution.

2. 비저장 플랫폼 데이터 저장소에 대한 동기화2. Synchronize for non-storage platform data store

본 발명의 저장 플랫폼의 다른 양태에 따르면, 저장 플랫폼은 저장 플랫폼이 마이크로소프트 익스체인지, AD, 핫메일 등과 같은 레거시 시스템에 동기화하는 것을 허용하는 동기화 어댑터를 구현하기 위해 ISV에 대한 구조를 제공한다. 동기 어댑터는 후술하는 바와 같이 동기화 서비스에 의해 제공되는 많은 동기화 서비스 로부터 이익을 얻는다. According to another aspect of the storage platform of the present invention, the storage platform provides a structure for an ISV to implement a synchronization adapter that allows the storage platform to synchronize to legacy systems such as Microsoft Exchange, AD, Hotmail, and the like. Synchronous adapters benefit from many of the synchronization services provided by the synchronization service as described below.

그 명칭에도 불구하고, 동기화 어댑터는 소정의 저장 플랫폼 구조 내로의 플러그-인으로서 구현될 필요는 없다. 원할 경우, "동기 어댑터"는 단지 동기화 서비스 실행시간 인터페이스를 사용하여 변경 열거 및 적용과 같은 서비스를 얻는 임의의 애플리케이션일 수 있다.Notwithstanding its name, the synchronization adapter need not be implemented as a plug-in into any storage platform structure. If desired, a "sync adapter" may be any application that simply obtains services such as change enumeration and application using the synchronization service runtime interface.

다른 것들이 주어진 백엔드에 대한 동기화를 구성하고 실행하는 것을 보다 간단하게 하기 위해, 동기 어댑터 작성자는 전술한 바와 같이 동기화 프로파일이 주어질 때 동기화를 실행하는 표준 동기화 어댑터 인터페이스를 노출시키도록 권장된다. 프로파일은 구성 정보를 어댑터에 제공하며, 어댑터는 그 중 일부를 실행 시간에 전달하여 실행시간 서비스(예컨대, 폴더 동기화)를 제어한다. To make it simpler for others to configure and implement synchronization for a given backend, the sync adapter author is recommended to expose a standard sync adapter interface that performs synchronization when given a synchronization profile as described above. Profiles provide configuration information to the adapter, which passes some of it at runtime to control runtime services (eg, folder synchronization).

a) 동기화 서비스a) synchronization service

*동기화 서비스는 다수의 동기화 서비스를 어댑터 작성자에게 제공한다. 이 섹션의 나머지에서는 저장 플랫폼이 동기화를 행하고 있는 기기를 "클라이언트"로, 어댑터가 대화하고 있는 비저장 플랫폼 백엔드를 "서버"로 지칭하는 것이 편리하다. Synchronization services provide a number of synchronization services to adapter writers. In the remainder of this section, it is convenient to refer to the device that the storage platform is synchronizing with as "client" and the non-storage platform backend with which the adapter is talking as "server."

(1) 변경 열거(1) change enumeration

동기화 서비스에 의해 유지되는 변경 추적 데이터에 기초하여, 변경 열거는 동기 어댑터가 데이터 저장소 폴더에 대해 이 파트너와의 지난번 동기화가 시도된 후에 발생한 변경들을 쉽게 열거하는 것을 허용한다. Based on the change tracking data maintained by the synchronization service, change enumeration allows the sync adapter to easily enumerate changes that have occurred since the last synchronization with this partner for the data store folder.

변경들은 최종 동기화에 대한 정보를 표현하는 불투명 구조인 "앵커"의 개념에 기초하여 열거된다. 앵커는 이전 섹션에서 설명한 바와 같이 저장 플랫폼 지식의 형태를 갖는다. 변경 열거 서비스를 사용하는 동기 어댑터들은 2개의 넓은 카테고리, 즉 "저장된 앵커"를 사용하는 어댑터들 및 "제공된 앵커"를 사용하는 어댑터들로 분류된다. Changes are listed based on the concept of "anchor", an opaque structure that represents information about final synchronization. The anchor takes the form of storage platform knowledge as described in the previous section. Synchronous adapters using the change enumeration service fall into two broad categories: adapters using "stored anchors" and adapters using "provided anchors".

그 차이는 최종 동기화에 대한 정보가 클라이언트에 저장되는지, 또는 서버에 저장되는지에 기초한다. 종종, 어댑터가 클라이언트 상에 이 정보를 저장하는 것이 더 쉬우며, 백엔드는 종종 이 정보를 편리하게 저장할 수 없다. 한편, 다수의 클라이언트가 동일한 백엔드에 동기화할 경우, 클라이언트 상에 이 정보를 저장하는 것은 비효율적이며, 몇몇 경우에는 옳지 않은데, 이는 하나의 클라이언트가 다른 클라이언트가 이미 서버에게로 푸시한 변경을 알지 못하게 한다. 어댑터가 서버에 저장된 앵커를 사용하기를 원하는 경우, 어댑터는 이 앵커를 변경 열거시에 저장 플랫폼에 제공할 필요가 있다. The difference is based on whether information about the final synchronization is stored on the client or on the server. Often, it is easier for the adapter to store this information on the client, and the backend often cannot store this information conveniently. On the other hand, if multiple clients are synchronizing to the same backend, storing this information on the client is inefficient, and in some cases incorrect, which prevents one client from knowing the changes that another client has already pushed to the server. . If the adapter wants to use an anchor stored on the server, the adapter needs to provide this anchor to the storage platform at enumeration of changes.

저장 플랫폼이 앵커를 (로컬 또는 원격 저장소에 대해) 유지하기 위하여, 저장 플랫폼은 서버에서 성공적으로 적용된 변경들을 알 필요가 있다. 이 변경들만이 앵커에 포함될 수 있다. 변경 열거 동안, 동기화 어댑터는 어느 변경들이 성공적으로 적용되었는지를 보고하기 위해 확인 인터페이스를 사용한다. 동기화의 종료시, 제공된 앵커를 사용하는 어댑터들은 새로운 앵커(성공적으로 적용된 변경들 모두를 포함함)를 판독하여 이를 그들의 백엔드로 전송해야 한다.In order for the storage platform to maintain anchors (for local or remote storage), the storage platform needs to know the changes that have been successfully applied at the server. Only these changes can be included in the anchor. During change enumeration, the synchronization adapter uses an acknowledgment interface to report which changes were applied successfully. At the end of synchronization, adapters using the provided anchor must read the new anchor (including all successfully applied changes) and send it to their backend.

종종, 어댑터들은 이들이 저장 플랫폼 데이터 저장소에 삽입하는 항목들과 함께 어댑터 특정 데이터를 저장할 필요가 있다. 이러한 데이터의 일반 예는 원격 ID 및 원격 버젼(타임 스탬프)이다. 동기화 서비스는 이러한 데이터를 저장하기 위한 메커니즘을 제공하며, 변경 열거는 이러한 여분의 데이터를 리턴되는 변경과 함께 수신하기 위한 메커니즘을 제공한다. 이것은 대부분의 경우에 어댑터들이 데이터베이스에 재질의할 필요를 없앤다. Often, adapters need to store adapter specific data along with the items they insert into the storage platform data store. General examples of such data are remote ID and remote version (time stamp). The synchronization service provides a mechanism for storing this data, and change enumeration provides a mechanism for receiving this extra data with the returned change. This eliminates the need for adapters to materialize in the database in most cases.

(2) 변경 적용(2) apply changes

변경 적용은 동기화 어댑터들이 그들의 백엔드로부터 수신되는 변경들을 로컬 저장 플랫폼에 적용하는 것을 허용한다. 어댑터들은 변경들을 저장 플랫폼 스키마로 변환할 것으로 예상된다.Change application allows synchronization adapters to apply changes received from their backend to the local storage platform. Adapters are expected to convert changes to the storage platform schema.

변경 적용의 주요 기능은 충돌을 자동으로 검출하는 것이다. 저장 플랫폼-저장 플랫폼 동기화의 경우에서와 같이, 충돌은 2개의 중복 변경이 서로에 대한 지식 없이 행해지는 것으로서 정의된다. 어댑터들이 변경 적용을 사용할 때, 이들은 충돌 검출 수행과 관련될 앵커를 지정해야 한다. 변경 적용은 어댑터의 지식에 의해 커버되지 않는 중복 로컬 변경이 검출되는 경우에 충돌을 발생시킨다. 변경 열거와 유사하게, 어댑터들은 저장 또는 제공된 앵커를 사용할 수 있다. 변경 적용은 어댑터 특정 메타데이터의 효율적인 저장을 지원한다. 이러한 데이터는 어댑터에 의해 적용되고 있는 변경들에 첨부될 수 있으며, 동기화 서비스에 의해 저장될 수 있다. 데이터는 다음 변경 열거시에 리턴될 수 있다.The main function of applying changes is to automatically detect collisions. As in the case of storage platform-storage platform synchronization, a collision is defined as two duplicate changes being made without knowledge of each other. When the adapters use change apply, they must specify the anchors to be involved in performing collision detection. Change application causes a crash if a duplicate local change is detected that is not covered by the knowledge of the adapter. Similar to change enumeration, adapters can use a stored or provided anchor. Change adaptation supports efficient storage of adapter specific metadata. Such data may be attached to changes being applied by the adapter and may be stored by the synchronization service. The data can be returned on the next change enumeration.

(3) 충돌 해결(3) conflict resolution

전술한 충돌 해결 메커니즘(로깅 및 자동 해결 옵션)은 또한 동기화 어댑터들이 사용할 수 있다. 동기화 어댑터들은 변경을 적용할 때 충돌 해결을 위한 정책을 지정할 수 있다. 지정된 경우, 충돌들은 지정된 충돌 핸들러로 전달되어 (가능한 경우) 해결될 수 있다. 충돌들은 또한 로그될 수 있다. 어댑터는 로컬 변경을 백엔드에 적용하려고 시도할 때 충돌을 검출할 수 있다. 이 경우, 어댑터는 여전히 정책에 따라 해결되도록 동기화 실행시간에 충돌을 전달할 수 있다. 또한, 동기화 어댑터들은 동기화 서비스에 의해 검출된 임의의 충돌들이 처리를 위해 그들에게 전송될 것을 요구할 수 있다. 이것은 특히 백엔드가 충돌을 저장하거나 해결할 수 있는 경우에 편리하다.The aforementioned conflict resolution mechanism (logging and auto resolution option) can also be used by synchronization adapters. Synchronization adapters can specify a policy for conflict resolution when applying changes. If specified, conflicts can be passed to the specified conflict handler (if possible) and resolved. Conflicts can also be logged. The adapter may detect a conflict when attempting to apply local changes to the backend. In this case, the adapter can still propagate the conflict at synchronization runtime to resolve according to the policy. In addition, synchronization adapters may require that any conflicts detected by the synchronization service be sent to them for processing. This is particularly convenient if the backend can save or resolve the collision.

b) 어댑터 구현b) adapter implementation

몇몇 어댑터들은 단지 실행시간 인터페이스를 사용하는 애플리케이션이지만, 어댑터들은 표준 어댑터 인터페이스를 구현하도록 권장된다. 이들 인터페이스는 동기화 제어 애플리케이션들이 어댑터가 주어진 동기화 프로파일에 따라 동기화를 수행할 것을 요구하고, 진행중인 동기화를 취소하고, 진행중인 동기화에 대한 진행 보고를 수신하는 것을 허용한다. Some adapters are just applications that use runtime interfaces, but adapters are recommended to implement a standard adapter interface. These interfaces allow synchronization control applications to require the adapter to perform synchronization in accordance with a given synchronization profile, cancel ongoing synchronization, and receive progress reports on ongoing synchronization.

3. 보안3. Security

동기화 서비스는 저장 플랫폼에 의해 구현되는 보안 모델에 가능한 적게 도입하려고 노력한다. 동기화에 대한 새로운 권리를 정의하기보다는 기존 권리를 사용한다. 구체적으로는 다음과 같다.The synchronization service seeks to introduce as little as possible into the security model implemented by the storage platform. Use existing rights rather than defining new rights for synchronization. Specifically, it is as follows.

ㆍ 데이터 저장소 항목을 판독할 수 있는 누구라도 그 항목에 대한 변경을 열거할 수 있다.Anyone who can read a data store item can enumerate changes to that item.

ㆍ 데이터 저장소 항목에 기록할 수 있는 누구라도 그 항목에 변경을 적용할 있다.Anyone who can write to a data store item can apply changes to that item.

ㆍ 데이터 저장소 항목을 확장할 수 있는 누구라도 동기화 메타데이터를 그 항목과 연관시킬 수 있다.Anyone who can extend a data store item can associate synchronization metadata with that item.

동기화 서비스는 보안 저자 정보를 유지하지 않는다. 사용자 U에 의해 사본 A에 변경이 행해져 사본 B로 전송될 때, 변경이 A에서(또는 U에 의해) 최초로 이루어졌다는 사실은 없어진다. B가 이 변경을 사본 C로 전송하는 경우, 이것은 A의 권한이 아니라 B의 권한 하에 이루어진다. 이것은 다음과 같은 제한을 유발하는데, 즉 사본이 항목에 대해 그 자신의 변경을 만들 권한이 없는 경우, 이 사본은 다른 사본들에 의해 만들어진 변경을 전송할 수 없다.The synchronization service does not maintain secure author information. When a change is made to copy A by user U and sent to copy B, the fact that the change was first made at A (or by U) is lost. If B sends this change to copy C, it is under B's authority, not A's authority. This causes the following limitations: If a copy does not have the authority to make its own changes to an item, this copy cannot transfer changes made by other copies.

동기화 서비스가 개시될 때, 이것은 동기화 제어 애플리케이션에 의해 행해진다. 동기화 서비스는 SCA의 식별자를 의인화하며, 이 식별자 하에 모든 동작(로컬 및 원격 양자)을 수행한다. 예를 들어, 사용자 U는 로컬 동기화 서비스가 사용자 U가 판독 액세스하지 않은 항목들에 대해 원격 저장 플랫폼으로부터 변경을 리 트리브하게 할 수 없다는 점에 유의한다.When the synchronization service is started, this is done by the synchronization control application. The synchronization service personifies an identifier of the SCA and performs all operations (both local and remote) under this identifier. For example, note that user U cannot cause the local synchronization service to retrieve changes from the remote storage platform for items that user U does not have read access to.

4. 관리성4. Manageability

사본들의 분산 공동체 모니터링은 복잡한 문제이다. 동기화 서비스는 사본들의 상태에 대한 정보를 수집하고 분배하기 위해 "스위프" 알고리즘을 사용할 수 있다. 스위프 알고리즘의 속성들은 구성된 모든 사본들에 대한 정보가 결국 수집되고, 실패(무응답) 사본들이 검출되는 것을 보장한다. Distributed community monitoring of copies is a complex problem. The synchronization service may use a "sweep" algorithm to collect and distribute information about the status of the copies. The properties of the sweep algorithm ensure that information about all configured copies is eventually collected and that failed (unresponsive) copies are detected.

이러한 공동체 전체 모니터링 정보는 모든 사본에서 사용 가능하게 된다. 모니터링 툴은 임의의 선택된 사본에서 실행되어 이 모니터링 정보를 검사하고 관리적 결정을 행할 수 있다. 영향을 받은 사본들에서 직접 임의의 구성 변경이 행해져야 한다.This community-wide monitoring information will be available in all copies. The monitoring tool can be run on any selected copy to examine this monitoring information and make administrative decisions. Any configuration change should be made directly in the affected copies.

G. 통상적인 파일 시스템 연동성G. Normal File System Interoperability

전술한 바와 같이, 본 발명의 저장 플랫폼은 적어도 몇몇 실시예에서 컴퓨터 시스템의 하드웨어/소프트웨어 인터페이스 시스템의 통합 부분으로서 구현된다. 예컨대, 본 발명의 저장 플랫폼은 마이크로소프트 윈도우 운영 체제 패밀리와 같은 운영 체제의 통합 부분으로서 구현될 수 있다. 그 능력에 있어서, 저장 플랫폼 API는 애플리케이션 프로그램들이 운영 체제와 상호작용할 수 있게 하는 운영 체제 API의 일부가 된다. 따라서, 저장 플랫폼은 애플리케이션 프로그램들이 운영 체제에서 정보를 저장하게 하는 수단이 되며, 따라서 저장 플랫폼의 항목 기반 데이터 모델은 운영 체제의 통상적인 파일 시스템을 대체한다. 예를 들어, 마이크로소프 트 윈도우 운영 체제 패밀리에서 구현되는 바와 같이, 저장 플랫폼은 이 운영 체제에서 구현된 NTFS 파일 시스템을 대체할 수 있다. 현재, 애플리케이션 프로그램들은 윈도우 운영 체제 패밀리에 의해 노출되는 Win32 API를 통해 NTFS 파일 시스템의 서비스에 액세스한다.As mentioned above, the storage platform of the present invention is implemented as an integral part of the hardware / software interface system of the computer system in at least some embodiments. For example, the storage platform of the present invention may be implemented as an integral part of an operating system, such as the Microsoft Windows operating system family. In that capacity, the storage platform API becomes part of the operating system API that allows application programs to interact with the operating system. Thus, the storage platform is a means for application programs to store information in the operating system, so the item-based data model of the storage platform replaces the usual file system of the operating system. For example, as implemented in the Microsoft Windows operating system family, the storage platform can replace the NTFS file system implemented in this operating system. Currently, application programs access services in the NTFS file system through Win32 APIs exposed by the Windows operating system family.

그러나, NTFS 파일 시스템을 본 발명의 저장 플랫폼으로 완전히 대체하는 것은 기존 Win32 기반 애플리케이션 프로그램들의 재코딩을 필요로하고, 이러한 재코딩은 바람직하지 않을 수 있다는 것을 고려하면, 본 발명의 저장 플랫폼이 NTFS와 같은 기존 파일 시스템과의 소정의 연동성을 제공하는 것이 이로울 것이다. 따라서, 본 발명의 일 실시예에서, 저장 플랫폼은 Win32 프로그래밍 모델에 의존하는 애플리케이션 프로그램들이 통상의 NTFS 파일 시스템은 물론, 저장 플랫폼의 양 데이터 저장소의 콘텐츠에 액세스하는 것을 가능하게 한다. 이 때문에, 저장 플랫폼은 연동을 용이하게 하기 위해 Win32 명명 규약의 수퍼 세트인 명명 규약을 사용한다. 또한, 저장 플랫폼은 Win32 API를 통해 저장 플랫폼 볼륨에 저장된 파일 및 디렉토리에 액세스하는 것을 지원한다.However, fully replacing the NTFS file system with the storage platform of the present invention requires the recoding of existing Win32-based application programs, and such recoding may be undesirable, suggesting that the storage platform of the present invention may be used with NTFS. It would be advantageous to provide some interoperability with the same existing file system. Thus, in one embodiment of the present invention, the storage platform enables application programs that rely on the Win32 programming model to access the contents of both data stores of the storage platform as well as the conventional NTFS file system. Because of this, the storage platform uses a naming convention that is a superset of the Win32 naming convention to facilitate interoperability. In addition, the storage platform supports accessing files and directories stored on storage platform volumes via the Win32 API.

1. 연동성에 대한 모델1. Model for interoperability

본 발명의 이 양태에 따르고, 전술된 실시예에 따르면, 저장 플랫폼은 비 파일 항목(non-file item) 및 파일 항목이 체계화될 수 있는 하나의 명칭 공간을 구현한다. 이 모델에 의해, 다음의 이점들이 취해진다:In accordance with this aspect of the present invention and in accordance with the embodiments described above, the storage platform implements a non-file item and one namespace in which file items can be organized. By this model, the following advantages are taken:

1. 데이터 저장소 내의 폴더들은 파일 및 비 파일 항목 모두를 포함할 수 있으므로, 파일 및 스키마화된 데이터를 위한 단일 명칭 공간을 나타낸다. 또한, 이 것은 모든 사용자 데이터에 대해 균일한 보안, 공유 및 관리 모델을 제공한다.1. Folders within a data store can contain both file and non-file items, thus representing a single namespace for files and schematized data. It also provides a uniform security, sharing and management model for all user data.

2. 이 접근법에는 파일 및 비 파일 항목 모두가 저장 플랫폼 API를 사용하여 액세스가능하고 파일에 강요되는 특정한 규칙이 없기 때문에, 이것은 애플리케이션 개발자가 또다시 작업하기에 보다 좋은 프로그래밍 모델을 제시한다.2. This approach presents a better programming model for application developers to work on again because both file and non-file items are accessible using the storage platform APIs and there are no specific rules enforced on files.

3. 모든 명칭 공간은 저장 플랫폼을 통해 전달되며, 이에 따라 동기적으로 처리된다. 깊은 속성 증진(파일 콘텐츠를 버림)은 여전히 비동기적으로 일어나지만, 동기적인 동작은 사용자와 애플리케이션에게 훨씬 더 예측가능한 환경을 제공한다는 것을 명심하는 것이 중요하다.3. All namespaces are passed through the storage platform and are therefore processed synchronously. While deep attribute enhancements (discarding file content) still occur asynchronously, it is important to keep in mind that synchronous operations provide a much more predictable environment for users and applications.

본 실시예에서, 이 모델의 결과로서, 저장 플랫폼 데이터 저장소로 이주되지 않는 데이터 소스에 대한 검색 능력이 제공되지 않을 수 있다. 이것은 분리형 매체, 원격 서버 및 로컬 디스크 상의 파일들을 포함한다. 외부 파일 시스템에 상주하는 항목에 대한 저장 플랫폼 내에 프록시 항목(쇼트컷 + 증진된 메타데이터)을 나타내는 동기화 어댑터가 제공된다. 프록시 항목은 데이터 소스의 명칭 공간 계층 구조의 관점 또는 보안의 관점에서 파일을 모방하려 하지 않는다.In this embodiment, as a result of this model, search capabilities may not be provided for data sources that are not migrated to the storage platform data repository. This includes files on removable media, remote servers and local disks. A synchronization adapter is provided that represents proxy items (shortcuts + enhanced metadata) within the storage platform for items residing in an external file system. Proxy entries do not attempt to mimic files in terms of data source namespace hierarchy or in terms of security.

파일 콘텐츠와 비 파일 콘텐츠 간의 프로그래밍 모델 및 명칭 공간 상에 이루어진 균형은 시간이 지남에 따라 파일 시스템으로부터 저장 플랫폼 데이터 저장소 내의 보다 구조화된 항목들로 콘텐츠를 이주하기 위한 보다 나은 경로를 애플리케이션에 제공한다. 저장 플랫폼 데이터 저장소 내의 원시 파일 항목 타입을 제공함으로써, 애플리케이션 프로그램은 Win32를 통해 여전히 파일 데이터를 조작할 수 있으면서 그 파일 데이터를 저장 플랫폼으로 이행시킬 수 있다. 결국, 애플리케이 션 프로그램은 저장 플랫폼 API로 완벽하게 이주시키고, 파일보다는 저장 플랫폼 항목의 관점에서 그들의 데이터를 구성할 수 있다.The balance made on the programming model and namespace between file content and non-file content provides an application with a better path for migrating content from the file system to more structured items in the storage platform data store over time. By providing a raw file item type in the storage platform data store, the application program can still manipulate the file data via Win32 while transitioning the file data to the storage platform. Eventually, application programs can migrate seamlessly to storage platform APIs and organize their data in terms of storage platform items rather than files.

2. 데이터 저장 기능2. Data storage function

바람직한 연동성 레벨을 제공하기 위해, 일 실시예에서는 다음의 저장 플랫폼 데이터 저장소 기능이 구현된다.In order to provide the desired level of interoperability, in one embodiment the following storage platform data storage functions are implemented.

a) 볼륨이 아님a) not a volume

저장 플랫폼 데이터 저장소는 개별적인 파일 시스템 볼륨으로 노출되지 않는다. 저장 플랫폼은 NTFS 상에 직접적으로 호스팅된 FILESTREAM들이 영향을 준다. 따라서, 온-디스크 포맷이 변경되지 않으며, 이에 따라 볼륨 레벨의 새로운 파일 시스템으로 저장 플랫폼을 노출시킬 필요가 없게 한다.Storage Platform Data storage is not exposed as individual file system volumes. The storage platform is affected by FILESTREAMs hosted directly on NTFS. Thus, the on-disk format is not changed, thereby eliminating the need to expose the storage platform to a new file system at the volume level.

대신, 데이터 저장소(명칭 공간)는 NTFS 볼륨에 대응하게 구성된다. 이 명칭 공간의 일부분을 지원하는 데이터베이스 및 FILESTREAM은 저장 플랫폼 데이터 저장소가 연관된 NTFS 볼륨에 위치한다. 시스템 볼륨에 대응하는 데이터 저장소도 또한 제공된다.Instead, the data store (name space) is configured to correspond to NTFS volumes. Databases and FILESTREAMs that support part of this namespace are located on the NTFS volume with which the storage platform data store is associated. A data store corresponding to the system volume is also provided.

b) 저장소 구조b) storage structure

저장소의 구조가 예와 함께 잘 예시되어 있다. 예를 들어, 도 16에 예시된 바와 같이, HomeMachine으로 명칭된 기기의 시스템 볼륨 상의 디렉토리 트리를 고 려해 보자. 본 발명의 파일 시스템 연동성 기능에 따라, C:\drive에 대응하여, 예를 들어 "WinFSOnC"라고 불리는 UNC 공유를 통해 Win32 API에 노출된 저장 플랫폼 데이터 저장소가 존재한다. 이것은 \\HomeMachine\WinFSOnC란 UNC 명칭을 통해 연관된 데이터 저장소를 액세스가능하게 만든다.The structure of the repository is well illustrated with examples. For example, as illustrated in FIG. 16, consider a directory tree on the system volume of a device named HomeMachine. According to the file system interoperability function of the present invention, there is a storage platform data store corresponding to C: \ drive exposed to the Win32 API, for example via a UNC share called "WinFSOnC". This makes the associated data store accessible through a UNC name of "HomeMachine" and WinFSOnC.

이 실시예에서, 파일 및/또는 폴더는 명시적으로 NTFS로부터 저장 플랫폼으로 이주될 필요가 있다. 그러므로, 사용자가 저장 플랫폼에 의해 제공되는 잉여 검색/카테고리화 기능 모두를 사용하기 위해 My Document 폴더를 저장 플랫폼 데이터 저장소로 이동시키길 원하면, 계층 구조는 도 17에 나타낸 것처럼 보일 것이다. 이 예에서, 이러한 폴더들이 실제로 이동된다는 것을 명심하는 것이 중요하다. 명심해야할 또 다른 점은, 명칭 공간이 저장 플랫폼으로 이동하며, 실제 스트림이 저장 플랫폼 내의 훅업된(hookded up) 적절한 포인터를 가진 FILESTREAM으로 다시 명명된다는 것이다.In this embodiment, files and / or folders need to be explicitly migrated from NTFS to the storage platform. Therefore, if the user wants to move the My Document folder to the storage platform data store to use all of the redundant search / categorization functions provided by the storage platform, the hierarchy will appear as shown in FIG. In this example, it is important to keep in mind that these folders are actually moved. Another thing to keep in mind is that the namespace moves to the storage platform, and the actual stream is renamed FILESTREAM with the appropriate pointer hooked up in the storage platform.

c) 모든 파일이 이주되지는 않음c) not all files are migrated

사용자 데이터에 대응하거나 저장 플랫폼이 제공하는 검색/카테고리화를 필요로하는 파일들은 저장 플랫폼 데이터 저장소로 이주될 후보이다. 가급적으로, 저장 플랫폼과의 애플리케이션 프로그램 호환성에 대한 문제점을 제한하기 위해, 마이크로 윈도우즈 운영 체제의 관점에서, 본 발명의 저장 플랫폼으로 이주된 파일 세트는 MyDocument 폴더, 인터넷 익스플로러(IE) 즐겨찾기, IE 히스토리(IE History), 및 Document and Setting 디렉토리 내의 데스크탑 .ini 파일 내의 파일 에 한정된다. 가급적으로, 윈도우즈 시스템 파일의 이주는 허가되지 않는다.Files that correspond to user data or require search / categorization provided by the storage platform are candidates for migration to the storage platform data repository. Preferably, in order to limit the problem of application program compatibility with the storage platform, from the perspective of the Microsoft Windows operating system, the file set migrated to the storage platform of the present invention may be stored in the MyDocument folder, Internet Explorer (IE) Favorites, IE History. (IE History), and files in the desktop .ini file in the Document and Setting directory. Preferably, migration of Windows system files is not allowed.

d) 저장 플랫폼 파일에의 NTFS 명칭 공간 액세스d) NTFS Namespace Access to Storage Platform Files

본원에 설명된 실시예에서, 저장 플랫폼으로 이주된 파일들은, 실제 파일 스트림이 NTFS에 저장되더라도 NTFS 명칭 공간을 통해 액세스되지 않는다. 이 방식으로, 멀티 헤디드(multi-headed) 구현으로부터 발생하는 복잡한 잠금 및 보안에 대해서는 고려하지 않아도 된다.In the embodiment described herein, files migrated to the storage platform are not accessed through the NTFS namespace even though the actual file stream is stored in NTFS. In this way, the complex locks and security that result from a multi-headed implementation need not be considered.

e) 확장된 명칭 공간/도출 문자e) extended namespace / drawing characters

형태 \\<machine name>\<WinfsShareName>의 UNC 명칭을 통해 저장 플랫폼 내의 파일 및 폴더에의 액세스가 제공된다. 동작에 대한 도출 문자를 요청하는 애플리케이션의 클래스에 대해서, 도출 문자는 이 UNC 명칭으로 매핑될 수 있다.Access to files and folders in the storage platform is provided through UNC names of the form 〈< machine name〉 〈< WinfsShareName>. For classes of applications that request a derivation character for an action, the derivation character may be mapped to this UNC name.

I. 저장 플랫폼 APII. Storage Platform API

저장 플랫폼은 애플리케이션 프로그램들이 전술한 저장 플랫폼의 기능 및 능력에 액세스하고 데이터 저장소에 저장된 항목들에 액세스하는 것을 가능하게 하는 API를 포함한다. 이 섹션은 본 발명의 저장 플랫폼의 저장 플랫폼 API의 일 실시예를 설명한다.The storage platform includes an API that allows application programs to access the functionality and capabilities of the storage platform described above and to access items stored in the data store. This section describes one embodiment of the storage platform API of the storage platform of the present invention.

도 19는 본 발명에 따른 저장 플랫폼 API의 기본 구조를 나타낸다. 저장 플랫폼 API는 SQLClient(1900)를 사용하여 로컬 데이터 저장소(302)와 대화하며, 또 한 SQLClient(1900)를 사용하여 원격 데이터 저장소(예컨대, 데이터 저장소 340)와 대화할 수 있다. 로컬 저장소(302)는 또한 분산 질의 프로세서(DQP)를 사용하거나 후술하는 저장 플랫폼 동기화 서비스("Sync")를 통해 원격 데이터 저장소(340)와 대화할 수 있다. 저장 플랫폼 API(322)는 전술한 바와 같이 애플리케이션의 가입을 통지 엔진(332)으로 전달하고 통지를 애플리케이션(예컨대, 애플리케이션 350a, 350b 또는 350c)으로 라우팅하는 데이터 저장소 통지용 브리지 API로서 기능한다. 일 실시예에서, 저장 플랫폼 API(322)는 또한 마이크로소프트 익스체인지 및 AD 내의 데이터에 액세스할 수 있도록 제한된 "공급자" 구조를 정의할 수 있다.19 illustrates a basic structure of a storage platform API according to the present invention. The storage platform API may use SQLClient 1900 to communicate with the local data store 302, and also use SQLClient 1900 to communicate with a remote data store (eg, data store 340). Local store 302 may also communicate with remote data store 340 using a distributed query processor (DQP) or via a storage platform synchronization service (“Sync”), described below. The storage platform API 322 acts as a bridge API for data store notifications that delivers subscriptions of applications to the notification engine 332 and routes notifications to applications (eg, applications 350a, 350b or 350c) as described above. In one embodiment, storage platform API 322 may also define a limited "provider" structure to access data in Microsoft Exchange and AD.

1. 개요1. Overview

본 발명의 저장 플랫폼 API에 대한 본 실시예의 데이터 액세스 메커니즘은 질의, 네비게이션, 액션, 이벤트의 4가지 영역을 다룬다.The data access mechanism of this embodiment for the storage platform API of the present invention deals with four areas of query, navigation, action, and event.

질의vaginal

일 실시예에서, 저장 플랫폼 데이터 저장소는 관계형 데이터베이스 엔진(314) 상에 구현되므로, 결과적으로, SQL 언어의 완벽한 표현력은 저장 플랫폼으로 상속된다. 보다 높은 레벨 질의 객체는 저장소를 질의하기 위한 단순화된 모델을 제공하지만, 저장의 완벽한 표현력을 캡슐화(encapsulate)할 수는 없다.In one embodiment, the storage platform data store is implemented on the relational database engine 314, and as a result, the complete expression of the SQL language is inherited by the storage platform. Higher level query objects provide a simplified model for querying the repository, but cannot encapsulate the complete expressiveness of the store.

네비게이션navigation

저장 플랫폼 데이터 모델은 기초 데이터베이스 추상화에 대한 풍부한 확장가능한 타입 시스템을 구축한다. 개발자에 대해서, 저장 플랫폼 데이터는 항목의 웹 이다. 저장 플랫폼 API는 필터링, 관계, 폴더 등을 통해 항목으로부터 항목으로의 네비게이션을 가능하게 한다. 이것은 기초 SQL 질의보다 높은 레벨의 추상화이며, 때때로, 풍부한 필터링 및 네비게이션 성능이 익숙한 CLR 코딩 패턴과 함께 사용되는 것을 허용한다.The storage platform data model builds a rich scalable type system for the underlying database abstraction. For the developer, the storage platform data is the item's web. Storage platform APIs enable navigation from item to item through filtering, relationships, folders, and the like. This is a higher level of abstraction than basic SQL queries, and sometimes allows rich filtering and navigation capabilities to be used with the familiar CLR coding pattern.

액션action

저장 플랫폼 API는 모든 항목들에 대한 공통 액션, 즉 생성, 삭제, 갱신을 객체에 대한 메소드로서 노출시킨다. 이외에, SendMail, CheckFreeBusy 등과 같은 도메인 특정 액션들도 메소드로서 사용가능하다. API 프레임워크는, ISV가 추가적인 액션을 정의함으로써 값을 추가하기 위해 사용할 수 있는 잘 정의된 패턴을 사용한다.The storage platform API exposes common actions for all items, namely create, delete, update as methods on the object. In addition, domain specific actions such as SendMail, CheckFreeBusy, etc. are also available as methods. The API framework uses well-defined patterns that ISVs can use to add values by defining additional actions.

이벤트event

저장 플랫폼 내의 데이터는 동적이다. 저장소 내의 데이터가 변경될 때 애플리케이션이 반응하게 하기 위해, API는 개발자에게 풍부한 이벤팅, 가입, 및 통지 능력을 노출한다.The data in the storage platform is dynamic. To make the application react when data in the repository changes, the API exposes a wealth of eventing, subscription, and notification capabilities to the developer.

2. 명명 및 범위2. Naming and scope

이것은 명칭 공간과 명명 사이를 구분하는 데 유용하다. 명칭 공간이란 용어는 일반적으로 사용되는 바와 같이 몇몇 시스템에서 사용가능한 모든 이름들의 세트를 참조한다. 이 시스템은 XML 스키마, 프로그램, 웹, 모든 ftp 사이트(및 그들의 콘텐츠)의 세트 등일 수 있다. 명명은 관심있는 모든 엔티티에 대한 고유한 명칭을 명칭 공간에 할당하기 위해 사용되는 프로세스 및 알고리즘이다. 그러므 로, 명명은 명칭 공간 내의 주어진 단위를 자명하게 참조하기에 바람직하기 때문에 중요하다. 따라서, 본원에 사용된 바와 같이 "명칭 공간"이란 용어는 실제 모든 저장 플랫폼 인스턴스 내에서 사용가능한 모든 명칭들의 세트를 참조한다. 항목은 저장 플랫폼 명칭 공간 내의 명명된 엔티티이다. UNC 명명 규약을 사용하여, 항목 명명의 고유성을 보증한다. 실제 모든 저장 플랫폼 저장소 내의 모든 항목은 UNC 명명에 의해 어드레싱가능하다.This is useful for distinguishing between namespaces and naming. The term namespace refers to all sets of names available in some systems, as is commonly used. This system can be an XML schema, a program, a web, a set of all ftp sites (and their content), and so on. Naming is the process and algorithm used to assign a unique name to the namespace for every entity of interest. Therefore, naming is important because it is desirable to explicitly refer to a given unit within the namespace. Thus, as used herein, the term “name space” refers to the set of all names available within virtually every storage platform instance. An item is a named entity in the storage platform namespace. Using the UNC naming conventions ensures the uniqueness of item naming. Actually all storage platform All entries in the repository are addressable by UNC naming.

저장 플랫폼 명칭 공간 내의 최고의 체계적 레벨은 단순히 저장 플랫폼의 인스턴스인 서비스이다. 체계화의 다음 레벨은 볼륨이다. 볼륨은 항목에 대한 최대의 자율 컨테이너(the largest autonomous container of items)이다. 각각의 저장 플랫폼 인스턴스는 하나 이상의 볼륨을 포함한다. 볼륨에는 항목이 있다. 항목은 저장 플랫폼 내의 데이터 최소단위이다.The highest systematic level within the storage platform namespace is simply a service that is an instance of the storage platform. The next level of organization is volume. A volume is the largest autonomous container of items. Each storage platform instance includes one or more volumes. The volume has an entry. The item is the smallest unit of data in the storage platform.

실세계의 데이터는 거의 언제나 주어진 도메인 내에서 의미를 갖는 몇몇 시스템에 따라 체계화된다. 기초적인 모든 이러한 데이터 체계화 스키마는 데이터 모두를 명명된 그룹으로 나누는 것에 대한 개념이다. 전술된 바와 같이, 이 개념은 폴더 개념에 의해 저장 플랫폼 내에 모델링된다. 폴더는 항목의 특정한 타입이며, 포함 폴더 및 가상 폴더의 2가지 폴더 타입이 있다.Real-world data is almost always organized according to some system that has meaning within a given domain. All of these basic data organization schemas are the concept of dividing all of the data into named groups. As mentioned above, this concept is modeled within the storage platform by the folder concept. Folders are a specific type of item, and there are two folder types: containing folder and virtual folder.

도 18을 참조하면, 포함 폴더는 다른 항목과의 유지 관계를 포함하는 항목 및 파일 시스템 폴더의 공통 개념과 등가물이다. 각각의 항목은 적어도 하나의 컨테이너 폴더에 "포함"된다.Referring to FIG. 18, an include folder is equivalent to a common concept of an item and a file system folder including a maintenance relationship with another item. Each item is "included" in at least one container folder.

가상 폴더는 항목들의 집합을 체계화하는 보다 동적인 방식이며, 단순히 항 목 세트가 주어진 명칭이다(상기 세트는 명시적으로 열거되거나 질의에 의해 특정됨). 가상 폴더는 자체로 항목이며, 항목 세트와의 (비 보유) 관계들의 세트를 나타내는 것으로 고려될 수 있다.A virtual folder is a more dynamic way of organizing a set of items, simply a name given a set of items (the set is either explicitly listed or specified by a query). A virtual folder is itself an item and can be considered to represent a set of (non-holding) relationships with the item set.

때때로, 컨테이너에 대한 보다 타이트한 개념을 모델링할 필요가 있으며, 예를 들어, 이메일 메시지에 삽입된 워드 문서는 폴더 내에 포함된 파일보다 그것의 컨테이너에 보다 밀접하게 결합된다. 이 개념은 삽입 항목의 개념에 의해 표현된다. 삽입 항목은 또 다른 항목을 참조하는 특정한 종류의 관계를 가지며, 참조된 항목은 포함하는 항목에 결합될 수 있거나 다른 한편으로 오직 그것의 문맥으로만 조정될 수 있다.Sometimes it is necessary to model a tighter concept of a container, for example, a word document embedded in an e-mail message is more tightly coupled to its container than a file contained within a folder. This concept is represented by the concept of insert items. An insert item has a particular kind of relationship that references another item, and the referenced item can be combined with the containing item or, on the other hand, can only be adjusted in its context.

마지막으로, 저장 플랫폼은 항목 및 요소의 분류 수단으로 카테고리의 개념을 제공한다. 저장 플랫폼 내의 모든 항목 또는 요소는 하나 이상의 카테고리에 연관될 수 있다. 카테고리는 본질적으로 단순히 항목/요소에 태깅된 명칭이다. 이 명칭은 검색시에 사용될 수 있다. 저장 플랫폼 데이터 모델은 카테고리의 계층 구조에 대한 정의를 허용하며, 이에 따라 트리와 같은 데이터의 분류를 가능하게 한다.Finally, the storage platform provides the concept of categories as a means of classifying items and elements. Every item or element in the storage platform may be associated with one or more categories. A category is essentially simply a name tagged to an item / element. This name can be used when searching. The storage platform data model allows for the definition of a hierarchy of categories, thus enabling the classification of data such as trees.

항목에 대한 자명한 명칭은 (<serviceName>, <volumeID>, <ItemID>)의 세 개로 이루어져 있다. 몇몇 항목(구체적으로, 폴더 및 가상폴더)들은 다른 항목들의 집합이다. 이것은 항목을 식별하는 대안적인 방식(<serviceName>, <volumeID>, <itemPath>)을 제공한다.There are three self-explanatory names for items: (<serviceName>, <volumeID>, and <ItemID>). Some items (specifically, folders and virtual folders) are a collection of other items. This provides an alternative way of identifying items (<serviceName>, <volumeID>, <itemPath>).

저장 플랫폼 명칭은 서비스 문맥의 개념을 포함하며, 서비스 문맥은 (<volumeName>, <path>) 쌍으로 매핑되는 명칭이다. 이것은 항목 또는 항목 세트(예를 들어, 폴더, 가상 폴더 등)를 식별한다. 서비스 문맥의 개념에 의해, 저장 플랫폼 명칭 공간 내의 임의의 항목에 대한 UNC 명칭은 \\<serviceName>\<serviceContext>\<itemPath>가 된다.The storage platform name includes the concept of a service context, which is a name that maps to a pair of (<volumeName>, <path>). This identifies the item or set of items (eg, folder, virtual folder, etc.). By the concept of a service context, the UNC name for any item in the storage platform namespace is: << serviceName> << serviceContext> << itemPath>.

사용자는 서비스 문맥을 생성 및 삭제할 수 있다. 또한, 각각의 볼륨 내의 루트 디렉토리는 미리 정의된 문맥 volume-name$을 갖는다.The user can create and delete service contexts. In addition, the root directory in each volume has a predefined context volume-name $.

ItemContext는 특정된 경로 내에 살아있는 항목들에 리턴되는 결과를 제한함으로써 질의(예를 들어, 찾기 동작)의 범위를 정한다.The ItemContext scopes a query (eg, a find operation) by limiting the results returned to items that live within the specified path.

3. 저장 플랫폼 API 컴포넌트3. Storage Platform API Components

도 20은 저장 플랫폼 API의 다양한 컴포넌트를 개략적으로 나타낸다. 저장 플랫폼 API는 다음 컴포넌트들, 즉 (1) 저장 플랫폼 요소 및 항목 타입을 나타내는 데이터 클래스(2002), (2) 객체의 지속성을 관리하고 지원 클래스(2006)를 제공하는 실행시간 프레임워크(2004), 및 (3) 저장 플랫폼 스키마로부터 CLR 클래스를 생성하는 데 사용되는 툴(2008)로 구성된다. 20 schematically illustrates various components of a storage platform API. The storage platform API includes the following components: (1) a data class (2002) representing the storage platform element and item type, (2) a runtime framework (2004) that manages the persistence of objects and provides a support class (2006). , And (3) a tool 2008 used to generate CLR classes from the storage platform schema.

본 발명의 일 양태에 따르면, 설계시에, 스키마 작성자는 저장 플랫폼 API 설계 시간 툴(2008)의 세트에 스키마 문서(2010) 및 도메인 메소드에 대한 코드(2012)를 제출한다. 이러한 툴은 클라이언트 측 데이터 클래스(2002) 및 저장 스키마(2014)를 생성하고, 그 스키마에 대한 클래스 정의(2016)를 저장한다. "도메인"은 특정한 스키마를 참조하며, 예를 들어, 연락처 스키마 등의 클래스에 대한 도메인 메소드에 대한 것이다. 이러한 데이터 클래스(2002)는 저장 플랫폼 데이터 를 조작하기 위해, (저장 플랫폼 API 실행시간 프레임워크 클래스(2006)와 협력하여) 애플리케이션 개발자에 의해 실행시간에 사용된다.According to one aspect of the present invention, at design time, the schema author submits the schema document 2010 and the code 2012 for the domain method to a set of storage platform API design time tools 2008. These tools generate client-side data classes 2002 and storage schemas 2014 and store class definitions 2016 for those schemas. A "domain" refers to a particular schema, for example domain methods for classes such as contact schemas. This data class 2002 is used at runtime by the application developer (in cooperation with the storage platform API runtime framework class 2006) to manipulate the storage platform data.

본 발명의 저장 플랫폼 API의 다양한 양상을 예시하기 위해, 예시적인 연락처 스키마에 기초한 예가 제시된다. 예시적인 스키마의 도시적 표현은 도 21a 및 21b에 예시된다.To illustrate various aspects of the storage platform API of the present invention, examples based on example contact schemas are presented. Illustrative representations of example schemas are illustrated in FIGS. 21A and 21B.

4. 데이터 클래스4. Data Class

본 발명의 양태에 따르면, 저장 플랫폼 데이터 저장소 내의 각각의 관계뿐만 아니라 각각의 항목, 항목 확장, 및 요소 타입은 저장 플랫폼 API 내에 대응하는 클래스를 갖는다. 대략, 타입 필드는 클래스 필드로 매핑된다. 저장 플랫폼 내의 각각의 항목, 항목 확장, 및 요소는 저장 플랫폼 API 내의 대응하는 클래스의 객체로 사용가능하다. 개발자는 이러한 객체를 생성, 수정, 또는 삭제하기 위해 질의를 할 수 있다.According to aspects of the present invention, each item, item extension, and element type, as well as each relationship in the storage platform data store, has a corresponding class in the storage platform API. Roughly, the type field maps to a class field. Each item, item extension, and element in the storage platform is available as an object of the corresponding class in the storage platform API. Developers can query to create, modify, or delete these objects.

저장 플랫폼은 스키마의 초기 세트를 포함한다. 각각의 스키마는 항목과 요소 타입의 세트, 및 관계 세트를 정의한다. 다음은 이러한 스키마 엔티티로부터 데이터 클래스를 생성하기 위한 알고리즘의 일 실시예이다:The storage platform includes an initial set of schemas. Each schema defines a set of item and element types, and a set of relationships. The following is an embodiment of an algorithm for generating data classes from these schema entities:

각각의 스키마 S에 대해서:For each schema S:

각각의 항목 I에 대해서, S 내에 System.Storage로 명명된 클래스 S.I가 생성된다. 이 클래스는 다음의 멤버들을 갖는다:For each item I, a class S.I named System.Storage is created in S. This class has the following members:

· 새로운 항목의 초기 폴더 및 명칭이 특정되는 것을 허용하는 구조자를 포 함하는 오버로드된 구조자(overloaded constructor)An overloaded constructor that includes a constructor that allows the initial folder and name of the new item to be specified.

· I 내의 각각의 필드에 대한 속성. 필드가 다수의 값을 가지면, 속성은 대응하는 요소 타입의 집합일 것임.Attributes for each field in I. If the field has multiple values, the attribute will be a set of corresponding element types.

· 필터와 일치하는 다수의 항목들을 찾는 오버로드된 정적인 메소드(예를 들어, "FindAll"로 명명된 메소드)Overloaded static methods that find multiple items that match the filter (for example, the method named "FindAll").

· 필터와 일치하는 단일 항목을 찾는 오버로드된 정적인 메소드(예를 들어, "FindOne"으로 명명된 메소드)· Overloaded static methods to find a single item that matches the filter (for example, the method named "FindOne").

· id가 주어진 항목을 찾는 정적인 메소드(예를 들어, "FindByID"으로 명명된 메소드)· Static method to find the item given its id (for example, the method named "FindByID")

· ItemContext에 관련된 명칭이 주어진 항목을 찾는 정적인 메소드(예를 들어, "FindByName"으로 명명된 메소드)· Static method to find the item given its name relative to the ItemContext (for example, the method named "FindByName").

· 항목에 대한 변경을 저장하는 메소드(예를 들어, "Update"로 명명된 메소드)· A method for saving changes to the item (for example, a method named "Update").

· 항목의 새로운 인스턴트를 생성하는 오버로드된 정적인 생성 메소드.Overloaded static creation method that creates a new instant for an item.

이러한 메소드들은 항목의 초기 폴더가 다양한 방식으로 특정될 것을 허용한다.These methods allow the initial folder of an item to be specified in various ways.

각각의 요소 E에 대해서, S 내에 System.Storage로 명명된 클래스 S.E가 생성된다. 이 클래스는 다음의 멤버들을 갖는다:For each element E, a class S.E is created in S named System.Storage. This class has the following members:

· E 내의 각각의 필드에 대한 속성. 필드가 멀티 값이면, 속성은 대응하는 요소 타입의 집합일 것이다.Attributes for each field in E. If the field is multi-valued, the attribute will be a set of corresponding element types.

각각의 요소 E에 대해서, S 내에 System.Storage로 명명된 클래스 S.E Collection이 생성된다. 이 클래스는 강하게 타입화된 집합 클래스에 대한 일반적인 .NET 프레임워크 지침을 따른다. 관계 기반 요소 타입에 대해서, 이 클래스는 또한 다음의 멤버들을 포함할 것이다:For each element E, a class S.E Collection is created in S named System.Storage. This class follows the general .NET framework guidelines for strongly typed aggregate classes. For relation-based element types, this class will also contain the following members:

· 집합이 소스 역할(source role)에 나타낸 항목을 명시적으로 포함하는 필터와 일치하는 다수의 항목 객체를 찾는 오버로드된 메소드. 오버로드는 항목 서브 타입에 기초한 필터링을 허용하는 메소드(예를 들어, "FindAllTargetItems"로 명칭된 메소드)를 포함함.An overloaded method that finds a number of item objects that match a filter whose collection explicitly includes the item represented by the source role. Overloads include methods that allow filtering based on item subtypes (eg, a method named "FindAllTargetItems").

· 집합이 소스 역할에 나타낸 항목을 명시적으로 포함하는 필터와 일치하는 단일 항목 객체를 찾는 오버로드된 메소드. 오버로드는 항목 서브 타입에 기초한 필터를 허용하는 메소드(예를 들어, "FindOneTargetItems"로 명칭된 메소드)를 포함한다.An overloaded method that finds a single item object that matches a filter whose collection explicitly contains the item represented in the source role. The overload includes methods that allow filters based on item subtypes (eg, a method named "FindOneTargetItems").

· 집합이 소스 역할에 나타낸 항목을 명시적으로 포함하는 필터와 일치하는 중첩 요소 타입의 객체들을 찾는 오버로드된 메소드(예를 들어, "FindAllRelationship"으로 명칭된 메소드).Overloaded methods (eg, a method named "FindAllRelationship") that look for objects of nested element types that match a filter whose collection explicitly includes the item indicated in the source role.

· 집합이 소스 역할에 나타낸 항목을 명시적으로 포함하는 필터와 일치하는 중첩 요소 타입의 객체들을 찾는 오버로드된 메소드(예를 들어, "FindAllRelationshipsForTarget"으로 명칭된 메소드).An overloaded method that looks for objects of nested element types that match a filter whose collection explicitly includes the item indicated in the source role (for example, the method named "FindAllRelationshipsForTarget").

· 집합이 소스 역할에 나타낸 항목을 명시적으로 포함하는 필터와 일치하는 중첩 요소 타입의 단일 객체를 찾는 오버로드된 메소드(예를 들어, "FindOneRelationship"으로 명칭된 메소드).Overloaded methods (for example, a method named "FindOneRelationship") that look for a single object of nested element type that matches a filter whose collection explicitly contains the item indicated in the source role.

· 집합이 소스 역할에 나타낸 항목을 명시적으로 포함하는 필터와 일치하는 중첩 요소 타입의 단일 객체를 찾는 오버로드된 메소드(예를 들어, "FindOneRelationshipForTarget"으로 명칭된 메소드).Overloaded methods (for example, a method named "FindOneRelationshipForTarget") that finds a single object of nested element type that matches a filter whose collection explicitly contains the item represented in the source role.

관계 R에 대해서, S 내에 System.Storage로 명명된 클래스 S.R이 생성된다. 이 클래스는 하나 또는 두 개의 관계 역할이 엔드 포인트 필드를 특정하는지에 따라, 한 개 또는 두 개의 서브 클래스를 가질 것이다.For relationship R, a class S.R named System.Storage is created in S. This class will have one or two subclasses, depending on whether one or two relationship roles specify endpoint fields.

클래스는 또한 생성된 각각의 항목 확장에 대한 이 방식으로 생성된다.The class is also created in this way for each item extension created.

데이터 클래스는 System.Storage.<schemaName> 명칭 공간에 존재하며, 여기서 <schemaName>은 연락처, 파일 등의 대응하는 스키마의 명칭이다. 예를 들어, 연락처 스키마에 대응하는 모든 클래스들은 System.Storage.Contact 명칭 공간에 있다.The data class resides in the System.Storage. <SchemaName> namespace, where <schemaName> is the name of the corresponding schema, such as contacts, files, and so on. For example, all classes corresponding to the contact schema are in the System.Storage.Contact namespace.

예를 들어, 도 21a 및 21b를 참조하면, 연락처 스키마는 System.Storage.Contact 명칭 공간에 포함된 다음의 클래스들을 생성한다:For example, referring to FIGS. 21A and 21B, the contact schema creates the following classes included in the System.Storage.Contact namespace:

· 항목: Item, Folder, WellKnownFolder, LocalMachineDataFolder, UserDataFolder, Principal, Service, GroupService, PersonService, PresenceService, ContactService, ADService, Person, User, Group, Organization, HouseHold.Item: Folder, WellKnownFolder, LocalMachineDataFolder, UserDataFolder, Principal, Service, GroupService, PersonService, PresenceService, ContactService, ADService, Person, User, Group, Organization, HouseHold.

· 요소: NestedElementBase, NestedElement, IdentifyKey, SecurityID, EAddress, ContactEAddress, TelephoneNumber, SMTPEAddress, InstantMessagingAddress, Template, Profile, FullName, FamilyEvent, BasicPresence, WindowsPresence, Relationship, TemplateRelationship, LocationRelationship, FamilyEventLocationRelationship, HouseHoldLocationRelationship, RoleOccupancy, EmployeeData, GroupMemberShip, OrganizationLocationRelationship, HouseHoldMemberData, FamilyData, SpouseData, ChildData.Elements: NestedElementBase, NestedElement, IdentifyKey, SecurityID, EAddress, ContactEAddress, TelephoneNumber, SMTPEAddress, InstantMessagingAddress, Template, Profile, FullName, FamilyEvent, BasicPresence, WindowsPresence, Relationship, TemplateRelationship, LocationRelationship, FamilyEventLocationRelationship, HouseHoldLocationRelationship, RoleOccupancyationRelationship, Employeehipship , HouseHoldMemberData, FamilyData, SpouseData, ChildData.

예를 들어, Person 타입에 대한 상세한 구조(연락처 스키마 내에 정의된 것과 같음)는 XML로 다음에 제시된다:For example, the detailed structure for the Person type (as defined in the contact schema) is shown in XML below:

Figure 112006012719774-pct00040
Figure 112006012719774-pct00040

이 타입은 다음의 클래스(오직 공개 멤버만 나타냄)를 생성한다:This type creates the following class (only public members are shown):

Figure 112006012719774-pct00041
Figure 112006012719774-pct00041

또 다른 예로서, TelephoneNumber 타입에 대한 상세한 구조(연락처 스키마 내에 정의된 것과 같음)는 XML로 다음에 제시된다:As another example, the detailed structure for the TelephoneNumber type (as defined in the contact schema) is given in XML below:

Figure 112006012719774-pct00042
Figure 112006012719774-pct00042

이 타입은 다음의 클래스(오직 공개 멤버만 나타냄)를 생성한다:This type creates the following class (only public members are shown):

Figure 112006012719774-pct00043
Figure 112006012719774-pct00043

주어진 스키마로부터 생성된 클래스들의 계층구조는 그 스키마 내의 타입에 대한 계층 구조를 직접적으로 반영한다. 예를 들어, 연락처 스키마 내에 정의된 Item 타입을 고려하자(도 21a 및 21b 참조). 저장 플랫폼 API 내의 이것에 대응하 는 클래스 계층 구조는 다음과 같을 것이다:The hierarchy of classes created from a given schema directly reflects the hierarchy of the types in that schema. For example, consider the Item type defined within the contact schema (see FIGS. 21A and 21B). The corresponding class hierarchy in the storage platform API would be:

ObjectObject

DataClassDataClass

ElementBaseElementBase

RootItemBaseRootItemBase

ItemItem

PrincipalPrincipal

GroupGroup

HouseHoldHousehold

OrganizationOrganization

PersonPerson

UserUser

ServiceService

PresenceServicePresenceService

ContactServiceContactService

ADServiceADService

RootNestedServiceRootNestedService

...(요소 클래스들)... (element classes)

시스템 내의 모든 오디오/비디오 매체(손상된 오디오 파일, 오디오 CD, DVD, 홈비디오 등)를 나타내는 것을 허용하는 또 다른 스키마는 사용자/애플리케이션이 상이한 종류의 오디오/비디오 매체를 저장, 체계화, 검색, 및 조작할 수 있게 한다. 기초 매체 문서 스키마는 어떤 매체도 표현하기에 충분히 일반적이며, 이 기초 스키마로의 확장은 오디오 및 비디오 매체에 대한 도메인 특정 속성을 개별적으로 처리하도록 설계된다. 이 스키마 및 다수의 다른 것들은 코어 스키마 하에서 직접적으로 또는 간접적으로 동작할 것으로 생각된다.Another schema that allows representing all audio / video media (damaged audio files, audio CDs, DVDs, home videos, etc.) in the system is to store, organize, retrieve, and manipulate different kinds of audio / video media. Make it possible. The base media document schema is general enough to represent any medium, and extensions to this base schema are designed to handle domain specific attributes for audio and video media separately. This schema and many others are thought to operate directly or indirectly under the core schema.

5. 실행시간 프레임워크5. Runtime framework

기초 저장 플랫폼 API 프로그래밍 모델은 객체 지속적이다. 애플리케이션 프로그램(또는 "애플리케이션")은 저장소를 검색하고, 저장소 내의 데이터를 나타내는 객체를 리트리브한다. 애플리케이션은 리트리브된 객체를 수정하거나 새로운 객체를 생성한 후 그들의 변경이 저장소에 전파되게 한다. 이 프로레스는 ItemConext 객체에 의해 관리된다. 검색은 ItemSearcher 객체를 사용하여 실행되며, 검색 결과는 FindResult 객체를 통해 액세스가능하다.The underlying storage platform API programming model is object persistent. The application program (or “application”) retrieves the repository and retrieves the objects representing the data in the repository. The application modifies the retrieved objects or creates new objects and allows their changes to propagate to the repository. This process is managed by an ItemConext object. The search is performed using the ItemSearcher object, and the search results are accessible through the FindResult object.

a) 실행시간 프레임워크 클래스a) runtime framework classes

저장 플랫폼 API의 또 다른 발명적 양태에 따라, 실행시간 프레임워크는 데이터 클래스의 동작을 지원하는 다수의 클래스를 구현한다. 이러한 프레임워크 클래스는 데이터 클래스들에 대한 공통 거동 세트를 정의하고, 데이터 클래스들과 함께 저장 플랫폼 API에 대한 기초 프로그래밍 모델을 제공한다. 실행시간 프레임워크 내의 클래스들은 System.Storage 명칭 공간에 속한다. 본 실시예에서, 프레임 워크 클래스는 ItemContext, ItemSearcher 및 FindResult의 메인 클래스들을 포함한다. 다른 마이너 클래스, 열거 값, 및 대표도 제공될 수 있다.According to another inventive aspect of the storage platform API, the runtime framework implements a number of classes that support the operation of data classes. These framework classes define a common set of behaviors for data classes, and together with the data classes provide a basic programming model for storage platform APIs. Classes in the runtime framework belong to the System.Storage namespace. In this embodiment, the framework class includes the main classes of ItemContext, ItemSearcher and FindResult. Other minor classes, enumeration values, and representatives may also be provided.

(1) ItemContext(1) ItemContext

ItemContext 객체는 (ⅰ) 애플리케이션 프로그램이 검색하길 원하는 항목 도메인의 세트를 나타내고, (ⅱ) 저장 플랫폼으로부터 리트리브된 데이터의 상태를 나타내는 각각의 객체에 대한 상태 정보를 유지하며, (ⅲ) 저장 플랫폼과 상호작용할 때 사용되는 트랜젝션, 및 저장 플랫폼이 연동할 수 있는 임의의 파일 시스템을 관리한다.The ItemContext object represents (i) the set of item domains that the application program wants to retrieve, (ii) maintains state information for each object representing the state of the data retrieved from the storage platform, and (i) interacts with the storage platform. It manages the transactions used when working, and any file system with which the storage platform can work.

객체 지속 엔진과 같이, ItemContext는 다음의 서비스를 제공한다:Like the object persistence engine, ItemContext provides the following services:

1. 저장소로부터 판독된 데이터의 객체로의 역직렬화.1. Deserialization of data read from storage into objects.

2. 객체 식별자 유지(동일한 객체는 항목이 질의 결과에 얼마나 많이 포함되어 있는지에 상관없이 주어진 항목을 표현하는 데 사용됨).2. Maintain object identifiers (the same object is used to represent a given item regardless of how many items are included in the query results).

3. 객체 상태 추적.3. Object state tracking.

ItemContext는 또한 저장 플랫폼에 고유한 다수의 서비스를 수행한다:ItemContext also performs a number of services specific to the storage platform:

1. 변경을 지속시키기 위해 필요한 저장 플랫폼 갱신 그램 동작(storage platfrom update gram operation)을 생성 및 실행.1. Create and run a storage platfrom update gram operation required to persist the change.

2. 참조 관계의 고른 네비게이션을 가능하게 하고, 멀티 도메인 검색으로부터 리트리브된 객체들이 수정 및 저장되는 것을 허용하는데 필요한 다수의 데이터 저장소에의 접속을 생성.2. Create connections to multiple data stores needed to enable even navigation of reference relationships and allow retrieved objects to be modified and stored from multi-domain searches.

3. 항목을 나타내는 객체(들)에 대한 변경이 저장될 때, 파일 지원된 항목(file backed item)이 알맞게 갱신됨을 보증.3. Ensure that file backed items are updated accordingly when changes to the object (s) representing the item are saved.

4. 다수의 저장 플랫폼 접속에 걸친 트랜젝션(파일 스트림 속성 및 파일 지원된 항목에 저장된 데이터를 갱신할 때) 및 트랜젝트된 파일 시스템을 관리.4. Manage transactions across multiple storage platform connections (when updating data stored in file stream attributes and file supported items) and transacted file systems.

5. 저장 플랫폼 관계 시맨틱, 파일 지원 항목, 및 스트림 타입화된 속성을 고려한 항목 생성, 복사, 이동, 및 삭제 동작을 수행.5. Create, copy, move, and delete operations that take into account storage platform relationship semantics, file support items, and stream typed attributes.

부록 A는 일 실시예에 따른 ItemContext 클래스의 소스 코드 리스트를 제공한다.Appendix A provides a source code list of the ItemContext class, according to one embodiment.

(2) ItemSearcher(2) ItemSearcher

ItemSearcher 클래스는 전체 항목 객체, 항목 객체의 스트림, 또는 항목으로부터 추정된 값의 스트림을 리턴하는 단순한 검색을 지원한다. ItemSearcher는 타겟 타입 및 그 타겟 타입에 적용되는 매개변수화된 필터들의 개념 모두에 공통인 코어 기능성을 캡슐화한다. ItemSearcher는 또한, 동일한 검색이 다수의 타입에 대해서 실행될 때, 최적화로서 검색자가 미리 컴파일되거나 준비되는 것을 허용한다. 부록 B는 일 실시예에 따른 ItemSearcher 클래스 및 몇몇의 밀접하게 관련된 클래스들의 소스 코드 리스트를 제공한다.The ItemSearcher class supports simple search that returns an entire item object, a stream of item objects, or a stream of values estimated from an item. ItemSearcher encapsulates core functionality that is common to both the target type and the concept of parameterized filters applied to that target type. ItemSearcher also allows the searcher to be precompiled or prepared as an optimization when the same search is performed for multiple types. Appendix B provides a source code list of the ItemSearcher class and several closely related classes, according to one embodiment.

(a) 타겟 타입(a) target type

검색 타겟 타입은 ItemSearcher를 구성한 때 설정된다. 타겟 타입은 데이터 저장소에 의해 질의가능한 범위에 매핑되는 CLR 타입이다. 구체적으로, 그것은 스키마화된 뷰뿐만 아니라 항목, 관계 및 항목 확장 타입에 매핑되는 CLR 타입이다.The search target type is set when you configure the ItemSearcher. The target type is a CLR type that maps to a queryable range by the data store. Specifically, it is a CLR type that maps not only to schemad views but also to items, relationships, and item extension types.

ItemContext.GetSearcher 메소드를 사용하여 검색자를 리트리브할 때, 검색자의 타겟 타입은 매개변수로 특정된다. 정적인 GetSearcher 메소드가 항목, 관계, 또는 항목 확장 타입(예를 들어, Person.GetSearcher)에 대해서 호출될 때, 타겟 타입은 항목, 관계, 또는 항목 확장 타입이다.When retrieving a searcher using the ItemContext.GetSearcher method, the searcher's target type is specified as a parameter. When a static GetSearcher method is called for an item, relationship, or item extension type (eg, Person.GetSearcher), the target type is an item, relationship, or item extension type.

ItemSearcher에 제공된 검색 표현(예를 들어, 검색 필터 및 전체 찾기 옵션(through find option), 또는 추정 정의)은 항상 검색 타겟 타입에 관련된다. 이러한 표현들은 타겟 타입의 속성(중첩된 요소들의 속성을 포함)을 특정할 수 있으며, 이와 달리 관계 및 항목 확장으로의 결합을 특정할 수 있다.The search expression provided to ItemSearcher (eg, search filter and through find option, or estimation definition) is always related to the search target type. Such expressions may specify attributes of the target type (including attributes of nested elements), and alternatively, may specify associations into relationships and item extensions.

검색 타겟 타입은 판독전용 속성(read only properly)(예를 들어, ItemSercher.Type 속성)을 통해 사용가능하다.The search target type is available via read only properly (e.g., ItemSercher.Type property).

(b) 필터(b) filter

ItemSearcher는 검색에 사용되는 필터를 정의하는 필터를 특정하기 위한 속성(예를 들어, SearchExpression 객체의 집합으로서 "Filter"라고 명명된 속성)을 포함한다. 집합 내의 모든 필터들은, 검색이 실행될 때 논리 및 연산자를 사용하여 조합된다. 그 필터는 매개변수 참조를 포함할 수 있다. 매개변수 값은 Parameters 속성을 통해 특정된다.The ItemSearcher contains properties for specifying a filter that defines the filter used for the search (e.g., a property named "Filter" as a collection of SearchExpression objects). All filters in the set are combined using logic and operators when the search is performed. The filter can include parameter references. Parameter values are specified through the Parameters property.

(c) 검색 준비(c) preparing for search

아마도 오직 매개변수 변경과 함께, 동일한 검색이 반복적으로 실행되는 상황에서 검색을 컴파일링 또는 준비함으로써 몇몇의 수행 향상이 획득될 수 있다. 이것은 ItemSearcher에 대한 준비 메소드 세트(예를 들어, 하나 이상의 항목을 리턴하는 Find를 준비하기 위한 아마도 "PrepareFind"로 명명된 메소드, 및 추정을 리턴하는 Find를 준비하기 위한 아마도 "PrepareProject"로 명명된 메소드)에 의해 이루어진다. 예:Perhaps with only parameter changes, some performance improvement can be obtained by compiling or preparing a search in the situation where the same search is executed repeatedly. This is a set of prepare methods for ItemSearcher (for example, a method named "PrepareFind" to prepare a Find that returns one or more items, and a method named "PrepareProject" to prepare a Find that returns estimates. ) Yes:

Figure 112006012719774-pct00044
Figure 112006012719774-pct00044

(d) 옵션 찾기(d) Find options

단순한 검색에 적용될 수 있는 다수의 옵션들이 있다. 예를 들어, 그들은 FindOption 객체에 의해 특정되고 Find 메소드로 전달될 수 있다. 예:There are a number of options that can be applied to simple searches. For example, they can be specified by a FindOption object and passed to the Find method. Yes:

Figure 112006012719774-pct00045
Figure 112006012719774-pct00045

편리성을 위해, 소팅 옵션도 또한 직접적으로 Find 메소드에 전달될 수 있다:For convenience, sorting options can also be passed directly to the Find method:

Figure 112006012719774-pct00046
Figure 112006012719774-pct00046

DelayLoad 옵션은, 큰 바이너리 속성의 값이 검색 결과가 리트리브될 때 로 드되는지, 또는 로딩이 참조되기 전까지 지연되는지를 결정한다. MaxResults 옵션은 리턴되는 결과의 최대 개수를 결정한다. 이것은 SQL 질의 내의 TOP을 특정하는 것과 등가이다. 이것은 주로 소팅과 관련하여 사용된다.The DelayLoad option determines whether the value of a large binary attribute is loaded when the search results are retrieved or delayed before loading is referenced. The MaxResults option determines the maximum number of results returned. This is equivalent to specifying a TOP in an SQL query. This is mainly used in connection with sorting.

일련의 SortOption 객체가 (예를 들어, FindOptions.SortOptions 속성을 사용하여) 특정될 수 있다. 검색 결과는 제1 SortOption 객체에 의해 특정된 것처럼, 그 후 제2 SortOption 객체에 의해 특정된 것 등에 의해 특정된 것처럼 소팅될 것이다. SortOption은 소팅을 위해 사용될 속성을 나타내는 검색 표현을 특정한다. 그 표현은 다음 중 하나를 특정한다:A series of SortOption objects can be specified (eg, using the FindOptions.SortOptions property). The search results will be sorted as specified by the first SortOption object, then as specified by the second SortOption object, and so on. SortOption specifies a search expression that represents the attribute to be used for sorting. The expression specifies one of the following:

1. 검색 타겟 타입 내의 스칼라 속성;1. scalar attribute in search target type;

2. 단일 값인 속성을 트래버싱함으로써 검색 타겟 타입으로부터 도달할 수 있는 중첩 요소 내의 스칼라 속성; 또는2. A scalar attribute in a nested element that can be reached from a search target type by traversing a single valued attribute; or

3. 유효 인수를 가진 집합 기능의 결과(예를 들어, 멀티 값인 속성 또는 관계를 트래버싱함으로써 검색 타겟 타입으로부터 도달가능한 중첩 요소 내의 스칼라 속성에 적용되는 최대값).3. The result of the aggregation function with valid arguments (eg, the maximum value applied to a scalar attribute within a nested element reachable from the search target type by traversing an attribute or relationship that is multivalued).

예를 들어, 검색 타겟 타입이 System.Storage.Contact.Person이라고 가정하자:For example, suppose the search target type is System.Storage.Contact.Person:

1. "Birthdate" - 유효, 생일은 Person 타입의 스칼라 속성임.1. "Birthdate"-Valid, birthday is a scalar attribute of type Person.

2. "PersonalNames.Surname" - 무효, PersonalNames는 멀티 값인 속성이며, 집합 기능이 사용되지 않음.2. "PersonalNames.Surname"-invalid, PersonalNames is a multi-valued property and no aggregation feature is used.

3. "Count(PersonalNames)" - 유효, PersonalNames의 카운트.3. "Count (PersonalNames)"-Valid, count of PersonalNames.

4. "Case(Contact.MemberOfHousehold).Household.HouseholdEAddresses.StartDate" - 무효, 사용자 관계 및 집합 기능이 없는 멀티 값인 속성.4. "Case (Contact.MemberOfHousehold) .Household.HouseholdEAddresses.StartDate"-A multi-valued property that has no invalid, no user relations, and no aggregation capabilities.

5. "Max(Cast(Contact.MemberOfHousehold).Household.HouseholdEAddresses.StartDate)" - 유효, 가장 최근 가정 이메일 어드레스 시작 날짜.5. "Max (Cast (Contact.MemberOfHousehold) .Household.HouseholdEAddresses.StartDate)"-The start date of the valid, most recent home email address.

(3) 항목 결과 스트림("FindResult")(3) Item Result Stream ("FindResult")

ItemSearcher(예를 들어, FindAll 메소드를 통함)는 검색에 의해 리턴된 객체에 액세스하기 위해 사용될 수 있는 객체(예를 들어, "FindResult" 객체)를 리턴한다. 부록 C는 일 실시예에 따른 FindResult 클래스 및 몇몇의 밀접하게 관련된 클래스들의 소스 코드 리스트를 제공한다.An ItemSearcher (eg, via the FindAll method) returns an object (eg, a "FindResult" object) that can be used to access the object returned by the search. Appendix C provides a source code list of the FindResult class and several closely related classes, according to one embodiment.

FindResult 객체로부터 결과를 획득하기 위한, IObjectReader(및 IAsyncObjectReader)에 의해 정의된 판독 패턴, 및 IEnumerable 및 IEnumerator에 의해 정의된 열거자 패턴을 사용하는 두 개의 별개의 메소드가 존재한다. 열거자 패턴은 CLR 내에서 표준이며, C#의 foreach와 같은 언어 구조를 지원한다. 예:There are two separate methods for using the read pattern defined by IObjectReader (and IAsyncObjectReader), and the enumerator pattern defined by IEnumerable and IEnumerator, to obtain results from a FindResult object. The enumerator pattern is standard within the CLR and supports language constructs such as C # 's foreach. Yes:

Figure 112006012719774-pct00047
Figure 112006012719774-pct00047

판독기 패턴은, 몇몇 경우에 데이터 사본을 삭제함으로써 결과를 보다 효율적으로 처리하는 것을 허용하기 때문에 지원된다. 예:Reader patterns are supported because in some cases deleting data copies allows for more efficient processing of the results. Yes:

Figure 112006012719774-pct00048
Figure 112006012719774-pct00048

이외에, 판독기 패턴은 비동기적인 동작을 지원한다:In addition, the reader pattern supports asynchronous operation:

Figure 112006012719774-pct00049
Figure 112006012719774-pct00049

본 실시예에서, FindResult는 더 이상 필요하지 않을 때 닫혀야 한다. 이것은 Close 메소드를 호출하거나, 스테이트먼트를 사용하는 C#과 같은 언어 구조를 사용하여 행해질 수 있다. 예:In this embodiment, FindResult should be closed when no longer needed. This can be done by calling the Close method or using a language construct such as C # that uses statements. Yes:

Figure 112006012719774-pct00050
Figure 112006012719774-pct00050

b) 동작 내의 실행시간 프레임워크b) runtime framework within operations;

도 22는 동작중인 실행 시간 프레임워크를 나타낸다. 실행시간 프레임워크는 다음과 같이 동작한다:22 illustrates an active runtime framework. The runtime framework works as follows:

1. 애플리케이션(350a, 350b 또는 350c)은 저장 플랫폼 내의 항목들에 결합된다.1. Application 350a, 350b or 350c is coupled to items in a storage platform.

2. 프레임워크(2004)는 결합된 항목에 대응하는 ItemContext 객체(2202)를 생성하고, 이를 애플리케이션에 리턴한다.2. The framework 2004 creates an ItemContext object 2202 corresponding to the combined item and returns it to the application.

3. 애플리케이션은 항목들의 집합을 획득하기 위해 이 ItemContext 상에 Find를 제출하는데, 리턴된 집합은 개념적으로 (관계들로 인해) 객체 그래프(2204)이다.3. The application submits a Find on this ItemContext to obtain a set of items, which is conceptually an object graph 2204 (due to relationships).

4. 애플리케이션은 데이터를 변경, 삭제 및 삽입한다.4. The application changes, deletes, and inserts data.

5. 애플리케이션은 Update() 메소드를 호출하여 변경을 저장한다.5. The application calls the Update () method to save the change.

c) 공통 프로그래밍 패턴c) common programming patterns

이 섹션은 데이터 저장소 내의 항목들을 조작하기 위해 저장 플랫폼 API 프레임워크 클래스들이 어떻게 사용될 수 있는지에 대한 다양한 예를 제공한다.This section provides various examples of how storage platform API framework classes can be used to manipulate items in a data store.

(1) ItemContext 객체 열고 닫기(1) opening and closing an ItemContext object

애플리케이션은, 예를 들어 정적인 ItemContext.Open 메소드를 호출하고 ItemContext에 연관될 항목 도메인을 식별하는 경로 또는 경로들을 제공함으로써 데이터 저장소와 상호작용하기 위해 사용될 ItemContext 객체를 획득한다. 항목 도메인은 ItemContext를 사용하여 수행되는 검색의 범위를 정하고, 이에 따라 도메인 항목 및 그 항목에 포함된 항목들만이 검색될 것이다. 예는 다음과 같다:The application obtains an ItemContext object that will be used to interact with the data store, for example, by calling a static ItemContext.Open method and providing a path or paths identifying the item domain to be associated with the ItemContext. The item domain defines the scope of the search performed using the ItemContext, so that only the domain item and the items contained in that item will be searched. An example is as follows:

로컬 local 컴퓨터 상의On computer 디폴터Default 저장소 저장 플랫폼 공유로  Repository storage platform share ItemContextItemContext 를 엶The yeom

ItemContext ic = ItemContext.Open();ItemContext ic = ItemContext.Open ();

주어진 저장 플랫폼 공유로 With a given storage platform share ItemContextItemContext 를 엶The yeom

ItemContext ic = ItemContext.Open(@"\\myserver1\DefaultStore");ItemContext ic = ItemContext.Open (@ "\\myserver1\DefaultStore");

저장 플랫폼 공유 하의 항목으로 As items under storage platform sharing ItemContextItemContext 를 엶The yeom

ItemContext ic = ItemContext.Open(@"\\myserver1\WinFSSpecs\api\m6");ItemContext ic = ItemContext.Open (@ "'myserver1'WinFSSpecs'api'm6');

다수의 항목 도메인으로 To multiple entry domains ItemContextItemContext 를 엶The yeom

Figure 112006012719774-pct00051
Figure 112006012719774-pct00051

ItemContext는 더 이상 필요하지 않을 때, 닫혀야 한다.The ItemContext should be closed when no longer needed.

ItemContextItemContext 를 명시적으로 닫기Explicitly close

Figure 112006012719774-pct00052
Figure 112006012719774-pct00052

ItemContextItemContext 를 가진 With 스테이트먼트를Statement 사용하여 닫기 Close to use

Figure 112006012719774-pct00053
Figure 112006012719774-pct00053

(2) 객체 검색(2) object search

본 발명의 또 다른 양태에 따르면, 저장 플랫폼 API는, 애플리케이션 프로그래머를 기초 데이터베이스 엔진의 질의 언어에 대한 세부로부터 격리시키는 방식으로, 애플리케이션 프로그래머가 데이터 저장소 내의 다양한 항목 속성에 기초하여 질의를 형성하게 할 수 있는 단순화된 질의 모델을 제공한다.According to another aspect of the present invention, the storage platform API may enable the application programmer to form a query based on various item attributes in the data store in a manner that isolates the application programmer from the details of the query language of the underlying database engine. It provides a simplified query model.

애플리케이션은 ItemContext.GetSearcher 메소드에 의해 리턴된 ItemSearcher 객체를 사용하여 ItemContext가 열렸을 때 특정된 도메인에 대해서 검색을 실행할 수 있다. 예로서, 다음의 선언을 가정해보자:An application can use the ItemSearcher object returned by the ItemContext.GetSearcher method to perform a search for the specified domain when the ItemContext is opened. For example, suppose the following declaration:

Figure 112006012719774-pct00054
Figure 112006012719774-pct00054

기본 검색 패턴은 GetSearcher 메소드를 호출함으로써 ItemContext로부터 리트리브된 ItemSearcher 객체를 사용하는 것에 관련된다.The basic search pattern involves using an ItemSearcher object retrieved from an ItemContext by calling the GetSearcher method.

주어진 타입의 모든 항목을 검색Search all items of a given type

Figure 112006012719774-pct00055
Figure 112006012719774-pct00055

필터를 만족하는 주어진 타입의 항목을 검색Search for items of a given type that satisfy the filter

Figure 112006012719774-pct00056
Figure 112006012719774-pct00056

검색 필터 스트링 내에 매개변수를 사용Use parameters within search filter strings

Figure 112006012719774-pct00057
Figure 112006012719774-pct00057

주어진 타입의 및 필터를 만족시키는 관계를 검색Find relationships that satisfy a given type and filter

Figure 112006012719774-pct00058
Figure 112006012719774-pct00058

주어진 타입의 및 필터를 만족시키는 관계를 가진 항목을 검색Search for items of a given type and a relationship that satisfies the filter

Figure 112006012719774-pct00059
Figure 112006012719774-pct00059

주어진 타입의 및 필터를 만족시키는 항목 확장을 검색Search for item extensions that satisfy the given type and filter

Figure 112006012719774-pct00060
Figure 112006012719774-pct00060

주어진 타입의 및 필터를 만족시키는 항목 확장을 가진 항목을 검색Search for items of the given type and with item extensions that satisfy the filter

Figure 112006012719774-pct00061
Figure 112006012719774-pct00061

(a) 검색 옵션(a) search options

소팅, 지연 로딩 및 결과 개수의 제한을 포함하는 다양한 옵션들이 검색을 실행할 때 특정될 수 있다.Various options can be specified when performing a search, including sorting, lazy loading, and limiting the number of results.

검색 결과 소팅Sort Results

Figure 112006012719774-pct00062
Figure 112006012719774-pct00062

결과 카운트 제한Result count limit

Figure 112006012719774-pct00063
Figure 112006012719774-pct00063

(b) FindOne 및 FindOnly(b) FindOne and FindOnly

때때로, 특히 소트 기준을 특정할 때, 제1 결과만을 리트리브하는 것이 유용하다. 이외에, 몇몇 검색들은 오직 하나의 객체만을 리턴하리라고 예상되지만 아무 객체도 리턴하지 않으리라고는 예상되지 않는다.Sometimes it is useful to retrieve only the first result, especially when specifying sort criteria. In addition, some searches are expected to return only one object, but not expected to return any object.

하나의 객체를 검색Search for one object

Figure 112006012719774-pct00064
Figure 112006012719774-pct00064

항상 존재한다고 예상되는 단일 객체를 검색Retrieve a single object that is always expected to exist

Figure 112006012719774-pct00065
Figure 112006012719774-pct00065

(c) ItemContext의 쇼트컷 검색(c) Shortcut search of ItemContext

가능한 용이하게 단순한 검색을 실행하는 다수의 쇼트컷 메소드가 ItemContext에 존재한다.There are a number of shortcut methods in the ItemContext that make simple searches as easy as possible.

ItemContextItemContext .. FindAllFindAll 쇼트컷을Shortcut 사용하는 검색 Search used

Figure 112006012719774-pct00066
Figure 112006012719774-pct00066

ItemContextItemContext .. FindOneFindOne 쇼트컷을Shortcut 사용하는 검색 Search used

Person p = ic.FindOne(typeof(Person), "PersonalNames.Surname= 'Smith'")as Person;Person p = ic.FindOne (typeof (Person), "PersonalNames.Surname = 'Smith'") as Person;

(d) ID 또는 경로로 찾기(d) Find by ID or path

이외에, 항목, 관계 및 항목 확장은 그들의 id(들)를 제공함으로써 리트리브될 수 있다. 항목은 또한 경로에 의해서도 리트리브될 수 있다.In addition, items, relationships, and item extensions can be retrieved by providing their id (s). Items can also be retrieved by path.

id(들)가 주어진 항목, 관계 및 항목 확장을 획득get item, relationship and item extension given id (s)

Figure 112006012719774-pct00067
Figure 112006012719774-pct00067

경로가 주어진 항목을 획득Get item given path

Figure 112006012719774-pct00068
Figure 112006012719774-pct00068

(e) GetSearcher 패턴(e) GetSearcher pattern

저장 플랫폼 API 내에는, 다른 객체의 문맥으로 또는 특정 매개변수와 함께 검색을 실행하는 헬퍼 메소드를 제공하기에 바람직한 여러 곳이 있다. GetSearcher 패턴은 이러한 시나리오들을 가능하게 한다. API 내에는 다수의 GetSearcher 메소드가 있다. 각각은 주어진 검색을 수행하기 위한 사전에 구성된 ItemSearcher를 리턴한다. 예:Within the storage platform API, there are several places where it is desirable to provide helper methods to perform searches in the context of other objects or with specific parameters. The GetSearcher pattern makes these scenarios possible. There are a number of GetSearcher methods in the API. Each returns a preconfigured ItemSearcher to perform a given search. Yes:

Figure 112006012719774-pct00069
Figure 112006012719774-pct00069

검색을 실행하기 전에 추가적인 필터를 추가할 수 있다:You can add additional filters before running the search:

Figure 112006012719774-pct00070
Figure 112006012719774-pct00070

결과를 어떻게 원하는지를 고를 수 있다:You can choose how you want the result:

Figure 112006012719774-pct00071
Figure 112006012719774-pct00071

(3) 저장소 갱신(3) update the repository

일단 객체가 검색에 의해 리트리브되면, 그것은 필요에 따라 애플리케이션에 의해 수정될 수 있다. 또한 새로운 객체가 생성되고, 기존 객체에 연관될 수 있다. 애플리케이션이 논리 그룹을 형성하는 변경을 모두 만들면, 애플리케이션은 ItemContext.Update를 호출하여, 그러한 변경들을 저장소에 지속시킨다. 본 발명의 저장 플랫폼 API의 또 다른 양태에 따르면, API는 애플리케이션 프로그램에 의해 행해진 항목에 대한 변경들을 수집하고, 그들을 데이터 저장소가 구현된 데이터베이스 엔진(또는 임의의 종류의 저장 엔진)에 의해 요구되는 올바른 갱신으로 체계화한다. 이것은 API에 대한 데이터 저장소 갱신의 복잡성은 그대로 두면서, 애 플리케이션 프로그래머가 메모리 내의 항목을 변경할 수 있게 한다.Once the object is retrieved by the search, it can be modified by the application as needed. New objects can also be created and associated with existing objects. When an application makes all the changes that make up a logical group, the application calls ItemContext.Update to persist those changes to the repository. According to another aspect of the storage platform API of the present invention, the API collects changes to the items made by the application program, and makes them correct as required by the database engine (or any kind of storage engine) in which the data store is implemented. Systematize with update. This allows the application programmer to change items in memory while leaving the complexity of updating the data store for the API.

단일 항목에 대한 변경 저장Save Changes to a Single Item

Figure 112006012719774-pct00072
Figure 112006012719774-pct00072

다수의 항목에 대한 변경 저장Save Changes to Multiple Items

Figure 112006012719774-pct00073
Figure 112006012719774-pct00073

새로운 항목 생성Create new item

Figure 112006012719774-pct00074
Figure 112006012719774-pct00074

관계(relation( 타겟target 항목 가능) 삭제 Delete items)

Figure 112006012719774-pct00075
Figure 112006012719774-pct00075

항목 확장 추가Add item extension

Figure 112006012719774-pct00076
Figure 112006012719774-pct00076

항목 확장 삭제Delete item extension

Figure 112006012719774-pct00077
Figure 112006012719774-pct00077

6. 보안6. Security

상기 섹션 Ⅱ.E(보안)을 참조하면, 저장 플랫폼 API의 본 실시예에서, ItemContext 상에 저장소 내의 항목에 관련된 보안 정책을 리트리브 및 수정하기 위해 사용가능한 5개의 메소드가 있다. 그들은 다음과 같다:Referring to section II.E (Security) above, in this embodiment of the storage platform API, there are five methods available on the ItemContext to retrieve and modify the security policy related to the item in the repository. They are as follows:

1. GetItemSecurity;1. GetItemSecurity;

2. SetItemSecurity;2. SetItemSecurity;

3. GetPathSecurity;3. GetPathSecurity;

4. SetPathSecurity; 및4. SetPathSecurity; And

5. GetEffectiveItemSecurity5. GetEffectiveItemSecurity

GetItemSecurity 및 SetItemSecurity는 항목에 연관된 명시적인 ACL을 리트리브 및 수정하기 위한 메커니즘을 제공한다. 이 ACL은 항목에 존재하는 경로에 독립적이며, (실행중에) 타겟으로서 이 항목을 갖는 유지 관계에도 독립적으로 될 것이다. 이것은 관리자가 원하면 항목에 존재하는 경로에 독립적인 항목 보안에 대해 논리적으로 추론할 수 있게 한다.GetItemSecurity and SetItemSecurity provide mechanisms for retrieving and modifying explicit ACLs associated with items. This ACL is independent of the paths present in the entry and will be independent of any maintenance relationships that have this entry as a target (while running). This allows the administrator to make logical inferences about item security that is independent of the paths present in the item, if desired.

GetPathSecurity 및 SetPathSecurity는 다른 폴더로부터의 유지 관계 때문에 항목에 존재하는 ACL을 리트리브 및 수정하기 위한 메커니즘을 제공한다. 이 ACL은, 해당 경로에 공급된 것이 있다면 그 명시적인 ACL과 함께, 그 경로를 따른 항목에 대한 다양한 조상들의 ACL들로 구성된다. 이 ACL과 이전 경우의 ACL 간의 차이는 명시적인 항목 ACL은 항목에 대한 임의의 유지 관계에 독립적인 반면, 이 ACL은 대응하는 유지 관계가 존재하는 한 (실행중에) 남아 있다는 것이다.GetPathSecurity and SetPathSecurity provide a mechanism for retrieving and modifying ACLs on items because of their maintenance relationships from other folders. This ACL consists of the ACLs of the various ancestors of the item along the path, along with the explicit ACL if one was supplied for that path. The difference between this ACL and the ACL in the previous case is that the explicit item ACL is independent of any maintenance relationship to the item, while this ACL remains (running) as long as the corresponding maintenance relationship exists.

SetItemSecurity 및 SetPathSecurity에 의해 항목에 설정될 수 있는 ACL은 상속가능하고 객체 특정한 ACE에 제한된다. 그들은 상속되었다고 표식된 ACE는 포함할 수 없다.ACLs that can be set on items by SetItemSecurity and SetPathSecurity are inheritable and limited to object specific ACEs. They cannot contain ACEs marked as inherited.

GetEffectiveItemSecurity는 항목에 대한 명시적인 ACL뿐만 아니라 다양한 경로 기반 ACL을 리트리브한다. 이것은 사실상 주어진 항목에 대한 인증 정책을 반영한다.GetEffectiveItemSecurity retrieves various path-based ACLs as well as explicit ACLs on items. This actually reflects the authentication policy for a given item.

7. 관계 지원7. Relationship Support

전술된 바와 같이, 저장 플랫폼의 데이터 모델은 항목이 다른 것에 관련되는 것을 허용하는 "관계"를 정의한다. 스키마에 대한 데이터 클래스가 생성될 때, 각각의 관계 타입에 대한 다음의 클래스들이 생성된다:As mentioned above, the storage platform's data model defines a "relationship" that allows items to be related to others. When a data class for a schema is created, the following classes are created for each relationship type:

1. 관계 자체를 나타내는 클래스. 이 클래스는 Relationship 클래스로부터 도출되며, 관계 타입에 특정한 멤버를 포함함.1. A class that represents the relationship itself. This class is derived from the Relationship class and contains members specific to the relationship type.

2. 강하게 타입화된 "가상" 집합 클래스. 이 클래스는 VirtualRelationshipCollection으로부터 도출되며, 관계 인스턴트가 생성 및 삭제되는 것을 허용함.2. A strongly typed "virtual" aggregate class. This class is derived from the VirtualRelationshipCollection, allowing relationship instants to be created and deleted.

이 섹션은 저장 플랫폼 API 내의 관계를 지원한다.This section supports relationships within the storage platform API.

a) 기초 관계 타입a) the underlying relationship type

저장 플랫폼 API는 관계 API의 기반구조를 형성하는 System.Storage 명칭 공간 내의 다수의 타입을 제공한다. 이들은 다음과 같다:The storage platform API provides a number of types within the System.Storage namespace that form the infrastructure of the relational API. These are:

1. Relationship - 모든 관계 클래스의 기초 타입1. Relationship-the base type of all relationship classes

2. VirtualRelationshipCollection - 모든 관계 집합에 대한 기초 타입2. VirtualRelationshipCollection-the base type for all relationship sets

3. ItemReference, ItemIDReference, ItemPathReference - 항목 참조 타입을 나타냄; 이러한 타입들 간의 관계는 도 11에 예시됨.3. ItemReference, ItemIDReference, ItemPathReference-indicates an item reference type; The relationship between these types is illustrated in FIG.

(1) Relationship 클래스(1) Relationship class

다음은 관계 클래스에 대한 기초 클래스이다.The following is the base class for relation classes.

Figure 112006012719774-pct00078
Figure 112006012719774-pct00078

(2) ItemReference 클래스(2) ItemReference class

다음은 항목 참조 타입에 대한 기초 클래스이다.The following is the base class for item reference types.

Figure 112006012719774-pct00079
Figure 112006012719774-pct00079

ItemReference 객체는 항목 참조가 상주한 곳 이외의 저장소에 존재하는 항 목을 식별할 수 있다. 각각의 도출된 타입은 원격 저장소로의 참조가 어떻게 구성 및 사용되는지를 특정한다. 도출된 클래스 내의 GetItem 및 IsDomainConnected의 구현은 ItemContext의 멀티 도메인 지원을 사용하여, 필요한 도메인으로부터 항목을 로드하고, 도메인으로의 접속이 이미 구축되어있는지를 판정한다.An ItemReference object can identify items that exist in a repository other than where the item reference resides. Each derived type specifies how a reference to a remote repository is constructed and used. The implementations of GetItem and IsDomainConnected in the derived class use ItemContext's multi-domain support to load items from the required domain and determine whether a connection to the domain has already been established.

(3) ItemIdReference 클래스(3) ItemIdReference class

다음은 ItemIdReference 클래스이다 - 항목 참조는 항목 id를 사용하여 타겟 항목을 식별함.Here is the ItemIdReference class-the item reference identifies the target item using the item id.

Figure 112006012719774-pct00080
Figure 112006012719774-pct00080

GetItem 및 IsDomainConnected는 ItemContext의 멀티 도메인 지원을 사용하여, 필요한 도메인으로부터 항목을 로드하고, 도메인으로의 접속이 이미 구축되어있는지를 판정한다. 이 기능은 아직 구현되지 않았다.GetItem and IsDomainConnected use ItemContext's multi-domain support to load items from the required domain and determine whether a connection to the domain has already been established. This feature is not yet implemented.

(4) ItemPathReference 클래스(4) ItemPathReference class

ItemPathReference 클래스는 타겟 항목을 식별하기 위해 경로를 사용하는 항목 참조이다. 이 클래스에 대한 코드는 다음과 같다:The ItemPathReference class is an item reference that uses a path to identify the target item. The code for this class is as follows:

Figure 112006012719774-pct00081
Figure 112006012719774-pct00081

GetItem 및 IsDomainConnected는 ItemContext의 멀티 도메인 지원을 사용하여, 필요한 도메인으로부터 항목을 로드하고, 도메인으로의 접속이 이미 구축되어있는지를 판정한다.GetItem and IsDomainConnected use ItemContext's multi-domain support to load items from the required domain and determine whether a connection to the domain has already been established.

(5) RelationshipId 구조(5) RelationshipId structure

RelationshipId 구조는 RelationshipId GUID를 캡슐화한다.The RelationshipId structure encapsulates a RelationshipId GUID.

Figure 112006012719774-pct00082
Figure 112006012719774-pct00082

이러한 값 타입은 GUID를 랩핑(wrapping)함으로써, 매개변수 및 속성들이 관계 id로 강하게 타입화될 수 있게 한다. OptionalValue<RelationshipId>는 관계 id가 널일 수 있을 때 사용되어야 한다. System.Guid.Empty에 의해 제공되는 것과 같은 빈 값은 노출되지 않는다. RelationshipId는 빈 값으로 구성될 수 없다. 디폴트 구조자를 사용하여 RelationshipId를 생성할 때, 새로운 GUID가 생성된다.This value type wraps the GUID, allowing the parameters and attributes to be strongly typed into the relationship id. OptionalValue <RelationshipId> should be used when the relationship id can be null. Empty values such as those provided by System.Guid.Empty are not exposed. RelationshipId cannot consist of empty values. When creating a RelationshipId using the default constructor, a new GUID is generated.

(6) VirtualRelationshipCollection 클래스(6) VirtualRelationshipCollection class

VirtualRelationshipCollection 클래스는 데이터 저장소로부터의 객체를 포함하는 관계 객체의 집합을 구현하며, 집합에 추가된 새로운 객체들을 합하지만, 저장소로부터 제거된 객체들을 포함하지 않는다. 주어진 소스 항목 id를 갖는 특정된 관계 타입의 객체는 집합에 포함된다.The VirtualRelationshipCollection class implements a set of relational objects that contain objects from the data store, sums up new objects added to the set, but does not include objects removed from the store. Objects of the specified relationship type with the given source item id are included in the set.

이것은 각각의 관계 타입에 대해 생성된 관계 집합 클래스에 대한 기초 클래스이다. 이 클래스는 주어진 항목 관계의 용이한 조작 및 액세스를 제공하기 위해 소스 항목 타입 내의 속성 타입으로 사용될 수 있다.This is the base class for the relationship set class created for each relationship type. This class can be used as an attribute type within a source item type to provide easy manipulation and access to a given item relationship.

VirtualRelationshipCollection의 콘텐츠를 열거하는 것은 잠재적으로 다수의 관계 객체가 저장소로부터 로드될 것을 필요로 한다. 애플리케이션은 Count 속성을 사용하여, 얼마나 많은 관계들이 로드될 수 있는지를 집합의 콘텐츠를 열거하기 전에 판정한다. 집합에 객체를 추가하고 그로부터 객체를 제거하는 것은 관계가 저장소로부터 로드될 것을 필요로 하지 않는다.Enumerating the contents of the VirtualRelationshipCollection potentially requires that multiple relationship objects be loaded from the repository. The application uses the Count attribute to determine how many relationships can be loaded before enumerating the contents of the set. Adding an object to and removing an object from the set does not require the relationship to be loaded from the repository.

효율성을 위해, 애플리케이션이 모든 항목 관계를 열거하는 대신에 VirtualRelationshipCollection 객체를 사용하여 특정 기준을 만족하는 관계들만을 검색하는 것이 바람직하다. 관계 객체를 집합에 추가하면, ItemContext.Update가 호출될 때, 표현된 관계가 저장소에 생성된다. 관계 객체를 집합으로부터 제거하면, ItemContext.Update가 호출될 때, 표현된 관계가 저장소에서 삭제된다. 가상 집합은 관계 객체가 Item.Relationships 집합이나 그 항목에 대한 임의의 다른 관계 집합을 통해 추가/제거되는지에 상관없이 올바른 객체 세트를 포함한다.For efficiency, instead of enumerating all item relationships, it is desirable for the application to retrieve only those relationships that meet certain criteria using the VirtualRelationshipCollection object. When you add a relationship object to the set, the expressed relationship is created in the repository when ItemContext.Update is called. If you remove a relationship object from the set, when the ItemContext.Update is called, the represented relationship is deleted from the repository. A virtual set contains the correct set of objects, regardless of whether the relationship objects are added / removed through the Item.Relationships set or any other set of relationships for that item.

다음의 코드는 VirtualRelationshipCollection 클래스를 정의한다:The following code defines the VirtualRelationshipCollection class:

Figure 112006012719774-pct00083
Figure 112006012719774-pct00083

b) 생성된 관계 타입b) the type of relationship created

저장 플랫폼 스키마에 대한 클래스를 생성할 때, 각각의 관계 선언에 대해서 클래스가 생성된다. 관계 자체를 나타내는 클래스 이외에, 관계 집합 클래스가 또한 각각의 관계에 대해서 생성된다. 이러한 클래스는 관계 소스 또는 타겟 항목 클래스의 속성 타입으로 사용된다.When you create a class for the storage platform schema, a class is created for each relationship declaration. In addition to the classes representing the relationships themselves, a relationship set class is also created for each relationship. These classes are used as attribute types of relational source or target item classes.

이 섹션은 다수의 "견본" 클래스들을 사용하여 생성된 클래스를 설명한다. 즉, 특정된 관계 선언이 주어지면, 생성된 클래스가 설명된다. 견본 클래스 내에서 사용된 클래스, 타입 및 엔드 포인트 명칭은 스키마 내에 특정된, 관계에 대한 명칭을 위한 위치 홀더(place holder)이며, 문자적으로 취해지면 안된다.This section describes classes created using a number of "sample" classes. That is, given a specified relationship declaration, the generated class is described. The class, type, and endpoint names used within the sample classes are place holders for names for relationships, specified in the schema, and should not be taken literally.

(1) 생성된 관계 타입(1) the created relationship type

이 섹션은 각각의 관계 타입에 대해서 생성된 클래스들을 설명한다. 예:This section describes the classes created for each relationship type. Yes:

Figure 112006012719774-pct00084
Figure 112006012719774-pct00084

이 관계 정의가 주어지면, RelationshipPrototypeRelationshipPrototypeCollection 클래스가 생성된다. RelationshipPrototype 클래스는 관계 자체를 나타낸다. RelationshipPrototypeCollection 클래스는 소스 엔트 포인트로서 특정된 항목을 갖는 RelationshipPrototype 인스턴스에의 액세스를 제공한다.Given this relationship definition, the RelationshipPrototype and RelationshipPrototype Collection classes are created. The RelationshipPrototype class represents the relationship itself. The RelationshipPrototype Collection class provides access to a RelationshipPrototype instance with an item specified as the source endpoint.

(2) RelationshipPrototype 클래스(2) RelationshipPrototype class

이것은 "HoldingRelationshipPrototype"으로 명명된 유지 관계에 대한 견본 관계 클래스이며, 여기서 소스 엔드 포인트는 "Head"로 명명되고 "Foo" 항목 타입을 특정하며, 타겟 엔드 포인트는 "Tail"로 명명되고 "Bar" 항목 타입을 특정한다. 그것은 다음과 같이 정의된다:This is a sample relationship class for a maintenance relationship named " HoldingRelationshipPrototype ", where the source endpoint is named " Head " and specifies the "Foo" item type, and the target endpoint is named " Tail " and the "Bar" item Specifies the type. It is defined as follows:

Figure 112006012719774-pct00085
Figure 112006012719774-pct00085

Figure 112006012719774-pct00086
Figure 112006012719774-pct00086

(3) RelationshipPrototypeCollection 클래스(3) RelationshipPrototypeCollection class

이것은 특정된 항목이 소유하는 RelationshipPrototype 관계 인스턴스의 집합을 유지하는 RelationshipPrototype 클래스로 생성된 견본 클래스이다. 이것은 다음과 같이 정의된다:This is the RelationshipPrototype owned by the specified item. Sample class generated by the RelationshipPrototype class that maintains a set of relationship instances. This is defined as follows:

Figure 112006012719774-pct00087
Figure 112006012719774-pct00087

c) 항목 클래스 내의 관계 지원c) supporting relationships within item classes

Item 클래스는 그 항목이 관계의 소스인 관계에의 액세스를 제공하는 Relationship 속성을 포함한다. Relationship 속성은 타입 RelationshipCollection을 갖는다.The Item class contains a Relationship attribute that provides access to the relationship whose item is the source of the relationship. Relationship attribute has type RelationshipCollection.

(1) Item 클래스(1) Item class

다음의 코드는 Item 클래스의 관계 문맥 속성들을 나타낸다:The following code shows the relational context properties of the Item class:

Figure 112006012719774-pct00088
Figure 112006012719774-pct00088

(2) RelationshipCollection 클래스(2) RelationshipCollection class

이 클래스는 관계 주어진 항목이 관계의 소스일 때, 관계 인스턴스에의 액세스를 제공한다. 이것은 다음과 같이 정의된다:This class provides access to the relationship instance when the relationship given item is the source of the relationship. This is defined as follows:

Figure 112006012719774-pct00089
Figure 112006012719774-pct00089

d) 검색 표현 내의 관계 지원d) supporting relationships in search expressions;

검색 표현 내의 관계와 관련 항목 간의 결합의 트래버설을 특정하는 것이 가능하다.It is possible to specify the traversal of the association between the relationship in the search expression and the related item.

(1) 항목으로부터 관계로의 트래버싱(1) Traversing from Item to Relationship

검색 표현의 현재 문맥이 항목의 세트일 때, 항목이 소스인 경우, 항목과 관계 인스턴스 간의 결합은 Item.Relationships 속성을 사용하여 행해질 수 있다. 특정한 타입의 관계와 결합하는 것은 검색 표현 Cast 연산자를 사용하여 특정될 수 있다.When the current context of the search expression is a set of items, if the item is a source, the association between the item and the relationship instance can be done using the Item.Relationships attribute. Combining with a particular type of relationship can be specified using the search expression Cast operator.

강하게 타입화된 관계 집합(예를 들어, Folder.MemberRelationships)이 또한 검색 표현에 사용될 수 있다. 관계 타입으로의 캐스트(cast)는 절대적이다.A strongly typed set of relationships (eg Folder.MemberRelationships) can also be used in the search expression. The cast to the relation type is absolute.

일단 관계 세트가 구축되면, 그 관계의 속성들은 술어부(predicate) 내에 또 는 추정의 타겟으로 사용될 수 있다. 추정의 타겟을 특정하기 위해 사용될 때, 관계 세트가 리턴될 수 있다. 예를 들어, 다음의 스테이트먼트는 관계의 StartDate 속성이 '1/1/2000'보다 크거나 같은 값을 갖는 체계에 관련된 모든 사람들을 찾을 것이다.Once a relationship set is built, the properties of that relationship can be used in predicates or as targets for estimation. When used to specify the target of the estimate, a relationship set can be returned. For example, the following statement will find all people involved in a system whose relationship's StartDate attribute is greater than or equal to '1/1/2000'.

Figure 112006012719774-pct00090
Figure 112006012719774-pct00090

Person 타입이 타입 (EmployeeEmployer 관계 타입에 대해 생성된 것과 같은) EmployeeSideEmployerEmployeeRelationships의 속성 EmployerContext를 가지면, 이것은 다음과 같이 작성될 수 있다:If the Person type has an attribute EmployerContext of type EmployeeSideEmployerEmployeeRelationships (such as one created for the EmployeeEmployer relation type), it can be written as follows:

Figure 112006012719774-pct00091
Figure 112006012719774-pct00091

(2) 관계로부터 항목으로의 트래버싱(2) Traversing from relationship to item

검색 표현의 현재 문맥이 관계의 세트일 때, 관계로부터 관계의 엔드 포인트로의 결합은 엔드 포인트의 명칭을 특정함에 의해 트래버싱될 수 있다. 일단 관련 항목의 세트가 구축되면, 이러한 항목들의 속성은 술어부 내에 또는 추정의 타겟으로 사용될 수 있다. 추정의 타겟을 특정하기 위해 사용될 때, 항목 세트가 리턴될 수 있다. 예를 들어, 다음의 스테이트먼트는 (체계에 상관없이) 고용인의 성이 "Smith"인 모든 EmployeeOfOrganization 관계를 찾을 것이다:When the current context of the search expression is a set of relationships, the association from the relationship to the endpoint of the relationship can be traversed by specifying the name of the endpoint. Once a set of related items is built up, the attributes of these items can be used within the predicate or as a target of estimation. When used to specify the target of the estimate, an item set can be returned. For example, the following statement will find all EmployeeOfOrganization relationships whose employee's last name is "Smith" (regardless of the scheme):

Figure 112006012719774-pct00092
Figure 112006012719774-pct00092

검색 표현 Cast 연산자를 사용하여, 엔드 포인트 항목의 타입을 필터링할 수 있다. 예를 들어, 멤버가 별명 "Smith"를 갖는 Person 항목인 모든 MemberOfFolder 관계 인스턴스를 찾아보자:Using the search expression Cast operator, you can filter the type of the endpoint item. For example, let's find all the MemberOfFolder relationship instances where the member is a Person entry with alias "Smith":

Figure 112006012719774-pct00093
Figure 112006012719774-pct00093

(3) 관계 트래버설 조합(3) relationship traversal combination

상기 2개의 패턴(항목으로부터 관계로의 및 관계로부터 항목으로의 트래버싱)을 조합하여 임의 복합 트래버설을 생성할 수 있다. 예를 들어, 별명이 "Smith"인 고용인을 갖는 모든 체계를 찾아보자:Any combination traversal can be created by combining the two patterns (traversal from item to relationship and traversal from item to item). For example, let's find all systems with employees with the nickname "Smith":

Figure 112006012719774-pct00094
Figure 112006012719774-pct00094

다음의 예는 "New York" 지역에 있는 가정에 살고 있는 사람들을 나타내는 모든 Person 항목을 찾을 것이다(TODO: 이것은 더 이상 대안이 지원되지 않음).The following example will find all Person entries that represent people living in families in the "New York" area (TODO: this no longer supports the alternative).

Figure 112006012719774-pct00095
Figure 112006012719774-pct00095

e) 관계 지원의 예시적인 사용e) exemplary use of relationship support

다음은 관계를 조작하기 위해 저장 플랫폼 API 내의 관계 지원이 어떻게 사용될 수 있는지의 예이다. 다음의 예에 대해서, 다음의 선언을 가정하자:The following is an example of how relationship support in the storage platform API can be used to manipulate relationships. For the following example, assume the following declaration:

Figure 112006012719774-pct00096
Figure 112006012719774-pct00096

(1) 관계 검색(1) relationship search

소스 또는 타겟 관계를 검색하는 것이 가능하다. 필터를 사용하여, 특정된 타입의 및 주어진 속성 값을 갖는 관계를 선택할 수 있다. 또한 필터를 사용하여, 관련 항목 타입 또는 속성 값에 기초하여 관계를 선택할 수 있다. 예를 들어, 다음의 검색이 수행될 수 있다:It is possible to retrieve a source or target relationship. Filters can be used to select relationships of a specified type and with given attribute values. You can also use filters to select relationships based on related item types or attribute values. For example, the following search may be performed:

주어진 항목이 소스인 모든 관계All relationships for which a given item is a source

Figure 112006012719774-pct00097
Figure 112006012719774-pct00097

주어진 항목이 "A%"와 일치하는 명칭을 갖는 소스인 모든 관계All relationships where a given item is a source whose name matches "A%"

Figure 112006012719774-pct00098
Figure 112006012719774-pct00098

주어진 항목이 소스인 모든 All of the given items are sources FolderMemberFolderMember 관계 relation

Figure 112006012719774-pct00099
Figure 112006012719774-pct00099

주어진 항목이 소스이고 명칭이 "A%"와 같은 모든 All items whose source is the source and whose name is "A%" FolderMemberFolderMember 관계 relation

Figure 112006012719774-pct00100
Figure 112006012719774-pct00100

타겟target 항목이 Person인 모든  All items with Person FolderMemberFolderMember 관계 relation

Figure 112006012719774-pct00101
Figure 112006012719774-pct00101

타겟target 항목이 별명 "Smith"를 갖는 Person인 모든  All items whose Person has the alias "Smith" FolderMemberFolderMember 관계 relation

Figure 112006012719774-pct00102
Figure 112006012719774-pct00102

상기 도시된 GetSearcher 이외에, 각각의 관계 클래스는 정적인 FindAll, FineOne 및 FineOnly API를 지원한다. 이외에, 관계 타입은 ItemContext.GetSearcher, ItemContext.FindAll, ItemContext.FindOne 또는 ItemContext.FindOnly를 호출할 때 특정될 수 있다.In addition to the GetSearcher shown above, each relationship class supports static FindAll, FineOne and FineOnly APIs. In addition, the relationship type may be specified when calling ItemContext.GetSearcher, ItemContext.FindAll, ItemContext.FindOne or ItemContext.FindOnly.

(2) 관계로부터 소스 및 타겟 항목으로의 네비게이션(2) navigation from source to target items

일단 관계 객체가 검색을 통해 리트리브되면, 타겟 또는 소스 항목으로 "네비게이션"하는 것이 가능하다. 기초 관계 클래스는 Item 객체를 리턴하는 SourceItem 및 TargetItem 속성을 제공한다. 생성된 관계 클래스는 강하게 타입화된 등가물 및 명명된 속성(예를 들어, FolderMember.FolderItem 및 FolderMember.MemberItem)을 제공한다. 예:Once the relationship object is retrieved through a search, it is possible to "navigate" to the target or source item. The underlying relationship class provides the SourceItem and TargetItem attributes, which return an Item object. The generated relation class provides strongly typed equivalents and named attributes (eg FolderMember.FolderItem and FolderMember.MemberItem). Yes:

명칭이 "Named " FooFoo "인 관계를 위해 소스 및 Source for relationship and 타겟target 항목으로  By item 네비게이션navigation

Figure 112006012719774-pct00103
Figure 112006012719774-pct00103

타겟target 항목으로  By item 네비게이션navigation

Figure 112006012719774-pct00104
Figure 112006012719774-pct00104

타겟 항목이 관계가 발견된 도메인 내에 없더라도, 타겟 항목으로의 네비게이션은 동작한다. 이러한 경우에, 저장 플랫폼 API는 필요한 때에 타겟 도메인에의 접속을 연다. 애플리케이션은, 접속이 타겟 항목을 리트리브하기 전에 요청될지를 판정할 수 있다.Even if the target item is not in the domain in which the relationship is found, navigation to the target item operates. In this case, the storage platform API opens a connection to the target domain when needed. The application can determine whether a connection will be requested before retrieving the target item.

접속 해제된 도메인 내의 Within a disconnected domain 타겟target 항목 체크 Item check

Figure 112006012719774-pct00105
Figure 112006012719774-pct00105

(3) 소스 항목으로부터 관계로 네비게이션(3) navigation from source item to relation

항목 객체가 주어지면, 명시적인 검색을 실행하지 않으면서도 그 항목이 소스인 관계로 네비게이션할 수 있다. 이것은 Item.Relationship 집합 속성 또는 Folder.MemberRealtionships 등의 강하게 타입화된 집합 속성을 사용하여 행해진다. 관계로부터 타겟 항목으로 네비게이션하는 것이 가능하다. 이러한 네이게이션은 타겟 항목이 소스 항목의 ItemContext에 연관된 항목 도메인 내에 없으며, 타겟 항목이 타겟 항목과 동일한 저장소 내에 없더라도 행해진다. 예:Given an item object, you can navigate to that item as a source without running an explicit search. This is done using strongly typed set attributes such as Item.Relationship set attributes or Folder.MemberRealtionships. It is possible to navigate from the relationship to the target item. This navigation is done even if the target item is not in the item domain associated with the ItemContext of the source item, and the target item is not in the same repository as the target item. Yes:

소스 항목으로부터 From the source item 타겟target 항목으로의 관계로의  In relation to item 네비게이션navigation

Figure 112006012719774-pct00106
Figure 112006012719774-pct00106

폴더 항목으로부터 From folder items 타겟target 항목으로의  To the item FoldermemberFoldermember 관계로의  Relationship 네비게이션navigation

Figure 112006012719774-pct00107
Figure 112006012719774-pct00107

항목은 다수의 관계를 가질 수 있으므로 애플리케이션은 관계 집합을 열거할 때 조심해야 한다. 일반적으로, 검색은 전체 집합을 열거하는 대신 관심 있는 특정한 관계를 식별하는 데 사용된다. 또한, 관계에 대한 집합 기반 프로그래밍 모델을 갖는 것은 충분히 가치가 있으며 다수의 관계를 갖는 항목은 거의 없으므로, 개발자에 의해 오용될 위험성이 정당화된다. 애플리케이션은 집합 내의 관계들의 개수를 체크하고, 필요하면 다른 프로그래밍 모델을 사용할 수 있다. 예:An item can have multiple relationships, so applications should be careful when enumerating a set of relationships. In general, a search is used to identify a particular relationship of interest instead of enumerating the entire set. Also, having a set-based programming model for relationships is well worth it, and there are few items with many relationships, which justifies the risk of misuse by developers. The application can check the number of relationships in the set and use a different programming model if necessary. Yes:

관계 집합의 크기를 체크Check the size of the relationship set

Figure 112006012719774-pct00108
Figure 112006012719774-pct00108

전술된 관계 집합은 실제로 애플리케이션이 집합을 열거하려고 시도하기 전까지는 각각의 관계를 나타내는 객체에 의해 실제로 파퓰레이트되지 않는다는 의미에서 "가상적"이다. 집합이 열거되면, 결과는 저장소 내에 있는 것과, 애플리케이 션에 의해 추가되었지만 아직 저장되지 않은 것을 반영하고, 애플리케이션에 의해 제거되었지만 아직 저장되지는 않은 임의의 관계들은 반영하지 않는다.The relationship sets described above are "virtual" in the sense that they are not actually populated by objects representing each relationship until the application actually attempts to enumerate the sets. When a set is enumerated, the results reflect what is in the repository and what has been added by the application but not yet stored, and does not reflect any relationships that have been removed by the application but not yet stored.

(4) 관계(및 항목) 생성(4) Create relationships (and items)

새로운 관계는 관계 객체를 생성하고, 그것을 소스 항목 내의 관계 집합에 추가하고, ItemContext를 갱신함으로써 생성된다. 새로운 항목을 생성하기 위해, 유지 또는 삽입 관계가 생성되어야 한다. 예:A new relationship is created by creating a relationship object, adding it to a set of relationships in the source item, and updating the ItemContext. To create a new item, a maintain or insert relationship must be created. Yes:

기존 폴더에 새로운 항목 추가Add new item to existing folder

Figure 112006012719774-pct00109
Figure 112006012719774-pct00109

기존 폴더에 기존 항목 추가Add existing item to existing folder

Figure 112006012719774-pct00110
Figure 112006012719774-pct00110

새로운 폴더에 기존 항목 추가Add existing item to new folder

Figure 112006012719774-pct00111
Figure 112006012719774-pct00111

새로운 폴더에 새로운 항목 추가Add new item to new folder

Figure 112006012719774-pct00112
Figure 112006012719774-pct00112

(5) 관계(및 항목) 삭제(5) Delete relationships (and items)

유지 관계 삭제Delete maintenance relationship

Figure 112006012719774-pct00113
Figure 112006012719774-pct00113

8. 저장 플랫폼 API "확장"8. Storage Platform API "Extension"

전술된 바와 같이, 모든 저장 플랫폼 스키마는 클래스 세트를 생성한다. 이러한 클래스들은 Find*과 같은 표준형 메소드를 가지며, 또한 필드 값을 획득 및 설정하기 위한 속성들을 갖는다. 이러한 클래스 및 관련 메소드는 저장 플랫폼 API의 기반구조를 형성한다.As mentioned above, every storage platform schema generates a set of classes. These classes have standard methods, such as Find *, and also have properties for getting and setting field values. These classes and related methods form the infrastructure of the storage platform API.

a) 도메인 거동a) domain behavior

이러한 표준형 메소드 이외에, 모든 스키마는 그것에 대한 도메인 특정 메소드의 세트를 갖는다. 우리는 이러한 도메인 거동을 호출한다. 예를 들어, 연락처 스키마 내의 몇몇의 도메인 거동은 다음과 같다:In addition to these standard methods, every schema has a set of domain specific methods for it. We call this domain behavior. For example, some domain behaviors in the contact schema are:

· 이메일 어드레스가 유효한가?Is your email address valid?

· 폴더가 주어지면, 폴더의 모든 멤버들의 집합을 획득.Given a folder, get the set of all members of the folder.

· 항목 ID가 주어지면, 이 항목을 나타내는 객체를 획득.Given an item ID, obtain an object representing this item.

· Person이 주어지면, 그의 온라인 상태를 획득.Given Person, get his online status.

· 새로운 연락처 또는 임시적인 연락처를 생성하기 위한 헬퍼 기능.· Helpers to create new or temporary contacts.

· 등· Etc

"표준형" 거동(Find* 등)과 도메인 거동 사이를 구별하는 동안, 그들은 프로그래머에게 단순히 메소드로 보여짐을 명심하는 것이 중요하다. 이러한 메소드들 간의 구별은, 도메인 거동이 변경되지 못하게 코드화되는 반면 표준형 거동은 저장 플랫폼 API 설계 시간 툴에 의해 스키마 파일로부터 자동으로 생성된다는 사실에 근거한다.While distinguishing between "standard" behavior (such as Find *) and domain behavior, it's important to keep in mind that they are simply seen as methods by the programmer. The distinction between these methods is based on the fact that domain behavior is coded unaltered while standard behavior is automatically generated from the schema file by the storage platform API design time tool.

그들의 그 특성에 의해, 이러한 도메인 거동은 직접 생성된다. 이것은 C#의 초기 버전이 클래스의 전체 구현이 단일 파일 내에 있을 것을 요청하는 실질적인 문제를 이끌어낸다. 그러므로, 이것은 자동으로 생성된 클래스 파일이 도메인 거동들을 추가하도록 편집되어야 한다고 강요한다. 그것만으로, 이것은 문제가 될 수 있다.By their nature, this domain behavior is generated directly. This leads to the real problem that earlier versions of C # required that the entire implementation of a class be in a single file. Therefore, this forces the automatically generated class file to be edited to add domain behaviors. That alone can be a problem.

이러한 문제에 대해서 부분적인 클래스라고 불리는 기능이 C#에 도입되어 있다. 기본적으로, 부분적인 클래스는 클래스 구현이 다수의 파일들을 스팬(span)하는 것을 허용한다. 부분적인 클래스는 키워드 부분이 그것의 선언을 뒤따른다는 것을 제외하면 보통의 클래스와 동일하다:For this problem, a feature called partial classes has been introduced in C #. Basically, partial classes allow a class implementation to span multiple files. A partial class is identical to a regular class except that the keyword part follows its declaration:

Figure 112006012719774-pct00114
Figure 112006012719774-pct00114

이제, Person에 대한 도메인 거동은 다음과 같이 상이한 파일 내에 놓여질 수 있다:Now, the domain behavior for Person can be placed in different files as follows:

Figure 112006012719774-pct00115
Figure 112006012719774-pct00115

b) 값 추가 거동b) behavior of value addition

도메인 거동을 갖는 데이터 클래스는 애플리케이션 개발자가 구축하는 기반 구조를 형성한다. 그러나, 데이터 클래스가 그 데이터에 관련된 생각해낼 수 있는 모든 거동을 노출하는 것은 불가능하며 바람직하지 않다. 저장 플랫폼은 개발자가 저장 플랫폼 API가 제공하는 기초 기반구조를 구축하는 것을 허용한다. 본원에서 기초 패턴은 하나 이상의 저장 플랫폼 데이터 클래스를 매개변수로서 취하는 메소드의 클래스를 작성하기 위한 것이다. 예를 들어, 마이크로소프트 아웃룩이나 마이크로소프트 윈도우즈 메신저를 사용하여 이메일을 송신하기 위한 값 추가 클래스는 다음과 같을 수 있다:Data classes with domain behavior form the infrastructure that application developers build. However, it is impossible and undesirable for a data class to expose all conceivable behavior associated with that data. The storage platform allows developers to build the underlying infrastructure provided by the storage platform API. The basic pattern herein is to create a class of methods that take one or more storage platform data classes as parameters. For example, a value-added class for sending email using Microsoft Outlook or Microsoft Windows Messenger might look like this:

Figure 112006012719774-pct00116
Figure 112006012719774-pct00116

이러한 값 추가 클래스는 저장 플랫폼에 등록될 수 있다. 등록 데이터는 저장 플랫폼이 모든 설치된 저장 플랫폼 타입에 대해서 유지하는 스키마 메타데이터에 연관된다. 이 메타데이터는 저장 플랫폼 항목으로 저장되고, 질의될 수 있다.This value addition class may be registered in the storage platform. Registration data is associated with schema metadata that the storage platform maintains for all installed storage platform types. This metadata can be stored as a storage platform item and queried.

값 추가 클래스의 등록은 강력한 기능인데, 예를 들어 그것은 다음의 시나리오를 허용한다: Shell 익스플로러 내의 Person 객체 상에서의 오른쪽 클릭 및 허용된 액션 세트는 Person에 대해 등록된 값 추가 클래스로부터 도출될 수 있었다.The registration of value adding classes is a powerful feature, for example, it allows the following scenarios: The right click on the Person object in Shell Explorer and the set of allowed actions could be derived from the value adding class registered for Person.

c) 서비스 공급자로서의 값 추가 거동c) behavior of value addition as a service provider;

본 실시예에서, 저장 플랫폼 API는 값 추가 클래스가 주어진 타입에 대한 "서비스"로서 등록될 수 있는 메커니즘을 제공한다. 이것은 애플리케이션이 주어진 타입의 서비스 공급자(=값 추가 클래스)를 설정 및 획득하게 한다. 이 메커니즘을 활용하길 원하는 값 추가 클래스는 잘 알려진 인터페이스를 구현해야 하며, 예는 다음과 같다:In this embodiment, the storage platform API provides a mechanism by which a value addition class can be registered as a "service" for a given type. This allows an application to set up and obtain a service provider of a given type (= value add class). A value-added class that wants to take advantage of this mechanism must implement a well-known interface, for example:

Figure 112006012719774-pct00117
Figure 112006012719774-pct00117

모든 저장 플랫폼 API 데이터 클래스는 ICachedServiceProvider 인터페이스를 구현한다. 이 인터페이스는 다음과 같은 System.IServiceProvider 인터페이스 를 확장시킨다:All storage platform API data classes implement the ICachedServiceProvider interface. This interface extends the following System.IServiceProvider interface:

Figure 112006012719774-pct00118
Figure 112006012719774-pct00118

이 인터페이스를 사용하여, 애플리케이션은 특정한 타입의 서비스 공급자를 요청할 뿐만 아니라 서비스 공급자 인스턴스를 설정할 수 있다.Using this interface, an application can set up a service provider instance as well as request a specific type of service provider.

이 인터페이스를 지원하기 위해, 저장 플랫폼 데이터 클래스는 타입에 의해 정렬된 서비스 공급자의 해시 테이블을 유지한다. 서비스 공급자가 요청될 때, 구현은 우선 특정된 타입의 서비스 공급자가 설정되어 있는지를 알아보기 위해 해시 테이블을 본다. 서비스 공급자가 없으면, 등록된 서비스 공급자 기반구조를 사용하여 특정된 타입의 서비스 공급자를 식별한다. 그 후 이 공급자의 인스턴스가 생성되고 해시 테이블에 추가된 후 리턴된다. 또한 데이터 클래스 상의 공유된 메소드가 서비스 공급자를 요청하고 그 공급자에게 동작을 포워딩할 수 있다는 것도 명심하자. 예를 들어, 이것을 사용하여 사용자에 의해 특정된 이메일 시스템을 사용하는 메일 메시지 클래스에 대한 송신 메소드를 제공한다.To support this interface, the storage platform data class maintains a hash table of service providers sorted by type. When a service provider is requested, the implementation first looks at the hash table to see if a service provider of the specified type is set. If no service provider exists, the registered service provider infrastructure is used to identify the service provider of the specified type. An instance of this provider is then created, added to the hash table, and returned. Also note that a shared method on a data class can request a service provider and forward its behavior to that provider. For example, use this to provide a send method for a mail message class that uses an email system specified by the user.

9. 타임 프레임워크 설계9. Time Framework Design

이 섹션은 본 발명의 실시예에 따라 저장 플랫폼 스키마가 어떻게 클라이언트 상의 저장 플랫폼 API 클래스 및 서버 상의 UDT 클래스로 변하는지를 설명한다. 도 24는 관련된 요소들을 나타낸다.This section describes how the storage platform schema changes to storage platform API classes on the client and UDT classes on the server in accordance with an embodiment of the present invention. 24 shows related elements.

도 24를 참조하면, 스키마 내의 타입은 XML 파일(상자 1)에 포함된다. 이 파 일은 또한 스키마에 관련된 필드 레벨 및 항목 레벨 제약을 포함한다. 저장 플랫폼 클래스 생성자(xfs2cs.exe - 상자 2)는 이 파일을 취하고, 저장 UDT에 대한 부분적인 클래스(상자 5), 및 클라이언트 클래스에 대한 부분적인 클래스(상자 3)를 를 생성한다. 각각의 스키마 도메인에 대해서, 도메인 거동이라 불리는 추가적인 메소드가 존재한다. 저장소(상자 7), 클라이언트(상자 6), 및 두 곳 모두(상자 4)에 의미가 있는 도메인 거동이 존재한다. 상자(4, 6, 및 7) 내의 코드는 직접 작성된다(자동으로 생성되지 않음). 상자(3, 4, 및 6) 내의 부분적인 클래스들은 함께 저장 플랫폼 API 도메인 클래스에 대한 완벽한 클래스 구현을 형성한다. 상자 (3, 4, 및 6)는 컴파일되어(상자 8), 저장 플랫폼 API 클래스(상자 11)를 형성한다(실제로, 저장 플랫폼 API는 모든 초기 스키마 도메인으로부터 생성된 상자(3, 4, 및 6)을 컴파일링한 결과임). 도메인 클래스 이외에, 값 추가 거동을 구현하는 추가적인 클래스도 또한 존재한다. 이러한 클래스들은 하나 이상의 스키마 도메인 내의 하나 이상의 클래스를 사용한다. 이것은 상자(10)로 표현된다. 상자(4, 5, 및 7) 내의 부분적인 클래스들은 함께 서버 UDT 클래스에 대한 완벽한 클래스 구현을 형성한다. 상자(4, 5, 및 7)는 컴파일링되어(상자 9), 서버 측 UDT 어셈블리(상자 12)를 형성한다(실제로, 서버 측 UDT 어셈블리는 모든 초기 스키마 도메인으로부터 생성된 상자(4, 5, 및 7)을 컴파일링한 결과임). DDL 명령 생성자 모듈(상자 13)은 UDT 어셈블리(상자 12) 및 스키마 파일(상자 1)을 취하고, 그들을 데이터 저장소 상에 설치한다. 이 프로세스는 (다른 것들 중에서) 각각의 스키마 내의 타입에 대한 테이블 및 뷰의 생성에 관련된다.Referring to FIG. 24, types in a schema are included in an XML file (box 1). This file also contains field level and item level constraints related to the schema. The storage platform class constructor (xfs2cs.exe-box 2) takes this file and creates a partial class (box 5) for the storage UDT and a partial class (box 3) for the client class. For each schema domain, there is an additional method called domain behavior. There are domain behaviors that are meaningful for the repository (box 7), the client (box 6), and both (box 4). The code in boxes 4, 6, and 7 is written directly (not automatically generated). The partial classes in boxes 3, 4, and 6 together form a complete class implementation for the storage platform API domain classes. Boxes 3, 4, and 6 are compiled (box 8) to form a storage platform API class (box 11) (actually, the storage platform API is a box (3, 4, and 6) generated from all initial schema domains. ) Is the result of compiling). In addition to domain classes, there are also additional classes that implement the value addition behavior. These classes use one or more classes in one or more schema domains. This is represented by the box 10. The partial classes in boxes 4, 5, and 7 together form a complete class implementation for the server UDT class. Boxes 4, 5, and 7 are compiled (box 9) to form a server-side UDT assembly (box 12) (actually, the server-side UDT assembly is a box (4, 5, And 7). The DDL instruction generator module (box 13) takes a UDT assembly (box 12) and a schema file (box 1) and installs them on a data store. This process involves the creation of tables and views for types in each schema (among others).

10. 질의 공식10. Formula of quality

기초로 축소될 때, 저장 플랫폼 API를 사용할 때의 애플리케이션 패턴은 ItemContext를 열고, 원하는 객체를 리트리브하기 위해 필터 기준와 함께 Find를 사용하고, 객체에 대해서 동작하고, 저장소에 변경을 송신한다. 이 섹션은 무엇이 필터 스트링으로 되는지의 신택스에 관한 것이다.When scaled down on the basis, the application pattern when using the storage platform API opens the ItemContext, uses Find with filter criteria to retrieve the desired object, operates on the object, and sends changes to the store. This section is about the syntax of what becomes a filter string.

저장 플랫폼 데이터 객체를 찾을 때 제공되는 필터 스트링은 객체의 속성이 리턴되기 위해 만족되어야 하는 조건을 설명한다. 저장 플랫폼 API에 의해 사용되는 신택스는 타입 캐스트 및 관계 트래버설을 지원한다.The filter string provided when locating a storage platform data object describes the conditions that must be met for the object's attributes to be returned. The syntax used by the storage platform APIs supports type cast and relationship traversal.

a) 필터 기초a) filter base

필터 스트링은 비어있거나(특정된 타입의 모든 객체가 리턴되어야 함을 나타냄) 각각의 리턴된 객체가 만족해야 하는 블리언 표현이다. 표현은 객체의 속성을 참조한다. 저장 플랫폼 API 실행시간은 이러한 속성 명칭들이 어떻게 저장 플랫폼 타입 필드 명칭 및 궁극적으로 저장 플랫폼 저장소에 의해 유지되는 SQL 뷰에 매핑되는지를 알고 있다.The filter string is either empty (indicating that all objects of a particular type should be returned) or a blan representation that each returned object must satisfy. The expression refers to an object's properties. The storage platform API runtime knows how these attribute names map to the storage platform type field names and ultimately the SQL view maintained by the storage platform repository.

다음의 예를 고려하자:Consider the following example:

Figure 112006012719774-pct00119
Figure 112006012719774-pct00119

중첩된 객체의 속성은 또한 필터에서도 사용될 수 있다. 예:The properties of nested objects can also be used in filters. Yes:

Figure 112006012719774-pct00120
Figure 112006012719774-pct00120

집합에 대해서, 각괄호 내의 조건을 사용하여 멤버를 필터링할 수 있다. 예:For sets, you can filter the members using the conditions in square brackets. Yes:

Figure 112006012719774-pct00121
Figure 112006012719774-pct00121

다음의 예는 1999년 12월 31일 이후에 태어난 사람들 모두를 리스트한다:The following example lists all people born after December 31, 1999:

Figure 112006012719774-pct00122
Figure 112006012719774-pct00122

라인 1은 로컬 컴퓨터의 저장 플랫폼 저장소 상의 "Work Contacts"에 액세스하기 위한 새로운 ItemContext 객체를 생성한다. 라인 3 및 4는 표현 "Birthdate > '12/31/1999'"에 의해 특정된 것과 같이 Birthdate 속성이 1999년 12월 31일 이후로 특정된 Person 객체의 집합을 획득한다. 이 FindAll 동작의 실행은 도 23에 예시된다.Line 1 creates a new ItemContext object to access "Work Contacts" on the storage platform repository of the local computer. Lines 3 and 4 obtain a set of Person objects whose Birthdate attribute is specified after December 31, 1999, as specified by the expression "Birthdate> '12 / 31/1999 '". Execution of this FindAll operation is illustrated in FIG.

b) 타입 캐스트b) type cast

속성에 저장된 값의 타입이 속성 선언된 타입으로부터 도출되는 경우가 종종 있다. 예를 들어, Person 내의 PersonalEAddress 속성은 EMailAddress와 같은 EAddress 및 TelephoneNumber로부터 도출된 타입의 집합을 포함한다. 전화번호 국번에 기초하여 필터링하기 위해, Eaddress 타입을 TelephoneNumber 타입으로 캐스팅할 필요가 있다:Often the type of the value stored in an attribute is derived from the attribute declared type. For example, the PersonalEAddress attribute in Person contains a set of types derived from EAddress and TelephoneNumber, such as EMailAddress. To filter based on the phone number, you need to cast the Eaddress type to the TelephoneNumber type:

Figure 112006012719774-pct00123
Figure 112006012719774-pct00123

c) 필터 신택스c) filter syntax

다음은 일 실시예에 따라 저장 플랫폼 API가 지원하는 필터 신택스에 대한 설명이다.The following describes filter syntax supported by the storage platform API according to an embodiment.

Figure 112006012719774-pct00124
Figure 112006012719774-pct00124

11. 원격11. Remote

a) API 내의 로컬/원격 투명성a) local / remote transparency within the API

저장 플랫폼 내의 데이터 액세스는 로컬 저장 플랫폼 인스턴스를 타겟으로 한다. 질의(또는 그것의 일부)가 원격 데이터를 참조하면, 로컬 인스턴스는 라우터로 기능한다. 그러므로, API 계층은 로컬/원격 투명성을 제공하며; 로컬 데이터 액세스와 원격 데이터 액세스 간의 API에는 아무런 구조적인 차이가 없다. 그것은 순수하게 요청된 범위의 기능이다.Data access within the storage platform targets the local storage platform instance. If the query (or part of it) references remote data, the local instance acts as a router. Therefore, the API layer provides local / remote transparency; There is no structural difference in the API between local data access and remote data access. It is a function of purely requested scope.

저장 플랫폼 데이터 저장소는 또한 분산형 질의도 구현하며, 이에 따라, 로컬 저장 플랫폼 인스턴스에 접속되고, 상이한 볼륨(몇몇은 로컬 저장소 상에 있고 다른 것들은 원격 저장소 상에 있음)으로부터의 항목들을 포함하는 질의를 수행하는 것이 가능하다. 저장소는 결과들을 조합하여, 그것을 애플리케이션에 나타낸다. 저장 플랫폼 API(이에 따라 애플리케이션 개발자)의 관점으로부터, 임의의 원격 액세스는 완벽하게 고르고 투명하다.The storage platform data store also implements distributed queries, thus connecting to local storage platform instances and executing queries that include items from different volumes (some on local storage and others on remote storage). It is possible to carry out. The store combines the results and presents it to the application. From the perspective of the storage platform API (and hence the application developer), any remote access is perfectly even and transparent.

저장 플랫폼 API는 애플리케이션이 주어진 ItemContext 객체가 ItemContext객체에 대한 속성인 IsRemote 속성을 사용하여 로컬 또는 원격 접속을 나타낼지를 판정하는 것을 허용한다. 다른 것들 중에서, 애플리케이션은 성능, 신뢰 등에 대한 사용자 기대를 설정하는 것을 돕기 위해 가상 피드백을 제공하길 원할 수 있다.The storage platform API allows the application to determine whether a given ItemContext object represents a local or remote connection using the IsRemote attribute, which is an attribute to the ItemContext object. Among other things, an application may want to provide virtual feedback to help set user expectations for performance, trust, and the like.

b) 원격의 저장소 플랫폼 구현b) remote storage platform implementation

저장 플랫폼 데이터 저장소는 HTTP를 통해 동작하는 특별한 OLEDB 공급자를 사용하여 서로 대화한다(디폴트 OLEDB 공급자는 TDS를 사용함). 일 실시예에서, 분산형 질의는 관계형 데이터베이스 엔진의 디폴트 OPENROWSET 기능을 통해 동작한다. 특별 사용자 정의 기능(UDF): DoRemoteQuery(server, queryText)가 실제적인 원격을 행하기 위해 제공된다.Storage platform Data stores communicate with each other using special OLEDB providers that operate over HTTP (the default OLEDB providers use TDS). In one embodiment, distributed queries operate through the default OPENROWSET functionality of the relational database engine. Special User Defined Functions (UDFs): DoRemoteQuery (server, queryText) is provided to do the actual remote.

c) 비저장 플랫폼 저장소에의 액세스c) access to non-storage platform repositories

본 발명의 저장 플랫폼의 일 실시예에서, 임의의 저장소가 저장 플랫폼 데이터 액세스에 참여하는 것을 허용하는 일반 공급자 구조는 없다. 그러나, 마이크로소프트 익스체인지(Microsoft Exchange) 및 마이크로소프트 액티브 디렉토리(Microsoft Active Directory, AD)의 특별한 경우에 대한 제한된 공급자 구조가 제공된다. 이것은, 공급자가 저장 플랫폼에 있을 때 그들이 저장 플랫폼 API를 사용하며 AD 및 익스체인지 내의 데이터에 액세스할 수 있지만, 그들이 액세스할 수 있는 데이터는 저장 플랫폼 스키마화된 타입으로 제한된다는 것을 함축한다. 이에 따라, 어드레스 북(=저장 플랫폼 Person 타입들의 집합)은 AD에서 지원되며, 메일, 달력 및 연락처는 익스체인지에 대해 지원된다.In one embodiment of the storage platform of the present invention, there is no generic provider structure that allows any repository to participate in storage platform data access. However, limited provider structures are provided for the special case of Microsoft Exchange and Microsoft Active Directory (AD). This implies that when a provider is on a storage platform they use the storage platform APIs and can access data in AD and Exchange, but the data they can access is limited to the storage platform schematized type. Accordingly, address books (= set of storage platform Person types) are supported in AD, and mail, calendar and contacts are supported for Exchange.

d) DFS와의 관계d) relationship with DFS

저장 플랫폼 속성 증진자는 지난 마운트 포인트(mount point)는 증진시키지 않는다. 명칭 공간이 마운트 포인트를 통해 액세스하기에 충분히 풍부하더라도, 질의는 그들을 통과하지 않는다. 저장 플랫폼 볼륨은 DFS 트리 내의 리프 노드(leaf node)로 보여질 수 있다.The storage platform attribute enhancer does not enhance past mount points. Although the namespace is rich enough to access through the mount point, the query does not pass through them. Storage platform volumes can be seen as leaf nodes in the DFS tree.

e) GXA/인디고(Indigo)와의 관계e) Relationship to GXA / Indigo

개발자는 개발 플랫폼 API를 사용해, 데이터 저장소의 상부 상의 "GXA 헤드"를 노출시킬 수 있다. 개념적으로, 이것은 임의의 다른 웹 서비스를 생성하는 것과 다르지 않다. 저장 플랫폼 API는 GXA를 사용하여 저장 플랫폼 데이터 저장소와 대화하지 않는다. 전술된 바와 같이, API는 TDS를 사용하여 로컬 저장소와 대화하고, 임의의 원격은 동기화 서비스를 사용하여 로컬 저장소에 의해 처리된다.Developers can use development platform APIs to expose the "GXA head" on top of the data store. Conceptually, this is no different from creating any other web service. The storage platform API does not use GXA to interact with the storage platform data store. As mentioned above, the API uses TDS to talk to the local repository, and any remote is handled by the local repository using the synchronization service.

12. 제약12. Pharmaceuticals

저장 플랫폼 데이터 모델은 타입에 대한 값 제약을 허용한다. 이러한 제약들은 저장소에서 자동으로 평가되고, 프로세스는 사용자에게 투명하다. 그 제약들은 서버에서 체크됨을 명심하자. 때때로, 서버에의 왕복에 대한 오버헤드를 초래하지 않으면서 입력 데이터가 제약을 만족한다는 것을 검증하기 위한 유연성을 개발자에게 주는 것이 바람직함을 명심하자. 이것은 최종 사용자가 객체를 파퓰레이트하는데 사용되는 데이터를 입력하는 상호작용적인 애플리케이션에 특히 유용하다. 저장 플랫폼 API는 이러한 기능들을 제공한다.The storage platform data model allows value constraints on types. These constraints are automatically evaluated in the repository, and the process is transparent to the user. Note that the constraints are checked on the server. Note that it is sometimes desirable to give developers the flexibility to verify that input data meets constraints without incurring overhead for round trips to the server. This is especially useful for interactive applications where end users enter data used to populate objects. The storage platform API provides these functions.

스키마를 나타내는 적절한 데이터베이스 객체를 생성하기 위해 저장 플랫폼에 의해 사용되는 저장 플랫폼 스키마가 XML 파일 내에 특정된다는 것을 상기하자. 그것은 저장 플랫폼 API의 설계 시간 프레임워크에 의해 사용되어, 클래스를 자동으로 생성한다.Recall that the storage platform schema used by the storage platform to create the appropriate database object representing the schema is specified in the XML file. It is used by the design time framework of the storage platform API to automatically generate classes.

이것은 연락처 스키마를 생성하기 위해 사용되는 XML 파일의 부분적인 리스트이다:This is a partial list of XML files used to generate the contact schema:

Figure 112006012719774-pct00125
Figure 112006012719774-pct00125

상기 XML 내의 Check 태그는 Person 타입에 대한 제약을 특정한다. 하나 이상의 체크 태그가 있을 수 있다. 상기 제약은 일반적으로 저장소 내에서 체크된다. 제약이 또한 애플리케이션에 의해 명시적으로 체크될 수 있음을 특정하기 위해, 상기 XML은 다음과 같이 수정된다:The Check tag in the XML specifies a constraint on the Person type. There can be one or more check tags. The constraint is generally checked in the reservoir. To specify that constraints can also be explicitly checked by the application, the XML is modified as follows:

Figure 112006012719774-pct00126
Figure 112006012719774-pct00126

참으로 설정된 <Check> 요소에 대한 새로운 "InApplication" 속성에 주의하자. 이것은 저장 플랫폼 API가, Validate()라 불리는 Person 클래스 상의 인스턴스 메소드를 통해 API 내의 제약을 표면화하게 한다. 애플리케이션은 객체에 대해 이 메소드를 호출하여, 데이터가 유효하다는 것을 보증하고, 서버로의 잠재적으로 불필요한 왕복을 방지할 수 있다. 이것은 검증 결과를 나타내기 위해 부울을 리턴한다. 값 제약은 클라이언트가 <object>.Validate() 메소드를 호출하는지에 상관없이 아직 서버에 적용된다는 것을 명심하자. 이것이 Validate가 어떻게 사용될 수 있는지에 대한 예이다:Note the new "InApplication" attribute for the <Check> element set to true. This allows the storage platform API to surface constraints within the API through instance methods on the Person class called Validate (). The application can call this method on the object to ensure that the data is valid, and to avoid potentially unnecessary round trips to the server. This returns a Boolean to indicate the verification result. Note that value constraints still apply to the server, regardless of whether the client calls the <object> .Validate () method. This is an example of how Validate can be used:

Figure 112006012719774-pct00127
Figure 112006012719774-pct00127

저장 플랫폼 저장소(저장 플랫폼 API, ADO.NET, OLEDB, 및 ADO)로의 다수의 액세스 경로가 존재한다. 이것은 ODBC로부터 작성된 데이터가 저장 플랫폼 API로부터 작성될 수 있는 동일한 데이터 보전 제약을 만족하는지를 어떻게 보장할 수 있는지의 믿을만한 제약 체킹에 대한 의문을 발생시킨다. 저장소에의 모든 제약들이 체크되기 때문에, 제약은 이제 믿을만한 것이다. 저장소에 이르기 위해 어느 API 경로를 사용하는지에 상관없이, 저장소에 작성된 모든 것은 저장소에서 제약 체크를 통해 필터링된다.There are a number of access paths to storage platform storage (storage platform APIs, ADO.NET, OLEDB, and ADO). This raises the question of reliable constraint checking how to ensure that data written from ODBC meets the same data integrity constraints that can be created from the storage platform API. Since all constraints in the repository are checked, the constraint is now reliable. Regardless of which API path you use to reach the repository, everything written to the repository is filtered through constraint checks in the repository.

13. 공유13. Share

저장 플랫폼 내의 공유는 다음과 같은 형태이다:Shares within the storage platform look like this:

\\<DNS Name>\<Context Service>DN <DNS Name> \ <Context Service>

여기서 <DNS Name>는 기기의 DNS 명칭이고, <Context Service>는 그 기기의 볼륨 내의 포함 폴더, 가상 폴더 또는 항목이다. 예를 들어, 기기 "Johns_Desktop"은 Johns_Information이라 불리는 볼륨을 가지며, 이 볼륨 내에는 Contacts_Categories라 불리는 폴더가 존재하며, 이 폴더는 John에 대한 작업 연락처를 갖는 Work라 불리는 폴더를 포함한다:Where <DNS Name> is the DNS name of the device, and <Context Service> is an included folder, virtual folder or item in the volume of the device. For example, the device "Johns_Desktop" has a volume called Johns_Information, within which there is a folder called Contacts_Categories, which contains a folder called Work that has a work contact for John:

\\Johns_Desktop\Johns_Information$\Contacts_Categories\Work\\Johns_Desktop\Johns_Information $ \Contacts_Categories\Work

이것은 "WorkContacts"로 공유된다. 이 공유에 대한 정의에 의해, \\Johns_Desktop\WorkContacts\JaneSmith는 유효한 저장 플랫폼 명칭이 되며, Person 항목 JaneSmith를 식별한다.This is shared as "WorkContacts". By definition of this share, "Johns_Desktop" WorkContacts "JaneSmith is a valid storage platform name, identifying the Person item JaneSmith.

a) 공유 나타내기a) indicate sharing

공유 항목 타입은 공유 명칭, 및 공유 타겟(이것은 비 유지 링크(non-holding link)일 수 있음)과 같은 속성들을 갖는다. 예를 들어, 전술된 공유 명칭은 WorkContacts이며, 타겟은 볼륨 Johns_Information 상의 Contacts_Categories\Work이다. 다음은 Share 타입에 대한 스키마 프레그먼트이다:The shared item type has attributes such as a shared name, and a shared target, which can be a non-holding link. For example, the aforementioned shared name is WorkContacts, and the target is Contacts_Categories_Work on volume Johns_Information. Here is the schema fragment for the Share type:

Figure 112006012719774-pct00128
Figure 112006012719774-pct00128

b) 공유 관리b) share management

공유는 항목이기 때문에, 공유는 다른 항목들처럼 관리될 수 있다. 공유는 생성, 삭제 및 수정될 수 있다. 공유는 또한 다른 저장 플랫폼 항목들과 같은 방식으로 보안된다.Because shares are items, shares can be managed like other items. Shares can be created, deleted, and modified. Shares are also secured in the same way as other storage platform items.

c) 공유 액세스c) shared access

애플리케이션은 ItemContext.Open() 메소스 호출시에 저장 플랫폼 API에 공유 명칭(예를 들어, \\Johns_Desktop\WorkContacts)을 전달함으로써 원격 저장 플랫폼 공유에 액세스한다. ItemContext.Open은 ItemContext 객체 인스턴스를 리턴한다. 그 후 저장 플랫폼 API는 로컬 저장 플랫폼 서비스와 대화한다(원격 저장 플랫폼 저장소에의 액세싱은 로컬 저장소 플랫폼을 통해 행해진다는 것을 상기). 이제, 로컬 저장 플랫폼 서비스는 주어진 공유 명칭(예를 들어, WorkContacts)을 사용하여 원격 저장 플랫폼 서비스(예를 들어, 기기 Johns_Desktop 상의)와 대화한다. 원격 저장 플랫폼 서비스는 그 후 WorkContacts를 Contacts_Categories\Work로 번역하고, 그것을 연다. 그 후, 질의 및 다른 동작들이 다른 범위들처럼 수행된다.An application accesses a remote storage platform share by passing a shared name (eg, "Johns_Desktop" WorkContacts) to the storage platform API when calling the ItemContext.Open () method. ItemContext.Open returns an ItemContext object instance. The storage platform API then talks to the local storage platform service (recalling that access to the remote storage platform repository is done through the local storage platform). The local storage platform service now talks to the remote storage platform service (eg, on the device Johns_Desktop) using the given shared name (eg, WorkContacts). The remote storage platform service then translates WorkContacts into Contacts_Categories\Work and opens it. Then, queries and other actions are performed like other ranges.

d) 발견성d) discoverability

일 실시예에서, 애플리케이션 프로그램은 다음의 방식으로 주어진 <DNS Name> 상에서 사용가능한 공유를 발견할 수 있다. 제1 방식에 따라, 저장 플랫폼 API는 ItemContext.Open() 메소드 내의 범위 매개변수로서 DNS 명칭(예를 들어, Johns_Desktop)을 수락한다. 저장 플랫폼 API는 그 후 접속 스트링의 일부로서 이 DNS 명칭을 사용하여 저장 플랫폼 저장소에 접속한다. 이 접속으로, 애플리케이션이 할 수 있는 것은 오직 ItemContext.FindAll(typeof(Share))를 호출하는 것이다. 저장 플랫폼 서비스는 그 후 모든 첨부된 볼륨 상의 모든 공유를 결합하고, 공유 집합을 리턴한다. 제2 방식에 따라, 로컬 기기 상에서, 관리자는 FindAll(typeof(Share))에 의해 특정한 볼륨 상의, 또는 FindAll(typeof(Share), "Target(ShareDestination).Id = folderId")에 의해 특정한 폴더 상의 공유를 용이하게 발견할 수 있다.In one embodiment, the application program may find available shares on a given <DNS Name> in the following manner. According to the first approach, the storage platform API accepts a DNS name (eg Johns_Desktop) as a scope parameter in the ItemContext.Open () method. The storage platform API then uses this DNS name as part of the connection string to connect to the storage platform repository. With this connection, all the application can do is call ItemContext.FindAll (typeof (Share)). The storage platform service then combines all shares on all attached volumes and returns a share set. According to a second scheme, on a local device, an administrator can share on a particular volume by FindAll (typeof (Share)) or on a specific folder by FindAll (typeof (Share), "Target (ShareDestination) .Id = folderId"). Can be found easily.

14. Find의 시맨틱14. Semantics of Find

Find* 메소드(그들이 ItemContext 객체 또는 개별적인 항목에 대해 호출되는지에 상관없이)는 일반적으로 주어진 문맥으로 항목(삽입된 항목 포함)에 적용된다. 중첩된 요소는 Find를 갖지 않는다(그들은 그들이 포함하는 Item들에 독립적으로 검색될 수 없음). 중첩된 요소는 Find를 가질 수 없다(그들은 그들의 포함 항목에 무관하게 검색되지 않음). 이것은 저장 플랫폼 데이터 모델에 의한 바람직한 시맨틱에 일관적이며, 여기서 중첩된 요소는 포함 항목으로부터의 그들의 "식별자"를 도출한다. 이러한 개념을 보다 명료하게 하기 위해, 유효한 및 무효한 찾기 동작의 예는 다음과 같다:Find * methods (regardless of whether they are called on an ItemContext object or on an individual item) generally apply to items (including inserted items) in a given context. Nested elements do not have Find (they can't be searched independently of the Items they contain). Nested elements cannot have Find (they are not searched regardless of their inclusion). This is consistent with the desired semantics by the storage platform data model, where nested elements derive their "identifiers" from inclusion items. To clarify this concept, examples of valid and invalid find operations are as follows:

a) 시외 국번이 206인 시스템 내의 모든 전화 번호를 보여주는가?a) Do you show all the telephone numbers in the system with the local code 206?

무효, 찾기가 항목을 참조하지 않고 전화번호(요소)에 대해서 행해지기 때문.Invalid, because the search is done on the phone number (element) without referring to the item.

b) 시외 국번이 206인 모든 Person들의 모든 전화 번호를 보여주는가?b) Do you show all phone numbers for all Persons with 206?

무효, Person(=항목)이 참조되지만, 검색 기준은 그 항목에 관련되지 않음.Invalid, Person (= item) is referenced, but search criteria are not related to that item.

c) 시외 국번이 206인 Murali(=단 한 명의 사람)의 모든 전화 번호를 보여주는가?c) Do you display all the telephone numbers for Murali (= only one person) with a local code of 206?

유효, Item("Murali"로 명명된 Person)에 대한 검색 기준이 있기 때문.Because there is a search criterion for valid, Item (Person named "Murali").

이 규칙은 Base.Relationship 타입으로부터 직접적으로 또는 간접적으로 도출된 중첩 요소 타입에 대해서는 예외이다. 이러한 타입은 관계 클래스를 통해 개별적으로 질의될 수 있다. 이러한 질의들은, 저장 플랫폼 구현이 Relationship 요소를 저장하기 위해 그것을 항목 UDT 내부에 삽입하는 대신 "마스터 링크 테이블"을 채용하기 때문에 지원될 수 있다.This rule is an exception for nested element types derived directly or indirectly from the Base.Relationship type. These types can be queried individually through relation classes. These queries may be supported because the storage platform implementation employs a "master link table" instead of inserting it into the item UDT to store the Relationship element.

15. 저장 플랫폼 연락처 API15. Storage Platform Contact API

이 섹션은 저장 플랫폼 연락처 API의 개요를 설명한다. 연락처 API 배후의 스키마는 도 21a 및 21b에 나타낸다.This section provides an overview of the storage platform contact API. The schema behind the contact API is shown in Figures 21A and 21B.

a) System.Storage.Contact의 개요a) Overview of System.Storage.Contact

저장 플랫폼 API는 연락처 스키마 내에 항목 및 요소들을 다루기 위한 명칭 공간을 포함한다. 이 명칭 공간은 System.Storage.Contact로 불린다.The storage platform API includes a namespace for handling items and elements in a contact schema. This namespace is called System.Storage.Contact.

예를 들어, 이 스키마는 다음의 클래스들을 갖는다:For example, this schema has the following classes:

· Item: UserDataFolder, User, Person, ADService, Service, Group, Organization, Principal, LocationItem: UserDataFolder, User, Person, ADService, Service, Group, Organization, Principal, Location

· Elements: Profile, PostalAddress, EmailAddress, TelephoneNumber, RealTimeAddress, EAddress, FullName, BasicPresence, GroupMembership, RoleOccupancyElements: Profile, PostalAddress, EmailAddress, TelephoneNumber, RealTimeAddress, EAddress, FullName, BasicPresence, GroupMembership, RoleOccupancy

b) 도메인 거동b) domain behavior

다음은 연락처 스키마에 대한 도메인 거동의 리스트이다. 충분히 높은 레벨로부터 관측할 때, 도메인 거동은 잘 체계화가능한 카테고리들에 속한다:The following is a list of domain behaviors for a contact schema. When observed from sufficiently high levels, domain behaviors fall into well-organized categories:

· 정적인 헬퍼. 예를 들어, 새로운 사람 연락처를 생성하기 위한 Person.CreatePersonalContact();Static helpers. For example, Person.CreatePersonalContact (); to create a new human contact.

· 인스턴스 헬퍼. 예를 들어, 사용자(User 클래스의 인스턴스)를 자동 로그인으로 표시된 모든 프로파일로 로그인시키는 user.AutoLoginToAllProfiles();Instance helpers. For example, user.AutoLoginToAllProfiles (); logs a user (an instance of the User class) into all profiles marked for automatic login.

· CategoryGUID. 예를 들어, Category.Home, Category.Work 등;CategoryGUID. For example, Category.Home, Category.Work, etc .;

· 도출된 속성. 예를 들어, emailAddress.Address() - 주어진 emailAddress(=EmailAddress 클래스의 인스턴스)의 사용자 명칭 및 도메인 필드를 조합한 스트링을 리턴함; 및· Derived attributes. For example, emailAddress.Address ()-returns a string combining the username and domain fields of a given emailAddress (= instance of the EmailAddress class); And

· 도출된 집합. 예를 들어, person.PersonalEamilAddresses - Person 클래스의 인스턴스가 주어지면, 그 사람의 개인 이메일 어드레스를 획득함.· Derived set. For example, person.PersonalEamilAddresses-Given an instance of the Person class, get the person's personal email address.

다음 테이블은 도메인 거동을 갖는 연락처 내의 각각의 클래스에 대한 이러한 메소드들의 리스트 및 그들이 속한 카테고리를 나타낸다.The following table shows a list of these methods and the category to which they belong for each class in a contact with domain behavior.

BasicPresenceBasicPresence 카테고리 URICategory URI UnknownCategoryURI, OfflineCategoryURI, BusyCategoryURI, AwayCategoryURI,
OnlineCategoryURI
UnknownCategoryURI, OfflineCategoryURI, BusyCategoryURI, AwayCategoryURI,
OnlineCategoryURI
정적인 헬퍼Static helper ConvertPresenceStateToString - 현재 상태를 위치 지정된 스트링으로 포매팅(실제로 로컬화가 추가될 필요가 있음; 지금은 익숙한 영어 스트링으로만 행해짐)ConvertPresenceStateToString-Formats the current state into a positioned string (actually localization needs to be added; it is now done only with familiar English strings) CategoryCategory 카테고리 GUIDCategory GUID Home, Work, Primary, Secondary, Cell, Fax, PagerHome, Work, Primary, Secondary, Cell, Fax, Pager EmailAddressEmailAddress 도출된 속성Derived attributes Address - 상용자 명칭 및 도메인의 조합Address-A combination of commercial name and domain 정적인 헬퍼Static helper IsValidEmailAddressIsValidEmailAddress FolderFolder 도출된 속성Derived attributes GetChildItemCollection - FolderMembership의 타겟에 기초하여 항목 집합을 만듦GetChildItemCollection-creates a set of items based on the target of the FolderMembership 정적인 헬퍼
Static helper
GetKnownFolder - 잘 알려진 폴더를 획득하기 위해 특정화된 질의GetKnownFolder-Specialized query to get a well known folder
AddToPersonalContacts - 항목을 잘 알려진 개인적인 연락처 폴더에 추가AddToPersonalContacts-Add items to well-known personal contacts folders ItemItem 정적인 집합Static assembly GetItemFromID - ID 기반 질의를 행함GetItemFromID-performs an ID based query RelationshipRelationship 인스턴스 헬퍼Instance helper BindToTarget - 타겟에 대한 항목을 리턴BindToTarget-return item for target PersonPerson 도출된 집합Derived set PersonalRealtimeAddresses,
PersonalEamilAddresses, PersonalTelephoneNumbers
PersonalRealtimeAddresses,
PersonalEamilAddresses, PersonalTelephoneNumbers
도출된 속성Derived attributes OnlineStatus, OnlineStatusIconSource, PrimaryEmailAddress, PrimarySecurityIDOnlineStatus, OnlineStatusIconSource, PrimaryEmailAddress, PrimarySecurityID 정적인 헬퍼Static helper CreatePersonalContact, CreateTemporaryContact - 잘알려진 폴더에 새로운 사람을 생성CreatePersonalContact, CreateTemporaryContact-Create a new person in a well known folder GetCurrentUser - 현재 로그인한 사용자에 대한 Person을 획득GetCurrentUser-get Person for the currently logged in user SecurityIDSecurityID 도출된 속성Derived attributes UserName, DomainName, DomainUserNameUserName, DomainName, DomainUserName TelephoneNumberTelephonenumber 인스턴스 헬퍼Instance helper SetFromUserInputString - 전화 번호 스트링을 부분들로 파싱SetFromUserInputString-Parse a phone number string into parts 정적인 헬퍼Static helper ParseNumber - 전화 번호 스트링을 부분들로 파싱ParseNumber-Parse a phone number string into parts UserUser 인스턴스 헬퍼Instance helper AutoLoginToAllProfiles - 자동로그인으로 표식된 모든 프로파일로 로그AutoLoginToAllProfiles-Log to all profiles marked as autologin

16. 저장 플랫폼 파일 API16. Storage Platform File API

이 섹션은 본 발명의 일 실시예에 따른 저장 플랫폼 파일 API의 개요를 설명 한다.This section describes an overview of the storage platform file API according to one embodiment of the invention.

a) 소개a) Introduction

(1) 저장 플랫폼 내에 NTFS 볼륨을 반영(1) reflect NTFS volumes within the storage platform

저장 플랫폼은 기존 NTFS 볼륨 내의 콘텐츠를 색인하는 방식을 제공한다. 이것은 NTFS 내의 각각의 파일 스트림 또는 디렉토리로부터 속성을 추출("증진")하고, 이러한 속성을 저장 플랫폼 내에 항목으로 저장함으로써 이루어진다.The storage platform provides a way to index content within existing NTFS volumes. This is done by extracting ("promoting") an attribute from each file stream or directory in NTFS and storing these attributes as items in the storage platform.

저장 플랫폼 파일 스키마는 증진된 파일 시스템 엔티티를 저장하기 위한 File 및 Directory의 두 개의 항목 타입을 정의한다. Directory 타입은 Folder 타입의 서브타입이며, 이것은 다른 Directory 항목 또는 File 항목을 포함하는 포함 폴더이다.The storage platform file schema defines two entry types, File and Directory, for storing enhanced file system entities. The Directory type is a subtype of the Folder type, which is an include folder containing other Directory items or File items.

Directory 항목은 Directory 및 File 항목을 포함할 수 있으며, 그것은 임의의 다른 타입의 항목은 포함할 수 없다. 저장 플랫폼이 관련되는 한, Directory 및 File 항목은 데이터 액세스 API의 임의의 것으로부터 판독만 된다. 파일 시스템 증진 관리자(FSPM) 서비스는 변경된 속성들을 저장 플랫폼으로 비동기적으로 증진시킨다. File 및 Directory 항목의 속성은 Win32 API에 의해 변경될 수 있다. 저장 플랫폼 API를 사용하여 File 항목에 관련된 스트림을 포함하는 이러한 항목들의 속성들 중 임의의 것을 판독할 수 있다.Directory entries may include Directory and File entries, which may not include any other type of entry. As far as storage platforms are concerned, Directory and File entries are only read from any of the data access APIs. The File System Enhancement Manager (FSPM) service asynchronously promotes changed attributes to the storage platform. The attributes of File and Directory entries can be changed by the Win32 API. The storage platform API can be used to read any of the attributes of these items, including the stream associated with the File item.

(2) 저장 플랫폼 명칭 공간 내의 파일 및 디렉토리 생성(2) Create files and directories in the storage platform namespace

NTFS 볼륨이 저장 플랫폼 볼륨으로 증진될 때, 그것 내의 모든 파일 및 디렉토리들은 그 볼륨의 특정 부분에 존재한다. 이 영역은 저장 플랫폼 관점으로부터 판독만 되며, FSPM은 새로운 디렉토리 및 파일들을 생성하고/하거나 기존 항목의 속성을 변경할 수 있다.When an NTFS volume is promoted to a storage platform volume, all files and directories within it reside in a particular part of that volume. This area is only read from the storage platform perspective, and FSPM can create new directories and files and / or change the attributes of existing entries.

이 볼륨의 명칭 공간의 나머지 부분은 Principal, Organization, Document, Folder 등의 보통의 전반적인 저장 플랫폼 항목 타입을 포함한다. 저장 플랫폼은 또한 저장 플랫폼 명칭 공간의 임의의 부분 내에 파일 및 디렉토리를 생성하는 것을 허용한다. 이러한 "원시" 파일 및 디렉토리는 NTFS 파일 시스템 내에 부본을 갖지 않고, 저장 플랫폼 내에 전체적으로 저장된다. 또한, 속성에 대한 변경은 즉각적으로 가시화 가능하게 된다.The remainder of this volume's namespace contains common overall storage platform item types, such as Principal, Organization, Document, and Folder. The storage platform also allows creating files and directories within any portion of the storage platform namespace. These "raw" files and directories do not have a copy in the NTFS file system, but are stored entirely within the storage platform. In addition, changes to attributes become immediately visible.

그러나, 프로그래밍 모델은 동일하게 남아있으며, 그들은 저장 플랫폼 데이터 액세스 API에 관련되는 한 여전히 판독만 된다. "원시" 파일 및 디렉토리는 Win32를 사용하여 갱신되어야 한다. 이것은 다음과 같은 개발자의 정신적 모델을 단순화한다, 즉:However, the programming model remains the same and they are still only read as far as the storage platform data access API is concerned. "Raw" files and directories must be updated using Win32. This simplifies the developer's mental model, namely:

1. 임의의 저장 플랫폼 항목 타입은 (물론, 허가에 의해 방해되지 않는 한)명칭 공간의 어느 곳에나 생성될 수 있음;1. Any storage platform item type can be created anywhere in the name space (unless, of course, prevented by permission);

2. 임의의 저장 플랫폼 항목 타입은 저장 플랫폼 API를 사용하여 판독될 수 있음;2. Any storage platform item type can be read using the storage platform API;

3. 파일 및 디렉토리를 제외한 모든 저장 플랫폼 항목 타입은 저장 플랫폼 API를 사용하여 작성됨.3. All storage platform item types except files and directories are created using the storage platform API.

4. 파일 및 디렉토리 항목이 명칭 공간 내의 어디에 있는지에 상관없이 그들에 기록하기 위해, Win32 API를 사용함.4. Use the Win32 API to write file and directory entries to them no matter where they are in the namespace.

5. "증진되는" 명칭 공간 내의 파일/디렉토리 항목에의 변경은 저장 플랫폼 내에 즉각적으로 나타나지 않을 수 있으며, "자발적인" 명칭 공간 내에서는 변경이 저장 플랫폼 내에 즉각적으로 반영됨.5. Changes to file / directory items in the “promoted” namespace may not appear immediately within the storage platform, and within the “voluntary” namespace the changes are immediately reflected within the storage platform.

b) 파일 스키마b) file schema

도 25는 파일 API에 기초한 스키마를 예시한다.25 illustrates a schema based on file APIs.

c) System.Storage.Files의 개요c) Overview of System.Storage.Files

저장 플랫폼 API는 파일 객체들을 다루기 위한 명칭 공간을 포함한다. 이 명칭 공간은 System.Storage.Files로 불린다. System.Storage.Files 내의 클래스의 데이터 멤버는 저장 플랫폼 저장소에 저장된 정보를 직접적으로 반영하며, 이 정보는 파일 시스템 객체들로부터 "증진"되거나, 본래 Win32 API를 사용하여 생성될 수 있다. System.Storage.Files 명칭 공간은 FileItem 및 DirectoryItem의 두 개의 클래스를 갖는다. 이러한 클래스 및 메소드의 멤버는 도 25 내의 스키마 다이어그램을 살펴봄으로써 쉽게 예측될 수 있다. FileItem 및 DirectoryItem은 저장 플랫폼 API로부터 판독만 된다. 그들을 수정하기 위해, Win32 API 또는 Systme.IO 내의 클래스를 사용해야 한다.The storage platform API includes a namespace for handling file objects. This namespace is called System.Storage.Files. The data members of the class in System.Storage.Files directly reflect the information stored in the storage platform repository, which can be "promoted" from file system objects, or originally created using the Win32 API. The System.Storage.Files namespace has two classes, FileItem and DirectoryItem. Members of these classes and methods can be easily predicted by looking at the schema diagram in FIG. 25. FileItem and DirectoryItem are only read from the storage platform API. To fix them, you must use the classes in the Win32 API or Systme.IO.

d) 코드 예d) code example

이 섹션에서는 System.Storage.Files 내의 클래스들의 사용을 예시하는 세 개의 코드 예가 제공된다.In this section, three code examples are provided to illustrate the use of classes in System.Storage.Files.

(1) 파일 열고 쓰기(1) open and write files

이 예는 "통상적인" 파일 조작을 어떻게 하는지를 나타낸다.This example shows how to do "normal" file manipulation.

Figure 112006012719774-pct00129
Figure 112006012719774-pct00129

라인 3은 FindByPath를 사용하여 파일을 연다. 라인 7은 파일이 쓰기가능한지를 체크하기 위해 증진된 속성, IsReadOnly의 사용을 나타낸다. 그렇다면, 라인 9에서 FileItem 객체에 대해 OpenWrite() 메소드를 사용하여, 파일 스트림을 획득한다.Line 3 uses FindByPath to open the file. Line 7 shows the use of the enhanced property IsReadOnly to check if a file is writable. If so, use the OpenWrite () method on the FileItem object in line 9 to obtain the file stream.

(2) 질의 사용(2) using queries

저장 플랫폼 저장소가 파일 시스템으로부터 증진된 속성을 유지하므로, 파일에 대해 용이하게 풍부한 질의를 할 수 있다. 이 예에서, 최근 3일 내에 수정된 모든 파일들이 리스트된다:Storage Platform Because the repository maintains enhanced attributes from the file system, you can easily query rich files. In this example, all files modified in the last 3 days are listed:

Figure 112006012719774-pct00130
Figure 112006012719774-pct00130

이것은 질의를 사용하는 또 다른 예이며, 이것은 특정한 타입(=확장)의 기록가능한 파일 모두를 찾는다.This is another example of using a query, which finds all of the recordable files of a particular type (= extension).

Figure 112006012719774-pct00131
Figure 112006012719774-pct00131

e) 도메인 거동e) domain behavior

일 실시예에서, 표준형 속성 및 메소드 이외에, 파일 클래스는 또한 도메인 거동(직접 코딩한 속성 및 메소드)들도 갖는다. 이러한 거동들은 일반적으로 대응하는 System.IO 클래스 내의 메소드에 기초한다.In one embodiment, in addition to the standard attributes and methods, the file class also has domain behaviors (directly coded attributes and methods). These behaviors are generally based on methods in the corresponding System.IO class.

J. 결론J. Conclusion

전술한 바와 같이, 본 발명은 데이터의 체계화, 검색 및 공유를 위한 저장 플랫폼에 관한 것이다. 본 발명의 저장 플랫폼은 기존의 파일 시스템 및 데이터베이스 시스템을 넘어 데이터 저장의 개념을 확장하고 넓히며, 구조화되거나, 구조화 되지 않거나, 관계형(테이블) 데이터와 같은 반 구조화된 데이터, XML 및 항목이라고 하는 새로운 형태의 데이터를 포함하는 모든 타입의 데이터에 대한 저장소가 되도록 설계된다. 본 발명의 저장 플랫폼은 그의 일반 저장 기초 및 스키마화된 데이터를 통해 소비자들, 지식 노동자들 및 기업들을 위해 보다 효율적인 애플리케이션 개발을 가능하게 한다. 저장 플랫폼은 그의 데이터 모델에 고유한 능력을 사용할 수 있게 할 뿐만 아니라 기존 파일 시스템 및 데이터베이스 액세스 방법을 수용하고 확장하는 풍부하고 확장 가능한 애플리케이션 프로그래밍 인터페이스를 제공한다. 본 발명의 넓은 발명적 개념을 벗어나지 않고 전술한 실시예들에 대한 변경이 이루어질 수 있다는 것을 이해해야 한다. 따라서, 본 발명은 개시된 특정 실시예들로 제한되는 것이 아니라, 첨부된 청구범위에 의해 정의되는 발명의 사상 및 범위 내에 있는 모든 수정을 커버하는 것으로 의도된다.As mentioned above, the present invention relates to a storage platform for the organization, retrieval and sharing of data. The storage platform of the present invention extends and broadens the concept of data storage beyond existing file systems and database systems, and new forms of semi-structured data such as structured, unstructured, or relational (table) data, XML, and items. It is designed to be a repository for all types of data, including data from. The storage platform of the present invention enables more efficient application development for consumers, knowledge workers and businesses through its general storage foundation and schematized data. The storage platform not only enables the unique capabilities of its data model, but also provides a rich and extensible application programming interface that accommodates and extends existing file system and database access methods. It is to be understood that changes may be made to the above-described embodiments without departing from the broad inventive concept of the invention. Therefore, it is intended that the invention not be limited to the particular embodiments disclosed, but to cover all modifications that fall within the spirit and scope of the invention as defined by the appended claims.

위의 설명으로부터 명백하듯이, 본 발명의 다양한 시스템, 방법 및 양태의 모두 또는 일부는 프로그램 코드(즉, 명령)의 형태로 구현될 수 있다. 이 프로그램 코드는, 제한 없이 플로피 디스켓, CD-ROM, CD-RW, DVD-ROM, DVD-RAM, 자기 테이프, 플래시 메모리, 하드 디스크 드라이브를 포함하는 자기, 전기 또는 광학 저장 매체와 같은 컴퓨터 판독 가능 매체 또는 임의의 다른 기기 판독 가능 저장 매체에 저장될 수 있으며, 프로그램 코드가 컴퓨터 또는 서버와 같은 기기에 로딩되어 실행될 때, 기기는 본 발명을 실시하는 장치가 된다. 본 발명은 또한 전기 배선 또는 유선, 광섬유, 인터넷 또는 인트라넷을 포함하는 네트워크, 또는 임의의 다른 전송 형태 등의 소정의 전송 매체를 통해 전송되는 프로그램 코드의 형태로 구현될 수 있으며, 프로그램 코드가 컴퓨터와 같은 기기에 의해 수신되고 로딩되어 실행될 때, 기기는 본 발명을 실시하는 장치가 된다. 프로그램 코드는 범용 프로세서에서 구현될 때, 프로세서와 결합하여 특정 논리 회로와 유사하게 동작하는 고유한 장치를 제공한다.As will be apparent from the above description, all or some of the various systems, methods, and aspects of the present invention may be implemented in the form of program code (ie, instructions). The program code is computer readable, such as, but not limited to, magnetic, electrical or optical storage media including floppy diskettes, CD-ROMs, CD-RWs, DVD-ROMs, DVD-RAMs, magnetic tapes, flash memory, hard disk drives. The device may be stored in a medium or any other device readable storage medium, and when the program code is loaded and executed on a device such as a computer or a server, the device becomes an apparatus for practicing the present invention. The invention may also be embodied in the form of program code transmitted over any transmission medium, such as electrical wiring or wired, optical fiber, a network comprising the Internet or an intranet, or any other form of transmission, wherein the program code is associated with a computer. When received, loaded and executed by the same device, the device becomes an apparatus for implementing the present invention. Program code, when implemented in a general-purpose processor, provides a unique device that, when combined with a processor, operates similarly to specific logic circuits.

부록 AAppendix A

Figure 112006012719774-pct00132
Figure 112006012719774-pct00132

Figure 112006012719774-pct00133
Figure 112006012719774-pct00133

Figure 112006012719774-pct00134
Figure 112006012719774-pct00134

Figure 112006012719774-pct00135
Figure 112006012719774-pct00135

Figure 112006012719774-pct00136
Figure 112006012719774-pct00136

부록 BAppendix B

Figure 112006012719774-pct00137
Figure 112006012719774-pct00137

Figure 112006012719774-pct00138
Figure 112006012719774-pct00138

Figure 112006012719774-pct00139
Figure 112006012719774-pct00139

Figure 112006012719774-pct00140
Figure 112006012719774-pct00140

Figure 112006012719774-pct00141
Figure 112006012719774-pct00141

부록 CAppendix C

Figure 112006012719774-pct00142
Figure 112006012719774-pct00142

Figure 112006012719774-pct00143
Figure 112006012719774-pct00143

Claims (91)

데이터 저장소의 관리를 위한 방법으로서,As a method for managing the data store, 상기 데이터 저장소가,The data store, 항목(Item);Item; 요소(Element);Element; 포함 관계(containment Relationship) 및 참조 관계(reference Relationships)를 포함하는 복수의 관계(Relationship) - 상기 포함 관계는 상기 항목의 수명을 제어하고, 상기 포함 관계는 유지 관계(holding Relationships) 또는 삽입 관계(embedding Relationships) 중 하나로서 분류되고, 상기 항목은 그 유지 관계가 삭제될 때 삭제되고, 상기 항목은 데이터 저장소에 저장될 수 있는 데이터의 단위이며, 타입 또는 서브타입 중 적어도 하나를 가지며, 상기 요소 및 상기 복수의 관계를 포함하고, 상기 요소는 하나 이상의 필드를 포함하는 타입의 인스턴스이고, 상기 복수의 관계는 적어도 2개의 항목 사이의 링크임 - ;A plurality of relationships including containment relationships and reference relationships, wherein the containment relationship controls the lifetime of the item, and the containment relationship is a holding relationship or embedding relationship. Relationship is deleted when the maintenance relationship is deleted, the item is a unit of data that can be stored in a data store, has at least one of a type or a subtype, the element and the A plurality of relationships, said element being an instance of a type comprising one or more fields, said plurality of relationships being a link between at least two items; 각 항목을 생성하고 체계화하고 속성들의 기본 세트를 설정하기 위한 프레임워크를 구축하는 기본 스키마; 및A base schema that creates a framework for creating and organizing each item and setting a base set of attributes; And 코어 타입들의 세트를 정의하는 코어 스키마 - 각 항목은 항목 타입 또는 항목 서브타입에 기초하여 적어도 하나의 코어 타입으로 특징지어짐(characterized) - 를 포함하도록 상기 데이터 저장소를 체계화하는(organizing) 단계를 포함하는 방법.Organizing the data store to include a core schema defining a set of core types, each item characterized by at least one core type based on an item type or item subtype. How to. 제1항에 있어서, The method of claim 1, 상기 데이터 저장소는 복수의 항목을 포함하고, 상기 복수의 항목은 항목 폴더와 상기 항목 폴더의 멤버인 적어도 하나의 다른 항목을 포함하도록 상기 데이터 저장소를 체계화하는 단계를 더 포함하는 방법.And the data store comprises a plurality of items, and wherein the plurality of items comprise an item folder and at least one other item that is a member of the item folder. 제1항에 있어서, The method of claim 1, 상기 데이터 저장소는 복수의 항목을 포함하고, 상기 복수의 항목은 카테고리와 상기 카테고리의 멤버인 적어도 하나의 다른 항목을 포함하도록 상기 데이터 저장소를 체계화하는 단계를 더 포함하는 방법.And the data store comprises a plurality of items, and wherein the plurality of items comprise a category and at least one other item that is a member of the category. 제1항에 있어서, The method of claim 1, 상기 데이터 저장소가 제2 요소를 포함하도록 상기 데이터 저장소를 체계화하는 단계를 더 포함하고, 상기 관계는 상기 제2 요소를 포함하는 방법.Organizing the data store such that the data store includes a second element, and wherein the relationship includes the second element. 제1항에 있어서, The method of claim 1, 공통 단일 기본 항목(Common Single Base Item)으로부터, 상기 코어 타입들의 세트 내의 적어도 하나의 코어 타입으로 특징지어지는 각각의 항목이 도출되는 방법.From a common single base item, each item characterized by at least one core type in the set of core types. 제5항에 있어서, The method of claim 5, 상기 공통 단일 기본 항목은 기본 스키마 내의 기본 항목인 방법.Wherein said common single base item is a base item within a base schema. 컴퓨터 실행가능 명령어가 저장된 컴퓨터 판독가능 기억 매체로서,A computer readable storage medium having computer executable instructions stored thereon, 상기 컴퓨터 실행가능 명령어는 The computer executable instructions are 데이터 저장소가,Data storage, 항목;Item; 요소;Element; 포함 관계 및 참조 관계를 포함하는 복수의 관계 - 상기 포함 관계는 상기 항목의 수명을 제어하고, 상기 포함 관계는 유지 관계 또는 삽입 관계 중 하나로서 분류되고, 상기 항목은 그 유지 관계가 삭제될 때 삭제되고, 상기 항목은 데이터 저장소에 저장될 수 있는 데이터의 단위이며, 타입 또는 서브타입 중 적어도 하나를 가지며, 상기 요소 및 상기 복수의 관계를 포함하고, 상기 요소는 하나 이상의 필드를 포함하는 타입의 인스턴스이고, 상기 복수의 관계는 적어도 2개의 항목 사이의 링크임 - ;A plurality of relationships including a containment relationship and a reference relationship, wherein the containment relationship controls the lifetime of the item, the include relationship is classified as either a maintenance relationship or an insert relationship, and the item is deleted when the maintenance relationship is deleted Wherein the item is a unit of data that can be stored in a data store, has at least one of a type or subtype, includes the element and the plurality of relationships, and the element is an instance of a type comprising one or more fields Wherein the plurality of relationships are links between at least two items; 각 항목을 생성하고 체계화하고 속성들의 기본 세트를 설정하기 위한 프레임워크를 구축하는 기본 스키마; 및A base schema that creates a framework for creating and organizing each item and setting a base set of attributes; And 코어 타입들의 세트를 정의하는 코어 스키마 - 각 항목은 항목 타입 또는 항목 서브타입에 기초하여 적어도 하나의 코어 타입으로 특징지어짐 - 를 포함하도록 상기 데이터 저장소를 체계화하는 단계를 수행하기 위한 명령어인 컴퓨터 판독가능 기억 매체.Computer-readable instructions that perform a step of organizing the data store to include a core schema that defines a set of core types, each item characterized by at least one core type based on an item type or item subtype. Possible storage medium. 제7항에 있어서,The method of claim 7, wherein 상기 데이터 저장소는 복수의 항목을 포함하고, 상기 복수의 항목은 항목 폴더와 상기 항목 폴더의 멤버인 적어도 하나의 다른 항목을 포함하도록 상기 데이터 저장소를 체계화하기 위한 컴퓨터 실행가능 명령어를 더 포함하는 컴퓨터 판독가능 기억 매체.The data store includes a plurality of items, the plurality of items further comprising computer executable instructions for organizing the data store to include an item folder and at least one other item that is a member of the item folder. Possible storage medium. 제7항에 있어서,The method of claim 7, wherein 상기 데이터 저장소는 복수의 항목을 포함하고, 상기 복수의 항목은 카테고리와 상기 카테고리의 멤버인 적어도 하나의 다른 항목을 포함하도록 상기 데이터 저장소를 체계화하기 위한 컴퓨터 실행가능 명령어를 더 포함하는 컴퓨터 판독가능 기억 매체.The data store includes a plurality of items, the plurality of items further comprising computer executable instructions for organizing the data store to include a category and at least one other item that is a member of the category. media. 제7항에 있어서, The method of claim 7, wherein 상기 데이터 저장소가 제2 요소를 포함하도록 상기 데이터 저장소를 체계화하기 위한 컴퓨터 실행가능 명령어를 더 포함하고, 상기 관계는 상기 제2 요소를 포함하는 컴퓨터 판독가능 기억 매체.Further comprising computer executable instructions for organizing the data store such that the data store includes a second element, and wherein the relationship comprises the second element. 프로세서; 및 메모리를 포함하는 컴퓨터 시스템으로서,A processor; And a memory, comprising: a computer system; 상기 메모리는 The memory is 항목;Item; 요소;Element; 포함 관계 및 참조 관계를 포함하는 복수의 관계 - 상기 포함 관계는 상기 항목의 수명을 제어하고, 상기 포함 관계는 유지 관계 또는 삽입 관계 중 하나로서 분류되고, 상기 항목은 그 유지 관계가 삭제될 때 삭제되고, 상기 항목은 데이터 저장소에 저장될 수 있는 데이터의 단위이며, 타입 또는 서브타입 중 적어도 하나를 가지며, 상기 요소 및 상기 복수의 관계를 포함하고, 상기 요소는 하나 이상의 필드를 포함하는 타입의 인스턴스이고, 상기 복수의 관계는 적어도 2개의 항목 사이의 링크임 - ;A plurality of relationships including a containment relationship and a reference relationship, wherein the containment relationship controls the lifetime of the item, the include relationship is classified as either a maintenance relationship or an insert relationship, and the item is deleted when the maintenance relationship is deleted Wherein the item is a unit of data that can be stored in a data store, has at least one of a type or subtype, includes the element and the plurality of relationships, and the element is an instance of a type comprising one or more fields Wherein the plurality of relationships are links between at least two items; 각 항목을 생성하고 체계화하고 속성들의 기본 세트를 설정하기 위한 프레임워크를 구축하는 기본 스키마; 및A base schema that creates a framework for creating and organizing each item and setting a base set of attributes; And 코어 타입들의 세트를 정의하는 코어 스키마 - 각 항목은 항목 타입 또는 항목 서브타입에 기초하여 적어도 하나의 코어 타입으로 특징지어짐 - 를 포함하는 컴퓨터 시스템.A core schema defining a set of core types, each item characterized by at least one core type based on an item type or item subtype. 제11항에 있어서, The method of claim 11, 상기 메모리는 복수의 항목을 포함하고, 상기 복수의 항목은 항목 폴더와 상기 항목 폴더의 멤버인 적어도 하나의 다른 항목을 포함하는 컴퓨터 시스템.And the memory includes a plurality of items, the plurality of items including an item folder and at least one other item that is a member of the item folder. 제11항에 있어서, The method of claim 11, 상기 메모리는 복수의 항목을 포함하고, 상기 복수의 항목은 카테고리와 상기 카테고리의 멤버인 적어도 하나의 다른 항목을 포함하는 컴퓨터 시스템.The memory includes a plurality of items, the plurality of items including a category and at least one other item that is a member of the category. 제11항에 있어서, The method of claim 11, 상기 메모리는 제2 요소를 포함하고, 상기 관계는 상기 제2 요소를 포함하는 컴퓨터 시스템.The memory includes a second element and the relationship includes the second element. 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020067003584A 2003-08-21 2003-08-21 Systems and methods for data modeling in an item-based storage platform KR101024730B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/US2003/026144 WO2005029313A1 (en) 2003-08-21 2003-08-21 Systems and methods for data modeling in an item-based storage platform

Publications (2)

Publication Number Publication Date
KR20060080921A KR20060080921A (en) 2006-07-11
KR101024730B1 true KR101024730B1 (en) 2011-03-25

Family

ID=34374761

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020067003584A KR101024730B1 (en) 2003-08-21 2003-08-21 Systems and methods for data modeling in an item-based storage platform

Country Status (9)

Country Link
EP (1) EP1658555A4 (en)
JP (1) JP4394643B2 (en)
KR (1) KR101024730B1 (en)
CN (1) CN100570549C (en)
AU (1) AU2003259959B2 (en)
BR (1) BR0318469A (en)
CA (1) CA2533088C (en)
MX (1) MXPA06001986A (en)
WO (1) WO2005029313A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160055591A (en) * 2014-11-10 2016-05-18 한국전자통신연구원 method and apparatus for representation of editable visual object

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7711835B2 (en) 2004-09-30 2010-05-04 Citrix Systems, Inc. Method and apparatus for reducing disclosure of proprietary data in a networked environment
US8095940B2 (en) 2005-09-19 2012-01-10 Citrix Systems, Inc. Method and system for locating and accessing resources
US7680758B2 (en) 2004-09-30 2010-03-16 Citrix Systems, Inc. Method and apparatus for isolating execution of software applications
US8171479B2 (en) 2004-09-30 2012-05-01 Citrix Systems, Inc. Method and apparatus for providing an aggregate view of enumerated system resources from various isolation layers
US7748032B2 (en) 2004-09-30 2010-06-29 Citrix Systems, Inc. Method and apparatus for associating tickets in a ticket hierarchy
US8613048B2 (en) 2004-09-30 2013-12-17 Citrix Systems, Inc. Method and apparatus for providing authorized remote access to application sessions
US8024568B2 (en) 2005-01-28 2011-09-20 Citrix Systems, Inc. Method and system for verification of an endpoint security scan
US9692725B2 (en) 2005-05-26 2017-06-27 Citrix Systems, Inc. Systems and methods for using an HTTP-aware client agent
US7756826B2 (en) 2006-06-30 2010-07-13 Citrix Systems, Inc. Method and systems for efficient delivery of previously stored content
US9621666B2 (en) 2005-05-26 2017-04-11 Citrix Systems, Inc. Systems and methods for enhanced delta compression
US9407608B2 (en) 2005-05-26 2016-08-02 Citrix Systems, Inc. Systems and methods for enhanced client side policy
US8943304B2 (en) 2006-08-03 2015-01-27 Citrix Systems, Inc. Systems and methods for using an HTTP-aware client agent
US7779034B2 (en) 2005-10-07 2010-08-17 Citrix Systems, Inc. Method and system for accessing a remote file in a directory structure associated with an application program executing locally
US8131825B2 (en) 2005-10-07 2012-03-06 Citrix Systems, Inc. Method and a system for responding locally to requests for file metadata associated with files stored remotely
US20070174429A1 (en) 2006-01-24 2007-07-26 Citrix Systems, Inc. Methods and servers for establishing a connection between a client system and a virtual machine hosting a requested computing environment
JP5149570B2 (en) 2006-10-16 2013-02-20 キヤノン株式会社 File management apparatus, file management apparatus control method, and program
US8533846B2 (en) 2006-11-08 2013-09-10 Citrix Systems, Inc. Method and system for dynamically associating access rights with a resource
US7853679B2 (en) 2007-03-12 2010-12-14 Citrix Systems, Inc. Systems and methods for configuring handling of undefined policy events
US8490148B2 (en) 2007-03-12 2013-07-16 Citrix Systems, Inc Systems and methods for managing application security profiles
US7865589B2 (en) 2007-03-12 2011-01-04 Citrix Systems, Inc. Systems and methods for providing structured policy expressions to represent unstructured data in a network appliance
US8631147B2 (en) 2007-03-12 2014-01-14 Citrix Systems, Inc. Systems and methods for configuring policy bank invocations
US7853678B2 (en) 2007-03-12 2010-12-14 Citrix Systems, Inc. Systems and methods for configuring flow control of policy expressions
US8171483B2 (en) 2007-10-20 2012-05-01 Citrix Systems, Inc. Method and system for communicating between isolation environments
US8090797B2 (en) 2009-05-02 2012-01-03 Citrix Systems, Inc. Methods and systems for launching applications into existing isolation environments
CN102567315A (en) * 2010-12-08 2012-07-11 金蝶软件(中国)有限公司 Method, device and system for data inquiry
JP6144700B2 (en) 2011-12-23 2017-06-07 アマゾン・テクノロジーズ・インコーポレーテッド Scalable analysis platform for semi-structured data
CN102968685A (en) * 2012-10-26 2013-03-13 广东电子工业研究院有限公司 Account information asset management system and method thereof
CN109271490A (en) * 2018-11-01 2019-01-25 中企动力科技股份有限公司 The classification method and system of dynamic field
RU2721999C1 (en) * 2019-03-18 2020-05-25 Сергей Александрович Гайдамаков Associative network of contacts, notes and/or events
US11301498B2 (en) * 2019-08-08 2022-04-12 Sap Portals Israel Ltd. Multi-cloud object store access
CN113448584B (en) * 2020-03-25 2023-07-21 浙江满趣科技有限公司 APP version management method, device, medium and computer equipment
WO2023205035A1 (en) 2022-04-21 2023-10-26 Folder Front, LLC Intelligent folder-based data organization system
CN117150598B (en) * 2023-09-05 2024-04-02 上海易立德信息技术股份有限公司 Family table management and integration method and system for CAD model construction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6108004A (en) 1997-10-21 2000-08-22 International Business Machines Corporation GUI guide for data mining
US6112024A (en) 1996-10-02 2000-08-29 Sybase, Inc. Development system providing methods for managing different versions of objects with a meta model
US6324533B1 (en) 1998-05-29 2001-11-27 International Business Machines Corporation Integrated database and data-mining system
US6578046B2 (en) 1998-04-01 2003-06-10 International Business Machines Corporation Federated searches of heterogeneous datastores using a federated datastore object

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4953080A (en) 1988-04-25 1990-08-28 Hewlett-Packard Company Object management facility for maintaining data in a computer system
US5900870A (en) * 1989-06-30 1999-05-04 Massachusetts Institute Of Technology Object-oriented computer user interface
US5504892A (en) * 1994-09-08 1996-04-02 Taligent, Inc. Extensible object-oriented file system
US5915253A (en) * 1996-12-13 1999-06-22 Novell, Inc. Method and system for implementing objects in a storage system
US6704743B1 (en) * 1999-09-13 2004-03-09 Copernus, Inc. Selective inheritance of object parameters in object-oriented computer environment
US6370541B1 (en) * 1999-09-21 2002-04-09 International Business Machines Corporation Design and implementation of a client/server framework for federated multi-search and update across heterogeneous datastores
US6556983B1 (en) * 2000-01-12 2003-04-29 Microsoft Corporation Methods and apparatus for finding semantic information, such as usage logs, similar to a query using a pattern lattice data space
JP3983961B2 (en) * 2000-07-18 2007-09-26 株式会社東芝 Directory information management apparatus and computer-readable recording medium recording program
GB2371884A (en) * 2000-10-12 2002-08-07 Abb Ab Queries in an object-oriented computer system
CN1591411A (en) * 2001-11-09 2005-03-09 无锡永中科技有限公司 Data processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6112024A (en) 1996-10-02 2000-08-29 Sybase, Inc. Development system providing methods for managing different versions of objects with a meta model
US6108004A (en) 1997-10-21 2000-08-22 International Business Machines Corporation GUI guide for data mining
US6578046B2 (en) 1998-04-01 2003-06-10 International Business Machines Corporation Federated searches of heterogeneous datastores using a federated datastore object
US6324533B1 (en) 1998-05-29 2001-11-27 International Business Machines Corporation Integrated database and data-mining system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160055591A (en) * 2014-11-10 2016-05-18 한국전자통신연구원 method and apparatus for representation of editable visual object
KR102053709B1 (en) * 2014-11-10 2019-12-09 한국전자통신연구원 method and apparatus for representation of editable visual object

Also Published As

Publication number Publication date
BR0318469A (en) 2006-09-12
AU2003259959A2 (en) 2005-04-11
AU2003259959A1 (en) 2005-04-11
KR20060080921A (en) 2006-07-11
CN100570549C (en) 2009-12-16
EP1658555A4 (en) 2009-05-06
CA2533088C (en) 2014-04-29
MXPA06001986A (en) 2006-05-17
EP1658555A1 (en) 2006-05-24
CN1820245A (en) 2006-08-16
CA2533088A1 (en) 2005-03-31
WO2005029313A1 (en) 2005-03-31
JP4394643B2 (en) 2010-01-06
AU2003259959B2 (en) 2010-02-18
JP2007521532A (en) 2007-08-02

Similar Documents

Publication Publication Date Title
KR100959473B1 (en) Systems and methods for interfacing application programs with an item-based storage platform
KR101024730B1 (en) Systems and methods for data modeling in an item-based storage platform
US7349913B2 (en) Storage platform for organizing, searching, and sharing data
US7529811B2 (en) Systems and methods for the implementation of a core schema for providing a top-level structure for organizing units of information manageable by a hardware/software interface system
US8131739B2 (en) Systems and methods for interfacing application programs with an item-based storage platform
US7428546B2 (en) Systems and methods for data modeling in an item-based storage platform
US7483915B2 (en) Systems and method for representing relationships between units of information manageable by a hardware/software interface system
US7739316B2 (en) Systems and methods for the implementation of base schema for organizing units of information manageable by a hardware/software interface system
US7555497B2 (en) Systems and methods for separating units of information manageable by a hardware/software interface system from their physical organization
KR101120817B1 (en) Systems and methods for providing relational and hierarchical synchronization services for units of information manageable by hardware/software interface system
US20050055354A1 (en) Systems and methods for representing units of information manageable by a hardware/software interface system but independent of physical representation
JP4580389B2 (en) System and method for synchronizing computer systems via an intermediary file system share or intermediary device
JP4580390B2 (en) System and method for extending and inheriting information units manageable by a hardware / software interface system
JP4394644B2 (en) Storage platform for organizing, searching, and sharing data
RU2371757C2 (en) Systems and methods of data modelling in storage platform based on subjects
RU2412461C2 (en) Systems and methods of interfacing application programs with article based storage platform
KR101109390B1 (en) Systems and methods for providing synchronization services for units of information manageable by a hardware/software interface system
ZA200600644B (en) Systems and methods for interfacing application programs with an item-based storage platform

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20140217

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150217

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160218

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20170220

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20180219

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20200218

Year of fee payment: 10