KR20060117872A - Systems and methods for providing synchronization services for units of information manageable by a hardware/software interface system - Google Patents

Systems and methods for providing synchronization services for units of information manageable by a hardware/software interface system Download PDF

Info

Publication number
KR20060117872A
KR20060117872A KR1020057012471A KR20057012471A KR20060117872A KR 20060117872 A KR20060117872 A KR 20060117872A KR 1020057012471 A KR1020057012471 A KR 1020057012471A KR 20057012471 A KR20057012471 A KR 20057012471A KR 20060117872 A KR20060117872 A KR 20060117872A
Authority
KR
South Korea
Prior art keywords
item
synchronization
winfs
storage platform
hardware
Prior art date
Application number
KR1020057012471A
Other languages
Korean (ko)
Other versions
KR101109390B1 (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
Priority claimed from US10/646,575 external-priority patent/US8131739B2/en
Application filed by 마이크로소프트 코포레이션 filed Critical 마이크로소프트 코포레이션
Priority claimed from PCT/US2004/024288 external-priority patent/WO2005024665A1/en
Publication of KR20060117872A publication Critical patent/KR20060117872A/en
Application granted granted Critical
Publication of KR101109390B1 publication Critical patent/KR101109390B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging

Abstract

Several embodiments of the present invention employ synchronization adapters for synchronizing information between "WinFS" and non-"WinFS" data sources (3622/3666). Examples of adapters include an adapter that synchronizes address book information between a "WinFS" contacts folder and a non-WinFS mailbox (3642). In these instances, adapter developers might use the "WinFS" synchronization core services API described herein for accessing services provided by the " WinFS" (3612) synchronization platform in order to develop schema transformation code between the "WinFS" (3612) schema and the non-"WinFS" data source schema (3624). Additionally, the adapter developer provides protocol support for communicating changes with the non-"WinFS" data source. A synchronization adapter (3662) is invoked and controlled by using the synchronization controller API and reports progress and errors using this API (3652).

Description

하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들에 대한 동기화 서비스를 제공하는 시스템 및 방법{SYSTEMS AND METHODS FOR PROVIDING SYNCHRONIZATION SERVICES FOR UNITS OF INFORMATION MANAGEABLE BY A HARDWARE/SOFTWARE INTERFACE SYSTEM}System and method for providing synchronization service for units of information manageable by a hardware / software interface system

<상호 참조><Cross Reference>

본 출원은 2004년 10월 24일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들에 대한 동기화 서비스를 제공하는 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/692,515(대리인 관리번호 제MSFT-2844호); 2003년 8월 21일자로 출원된 "항목 기반 저장 플랫폼을 가진 애플리케이션 프로그램들을 인터페이스하기 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/646,575(대리인 관리번호 제MSFT-2733호); 및 2003년 8월 21일자로 출원된 "항목 기반 저장 플랫폼을 가진 애플리케이션 프로그램들을 인터페이스하기 위한 시스템 및 방법"이라는 제목의 국제 출원 번호 PCT/US03/26150(대리인 관리번호 제2777호)에 대한 우선권을 주장하며, 이들 출원의 개시 내용은 전체적으로 본 명세서에 참고로 반영되었다. This application discloses US patent application Ser. No. 10 / 692,515, entitled "System and Method for Providing Synchronization Services for Units of Information Manageable by Hardware / Software Interface System" filed Oct. 24, 2004 No. MSFT-2844); US Patent Application No. 10 / 646,575 entitled Agent Control No. MSFT-2733, filed August 21, 2003 entitled "System and Method for Interfacing Application Programs with Item-Based Storage Platforms"; And International Application No. PCT / US03 / 26150 (Attorney Control No. 2777) entitled "System and Methods for Interfacing Application Programs with Item-Based Storage Platforms," filed August 21, 2003. And the disclosures of these applications are incorporated herein by reference in their entirety.

본 출원은 다음의 본 출원과 공히 양도된 출원들에 개시된 발명들과 내용이 관련되어 있으며, 이들 출원들의 내용은 본 명세서에 그 전체(및 편의를 위해 부분 요약됨)가 반영되어 있다: 2003년 8월 21일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능하지만 물리적 표현에 무관한 정보의 단위들을 표현하기 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/647,058(대리인 관리번호 제MSFT-1748호); 2003년 8월 21일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들을 그들의 물리적 체계로부터 분리하기 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 10/646,941(대리인 관리번호 제MSFT-1749호); 2003년 8월 21일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들을 체계화하기 위한 기본 스키마의 구현을 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/646,940(대리인 관리번호 제MSFT-1750호); 2003년 8월 21일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들을 체계화하기 위한 최상위 레벨 구조를 제공하는 코어 스키마의 구현을 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/646,632(대리인 관리번호 제MSFT-1751호); 2003년 8월 21일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들 간의 관계를 표현하기 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/646,645(대리인 관리번호 제MSFT-1752호); 2003년 8월 21일자로 출원된 "데이터의 체계화, 검색 및 공유를 위한 저장 플랫폼"이라는 제목의 미국 특허 출원 번호 10/646,646(대리인 관리번호 제MSFT-2734호); 2003년 8월 21일자로 출원된 "항목 기반 저장 플랫폼에서의 데이터 모델링을 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/646,580(대리인 관리번호 제MSFT-2735호); 2003년 10월 24일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들을 체계화하는 디지털 화상 스키마의 구현을 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/692,779(대리인 관리번호 제MSFT-2829호); 2003년 10월 24일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들에 대한 관계 및 계층적 동기화 서비스를 제공하는 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/692,508(대리인 관리번호 제MSFT-2845호); 2003년 10월 24일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들에 대한 동기화 스키마의 구현을 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/693,362(대리인 관리번호 제MSFT-2846호); 및 2003년 10월 24일자로 출원된 "하드웨어/소프트웨어 인터페이스 시스템에 의해 관리 가능한 정보의 단위들에 대한 확장 및 상속을 위한 시스템 및 방법"이라는 제목의 미국 특허 출원 번호 10/693,574(대리인 관리번호 제MSFT-2847호).This application is related to the inventions disclosed in the following assigned applications, and the contents of these applications are incorporated herein in their entirety (and partly summarized for convenience): 2003 US Patent Application No. 10 / 647,058 entitled "System and Method for Representing Units of Information Manageable by a Hardware / Software Interface System but Not Physically Representative," filed Aug. 21 -1748); U.S. Patent Application No. 10 / 646,941 filed on August 21, 2003 entitled "System and Method for Separating Units of Information Manageable by a Hardware / Software Interface System from Their Physical Mechanisms" (Agent Control Number MSFT- 1749); U.S. Patent Application No. 10 / 646,940 entitled "System and Method for Implementation of a Basic Schema for Organizing Units of Information Manageable by a Hardware / Software Interface System," filed August 21, 2003 MSFT-1750); US Patent Application No. 10 entitled "System and Method for Implementation of a Core Schema Providing a Top-Level Structure for Organizing Units of Information Manageable by a Hardware / Software Interface System", filed August 21, 2003 / 646,632 (agent management no. MSFT-1751); US Patent Application No. 10 / 646,645 entitled "System and Method for Expressing Relationships Between Units of Information Manageable by Hardware / Software Interface System," filed August 21, 2003 (Agent Control Number MSFT- 1752); US patent application Ser. No. 10 / 646,646 filed on August 21, 2003 entitled "Storage Platform for Systematization, Retrieval and Sharing of Data," Representative Application No. MSFT-2734; US Patent Application No. 10 / 646,580 entitled Agent Control No. MSFT-2735, filed Aug. 21, 2003, entitled "Systems and Methods for Data Modeling in Item-Based Storage Platforms"; US Patent Application No. 10 / 692,779, entitled "System and Method for the Implementation of a Digital Image Schema that Organizes Units of Information Manageable by a Hardware / Software Interface System," filed October 24, 2003 MSFT-2829); US Patent Application No. 10 / 692,508 entitled "System and Method for Providing Hierarchical Synchronization Services and Relationships to Units of Information Manageable by Hardware / Software Interface System, filed Oct. 24, 2003" Control number MSFT-2845); US Patent Application No. 10 / 693,362, entitled "System and Method for Implementation of a Synchronization Schema for Units of Information Manageable by a Hardware / Software Interface System," filed October 24, 2003 MSFT-2846); And US Patent Application No. 10 / 693,574 entitled "System and Method for Expansion and Inheritance of Units of Information Manageable by Hardware / Software Interface System," filed Oct. 24, 2003. MSFT-2847).

본 발명은 일반적으로 정보 저장 및 검색 분야에 관한 것이며, 더욱 상세하게는 컴퓨터화된 시스템에서 상이한 타입의 데이터를 체계화하고, 검색하고, 공유하기 위한 액티브 저장 플랫폼에 관한 것이다.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%씩 증가하여 왔다. 무어의 법칙은 수년 동안 이루어진 놀랄만한 CPU 성능의 향상을 정확히 예측하였다. 유선 및 무선 기술은 엄청난 접속성 및 대역폭을 제공하였다. 현재의 경향이 계속 된다고 가정하면, 수년 내에 평균적인 랩탑 컴퓨터는 약 1 테라바이트(TB)의 저장 용량을 가질 것이고, 수백만 개의 파일을 포함할 것이며, 500 기가바이트(GB) 드라이브가 일반적으로 될 것이다.Individual disk capacity has increased approximately 70% annually over the last decade. Moore's Law accurately predicted a remarkable 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 organization of communications and personal information, whether it is traditional personal information manager (PIM) style data or media such as digital music or photos. 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, and 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) 분야들은 사람, 장소, 시간 및 이벤트와 같은 것들을 표현하기 위한 공통 저장 추상화를 위해 그들 자신의 데이터 저장소를 구축하는 데 상당한 양의 시간 및 돈을 투자한다. 이것은 중복된 작업을 유발할 뿐만 아니라, 공통 데이터의 공통 검색 또는 공유를 위한 메커니즘이 없는 공통 데이터의 섬들을 생성한다. 마이크로소프트 윈도우 운영 체제를 실행하는 컴퓨터 상에 오늘날 얼마나 많은 어드레스 북이 존재할 수 있는지를 고려하자. 이메일 클라이언트 및 개인용 회계 프로그램과 같은 많은 애플리케이션은 개별 어드레스 북을 유지하며, 각각의 프로그램이 개별적으로 유지하고 있는 어드레스 북 데이터에 대한 애플 리케이션들의 공유는 거의 존재하지 않는다. 결과적으로, 회계 프로그램(예컨대, 마이크로소프트 머니)은 수취인에 대한 어드레스를 이메일 연락 폴더(예컨대, 마이크로소프트 아웃룩에 있는 폴더)에 저장된 어드레스와 함께 공유하지 않는다. 실제로, 많은 사용자들은 다양한 장치를 갖고 있으며, 논리적으로 그들의 개인 데이터를 그들 자신들 사이에서, 그리고 휴대폰를 포함하는 다양한 추가 소스를 통해 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 the address book data that each program maintains individually. As a result, the accounting program (e.g., Microsoft Money) does not share the address for the payee with the address stored in the email contact folder (e.g., the folder in Microsoft Outlook). Indeed, many users have a variety of devices and need to logically synchronize their personal data between themselves and to use services such as MSN and AOL through various additional sources, including mobile phones. By attaching them to an email message, ie manually and inefficiently.

이러한 협동의 부족에 대한 하나의 이유는 컴퓨터 시스템에서 정보의 체계화를 위한 전통적인 접근법이 파일을 저장하는 데 사용되는 저장 매체의 물리적 체계화의 추상화에 기초하여 다수의 파일을 폴더들의 디렉토리 계층 구조로 체계화하기 위해 파일-폴더-디렉토리 기반 시스템("파일 시스템")의 사용에 중점을 두어 왔다는 점이다. 1960년대에 개발된 멀틱스(Multics) 운영 체제은 운영 체제 레벨에서 저장 가능한 데이터의 단위들을 관리하기 위해 파일, 폴더 및 디렉토리의 사용을 개척한 것으로 여겨질 수 있다. 구체적으로, 멀틱스는 파일들의 계층 구조 내에서 심볼 어드레스를 사용하였는데(이에 따라 파일 경로의 아이디어를 도입함), 파일들의 물리적 어드레스는 사용자에게(애플리케이션 및 최종 사용자) 투명하지 않았다. 이러한 파일 시스템은 임의의 개별 파일의 파일 포맷에는 전혀 관심이 없었으며, 파일들 사이의 관계들은 운영 체제 레벨에서(즉, 계층 구조 내의 파일의 위치가 아님) 무관한 것으로 간주되었다. 멀틱스의 출현 이후, 저장 가능 데이터는 운영 체 제 레벨에서 파일, 폴더 및 디렉토리로 체계화되었다. 이들 파일은 일반적으로 파일 시스템에 의해 유지되는 특수 파일에 삽입된 파일 계층 구조 자체("디렉토리")를 포함한다. 또한, 이 디렉토리는 디렉토리 내의 다른 파일들 모두에 대응하는 엔트리들의 리스트, 및 계층 구조에서의 이러한 파일들의 노드 위치(본 명세서에서 폴더로서 지칭됨)를 유지한다. 이것은 약 40년 동안 이 기술의 상태였다. One reason for this lack of collaboration is that traditional approaches to the organization of information in computer systems organize multiple files 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 file-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 symbolic addresses within the hierarchy of files (and thus introduced 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, storable 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 has been the state of the technology for about 40 years.

그러나, 파일 시스템은 컴퓨터의 물리 저장 시스템에 상주하는 정보의 합리적인 표현을 제공하지만, 그럼에도 물리 저장 시스템의 추상화이며, 따라서 파일들의 사용은 사용자가 조작하는 것(컨텍스트, 특징 및 다른 단위들에 대한 관계)과 운영 체제이 제공하는 것(파일, 폴더 및 디렉토리) 사이의 간접(해석) 레벨을 요구한다. 결과적으로, 사용자들(애플리케이션 및/또는 최종 사용자)은 그렇게 하는 것이 비효율적이거나 일관성이 없거나 바람직하지 않은 경우에도 정보의 단위들을 파일 시스템 구조로 만드는 것 밖에 선택할 수 없다. 더욱이, 기존 파일 시스템은 개별 파일에 저장된 데이터의 구조에 대해 거의 알지 못하며, 이 때문에 정보의 대부분은 이들을 작성한 애플리케이션에 의해서만 액세스(및 이해)될 수 있는 파일들 내에 갇힌 채 유지된다. 결과적으로, 이러한 정보에 대한 개요 설명 및 정보 관리 메커니즘의 결여는 개별 저장소들 사이에서 데이터가 거의 공유되지 않는 데이터 저장소들의 생성을 유발한다. 예를 들어, 많은 PC 사용자는 이들이 소정의 레벨에서 함께 상호작용하는 사람들에 대한 정보를 포함하는 5개 이상의 다른 저장소, 예를 들어 아웃룩 연락, 온라인 계정 어드레스, 윈도우 어드레스 북, 퀵컨 페이이(Quicken Payees) 및 인스턴트 메시징(IM) 버디 리스트를 갖는데, 이는 파일들의 체계화가 PC 사용자들에게 심각한 문제를 제공하기 때문이다. 대부분의 기존 파일 시스템은 파일들 및 폴더들을 체계화하기 위해 중첩 폴더 메타포어를 사용하므로, 파일들의 수가 증가함에 따라 유연하고 효율적인 체계화 스킴을 유지하기 위해 필요한 노력은 아주 커졌다. 이러한 상황에서, 단일 파일에 대한 다양한 분류를 갖는 것이 매우 유용하겠지만, 기존 파일 시스템에서 하드 또는 소프트 링크를 사용하는 것은 성가시고 관리하기 어렵다.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 (relations to context, features and other units). ) And an indirect (interpretation) level between 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 much 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 of this information and the lack of information management mechanisms 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 with whom they interact at a given level, such as Outlook contacts, online account addresses, Windows address books, 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 their 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 involve 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 caches and memory management units, while large-scale use in devices such as physical storage media has varied. This is because it is not yet possible for this reason, so such a solution does not exist. Other attempts have been made using the object-oriented database (OODB) system, but these features feature strong database characteristics and good non-file representations, but have not been effective in handling 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 at handling file and non-file representations, but lack the database capabilities needed to efficiently organize and use the relationships that exist between the various data files. Overall system efficiency has proven unacceptable. Another attempt to use BeOS (and other such operating system studies) is not appropriate for the handling of non-file representations (although they have the same core drawbacks as traditional file systems), although they can properly represent files while providing some necessary database functionality. ) Has been proven.

데이터베이스 기술은 유사한 문제가 존재하는 또 하나의 기술 영역이다. 예컨대, 관계형 데이터베이스 모델은 대단한 상업적 성공을 거두었지만, 실제로 개별 소프트웨어 벤더들(ISV)은 일반적으로 관계형 데이터베이스 소프트웨어 제품(예컨대, 마이크로소프트 SQL 서버)에서 이용할 수 있는 기능의 작은 부분을 이용한다. 대신에, 애플리케이션의 이러한 제품과의 상호작용의 대부분은 단순한 "입수(gets)" 및 "배치(puts)"의 형태이다. 이에 대해서는 명백한 이유가 많이 있지만(예컨대, 플랫폼 또는 데이터베이스가 불가지론적임), 종종 간과하기 쉬운 하나의 중요한 이유는 데이터베이스가 주요 비지니스 애플리케이션 벤더가 실제로 필요로 하는 정확한 추상화를 항상 제공하지는 못한다는 것이다. 예컨대, 실세계는 "고객" 또는 "주문"과 같은 "항목들"(주문의 삽입된 "라인 항목"을 그 내부의 항목 및 그의 항목으로서 함께)에 대한 개념을 갖지만, 관계형 데이터베이스는 단지 테이블 및 행에 대해서만 말한다. 결과적으로, 애플리케이션은 (몇 가지 예를 들면) 항목 레벨에서 일관성, 잠금, 보안 및/또는 트리거의 양태를 갖기를 원할 수 있지만, 일반적으로 데이터베이스는 테이블/행 레벨에서만 이러한 기능을 제공한다. 이것은 각 항목이 데이터베이스에서 소정 테이블 내의 단일 행으로 매핑되는 경우에는 훌 륭하게 동작할 수 있지만, 다수의 라인 항목을 가진 주문의 경우, 항목이 실제로는 다수의 테이블로 매핑되는 이유들이 존재할 수 있으며, 그러한 경우, 단순한 관계형 데이터베이스 시스템은 올바른 추상화를 전혀 제공하지 못한다. 결과적으로, 애플리케이션은 이러한 기본 추상화를 제공하기 위해 데이터베이스의 상부에 논리를 구축해야 한다. 즉, 기본 관계 모델은 보다 높은 레벨의 애플리케이션이 쉽게 개발될 수 있는 데이터 저장용의 충분한 플랫폼을 제공하지 못하는데, 이는 기본 관계 모델이 애플리케이션과 저장 시스템 사이에 간접 레벨을 필요로 하기 때문이다(여기서, 데이터의 시맨틱(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 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, the platform or database is agnostic), 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 speaks about. 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 may work well 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 such cases, a simple relational database system does not provide the correct 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 sufficient platform for data storage where 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 yet offer the kind of comprehensive solution they need, but truly comprehensive 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 described in connection with the related invention ("related invention") incorporated herein by reference. This Summary is not intended to provide a description that encompasses 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 invention as well as the related invention generally 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. It is.

본 발명의 저장 플랫폼은 데이터베이스 엔진 상에 구현된 데이터 저장소를 포함한다. 데이터베이스 엔진은 객체 관계 확장들을 가진 관계형 데이터베이스 엔진을 포함한다. 데이터 저장소는 데이터의 체계화, 검색, 공유, 동기화 및 보안을 지원하는 데이터 모델을 구현한다. 특정 타입의 데이터는 스키마에서 기술되며, 플랫폼은 새로운 타입의 데이터(본질적으로 스키마에 의해 제공되는 기본 타입의 서브타입)를 정의하도록 스키마 세트를 확장하기 위한 메커니즘을 제공한다. 동기화 능력은 사용자들 또는 시스템들 사이에서 데이터의 공유를 쉽게 한다. 종래의 파일 시스템에 대한 제한 없이 이러한 종래의 파일 시스템과 데이터 저장소의 연동을 허용하는 파일 시스템 유사 능력이 제공된다. 변경 추적 메커니즘은 데이터 저장소에 대한 변경을 추적하는 능력을 제공한다. 저장 플랫폼은 또한 애플리케이션이 저장 플랫폼의 전술한 능력들 모두에 액세스할 수 있고 스키마에 기술된 데이터에 액세스할 수 있게 하는 한 세트의 애플리케이션 프로그램 인터페이스를 포함한다.The storage platform of the present invention includes 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 in the schema, 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 makes it easy to share data between users or systems. File system-like capabilities are provided that allow the interworking of these conventional file systems with data storage without limitation to conventional file systems. The change tracking mechanism provides the ability to track changes to the data store. The storage platform also includes a set of application program interfaces that allow an application to access all of the aforementioned capabilities of the storage platform and to access data described in the schema.

데이터 저장소에 의해 구현되는 데이터 모델은 항목, 요소 및 관계에 의하여 데이터 저장의 단위들을 정의한다. 항목은 데이터 저장소에 저장할 수 있는 데이터의 단위이며, 하나 이상의 요소 및 관계를 포함할 수 있다. 요소는 하나 이상의 필드(본 명세서에 속성으로도 지칭됨)를 포함하는 타입의 인스턴스이다. 관계는 두 항목 사이의 링크이다. (본 명세서에서 사용되는 이들 및 다른 특정 용어들은 이들을 매우 근접하게 사용되는 다른 용어들과 분리하기 위해 대문자화될 수 있지만, 대문자화된 용어, 예컨대 "Item"과 대문자화되지 않은 동일 용어, 예컨대 "item"을 구별할 의도는 전혀 없으며, 어떠한 차이도 가정되거나 암시되지 않아야 한다.)The data model implemented by the data store defines the units of data storage by 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 separate them from other terms used in close proximity, but may be capitalized terms such as "Item" and the same term not capitalized, such as " There is no intention to distinguish between "items" and no differences should be assumed or implied.)

각 항목은 하드웨어/소프트웨어 인터페이스 시스템에 의해 조작될 수 있는 별개의 저장 가능한 정보 단위를 구성하며, 컴퓨터 시스템은 복수의 항목; 상기 항목들에 대한 체계적인 구조를 구성하는 복수의 항목 폴더; 및 복수의 항목을 조작하기 위한 하드웨어/소프트웨어 인터페이스 시스템을 더 포함하며, 각 항목은 적어도 하나의 항목 폴더에 속하며, 하나 이상의 항목 폴더에 속할 수 있다. Each item constitutes a separate storeable information unit that can be operated by a hardware / software interface system, the computer system comprising: a plurality of items; 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를 설명하는 섹션에서 보다 상세히 설명됨)과 같은 소정의 동작들이 지원되는데, 예컨대 항목은 휴대폰의 현재 위치 또는 온도 센서에 읽은 온도일 수 있다. 하드웨어/소프트웨어 인터페이스 시스템은 다수의 항목을 조작할 수 있으며, 하드웨어/소프트웨어 인터페이스 시스템에 의해 관리되는 다수의 관계에 의해 상호 접속되는 항목들을 더 포함할 수 있다. Some of the item or its attribute values may be calculated dynamically as opposed to being derived from the persistent store. That is, the hardware / software interface system does not require the item to be stored, and has the ability to enumerate the current set of items, or to retrieve the item given its identifier for the 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 by the temperature sensor. The hardware / software interface system can manipulate a number of items and can further include items interconnected by a number of relationships managed by the hardware / software interface system.

컴퓨터 시스템의 하드웨어/소프트웨어 인터페이스 시스템은 하드웨어/소프트웨어 인터페이스 시스템이 이해하고 소정의 예측 가능한 방식으로 직접 처리할 수 있는 한 세트의 코어 항목을 정의하기 위한 코어 스키마를 더 포함한다. 다수의 항목을 조작하기 위하여, 컴퓨터 시스템은 상기 항목들을 다수의 관계와 상호접속시키며, 하드웨어/소프트웨어 인터페이스 시스템 레벨에서 상기 관계들을 관리한다.The hardware / software interface system of the computer system further includes a core schema for defining a set of core items that the hardware / software interface system can understand and directly process in some predictable manner. To manipulate multiple items, a computer system interconnects the items with multiple relationships and manages the relationships at the hardware / software interface system level.

저장 플랫폼의 API는 저장 플랫폼 스키마 세트에 정의된 각 항목, 항목 확장 및 관계에 대한 데이터 클래스를 제공한다. 또한, API는 데이터 클래스들에 대한 공통 거동 세트를 정의하고 데이터 클래스들과 함께 저장 플랫폼 API에 대한 기본 프로그래밍 모델을 제공하는 한 세트의 프레임워크 클래스를 제공한다. 저장 플랫폼 API는, 기반 데이터베이스 엔진의 질의 언어의 정보로부터 애플리케이션 프로그래머들을 격리시키는 방식으로, 애플리케이션 프로그래머들이 데이터 저장소 내의 항목들의 다양한 속성에 기초하여 질의를 형성하는 것을 가능하게 하는 간략화된 질의 모델을 제공한다. 저장 플랫폼 API는 또한 애플리케이션 프로그램에 의해 이루어진 항목에 대한 변경을 수집한 후, 데이터 저장소가 구현되는 데이터베이스 엔진(또는 임의 종류의 저장 엔진)에 의해 요구되는 정확한 갱신들 내에 이들을 체계화한다. 이것은 애플리케이션 프로그래머들이 메모리 내에서 항목을 변경하는 것을 가능하게 하며, 데이터 저장소 갱신들의 복잡성을 API로 넘기는 것을 가능하게 한다. The storage platform's API provides data classes 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 a common set of behaviors for data classes and provide the basic programming model for the storage platform API with the data classes. The storage platform API provides a simplified query model that enables application programmers to form queries based on various attributes of items in the data store in a manner that isolates application programmers from information in the query language of the underlying database engine. . The storage platform API also collects changes to items made by the application program and then organizes them into the exact updates required by the database engine (or any kind of storage engine) in which the data store is implemented. This enables application programmers to change items in memory and to pass the complexity of data store updates to the API.

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

이러한 상호 관련된 발명들의 최우선 구조의 일부로서(상세한 설명의 섹션 II에서 상세히 설명됨), 본 발명은 특히 동기화 API(상세한 설명의 섹션 III에서 상세히 설명됨)와 관련된다. 본 발명의 다른 특징 및 이점은 아래의 발명의 상세한 설명 및 첨부 도면으로부터 명백해질 것이다.As part of the foremost structure of these interrelated inventions (described in detail in section II of the detailed description), the present invention relates in particular to the synchronization API (described in detail in section III of the detailed description). 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.

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

도 5A는 항목의 구조를 나타내는 블록도이다.5A is a block diagram showing the structure of an item.

도 5B는 도 5A의 항목의 복합 속성 타입을 나타내는 블록도이다.5B is a block diagram illustrating the 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 is a diagram illustrating an item as a subtype of the item found in the base schema.

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

도 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 is a diagram illustrating a reference type hierarchy of a data model of a storage platform.

도 12는 관계들이 어떻게 분류되는지를 나타내는 도면이다.12 is a diagram illustrating how relationships are classified.

도 13은 통지 메커니즘을 나타내는 도면이다.13 is a diagram illustrating a notification mechanism.

도 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.

도 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 into a storage platform data store.

도 18은 포함 폴더의 개념을 나타내는 도면이다.18 is a diagram illustrating the concept of an included folder.

도 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는 예시적인 연락 항목 스키마의 도면이다.21A is a diagram of an exemplary contact item schema.

도 21B는 도 21A의 예시적인 연락 항목 스키마에 대한 요소들의 도면이다.FIG. 21B is a diagram of elements for the example contact item schema of FIG. 21A.

도 22는 저장 플랫폼 API의 실행시간 프레임워크를 나타내는 도면이다.22 illustrates a runtime framework of the storage platform API.

도 23은 "FindAll" 동작의 실행을 나타내는 도면이다.Fig. 23 is a view showing execution of the "FindAll" operation.

도 24는 저장 플랫폼 API 클래스들이 저장 플랫폼 스키마로부터 생성되는 프로세스를 나타내는 도면이다.24 is a diagram illustrating a process in which storage platform API classes are generated from a storage platform schema.

도 25는 파일 API가 기초로 하는 스키마를 나타내는 도면이다.25 is a diagram illustrating a schema on which a file API is based.

도 26은 데이터 보안을 위해 사용되는 액세스 마스크 포맷을 나타내는 도면이다.26 is a diagram illustrating an access mask format used for data security.

도 27(a, b 및 c 부분)은 동일하게 보호되는 새로운 보안 영역이 기존 보안 영역으로부터 분리되는 것을 나타내는 도면이다.27 (a, b, and c parts) is a diagram showing that a new security zone that is equally protected is separated from an existing security zone.

도 28은 항목 검색 뷰의 개념을 나타내는 도면이다.28 is a diagram illustrating the concept of an item search view.

도 29는 예시적인 항목 계층 구조를 나타내는 도면이다.29 is a diagram illustrating an exemplary item hierarchy.

도 30A는 인터페이스 Interface1을 제1 및 제2 코드 세그먼트들이 통신하는 통로로서 나타내는 도면이다.FIG. 30A is a diagram illustrating interface Interface1 as a path through which first and second code segments communicate. FIG.

도 30B는 인터페이스가, 시스템의 제1 및 제2 코드 세그먼트들이 매체(M)를 통해 통신하는 것을 가능하게 하는 인터페이스 객체들 I1 및 I2를 포함하는 것으로 나타내는 도면이다.FIG. 30B shows the interface as including interface objects I1 and I2 that enable the first and second code segments of the system to communicate over the medium M. FIG.

도 31A는 인터페이스 Interface1에 의해 제공되는 기능이 어떻게 인터페이스의 통신을 변환하도록 다수의 인터페이스 Interface1A, Interface1B, Interface1C 로 세분되는지를 나타내는 도면이다.FIG. 31A is a diagram illustrating how the functionality provided by interface Interface1 is subdivided into multiple interfaces Interface1A, Interface1B, and Interface1C to convert communication of the interface.

도 31B는 인터페이스 I1에 의해 제공되는 기능이 어떻게 다수의 인터페이스 I1a, I1b, I1c로 세분되는지를 나타내는 도면이다.31B is a diagram showing how the functionality provided by interface I1 is subdivided into a number of interfaces I1a, I1b, I1c.

도 32A는 의미 없는 파라미터 정밀도가 무시되거나 임의의 파라미터로 대체될 수 있는 시나리오를 나타내는 도면이다.32A is a diagram illustrating a scenario in which meaningless parameter precision may be ignored or replaced with any parameter.

도 32B는 인터페이스가 인터페이스를 무시하거나 파라미터를 추가하도록 정의된 대체 인터페이스에 의해 대체되는 시나리오를 나타내는 도면이다.32B is a diagram illustrating a scenario in which an interface is replaced by an alternative interface defined to ignore an interface or add a parameter.

도 33A는 제1 및 제2 코드 세그먼트들이 이들 모두를 포함하는 모듈로 병합되는 시나리오를 나타내는 도면이다.33A is a diagram illustrating a scenario in which first and second code segments are merged into a module including both of them.

도 33B는 인터페이스의 일부 또는 전부가 병합된 인터페이스를 형성하기 위해 다른 인터페이스 내에 인라인 작성될 수 있는 시나리오를 나타내는 도면이다.33B illustrates a scenario in which some or all of the interfaces may be written inline within another interface to form a merged interface.

도 34A는 미들웨어의 하나 이상의 부분들이 어떻게 제1 인터페이스 상의 통신들을 하나 이상의 상이한 인터페이스에 적응시키기 위해 이들을 변환할 수 있는지를 나타내는 도면이다.FIG. 34A is a diagram illustrating how one or more portions of middleware may translate them to adapt communications on a first interface to one or more different interfaces. FIG.

도 34B는 어떻게 코드 세그먼트가 하나의 인터페이스로부터 통신을 수신하지만 기능을 제2 및 제3 인터페이스로 전송하기 위해 인터페이스와 함께 도입될 수 있는지를 나타내는 도면이다.34B illustrates how a code segment can be introduced with an interface to receive communication from one interface but to transfer functionality to the second and third interfaces.

도 35A는 JIT(Just-In-Time) 컴파일러가 어떻게 하나의 코드 세그먼트로부터의 통신을 다른 코드 세그먼트로 변환하는지를 나타내는 도면이다.35A is a diagram illustrating how the Just-In-Time (JIT) compiler converts communication from one code segment to another code segment.

도 35B는 하나 이상의 인터페이스를 동적으로 재기입하는 JIT 메소드가 상기 인터페이스를 동적으로 인수 분해하거나 변경하기 위해 적용될 수 있음을 나타내는 도면이다.35B is a diagram illustrating that a JIT method that dynamically rewrites one or more interfaces may be applied to dynamically factorize or change the interface.

도 36은 공통 데이터 저장소의 3개의 인스턴스 및 이들을 동기화하는 컴포넌트들을 나타내는 도면이다.36 is a diagram illustrating three instances of a common data store and the components that synchronize them.

도 37은 어떻게 상태가 계산되는지, 또는 그와 관련된 메타데이터가 교환되는지를 알지 못하는 단순한 어댑터를 가정하는 본 발명의 일 실시예를 나타내는 도면이다.FIG. 37 is a diagram illustrating one embodiment of the present invention assuming a simple adapter that does not know how a state is calculated or associated metadata is exchanged.

목차Contents

I. 서론I. Introduction

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

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

II. 데이터의 체계화, 검색 및 공유를 위한 WINFS 저장 플랫폼II. WINFS 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

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) 중첩 요소 타입 확장b) Nested element type extension

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

1. UDT를 이용한 데이터 저장소 구현1. Data storage using UDT

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

e)e)

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

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

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

H. 저장 플랫폼 APIH. Storage Platform API

III. 동기화 APIIII. Sync API

A. 동기화의 개요A. Overview of Synchronization

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) Automatic 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

B. 동기화 API의 개요B. Overview of the Sync API

1. 일반 용어1. General Terminology

2. 동기화 API의 원리2. The principle of the synchronization API

C. 동기화 API 서비스C. Sync API Service

1. 변경 열거1. Change enumeration

2. 변경 적용2. Apply changes

3. 샘플 코드3. Sample Code

4. API 동기화의 방법4. Method of API Synchronization

D. 동기화 스키마의 추가 양태들D. Additional Aspects of the Synchronization Schema

IV. 결론IV. 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 stated. 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 architectures including a memory bus or a memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. 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 herein uses a hard disk, a removable magnetic disk 29 and a removable optical disk 21, it may be used by a computer such as a magnetic cassette, flash memory card, DVD, Bernoulli cartridge, RAM, 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 may also 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 of using computer resources to solve problems, provide solutions, and process data of various users (machines, 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 also replaces or replaces a virtual machine manager (VMM), a common language runtime (CLR) or functional equivalent thereof, a Java virtual machine (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 the management of batch jobs (eg 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, machine, 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 searched. File groups are usually 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 machine manager (VMM), a common language runtime (CLR) or functional equivalent thereof, a Java virtual machine (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)을 구현한다. 특정 타입의 데이터는 스키마(340)와 같은 스키마에서 기술되며, 저장 플랫폼(300)은 후술하는 바와 같이 이러한 스 키마를 전개하는 것은 물론, 이러한 스키마를 확장하기 위한 도구(346)를 제공한다.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. Certain types of data are described in a schema, such as schema 340, and storage platform 300 provides tools 346 for extending this schema as well as deploying this schema as described below.

데이터 저장소(302) 내에 구현되는 변경 추적 메커니즘(306)은 데이터 저장소에 대한 변경을 추적할 수 있는 능력을 제공한다. 데이터 저장소(302)는 또한 보안 능력(308) 및 승진/강등 능력(310)을 제공하는데, 이들 양자는 후술한다. 데이터 저장소(302)는 또한 다른 저장 플랫폼 컴포넌트 및 저장 플랫폼을 이용하는 애플리케이션 프로그램(예컨대, 애플리케이션 프로그램 350a, 350b, 350c)에게 데이터 저장소(302)의 능력들을 노출시키기 위한 한 세트의 API(312)를 제공한다. 본 발명의 저장 플랫폼은 애플리케이션 프로그램(350a, 350b, 350c)과 같은 애플리케이션 프로그램이 전술한 저장 플랫폼의 모든 능력에 액세스하고 스키마에 기술된 데이터에 액세스하는 것을 가능하게 하는 API(322)를 더 포함한다. 저장 플랫폼 API(322)는 OLE DB API(324) 및 마이크로소프트 윈도우 Win32 API(326)와 같은 다른 API와 함께 애플리케이션 프로그램에 의해 사용될 수 있다. 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 promotion / 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 other storage platform components and application programs (eg, application programs 350a, 350b, 350c) that use the storage platform. do. 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)의 연동을 허용하는 파일 시스템 능력을 제공한다. 적어도 몇몇 실시예에서, 저장 플랫폼(300)은 또한 데이터가 다른 시스템 상에서 동작하는 것을 가능하게 하고 다른 시스템과의 상호작용을 가능하게 하는 추가적인 능력을 애플리케이션 프로그램에게 제공할 수 있다. 이러한 능력들은 정보 에이전트 서비스(334) 및 통지 서비스(332)와 같은 추가 서비스(328)의 형태는 물론, 다른 유틸리티(336)의 형태로 구현될 수 있다. 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. 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 machine 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 available the capabilities inherent in its data model, but also provides a rich and extensible programming surface area that accommodates and extends 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 may be multivalent (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 may be defined using either one of the base types or any of the built types (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 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 the 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 any number (0 to many) 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 base 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 which is shown in this figure but not in FIG. 5A (whereas in FIG. Note that these properties are referenced by indicating that they are subtypes), with inherited properties shown, but it should be noted and understood that 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 searching for a particular item, the default for many of these embodiments is to provide the item with all its direct and inherited attributes in the search. 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 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.

항목 참조는 항목을 찾고 식별하기 위한 정보를 포함하는 데이터 구조이다. 데이터 모델에서, 모든 항목 참조 타입이 도출되는 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 a function to retrieve an item when given a reference. The Resolve method is called as part of the storage platform API 322.

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.

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.

이러한 타입의 참조는 세트 동작에서 사용될 수 없다. 참조는 일반적으로 경로 분석 프로세스를 통해 분석되어야 한다. 저장 플랫폼 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 may also be considered a virtual item folder with members based on the results of a particular query (eg, with respect to a database), thus satisfying the conditions of this query (defined by category commonality). The items to be included 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, for example, items 414, 416, 418, and 420 (However, this is rarely possible in some embodiments where ownership of any attribute automatically means a member in a category, and therefore an item must be completely uncharacteristic in order for an item not to be a member of any category). . Unlike the hierarchical structure of folders, both category and item folders have a more similar structure to the direction 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 provides an enhanced and rich data manipulation and storage structure capability at the hardware / software interface system level 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 differences between files with different extensions (* .com, * .exe, * .bat, * .sys, etc.) and other criteria are similar to functions in 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 a 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 principles (defined below).

ㆍ Principal: ItemID와 별도로 명확하게 입증할 수 있는 적어도 하나의 식별자(예컨대, 사람, 조직, 그룹, 세대, 저자, 서비스 등의 식별자)를 가진 항목Principal: an item with at least one identifier (eg, an identifier of a person, organization, group, generation, 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, a 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 112005035592845-PCT00001
Figure 112005035592845-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 item 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, backing up 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.

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 both the item as well as their targets, and copying of the item also copies all of the inserted items.

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

Figure 112005035592845-PCT00003
Figure 112005035592845-PCT00003

d) 참조 관계d) reference relationships

참조 관계는 그것이 참조하는 항목의 수명을 제어하지 않는다. 심지어, 참조 관계는 타겟의 존재를 보장하지 않으며, 관계 선언에서 지정되는 타겟의 타입도 보장하지 않는다. 이것은 참조 관계가 현수 상태일 수 있다는 것을 의미한다. 또한, 참조 관계는 다른 데이터 저장소 내의 항목을 참조할 수 있다. 참조 관계는 웹 페이지 내의 링크와 유사한 개념으로 간주될 수 있다.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 suspended. 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 112005035592845-PCT00004
Figure 112005035592845-PCT00004

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

참조 관계는 항목들 사이의 대부분의 비 수명 관리 관계를 모델링하는 데 사용된다. 타겟의 존재가 강제되지 않으므로, 참조 관계는 느슨하게 결합된 관계를 모델링하는 데 편리하다. 참조 관계는 다른 컴퓨터 상의 저장소를 포함하는 다른 데이터 저장소 내의 항목을 타겟으로 하여 사용될 수 있다.Reference relationships are used to model most non-life 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.

ㆍ 항목은 (단 하나의 삽입 관계) 또는 (하나 이상의 유지 관계)의 타겟이어야 한다. 하나의 예외는 루트 항목이다. 항목은 0개 이상의 참조 관계의 타겟일 수 있다.The 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.

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

ㆍ 항목은 파일로부터 승진된 경우 유지 관계의 소스가 될 수 없다. 이것은 삽입 관계 및 참조 관계의 소스가 될 수 있다. 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.

ㆍ 파일로부터 승진된 항목은 삽입 관계의 타겟이 될 수 없다.An item promoted from a file cannot be the target of an insert relationship.

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 a set with ordNext greater than OrdX.

동작들은 다음을 포함하지만 이에 한하지 않는다.The operations include, but are not limited to:

ㆍ 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 order attribute value of the new relationship may 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 may be assigned an order value between ord and OrdNext (not including these values).

ㆍ 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. The relationship may be assigned a new order value between OrdPrev and ord (not including these values).

ㆍ MoveAfter(SourceItemID, ord, Relationship)는 주어진 관계 ID를 가진 관계를 지정된 순서 값을 가진 관계 뒤로 이동시킨다. 관계는 ord와 OrdNext 사이(이들 값은 포함되지 않음)의 새로운 순서 값이 할당될 수 있다.MoveAfter (SourceItemID, ord, Relationship) moves the relationship with the given relationship ID after 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 a shareable item belonging to the item. These are "public" item folders that provide information about these.

도 9는 항목 폴더(이것은 또한 항목 그 자체이다), 그의 멤버 항목들, 및 항목 폴더와 그의 멤버 항목들 사이의 상호 연결 관계를 나타내는 블록도이다. 항목 폴더(900)는 다수의 항목(902, 904, 906)을 갖는다. 항목 폴더(900)는 그 자신으로부터 항목(902)으로의 관계(912)를 갖는데, 이 관계는 항목(902)이 공개적이며 항목 폴더(900), 그의 멤버들(904, 906), 및 항목 폴더(900)에 액세스할 수 있는 임의의 다른 항목 폴더들, 카테고리들, 또는 항목들(도시되지 않음)과 공유될 수 있다는 것을 나타낸다. 그러나, 항목 폴더(900)가 항목(902)에 대해 사적이며, 항목(902)과 그의 멤버 정보를 공유하지 않는다는 것을 나타내는 항목(902)에서 항목 폴더(900)로의 관계는 존재하지 않는다. 한편, 항목(904)은, 항목 폴더(900)가 공개적이며 항목(904)과 그의 멤버 정보를 공유한다는 것을 나타내는 그 자신에서 항목 폴더(900)로의 관계를 갖지 않는다. 그러나, 항목(904)이 사적이며 항목 폴더(900), 그의 다른 멤버들(902, 906), 및 항목 폴더(900에 액세스할 수 있는 항목 폴더, 카테고리 또는 항목(도시되지 않음)과 공유되지 않음을 나타내는 항목 폴더(900)에서 항목(904)으로의 관계가 존재하지 않는다. 항목 폴더의 항목들(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. The item folder 900 has a relationship 912 from itself to the item 902, where the item 902 is public and the item folder 900, its members 904, 906, and the item folder It can be shared with any other item folders, categories, or items (not shown) that can access 900. However, there is no relationship from item 902 to item folder 900 indicating 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, does not have a relationship from itself to item folder 900, indicating that item folder 900 is public and shares its member information with item 904. However, item 904 is private and not shared with item folder 900, its other members 902, 906, and item folder, category, or item (not shown) that can access item folder 900. There is no relationship from item folder 900 to item 904, which is different from the relationship (or lack of relationship) to items 902 and 904 in the item folder, item folder 900 itself. Has a relationship 916 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 the item folder 900, and the item folder 900 is public and 906 and sharing his member information.

전술한 바와 같이, 항목 폴더 내의 항목들은 공유성을 공유할 필요는 없는데, 이는 항목 폴더가 "기술"되지 않기 때문이다. 한편, 카테고리는 그의 멤버 항목들 모두에 공통인 공통성에 의해 기술된다. 결과적으로, 카테고리의 멤버는 기술된 공통성을 가진 항목들로 고유하게 제한되며, 소정 실시예에서 카테고리의 기술을 만족시키는 모든 항목은 자동으로 카테고리의 멤버가 된다. 따라서, 항목 폴더는 평범한 타입의 구조들이 그들의 멤버에 의해 표현되는 것을 허용하는 반면, 카테고리는 정의된 공통성에 기초하여 멤버을 허용한다.As mentioned above, the items in the item folder do not need to 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 ordinary types of structures to be represented by their members, while categories allow members 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)에 액세스할 수 있는 임의의 다른 카테고리, 항목 폴더 또는 항목(도시되지 않음)과 공유될 수 있다는 것을 나타낸다. 그러나, 카테고리(1000)가 항목(1002)에 대해 사적이며, 항목(1002)과 그의 멤버 정보를 공유하지 않는다는 것을 나타내는, 항목(1002)에서 카테고리(1000)로의 관계는 존재하지 않는다. 한편, 항목(1004)은 카테고리(1000)가 공개적이며, 항목(1004)과 그의 멤버 정보를 공유한다는 것을 나타내는, 그 자체에서 카테고리(1000)로의 관계(1024)를 갖지 않는다. 그러나, 항목(1004)이 사적이며, 카테고리(1000), 그의 다른 멤버들(1002, 1006), 및 카테고리(1000)에 액세스할 수 있는 임의의 다른 카테고리, 항목 폴더 또는 항목(도시되지 않음)과 공유될 수 없다는 것은 나타내는 카테고리(1000)에서 항목(1004)으로 확장되는 관계가 존재하지 않는다. 카테고리의 항목(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 the interconnection relationship between the 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, which is that item 1002 is public, category 1000, its members 1004, 1006, and category 1000. ) Can be shared with any other category, item folder, or item (not shown) that has access. However, there is no relationship from item 1002 to category 1000, indicating 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 have a relationship 1024 to itself in category 1000, indicating that category 1000 is public and shares its member information with item 1004. However, item 1004 is private, with category 1000, its other members 1002, 1006, and any other category, item folder or item (not shown) that can access category 1000; There is no relationship extending from item 10004 to category 1004 indicating that it cannot be shared. 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. Together, these relationships together indicate that item 1006 is public and can access category 1000, its item members 1002, 1004, and any other category, item folder, or item (shown) And the category 1000 is public, sharing 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 direction graph, embodiments that prohibit cycling are similar to a direction acyclic graph (DAG), which is a direction 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 new item types, that is, subtype Base.Item.

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

ㆍ ISV는 새로운 확장, 즉 서브 타입인 Base.NestedElement를 도입하는 것이 허용된다.ISVs are allowed to introduce new extensions, that is, the subtype Base.NestedElement.

ㆍ 그러나, ISV는 저장 플랫폼 스키마의 초기 세트(340)에 의해 정의된 임의의 타입(항목, 중첩 요소 또는 확장 타입)을 서브 타입화할 수 없다.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 customize the 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.

스키마 확장성의 필요성을 다루는 것 외에, 확장은 또한 "멀티 타입화" 문제를 다룬다. 소정의 실시예에서, 저장 플랫폼은 다수의 상속 또는 중첩 서브 타입 을 지원하지 않을 수 있기 때문에, 애플리케이션은 확장을 중첩 타입 인스턴스를 모델링하기 위한 방법으로서 이용할 수 있다(예컨대, 문서는 합법 문서는 물론 보안 문서이다). 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 nested type instances (eg, documents may be secure as well as legal documents). 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 112005035592845-PCT00005
Figure 112005035592845-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 a 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 the extension type is similar to that of the item type.

ㆍ 확장 타입은 필드를 갖는다.Extension type has a field.

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

ㆍ 확장 타입은 서브 타입화될 수 있다.Extension type can be subtyped.

다른 제한은 확장 타입에 적용된다.Other restrictions apply to extension types.

ㆍ 확장은 관계의 소스 및 타겟일 수 없다.Extension cannot be the source and target of a relationship.

ㆍ 확장 타입 인스턴스는 항목과 별개로 존재할 수 없다.Extension type instances cannot exist separately from items.

ㆍ 확장 타입은 저장 플랫폼 타입 정의에서 필드 타입으로 사용될 수 없다.Extension 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.

확장 타입은 저장 플랫폼 단일 상속 모델을 이용하여 서브 타입화된 타입일 수 있다. 확장 타입으로부터의 도출은 새로운 확장 타입을 생성한다. 확장의 구조 또는 거동은 항목 타입 계층 구조의 구조 또는 거동을 무시하거나 대체할 수 없다. 항목 타입과 유사하게, 확장 타입 인스턴스는 확장 타입과 관련된 뷰를 통해 직접 액세스될 수 있다. 확장의 ItemID는 이들이 어느 항목에 속하는지를 나타내며, 글로벌 항목 뷰로부터 대응하는 항목 객체를 검색하는 데 사용될 수 있다. 확장은 동작의 일관성을 위해 항목의 일부로 간주된다. 저장 플랫폼이 정의하는 복사/이동, 백업/복원 및 다른 일반 동작들은 항목의 일부로서 확장에 대해 동작할 수 있다.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. 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 112005035592845-PCT00006
Figure 112005035592845-PCT00006

Figure 112005035592845-PCT00007
Figure 112005035592845-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 112005035592845-PCT00008
Figure 112005035592845-PCT00008

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

Figure 112005035592845-PCT00009
Figure 112005035592845-PCT00009

CRMExtension 및 HRExtension은 연락 항목에 첨부될 수 있는 2개의 독립적인 확장이다. 이들은 서로 독립적으로 생성되고 액세스된다. CRMExtension and HRExtension are two independent extensions that can be attached to a contact. 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 of the contact hierarchy. Note that instances of the CRMExtension type can be attached to an item type rather than a contact.

연락이 검색될 때, 그의 항목 확장이 자동으로 검색되는 것은 아니다. 연락 항목이 주어지면, 그와 관련된 항목 확장은 동일한 ItemID를 가진 확장에 대한 글로벌 확장 뷰에 질의함으로써 액세스될 수 있다. When a contact is retrieved, its item extension 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 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. 일반적으로 포함하는 항목 컨텍스트 내에서만 질의될 수 있다.In general, it can be queried only within the context of the containing item. 질의/검색 범위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 expansion

중첩 요소 타입은 항목 타입과 동일한 메커니즘으로 확장되지 않는다. 중첩 요소의 확장은 중첩 요소 타입의 필드와 동일한 메커니즘으로 저장되고 액세스된다.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 112005035592845-PCT00010
Figure 112005035592845-PCT00010

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

Figure 112005035592845-PCT00011
Figure 112005035592845-PCT00011

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

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

ㆍ 중첩 요소 확장은 항목의 다른 필드들과 함께 저장되며, 글로벌 액세스가 가능하지 않으며, 주어진 확장 타입의 모든 인스턴스를 검색하는 질의가 구축될 수 없다.Nested element extensions are stored with other fields in 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 as 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 multivalent attributes is also used for access and iteration over the type extension set.

다음 테이블은 항목 확장 및 중첩 요소 확장을 요약하고 비교한 것이다.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 multivalent field 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 relational stores in the data model that implements the data store according to this embodiment, and provides information about the logical APIs consumed 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.

다음의 서브 섹션과 관련하여, 개시된 일반 정보를 쉽게 하는 몇몇 설명이 제공되는데, 도 13은 통지 메커니즘을 설명하는 도면이다. 도 14는 2개의 트랜잭션 양자가 동일한 B 트리에 새로운 레코드를 삽입하는 예를 나타내는 도면이다. 도 15는 데이터 변경 검출 프로세스를 나타낸다. 도 16은 예시적인 디렉토리 트리를 나타낸다. 도 17은 디렉토리 기반 파일 시스템의 기존 폴더가 저장 플랫폼 데이터 저장소로 이동되는 예를 나타낸다.Regarding the following subsections, some explanations are provided to facilitate the general information disclosed, and FIG. 13 illustrates the notification mechanism. 14 is a diagram illustrating an example in which two transactions both insert a new record in the same B tree. 15 shows a data change detection process. 16 illustrates an example directory tree. 17 shows an example in which an existing folder of a directory-based file system is moved to a storage platform data store.

1. UDT를 이용한 데이터 저장소 구현1. Data storage using UDT

본 실시예에서, 일 실시예에서 마이크로소프트 SQL 서버 엔진을 포함하는 관계형 데이터베이스 엔진(314)은 내장 스칼라 타입을 지원한다. 내장 스칼라 타입은 "원시적"이고 "단순"하다. 이것은 사용자가 그 자신의 타입을 정의할 수 없다는 의미에서 원시적이며, 복합 구조를 캡슐화할 수 없다는 의미에서 단순하다. 사용자 정의 타입(이하, UDT)은 사용자가 복잡하고 구조화된 타입을 정의함으로써 타입 시스템을 확장하는 것을 가능하게 함으로써 원시 스칼라 타입 시스템 위에 그리고 이를 넘어서 타입 확장성을 위한 메커니즘을 제공한다. UDT가 사용자에 의해 정의되면, 이 UDT는 내장 스칼라 타입이 사용될 수 있는 타입 시스템 내의 어디에서나 사용될 수 있다.In this embodiment, the relational database engine 314, which in one embodiment includes the Microsoft SQL Server engine, supports built-in scalar types. Built-in scalar types are "primitive" and "simple". This is primitive in the sense that the user cannot define his own type, and it is simple in that it cannot encapsulate complex structures. User-defined types (hereinafter referred to as UDTs) provide a mechanism for type extensibility above and beyond the primitive scalar type system by allowing users to extend the type system by defining complex and structured types. If a UDT is defined by the user, it 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. Like items, extensions are also mapped to UDT classes, using 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 managed languages: C #, VB.NET, and so on. UDT methods and operators can be called in T-SQL for instances of that type. The UDT may be the type of a column in a row, the type of a parameter of a routine in T-SQL or the type of a variable in T-SQL.

저장 플랫폼 스키마의 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 are mapped to CLR class properties.

2. 항목 매핑2. Item Mapping

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

그러나, 이러한 접근법과 관련된 오버헤드에 대한 염려로 인해, 본 실시예에서는 항목들이 최상위 레벨 타입에 의해 분류되며, 따라서 각 타입 "패밀리"의 항목들은 개별 테이블에 저장된다. 이러한 분할 스킴 하에서는 Base.Item으로부터 직접 상속되는 각각의 항목 타입에 대해 테이블이 생성된다. 이들 아래에서 상속되는 타입들은 전술한 바와 같이 타입 대체성을 이용하여 적절한 타입 패밀리에 저장된다. Base.Item으로부터의 제1 레벨의 상속만이 특수하게 처리된다. 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.

모든 항목에 대한 글로벌 검색 가능 속성들의 사본을 저장하기 위하여 "쉐도우" 테이블이 사용된다. 이 테이블은 모든 데이터 변경을 행하는 저장 플랫폼 API의 Update() 메소드에 의해 유지될 수 있다. 타입 패밀리 테이블과 달리, 이 글로벌 항목 테이블은 완전한 UDT 항목 객체가 아니라 항목의 최상위 레벨 스칼라 속성만을 포함한다. 글로벌 항목 테이블은 ItemID 및 TypeID를 노출시킴으로써 타입 패밀리 테이블에 저장된 항목 객체에 대한 네비게이션을 허용한다. ItemID는 일반적으로 데이터 저장소 내의 항목을 고유하게 식별한다. TypeID는 여기서 설명되지 않는 메타데이터를 이용하여 타입 명칭 및 항목을 포함하는 뷰로 매핑될 수 있다. 글로벌 항목 테이블과 관련하여, 그리고 다른 상황과 관련하여, 항목을 그의 ItemID에 의해 찾는 것은 일반적인 동작일 수 있으므로, 항목의 ItemID가 주어지면 항목 객체를 검색하기 위한 GetItem() 함수가 제공된다.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 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. With respect 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.

편리한 액세스를 위해, 그리고 구현 상세를 가능한 한도까지 숨기기 위해, 항목에 대한 모든 질의는 전술한 항목 테이블 상에 구축된 뷰들에 대한 것일 수 있다. 구체적으로, 적절한 타입 패밀리 테이블에 대해 각각의 항목 타입에 대한 뷰들이 생성될 수 있다. 이러한 타입 뷰는 서브 타입을 포함하는 관련 타입의 모든 항목을 선택할 수 있다. 편의를 위해, UDT 객체 외에, 뷰들은 상속된 필드를 포함하는 그 타입의 모든 최상위 레벨 필드에 대한 열들을 노출시킬 수 있다. 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.

3. 확장 매핑3. Extension Mapping

확장은 항목과 매우 유사하며, 동일한 요건들의 일부를 갖는다. 상속을 지원하는 다른 루트 타입으로서, 확장은 저장에 있어서의 동일한 고려 및 트레이드오프 중 많은 부분에 종속된다. 이 때문에, 유사한 타입 패밀리 매핑이 단일 테이블 접근법이 아니라 확장에 적용된다. 물론, 다른 실시예에서는 단일 테이블 접근법이 이용될 수 있다. 본 실시예에서, 확장은 ItemID에 의해 정확히 하나의 항목과 연관되며, 항목과 관련하여 고유한 ExtensionID를 포함한다. 항목에서와 같이, ItemID 및 ExtensionID 쌍으로 이루어진 확장 식별자가 주어질 때 확장을 검색하기 위한 함수가 제공될 수 있다. 항목 타입 뷰와 유사하게 각각의 확장 타입에 대한 뷰가 생성된다.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. In this embodiment, an extension is associated with exactly one item by ItemID and includes a unique ExtensionID with respect to the item. As with the item, a function for searching for an extension may be provided when an extension identifier consisting of an ItemID and ExtensionID pair is given. Similar to the item type view, a view is created for each extension type.

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. Generated names are prefixed with qualifiers 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

임의의 객체 모델을 저장소로 매핑할 때, 명명 충돌의 가능성은 애플리케이션 객체와 함께 저장된 추가 정보로 인해 발생한다. 명명 충돌을 방지하기 위해, 모든 논-타입 특정 열(타입 선언 내의 명명 속성으로 직접 매핑되지 않는 열들) 앞에는 밑줄(_) 문자가 붙여진다. 본 실시예에서, 밑줄(_) 문자는 임의의 식별자 속성의 시작 문자로서 허용되지 않는다. 또한, 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 (those 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 may 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" may 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 convention:

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

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

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

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

ㆍ 타입 특정 뷰(패밀리 뷰)는 또한 객체를 리턴하는 객체 열을 포함한다.The type specific view (family view) also contains an object string that returns an object.

각 타입 패밀리의 멤버들은 일련의 항목 뷰들을 이용하여 검색 가능한데, 데이터 저장소에는 항목 타입당 하나의 뷰가 존재한다. 도 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 타입The CLR type of the item CLR 객체-선언 항목의 타입Type of CLR object-declaration item

b) 항목 확장b) item expansion

WinFS 저장소 내의 모든 항목 확장은 또한 검색 뷰를 이용하여 검색 가능하다.All item extensions in 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

e)e)

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 available from the master item view "[System.Storage]. [Master! Item] and the typed search view [AcmeCorp.Document]. [Document]. Do.

(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 112005035592845-PCT00012
Figure 112005035592845-PCT00012

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

Heat 설명Explanation _CreationLocalTS_CreationLocalTS 로컬 머신에 의한 생성 타임 스탬프Creation time stamp by local machine _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 machine. _CreatingPartnerTS_CreatingPartnerTS 이 엔티티가 _CreatingPartnerKey에 대응하는 파트너에서 생성된 시간의 타임 스탬프.Timestamp of the time this entity was created on the partner corresponding to _CreatingPartnerKey. _LastUpdateLocalTS_LastUpdateLocalTS 로컬 머신에서의 갱신 시간에 대응하는 로컬 타임 스탬프Local time stamp corresponding to update time on local machine _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 machine. _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 according to the partner who deleted the entry. 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 according to the partner who deleted the entry. This is blank if the extension is alive.

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

관계 묘비는 뷰 [System.Storage].[Tombstone!Relationship]을 통해 시스템 으로부터 검색된다. 관계 묘비 정보는 확장에 대해 제공되는 것과 유사하다. 그러나, 관계 인스턴스의 타겟 ItemRef에 대한 추가 정보가 제공된다. 또한, 관계 객체도 선택된다.Relationship gravestones are retrieved from the system through 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 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 Functions

기본 매핑도 다수의 헬퍼 함수를 제공한다. 이들 함수는 데이터 모델을 통 해 일반 동작들을 돕도록 제공된다. 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 112005035592845-PCT00013
Figure 112005035592845-PCT00013

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

Figure 112005035592845-PCT00014
Figure 112005035592845-PCT00014

Figure 112005035592845-PCT00015
Figure 112005035592845-PCT00015

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

Figure 112005035592845-PCT00016
Figure 112005035592845-PCT00016

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 112005035592845-PCT00017
Figure 112005035592845-PCT00017

E. 보안E. Security

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

도 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.

본 발명의 저장 플랫폼에 대한 보안 모델은 본 명세서에서 초기에 참조로 반영된 관련 출원들에 충분히 설명되어 있다. 이와 관련하여, 도 27(a, b, c 부분)은 보안 모델의 일 실시예에 따라 동일하게 보호되는 새로운 보안 영역이 기존 보안 영역으로부터 분리되는 것을 나타내고 있다.The security model for the storage platform of the present invention is fully described in the related applications, which are initially incorporated herein by reference. In this regard, Figure 27 (a, b, c) shows that a new security zone that is equally protected according to one embodiment of the security model is separated from the existing 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 for notifications on 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)는 통지에 대해 2 종류의 인터페이스를 제공한다. 첫째, 애플리케이션은 항목, 항목 확장 및 항목 관계에 대한 변경에 의해 트리거되는 단순 데이터 변경 이벤트에 등록한다. 둘째, 애플리케이션 은 항목, 항목 확장 및 항목들 사이의 관계의 세트를 모니터하기 위해 "감시자" 객체를 생성한다. 감시자 객체의 상태는 저장될 수 있으며, 시스템 고장 후 또는 시스템이 연장된 기간 동안 오프라인으로 된 후에 재생성될 수 있다. 단일 통지는 다수의 갱신을 반영할 수 있다.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.

이러한 기능에 대한 추가적인 상세는 본 명세서에서 초기에 참고로 반영된 관련 출원에서 발견할 수 있다.Further details of this functionality can be found in the related application, which is incorporated herein by reference in its entirety.

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, considering that the complete replacement of the NTFS file system with the storage platform of the present invention requires recoding existing Win32-based application programs, and such recoding may be undesirable, the storage platform of the present invention may be characterized by 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.

이 기능에 대한 추가 상세는 본 명세서의 앞에서 참조로 반영된 관련 출원들에서 발견할 수 있다.Further details of this functionality can be found in the related applications, which are incorporated herein by reference in their entirety.

H. 저장 플랫폼 APIH. 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. Details of this function can be found in the related applications, which are hereby incorporated by reference, and some of this information is summarized below for convenience.

도 18을 참조하면, 포함 폴더는 다른 항목에 대한 유지 관계를 포함하는 항 목이며, 파일 시스템 폴더의 일반 개념의 등가이다. 각 항목은 적어도 하나의 포함 폴더 내에 포함된다. Referring to FIG. 18, an include folder is an item including a maintenance relationship with another item, and is equivalent to a general concept of a file system folder. Each item is included in at least one include folder.

도 19는 본 발명에 따른 저장 플랫폼 API의 기본 아키텍처를 나타낸다. 저장 플랫폼 API는 SQLClient(1900)를 이용하여 로컬 데이터 저장소(302)와 대화하며, 또한 SQLClient(1900)를 이용하여 원격 데이터 저장소(예컨대, 데이터 저장소 340)와 대화할 수 있다. 로컬 저장소(302)는 또한 분산 질의 프로세서(DQP)를 이용하거나 후술하는 저장 플랫폼 동기화 서비스("Sync")를 통해 원격 데이터 저장소(340)와 대화할 수 있다. 저장 플랫폼 API(322)는 전술한 바와 같이 애플리케이션의 가입을 통지 엔진(332)으로 전달하고 통지를 애플리케이션(예컨대, 애플리케이션 350a, 350b 또는 350c)으로 라우팅하는 데이터 저장소 통지용 브리지 API로서 기능한다. 일 실시예에서, 저장 플랫폼 API(322)는 또한 마이크로소프트 익스체인지 및 AD 내의 데이터에 액세스할 수 있도록 제한된 "제공자" 아키텍처를 정의할 수 있다. Figure 19 illustrates the basic architecture of the storage platform API in accordance with 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" architecture to allow access to data in Microsoft Exchange and AD.

도 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.

주어진 스키마로부터 결과되는 클래스들의 계층 구조는 그 스키마 내의 타입들의 계층 구조를 직접 반영한다. 예를 들어, 도 21A 및 21B에 도시된 것과 같은 연락 스키마에 정의된 항목 타입들을 고려하자.The hierarchy of classes resulting from a given schema directly reflects the hierarchy of types in that schema. For example, consider item types defined in a contact schema such as those shown in FIGS. 21A and 21B.

도 22는 실행 시간 프레임워크의 동작을 나타낸다. 실행시간 프레임워크는 다음과 같이 동작한다.22 illustrates the operation of the 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 get 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.

도 23은 "FindAll" 동작의 실행을 나타낸다.Fig. 23 shows execution of the "FindAll" operation.

도 24는 저장 플랫폼 API 클래스들이 저장 플랫폼 스키마로부터 생성되는 프로세스를 나타낸다.24 illustrates a process in which storage platform API classes are generated from a storage platform schema.

도 25는 File API가 근거로 하는 스키마를 나타낸다. 저장 플랫폼 API는 파일 객체를 처리하기 위한 명칭 공간을 포함한다. 이 명칭 공간은 System.Storage.Files라고 한다. System.Storage.Files 내의 클래스들의 데이터 멤버들은 저장 플랫폼 저장소에 저장된 정보를 직접 반사하며, 이 정보는 파일 시스템 객체로부터 승진하거나, Win32 API를 이용하여 고유하게 생성될 수 있다. System.Storage.Files 명칭 공간은 2개의 클래스, 즉 FileItem 및 DirectoryItem을 갖는다. 이 클래스의 멤버들 및 그의 메소드들은 도 25의 스키마 도면을 봄으로써 쉽게 발견될 수 있다. FileItem 및 DirectoryItem은 저장 플랫폼 API로부터 판독 전용이다. 이들을 수정하기 위해서는 Win32 API 또는 System.IO 내의 클래스를 이용해야 한다.25 shows a schema on which the File API is based. The storage platform API includes a namespace for handling file objects. This namespace is called System.Storage.Files. The data members of the classes in System.Storage.Files directly reflect the information stored in the storage platform repository, which can be promoted from file system objects or generated uniquely using the Win32 API. The System.Storage.Files namespace has two classes, FileItem and DirectoryItem. Members of this class and their methods can be easily found by looking at the schema diagram of FIG. FileItem and DirectoryItem are read only from the storage platform API. To modify these, you must use the Win32 API or the classes in System.IO.

API와 관련하여, 프로그래밍 인터페이스(또는 보다 간단하게 인터페이스)는 하나 이상의 코드 세그먼트가 하나 이상의 다른 코드 세그먼트에 의해 제공되는 기능과 통신하거나 이에 액세스하는 것을 가능하게 하는 임의의 메커니즘, 프로세스, 프로토콜로서 보여질 수 있다. 대안으로, 프로그래밍 인터페이스는 다른 컴포넌트의 하나 이상의 메커니즘, 메소드, 함수 호출, 모듈 등에 통신 결합할 수 있는 시스템의 컴포넌트의 하나 이상의 메커니즘, 메소드, 함수 호출, 모듈, 객체 등으로서 보여질 수 있다. 앞 문장에서 "코드 세그먼트"라는 용어는 하나 이상의 명령 또는 코드 라인을 포함하는 것으로 의도되며, 적용되는 용어법에 관계 없이, 또는 코드 세그먼트들이 개별적으로 컴파일되거나, 코드 세그먼트들이 소스, 중간 또는 객체 코드로서 제공되는 것과 관계 없이, 코드 세그먼트들이 실행시간 시스템 또는 프로세스에서 사용되거나, 이들이 동일 또는 상이한 머신들 상에 또는 다수의 머신들에 분산되어 배치되거나, 코드 세그먼트들에 의해 표현되는 기능이 전적으로 소프트웨어로, 전적으로 하드웨어로, 또는 하드웨어 및 소프트웨어의 조합으로 구현되는지에 관계없이 예컨대 코드 모듈, 객체, 서브루틴, 함수 등을 포함한다. In the context of an API, a programming interface (or more simply an interface) may be viewed as any mechanism, process, or protocol that enables one or more code segments to communicate with or access the functionality provided by one or more other code segments. Can be. Alternatively, the programming interface may be viewed as one or more mechanisms, methods, function calls, modules, objects, etc. of components of the system that may be communicatively coupled to one or more mechanisms, methods, function calls, modules, etc. of other components. The term "code segment" in the preceding sentence is intended to include one or more instructions or lines of code and, regardless of the terminology applied, or the code segments are compiled separately, or the code segments are source, intermediate or object code. Regardless of what is provided, the functionality of code segments may be used in a runtime system or process, they may be located on the same or different machines or distributed across multiple machines, or the functionality represented by the code segments is entirely in software, Including code modules, objects, subroutines, functions, etc., whether implemented entirely in hardware or a combination of hardware and software.

개념적으로 프로그래밍 인터페이스는 도 30A 또는 30B에 도시된 바와 같이 일반적으로 보여질 수 있다. 도 30A는 제1 및 제2 코드 세그먼트가 통신하는 수단 인 통로로서 인터페이스 Interface1을 나타내고 있다. 도 30B는 시스템의 제1 및 제2 코드 세그먼트가 매체(M)를 통해 통신하는 것을 가능하게 하는 인터페이스 객체 I1 및 I2(이들은 제1 및 제2 코드 세그먼트의 일부이거나 아닐 수도 있다)를 포함하는 것으로서 인터페이스를 도시하고 있다. 도 30B를 볼 때, 인터페이스 객체 I1 및 I2를 동일 시스템의 개별 인터페이스로서 간주하고, 또한 객체 I1 및 I2 플러스 매체(M)이 인터페이스를 포함하는 것으로 간주할 수 있다. 도 30A 및 30B는 양방향 흐름, 및 흐름의 각 측 상의 인터페이스를 도시하고 있지만, 소정의 구현들은 일 방향으로의 정보 흐름을 갖거나(또는 후술하는 바와 같이 정보 흐름이 없거나), 한쪽에만 인터페이스 객체를 가질 수 있다. 예를 들어, API, 엔트리 포인트, 메소드, 함수, 서브루틴, 원격 프로시저 호출 및 COM 인터페이스와 같은 용어들은 프로그래밍 인터페이스의 정의 내에 포함되지만, 이것으로 한정되는 것은 아니다.Conceptually, the programming interface may be generally seen as shown in FIG. 30A or 30B. FIG. 30A shows interface Interface1 as a path through which the first and second code segments communicate. 30B includes interface objects I1 and I2 (which may or may not be part of the first and second code segments) that allow the first and second code segments of the system to communicate over medium M. As shown in FIG. The interface is shown. With reference to FIG. 30B, the interface objects I1 and I2 can be regarded as separate interfaces of the same system, and also the objects I1 and I2 plus medium M contain the interface. 30A and 30B illustrate a bidirectional flow, and an interface on each side of the flow, but certain implementations have an information flow in one direction (or no information flow as described below), or only one interface object on one side. Can have For example, terms such as API, entry point, method, function, subroutine, remote procedure call, and COM interface are included in, but not limited to, the definition of a programming interface.

프로그래밍 인터페이스의 양태들은 제1 코드 세그먼트가 제2 코드 세그먼트로 정보를 전송할 수 있게 하는 메소드(여기서, "정보"는 넓은 의미로 사용되며, 데이터, 명령, 요구 등을 포함한다); 제2 코드 세그먼트가 정보를 수신할 수 있게 하는 메소드; 및 정보의 구조, 시퀀스, 신택스, 조직, 스키마, 타이밍 및 내용을 포함할 수 있다. 이와 관련하여, 기반 전송 매체 자체는 정보가 인터페이스에 의해 정의된 방식으로 전송되는 한은 매체가 유선인지 무선인지, 또는 이들의 조합인지에 관계없이 인터페이스의 동작에 중요하지 않을 수 있다. 소정의 상황에서, 하나의 코드 세그먼트가 제2 코드 세그먼트에 의해 수행되는 기능에 간단히 액세스할 때와 같이 정보 전송이 다른 메커니즘을 통하거나(예컨대, 버퍼, 파일 등에 위치한 정보는 코드 세그먼트들 사이의 정보 흐름으로부터 분리된다) 존재하지 않을 수 있을 때 정보는 통상적인 의미에서 한 방향 또는 양 방향으로 전송되지 않을 수 있다. 이러한 양태들 중 임의의 양태 또는 모든 양태는 예를 들어 코드 세그먼트들이 느슨하게 결합되거나 밀접하게 결합된 구성에서 시스템의 일부인지의 여부에 따라 주어진 상황에서 중요할 수 있으며, 따라서 이 리스트는 예시적인 것일 뿐 제한적이 아닌 것으로 간주되어야 한다.Aspects of the programming interface include methods that enable a first code segment to transmit information to a second code segment, where “information” is used in a broad sense and includes data, commands, requests, and the like; A method for enabling the second code segment to receive information; And structure, sequence, syntax, organization, schema, timing, and content of the information. In this regard, the underlying transmission medium itself may not be important to the operation of the interface, regardless of whether the medium is wired or wireless, or a combination thereof, as long as information is transmitted in a manner defined by the interface. In some situations, information transfer may be via other mechanisms (e.g., information placed between buffers, files, etc.), such as when one code segment simply accesses a function performed by a second code segment (eg, information between code segments). Information may not be transmitted in one or both directions in the conventional sense when it may not be present. Any or all of these aspects may be important in a given situation, for example depending on whether the code segments are part of a system in a loosely coupled or closely coupled configuration, so this list is illustrative only. Should be considered non-restrictive.

이러한 프로그래밍 인터페이스의 개념은 당업자에게 공지되어 있으며, 전술한 본 발명의 상세한 설명으로부터 명백하다. 그러나, 프로그래밍 인터페이스를 구현하는 다른 방법들이 있으며, 명백하게 배제되지 않은 한, 이들도 본 명세서의 끝에 설명되는 청구범위에 포함되는 것으로 의도된다. 그러한 다른 방법들은 도 30A 및 30B의 간단한 도면보다 복잡한 것으로 보일 수 있지만, 그럼에도 이들은 동일한 전체 결과를 달성하는 유사한 기능을 수행한다. 이제, 프로그래밍 인터페이스의 몇몇 예시적인 대체 구현을 간단히 설명한다.The concept of such a programming interface is known to those skilled in the art and is apparent from the foregoing detailed description of the invention. However, there are other ways of implementing a programming interface, and unless expressly excluded, they are also intended to be included in the claims set forth at the end of this specification. Such other methods may appear to be more complex than the simple diagrams of FIGS. 30A and 30B, but nevertheless they perform a similar function to achieve the same overall result. Now, some exemplary alternative implementations of the programming interface are briefly described.

인수 분해: 하나의 코드 세그먼트에서 다른 코드 세그먼트로의 통신은 통신을 다수의 개별 통신으로 분해함으로써 간접적으로 완수될 수 있다. 이것은 도 31A 및 31B에 개략적으로 도시되어 있다. 도시된 바와 같이, 몇몇 인터페이스는 분할 가능한 기능 세트에 의해 설명될 수 있다. 따라서, 도 30A 및 30B의 인터페이스 기능은, 수학적으로 24 또는 2×2×3×2를 제공할 수 있는 것과 같이, 동일한 결과를 달성할 수 있도록 인수 분해될 수 있다. 따라서, 도 31A에 도시된 바와 같이, 인터페이스 Interface1에 의해 제공되는 기능은 동일한 결과를 달성하면서 인 터페이스의 통신을 변환하기 위해 다수의 인터페이스 Interface1A, Interface1B, Interface1C 등으로 세분될 수 있다. 도 31B에 도시된 바와 같이, 인터페이스 I1에 의해 제공되는 기능은 동일한 결과를 달성하면서 다수의 인터페이스 I1a, I1b, I1c 등으로 세분될 수 있다. 마찬가지로, 제1 코드 세그먼트로부터 정보를 수신하는 제2 코드 세그먼트의 인터페이스 I2는 다수의 인터페이스 I2a, I2b, I2c 등으로 인수 분해될 수 있다. 인수 분해시, 제1 코드 세그먼트에 포함되는 인터페이스의 수는 제2 코드 세그먼트에 포함되는 인터페이스의 수와 일치할 필요는 없다. 도 31A 및 31B의 경우들 중 어느 하나에서, 인터페이스 Interface1 및 I1의 기능적인 사상은 도 30A 및 30B와 각각 동일하게 유지된다. 인터페이스의 인수 분해는 또한 결합, 교환 및 다른 수학적 특성을 따를 수 있으며, 따라서 인수 분해는 인식하기 어려울 수 있다. 예를 들어, 동작들의 순서화는 중요하지 않을 수 있으며, 결과적으로 하나의 인터페이스에 의해 수행되는 기능은 이 인터페이스에 도달하기 전에 다른 코드 또는 인터페이스에 의해 수행되거나, 시스템의 개별 컴포넌트에 의해 수행될 수 있다. 더욱이, 동일 결과를 달성하는 상이한 함수 호출을 다양한 방법이 있다는 것을 프로그래밍 분야의 당업자는 이해할 수 있다. Factorization : Communication from one code segment to another can be accomplished indirectly by breaking down the communication into a number of separate communications. This is shown schematically in FIGS. 31A and 31B. As shown, some interfaces may be described by a set of partitionable functions. Thus, the interface functionality of FIGS. 30A and 30B can be factored to achieve the same result, as can mathematically provide 24 or 2 × 2 × 3 × 2. Thus, as shown in FIG. 31A, the functionality provided by interface Interface1 can be subdivided into a number of interfaces Interface1A, Interface1B, Interface1C, etc. to convert the communication of the interface while achieving the same result. As shown in FIG. 31B, the functionality provided by interface I1 may be subdivided into a number of interfaces I1a, I1b, I1c, etc. while achieving the same result. Similarly, interface I2 of the second code segment receiving information from the first code segment may be factored into multiple interfaces I2a, I2b, I2c, and the like. In factoring, the number of interfaces included in the first code segment need not match the number of interfaces included in the second code segment. In any of the cases of FIGS. 31A and 31B, the functional idea of interfaces Interface1 and I1 remains the same as in FIGS. 30A and 30B, respectively. Factorization of the interface may also follow coupling, exchange, and other mathematical properties, so factorization may be difficult to recognize. For example, the ordering of the operations may not be important, and consequently the functionality performed by one interface may be performed by another code or interface before reaching this interface, or by individual components of the system. . Moreover, one of ordinary skill in the art appreciates that there are various ways of making different function calls that achieve the same result.

재정의: 몇몇 경우에, 여전히 의도한 결과를 달성하면서 프로그래밍 인터페이스의 소정의 양태들(예컨대, 파라미터들)을 무시, 추가 또는 재정의할 수 있다. 이것은 도 32A 및 32B에 도시되어 있다. 예컨대, 도 30A의 인터페이스 Interface1이 3개의 파라미터, 즉 입력, 정확도 및 출력을 포함하고 제1 코드 세그먼트에서 제2 코드 세그먼트로 발행되는 호출인 함수 호출 Square(input, precision, output)를 포함하는 것으로 가정한다. 도 32A에 도시된 바와 같이, 중간 파라미터인 정확도가 주어진 시나리오에서 중요하지 않은 경우, 이 파라미터는 무시되거나, (이 상황에서) 의미 없는 파라미터로 대체될 수도 있다. 또한, 중요하지 않은 추가 파라미터를 추가할 수도 있다. 어느 경우에나, 입력이 제2 코드 세그먼트에 의해 제곱된 후 출력이 리턴되는 한 제곱의 기능은 달성될 수 있다. 정확도는 매우 양호하게 컴퓨팅 시스템의 소정의 다운스트림 또는 다른 부분에 의미 있는 파라미터일 수 있으나, 정확도가 제곱을 계산하는 좁은 목적에 필요하지 않은 것으로 인식되면, 정확도는 대체되거나 무시될 수 있다. 예컨대, 유효한 정확도 값을 전달하는 대신, 생일과 같은 의미 없는 값이 결과에 악영향을 미치지 않고 전달될 수 있다. 마찬가지로, 도 32B에 도시된 바와 같이, 인터페이스 I1은 파라미터를 무시하거나 인터페이스에 추가하도록 재정의된 인터페이스 I1'로 대체된다. 인터페이스 I2는 마찬가지로 불필요한 파라미터, 또는 그 밖의 곳에서 처리될 수 있는 파라미터를 무시하도록 재정의된 인터페이스 I2'로 재정의될 수 있다. 여기서 요점은 몇몇 경우에 프로그래밍 인터페이스가 소정의 목적에 필요하지 않은 파라미터들과 같은 양태들을 포함할 수 있으며, 따라서 이들은 무시 또는 재정의되거나, 다른 목적을 위해 그 밖의 다른 곳에서 처리될 수 있다는 점이다. Override : In some cases, one may ignore, add, or redefine certain aspects (eg, parameters) of the programming interface while still achieving the intended result. This is shown in Figures 32A and 32B. For example, assume that interface Interface1 of FIG. 30A includes a function call Square (input, precision, output), which is a call that includes three parameters: input, accuracy, and output and is issued from the first code segment to the second code segment. do. As shown in FIG. 32A, if the intermediate parameter accuracy is not important in a given scenario, this parameter may be ignored or replaced with a meaningless parameter (in this situation). It is also possible to add additional parameters that are not important. In either case, the square function can be achieved as long as the output is returned after the input is squared by the second code segment. Accuracy may very well be a meaningful parameter to any downstream or other portion of the computing system, but if it is recognized that accuracy is not needed for the narrow purpose of calculating the square, accuracy may be replaced or ignored. For example, instead of delivering a valid accuracy value, meaningless values, such as birthdays, can be delivered without adversely affecting the results. Similarly, as shown in FIG. 32B, interface I1 is replaced with interface I1 'redefined to ignore or add parameters to the interface. Interface I2 can likewise be overridden with interface I2 'redefined to ignore unnecessary parameters, or parameters that can be handled elsewhere. The point here is that in some cases the programming interface may include aspects such as parameters that are not needed for a given purpose, so that they may be ignored or redefined or otherwise processed for other purposes.

인라인 코딩: 2개의 개별 코드 모듈의 기능의 일부 또는 전부를 병합하여 이들 사이의 인터페이스가 형태를 변경하도록 하는 것이 가능하다. 예컨대, 도 30A 및 30B의 기능은 각각 도 33A 및 33B의 기능으로 변환될 수 있다. 도 33A에서, 도 30A의 이전 제1 및 제2 코드 세그먼트들은 이들 양자를 포함하는 모듈로 병합된다. 이 경우, 코드 세그먼트들은 여전히 서로 통신할 수 있지만, 인터페이스는 단일 모듈에 보다 적절한 형태로 적응될 수 있다. 따라서, 예를 들면, 정형적인 호출 및 리턴 명령문이 더 이상 필요하지 않을 수 있지만, 인터페이스 Interface1에 따르는 유사한 처리 또는 응답이 여전히 실행될 수 있다. 마찬가지로, 도 33B에 도시된 바와 같이, 도 30B로부터의 인터페이스 I2의 일부(또는 전부)는 인터페이스 I1 내에 인라인으로 작성되어 인터페이스 I1'가 형성될 수 있다. 도시된 바와 같이, 인터페이스 I2는 I2a 및 I2b로 분할되며, 인터페이스 부분 I2a는 인터페이스 I1과 함께 인라인 코딩되어 인터페이스 I1''이 형성된다. 구체적인 예로서, 도 30B로부터의 인터페이스 I1이, 인터페이스 I2에 의해 수신되고 제2 코드 세그먼트에 의해 입력으로 전달된 값을 처리한 후(입력 값을 제곱함) 제곱된 결과를 출력으로 전달하는 함수 호출 square(input, output)을 수행하는 것으로 가정한다. 이 경우, 제2 코드 세그먼트에 의해 수행되는 처리(입력 제곱)는 인터페이스로의 호출 없이 제1 코드 세그먼트에 의해 수행될 수 있다. Inline coding : It is possible to merge some or all of the functionality of two separate code modules so that the interface between them changes shape. For example, the functionality of FIGS. 30A and 30B may be converted to the functionality of FIGS. 33A and 33B, respectively. In FIG. 33A, the previous first and second code segments of FIG. 30A are merged into a module that includes both. In this case, the code segments can still communicate with each other, but the interface can be adapted to a more suitable form for a single module. Thus, for example, formal call and return statements may no longer be needed, but similar processing or responses according to interface Interface1 may still be executed. Similarly, as shown in FIG. 33B, some (or all) of interface I2 from FIG. 30B may be written inline within interface I1 to form interface I1 ′. As shown, interface I2 is divided into I2a and I2b, and interface portion I2a is inline coded with interface I1 to form interface I1 ''. As a specific example, a function call that interface I1 from FIG. 30B processes the value received by interface I2 and passed as input by the second code segment (squares the input value) and passes the squared result to the output. Assume you do square (input, output). In this case, the processing performed by the second code segment (input squared) may be performed by the first code segment without a call to the interface.

분리: 하나의 코드 세그먼트에서 다른 코드 세그먼트로의 통신은 통신을 다수의 개별 통신으로 분리함으로써 간접적으로 달성될 수 있다. 이것은 도 34A 및 34B에 개략 도시되어 있다. 도 34A에 도시된 바와 같이, 하나 이상의 미들웨어(오리지날 인터페이스로부터 기능 및/또는 인터페이스 기능들을 분리하므로 분리 인터페이스)가 제1 인터페이스 Interface1 상의 통신들을 변환하여 이들이 상이한 인터페이스, 이 경우 인터페이스 Interface2A, Interface2B 및 Interface2C를 따르도록 하기 위해 제공된다. 이것은 예를 들어 인터페이스1 프로토콜에 따라 예컨대 운영 체제와 통신하도록 설계된 설치 기반 애플리케이션들이 존재하지만, 이후 운영 체제이 상이한 인터페이스, 이 경우 인터페이스 Interface2A, Interface2B 및 Interface2C를 사용하도록 변경된 경우에 행해질 수 있다. 요점은, 제2 코드 세그먼트에 의해 사용되는 오리지날 인터페이스가 변경되어, 제1 코드 세그먼트에 의해 사용되는 인터페이스와 더 이상 호환이 되지 않으며, 따라서 신구 인터페이스들을 호환 가능하게 하기 위해 매개물이 사용된다는 점이다. 마찬가지로, 도 34B에 도시된 바와 같이, 인터페이스 I1로부터 통신을 수신하는 분리 인터페이스 DI1 및 인터페이스 기능을 예컨대 인터페이스 I2a 및 I2b로 전송하는 분리 인터페이스 DI2를 구비한 제3 코드 세그먼트가 도입될 수 있는데, I2a 및 I2b는 DI2와 함께 동작하도록 재설계되지만 동일한 기능적 결과를 제공한다. 마찬가지로, DI1 및 DI2는 동일하거나 유사한 기능적 결과를 제공하면서 도 30B의 인터페이스 I1 및 I2의 기능을 새로운 운영 체제으로 전달하도록 함께 동작할 수 있다. Separation : Communication from one code segment to another can be achieved indirectly by separating the communication into multiple individual communications. This is shown schematically in FIGS. 34A and 34B. As shown in FIG. 34A, one or more middleware (separated interface since it separates functions and / or interface functions from the original interface) converts communications on the first interface Interface1 so that they can be replaced with different interfaces, in this case Interface Interface2A, Interface2B and Interface2C Provided for compliance. This may be done, for example, if there are installation-based applications designed to communicate with the operating system, for example according to the Interface 1 protocol, but then the operating system is changed to use a different interface, in this case interfaces Interface2A, Interface2B and Interface2C. The point is that the original interface used by the second code segment has been changed so that it is no longer compatible with the interface used by the first code segment, and therefore the medium is used to make the old and new interfaces compatible. Similarly, as shown in FIG. 34B, a third code segment may be introduced with a split interface DI1 that receives communications from interface I1 and a split interface DI2 that transfers interface functions, for example, to interfaces I2a and I2b. I2b is redesigned to work with DI2 but provides the same functional results. Likewise, DI1 and DI2 can work together to deliver the functionality of interfaces I1 and I2 of FIG. 30B to a new operating system while providing the same or similar functional results.

재작성: 또 하나의 가능한 변형은 코드를 동적으로 재작성하여 인터페이스 기능을, 동일한 전체 결과를 달성하는 그 외의 다른 것으로 대체하는 것이다. 예컨대, 중간 언어로 표현된 코드 세그먼트가 실행 환경(예컨대, 네트 프레임워크, 자바 실행시간 환경 또는 다른 유사한 실행시간 타입 환경에 의해 제공됨)에서 JIT(Just-in-Time) 컴파일러 또는 인터프리터로 제공되는 시스템이 존재할 수 있다. JIT 컴파일러는 제1 코드 세그먼트에서 제2 코드 세그먼트로 통신들을 동적으로 변환하도록, 즉 이들 통신을 제2 코드 세그먼트(오리지날 또는 다른 제2 코드 세그먼트)에 의해 요구될 수 있는 바와 같이 상이한 인터페이스에 따르도록 하기 위해 재작성될 수 있다. 이것은 도 35A 및 35B에 도시되어 있다. 도 35A에 도시된 바와 같이, 이러한 접근법은 전술한 분리 시나리오와 유사하다. 이것은 예컨대 설치 기반 애플리케이션들이 Interface1 프로토콜에 따라 운영 체제와 통신하도록 설계되지만, 이후 운영 체제이 상이한 인터페이스를 사용하도록 변경되는 경우에 행해질 수 있다. JIT 컴파일러는 통신들이 설치 기반 애플리케이션들에서 운영 체제의 새로운 인터페이스로 온더플라이로 따르도록 하기 위해 사용될 수 있다. 도 35B에 도시된 바와 같이, 인터페이스를 동적으로 재작성하는 이러한 접근법은 인터페이스를 동적으로 인수 분해하거나 변경하기 위해 적용될 수도 있다. Rewrite : Another possible variant is to dynamically rewrite the code to replace the interface functionality with something else that achieves the same overall result. For example, a system in which a code segment expressed in an intermediate language is provided to a just-in-time compiler or interpreter in a runtime environment (eg, provided by a network framework, a Java runtime environment, or other similar runtime type environment). This may exist. The JIT compiler dynamically converts communications from the first code segment to the second code segment, i.e., to conform these communications to different interfaces as may be required by the second code segment (original or other second code segment). Can be rewritten to This is shown in Figures 35A and 35B. As shown in Figure 35A, this approach is similar to the separation scenario described above. This can be done, for example, if the installation based applications are designed to communicate with the operating system according to the Interface1 protocol, but then the operating system is changed to use a different interface. The JIT compiler can be used to allow communications to follow on-the-fly to the new interface of the operating system in install-based applications. As shown in FIG. 35B, this approach of dynamically rewriting an interface may be applied to dynamically factor or change the interface.

대체 실시예들을 통해 인터페이스와 동일하거나 유사한 결과를 달성하는 전술한 시나리오들은 또한 다양한 방법으로, 직렬 및/또는 병렬로, 또는 다른 중재 코드와 함께 조합될 수 있다는 점에 유의해야 한다. 따라서, 전술한 대체 실시예들은 서로 배타적이지 않고, 혼합, 매칭 및 조합되어, 도 30A 및 30B에 제공된 일반 시나리오와 동일하거나 동등한 시나리오를 생성할 수 있다. 또한, 대부분의 프로그래밍 구조에서와 같이, 본 명세서에는 설명되지 않을 수 있지만 본 발명의 사상 및 범위에 의해 표현되는 인터페이스의 동일 또는 유사 기능을 달성하는 다른 유사한 방법들이 존재함에 유의해야 하는데, 즉 이것은 적어도 부분적으로 인터페이스의 값의 기초가 되는 인터페이스에 의해 표현되는 기능, 및 인터페이스에 의해 가능하게 되는 이로운 결과들이라는 점에 유의한다. It should be noted that the above-described scenarios, which achieve the same or similar results as the interface through alternative embodiments, may also be combined in various ways, serially and / or in parallel, or with other arbitration code. Thus, the alternative embodiments described above are not mutually exclusive and can be mixed, matched, and combined to create a scenario that is the same as or equivalent to the general scenario provided in FIGS. 30A and 30B. It should also be noted that, as with most programming structures, there are other similar ways of achieving the same or similar functionality of the interface, which may not be described herein but represented by the spirit and scope of the present invention, that is, at least Note that the functions are represented in part by the interface on which the value of the interface is based, and the beneficial results made possible by the interface.

III. 동기화 APIIII. Sync API

동기화에 대한 여러 접근법은 항목 기반 하드웨어/소프트웨어 인터페이스 시스템에서 가능하다. 섹션 A는 본 발명의 여러 실시예를 개시하며, 섹션 B는 동기화를 위한 API의 다양한 실시예에 초점을 둔다.Several approaches to synchronization are possible with item-based hardware / software interface systems. Section A discloses several embodiments of the present invention, and Section B focuses on various embodiments of APIs for synchronization.

A. 동기화 개요A. Synchronization Overview

본 발명의 여러 실시예에서, 그리고 도 3과 관련하여, 저장 플랫폼은 (i) 저장 플랫폼의 다수의 인스턴스(각각 그 자신의 데이터 저장소(302)를 가짐)가 융통성 있는 규칙 세트에 따라 그들의 콘텐츠의 부분들을 동기화시키는 것을 허용하고, (ii) 제3자가 본 발명의 저장 플랫폼의 데이터 저장소를 독점 프로토콜을 구현하는 다른 데이터 소스와 동기화하기 위한 기반 구조를 제공하는 동기화 서비스(330)를 제공한다.In various embodiments of the present invention, and in connection with FIG. 3, the storage platform may be configured such that (i) multiple instances of the storage platform, each having its own data store 302, of their content in accordance with a flexible set of rules. Provide a synchronization service 330 that allows for synchronizing portions and (ii) 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 a group of participating "copyings". 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개의 변경이 언제 서로 충돌하는지를 판정하고,Determining 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 started by a message sent by the synchronization service from the starting machine. The synchronization service responds based on persistent configuration information (see mapping below) present on the reaching machine. 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 machines 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.

스키마에 변경 단위를 표시하는 것은 여러 목적을 갖는다. 먼저, 이것은 동기화 서비스가 유선 상에서 얼마나 기탄없는지를 판정한다. 변경 단위 내에서 변경이 행해질 때, 전체 변경 단위는 다른 사본들로 전송되는데, 이는 동기화 서비스가 변경 단위의 어느 부분이 변경되었는지를 알지 못하기 때문이다. 둘째, 이것은 충돌 검출의 입도를 결정한다. 2개의 동시 변경(이 용어는 후속 섹션에서 상세히 정의된다)이 동일 변경 단위에 대해 행해질 때, 동기화 서비스는 충돌을 일으키는 반면, 동시 변경이 상이한 변경 단위들에 대해 행해지는 경우에는 충돌이 발생하지 않고, 변경들은 자동으로 병합된다. 셋째, 이것은 시스템에 의해 유지되는 메타데이터의 양에 강한 영향을 미친다. 동기화 서비스 메타데이터의 많은 부분은 변경 단위에 대해 유지되며, 따라서 변경 단위들이 동기화의 오버헤드를 보다 적게 증가 시키게 된다.Displaying change units in a schema has several purposes. First, it determines how empty 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 112005035592845-PCT00018
Figure 112005035592845-PCT00018

Figure 112005035592845-PCT00019
Figure 112005035592845-PCT00019

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 machines. 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-synchronization service supports transmission only, reception only, and transmission-receive synchronization.

ㆍ 로컬 필터-어떤 로컬 정보가 원격 파트너에게 전송될지를 선택한다. 로컬 폴더에 대한 저장 플랫폼 질의로서 표현된다.Local Filter-Select which local information is to 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.

ㆍ 변환-로컬 포맷에 대해 어떻게 항목을 변환할지를 정의한다. • Define how to convert items for the conversion-local format.

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

ㆍ 충돌 해결 정책-충돌이 거부, 로그 또는 자동 해결되어야 하는지를 지정한다. 후자의 경우, 어느 충돌 해결자를 이용할지는 물론 그에 대한 구성 파라미 터를 지정한다.Conflict Resolution Policy-Specify whether conflicts 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 customer 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: Select Winner in a way that ensures that it is otherwise meaningless on all copies, and in one embodiment of the synchronization service implements this functionality using preedit comparisons of partner IDs.

또한, 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 the 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 to 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 an architecture 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.

그 명칭에도 불구하고, 동기화 어댑터는 소정의 저장 플랫폼 아키텍처 내로의 플러그-인으로서 구현될 필요는 없다. 원할 경우, "동기 어댑터"는 단지 동기화 서비스 실행시간 인터페이스를 이용하여 변경 열거 및 적용과 같은 서비스를 얻는 임의의 애플리케이션일 수 있다.Despite its name, the synchronization adapter does not need to be implemented as a plug-in into any storage platform architecture. 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

동기화 서비스는 다수의 동기화 서비스를 어댑터 작성자에게 제공한다. 이 섹션의 나머지에서는 저장 플랫폼이 동기화를 행하고 있는 머신을 "클라이언트"로, 어댑터가 대화하고 있는 비저장 플랫폼 백엔드를 "서버"로 지칭하는 것이 편리하다. The synchronization service provides a number of synchronization services to the adapter creator. In the remainder of this section, it is convenient to refer to the machine with which the storage platform is synchronizing 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

변경 적용은 동기화 어댑터들이 그들의 백엔드로부터 수신되는 변경들을 로컬 저장 플랫폼에 적용하는 것을 허용한다. 어댑터들은 변경들을 저장 플랫폼 스키마로 변환할 것으로 예상된다. 도 24는 저장 플랫폼 API 클래스들이 저장 플랫폼 스키마로부터 생성되는 프로세스를 나타낸다.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. 24 illustrates a process in which storage platform API classes are generated from a 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 adapters use change application, they must specify the anchor 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) is also available to synchronization adapters. Synchronization adapters can specify a policy for conflict resolution when applying changes. If specified, conflicts can be passed to the designated 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 a runtime interface, 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

사본들의 분산 공동체의 모니터링은 복잡한 문제이다. 동기화 서비스는 사본들의 상태에 대한 정보를 수집하고 분배하기 위해 "스위프" 알고리즘을 사용할 수 있다. 스위프 알고리즘의 속성들은 구성된 모든 사본들에 대한 정보가 결국 수집되고, 실패(무응답) 사본들이 검출되는 것을 보장한다. Monitoring the distributed community of manuscripts 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. Monitoring tools 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.

B. 동기화 API 개요B. Synchronization API Overview

점차 분산되는 디지털 세계에서, 개인 및 작업 그룹은 종종 다양한 상이한 장치 및 위치에 정보 및 데이터를 저장한다. 이것은 분리되고, 종종 상이하고, 항상 동기화되는 데이터 저장소들에 정보를 최소한의 사용자 중재로 유지할 수 있는 데이터 동기화 서비스의 개발을 지원해왔다. In an increasingly distributed digital world, individuals and work groups often store information and data on a variety of different devices and locations. This has supported the development of data synchronization services that can maintain information with minimal user intervention in separate, often different and always synchronized data stores.

본 명세서의 섹션 II에 설명된 풍부한 저장 플랫폼(a.k.a, "WinFS)의 일부인 본 발명의 동기화 플랫폼은 다음의 3가지 주요 대상을 다룬다.The synchronization platform of the present invention, which is part of the rich storage platform (a.k.a, " WinFS) described in section II of this specification, deals with the following three main objects.

ㆍ 애플리케이션 및 서비스가 상이한 "WinFS" 저장소들 사이에서 데이터를 동기화하는 것을 허용한다.Allow applications and services to synchronize data between different "WinFS" repositories.

ㆍ 개발자들이 "WinFS" 및 non-"WinFS" 저장소들 사이에서 데이터를 동기화하기 위한 풍부한 솔루션을 구축하는 것을 가능하게 한다.Enable developers to build rich solutions for synchronizing data between "WinFS" and non- "WinFS" repositories.

ㆍ 개발자들에게 동기화 사용자 경험을 주문화하기 위한 적절한 인터페이스를 제공한다. • Provide developers with a suitable interface for customizing a synchronized user experience.

1. 일반 용어법1. General Terminology

후술하는 섹션 III.B의 설명에 관한 보다 세련된 몇몇 정의 및 주요 개념은 다음과 같다.Some of the more refined definitions and key concepts related to the description in Section III.B below are as follows.

동기화 사본: 대부분의 애플리케이션은 WinFS 저장소 내의 항목들의 소정의 서브세트에 대한 변경을 추적, 열거 및 동기화하는 데에만 관련이 있다. 동기화 동작에 참여하는 항목들의 세트는 동기화 사본이라 한다. 사본은 주어진 WinFS 포함 계층 구조(대개 폴더 항목을 루트로 함) 내에 포함된 항목들로 정의된다. 모든 동기화 서비스는 주어진 사본과 관련하여 수행된다. WinFS 동기화는 사본들을 정의, 관리 및 제거하는 메커니즘을 제공한다. 모든 사본은 주어진 WinFS 저장소 내에서 자신을 고유하게 식별하는 GUID 식별자를 갖는다.Synchronized copy: Most applications are only concerned with tracking, enumerating, and synchronizing changes to a given subset of items in the WinFS repository. The set of items participating in the synchronization operation is called a synchronization copy. A copy is defined as items contained within a given WinFS containment hierarchy (usually rooted at folder items). All synchronization services are performed in relation to a given copy. WinFS synchronization provides a mechanism for defining, managing, and removing copies. Every copy has a GUID identifier that uniquely identifies it within a given WinFS repository.

동기화 파트너: 동기화 파트너는 WinFS 항목, 확장 및 관계 상에서 변경에 영향을 줄 수 있는 엔티티로서 정의된다. 따라서, 모든 WinFS 저장소는 동기 파트너라고 할 수 있다. non-WinFS 저장소와 동기화될 때, 외부 데이터 저장소(EDS)도 동기 파트너라고 할 수 있다. 모든 파트너는 자신을 고유하게 식별하는 GUID 식별자를 갖는다.Synchronization Partners: Synchronization partners are defined as entities that can affect changes in WinFS items, extensions, and relationships. Thus, all WinFS repositories are synchronous partners. When synchronized with non-WinFS storage, external data storage (EDS) is also a synchronous partner. Every partner has a GUID identifier that uniquely identifies it.

동기화 공동체: 동기화 공동체는 피어 대 피어 동기화 동작에 의한 동기화시에 유지되는 사본들의 집합으로서 정의된다. 이들 사본은 모두 동일한 WinFS 저장소, 상이한 WinFS 저장소, 또는 심지어 non-WinFS 저장소 상의 가상 사본들인 목록 자체에 있을 수 있다. WinFS 동기화는, 특히 공동체 내의 동기화 동작들만이 WinFS 동기화 서비스(WinFS 어댑터)를 통하는 경우에는 공동체에 대한 임의의 특정 토폴로지를 규정하거나 지정하지 않는다. 동기화 어댑터들(아래에 정의됨)은 그들 자신의 토폴로지 제한을 도입할 수 있다.Synchronization Community: A synchronization community is defined as a collection of copies that are maintained during synchronization by peer-to-peer synchronization operations. These copies can all be in the list itself, which is virtual copies on the same WinFS repository, different WinFS stores, or even non-WinFS stores. WinFS synchronization does not prescribe or specify any particular topology for the community, especially if only synchronization operations within the community are through the WinFS synchronization service (WinFS adapter). Synchronization adapters (defined below) may introduce their own topology constraints.

변경 추적, 변경 단위 및 버젼: 모든 WinFS 저장소는 모든 로컬 WinFS 항목, 확장 및 관계에 대한 변경을 추적한다. 변경은 스키마에 정의된 변경 단위 입도의 레벨에서 추적된다. 임의의 항목, 확장 및 관계 타입의 최상위 레벨 필드들은 스키마 설계자에 의해 변경 단위로 세분될 수 있는데, 최소 입도가 하나의 최상위 레벨 필드가 된다. 변경 추적을 위해, 모든 변경 단위에는 버젼이 할당되며, 버젼은 동기화 파트너 id 및 버젼 번호의 쌍이다(버젼 번호는 파트너 특정 단조 증가 번호이다). 버젼들은 변경이 저장소에서 로컬하게 발생하거나 변경이 다른 사본으로부터 얻어질 때 갱신된다. Change Tracking, Change Units and Versions: All WinFS repositories track changes to all local WinFS entries, extensions, and relationships. Changes are tracked at the level of change unit granularity defined in the schema. Top level fields of any item, extension, and relationship type can be broken down into units of change by the schema designer, with a minimum granularity of one top level field. For change tracking, every change unit is assigned a version, which is a pair of synchronization partner id and version number (the version number is the partner specific monotonic increment number). The versions are updated when the change occurs locally in the repository or when the change is obtained from another copy.

동기화 지식: 지식은 임의의 시간에 주어진 동기화 사본의 상태를 나타내는데, 즉 주어진 사본이 로컬하게 또는 다른 사본들로부터 인식하는 모든 변경에 대한 메타데이터를 캡슐화한다. WinFS 동기화는 동기화 동작들에서 동기화 사본들에 대한 지식을 유지하고 갱신한다. 중요한 유의점은 지식 표현이 지식이 저장되어 있는 특정 사본에 대해서가 아니라 전체 공동체에 관하여 해석되는 것을 허용한다 는 점이다. Synchronization knowledge: Knowledge represents the state of a given synchronization copy at any time, ie, encapsulates metadata for all changes that a given copy recognizes locally or from other copies. WinFS synchronization maintains and updates knowledge of synchronization copies in synchronization operations. An important note is that knowledge representations are allowed to be interpreted in relation to the entire community, not to the specific copy in which the knowledge is stored.

동기화 어댑터: 동기화 어댑터는 동기화 실행시간 API를 통해 WinFS 동기화 서비스에 액세스하고 WinFS 데이터의 non-WinFS 데이터 저장소에 대한 동기화를 가능하게 하는 관리형 코드 애플리케이션이다. 시나리오의 요건에 따라, WinFS 데이터의 어느 서브세트가, 그리고 어떤 WinFS 데이터 타입들이 동기화되어야 하는지에 관해서는 어댑터 개발자에게 맡겨진다. 어댑터는 EDS와의 통신, WinFS 스키마의 EDS 지원 스키마로의/로부터의 변환, 및 그 자신의 구성 및 메타데이터의 관리를 담당한다. 어댑터는 일반 구성을 이용하여 WinFS 동기화 팀에 의해 제공되는 어댑터들에 대한 기반 구조를 제어할 수 있게 WinFS 동기화 어댑터 API를 구현하도록 강하게 권장된다. 보다 상세한 것은 WinFS 동기화 어댑터 API[SADP] 사양 및 WinFS 동기화 제어기 API[SCTRL] 사양을 참조한다.Synchronization adapter: The synchronization adapter is a managed code application that accesses the WinFS synchronization service through the synchronization runtime API and enables synchronization of non-WinFS data stores of WinFS data. Depending on the requirements of the scenario, it is up to the adapter developer which subset of the WinFS data and which WinFS data types should be synchronized. The adapter is responsible for communicating with the EDS, converting the WinFS schema to and from the EDS supported schema, and managing its own configuration and metadata. Adapters are strongly encouraged to implement the WinFS Synchronization Adapter API to use a generic configuration to control the infrastructure for adapters provided by the WinFS synchronization team. See the WinFS Synchronization Adapter API [SADP] specification and the WinFS Synchronization Controller API [SCTRL] specification for more details.

WinFS 데이터를 외부 non-WinFS 저장소에 동기화하고 WinFS 포맷의 지식을 생성하거나 유지할 수 없는 어댑터들에 대해, WinFS 동기화는 후속 변경 열거 또는 적용 동작에 사용될 수 있는 원격 지식을 얻기 위한 서비스를 제공한다. 백엔드 저장소의 능력에 따라, 어댑터는 원격 지식을 백엔드 상에 또는 로컬 WinFS 저장소 상에 저장하기를 원할 수 있다.For adapters that synchronize WinFS data to an external non-WinFS repository and cannot generate or maintain knowledge of the WinFS format, WinFS synchronization provides a service for gaining remote knowledge that can be used for subsequent change enumeration or apply operations. Depending on the capabilities of the back end repository, the adapter may want to store remote knowledge on the back end or on a local WinFS repository.

간략화를 위해, 동기화 "사본"은 단일 논리 위치에 존재하는 "WinFS" 저장소 내의 한 세트의 데이터를 표현하는 구조인 반면, non-"WinFS" 저장소 상의 데이터는 "데이터 소스"라고 하며, 일반적으로 어댑터의 사용을 필요로 한다. For simplicity, a synchronization "copy" is a structure that represents a set of data in a "WinFS" store that exists in a single logical location, while data on a non- "WinFS" store is called a "data source" and is typically an adapter. Requires the use of

원격 지식: 주어진 동기화 사본이 다른 사본으로부터 변경을 얻기를 원할 때 , 이 사본은 그 자신의 지식을 다른 사본이 변경들을 열거하는 기준선으로서 제공한다. 마찬가지로, 주어진 사본이 다른 사본으로 변경을 전송하기를 원할 때, 이 사본은 그 자신의 지식을 충돌을 검출하기 위해 다른 사본에 의해 사용될 수 있는 기준선으로서 제공한다. 동기 변경 열거 및 적용 동안 제공되는 이러한 다른 사본에 대한 지식은 원격 지식이라 한다.Remote knowledge: When a given synchronized copy wants to get changes from another copy, this copy provides its own knowledge as a baseline where the other copy lists the changes. Similarly, when a given copy wants to transfer changes to another copy, this copy provides its own knowledge as a baseline that can be used by another copy to detect conflicts. Knowledge of these other copies provided during synchronous change enumeration and application is referred to as remote knowledge.

2. 동기화 API 원리2. Synchronization API Principle

소정의 실시예에서, 동기화 API는 2개의 부분, 즉 동기화 구성 API 및 동기화 제어기 API로 분리된다. 동기화 구성 API는 애플리케이션이 동기화를 구성하고 2개의 사본 사이의 특정 동기화 세션에 대한 파라미터들을 지정할 수 있게 한다. 주어진 동기화 세션에 대해, 구성 파라미터들은 동기화될 항목들의 세트, 동기화의 타입(일방향 또는 양방향), 원격 데이터 저장소에 대한 정보 및 충돌 해결 정책을 포함한다. 동기화 제어기 API는 동기화 세션을 개시하고, 동기화를 취소하며, 진행중인 동기화에 대한 진행 및 에러 정보를 수신한다. 더욱이, 동기화가 미리 정해진 스케쥴에 따라 수행될 필요가 있는 특정 실시예에서, 이러한 시스템은 스케쥴링을 주문화하기 위한 스케쥴링 메커니즘을 포함할 수 있다.In certain embodiments, the synchronization API is divided into two parts, the synchronization configuration API and the synchronization controller API. The Synchronization Configuration API allows an application to configure synchronization and specify parameters for a particular synchronization session between two copies. For a given synchronization session, the configuration parameters include the set of items to be synchronized, the type of synchronization (one-way or two-way), information about the remote data store, and conflict resolution policy. The synchronization controller API initiates a synchronization session, cancels the synchronization, and receives progress and error information about the ongoing synchronization. Moreover, in certain embodiments where synchronization needs to be performed according to a predetermined schedule, such a system may include a scheduling mechanism to customize the scheduling.

본 발명의 여러 실시예는 "WinFS" 및 non-"WinFS" 데이터 소스들 사이에서 정보를 동기화하기 위해 동기화 어댑터를 사용한다. 어댑터의 예는 "WinFS" 연락 폴더 및 non-WinFS 메일박스 사이에서 어드레스 북 정보를 동기화하는 어댑터를 포함한다. 이 예에서, 어댑터 개발자는 "WinFS" 스키마와 non-"WinFS" 데이터 소스 스키마 사이의 스키마 변환 코드를 개발하기 위하여 "WinFS" 동기화 플랫폼에 의해 제공되는 서비스에 액세스하기 위하여 본 명세서에서 설명되는 "WinFS" 동기화 코어 서비스 API를 사용할 수 있다. 또한, 어댑터 개발자는 변경들을 non-WinFS 데이터 소스와 통신하기 위한 프로토콜 지원을 제공한다. 동기화 어댑터는 동기화 제어기 API를 사용하여 호출되고 제어되며, 이 API를 이용하여 진행 및 에러를 보고한다.Various embodiments of the present invention use a synchronization adapter to synchronize information between "WinFS" and non- "WinFS" data sources. Examples of adapters include adapters that synchronize address book information between "WinFS" contact folders and non-WinFS mailboxes. In this example, an adapter developer may use the "WinFS" described herein to access the services provided by the "WinFS" synchronization platform to develop schema conversion code between a "WinFS" schema and a non- "WinFS" data source schema. "You can use the Synchronization Core Services API. Adapter developers also provide protocol support for communicating changes with non-WinFS data sources. The synchronization adapter is called and controlled using the synchronization controller API, which reports progress and errors.

그러나, 본 발명의 소정 실시예에서, WinFS 데이터 저장소를 다른 WinFS 데이터 저장소에 동기화할 때, 동기화 어댑터는 WinFS 대 WinFS 동기화 서비스가 하드웨어/소프트웨어 인터페이스 시스템 내에 통합되는 경우 필요하지 않을 수 있다. 어느 경우에나, 이러한 여러 실시예는 WinFS 대 WinFS 및 동기화 어댑터 솔루션들 양자에 대해 한 세트의 동기화 서비스를 제공하는데, 이는 다음을 포함한다. However, in some embodiments of the present invention, when synchronizing a WinFS data store to another WinFS data store, a synchronization adapter may not be required if the WinFS to WinFS synchronization service is integrated into a hardware / software interface system. In either case, these various embodiments provide a set of synchronization services for both WinFS to WinFS and synchronization adapter solutions, including the following.

ㆍ WinFS 항목, 확장 및 관계에 대한 변경의 추적Tracking changes to WinFS entries, extensions, and relationships

ㆍ 주어진 과거 상태 이후의 효율적인 증분식 변경 열거에 대한 지원Support for efficient incremental change enumeration since a given past state

ㆍ WinFS에 대한 외부 변경의 적용Applying External Changes to WinFS

ㆍ 변경 적용 동안의 충돌 처리.Conflict handling during change application.

공통 데이터 저장소의 3개의 인스턴스 및 이들을 동기화하기 위한 컴포넌트들을 나타내는 도 36을 참조한다. 제1 시스템(3602)은 WinFS 대 WinFS 동기화 서비스(3622) 및 WinFS 대 non-WinFS 동기화를 위해 동기화 API(3652)를 사용할 수 있도록 노출시키는(3646) 코어 동기화 서비스(3624)를 포함하는 WinFS 데이터 저장소(3612)를 갖는다. 제1 시스템(3602)과 유사하게, 제2 시스템(3604)은 WinFS 대 WinFS 동기화 서비스(3632) 및 WinFS 대 non-WinFS 동기화를 위해 동기 API(3652)를 이용할 수 있도록 노출시키는(3646) 코어 동기화 서비스(3634)를 포함하는 WinFS 데이터 저장소(3614)를 갖는다. 제1 시스템(3602) 및 제2 시스템(3604)은 그들 각각의 WinFS 대 WinFS 동기화 서비스(3622, 3632)를 통해 동기화된다(3642). WinFS 시스템이 아닌 제3 시스템(3606)은 WinFS 사본들을 가진 동기화 공동체 내에 데이터 소스를 유지하기 위해 WinFS 동기화를 이용하는 애플리케이션(3666)을 갖는다. 이 애플리케이션은 WinFS 대 WinFS 동기화 서비스(3622)(이것이 그 자체를 WinFS 데이터 저장소로서 가상화할 수 있는 경우) 또는 동기화 API(3652)와 인터페이스하는 동기화 어댑터(3662)를 통해 WinFS 데이터 저장소(3612)와 직접 인터페이스하는(3644) WinFS 동기화 구성/제어 서비스(3664)를 이용할 수 있다. Reference is made to FIG. 36, which shows three instances of a common data store and components for synchronizing them. The first system 3602 includes a WinFS data store including a core synchronization service 3624 that exposes (3646) the use of the synchronization API 3652 for WinFS to WinFS synchronization service 3622 and WinFS to non-WinFS synchronization. Has (3612). Similar to the first system 3602, the second system 3604 exposes (3646) core synchronization to use the Synchronization API (3652) for WinFS to WinFS synchronization service (3632) and WinFS to non-WinFS synchronization (3646). It has a WinFS data store 3614 which includes a service 3634. First system 3602 and second system 3604 are synchronized (3642) via their respective WinFS to WinFS synchronization services 3622 and 3632. A third system 3606 that is not a WinFS system has an application 3666 that uses WinFS synchronization to maintain a data source within a synchronization community with WinFS copies. This application works directly with the WinFS data store 3612 via WinFS to WinFS synchronization service 3622 (if it can virtualize itself as a WinFS data store) or through a synchronization adapter 3662 that interfaces with the synchronization API 3652. An interface 3644 may utilize the WinFS synchronization configuration / control service 3664.

이 도면에 도시된 바와 같이, 제1 시스템(3602)은 제2 시스템(3604) 및 제3 시스템(3606) 양자를 인식하고 직접 동기화된다. 그러나, 제2 시스템(3604) 및 제3 시스템(3606) 양자는 서로를 알지 못하며, 따라서 그들의 변경을 서로 직접 동기화하지 못하지만, 대신에 하나의 시스템에서 발생하는 변경은 제1 시스템(3602)을 통해 전파되어야 한다. As shown in this figure, the first system 3602 recognizes and directly synchronizes both the second system 3604 and the third system 3606. However, both the second system 3604 and the third system 3606 do not know each other and thus do not directly synchronize their changes with each other, but instead the changes that occur in one system are passed through the first system 3602. It must be spread.

C. 동기화 API 서비스C. Sync API Service

본 발명의 여러 실시예는 2개의 기본 서비스, 즉 변경 열거 및 변경 적용을 포함하는 동기화 서비스와 관련된다. Various embodiments of the present invention relate to a synchronization service comprising two basic services, namely change enumeration and change application.

1. 변경 열거1. Change enumeration

전술한 바와 같이, 변경 열거는 동기화 어댑터가 데이터 저장소 폴더에 대해 이 파트너와 최종 동기화가 시도된 이후 발생한 변경들을 동기화 서비스에 의해 유지되는 변경 추적 데이터에 기초하여 쉽게 열거하는 것을 허용한다. 변경 열거와 관련하여, 본 발명의 여러 실시예는 다음과 관련된다.As mentioned above, change enumeration allows the synchronization adapter to easily enumerate changes that have occurred since the last synchronization with this partner for the data store folder based on the change tracking data maintained by the synchronization service. Regarding change enumeration, several embodiments of the present invention relate to the following.

ㆍ 지정된 지식 인스턴스에 대해, 주어진 사본 내의 항목, 확장 및 관계에 대한 변경들의 효율적인 열거Efficient enumeration of changes to items, extensions, and relationships within a given copy, for a given knowledge instance

ㆍ WinFS 스키마에 지정된 변경 단위 입도의 레벨에서의 변경들의 열거Enumeration of changes at the level of change unit granularity specified in the WinFS schema.

ㆍ 복합 항목들에 관하여 열거된 변경들의 그룹화. 복합 항목은 항목, 모든 그의 확장, 항목에 대한 모든 유지 관계 및 그의 삽입 항목들에 대응하는 모든 복합 항목으로 구성된다. 항목들 사이의 참조 관계에 대한 변경은 개별적으로 열거된다. Grouping of changes listed with respect to compound items. A composite item consists of an item, all of its expansions, all of the maintenance relationships for the item, and all of the compound items corresponding to their insertion items. Changes to reference relationships between items are listed separately.

ㆍ 변경 열거시의 배치화. 배치의 입도는 복합 항목 또는 관계 변경(참조 관계에 대해)이다.Placement at change enumeration. The granularity of the batch is a compound item or relationship change (for a reference relationship).

ㆍ 변경 열거 동안 사본 내의 항목들에 대한 필터의 지정. 예를 들어, 사본은 주어진 폴더 내의 모든 항목으로 구성되지만, 특정 변경 열거에 대해 애플리케이션은 첫 번째 명칭이 'A'로 시작되는 모든 연락 항목들에 대한 변경만을 열거하기를 원한다(이러한 지원은 B 이정표 뒤에 추가된다).Specifying filters for items in the copy during change enumeration. For example, a copy consists of all items in a given folder, but for a specific change enumeration, the application wants to list only changes for all contact items whose first name begins with 'A' (this support is a milestone B). Is added after).

ㆍ 열거된 변경들에 대한 원격 지식을, 지식 내에 동기화에 실패한 것으로 개별 변경 단위들(또는 전체 항목, 확장 또는 관계)을 기록할 수 있는 능력과 함께 이용하여, 이들이 다음 번에 다시 열거될 수 있도록 한다.Remote knowledge of the listed changes, with the ability to record individual change units (or entire items, extensions or relationships) as failed to synchronize within the knowledge, so that they can be enumerated again next time. do.

ㆍ 변경 열거 동안 변경들과 함께 메타데이터를 리턴함으로써 WinFS 동기화 메타데이터를 이해할 수 있는 향상된 어댑터의 이용Use of enhanced adapters to understand WinFS synchronization metadata by returning metadata with changes during change enumeration

2. 변경 적용2. Apply changes

전술한 바와 같이, 변경 적용은 동기 어댑터들이 그들의 백엔드로부터 수신한 변경들을 로컬 저장 플랫폼에 적용하는 것을 허용하는데, 이는 어댑터들이 변경을 저장 플랫폼 스키마로 변환할 것으로 예상되기 때문이다. 변경 적용과 관련하여, 본 발명의 여러 실시예는 다음과 관련된다.As mentioned above, change adaptation allows synchronous adapters to apply changes received from their backend to the local storage platform because they are expected to convert the changes to the storage platform schema. Regarding the application of modifications, various embodiments of the present invention relate to the following.

ㆍ 대응하는 갱신들을 가진 다른 사본들(또는 non-WinFS 저장소)에서 WinFS 변경 메타데이터로의 증분식 변경의 적용Apply incremental changes to WinFS change metadata from other copies (or non-WinFS repositories) with corresponding updates.

ㆍ 변경 단위 입도에서의 변경 적용시의 충돌의 검출Detection of collisions when applying changes in granularity of change units

ㆍ 변경 적용시 개별 변경 단위 레벨에서의 성공, 실패 및 충돌의 보고. 이에 따라, 애플리케이션들(어댑터 및 동기화 제어 애플리케이션 포함)은 이 정보를 진행, 에러 및 상태 보고를 위해, 그리고 만일 있다면 그들의 백엔드 상태를 갱신하기 위해 사용할 수 있다. • Report successes, failures and conflicts at the level of individual change units when applying changes. Accordingly, applications (including adapters and synchronization control applications) can use this information for progress, error and status reporting, and if any, to update their backend status.

ㆍ 다음 변경 열거 동작 동안 애플리케이션 제공 변경들의 "반사"를 방지하기 위한 변경 적용 동안의 원격 지식의 갱신Update of remote knowledge during change application to prevent "reflection" of application-provided changes during the next change enumeration operation.

ㆍ 변경들과 함께 WinFS 동기화 메타데이터를 이해하고 제공할 수 있는 향상된 어댑터의 이용.• Use of improved adapters to understand and provide WinFS synchronization metadata with changes.

3 샘플 코드3 sample code

다음은 FOO 동기화 어댑터가 어떻게 동기화 실행시간과 상호작용하는지에 대한 코드 샘플이다(여기서, 모든 어댑터 특정 함수들 앞에는 FOO가 첨부된다):Here is a code sample of how the FOO sync adapter interacts with the synchronization runtime (where FOO is prefixed with all adapter-specific functions):

Figure 112005035592845-PCT00020
Figure 112005035592845-PCT00020

Figure 112005035592845-PCT00021
Figure 112005035592845-PCT00021

Figure 112005035592845-PCT00022
Figure 112005035592845-PCT00022

Figure 112005035592845-PCT00023
Figure 112005035592845-PCT00023

Figure 112005035592845-PCT00024
Figure 112005035592845-PCT00024

Figure 112005035592845-PCT00025
Figure 112005035592845-PCT00025

Figure 112005035592845-PCT00026
Figure 112005035592845-PCT00026

Figure 112005035592845-PCT00027
Figure 112005035592845-PCT00027

Figure 112005035592845-PCT00028
Figure 112005035592845-PCT00028

Figure 112005035592845-PCT00029
Figure 112005035592845-PCT00029

Figure 112005035592845-PCT00030
Figure 112005035592845-PCT00030

Figure 112005035592845-PCT00031
Figure 112005035592845-PCT00031

4. API 동기화의 방법4. Method of API Synchronization

본 발명의 일 실시예에서, WinFS 저장소와 non-WinFS 저장소 사이의 동기화는 WinFS 기반 하드웨어/소프트웨어 인터페이스 시스템에 의해 노출되는 동기화 API를 통해 달성될 수 있다. In one embodiment of the present invention, synchronization between a WinFS repository and a non-WinFS repository may be accomplished through a synchronization API exposed by a WinFS-based hardware / software interface system.

일 실시예에서, 모든 동기화 어댑터는 이들이 일관되게 전개, 초기화 및 제어될 수 있도록 동기화 어댑터 API, 공통 언어 실행시간(CLR) 관리형 API를 구현하도록 요구된다. 어댑터 API는 다음을 제공한다.In one embodiment, all synchronization adapters are required to implement a synchronization adapter API, a common language runtime (CLR) managed API so that they can be deployed, initialized and controlled consistently. The adapter API provides the following:

ㆍ 어댑터를 하드웨어/소프트웨어 인터페이스 시스템 동기화 프레임워크에 등록하기 위한 표준 메커니즘Standard mechanism for registering adapters to hardware / software interface system synchronization framework

ㆍ 어댑터들이 그들의 능력 및 어댑터를 초기화하는 데 필요한 구성 정보의 타입을 선언할 수 있는 표준 메커니즘A standard mechanism by which adapters can declare their capabilities and the type of configuration information needed to initialize the adapter.

ㆍ 초기화 정보를 어댑터에 전달하기 위한 표준 메커니즘Standard mechanism for passing initialization information to the adapter

ㆍ 어댑터들이 동기화를 호출하는 애플리케이션으로 진행 상태를 보고하기 위한 메커니즘 Mechanisms for reporting progress to applications in which adapters invoke synchronization

ㆍ 동기화 동안 발생하는 임의의 에러를 보고하기 위한 메커니즘Mechanism for reporting any errors that occur during synchronization

ㆍ 진행중인 동기화 동작의 최소를 요구하기 위한 메커니즘A mechanism for requiring a minimum of ongoing synchronization operations

시나리오의 요건에 따라 어댑터에 대한 2가지 잠재적인 프로세스 모델이 있다. 어댑터는 그를 호출하는 애플리케이션과 동일한 프로세스 공간에서 또는 개별 프로세스에서 단독으로 실행될 수 있다. 그 자신의 개별 프로세스에서 실행되기 위해, 어댑터는 자신을 인스턴스화하는 데 사용되는 그 자신의 팩토리 클래스를 정의한다. 팩토리는 호출 애플리케이션과 동일한 프로세스에서 어댑터의 인스턴스를 리턴하거나, 다른 마이크로소프트 공통 언어 실행시간 애플리케이션 도메인 또는 프로세스에서 어댑터의 원격 인스턴스를 리턴할 수 있다. 동일 프로세스에서 어댑터를 인스턴스화하는 디폴트 팩토리 구현이 제공된다. 실제로, 많은 어댑터는 호출 애플리케이션과 동일한 프로세스에서 실행된다. 프로세스 모델의 아웃은 대개 다음 이유 중 하나 또는 두가지 이유로 필요하다.There are two potential process models for adapters depending on the requirements of the scenario. The adapter can run alone in the same process space as the application that calls it or in a separate process. To run in its own separate process, the adapter defines its own factory class that is used to instantiate itself. The factory can return an instance of the adapter in the same process as the calling application, or a remote instance of the adapter in another Microsoft common language runtime application domain or process. A default factory implementation is provided that instantiates the adapter in the same process. In fact, many adapters run in the same process as the calling application. Out of the process model is usually needed for one or two reasons:

ㆍ 보안 목적. 어댑터는 소정의 프로세스 또는 서비스의 프로세스 공간에서 실행되어야 한다.Security purpose. The adapter must run in the process space of a given process or service.

ㆍ 어댑터는 호출 애플리케이션으로부터의 요구를 처리하는 것에 더하여 다른 소스로부터의 요구, 예를 들어 들어오는 네트워크 요구를 처리해야 한다. The adapter must handle requests from other sources, for example incoming network requests, in addition to handling requests from the calling application.

도 37을 참조하면, 본 발명의 일 실시예는 상태가 어떻게 계산되는지, 또는 그와 관련된 메타데이터가 어떻게 교환되는지를 알지 못하는 단순한 어댑터를 가정한다. 이 실시예에서, 동기화는 사본에 의해, 이 사본이 동기화하기를 원하는 데이터 소스와 관련하여, 먼저 단계 3702에서 사본이 상기 데이터 소스와 최종 동기화된 후 어떠한 변경이 발생했는지를 검출함으로써 달성되며, 이후 사본은 최종 동기화 이후에 발생한 증분식 변경을 그의 현재 상태 정보에 기초하여 전송하며, 이 현재 상태 정보 및 증분식 변경은 어댑터를 통해 데이터 소스로 전송된다. 단계 3704에서, 어댑터는 이전 단계에서 사본으로부터 변경 데이터를 수신한 때 가능한 한 데이터 소스에 대한 많은 변경을 행하고, 어느 변경이 성공적이고 어느 변경이 실패했는지를 추적하며, 성공 및 실패 정보를 (사본의) WinFS로 전송한다. 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)은 단계 3706에서, 사본으로부터 성공 및 실패 정보를 수신한 후 데이터 소스에 대한 새로운 상태 정보를 계산하고, 이 정보를 그의 사본에 의한 미래의 사용을 위해 저장하며, 이 새로운 상태 정보를 데이터 소스로, 즉 어댑터에 의한 저장 및 후속 사용을 위해 어댑터로 전송한다.Referring to FIG. 37, one embodiment of the present invention assumes a simple adapter that does not know how the state is calculated or how metadata associated with it is exchanged. In this embodiment, the synchronization is achieved by copying, in relation to the data source that the copy wants to synchronize, by first detecting in step 3702 what changes occurred after the copy was last synchronized with the data source. The copy sends incremental changes that occurred after the last synchronization based on its current state information, which is then sent to the data source through the adapter. In step 3704, the adapter makes as many changes to the data source as possible when it receives change data from the copy in the previous step, tracks which changes were successful and which changes failed, and reports the success and failure information (the copy of the copy). ) Transfer to WinFS. The copy's hardware / software interface system (WinFS), in step 3706, receives the success and failure information from the copy, calculates new status information for the data source, and stores this information for future use by its copy. This new state information is then sent to the data source, i.e. to the adapter for storage and subsequent use by the adapter.

D. 동기화 스키마의 추가 양태D. Additional Aspects of the Synchronization Schema

다음은 본 발명의 다양한 실시예에서 동기화 스키마의 추가(또는 보다 특정 한) 양태들이다.The following are additional (or more specific) aspects of the synchronization schema in various embodiments of the present invention.

ㆍ 각각의 사본은 데이터 저장소의 전체로부터 정의된 데이터의 동기화 서브세트, 즉 다수의 인스턴스를 가진 데이터 슬라이스이다.Each copy is a synchronization subset of data defined from the whole of the data store, ie a data slice with multiple instances.

ㆍ 충돌 해결 정책은 각각의 사본(및 어댑터/데이터 소스 조합)에 의해 개별적으로 처리되는데, 즉 각각의 사본은 그 자신의 기준 및 충돌 해결 스키마에 기초하여 충돌을 해결할 수 있다. 더욱이, 데이터 저장소의 각각의 인스턴스의 차이가 발생하여 추가적인 미래의 충돌을 유발할 수 있지만, 갱신된 상태 정보에 반영된 바와 같은 충돌들의 증분식 및 순차 열거는 갱신 상태 정보를 수신하는 다른 사본들에게는 보이지 않는다. The conflict resolution policy is handled separately by each copy (and adapter / data source combination), ie each copy can resolve conflicts based on its own criteria and conflict resolution schema. Moreover, differences in each instance of the data store can cause additional future conflicts, but incremental and sequential enumeration of conflicts as reflected in updated status information is not visible to other copies receiving the update status information. .

ㆍ 동기화 스키마의 루트에는 고유 ID를 갖는 루트 폴더(사실상 루트 항목)를 정의하는 기본 타입, 멤버으로 있는 동기화 공동체에 대한 ID, 및 특정 사본에 대해 필요하거나 바람직한 모든 필터 및 다른 요소를 구비한 사본이 존재한다.The root of the synchronization schema contains a base type that defines a root folder (virtually a root item) with a unique ID, an ID for the synchronization community as a member, and a copy with all the filters and other elements needed or desirable for that particular copy. exist.

ㆍ 각각의 사본의 매핑은 사본 내에 유지되며, 이에 따라 임의의 특정 사본에 대한 매핑은 이 사본이 알지 못하는 다른 사본들로 제한된다. 이러한 매핑은 전체 동기화 공동체의 서브세트만을 포함할 수 있지만, 상기 사본에 대한 변경은 여전히 공유 사본들을 통해 (임의의 특정 사본은 알지 못하는 사본과 어떤 다른 사본들을 공유하고 있는지를 알지 못하지만) 전체 동기화 공동체로 전파된다.The mapping of each copy is kept in the copy, so that the mapping for any particular copy is limited to other copies that this copy does not know. Such a mapping may include only a subset of the entire synchronization community, but changes to the copy may still be made via the shared copies (though not knowing what other copies are shared with the copy that any particular copy does not know). Is propagated to.

ㆍ 동기화 스키마는 모든 사본들이 이용할 수 있는 미리 정의된 복수의 충돌 처리자는 물론, 사용자/개발자 정의 고객 충돌 처리자의 능력을 포함한다. 스키마는 또한 3개의 특수 "충돌 해결자", 즉 (a) 예컨대 (i) 두 곳에서 동일한 변경 단 위가 변경된 때 처리하는 방법, (ii) 변경 단위가 한 곳에서는 변경되었지만 다른 곳에서는 삭제된 때 처리하는 방법, 및 (iii) 2개의 상이한 변경 단위가 두 다른 곳에서 동일 명칭을 가질 때 처리하는 방법에 기초하여 상이한 방식으로 상이한 충돌을 해결하는 충돌 "필터", (b) 충돌 "해결자 리스트"-이 리스트의 각 요소는 충돌이 성공적으로 해결될 때까지 순차적으로 시도될 일련의 동작을 지정한다-, 및 (c) 충돌을 추적하지만 사용자의 중재 없이는 더 이상의 동작을 취하지 않는 "무동작(do-nothing)" 로그를 포함할 수 있다. The synchronization schema includes the capabilities of a user / developer defined customer conflict handler as well as a plurality of predefined conflict handlers available to all copies. The schema also contains three special "collision resolvers": (a) how to handle when (i) the same unit of change has changed in two places, (ii) the unit of change has been changed in one place, but deleted elsewhere. A collision "filter" that resolves different conflicts in different ways based on the method of handling when, and (iii) a process when two different units of change have the same name in two different places, (b) a collision "resolver List "—each element of this list specifies a sequence of actions to be attempted sequentially until the conflict is successfully resolved, and (c) a" no action "that tracks the conflict but takes no further action without user intervention. (do-nothing) "logs.

ㆍ 사본들의 동기화 스키마 및 사용은 진정한 분산형 피어 대 피어 멀티 마스터 동기화 공동체를 가능하게 한다. 더욱이, 동기화 공동체 타입을 존재하지 않지만, 동기화 공동체는 단지 사본들 자체의 공동체 필드 내의 값으로서 존재한다. Synchronization scheme and use of copies enables a truly distributed peer to peer multimaster synchronization community. Moreover, although there is no synchronization community type, the synchronization community exists only as a value in the community field of the copies themselves.

ㆍ 모든 사본은 증분식 변경 열거를 추적하고 동기화 공동체 내에 공지된 다른 사본들에 대한 상태 정보를 저장하기 위한 그 자신의 메타데이터를 갖는다.Every copy has its own metadata for tracking incremental change enumerations and storing state information for other copies known in the synchronization community.

ㆍ 변경 단위들은 파트너 키 플러스 파트너 변경 번호를 포함하는 버젼; 각각의 변경 단위에 대한 항목/확장/관계 버젼; 사본이 동기화 공동체로부터 보거나 수신한 변경에 관한 지식; GUID 및 로컬 ID 구성; 및 삭제를 위해 참조 관계 상에 저장된 GUID를 포함하는 그들 자신의 메타데이터를 갖는다.The version of change units comprising a partner key plus partner change number; Item / extension / relational version for each change unit; Knowledge of the changes the copy has seen or received from the synchronization community; GUID and local ID configuration; And their own metadata, including the GUID stored on the reference relationship for deletion.

IV. 결론IV. 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 is called 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 new types of data. 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 makes use of capabilities unique to 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 computer may be stored in a medium or any other machine readable storage medium, and when the program code is loaded and executed on a machine such as a computer or a server, the machine 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 machine, the machine becomes an apparatus for practicing 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.

Claims (30)

하드웨어/소프트웨어 인터페이스 시스템(예를 들어, WinFS)에 대한 저장 플랫폼 시스템으로서,As a storage platform system for a hardware / software interface system (e.g. WinFS), 저장 플랫폼의 복수의 인스턴스; 및Multiple instances of a storage platform; And 상기 하드웨어/소프트웨어 인터페이스 시스템에 고유하고(native), 상기 시스템이 상기 저장 플랫폼의 복수의 인스턴스를 동기화하는 것을 가능하게 하는 동기화 서브시스템Native to the hardware / software interface system, a synchronization subsystem that enables the system to synchronize multiple instances of the storage platform. 을 포함하는 저장 플랫폼 시스템.Storage platform system comprising a. 제1항에 있어서, 상기 동기화 서브시스템은 동기화 동작 중 데이터 저장소의 데이터 전체 중에서 데이터의 서브세트만을 동기화하는 저장 플랫폼 시스템.The storage platform system of claim 1, wherein the synchronization subsystem synchronizes only a subset of data among all data in the data store during a synchronization operation. 제1항에 있어서, 상기 저장 플랫폼의 제1 인스턴스는 상기 동기화 서브시스템을 구비한 하드웨어/소프트웨어 인터페이스 시스템(예를 들어, WinFS) 상에서 실행 중인 사본이고, 상기 저장 플랫폼의 제2 인스턴스는 상기 동기화 서브시스템을 구비하지 않은 하드웨어/소프트웨어 인터페이스 시스템(예를 들어, non-WinFs) 상에서 실행 중인 데이터 소스인 저장 플랫폼 시스템.The system of claim 1, wherein the first instance of the storage platform is a copy running on a hardware / software interface system (eg, WinFS) with the synchronization subsystem, and the second instance of the storage platform is the synchronization sub. A storage platform system that is a data source running on a hardware / software interface system (eg non-WinFs) that does not have a system. 제3항에 있어서, 상기 사본과 상기 데이터 소스 사이의 동기화는 상기 사본 의 하드웨어/소프트웨어 인터페이스 시스템의 애플리케이션 프로그래밍 인터페이스(API)와 인터페이스함으로써 상기 데이터 소스를 가상화하는 동기화 어댑터에 의해 용이해지는 저장 플랫폼 시스템.4. The storage platform system of claim 3, wherein synchronization between the copy and the data source is facilitated by a synchronization adapter that virtualizes the data source by interfacing with an application programming interface (API) of the copy's hardware / software interface system. 제1항에 있어서, 제1 인스턴스 쌍이 제2 인스턴스 쌍과 무관하게 변경들을 동기화하고, 상기 제1 인스턴스 쌍 및 상기 제2 인스턴스 쌍 양자는 공통 동기화 공동체(common sync community)의 일부인 저장 플랫폼 시스템.The storage platform system of claim 1, wherein the first instance pair synchronizes changes independently of the second instance pair, and wherein both the first instance pair and the second instance pair are part of a common sync community. 제1항에 있어서, 동기화 시의 충돌들이 자동으로 검출되고, 소정의 판정 가능 기준에 기초하여 해결되는 저장 플랫폼 시스템.The storage platform system of claim 1, wherein collisions in synchronization are automatically detected and resolved based on certain determineable criteria. 제6항에 있어서, 상기 충돌들 중 일부는 최종 사용자에 의한 수동 해결을 위해 로깅(logging)됨으로써 해결되는 저장 플랫폼 시스템.7. The storage platform system of claim 6, wherein some of the conflicts are resolved by logging for manual resolution by an end user. 제1항에 있어서, 상기 동기화 서브시스템은 동기화 파트너와의 이전 동기화들의 상태를 추적하여, 최종 동기화 이후에 변경된 변경 단위들(즉, "순수 변경들")만을 상기 파트너와 동기화하는 저장 플랫폼 시스템. The storage platform system of claim 1, wherein the synchronization subsystem tracks the status of previous synchronizations with a synchronization partner, synchronizing only with the change units (ie, "pure changes") that have changed since the last synchronization. 하드웨어/소프트웨어 인터페이스 시스템(예를 들어, WinFS)에 대한 저장 플랫폼의 복수의 인스턴스를 동기화하는 방법으로서, A method of synchronizing multiple instances of a storage platform to a hardware / software interface system (e.g., WinFS), 상기 저장 플랫폼을 기본 입도 단위들(basic units of granularity)(예를 들어, 변경 단위들)로 분할하는 단계;Dividing the storage platform into basic units of granularity (eg, change units); 변경들을 순차적으로 열거하고, 상기 변경들을 변경 단위마다 추적하는 단계;Enumerating changes sequentially and tracking the changes per change unit; 각각의 인스턴스에 대해, 인스턴스에 대한 변경들의 상태는 물론, 동기화 공동체(동기화 파트너들) 내의 복수의 다른 공지된 인스턴스에 대한 변경들의 상태를 추적하는 단계; 및For each instance, tracking the status of changes to the instance as well as the status of changes to a plurality of other known instances in the synchronization community (synchronization partners); And 동기화를 위해, 특정 인스턴스에 대해 열거된 변경들을 이 인스턴스에 대한 변경들의 상태와 비교함으로써 새로운 변경들을 식별하는 단계For synchronization, identifying new changes by comparing the changes listed for a particular instance with the state of the changes for this instance 를 포함하는 방법.How to include. 제9항에 있어서, 사본인 제1 인스턴스가 항목 기반 동기화를 직접 지원하는 하드웨어/소프트웨어 인터페이스 시스템(WinFS) 상에서 인스턴스화되고, 데이터 소스인 제2 인스턴스가 항목 기반 동기화를 직접 지원하지 않는 하드웨어/소프트웨어 인터페이스 시스템(non-WinFS) 상에서 인스턴스화되며, 상기 방법은 동기화 애플리케이션 프로그래밍 인터페이스를 통해 상기 non-WinFS 인스턴스를 가상화하기 위하여 어댑터를 이용하는 단계를 더 포함하는 방법.10. The hardware / software interface of claim 9, wherein the first instance, which is a copy, is instantiated on a hardware / software interface system (WinFS) that directly supports item-based synchronization, and the second instance, which is a data source, does not directly support item-based synchronization. Instantiated on a system (non-WinFS), the method further comprising using an adapter to virtualize the non-WinFS instance via a synchronous application programming interface. 제10항에 있어서, 변경 단위 입도의 레벨에서 동기화 충돌을 검출하는 단계를 더 포함하는 방법.12. The method of claim 10, further comprising detecting a synchronization conflict at the level of change unit granularity. 제10항에 있어서,The method of claim 10, 변경 적용시에 인스턴스(동기화 데이터)가 개별 변경 단위 레벨에서 성공, 실패 및/또는 충돌을 보고하는 단계; 및When the change is applied, the instance (synchronization data) reports success, failure and / or conflict at the individual change unit level; And 백엔드 상태를 갱신하기 위하여 애플리케이션(어댑터 및 다른 동기화 제어 애플리케이션을 포함하지만, 이에 한정되지는 않음)이 동기화 데이터를 사용하는 단계The use of the synchronization data by an application (including but not limited to an adapter and other synchronization control applications) to update the backend state 를 더 포함하는 방법.How to include more. 사본과 데이터 소스(각각 동기화 파트너)- 상기 사본과 데이터 소스 양자는 모두 각각의 동기화 파트너에 의해 유지되는 변경 상태 정보를 가지며, 상기 데이터 소스(non-WinFS)는 어댑터를 이용하여 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)과 인터페이스함 -를 동기화하기 위한 방법으로서,Copy and data source (each synchronization partner)-Both the copy and data source have change status information maintained by each synchronization partner, and the data source (non-WinFS) uses an adapter to provide hardware / A method for synchronizing with the software interface system (WinFS). 상기 사본이, 상기 데이터 소스에 대한 최종 상태 정보에 기초하여 상기 데이터 소스에 대한 상기 최종 상태 정보에 반영된 최종 동기화 이후에 이루어진 변경들("새로운 변경들")을 반영하는 상기 사본에 대한 갱신된 상태 정보를 상기 어댑터로 전송하는 단계; 및An updated state for the copy that reflects changes made since the last synchronization reflected in the last state information for the data source (“new changes”) based on the last state information for the data source. Transmitting information to the adapter; And 상기 어댑터가 상기 사본에 대한 상기 갱신된 상태 정보 및 상기 새로운 변경들을 수신하고, 가능한 한 상기 데이터 소스에 대한 많은 변경을 행하며, 변경 단위마다 변경 단위 상의 각 변경에 대하여 성공 또는 실패를 추적하는 단계The adapter receiving the updated status information and the new changes to the copy, making as many changes to the data source as possible, and tracking success or failure for each change on the change unit per change unit. 를 포함하는 방법.How to include. 제13항에 있어서, The method of claim 13, 상기 어댑터가 상기 변경 단위마다 변경 단위 상의 각 변경에 대한 성공 또는 실패에 기초하여 상기 데이터 소스의 새로운 상태를 계산하고, 상기 새로운 상태 정보를 저장하며, 상기 새로운 상태 정보를 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)으로 전송하는 단계; 및The adapter calculates a new state of the data source based on the success or failure of each change on a change unit for each change unit, stores the new state information, and stores the new state information in the copy's hardware / software interface. Transmitting to a system (WinFS); And 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)이 상기 사본에 의한 장래의 사용을 위해 상기 데이터 소스에 대한 상기 새로운 상태 정보를 저장하는 단계The hardware / software interface system (WinFS) of the copy storing the new state information for the data source for future use by the copy. 를 더 포함하는 방법.How to include more. 제13항에 있어서,The method of claim 13, 상기 어댑터가 상기 변경 단위마다 변경 단위 상의 각 변경에 대한 성공 또는 실패를 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)으로 전송하는 단계;Sending, by the adapter, the success or failure of each change on a change unit for each change unit to a hardware / software interface system (WinFS) of the copy; 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)이 변경 단위마다 변경 단위 상의 상기 데이터 소스에 대한 각 변경에 대한 성공 또는 실패에 기초하여 상기 데이터 소스에 대한 새로운 상태 정보를 계산하는 단계;Calculating, by the hardware / software interface system (WinFS) of the copy, new state information for the data source based on the success or failure of each change to the data source on a change unit per change unit; 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)이 상기 새로운 상태 정보를 상기 어댑터로 전송하고, 상기 사본에 의한 장래의 사용을 위해 상기 새로운 상태 정보를 저장하는 단계; 및The hardware / software interface system (WinFS) of the copy transmitting the new state information to the adapter and storing the new state information for future use by the copy; And 상기 어댑터가 상기 새로운 상태 정보를 수신하고 저장하는 단계The adapter receiving and storing the new state information 를 더 포함하는 방법.How to include more. 하드웨어/소프트웨어 인터페이스 시스템(예를 들어, WinFS) 상의 저장 플랫폼 시스템에 대한 컴퓨터 판독 가능 명령어들을 포함하는 컴퓨터 판독 가능 매체로서, A computer readable medium containing computer readable instructions for a storage platform system on a hardware / software interface system (eg WinFS), 상기 저장 플랫폼 시스템은 저장 플랫폼의 복수의 인스턴스 중에서 로컬 인스턴스를 동기화하기 위한 명령어들을 포함하는 컴퓨터 판독 가능 매체.The storage platform system includes instructions for synchronizing a local instance among a plurality of instances of a storage platform. 제16항에 있어서, 동기화 서브시스템이 동기화 동작 중 데이터 저장소의 데이터 전체 중에서 데이터의 서브세트만을 동기화하는 컴퓨터 판독 가능 매체.17. The computer readable medium of claim 16, wherein the synchronization subsystem synchronizes only a subset of the data among all of the data in the data store during the synchronization operation. 제16항에 있어서, 상기 저장 플랫폼의 제1 인스턴스는 동기화 서브시스템을 구비한 하드웨어/소프트웨어 인터페이스 시스템(예를 들어, WinFS) 상에서 실행 중인 사본이고, 상기 저장 플랫폼의 제2 인스턴스는 동기화 서브시스템을 구비하지 않은 하드웨어/소프트웨어 인터페이스 시스템(예를 들어, non-WinFs) 상에서 실행 중인 데이터 소스인 컴퓨터 판독 가능 매체.17. The system of claim 16, wherein the first instance of the storage platform is a copy running on a hardware / software interface system (e.g., WinFS) having a synchronization subsystem, and the second instance of the storage platform is a synchronization subsystem. A computer readable medium that is a data source running on a hardware / software interface system (eg, non-WinFs) that is not equipped. 제18항에 있어서, 상기 사본과 상기 데이터 소스 사이의 동기화는 상기 제1 인스턴스의 하드웨어/소프트웨어 인터페이스 시스템의 애플리케이션 프로그래밍 인터페이스(API)와 인터페이스함으로써 상기 제2 인스턴스를 가상화하는 동기화 어댑터에 의해 용이해지는 컴퓨터 판독 가능 매체.19. The computer of claim 18 wherein synchronization between the copy and the data source is facilitated by a synchronization adapter that virtualizes the second instance by interfacing with an application programming interface (API) of the hardware / software interface system of the first instance. Readable Media. 제16항에 있어서, 제1 인스턴스 쌍이 제2 인스턴스 쌍과 무관하게 변경들을 동기화하고, 상기 제1 인스턴스 쌍 및 상기 제2 인스턴스 쌍 양자는 모두 공통 동기화 공동체의 일부인 컴퓨터 판독 가능 매체.17. The computer readable medium of claim 16, wherein the first instance pair synchronizes changes independently of the second instance pair, and both the first instance pair and the second instance pair are both part of a common synchronization community. 제16항에 있어서, 동기화 시의 충돌들이 자동으로 검출되고, 소정의 판정 가능 기준에 기초하여 해결되는 컴퓨터 판독 가능 매체. 17. The computer readable medium of claim 16, wherein collisions in synchronization are automatically detected and resolved based on predetermined determineable criteria. 제21항에 있어서, 상기 충돌들 중 일부는 최종 사용자에 의한 수동 해결을 위해 로깅됨으로써 해결되는 컴퓨터 판독 가능 매체.22. The computer readable medium of claim 21, wherein some of the conflicts are resolved by logging for manual resolution by an end user. 제16항에 있어서, 동기화 서브시스템이 동기화 파트너와의 이전 동기화들의 상태를 추적하여, 최종 동기화 이후에 변경된 변경 단위들(즉, "순수 변경들")만을 상기 파트너와 동기화하는 컴퓨터 판독 가능 매체. 17. The computer readable medium of claim 16, wherein the synchronization subsystem tracks the status of previous synchronizations with the synchronization partner, synchronizing only with the change units (ie, "pure changes") that have changed since the last synchronization. 하드웨어/소프트웨어 인터페이스 시스템(예를 들어, WinFS)에 대한 저장 플 랫폼의 복수의 인스턴스를 동기화하기 위한 컴퓨터 판독 가능 명령어들을 포함하는 컴퓨터 판독 가능 매체로서, A computer readable medium comprising computer readable instructions for synchronizing a plurality of instances of a storage platform for a hardware / software interface system (eg, WinFS), 상기 컴퓨터 판독 가능 명령어들은,The computer readable instructions, 상기 저장 플랫폼을 기본 입도 단위들(예를 들어, 변경 단위들)로 분할하는 명령어;Dividing the storage platform into basic granularity units (eg, change units); 변경들을 순차적으로 열거하고, 상기 변경들을 변경 단위마다 추적하는 명령어;Enumerating changes sequentially and tracking the changes per change unit; 각각의 인스턴스에 대해, 상기 인스턴스들에 대한 변경들의 상태는 물론, 동기화 공동체(동기화 파트너들) 내의 복수의 다른 공지된 인스턴스에 대한 변경들의 상태를 추적하는 명령어; 및For each instance, instructions to track the status of changes to the instances, as well as the status of changes to a plurality of other known instances within a synchronization community (synchronization partners); And 동기화를 위해, 특정 인스턴스에 대해 열거된 변경들을 상기 인스턴스에 대한 변경들의 상태와 비교함으로써 새로운 변경들을 식별하는 명령어For synchronization, instructions that identify new changes by comparing the changes listed for a particular instance with the state of the changes for that instance 를 포함하는 컴퓨터 판독 가능 매체.Computer-readable medium comprising a. 제24항에 있어서, 상기 컴퓨터 판독 가능 명령어들은,The computer-readable medium of claim 24, wherein the computer readable instructions comprise: 사본인 제1 인스턴스가 항목 기반 동기화를 직접 지원하는 하드웨어/소프트웨어 인터페이스 시스템(WinFS) 상에서 인스턴스화되고, 데이터 소스인 제2 인스턴스가 항목 기반 동기화를 직접 지원하지 않는 하드웨어/소프트웨어 인터페이스 시스템(non-WinFS) 상에서 인스턴스화되도록 하는 명령어들을 더 포함하며, 상기 방법은 어댑터를 이용하여, 동기화 애플리케이션 프로그래밍 인터페이스를 통해 상기 non-WinFS 인스턴스를 가상화하는 단계를 더 포함하는 컴퓨터 판독 가능 매체.Hardware / software interface system (non-WinFS) whose copy is the first instance instantiated on hardware / software interface system (WinFS) that directly supports item-based synchronization and data source second instance does not directly support item-based synchronization. And instructions to be instantiated on a computer, the method further comprising virtualizing the non-WinFS instance via a synchronous application programming interface using an adapter. 제25항에 있어서, 상기 컴퓨터 판독 가능 명령어들은, 변경 단위 입도의 레벨에서 동기화 충돌을 검출하는 명령어를 더 포함하는 컴퓨터 판독 가능 매체.27. The computer readable medium of claim 25, wherein the computer readable instructions further comprise instructions for detecting a synchronization conflict at a level of change unit granularity. 제25항에 있어서, 상기 컴퓨터 판독 가능 명령어들은,The computer-readable medium of claim 25, wherein the computer readable instructions comprise: 변경 적용시에 개별 변경 단위 레벨에서 성공, 실패 및/또는 충돌을 보고하는 인스턴스들(동기화 데이타); 및Instances (synchronization data) reporting success, failure and / or conflict at the individual change unit level when applying the change; And 백엔드 상태를 갱신하기 위해 동기화 데이터를 사용하는 애플리케이션들(어댑터들 및 다른 동기화 제어 애플리케이션들을 포함하지만, 이에 한정되지는 않음)Applications that use synchronization data to update the backend state, including but not limited to adapters and other synchronization control applications. 을 더 포함하는 컴퓨터 판독 가능 매체.Computer-readable medium further comprising. 사본과 데이터 소스(각각 동기화 파트너)- 상기 사본과 데이터 소스 양자는 모두 각각의 동기화 파트너에 의해 유지되는 변경 상태 정보를 가지며, 상기 데이터 소스(non-WinFS)는 어댑터를 이용하여 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)과 인터페이스함 -를 동기화하기 위한 컴퓨터 판독 가능 명령어들을 포함하는 컴퓨터 판독 가능 매체로서,Copy and data source (each synchronization partner)-Both the copy and data source have change status information maintained by each synchronization partner, and the data source (non-WinFS) uses an adapter to provide hardware / A computer readable medium comprising computer readable instructions for synchronizing with a software interface system (WinFS). 상기 컴퓨터 판독 가능 명령어들은, The computer readable instructions, 상기 사본이, 상기 데이터 소스에 대한 최종 상태 정보에 기초하여 상기 데이터 소스에 대한 상기 최종 상태 정보에 반영된 최종 동기화 이후에 이루어진 변 경들("새로운 변경들")을 반영하는 상기 사본에 대한 갱신된 상태 정보를 상기 어댑터로 전송하게 함으로써, 상기 어댑터가 상기 사본에 대한 상기 갱신된 상태 정보 및 상기 새로운 변경들을 수신하고, 가능한 한 상기 데이터 소스에 대한 많은 변경을 행하며, 변경 단위마다 변경 단위 상의 각 변경에 대하여 성공 또는 실패를 추적할 수 있도록 하기 위한 명령어를 포함하는 컴퓨터 판독 가능 매체.An updated state for the copy that reflects changes made since the last synchronization reflected in the last state information for the data source based on the last state information for the data source (“new changes”) By sending information to the adapter, the adapter receives the updated status information and the new changes to the copy, makes as many changes to the data source as possible, and for each change on a change unit per change unit. Computer-readable media containing instructions for enabling the tracking of success or failure for a computer. 제28항에 있어서, 상기 컴퓨터 판독 가능 명령어들은,The computer-readable medium of claim 28, wherein the computer readable instructions comprise: 상기 어댑터가 변경 단위마다 변경 단위 상의 각 변경에 대한 성공 또는 실패에 기초하여 상기 데이터 소스의 새로운 상태를 계산하고, 상기 새로운 상태 정보를 가지며, 상기 새로운 상태 정보를 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)으로 전송한 경우, 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)이 상기 사본에 의한 장래의 사용을 위해 데이터 저장소에 대한 상기 새로운 상태 정보를 저장하기 위한 명령어를 더 포함하는 컴퓨터 판독 가능 매체.The adapter calculates a new state of the data source based on the success or failure of each change on the change unit per change unit, has the new state information, and sends the new state information to the copy of the hardware / software interface system ( And a copy by the hardware / software interface system (WinFS) of the copy to store the new state information for a data store for future use by the copy. 제28항에 있어서, 상기 컴퓨터 판독 가능 명령어들은,The computer-readable medium of claim 28, wherein the computer readable instructions comprise: 상기 어댑터가 변경 단위마다 변경 단위 상의 각 변경에 대한 성공 또는 실패를 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)으로 전송하고,The adapter sends the success or failure of each change on the change unit to the copy's hardware / software interface system (WinFS) for each change unit, 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)이 변경 단위마다의 상기 데이터 소스에 대한 각각의 변경의 성공 또는 실패에 기초하여 상기 데이터 소스에 대한 새로운 상태 정보를 계산하게 하는 명령어; 및 Causing the copy of hardware / software interface system (WinFS) to calculate new state information for the data source based on the success or failure of each change to the data source per change unit; And 상기 사본의 하드웨어/소프트웨어 인터페이스 시스템(WinFS)이 상기 새로운 상태 정보를 상기 어댑터로 전송하고, 상기 사본에 의한 장래의 사용을 위해 상기 새로운 상태 정보를 저장함으로써 상기 어댑터가 상기 새로운 상태 정보를 수신하고 저장할 수 있도록 하기 위한 명령어를 더 포함하는 컴퓨터 판독 가능 매체. The adapter's hardware / software interface system (WinFS) sends the new state information to the adapter and stores the new state information for future use by the copy so that the adapter receives and stores the new state information. The computer readable medium further comprising instructions for enabling the use of a computer.
KR1020057012471A 2003-08-21 2004-07-29 Systems and methods for providing synchronization services for units of information manageable by a hardware/software interface system KR101109390B1 (en)

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
US32615003A 2003-08-21 2003-08-21
US10/646,575 US8131739B2 (en) 2003-08-21 2003-08-21 Systems and methods for interfacing application programs with an item-based storage platform
US10/646,575 2003-08-21
USPCT/US03/26150 2003-08-21
US10/692,515 2003-10-24
US10/692,515 US7743019B2 (en) 2003-08-21 2003-10-24 Systems and methods for providing synchronization services for units of information manageable by a hardware/software interface system
PCT/US2004/024288 WO2005024665A1 (en) 2003-08-21 2004-07-29 Systems and methods for providing synchronization services for units of information manageable by a hardware/software interface system

Publications (2)

Publication Number Publication Date
KR20060117872A true KR20060117872A (en) 2006-11-17
KR101109390B1 KR101109390B1 (en) 2012-01-30

Family

ID=37705288

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020057012471A KR101109390B1 (en) 2003-08-21 2004-07-29 Systems and methods for providing synchronization services for units of information manageable by a hardware/software interface system

Country Status (1)

Country Link
KR (1) KR101109390B1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6877111B2 (en) 2001-03-26 2005-04-05 Sun Microsystems, Inc. Method and apparatus for managing replicated and migration capable session state for a Java platform

Also Published As

Publication number Publication date
KR101109390B1 (en) 2012-01-30

Similar Documents

Publication Publication Date Title
KR101120817B1 (en) Systems and methods for providing relational and hierarchical synchronization services for units of information manageable by hardware/software interface system
KR101041319B1 (en) Systems and methods for providing conflict handling for peer-to-peer synchronization of units of information manageable by a hardware/software interface system
RU2377646C2 (en) Systems and methods for providing synchronisation services for information blocks, managed by hardware/software interface system
KR100959473B1 (en) Systems and methods for interfacing application programs with an item-based storage platform
US8166101B2 (en) Systems and methods for the implementation of a synchronization schemas for 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
US7483915B2 (en) Systems and method for representing relationships between units of information manageable by a hardware/software interface system
JP4583376B2 (en) System and method for realizing a synchronous processing service for a unit of information manageable by a hardware / software interface system
KR101024730B1 (en) Systems and methods for data modeling in an item-based storage platform
JP4580390B2 (en) System and method for extending and inheriting information units manageable by a hardware / software interface system
JP4583375B2 (en) System for implementation of synchronization schema
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
KR101149959B1 (en) System and methods for synchronizing computer systems through an intermediary file system share or device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20141230

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee