EP1604310A4 - Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface system - Google Patents
Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface systemInfo
- Publication number
- EP1604310A4 EP1604310A4 EP04779583A EP04779583A EP1604310A4 EP 1604310 A4 EP1604310 A4 EP 1604310A4 EP 04779583 A EP04779583 A EP 04779583A EP 04779583 A EP04779583 A EP 04779583A EP 1604310 A4 EP1604310 A4 EP 1604310A4
- Authority
- EP
- European Patent Office
- Prior art keywords
- item
- relationship
- extension
- type
- property
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4488—Object-oriented
- G06F9/4492—Inheritance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/178—Techniques for file synchronisation in file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
Definitions
- MSFT-1748 filed on August 21, 2003, entitled “SYSTEMS AND METHODS FOR REPRESENTING UNITS OF INFORMATION MANAGEABLE BY A HARDWARE/SOFTWARE INTERFACE SYSTEM BUT INDEPENDENT OF PHYSICAL REPRESENTATION”; U.S. Patent Application No. 10/646,941 (Atty. Docket No. MSFT-1749), filed on August 21, 2003, entitled “SYSTEMS AND METHODS FOR SEPARATING UNITS OF INFORMATION MANAGEABLE BY A HARDWARE/SOFTWARE INTERFACE SYSTEM FROM THEIR PHYSICAL ORGANIZATION”; U.S. Patent Application No. 10/646,940 (Atty. Docket No.
- MSFT-1750 filed on August 21, 2003, entitled “SYSTEMS AND METHODS FOR THE IMPLEMENTATION OF A BASE SCHEMA FOR ORGANIZING UNITS OF INFORMATION MANAGEABLE BY A HARDWARE/SOFTWARE INTERFACE SYSTEM”; U.S. Patent Application No. 10/646,632 (Atty. Docket No. MSFT-1751), filed on August 21, 2003, entitled “SYSTEMS AND METHODS FOR THE IMPLEMENTATION OF A CORE SCHEMA FOR PROVIDING A TOP-LEVEL STRUCTURE FOR ORGANIZING UNITS OF INFORMATION MANAGEABLE BY A HARDWARE/SOFTWARE INTERFACE SYSTEM"; U.S. Patent Application No.
- MSFT- 2734 filed on August 21, 2003, entitled “STORAGE PLATFORM FOR ORGANIZING, SEARCHING, AND SHARING DATA”;
- U.S. Patent Application No. 10/692,779 (Atty. Docket No. MSFT-2829), filed on October 24, 2003, entitled “SYSTEMS AND METHODS FOR THE IMPLEMENTATION OF A DIGITAL IMAGES SCHEMA FOR ORGANIZING UNITS OF INFORMATION MANAGEABLE BY A HARDWARE/SOFTWARE INTERFACE SYSTEM”;
- U.S. Patent Application No. 10/692,515 (Atty. Docket No.
- MSFT-2844 filed on October 24, 2003, entitled “SYSTEMS AND METHODS FOR PROVIDING SYNCHRONIZATION SERVICES FOR UNITS OF INFORMATION MANAGEABLE BY A HARDWARE/SOFTWARE INTERFACE SYSTEM”; U.S. Patent Application No. 10/692,508 (Atty. Docket No. MSFT-2845), filed on even date herewith, entitled “SYSTEMS AND METHODS FOR PROVIDING RELATIONAL AND HIERARCHICAL SYNCHRONIZATION SERVICES FOR UNITS OF INFORMATION MANAGEABLE BY A HARDWARE/SOFTWARE INTERFACE SYSTEM”; and U.S. Patent Application No. 10/693,362 (Atty. Docket No.
- MSFT-2846 filed on October 24, 2003, entitled "SYSTEMS AND METHODS FOR THE IMPLEMENTATION OF A SYNCHRONIZATION SCHEMAS FOR UNITS OF INFORMATION MANAGEABLE BY A HARDWARE/SOFTWARE INTERFACE SYSTEM".
- the present invention relates generally to the field of information storage and retrieval, and, more particularly, to an active storage platform for organizing, searching, and sharing different types of data in a computerized system.
- Various embodiments of the present invention are directed to the use of extension and inheritance methods utilized by a hardware/software interface system to manage data.
- This file system was entirely unconcerned with the file format of any individual file, and the relationships amongst and between files was deemed irrelevant at the operating system level (that is, other than the location of the file within 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 include the file hierarchy • itself (the "directory") embodied in a special file maintained by the file system. This directory, in turn, maintains a list of entries corresponding to all of the other files in the directory and the nodal location of such files in the hierarchy (herein referred to as the folders). Such has been the state of the art for approximately forty years.
- Database technology is another area of the art in which similar challenges exits.
- relational database model has been a great commercial success
- truth independent software vendors ISV
- ISV truth independent software vendors
- most of an application's interaction with such a product is in the form of simple "gets” and "puts”.
- the basic relational model does not provide a sufficient platform for storage of data on which higher-level applications can easily be developed because the basic relational model requires a level of indirection between the application and the storage system— where the semantic structure of the data might only be visible in the application in certain instances.
- the storage platform of the present invention comprises a data store implemented on a database engine.
- the database engine comprises a relational database engine with object relational extensions.
- the data store implements a data model that supports organization, searching, sharing, synchronization, and security of data. Specific types of data are described in schemas, and the platform provides a mechanism to extend the set of schemas to define new types of data (essentially subtypes of the basic types provides by the schemas).
- a synchronization capability facilitates the sharing of data among users or systems.
- File-systemlike capabilities are provided that allow interoperability of the data store with existing file systems but without the limitation of such traditional file systems.
- a change tracking mechanism provides the ability track changes to the data store.
- the storage platform further comprises a set of application program interfaces that enable applications to access all of the foregoing capabilities of the storage platform and to access the data described in the schemas.
- the data model implemented by the data store defines units of data storage in terms of items, elements, and relationships.
- An item is a unit of data storable in a data store and can comprise one or more elements and relationships.
- An element is an instance of a type comprising one or more fields (also referred to herein as a property).
- a relationship is a link between two items. (As used herein, these and other specific terms may be capitalized in order to offset them from other terms used in close proximity; however, there is no intention whatsoever to distinguish between a capitalized term, e.g.
- the computer system further comprises a plurality of Items where each Item constitutes a discrete storable unit of information that can be manipulated by a hardware/software interface system; a plurality of Item Folders that constitute an organizational structure for said Items; and a hardware/software interface system for manipulating a plurality of Items and wherein each Item belongs to at least one Item Folder and may belong to more than one Item Folder.
- An Item or some of the Item's property values may be computed dynamically as opposed to being derived from a persistent store.
- the hardware/software interface system does not require that the Item be stored, and certain operations are supported such as the ability to enumerate the current set of Items or the ability to retrieve an Item given its identifier (which is more fully described in the sections that describe the application programming interface, or API) of the storage platform — for example, an Item . might be the current location of a cell phone or the temperature reading on a temperature sensor.
- the hardware/software interface system may manipulate a plurality of Items, and may further comprise Items interconnected by a plurality of Relationships managed by the hardware/software interface system.
- a hardware/software interface system for the computer system further comprises a core schema to define a set of core Items which said hardware/software interface system understands and can directly process in a predetermined and predictable way.
- the computer system interconnects said Items with a plurality of Relationships and manages said Relationships at the hardware/software interface system level.
- the API of the storage platform provides data classes for each item, item extension, and relationship defined in the set of storage platform schemas.
- the application programming interface provides a set of framework classes that define a common set of behaviors for the data classes and that, together with the data classes, provide the basic programming model for the storage platform API.
- the storage platform API provides a simplified query model that enables application programmers to form queries based on various properties of the items in the data store, in a manner that insulates the application programmer from the details of the query language of the underlying database engine.
- the storage platform API also collects changes to an item made by an application program and then organizes them into the correct updates required by the database engine (or any kind of storage engine) on which the data store is implemented. This enables application programmers to make changes to an item in memory, while leaving the complexity of data store updates to the API.
- Fig. 1 is a block diagram representing a computer system in which aspects of the present invention may be incorporated
- Fig. 2 is a block diagram illustrating a computer system divided into three component groups: the hardware component, the hardware/software interface system component, and the application programs component; [0025] Fig.
- FIG. 2A illustrates the traditional tree-based hierarchical structure for files grouped in folders in a directory in a file-based operating system
- FIG. 3 is a block diagram illustrating a storage platform
- Fig. 4 illustrates the structural relationship between Items, Item Folders, and Categories
- Fig. 5 A is a block diagram illustrating the structure of an Item
- Fig. 5B is a block diagram illustrating the complex property types of the Item of Fig. 5A
- Fig. 5C is a block diagram illustrating the "Location" Item wherein its complex types are further described (explicitly listed);
- Fig. 5A is a block diagram illustrating the "Location" Item wherein its complex types are further described (explicitly listed);
- Fig. 5A is a block diagram illustrating the "Location" Item wherein its complex types are further described (explicitly listed); [0031] Fig.
- FIG. 6A illustrates an Item as a subtype of the Item found in the Base Schema
- Fig. 6B is a block diagram illustrating the subtype Item of Fig. 6 A wherein its inherited types are explicitly listed (in addition to its immediate properties);
- Fig. 7 is a block diagram illustrating the Base Schema including its two top- level class types, Item and PropertyBase, and the additional Base Schema types derived therefrom;
- Fig. 8A is a block diagram illustrating Items in the Core Schema;
- Fig. 8B is a block diagram illustrating the property types in the Core Schema; [0036] Fig.
- FIG. 9 is a block diagram illustrating an Item Folder, its member Items, and the interconnecting Relationships between the Item Folder and its member Items;
- Fig. 10 is a block diagram illustrating a Category (which, again, is an Item itself), its member Items, and the interconnecting Relationships between the Category and its member Items;
- Fig. 11 is a diagram illustrating a reference type hierarchy of the data model of the storage platform;
- Fig. 12 is a diagram illustrating how relationships are classified;
- Fig. 13 is a diagram illustrating a notification mechanism; [0041] Fig.
- FIG. 14 is a diagram illustrating an example in which two transactions are both inserting a new record into the same B-Tree; [0042] Fig. 15 illustrates a data change detection process; [0043] Fig. 16 illustrates an exemplary directory tree; [0044] Fig. 17 shows an example in which an existing folder of a directory-based file system is moved into the storage platform data store; [0045] Fig. 18 illustrates the concept of Containment Folders; [0046] Fig. 19 illustrates the basic architecture of the storage platform API; [0047] Fig. 20 schematically represents the various components of the storage platform API stack; [0048] Fig. 21 A is a pictorial representation of an exemplary Contacts Item schema; [0049] Fig.
- FIG. 2 IB is a pictorial representation of the Elements for the exemplary Contacts Item schema of Fig. 21 A; [0050] Fig. 22 illustrates the runtime framework of the storage platform API; [0051] Fig. 23 illustrates the execution of a "FindAll" operation; [0052] Fig. 24 illustrates the process by which storage platform API classes are generated from the storage platform Schema; [0053] Fig. 25 illustrates a schema on which a File API is based; [0054] Fig. 26 is a diagram illustrating an access mask format used for data security purposes; [0055] Fig.
- FIG. 27 depicts a new identically protected security region being carved out of an existing security region;
- Fig. 28 is a diagram illustrating the concept of an Item search view;
- Fig. 29 is a diagram illustrating an exemplary Item hierarchy;
- Fig. 30A illustrates an interface Interfacel as a conduit through which first and second code segments communicate;
- Fig. 3 OB illustrates an interface as comprising interface objects II and 12 which enable first and second code segments of a system to communicate via medium M;
- FIG. 31 A illustrates how the function provided by interface Interfacel may be subdivided to convert the communications of the interface into multiple interfaces Interfacel A, Interface IB, Interface IC;
- Fig. 3 IB illustrates how the function provided by interface II may be subdivided into multiple interfaces Ila, lib, lie;
- Fig. 32A illustrates a scenario where a meaningless parameter precision can be ignored or replaced with an arbitrary parameter;
- Fig. 32B illustrates a scenario where an interface is replaced by a substitute interface that is defined to ignore or add parameters to an interface;
- Fig. 33 A illustrates a scenario where a 1 st and 2nd Code Segments are merged into a module containing them both;
- FIG. 33B illustrates a scenario where part or all of an interface may be written inline into another interface to form a merged interface.
- Fig. 34A illustrates how one or more pieces of middleware might convert communications on the first interface to conform them to one or more different interfaces;
- Fig. 34B illustrates how a code segment can be introduced with an interface to receive the communications from one interface but transmit the functionality to second and third interfaces;
- Fig. 35 A illustrates how a just-in-time compiler (JIT) might convert communications from one code segment to another code segment;
- Fig. 35B illustrates a JIT method of dynamically rewriting one or more interfaces may be applied to dynamically factor or otherwise alter said interface; [0070] Fig.
- JIT just-in-time compiler
- Fig. 37A illustrates the shortcoming of standard subtyping of an Item for application specific purposes
- Fig. 37B illustrates a partial solution to the problems of standard subtyping
- Fig. 37C illustrates one embodiment of the present invention to extend an Item with an Extension that is distinct and separate from Contact itself, and thus enables a multi- typing functionality.
- Change Tracking & Tombstones - 67 a) Change Tracking - 67 ( 1 ) Change Tracking in "Master” Search Views - 67 - (2) Change Tracking in "Typed” Search Views - 68 - b) Tombstones - 69 - (1) Item Tombstones - 69 - (2) Extension Tombstones - 70 - (3) Relationships Tombstone - 70 ⁇ (4) Tombstone Cleanup - 71 ⁇ 11. Helper APIs and Functions - 71 - a) Function [System. Storage].
- FIG. 1 A. EXEMPLARY COMPUTING ENVIRONMENT
- Fig. 1 and the following discussion is intended to provide a brief general description of a suitable computing environment in which the invention may be implemented.
- 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 a server.
- program modules include routines, programs, objects, components, data structures and the like that perform particular tasks or implement particular abstract data types.
- an exemplary general purpose computing system includes a conventional personal computer 20 or the like, including a processing unit 21, a system memory 22, and a system bus 23 that couples various system components including the system memory to the processing unit 21.
- the system bus 23 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures.
- the system memory includes read only memory (ROM) 24 and random access memory (RAM) 25.
- ROM 24 read only memory
- RAM random access memory
- the personal computer 20 may further include a hard disk drive 27 for reading from and writing to a hard disk, not shown, a magnetic disk drive 28 for reading from or writing to a removable magnetic disk 29, and an optical disk drive 30 for reading from or writing to a removable optical disk 31 such as a CD ROM or other optical media.
- the hard disk drive 27, magnetic disk drive 28, and optical disk drive 30 are connected to the system bus 23 by a hard disk drive interface 32, a magnetic disk drive interface 33, and an optical drive interface 34, respectively.
- the drives and their associated computer readable media provide non volatile storage of computer readable instructions, data structures, program modules and other data for the personal computer 20.
- the exemplary environment described herein employs a hard disk, a removable magnetic disk 29 and a removable optical disk 31 , it should be appreciated by those skilled in the art that other types of computer readable media which can store data that is accessible by a computer, such as magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, random access memories (RAMs), read only memories (ROMs) and the like may also be used in the exemplary operating environment.
- the exemplary environment may also include many types of monitoring devices such as heat sensors and security or fire alarm systems, and other sources of information.
- a number of program modules may be stored on the hard disk, magnetic disk 29, optical disk 31, ROM 24 or RAM 25, including an operating system 35, one or more application programs 36, other program modules 37 and program data 38.
- a user may enter commands and information into the personal computer 20 through input devices such as a keyboard 40 and pointing device 42.
- Other input devices may include a microphone, joystick, game pad, satellite disk, scanner or the like.
- serial port interface 46 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, game port or universal serial bus (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.
- personal computers typically include other peripheral output devices (not shown), such as speakers and printers.
- the exemplary system of Fig. 1 also includes a host adapter 55, Small Computer System Interface (SCSI) bus 56, and an external storage device 62 connected to the SCSI bus 56.
- SCSI Small Computer System Interface
- the personal computer 20 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 49.
- the remote computer 49 may be another personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the personal computer 20, although only a memory storage device 50 has been illustrated in Fig. 1.
- the logical connections depicted in Fig. 1 include a local area network (LAN) 51 and a wide area network (WAN) 52.
- LAN local area network
- WAN wide area network
- Such networking environments are commonplace in offices, enterprise wide computer networks, intranets and the Internet.
- the personal computer 20 When used in a LAN networking environment, the personal computer 20 is connected to the LAN 51 through a network interface or adapter 53.
- the personal computer 20 When used in a WAN networking environment, the personal computer 20 typically includes a modem 54 or other means for establishing communications over the wide area network 52, such as the Internet.
- the modem 54 which may be internal or external, is connected to the system bus 23 via the serial port interface 46.
- program modules depicted relative to the personal computer 20, or portions thereof may be stored in the remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used. [0080] As illustrated in the block diagram of Fig.
- a computer system 200 can be roughly divided into three component groups: the hardware component 202, the hardware/software interface system component 204, and the applications programs component 206 (also referred to as the "user component” or “software component” in certain contexts herein).
- the hardware component 202 may comprise the central processing unit (CPU) 21, the memory (both ROM 24 and RAM 25), the basic input/output system (BIOS) 26, and various input/output (I/O) devices such as a keyboard 40, a mouse 42, a monitor 47, and/or a printer (not shown), among other things.
- the hardware component 202 comprises the basic physical infrastructure for the computer system 200.
- the applications programs component 206 comprises various software programs including but not limited to compilers, database systems, word processors, business programs, videogames, and so forth. Application programs provide the means by which computer resources are utilized to solve problems, provide solutions, and process data for various users (machines, other computer systems, and/or end-users).
- the hardware/software interface system component 204 comprises (and, in some embodiments, may solely consist of) an operating system that itself comprises, in most cases, a shell and a kernel.
- An "operating system” (OS) is a special program that acts as an intermediary between application programs and computer hardware.
- the hardware/software interface system component 204 may also comprise a virtual machine manager (VMM), a Common Language Runtime (CLR) or its functional equivalent, a Java Virtual Machine (JVM) or its functional equivalent, or other such software components in the place of or in addition to the operating system in a computer system.
- VMM virtual machine manager
- CLR Common Language Runtime
- JVM Java Virtual Machine
- the purpose of a hardware/software interface system is to provide an environment in which a user can execute application programs.
- the goal of any hardware/software interface system is to make the computer system convenient to use, as well as utilize the computer hardware in an efficient manner.
- the hardware/software interface system is generally loaded into a computer system at startup and thereafter manages all of the application programs in the computer system.
- the application programs interact with the hardware/software interface system by requesting services via an application program interface (API).
- API application program interface
- a hardware/software interface system traditionally performs a variety of services for applications. In a multitasking hardware/software interface system where multiple programs may be running at the same time, the hardware/software interface system determines which applications should run in what order and how much time should be allowed for each application before switching to another application for a turn. The hardware/software interface system also manages the sharing of internal memory among multiple applications, and handles input and output to and from attached hardware devices such as hard disks, printers, and dial-up ports.
- the hardware/software interface system also sends messages to each application (and, in certain case, to the end-user) regarding the status of operations and any errors that may have occurred.
- the hardware/software interface system can also offload the management of batch jobs (e.g., printing) so that the initiating application is freed from this work and can resume other processing and/or operations.
- batch jobs e.g., printing
- a hardware/software interface system On computers that can provide parallel processing, a hardware/software interface system also manages dividing a program so that it runs on more than one processor at a time.
- a hardware/software interface system shell (simply referred to herein as a "shell”) is an interactive end-user interface to a hardware/software interface system.
- a shell may also be referred to as a "command interpreter” or, in an operating system, as an “operating system shell”).
- a shell is the outer layer of a hardware/software interface system that is directly accessible by application programs and/or end-users.
- a kernel is a hardware/software interface system's innermost layer that interacts directly with the hardware components.
- computer system is intended to encompass any and all devices capable of storing and processing information and/or capable of using the stored information to control the behavior or execution of the device itself, regardless of whether such devices are electronic, mechanical, logical, or virtual in nature.
- files are units of storable information that may include the hardware/software interface system as well as application programs, data sets, and so forth.
- files are the basic discrete (storable and retrievable) units of information (e.g., data, programs, and so forth) that can be manipulated by the hardware/software interface system.
- Groups of files are generally organized in "folders.”
- a folder is a collection of files that can be retrieved, moved, and otherwise manipulated as single units of information.
- directory a tree-based hierarchical arrangement
- directory a tree-based hierarchical arrangement
- the terms "directory” and/or “folder” are interchangeable, and early Apple computer systems (e.g., the Apple He) used the term "catalog” instead of directory; however, as used herein, all of these terms are deemed to be synonymous and interchangeable and are intended to further include all other equivalent terms for and references to hierarchical information storage structures and their folder and file components.
- a directory of folders is a tree-based hierarchical structure wherein files are grouped into folders and folder, in turn, are arranged according to relative nodal locations that comprise the directory tree.
- a DOS-based file system base folder (or "root directory") 212 may comprise a plurality of folders 214, each of which may further comprise additional folders (as "subfolders" of that particular folder) 216, and each of these may also comprise additional folders 218 ad infmitum.
- Each of these folders may have one or more files 220 although, at the hardware/software interface system level, the individual files in a folder have nothing in common other than their location in the tree hierarchy.
- each folder is a container for its subfolders and its files —that is, each folder owns its subfolders and files.
- each folder is deleted by the hardware/software interface system, that folder's subfolders and files are also deleted (which, in the case of each subfolder, further includes its own subfolders and files recursively).
- each file is generally owned by only one folder and, although a file can be copied and the copy located in a different folder, a copy of a file is itself a distinct and separate unit that has no direct connection to the original (e.g., changes to the original file are not mirrored in the copy file at the hardware/software interface system level).
- files and folders are therefore characteristically "physical" in nature because folders are the treated like physical containers, and files are treated as discrete and separate physical elements inside these containers.
- the present invention in combination with the related inventions incorporated by reference as discussed earlier herein, is directed to a storage platform for organizing, searching, and sharing data.
- the storage platform of the present invention extends and broadens the data platform beyond the kinds of existing file systems and database systems discussed above, and is designed to be the store for all types of data, including a new form of data called Items.
- An "Item” is an unit of storable information accessible to a hardware/software interface system that, unlike a simple file, is an object having a basic set of properties that are commonly supported across all objects exposed to an end-user by the hardware/software interface system shell. Items also have properties and relationships that are commonly supported across all Item types including features that allow new properties and relationships to be introduced (and discussed in great detail later herein).
- An "operating system” (OS) is a special program that acts as an intermediary between application programs and computer hardware. An operating system comprises, in most cases, a shell and a kernel.
- a "hardware/software interface system” is software, or a combination of hardware and software, that serves as the interface between the underlying hardware components of a computer system and applications that execute on the computer system.
- a hardware/software interface system typically comprises (and, in some embodiments, may solely consist of) an operating system.
- a hardware/software interface system may also comprise a virtual machine manager (VMM), a Common Language Runtime (CLR) or its functional equivalent, a Java Virtual Machine (JVM) or its functional equivalent, or other such software components in the place of or in addition to the operating system in a computer system.
- VMM virtual machine manager
- CLR Common Language Runtime
- JVM Java Virtual Machine
- the purpose of a hardware/software interface system is to provide an environment in which a user can execute application programs.
- the goal of any hardware/software interface system is to make the computer system convenient to use, as well as utilize the computer hardware in an efficient manner.
- a storage platform 300 comprises a data store 302 implemented on a database engine 314.
- the database engine comprises a relational database engine with object relational extensions.
- the relational database engine 314 comprises the Microsoft SQL Server relational database engine.
- the data store 302 implements a data model 304 that supports the organization, searching, sharing, synchronization, and security of data. Specific types of data are described in schemas, such as schemas 340, and the storage platform 300 provides tools 346 for deploying those schemas as well as for extending those schemas, as described more fully below.
- a change tracking mechanism 306 implemented within the data store 302 provides the ability track changes to the data store.
- the data store 302 also provides security capabilities 308 and a promotion/demotion capability 310, both of which are discussed more fully below.
- the data store 302 also provides a set of application programming interfaces 312 to expose the capabilities of the data store 302 to other storage platform components and application programs (e.g., application programs 350a, 350b, and 350c) that utilize the storage platform.
- the storage platform of the present invention still further comprises an application programming interfaces (API) 322, which enables application programs, such as application programs 350a, 350b, and 350c, to access all of the foregoing capabilities of the storage platform and to access the data described in the schemas.
- API application programming interfaces
- the storage platform API 322 may be used by application programs in combination with other APIs, such as the OLE DB API 324 and the Microsoft Windows Win32 API 326.
- the storage platform 300 of the present invention may provide a variety of services 328 to application programs, including a synchronization service 330 that facilitates the sharing of data among users or systems.
- the synchronization service 330 may enable interoperability with other data stores 340 having the same format as 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 interoperability of the data store 302 with existing file systems, such as the Windows NTFS files system 318.
- the storage platform 320 may also provide application programs with additional capabilities for enabling data to be acted upon and for enabling interaction with other systems. These capabilities may be embodied in the form of additional services 328, such as an Info Agent service 334 and a notification service 332, as well as in the form of other utilities 336.
- the storage platform is embodied in, or forms an integral part of, the hardware/software interface system of a computer system.
- the storage platform of the present invention may be embodied in, or form an integral part of, an operating system, a virtual machine manager (VMM), a Common Language Runtime (CLR) or its functional equivalent, or a Java Virtual Machine (JVM) or its functional equivalent.
- VMM virtual machine manager
- CLR Common Language Runtime
- JVM Java Virtual Machine
- the storage platform of the present invention enables more efficient application development for consumers, knowledge workers and enterprises. It offers a rich and extensible programming surface area that not only makes available the capabilities inherent in its data model, but also embraces and extends existing file system and database access methods.
- WinFS the storage platform 300 of the present invention may be referred to as "WinFS.” However, use of this name to refer to the storage platform is solely for convenience of description and is not intended to be limiting in any way.
- the data store 302 of the storage platform 300 of the present invention implements a data model that supports the organization, searching, sharing, synchronization, and security of data that resides in the store.
- an "Item" is the fundamental unit of storage information.
- the data model provides a mechanism for declaring Items and Item extensions and for establishing relationships between Items and for organizing Items in Item Folders and in Categories, as described more fully below.
- the data model relies on two primitive mechanisms, Types and Relationships. Types are structures which provide a format w r hich governs the form of an instance of the Type. The format is expressed as an ordered set of Properties.
- a Property is a name for a value or set of values of a given Type.
- a USPostalAddress type might have the properties Street, City, Zip, State in which Street, City and State are of type String and Zip is of Type Int32. Street may be multi-valued (i.e. a set of values) allowing the address to have more than one value for the Street property.
- the system defines certain primitive types that can be used in the construction of other types -these include String, Binary, Boolean, Intl6, Int32, Int64, Single, Double, Byte, DateTime, Decimal and GUTD.
- the Properties of a Type may be defined using any of the primitive types or (with some restrictions noted below) any of the constructed types.
- Relationships can be declared and represent a mapping between the sets of instances of two types. For example there may be a Relationship declared between the Person Type and the Location Type called LivesAt which defines which people live at which locations. The Relationship has a name, two endpoints, namely a source endpoint and a target endpoint. Relationships may also have an ordered set of properties. Both the Source and Target endpoints have a Name and a Type.
- the LivesAt Relationship has a Source called Occupant of Type Person and a Target called Dwelling of Type Location and in addition has properties StartDate and EndDate indicating the period of time for which the occupant lived at the dwelling. Note that a Person may live at multiple dwellings over time and a dwelling may have multiple occupants so the most likely place to put the StartDate and EndDate information is on the relationship itself.
- Relationships define a mapping between instances that is constrained by the types given as the endpoint types. For example the LivesAt relationship cannot be a relationship in which an Automobile is the Occupant because an Automobile is not a Person.
- the data model does allow the definition of a subtype-supertype relationship between types.
- the subtype-supertype relationship also known as the BaseType relationship is defined in such a way that if Type A is a BaseType for Type B it must be the case that every instance of B is also an instance of A. Another way of expressing this is that every instance that conforms to B must also conform to A. If, for example A has a property Name of Type String while B has a property Age of Type Intl ⁇ , it follows that any instance of B must have both a Name and an Age.
- the type hierarchy may be envisaged as an tree with a single supertype at the root. The branches from the root provide the first level subtypes, the branches at this level provide the second level subtypes and so on to the leaf-most subtypes which themselves do not have any subtypes.
- a given Type may have zero or many subtypes and zero or one super type.
- a given instance may conform to at most one type together with that type's super types. To put it another way, for a given instance at any level in the tree the instance may conform to at most one subtype at that level.
- a type is said to be Abstract if instances of the type must also be an instance of a subtype of the type. 1. Items [0103] An Item is a unit of storable information that, unlike a simple file, is an object having a basic set of properties that are commonly supported across all objects exposed to an end-user or application program by the storage platform.
- Items also have properties and relationships that are commonly supported across all Item types including features that allow new properties and relationships to be introduced, as discussed below.
- Items are the objects for common operations such as copy, delete, move, open, print, backup, restore, replicate, and so forth. Items are the units that can be stored and retrieved, and all forms of storable information manipulated by the storage platform exist as Items, properties of Items, or Relationships between Items, each of which is discussed in greater detail herein below.
- Items are intended to represent real-world and readily-understandable units of data like Contacts, People, Services, Locations, Documents (of all various sorts), and so on.
- Fig. 5 A is a block diagram illustrating the structure of an Item.
- the unqualified name of the Item is "Location”.
- the qualified name of the Item is "Core.Location” which indicates that this Item structure is defined as a specific type of Item in the Core Schema. (The Core Schema is discussed in more detail later herein.)
- the Location Item has a plurality of properties including EAddresses, MetropolitanRegion, Neighborhood, and PostalAddresses. The specific type of property for each is indicated immediately following the property name and is separated from the property name by a colon (":").
- EAddresses and PostalAddresses are properties of defined types or "complex types" (as denoted herein by capitalization) of types EAddress and PostalAddress respectively.
- a complex type is type that is derived from one or more simple data types and/or from other complex types.
- the complex types for the properties of an Item also constitute "nested elements” since the details of the complex type are nested into the immediate Item to define its properties, and the information pertaining to these complex types is maintained with the Item that has these properties (within the Item's boundary, as discussed later herein).
- FIG. 5B is a block diagram illustrating the complex property types PostalAddress and EAddress.
- the PostalAddress property type defines that an Item of property type PostalAddress can be expected to have zero or one City values, zero or one CountryCode values, zero or one MailStop values, and any number (zero to many) of PostalAddressTypes, and so on and so forth. In this way, the shape of the data for a particular property in an Item is hereby defined.
- the EAddress property type is similarly defined as shown.
- another way to represent the complex types in the Location Item is to draw the Item with the individual properties of each complex type listed therein.
- Fig. 5C is a block diagram illustrating the Location Item wherein its complex types are further described.
- this alternative representation of the Location Item in this Fig. 5C is for the exact same Item illustrated in Fig. 5 A.
- the storage platform of the present invention also allows subtyping whereby one property type can be a subtype of another (where the one property type inherits the properties of another, parent property type).
- Items inherently represent their own Item Types that can also be the subject of subtyping.
- the storage platform in several embodiments of the present invention allows an Item to be a subtype of another Item (whereby the one Item inherits the properties of the other, parent Item).
- every Item is a subtype of the "Item" Item type which is the first and foundational Item type found in the Base Schema. (The Base Schema will also be discussed in detail later herein.)
- Fig. 6A illustrates an Item, the Location Item in this Instance, as being a subtype of the Item Item type found in the Base Schema. In this drawing, the arrow indicates that the Location Item (like all other Items) is a subtype of the Item Item type.
- the Item Item type as the foundational Item from which all other Items are derived, has a number of important properties such as Itemld and various timestamps, and thereby defines the standard properties of all Items in an operating system. In the present figure, these properties of the Item Item type are inherited by Location and thereby become properties of Location. [0109] Another way to represent the properties in the Location Item inherited from the Item Item type is to draw Location with the individual properties of each property type from the parent Item listed therein.
- Fig. 6B is a block diagram illustrating the Location Item wherein its inherited types described in addition to its immediate properties. It should be noted and understood that this Item is the same Item illustrated in Fig.
- Certain embodiments of the present invention may enable one to request a subset of properties when retrieving a specific Item; however, the default for many such embodiments is to provide the Item with all of its immediate and inherited properties when retrieved.
- the properties of Items can also be extended by adding new properties to the existing properties of that Item's type. These "extensions" are thereafter bona fide properties of the Item and subtypes of that Item type may automatically include the extension properties.
- the "boundary" of the Item is represented by its properties (including complex property types, extensions, and so forth). An Item's boundary also represents the limit of an operation performed on an Item such as copy, delete, move, create, and so on.
- the boundary encompasses the following: • The Item Type of the Item and, if the Item is a subtype of another Item (as is the case in several embodiments of the present invention where all Items are derived from a single Item and Item Type in the Base Schema), any applicable subtype information (that is, information pertaining to the parent Item Type). If the original Item being copied is a subtype of another Item, the copy may also be a subtype of that same Item. • The Item's complex-type properties and extensions, if any.
- the copy may also have the same complex types.
- Item Identification [0112] Items are uniquely identified within the global items space with an ItemlD.
- the Base.Item type defines a field IternTD of type GUID that stores the identity for the Item.
- An Item must have exactly one identity in the data store 302.
- An item reference is a data structure that contains information to locate and identify an Item.
- an abstract type is defined named ItemReference from which all item reference types derive.
- the ItemReference type defines a virtual method named Resolve. The Resolve method resolves the ItemReference and returns an Item. This method is overridden by the concrete subtypes of ItemReference, which implement a function that retrieves an Item given a reference. The Resolve method is invoked as part of the storage platform API 322.
- ItemlDReference is a subtype of ItemReference.
- the Locator field names (i.e. identifies) an item domain. It is processed by a locator resolution method that can resolve the value of the Locator to an item domain.
- the ItemlD field is of type ItemLD [0115]
- ItemPathReference is a specialization of ItemReference that defines a Locator and a Path field.
- the Locator field identifies an item domain. It is processed by a locator resolution method that can resolve the value of the Locator to an item domain.
- the Path field contains a (relative) path in the storage platform namespace rooted at the item domain provided by the Locator. [0116] This type of reference cannot be used in a set operation.
- the reference must generally be resolved through a path resolution process.
- the Resolve method of the storage platform API 322 provides this functionality.
- the reference forms discussed above are represented through the reference type hierarchy illustrated in Fig. 11. Additional reference types that inherit from these types can be defined in the schemas. They can be used in a relationship declaration as type of the target field. 3.
- Item Folders and Categories [0118] As discussed more fully below, groups of Items can are organized into special Items called Item Folders (which are not to be confused with file folders). Unlike in most file systems, however, an Item can belong to move than one Item Folder, such that when an Item is accessed in one Item Folder and revised, this revised Item can then be accessed directly from another Item folder.
- an Item Folder does not necessarily own all of its member Items, or may simply co-own Items in conjunction with other folders, such that the deletion of an Item Folder does not necessarily result in the deletion of the Item.
- an Item must belong to at least one Item Folder so that if the sole Item Folder for a particular Item is deleted then, for some embodiments, the Item is automatically deleted or, in alternative embodiments, the Item automatically becomes a member of a default Item Folder (e.g., a "Trash Can" Item Folder conceptually similar to similarly-named folders used in various file-and-folder- based systems).
- Items may also belong to Categories based on common described characteristic such as (a) an Item Type (or Types), (b) a specific immediate or inherited property (or properties), or (c) a specific value (or values) corresponding to an Item property.
- Categories are conceptually different form Item Folders in that, whereas Item Folders may comprise Items that are not interrelated (i.e., without a common described characteristic), each Item in a Category has a common type, property, or value (a "commonality") that is described for that Category, and it is this commonality that forms the basis for its relationship to and among the other Items in the Category.
- Fig. 4 illustrates the structural relationship between Items, Item Folders, and Categories.
- a plurality of Items 402, 404, 406, 408, 410, 412, 414, 416, 418, and 420 are members of various Item Folders 422, 424, 426, 428, and 430. Some Items may belong to more than one Item Folder, e.g., Item 402 belong to Item Folders 422 and 424.
- Some Items e.g., Item 402, 404, 406, 408, 410, and 412 are also members of one or more Categories 432, 434, and 436, while other times, e.g., Items 414, 416, 418, and 420, may belong to no Categories (although this is largely unlikely in certain embodiments where the possession of any property automatically implies membership in a Category, and thus an Item would have to be completely featureless in order not to be a member of any category in such an embodiment).
- both Categories and Item Folders have structures more akin to directed graphs as shown. In any event, the Items, Item Folders, and Categories are all Items (albeit of different Item Types).
- the Base Schema defines certain special types of Items and properties, and the features of these special foundational types from which subtypes can be further derived.
- the use of this Base Schema allows a programmer to conceptually distinguish Items (and their respective types) from properties (and their respective types).
- the Base Schema sets forth the foundational set of properties that all Items may possess as all Items (and their corresponding Item Types) are derived from this foundational Item in the Base Schema (and its corresponding Item Type).
- the Base Schema defines three top-level types: Item, Extension, and PropertyBase.
- the Item type is defined by the properties of this foundational "Item” Item type.
- the top level property type "PropertyBase” has no predefined properties and is merely the anchor from which all other property types are derived and through which all derived property types are interrelated (being commonly derived from the single property type).
- the Extension type properties define which Item the extension extends as well as identification to distinguish one extension from another as an Item may have multiple extensions.
- ItemFolder is a subtype of the Item Item type that, in addition to the properties inherited from Item, features a Relationship for establishing links to its members (if any), whereas both IdentityKey and Property are subtypes of PropertyBase.
- Fig. 8A is a block diagram illustrating Items in the Core Schema
- Fig. 8B is a block diagram illustrating the property types in the Core Schema.
- the Core Schema defines a set of core Item types that, directly (by Item type) or indirectly (by Item subtype), characterize all Items into one or more Core Schema Item types which the Item-based hardware/software interface system understands and can directly process in a predetermined and predictable way.
- the predefined Item types reflect the most common Items in the Item-based hardware/software interface system and thus a level of efficiency is gained by the Item-based hardware/software interface system understanding these predefined Item types that comprise the Core Schema.
- the Core Schema is not extendable —that is, no additional Item types can be subtyped directly from the Item type in the Base Schema except for the specific predefined derived Item types that are part of the Core Schema.
- the storage platform mandates the use of the Core Schema Item types since every subsequent Item type is necessarily a subtype of a Core Schema Item type. This structure enables a reasonable degree of flexibility in defining additional Item types while also preserving the benefits of having a predefined set of core Item types.
- the specific Item types supported by the Core Schema may include one or more of the following: • Categories: Items of this Item Type (and subtypes derived therefrom) represent valid Categories in the Item-based hardware/software interface system. • Commodities: Items that are identifiable things of value. • Devices: Items having a logical structure that supports information processing capabilities. • Documents: Items with content that is not interpreted by the Item-based hardware/software interface system but is instead interpreted by an application program corresponding to the document type. • Events: Items that record certain occurrences in the environment. • Locations: Items representing physical locations (e.g., geographical locations). • Messages: Items of communication between two or more principals (defined below).
- the specific property types supported by the Core Schema may include one or more of the following: • Certificates (derived from the foundational PropertyBase type in the Base Schema) Principal Identity Keys (derived from the IdentityKey type in the Base Schema) Postal Address (derived from the Property type in the Base Schema) Rich Text (derived from the Property type in the Base Schema) EAddress (derived from the Property type in the Base Schema) IdentirySecurityPackage (derived from the Relationship type in the Base Schema) RoleOccupancy (derived from the Relationship type in the Base Schema) BasicPresence (derived from the Relationship type in the Base Schema)
- Relationships are binary relationships where one Item is designated as source and the other Item as target.
- the source Item and the target Item are related by the relationship.
- the source Item generally controls the life-time of the relationship. That is, when the source Item is deleted, the relationship between the Items is also deleted.
- Relationships are classified into: Containment and Reference relationships. The containment relationships control the life-time of the target Items, while the reference relationships do not provide any life-time management semantics.
- Fig. 12 illustrates the manner in which relationships are classified.
- the Containment relationship types are further classified into Holding and Embedding relationships. When all holding relationships to an Item are removed, the Item is deleted.
- a holding relationship controls the life-time of the target through a reference counting mechanism.
- the embedding relationships enable modeling of compound Items and can be thought of as exclusive holding relationships.
- An Item can be a target of one or more holding relationships; but an Item can be target of exactly one embedding relationship.
- An Item that is a target of an embedding relationship can not be a target of any other holding or embedding relationships.
- Reference relationships do not control the lifetime of the target Item. They may be dangling - the target Item may not exist. Reference relationships can be used to model references to Items anywhere in the global Item name space (i.e. including remote data stores).
- Fetching an Item does not automatically fetch its relationships. Applications must explicitly request the relationships of an Item.
- Relationship Declaration [0135] The explicit relationship types are defined with the following elements: • A relationship name is specified in the Name attribute. • Relationship type, one of the following: Holding, Embedding, Reference. This is specified in the Type attribute. • Source and target endpoints. Each endpoint specifies a name and the type of the referenced Item. • The source endpoint field is generally of type ItemlD (not declared) and it must reference an Item in the same data store as the relationship instance.
- the target endpoint field must be of type ItemlDReference and it must reference an Item in the same store as the relationship instance.
- the target endpoint can be of any ItemReference type and can reference Items in other storage platform data stores.
- one or more fields of a scalar or PropertyBase type can be declared. These fields may contain data associated with the relationship.
- Relationship instances are stored in a global relationships table. • Every relationship instance is uniquely identified by the combination (source ItemlD, relationship ID). The relationship ID is unique within a given source ItemlD for all relationships sourced in a given Item regardless of their type. [0136] The source Item is the owner of the relationship.
- the relationship can not be created if the person Item that is referenced by the source reference does not exist. Also, if the person Item is deleted, the relationship instances between the person and organization are deleted. However, if the Organization Item is deleted, the relationship is not deleted and it is dangling.
- Holding relationships are used to model reference count based life-time management of the target Items.
- An Item can be a source endpoint for zero or more relationships to Items.
- An Item that is not an embedded Item can be a target of in one or more holding relationships.
- the target endpoint reference type must be ItemlDReference and it must reference an Item in the same store as the relationship instance.
- Holding relationships enforce lifetime management of the target endpoint.
- the creation of a holding relationship instance and the Item that it is targeting is an atomic operation. Additional holding relationship instances can be created that are targeting the same Item. When the last holding relationship instance with a given Item as target endpoint is deleted the target Item is also deleted.
- the types of the endpoint Items specified in the relationship declaration will generally be enforced when an instance of the relationship is created. The types of the endpoint Items can not be changed after the relationship is established.
- Holding relationships play a key role in forming the Item namespace.
- the holding relationships form a directed acyclic graph (DAG).
- DAG directed acyclic graph
- the FolderMembers relationship enables the concept of a Folder as a generic collection of Items.
- Embedding relationships model the concept of exclusive control of the lifetime of the target Item. They enable the concept of compound Items.
- the creation of an embedding relationship instance and the Item that it is targeting is an atomic operation.
- An Item can be a source of zero or more embedding relationship.
- an Item can be a target of one and only one embedding relationship.
- An Item that is a target of an embedding relationship can not be a target of a holding relationship.
- the target endpoint reference type must be ItemlDReference and it must reference an Item in the same data store as the relationship instance.
- the types of the endpoint Items specified in the relationship declaration will generally be enforced when an instance of the relationship is created.
- the types of the endpoint Items can not be changed after the relationship is established.
- Embedding relationships control the operational consistency of the target endpoint. For example the operation of serializing of an Item may include serialization of all the embedding, relationships that source from that Item as well as all of their targets; copying an Item also copies all its embedded Items.
- the reference relationships do not guarantee the existence of the target, nor do they guarantee the type of the target as specified in the relationship declaration. This means that the reference relationships can be dangling. Also, the reference relationship can reference Items in other data stores. Reference relationships can be thought of as a concept similar to links in web pages.
- Any reference type is allowed in the target endpoint.
- the Items that participate in a reference relationship can be of any Item type.
- Reference relationships are used to model most non-lifetime management relationships between Items. Since the existence of the target is not enforced, the reference relationship is convenient to model loosely-coupled relationships. The reference relationship can be used to target Items in other data stores including stores on other computers.
- e) Rules and Constraints [0159] The following additional rules and constraints apply for relationships: • An Item must be a target of (exactly one embedding relationship) or (one or more holding relationships). One exception is the root Item. An Item can be a target. of zero or more reference relationships • An Item that is a target of embedding relationship can not be source of holding relationships.
- the storage platform of the present invention supports ordering of relationships.
- the ordering is achieved through a property named "Order" in the base relationship definition. There is no uniqueness constraint on the Order field. The order of the relationships with the same "order" property value is not guaranteed, however it is guaranteed that they may be ordered after relationships with lower "order” value and before relationships with higher “order” field value.
- Applications can get the relationships in the default order by ordering on the combination ( SourceltemlD, RelationshipID, Order). All relationship instances sourced from a given Item are ordered as a single collection regardless of the type of the relationships in the collection. This however guarantees that all relationships of a given type (e.g. , FolderMembers) are an ordered subset of the relationship collection for a given Item.
- the data store API 312 for manipulating relationships implement a set of operations that support ordering of relationships.
- the new relationship may be assigned "Order" value that is between ord and OrdNext, non-inclusive.
- MoveB ef or e( SourceltemlD, ord, RelationshipID ) moves the relationship with given relationship ID before the relationship with specified "Order” value.
- the relationship may be assigned a new "Order” value that is between OrdPrev and ord, non-inclusive.
- MoveAfter( SourceltemlD, ord, RelationshipID) moves the relationship with given relationship ID after the relationship with specified "Order” value.
- the relationship may be assigned a new order value that is between ord and OrdNext, non-inclusive. [0164] As previously mentioned, every Item must be a member of an Item Folder.
- Relationships In terms of Relationships, every Item must have a relationship with an Item Folder. In several embodiments of the present invention, certain relationships are represented by Relationships existing between the Items. [0165] As implemented for various embodiments of the present invention, a Relationship provides a directed binary relationship that is "extended" by one Item (the source) to another Item (the target). A Relationship is owned by the source Item (the Item that extended it), and thus the Relationship is removed if the source is removed (e.g., the Relationship is deleted when the source Item is deleted).
- a Relationship may share ownership of (co-own) the target Item, and such ownership might be reflected in the IsOwned property (or its equivalent) of the Relationship (as shown in Fig. 7 for the Relationship property type).
- creation of a new IsOwned Relationship automatically increments a reference count on the target Item, and deletion of such a Relationship may decrement the reference count on the target Item.
- Items continue to exist if they have a reference count greater than zero, and are automatically deleted if and when the count reaches zero.
- an Item Folder is an Item that has (or is capable of having) a set of Relationships to other Items, these other Items comprising the membership of the Item Folder.
- Other actual implementations of Relationships are possible and anticipated by the present invention to achieve the functionality described herein.
- a Relationship is a selectable connection from one object to another. The ability for an Item to belong to more than one Item Folder, as well as to one or more Categories, and whether these Items, Folders, and Categories are public or private, is determined by the meanings given to the existence (or lack thereof) in an Item-based structure.
- Logical Relationships are the meanings assigned to a set of Relationships, regardless of physical implementation, which are specifically employed to achieve the functionality described herein.
- Logical Relationships are established between the Item and its Item Folder(s) or Categories (and vice versa) because, in essence, Item Folders and Categories are each a special type of Item. Consequently, Item Folders and Categories can be acted upon the same way as any other Item — copied, added to an email message, embedded in a document, and so and so forth without limitation — and Item Folders and Categories can be serialized and de-serialized (imported and exported) using the same mechanisms as for other Items.
- the aforementioned Relationships which represent the relationship between- an Item and it Item Folder(s) can logically extend from the Item to the Item Folder, from the Item Folder to the Item, or both.
- a Relationship that logically extends from an Item to an Item Folder denotes that the Item Folder is public to that Item and shares its membership information with that Item; conversely, the lack of a logical Relationship from an Item to an Item Folder denotes that the Item Folder is private to that Item and does not share its membership information with that Item.
- a Relationship that logically extends from an Item Folder to an Item denotes that the Item is public and sharable to that Item Folder
- the lack of a logical Relationship from the Item Folder to the Item denotes that the Item is private and non-sharable.
- Item Folder 900 is a block diagram illustrating an Item Folder (which, again, is an Item itself), its member Items, and the interconnecting Relationships between the Item Folder and its member Items.
- the Item Folder 900 has as members a plurality of Items 902, 904, and 906.
- Item Folder 900 has a Relationship 912 from itself to Item 902 which denotes that the Item 902 is public and sharable to Item Folder 900, its members 904 and 906, and any other Item Folders, Categories, or Items (not shown) that might access Item Folder 900.
- Item 902 there is no Relationship from Item 902 to the Item Folder 900 which denotes that Item Folder 900 is private to Item 902 and does not share its membership information with Item 902.
- Item 904 does have a Relationship 924 from itself to Item Folder 900 which denotes that the Item Folder 900 is public and shares its membership information with Item 904.
- Item 904 there is no Relationship from the Item Folder 900 to Item 904 which denotes that Item 904 is private and not sharable to Item Folder 900, its other members 902 and 906, and any other Item Folders, Categories, or Items (not shown) that might access Item Folder 900.
- Item Folder 900 In contrast with its Relationships (or lack thereof) to Items 902 and 904, Item Folder 900 has a Relationship 916 from itself to the Item 906 and Item 906 has a Relationship 926 back to Item Folder 900, which together denote that Item 906 is public and sharable to Item Folder 900, its members 902 and 904, and any other Item Folders, Categories, or Items (not shown) that might access Item Folder 900, and that Item Folder 900 is public and shares its membership information with Item 906.
- Categories are described by a commonality that is common to all of its member Items. Consequently the membership of a Category is inherently limited to Items having the described commonality and, in certain embodiments, all Items meeting the description of a Category are automatically made members of the Category. Thus, whereas Item Folders allow trivial type structures to be represented by their membership, Categories allow membership based on the defined commonality. [0170] Of course Category descriptions are logical in nature, and therefore a Category may be described by any logical representation of types, properties, and/or values.
- a logical representation for a Category may be its membership to comprise Items have one of two properties or both. If these described properties for the Category are "A" and "B", then the Categories membership may comprise Items having property A but not B, Items having property B but not A, and Items having both properties A and B.
- This logical representation of properties is described by the logical operator "OR” where the set of members described by the Category are Items having property A OR B. Similar logical operands (including without limitation “AND”, “XOR”, and “NOT” alone or in combination) can also be used describe a category as will be appreciated by those of skill in the art.
- FIG. 10 is a block diagram illustrating a Category (which, again, is an Item itself), its member Items, and the interconnecting Relationships between the Category and its member Items.
- the Category 1000 has as members a plurality of Items 1002, 1004, and 1006, all of which share some combination of common properties, values, or types 1008 as described (commonality description 1008') by the Category 1000.
- Category 1000 has a Relationship 1012 from itself to Item 1002 which denotes that the Item 1002 is public and sharable to Category 1000, its members 1004 and 1006, and any other Categories, Item Folders, or Items (not shown) that might access Category 1000.
- Item 1002 does not have a Relationship 1024 from itself to Category 1000 which denotes that the Category 1000 is public and shares its membership information with Item 1004.
- Category 1000 has a Relationship 1016 from itself to Item 1006 and Item 1006 has a Relationship 1026 back to Category 1000, which altogether denotes that Item 1006 is public and sharable to Category 1000, its Item members 1002 and 1004, and any other Categories, Item Folders, or Items (not shown) that might access Category 1000, and that the Category 1000 is public and shares its membership information with Item 1006.
- Item Folder structures and/or Category structures are prohibited, at the hardware/software interface system level, from containing cycles.
- Item Folder and Category structures are akin to directed graphs
- the embodiments that prohibit cycles are akin to directed acyclic graphs (DAGs) which, by mathematical definition in the art of graph theory, are directed graphs wherein no path starts and ends at the same vertex. 6.
- DAGs directed acyclic graphs
- the storage platform is intended to be provided with an initial set of schemas 340, as described above.
- the storage platform allows customers, including independent software vendor (ISVs), to create new schemas 344 (i.e. new Item and Nested Element types).
- ISVs independent software vendor
- This section addresses the mechanism for creating such schemas by extending the Item types and Nested Element types (or simply "Element" types) defined in the initial set of schemas 340.
- extension of the initial set of Item and Nested Element types is constrained as follows: • an ISV is allowed to introduce new Item types, i.e.
- subtype Base.Item • an ISV is allowed to introduce new Nested Element types, i.e. subtype Base.NestedElement; • an ISV is allowed to introduce new extensions, i.e. subtype Base.NestedElement; but, • an ISV cannot subtype any types (Item, Nested Element, or Extension types) defined by the initial set of storage platform schemas 340.
- Extensions are strongly typed instances but (a) they cannot exist independently and (b) they must be attached to an Item or Nested Element.
- Extensions are also intended to address the "multi-typing" issue. Since, in some embodiments, the storage platform may not support multiple inheritance or overlapping subtypes, applications can use Extensions as a way to model overlapping type instances (e.g. Document is a legal document as well a secure document).
- Base.Extension This is a root type for the hierarchy of extension types. Applications can subtype Base.Extension to create specific extension types.
- Base.Extension type is defined in the Base schema as follows:
- the ItemlD field contains the ItemlD of the item that the extension is associated with. An Item with this ItemlD must exist. The extension can not be created if the item with the given ItemlD does not exist.
- Extensions When the Item is deleted all the extensions with the same ItemlD are deleted.
- the tuple (ItemID,ExtensionTD) uniquely identifies an extension instance.
- Extension types have fields; • Fields can be of primitive or nested element types; and • Extension types can be sub-typed.
- Extension types can not be sources and targets of relationships; • Extension type instances can not exist independently from an item; and • Extension types can not be used as field types in the storage platform type definitions
- extension types There are no constraints on the types of extensions 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 from each other in both structure and behavior. [0184] The extension instances are stored and accessed separately from the item. All extension type instances are accessible from a global extension view. An efficient query can be composed that will return all the instances of a given type of extension regardless of what type of item they are associated with. The storage platform APIs provides a programming model that can store, retrieve and modify extensions on items. [0185] The extension types can be type sub-typed using the storage platform single inheritance model. Deriving from an extension type creates a new extension type.
- Extension type instances can be directly accessed through the view associated with the extension type.
- the ItemlD of the extension indicates which item they belong to and can be used to retrieve the corresponding Item object from the global Item view.
- the extensions are considered part of the item for the purposes of operational consistency.
- the Copy/Move, Backup/Restore and other common operations that the storage platform defines may operate on the extensions as part of the item. [0186]
- a Contact type is defined in the Windows Type set.
- CRMExtension and HRExtension are two independent extensions that can be attached to Contact items. They are created and accessed independently of each other. [0190] In the above example, the fields and methods of the CRMExtension type cannot override fields or methods of the Contact hierarchy. It should be noted that instances of the CRMExtension type can be attached to Item types other than Contact.
- Nested element is part of the item Storage Item hierarchy is Item extension Stored with item stored in its own hierarchy is stored tables in its own tables Query/Search Can query item Can query item Can generally be tables extension tables queried only within the containing item context Query/Search Can search across Can search across Can generally only scope all instances of an all instances of an search within nested item type item extension type element type instances of a singe (containing) item Relationship Can have No Relationships to No Relationships to semantics Relationships to item extensions nested elements items Association to Can be related to Can generally only Related to item via items other items via be related via fields.
- the NestedElement type inherits from this type.
- the NestedElement element type additionally defines a field that is a multi-set of Elements. ⁇ Type Name- 'NestedElement" BaseType- 'Base.
- NestedElement extensions are different from item extensions in the following ways: • Nested element extensions are not extension types. They do not belong to the extension type hierarchy that is rooted in the Base.Extension type. • Nested element extensions are stored along with the other fields of the item and are not globally accessible - a query can not be composed that retrieves all instances of a given extension type. • These extensions are stored the same way as other nested elements (of the item) are stored.
- the NestedElement extensions are stored in a UDT. They are accessible through the Extensions field of the nested element type. • The collection interfaces used to access multi-valued properties is also used for accessing and iterating over set of type extensions. [0198] The following table summarizes and compares Item Extensions and NestedElement extensions.
- Item extensions vs NestedElement extensions Item Extension NestedElement Extension Storage Item extension hierarchy is Stored like nested elements stored in its own tables Query/Search Can query item extension Can generally only be tables queried within the containing item context Query/Search Can search across all Can generally only search scope instances of an item within nested element type extension type instances of a singe (containing) item Programmability Need special extension NestedElement extensions APIs and special querying are like any other multion extension tables valued field of nested element; normal nested element type APIs are used Behavior Can associate behavior No behavior permitted (?) Relationship No Relationships to item No Relationships to semantics extensions NestedElement extensions Item ID Shares the item id of the Does not have its own item item id.
- the data store is implemented on a database engine.
- the database engine comprises a relational database engine that implements the SQL query language, such as the Microsoft SQL Server engine, with object relational extensions.
- This section describes the mapping of the data model that the data store implements to the relational store and provides information on the logical API consumed by storage platform clients, in accordance with the present embodiment. It is understood, however, that a different mapping may be employed when a different database engine is employed. 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, e.g. object-oriented and XML databases.
- An object-oriented (OO) database system provides persistence and transactions for programming language objects (e.g. C++, Java).
- the storage platform notion of an "item” maps well to an "Object” in object-oriented systems, though embedded collections would have to be added to Objects.
- Other storage platform type concepts like inheritance and nested element types, also map object-oriented type systems.
- Object-oriented systems typically already support object identity; hence, item identity can be mapped to object identity.
- the item behaviors (operations) map well to object methods.
- object-oriented systems typically lack organizational capabilities and are poor in searching. Also, object-oriented systems to do not provide support for unstructured and semi-structured data.
- XML databases 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 could be mapped to the XSD type model. XSDs also do not provide support for behaviors. The XSDs for items would have to be augmented with item behaviors. XML databases deal with single XSD documents and lack organization and broad search capabilities.
- Fig. 13 is a diagram illustrating a notification mechanism.
- Fig. 14 is a diagram illustrating an example in which two transactions are both inserting a new record into the same B-Tree.
- Fig. 15 illustrates a data change detection process.
- Fig. 16 illustrates an exemplary directory tree.
- Fig. 17 shows an example in which an existing folder of a directory-based file system is moved into the storage platform data store. 1.
- the relational database engine 314 which in one embodiment comprises the Microsoft SQL Server engine, supports built-in scalar types.
- Built-in scalar types are "native" and “simple”. They are native in the sense that the user cannot define their own types and they are simple in that they cannot encapsulate a complex structure.
- User- defined types hereinafter: UDTs provide a mechanism for type extensibility above and beyond the native scalar type system by enabling users to extend the type system by defining complex, structured types.
- a UDT can be used anywhere in the type system that a built-in scalar type might be used
- the storage platform schemas are mapped to UDT classes in the database engine store.
- Data store Items are mapped to UDT classes deriving from the Base.Item type.
- Like Items, Extensions are also mapped to UDT classes and make use of inheritance.
- the root Extension type is Base.Extension, from which all Extension types are derived.
- a UDT is a CLR class - it has state (i.e., data fields) and behavior (i.e., routines). UDTs are defined using any of the managed languages - C#, VB.NET, etc.
- UDT methods and operators can be invoked in T-SQL against an instance of that type.
- a UDT can 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 [0206]
- the mapping of storage platform schemas to UDT classes is fairly straightforward at a high level. Generally, a storage platform Schema is mapped to a CLR namespace. A storage platform Type is mapped to a CLR class. The CLR class inheritance mirrors the storage platform Type inheritance, and a storage platform Property is mapped to a CLR class property. 2.
- Item Mapping Given the desirability for Items to be globally searchable, and the support in the relational database of the present embodiment for inheritance and type substitutabihty, one possible implementation for Item storage in the database store would be to store all Items in a single table with a column of type Base.Item. Using type substitutabihty, Items of all types could be stored, and searches could be filtered by Item type and sub-type using Yukon's "is of (Type)" operator. [0208] However, due to concerns about the overhead associated with such an approach, in the present embodiment, the Items are divided by top-level type, such that Items of each type "family" are stored in a separate table.
- a "shadow" table is used to store copies of globally searchable properties for all Items. This table may be maintained by the Update() method of the storage platform API, through which all data changes are made. Unlike the type family tables, this global Item table contains only the top-level scalar properties of the Item, not the full UDT Item object.
- the global Item table allows navigation to the Item object stored in a type family table by exposing an ItemlD and a TypelD.
- the ItemlD will generally uniquely identify the Item within the data store.
- the TypelD may be mapped using metadata, which is not described here, to a type name and the view containing the Item. Since finding an Item by its ItemlD may be a common operation, both in the context of the global Item table and otherwise, a Getltem() function is provided to retrieve an Item object given an Item's ItemlD.
- all queries of Items might be against views built on the Item tables described above. Specifically, views may be created for each Item type against the appropriate type family table. These type views may select all Items of the associated type, including sub-types.
- Extensions are very similar to Items and have some of the same requirements. As another root type supporting inheritance, Extensions are subject to many of the same considerations and trade-offs in storage. Because of this, a similar type family mapping is applied to Extensions, rather than a single table approach. Of course, in other embodiments, a single table approach could be used.
- an Extension is associated with exactly one Item by ItemlD, and contains an ExtensionID that is unique in the context of the Item.
- a function might be provided to retrieve an Extension given its identity, which consists of an ItemlD and ExtensionID pair.
- Nested Elements are types that can be embedded in Items, Extensions, Relationships, or other Nested Elements to form deeply nested structures. Like Items and Extensions, Nested Elements are implemented as UDT's, but they are stored within an Items and Extensions. Therefore, Nested Elements have no storage mapping beyond that of their Item and Extension containers. In other words, there are no tables in the system which directly store instances of NestedElement types, and there are no views dedicated specifically to Nested Elements. 5. Object Identity [0213] Each entity in the data model, i.e., each Item, Extension and Relationship, has a unique key value.
- An Item is uniquely identified by its Itemld.
- An Extension is uniquely identified by a composite key of (Itemld, Extensionld).
- a Relationship is identified by a composite key (Itemld, Relationshipld).
- Itemld, Extensionld and Relationshipld are GUID values.
- SQL Object Naming All objects created in the data store can be stored in a SQL schema name derived from the storage platform schema name. For example, the storage platform Base schema (often called “Base”) may produce types in the "[System.Storage]” SQL schema such as "[System.Storage]. Item”. Generated names are prefixed by a qualifier to eliminate naming conflicts.
- exclamation character (!) is used as a separator for each logical part of the name.
- Table below outlines the naming convention used for objects in the data store. Each schema element (Item, Extension, Relationship and View), is listed along with the decorated naming convention used to access instances in the data store.
- views are provided to support Relationships and Views (as defined by the Data Model). All SQL views and underlying tables in the storage platform are read-only. Data may be stored or changed using the UpdateQ method of the storage platform API, as described more fully below.
- Each view explicitly defined in a storage platform schema (defined by the schema designer, and not automatically generated by the storage platform) is accessible by the named SQL view [ ⁇ schema-name>].[View! ⁇ view-name>]. For example, a view named "BookSales" in the schema "AcmePublisher.Books” would be accessible using the name "[AcmePublisher.Books] .[ViewlBookSales]”.
- Fig. 28 is a diagram illustrating the concept of an Item search view.
- Item search view contains a row for each instance of an Item of the specific type or its subtypes.
- the view for Document could return instances of Document, LegalDocument and ReviewDocument.
- the Item views can be conceptualized as shown in Fig. 29.
- Master Item Search View Each instance of a storage platform data store defines a special Item view called the Master Item View. This view provides summary information on each Item in the data store. The view provides one column per Item type property, a column which described the type of the Item and several columns which are used to provide change tracking and synchronization information. The master item view is identified in a data store using the name "[System.Storage].[Master!Item]".
- Each Item type also has a search view. While 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 a data store using the name [schemaName].[itemTypeName]. For example [AcmeCorp.Doc] . [OfficeDoc] .
- Item Extensions in a WinFS Store are also accessible using search views.
- Master Extension Search View Each instance of a data store defines a special Extension view called the Master Extension View. This view provides summary information on each Extension in the data store. The view has a column per Extension property, a column which describes the type of the Extension and several columns which are used to provide change tracking and synchronization information.
- the master extension view is identified in a data store using the name "[System.Storage]. [MasteriExtension]".
- Each Extension type also has a search view. While similar to the master extension view, this view also provides access to the Item object via the _Extension column.
- Each typed extension search view is identified in a data store using the name [schemaName] .
- [Extension ! extension TypeName] For example [AcmeCorp.Doc]. [Extension! OfficeDocExt] .
- Each declared Relationship also has a search view which returns all instances of the particular relationship. While similar to the master relationship view, this view also provides named columns for each property of the relationship data.
- Each relationship instance search view is identified in a data store using the name [schemaName]. Relztionshi]) ⁇ relationshipName]. For example [AcmeCorp .Doc] . [Relationship ! Document Author] .
- Updates All views in the storage platform data store are read-only. In order to create a new instance of a data model element (item, extension or relationship), or to 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 which consumes an "operation” that details an action to be performed.
- the ProcessUpdategram method is a stored procedure which takes an ordered set of operations, known as an "updategram", which collectively detail a set of actions to be performed..
- the operation format is extensible and provides various operations over the schema elements. Some common operations include: 1. Item operations: a.
- Createltem (Creates a new item in the context of an embedding or holding relationship) b. Updateltem (updates an existing Item) 2.
- each typed search view provides additional information recording the sync state of each element in the sync topology.
- Tombstones The data store provides tombstone information for Items, Extensions and Relationships.
- the tombstone views provide information about both live and tombstoned entities (items, extensions and relationships) in one place.
- the item and extension tombstone views do not provide access to the corresponding object, while the relationship tombstone view provides access to the relationship object (the relationship object is NULL in the case of a tombstoned relationship).
- Item Tombstones [0238] Item tombstones are retrieved from the system via the view [System. Storage] . [Tombstone ! Item] .
- 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 addition of the Extensionld property.
- Relationships Tombstone [0240] Relationship tombstones are retrieved from the system via the view [System.Storage]. [Tombstone!Relationship]. Relationships tombstone information is similar to that provided for Extensions. However, additional information is provided on the target ItemRef of the relationship instance. In addition, the relationship object is also selected.
- the data store provides a tombstone cleanup task. This task determines when tombstone information may be discarded. The task computes a bound on the local create / update version and then truncates the tombstone information by discarding all earlier tombstone versions. 11.
- Helper APIs and Functions [0242] The Base mapping also provides a number of helper functions. These functions are supplied to aid common operations over the data model. a) Function [System.Storage].GetItem
- Metadata There are two types of metadata represented in the Store: instance metadata (the type of an Item, etc), and type metadata.
- instance metadata the type of an Item, etc
- type metadata the type metadata
- Schema metadata is stored in the data store as instances of Item types from the Meta schema.
- Instance Metadata is used by an application to query for the type of an Item and finds the extensions associated with an Item. Given the Itemld for an Item, an application can query the global item view to return the type of the Item and use this value to query the Meta.Type view to return information on the declared type of the Item. For example,
- Fig. 27 depicts a new identically protected security region being carved out of an existing security region, in accordance with one embodiment of a security model.
- the storage platform provides a notifications capability that allows applications to track data changes. This feature is primarily intended for applications which maintain volatile state or execute business logic on data change events. Applications register for notifications on items, item extensions and item relationships. Notifications are delivered asynchronously after data changes have been committed. Applications may filter notifications by item, extension and relationship type as well as type of operation. [0250] According to one embodiment, the storage platform API 322 provides two kinds of interfaces for notifications. First, applications register for simple data change events triggered by changes to items, item extensions and item relationships. Second, applications create "watcher" objects to monitor sets of items, item extensions and relationships between items.
- the storage platform provides a synchronization service 330 that (i) allows multiple instances of the storage platform (each with its own data store 302) to synchronize parts of their content according to a flexible set of rules, and (ii) provides an infrastructure for third parties to synchronize the data store of the storage platform of the present invention with with other data sources that implement proprietary protocols.
- Storage platform-to-storage platform synchronization occurs among a group of participating replicas. For example, with reference to Fig. 3, it may be desirable to provide synchronization between the data store 302 of the storage platform 300 with another remote data store 338 under the control of another instance of the storage platform, perhaps running on a different computer system. The total membership of this group is not necessarily known to any given replica at any given time.
- Different replicas can make the changes independently (i.e. concurrently). The process of synchronization is defined as making every replica aware of the changes made by other replicas. This synchronization capability is inherently multi-master.
- the synchronization capability of the present invention allows replicas to: • determine which changes another replica is aware of; • request information about changes that this replica is not aware of; • convey information about changes that the other replica is not aware of; determine when two changes are in conflict with each other; • apply changes locally; convey conflict resolutions to other replicas to ensure convergence; and resolve the conflicts based on specified policies for conflict resolutions.
- Storage Platform-to-Storage Platform Synchronization [0256] 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 level of the storage platform schemas (rather than the underlying tables of the database engine 314).
- the synchronization service operates on the principle of "net changes”. Rather than recording and sending individual operations (such as with transactional replication), the synchronization service sends the end-result of those operations, thus often consolidating the results of multiple operations into a single resulting change.
- the synchronization service does not in general respect transaction boundaries. In other words, if two changes are made to a storage platform data store in a single transaction, there is no guarantee that these changes are applied at all other replicas atomically — one may show up without the other.
- Synchronization (Sync) Controlling Applications Any application can connect to the synchronization service and initiate a sync operation. Such an application provides all of the parameters needed to perform synchronization (see sync profile below). Such applications are referred to herein as Sync Controlling Applications (SCAs).
- SCAs Sync Controlling Applications
- the synchronization service is awoken by the messages sent by the synchronization service from the originating machine. It responds based on the persistent configuration information (see mappings below) present on the destination machine.
- the synchronization service can be run on schedule or in response to events. In these cases, the synchronization service implementing the schedule becomes the SCA.
- the schema designer must annotate the storage platform schema with appropriate sync semantics (designating Change Units as described below).
- Second, synchronization must be properly configured on all of the machines having an instance of the storage platform that is to participate in the synchronization (as described below).
- a fundamental concept of the synchronization service is that of a Change Unit.
- a Change Unit is a smallest piece of schema that is individually tracked by the storage platform. For every Change Unit, the synchronization service may be able to determine whether it changed or did not change since the last sync.
- Designating Change Units in the schema serves several purposes. First, it determines how chatty the synchronization service is on the wire. When a change is made inside a Change Unit, the entire Change Unit is sent to the other replicas, since the synchronization service does not know which part of the Change Unit was changed. Second, it determines the granularity of conflict detection.
- the synchronization service raises a conflict; on the other hand, if concurrent changes are made to different change units, then no conflict is raised and the changes are automatically merged.
- Defining Change Units requires finding the right trade-offs. For that reason, the synchronization service allows schema designers to participate in the process.
- the synchronization service does not support Change Units that are larger than an element. However, it does support the ability for schema designers to specify smaller change units than an element — namely, grouping multiple attributes of an element into a separate Change Unit. In that embodiment, this is accomplished using the following syntax:
- sync community A group of storage platform partners that wish to keep certain parts of their data in sync are referred to as a sync community. While the members of the community want to stay in sync, they do not necessarily represent the data in exactly the same way; in other words, sync partners may transform the data they are synchronizing.
- sync partners may transform the data they are synchronizing.
- the synchronization service takes the approach of defining "Community Folders".
- a community folder is an abstraction that represents a hypothetical "shared folder" that all community members are synchronizing with.
- Joe wants to keep My Documents folders of his several computers in sync
- Joe defines a community folder called, say, JoesDocuments.
- Joe configures a mapping between the hypothetical JoesDocuments folder and the local My Documents folder. From this point on, when Joe's computers synchronize with each other, they talk in terms of documents in JoesDocuments, rather than their local items. This way, all Joe's computers understand each other without having to know who the others are — the Community Folder becomes the lingua franca of the sync community.
- Configuring the synchronization service consists of three steps: (1) defining mappings between local folders and community folders; (2) defining sync profiles that determine what gets synchronized (e.g.
- This element names the community folder that this mapping is for. The name follows the syntax rules of Folders. Imappings/localF older This element names the local folder that the mapping transforms into. The name follows the syntax rules of Folders. The folder must already exist for the mapping to be valid. The items within this folder are considered for synchronization per this mapping. /mappings/transformations This element defines how to transform items from the community folder to the local folder and back. If absent or empty, no transformations are performed. In particular, this means that no IDs are mapped. This configuration is primarily useful for creating a cache of a Folder.
- /mappings/transformations/mapIDs This element requests that newly generated local IDs be assigned to all of the items mapped from the community folder, rather than reusing community IDs.
- the Sync Runtime will maintain ID mappings to convert items back and forth.
- /mappings/transformations/localRoot This element requests that all root items in the community folder be made children of the specified root.
- Imappings/runAs This element controls under whose authority requests against this mapping are processed. If absent, sender is assumed. Imappings/runAs/ ender The presence of this element indicates that the sender of messages to this mapping must be impersonated, and requests processed under his credentials.
- a Sync Profile is a total set of parameters needed to kick off synchronization. It is supplied by an SCA to the Sync Runtime to initiate sync.
- Sync profiles for storage platform- to-storage platform synchronization contain the following information: • Local Folder, to serve as the source and destination for changes; • Remote Folder name to synchronize with - this Folder must be published from the remote partner by way of a mapping as defined above; • Direction - the synchronization service supports send-only, receive-only, and send-receive sync; • Local Filter — selects what local information to send to the remote partner.
- Profiles can also be serialized to and from XML files for easy storage (often alongside schedules). However, there is no standard place in the storage platform where all the profiles are stored; SCAs are welcome to construct a profile on the spot without ever persisting it. Note that there is no need to have a local mapping to initiate sync. All sync information can be specified in the profile. The mapping is, however, required in order to respond to sync requests initiated by the remote side. (3) Schedules [0273] In one embodiment, the synchronization service does not provide its own scheduling infrastructure. Instead, it relies on another component to peform this task - the Windows Scheduler available with the Microsoft Windows operating system.
- the synchronization service includes a command-line utility that acts as an SCA and triggers synchronization based on a sync profile saved in an XML file.
- This utility makes it very easy to configure the Windows Scheduler to run synchronization either on schedule, or in response to events such as user logon or logoff.
- Conflict handling in the synchronization service is divided into three stages: (1) conflict detection, which occurs at change application time - this step determines if a change can be safely applied; (2) automatic conflict resolution and logging - during this step (that takes place immediately after the conflict is detected) automatic conflict resolvers are consulted to see if the conflict can be resolved - if not, the conflict can be optionally logged; and (3) conflict inspection and resolution - this step takes place if some conflicts have been logged, and occurs outside of the context of the sync session - at this time, logged conflicts can be resolved and removed from the log.
- conflict Detection In the present embodiment, the synchronization service detects two types of conflicts: knowledge-based and constraint-based.
- a knowledge-based conflict occurs when two replicas make independent changes to the same Change Unit. Two changes are called independent if they are made without knowledge of each other — in other words, the version of the first is not covered by the knowledge of the second and vice versa.
- the synchronization service automatically detects all such conflicts based on the replicas' knowledge as described above.
- Constraint-based conflicts There are cases where independent changes violate an integrity constraint when applied together. For instance, two replicas creating a file with the same name in the same directory could cause such a conflict to occur. [0279] A constraint-based conflict involves two independent changes (just like a knowledge-based one), but they do not affect the same change unit. Rather, they affect different change units but with a constraint existing between them. [0280] The synchronization service detects constraint violations at change application time and raises constraint-based conflicts automatically. Resolving constraint-based conflicts usually requires custom code that modifies the changes in such as way as to not violate the constraint; The synchronization service does not provide a general-purpose mechanism for doing so.
- the synchronization service can take one of three actions (selected by the sync initiator in the Sync Profile): (1) reject the change, returning it back to sender; (2) log a conflict into a conflict log; or (3) resolve the conflict automatically. [0282] If the change is rejected, the synchronization service acts as if the change did not arrive at the replica. A negative acknowledgement is sent back to the originator. This resolution policy is primarily useful on head-less replicas (such as file servers) where logging conflicts is not feasible. Instead, such replicas force the others to deal with the conflicts by rejecting them. [0283] Sync initiators configure conflict resolution in their Sync Profiles.
- the synchronization service supports combining multiple conflict resolvers in a single profile in the following ways - first, by specifying a list of conflict resolvers to be tried one after another, until one of them succeeds; and second, by associating conflict resolvers with conflict types, e.g. directing update-update knowledge-based conflicts to one resolver, but all the other conflicts to the log.
- (a) Automatic Conflict resolution [0284] The synchronization service provides a number of default conflict resolvers. .
- This list includes: • local- wins: disregard incoming changes if in conflict with locally stored data; • remote-wins: disregard local data if in conflict with incoming changes; • last- writer- wins: pick either local-wins or remote-wins per change unit based on the timestamp of the change (note that the synchronization service in general does not rely on clock values; this conflict resolver is the sole exception to that rule); • Deterministic: pick a winner in a manner that is guaranteed to be the same on all replicas, but not otherwise meaningful - one embodiment of the synchronization services uses lexicographic comparisons of partner IDs to implement this feature. [0285] In addition, ISVs can implement and install their own conflict resolvers.
- Custom conflict resolvers may accept configuration parameters; such parameters must be specified by the SCA in the Conflict Resolution section of the Sync Profile.
- a conflict resolver When a conflict resolver handles a conflict, it returns the list of operations that need to be performed (in lieu of the conflicting change) back to the runtime. The synchronization service then applies these operations, having properly adjusted remote knowledge to include what the conflict handler has considered.
- conflict resolutions can be viewed as joins — combining two branches to form a single point. Thus, conflict resolutions turn version histories into DAGs.
- conflict Logging A very particular kind of a conflict resolver is the Conflict Logger.
- the synchronization service logs conflicts as Items of type ConflictRecord. These records are related back to the items that are in conflict (unless the items themselves have been deleted). Each conflict record contains: the incoming change that caused the conflict; the type of the conflict: update-update, update-delete, delete-update, insert-insert, or constraint; and the version of the incoming change and the knowledge of the replica sending it. Logged conflicts are available for inspection and resolution as described below.
- conflict inspection and resolution The synchronization service provides an API for applications to examine the conflict log and to suggest resolutions of the conflicts in it.
- the API allows application to enumerate all conflicts, or conflicts related to a given Item. It also allows such applications to resolve logged conflicts in one of three ways: (1) remote wins — accepting the logged change and overwriting the conflicting local change; (2) local wins — ignoring conflicting parts of the logged change; and (3) suggest new change — where the application proposes a merge that, in its opinion, resolves the conflict.
- the synchronization service removes them from the log.
- Convergence of replicas and Propagation of Conflict Resolutions [0291] In complex synchronization scenarios, the same conflict can be detected at multiple replicas.
- the synchronization service forwards conflict resolutions to other replicas.
- the synchronization service automatically finds any conflict records in the log that are resolved by this update and eliminates them. In this sense, a conflict resolution at one replica is binding on all the other replicas.
- the synchronization service applies the principle of binding conflict resolution and picks one of the two resolutions to win over the other automatically.
- the storage platform provides an architecture for ISVs to implement Sync Adapters that allow the storage platform to synchronize to legacy systems such as Microsoft Exchange, AD, Hotmail, etc.
- Sync Adapters benefit from the many Sync Service provided by the synchronization service, as described below.
- Sync Adapters do not need to be implemented as plug-ins into some storage platform architecture. If desired, a "sync adapter" can simply be any application that utilizes the synchronization service runtime interfaces to obtain services such as change enumeration and application. [0297] In order to make it simpler for others to configure and run synchronization to a given backend, Sync Adapter writers are encouraged to expose the standard Sync Adapter interface, which runs sync given the Sync Profile as described above. The profile provides configuration information to the adapter, some of which adapters pass to the Sync Runtime to control runtime services (e.g. the Folder to synchronize).
- the synchronization service provides a number of sync services to adapter writers. For the rest of this section, it is convenient to refer to the machine on which the storage platform is doing synchronization as the "client” and the non-storage platform backend that the adapter is talking to as the "server”.
- Change Enumeration Based on the change-tracking data maintained by the synchronization service, Change Enumeration allows sync adapters to easily enumerate the changes that have occurred to a data store Folder since the last time synchronization with this partner was attempted. [0300] Changes are enumerated based on the concept of an "anchor” — an opaque structure that represents information about the last synchronization.
- the anchor takes the form of the storage platform Knowledge, as described in the proceeding sections.
- Sync adapters utilizing change enumeration services fall into two broad categories: those using "stored anchors” vs. those using "supplied anchors”.
- the distinction is based on where the information about the last sync is stored ⁇ - on the client, or on the server. It is often easier for adapters to store this information on the client — the backend is often not capable of conveniently storing this information. On the other hand, if multiple clients synchronize to the same backend, storing this information on the client is inefficient and in some cases incorrect — it makes one client unaware of the changes that the other client has already pushed up to the server.
- an adapter wants to use a server-stored anchor, the adapter needs to supply it back to the storage platform at the time of change enumeration.
- the storage platform In order for the storage platform to maintain the anchor (either for local or remote storage), the storage platform needs to be made aware of the changes that were successfully applied at the server. These and only these changes can be included in the anchor.
- Sync Adapters use an Acknowledgement interface to report which changes were successfully applied.
- adapters using supplied anchors must read the new anchor (which incorporates all of the successfully-applied changes) and send it to their backend.
- Adapters need to store adapter-specific data along with the items they insert into the storage platform data store.
- Change Application allows Sync Adapters to apply changes received from their backend to the local storage platform. Adapters are expected to transform the changes to the storage platform schema.
- Fig. 24 illustrates the process by which storage platform API classes are generated from the storage platform Schema.
- a conflict is defined as two overlapping changes being made without knowledge of each other.
- Change Application When adapters use Change Application, they must specify the anchor with respect to which conflict detection is performed. Change Application raises a conflict if an overlapping local change that is not covered by the adapter's knowledge is detected. Similar to Change Enumeration, adapters may use either stored or supplied anchors. Change Application supports efficient storage of adapter-specific metadata. Such data may be attached by the adapter to the changes being applied, and might be stored by the synchronization service. The data might be returned on next change enumeration. (3) Conflict Resolution [0306] The Conflict Resolution mechanisms described above (logging and automatic resolution options) are available to sync adapters as well.
- Sync adapters may specify the policy for conflict resolution when applying changes. If specified, conflicts may be passed on to the specified conflict handler and resolved (if possible). Conflicts can also be logged. It is possible that the adapter may detect a conflict when attempting to apply a local change to the backend. In such a case, the adapter may still pass the conflict on to the Sync Runtime to be resolved according to policy. In addition, Sync Adapters may request that any conflicts detected by the synchronization service be sent back to them for processing. This is particularly convenient in the case where the backend is capable of storing or resolving conflicts. b) Adapter implementation [0307] While some "adapters" are simply applications utilizing runtime interfaces, adapters are encouraged to implement the standard adapter interfaces.
- the synchronization service strives to introduce as little as possible into the security model implemented by the storage platform. Rather than defining new rights for synchronization, existing rights are used. Specifically, • 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; and • anyone who can extend a data store Item can associate sync meta-data with that item. [0309] The synchronization service does not maintain secure authorship information.
- the synchronization service may use a "sweep" algorithm to collect and distribute information about the status of the replicas.
- the properties of the sweep algorithm ensure that information about all configured replicas is eventually collected and that failing (non-responsive) replicas are detected.
- This community- wide monitoring information is made available at every replica. Monitoring tools can be run at an arbitrarily-chosen replica to examine this monitoring information and make administrative decisions. Any configuration changes must be made directly at the affected replicas. J.
- the storage platform of the present invention is, in at least some embodiments, intended to be embodied as an integral part of the hardware/software interface system of a computer system.
- the storage platform of the present invention may be embodied as an integral part of an operating system, such as the Microsoft Windows family of operating systems.
- the storage platform API becomes a part of the operating system APIs through which application programs interact with the operating system.
- the storage platform becomes the means through which application programs store information on the operating system, and the Item based data model of the storage platform therefore replaces the traditional files system of such an operating system.
- the storage platform might replace the NTFS file system implemented in that operating system.
- application programs access the services of the NTFS file system through the Win32 APIs exposed by the Windows family of operating systems.
- the storage platform enables application programs which rely on the Win32 programming model to access the contents of both the data store of the storage platform as well as the traditional NTFS file system.
- the storage platform uses a naming convention that is a superset of the Win32 naming conventions to facilitate easy interoperability.
- the storage platform supports accessing files and directories stored in a storage platform volume through the Win32 API.
- the storage platform comprises an API that enables application programs to access the features and capabilities of the storage platform discussed above and to access items stored in the data store.
- This section describes one embodiment of a storage platform API of the storage platform of the present invention. Details regarding this functionality can be found in the related applications incorporated by reference earlier herein, with some of this information summarized below for convenience.
- a Containment Folder is an item which contains holding Relationships to other Items and is the equivalent of the common concept of a file system folder. Each Item is "contained" within at least one containment folder.
- Fig. 19 illustrates the basic architecture of the storage platform API, in accordance with the present embodiment.
- the storage platform API uses SQLClient 1900 to talk to the local data store 302 and may also use SQLClient 1900 to talk to remote data stores (e.g., data store 340).
- the local store 302 may also talk to the remote data store 340 using either DQP (Distributed Query Processor) or through the the storage platform synchronization service ("Sync") described above.
- the storage platform API 322 also acts as the bridge API for data store notifications, passing application's subscriptions to the notification engine 332 and routing notifications to the application (e.g., application 350a, 350b, or 350c), as also described above.
- the storage platform API 322 may also define a limited "provider" architecture so that it can access data in Microsoft Exchange and AD. [0319] Fig.
- the storage platform API consists of the following components: (1) data classes 2002, which represent the storage platform element and item types, (2) runtime framework 2004, which manages object persistence and provides support classes 2006; and (3) tools 2008, which are used to generate CLR classes from the storage platform schemas.
- the hierarchy of classes resulting from a given schema directly reflects the hierarchy of types in that schema.
- Fig. 22 illustrates the runtime framework in operation.
- the runtime framework operates as follows: 1. An application 350a, 350b, or 350c binds to an item in the storage platform. 2.
- the framework 2004 creates an ItemContext object 2202 corresponding to the bound item and returns it to the application. 3.
- the application submits a Find on this ItemContext to get a collection of Items; the returned collection is conceptually an object graph 2204 (due to relationships). 4.
- the application changes, deletes, and inserts data. 5.
- the application saves the changes by calling the Update() method.
- Fig. 23 illustrates the execution of a "FindAll" operation.
- Fig. 24 illustrates the process by which storage platform API classes are generated from the storage platform Schema
- Fig. 25 illustrates the schema on which the File API is based.
- the storage platform API includes a namespace for dealing with 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 store; this information is "promoted" from the file system objects or may be created natively using the Win32 API.
- the System.Storage.Files namespace has two classes: Fileltem and Directoryltem. The members of these classes and methods thereof can be readily divined by looking at the schema diagram in Fig. 25. Fileltem and Directoryltem are read-only from the storage platform API. In order to modify them, one has to use the Win32 API or classes in System.IO.
- a programming interface may be viewed as any mechanism, process, protocol for enabling one or more segment(s) of code to communicate with or access the functionality provided by one or more other segment(s) of code.
- a programming interface may be viewed as one or more mechanism(s), method(s), function call(s), module(s), object(s), etc. of a component of a system capable of communicative coupling to one or more mechanism(s), method(s), function call(s), module(s), etc. of other component(s).
- segment of code in the preceding sentence is intended to include one or more instructions or lines of code, and includes, e.g., code modules, objects, subroutines, functions, and so on, regardless of the terminology applied or whether the code segments are separately compiled, or whether the code segments are provided as source, intermediate, or object code, whether the code segments are utilized in a runtime system or process, or whether they are located on the same or different machines or distributed across multiple machines, or whether the functionality represented by the segments of code are implemented wholly in software, wholly in hardware, or a combination of hardware and software.
- a programming interface may be viewed genetically, as shown in Fig. 30A or Fig. 30B. Fig.
- FIG. 30A illustrates an interface Interfacel as a conduit through which first and second code segments communicate.
- Fig. 30B illustrates an interface as comprising interface objects II and 12 (which may or may not be part of the first and second code segments), which enable first and second code segments of a system to communicate via medium M.
- interface objects II and 12 which may or may not be part of the first and second code segments
- medium M enable first and second code segments of a system to communicate via medium M.
- Figs. 30A and 30B show bi-directional flow and interfaces on each side of the flow, certain implementations may only have information flow in one direction (or no information flow as described below) or may only have an interface object on one side.
- aspects of such a programming interface may include the method whereby the first code segment transmits information (where "information" is used in its broadest sense and includes data, commands, requests, etc.) to the second code segment; the method whereby the second code segment receives the information; and the structure, sequence, syntax, organization, schema, timing and content of the information.
- information is used in its broadest sense and includes data, commands, requests, etc.
- the underlying transport medium itself may be unimportant to the operation of the interface, whether the medium be wired or wireless, or a combination of both, as long as the information is transported in the manner defined by the interface.
- information may not be passed in one or both directions in the conventional sense, as the information transfer may be either via another mechanism (e.g. information placed in a buffer, file, etc. separate from information flow between the code segments) or non-existent, as when one code segment simply accesses functionality performed by a second code segment. Any or all of these aspects may be important in a given situation, e.g., depending on whether the code segments are part of a system in a loosely coupled or tightly coupled configuration, and so this list should be considered illustrative and non- limiting.
- Figs. 30A and 30B may be factored to achieve the same result, just as one may mathematically provide 24, or 2 times 2 time 3 times 2.
- the function provided by interface Interfacel may be subdivided to convert the communications of the interface into multiple interfaces Interfacel A, Interface IB, Interface IC, etc. while achieving the same result.
- the function provided by interface II may be subdivided into multiple interfaces Ila, lib, lie, etc. while achieving the same result.
- interface 12 of the second code segment which receives information from the first code segment may be factored into multiple interfaces I2a, I2b, I2c, etc.
- the number of interfaces included with the 1st code segment need not match the number of interfaces included with the 2nd code segment.
- the functional spirit of interfaces Interfacel and II remain the same as with Figs. 30A and 30B, respectively.
- the factoring of interfaces may also follow associative, commutative, and other mathematical properties such that the factoring may be difficult to recognize.
- 30A includes a function call Square(input, precision, output), a call that includes three parameters, input, precision and output, and which is issued from the 1st Code Segment to the 2nd Code Segment. If the middle parameter precision is of no concern in a given scenario, as shown in Fig. 32A, it could just as well be ignored or even replaced with a meaningless (in this situation) parameter. One may also add an additional parameter of no concern. In either event, the functionality of square can be achieved, so long as output is returned after input is squared by the second code segment. Precision may very well be a meaningful parameter to some downstream or other portion of the computing system; however, once it is recognized that precision is not necessary for the narrow purpose of calculating the square, it may be replaced or ignored.
- Inline Coding It may also be feasible to merge some or all of the functionality of two separate code modules such that the "interface" between them changes form. For example, the functionality of Figs.
- FIG. 33A the previous 1st and 2nd Code Segments of Fig. 30A are merged into a module containing both of them.
- the code segments may still be communicating with each other but the interface may be adapted to a form which is more suitable to the single module.
- formal Call and Return statements may no longer be necessary, but similar processing or response(s) pursuant to interface Interfacel may still be in effect.
- part (or all) of interface 12 from Fig. 30B may be written inline into interface II to form interface II".
- interface 12 is divided into I2a and I2b, and interface portion I2a has been coded in-line with interface II to form interface II".
- interface II For a concrete example, consider that the interface II from Fig. 30B performs a function call square (input, output), which is received by interface 12, which after processing the value passed with input (to square it) by the second code segment, passes back the squared result with output. In such a case, the processing performed by the second code segment (squaring input) can be performed by the first code segment without a call to the interface.
- Divorce A communication from one code segment to another may be accomplished indirectly by breaking the communication into multiple discrete communications. This is depicted schematically in Figs. 34A and 34B. As shown in Fig.
- one or more piece(s) of middleware (Divorce Interface(s), since they divorce functionality and / or interface functions from the original interface) are provided to convert the communications on the first interface, Interfacel, to conform them to a different interface, in this case interfaces Interface2A, Interface2B and Interface2C.
- middleware Divorce Interface(s)
- a third code segment can be introduced with divorce interface DIl to receive the communications from interface II and with divorce interface DI2 to transmit the interface functionality to, for example, interfaces I2a and I2b, redesigned to work with DI2, but to provide the same functional result.
- DIl and DI2 may work together to translate the functionality of interfaces II and 12 of Fig. 30B to a new operating system, while providing the same or similar functional result.
- the JIT compiler may be written so as to dynamically convert the communications from the 1st Code Segment to the 2nd Code Segment, i.e., to conform them to a different interface as may be required by the 2nd Code Segment (either the original or a different 2nd Code Segment).
- This is depicted in Figs. 35A and 35B.
- Fig. 35 A this approach is similar to the Divorce scenario described above. It might be done, e.g., where an installed base of applications are designed to communicate with an operating system in accordance with an Interface 1 protocol, but then the operating system is changed to use a different interface.
- the JIT Compiler could be used to conform the communications on the fly from the installed-base applications to the new interface of the operating system.
- a foundational concept of the present invention is the utilization of Items that, to a certain extent, model real- world application objects with complex structures, behaviors, and operations described by a schema and enforced by the hardware/software interface system.
- a hardware/software interface system (which, for convenience, we shall simply refer to as "WinFS” hereafter) may provides a mechanism by which Items (and Item types) can be extended using "Extensions.” Extensions provide additional data structures (Properties, Relationships, etc.) to already existing Items type structures.
- the storage platform allows customers, including independent software vendor (ISVs), to create new schemas (i.e., new Item and Nested Element types). Since an Item type or Nested Element type defined by the initial set of storage platform schemas may not exactly match an ISV application's need, it is necessary to allow ISVs to customize the type. This is allowed with the notion of Extensions. Extensions are strongly typed instances but (a) they cannot exist independently and (b) they must be attached to an Item or Nested Element.
- Extensions are also intended to address "multi-typing" issues. Since, in some embodiments, the storage platform may not support multiple inheritance or overlapping subtypes, applications can use Extensions as a way to model overlapping type instances (e.g., a Document may be a "legal document” as well a “secure document”).
- the WinFS type system provides a mechanism for defining structures of data.
- the type system is used to represent data stored in WinFS.
- a WinFS type is declared in a WinFS schema.
- a WinFS schema defines a namespace which serves as a logical grouping for a set of types and other WinFS schema elements.
- WinFS Schemas may be declared using a WinFS Schema Definition Language (SDL) that might use an XML format.
- SDL WinFS Schema Definition Language
- WinFS Schemas also serve as a unit for type versioning.
- WinFS defines several system schemas that bootstrap the system. These are the System.Storage schema namespace that contains the type declarations of the root types in the system, and the System.Storage. WinFS schema namespace that declares all the primitive scalar types in the system.
- the WinFS type system declares a set of simple scalar types. These types are used as the most primitive building block for all other types in the WinFS type system. These types are declared in the schema namespace System. Storage. WinFS. The following table defines the set of primitive types.
- a WinFS enumeration is a scalar type that declares a set of named constants called a value list.
- An enumeration type can be used in any place where a scalar type can be used.
- an enumeration declaration is an example for an enumeration declaration:
- a complex type is defined by a name and a set of properties.
- a Property is a member field of the type, and is defined by a name and a type.
- the type of a Property can be either scalar (including enumeration type) or other complex type.
- a WinFS type that can be used as type of a Property is called a nested type.
- An instance of a nested type can only exist as a value of a Property of a complex WinFS type — the instance is nested within an instance of a complex type.
- a nested type is declared using the NestedType schema element. Here are some examples of valid type declarations:
- a Size attribute For properties of type String and Binary a Size attribute must be specified. This attribute specifies the maximum size of the values contained in the Property.
- a Property can optionally declare a nuUability constraint using the Nullable attribute. A value "false" for this attribute indicates that the application must provide a value when creating an instance of the type.
- Another optional Property attribute is the Default attribute that specifies the default value for the Property. This value will be assigned to the Property at instance creation time if the application did not provide it.
- the Addresses Property in the example above is of type MultiSet.
- a Property of type MultiSet is also referred to as a multi-valued Property. In the example the MultiSet contains a set of instance of type Address.
- a MultiSet is similar to a collection.
- WinFS supports single-inheritance of types. All types in WinFS must inherit from one and only on WinFS type. The inheriting type is referred to as the derived type and the type from which this type was derived is referred to as the base type. The base type in the BaseType attribute of the WinFS type declaration elements. Suppose that type A derives from base type B which in turn derives from type C.
- the type C is an ancestor type of the types A and B.
- the type A is a descendant type of the types B and C.
- a data instance stored in WinFS is always an instance of a single type. We can however treat that data instance as an instance of a set of types containing the type and all its ancestor types. For a data instance which is an instance of such a set of types, we call the type which is not the ancestor of any other type in the set the most-derived type.
- a singly-typed data instance is an instance of exactly one most- derived type. In general, we will refer to the most-derived type of a singly-typed element as its type. The derived type inherits all the properties declared in its base type.
- the derived type can declare new properties but can not override the properties defined in the base type.
- a Property declared in the derived type must not use the same name as a Property of the base type.
- type Person has a Property RealName of type Name and a Property OtherNames which is a set of type Name. Normally it would be required that the Property RealName only have instances whose type is Name. However, with inheritance, single-valued instances are allowed to be the value of RealName as long as the type Name is one of ancestors of the most-derived type of that element. So, an instance of NameWithMiddlelnitial will be allowed to be the value of the Property RealName. [0346] The same rule is extended to set properties.
- the Property OtherNames contains a set of elements. For each singly-typed instance which is a member of that set, the most-derived type of that instance must have Name as one of its ancestors.
- Inheritance also enables convenient querying in that it is possible in the WinFS system to find all instances of a certain type. When looking for all instances of a type, the query engine will also return all instances whose most-derived types are descendents of this type. However, these operations are only supported for Item, Extension, and Relationship types (not Property types). For nested types (a.k.a., Nested Elements, Property, or complex property types), the operation is only supported for instances contained within a single multiset Property.
- Each type family has a different set of properties and usage in the WinFS type system.
- the System.Storage schema namespace declares four types that serve as root types for each of the type family. The following sections describe the type families in detail.
- Nested Element Types [0349] Unlike the other WinFS Type families, nested types can be used as types of properties of complex WinFS types. Instances of a nested type can only be nested inside an instance of another complex type. However, Instances of nested types cannot be queried globally — that is, applications cannot compose a simple query that returns all instances of a given nested type in the WinFS store. 2.
- a WinFS Item is an instance of a type whose ancestor is the type System.Storage.Item. This type is a complex type that is the root of the Item type family.
- System. Storage.Item declares a Property of name Itemld of type Guid. This is a special Property of an Item that serves as a primary key of the Item. The value of this Property is guaranteed to be unique for Items in a given WinFS store. This Property is non-nullable, and must be assigned by the application when creating an instance of an Item type. The Itemld Property is also immutable - it can never change and must not be reused.
- Relationship types enable Relationships to exist between Items.
- WinFS Relationship types describe binary Relationships where one Item is designated as the source and the other Item is designated as the target.
- a Relationship is an instance of a type whose ancestor is the type System.Storage.Relationship. This type is a root of the Relationship type hierarchy.
- System.Storage.Relationship type declares the following properties: • Sourceltemld - the Itemld of the Item that is a source of the Relationship instance • Relationshipld - a unique identifier of the Relationship relative to the source Item; the pair (Sourceltemld, Relationshipld) forms the primary key for Relationship types in WinFS • Targetltemld - the Itemld of the target of the Relationship ; • Mode - one of the 3 possible Relationship instance modes: Holding, Embedding or Reference • Name - contains the name of the Relationship for holding Relationships • IsHidden - a Boolean attribute that applications can optionally use to filter Relationships that do not need to be displayed
- a Relationship type is declared as a complex type with the following additional constraints: • Source and target endpoint specification: each endpoint specifies a name and the type of the referenced Item • Allowed modes of the instances of the Relationship type: a Relationship instance can not have a value for the Mode Property that is not allowed in the Relationship declaration [0354]
- a Relationship declaration is an example of a Relationship declaration:
- the DocumentAuthor Relationship is declared with restrictions of instances to Holding or Reference mode. This means that an instance of the DocumentAuthor Relationship can have instances with value Mode- 'Reference" or Mode- 'Holding". Instances with value Mode- 'Embedding" will not be allowed.
- the Relationship declares a source endpoint named "Document" of Item type "Core.Document” and a target endpoint of type "Core.Contact”.
- the Relationship also declares two additional properties.
- the Relationship instances are stored and accessed separately from the Item. All Relationship type instances are accessible from a global Extension view. A query can be composed that will return all the instances of a given type of Relationship.
- An Item that is not an embedded Item can be a target of one or more holding Relationships.
- the target Item must be in the same store as the Relationship instance.
- Holding Relationships enforce lifetime management of the target endpoint.
- the creation of a holding Relationship instance and the Item that it is targeting is an atomic operation. Additional holding Relationship instances can be created that are targeting the same Item. When the last holding Relationship instance with a given Item as target endpoint is deleted the target Item is also be deleted.
- the types of the endpoint Items specified in the Relationship declaration will be enforced when an instance of the Relationship is created. The types of the endpoint Items can not be changed after the Relationship is established.
- Holding Relationships play a key role in forming the WinFS Item namespace. All holding Relationships participate in the namespace declaration.
- the "Name" Property in the Relationship declaration defines the name of the target Item relative to the source Item. This relative name is unique for all the holding Relationships sourced from a given Item and cannot be null. The ordered list of this relative names starting from the root Item to a given Item forms the full name to the Item.
- the holding Relationships form a directed acyclic graph (DAG). When a holding Relationship is created the system ensures that a cycle is not created and thus ensuring that the WinFS Item namespace forms a DAG.
- DAG directed acyclic graph
- Embedding Relationships are modeling the concept of exclusive control of the lifetime of the target Item. They enable the concept of compound Items.
- the creation of an embedding Relationship instance and the Item that it is targeting is an atomic operation.
- An Item can be a source of zero or more embedding Relationship.
- An Item can be a target of a one and only one embedding Relationship.
- An Item that is a target of embedding Relationship can not be a target of a holding Relationship.
- the target Item must be in the same store as the Relationship instance.
- WinFS reference Relationships will be used to model most non lifetime management Relationships between Items. Since the existence of the target is not enforced, the reference Relationship is convenient to model loosely-coupled Relationships. The reference Relationship can be used to target Items in other WinFS stores including stores on other machines. The embedding Relationships do not participate in the WinFS namespace. The value of the Name Property of an embedding Relationship must be null.
- Relationship Rules and Contraints [0367] The following additional rules and constraints apply to Relationships: • An Item must be a target of (exactly one embedding Relationship) or (one or more holding Relationships). The only exception is the root Item.
- An Item can be a target of zero or more reference Relationships.
- An Item that is a target of embedding Relationship can not be source of holding Relationships. It can be a source of reference Relationships.
- An Item can not be a source of holding Relationship if it is promoted from file. Jt can be a source of embedding Relationships and reference Relationships.
- An Item can that is promoted from a file can not be a target of an embedding Relationship.
- Relationship type A can further restrict the allowed instance modes declared in the base Relationship.
- the restricted set of instance modes must be a subset of the base type set of allowed instance types.
- the names of the endpoints are treated as Property names: they can not be the same as a name of a Property or a name of an endpoint of the type or its base type.
- the Source and Target elements are optional if the corresponding endpoint type is not further restricted by the derived Relationship
- the LegalDocumentAuthor Relationship further restricts the source endpoint but not the target endpoint.
- the source endpoint type is Legal.Document which derives from Core.Document.
- the target endpoint is not restricted further in this case, hence the target element is omitted.
- the Relationship also further restricts the allowed instance modes. It disallows the Holding mode and only remaining allowed mode is Reference. 4. Extension Types [0369]
- a WinFS Extension is an instance of a type whose ancestor is the type System. Storage.Extension. This type is a complex type that is the root of the Extension type family.
- • System.Storage.Extension defines two properties: • Itemld - the Itemld of the Item that the Extension is associated with • Extensionld - a unique identifier for the Extension relative to the Itemld. The pair (Itemld, Extensionld) uniquely identifies an Extension instance.
- Extension types • Extension type instances can not exist independently from an Item. An Item type instance with the same Itemld as the Extension Itemld must exist in the store before the Extension type instance is created. The Extension can not be created if the Item with the given Itemld does not exist. When the Item is deleted all the Extensions with the same ItemlD are deleted.
- Extensions can not be sources and targets of Relationships.
- a hardware/software interface system utilizes Extensions and Inheritance in order to formalize relationships between various Items and thereby enhance the ability to query a plurality of Items.
- Fig. 36 illustrates a series of interrelated Items and a subset of their Relationships.
- the Document Item 3602 and a Contact Item 3604 are directly related by a designated relationship 3606 which, in this case, is an "author relationship” — that is, the Contact 3604 is the "author” of the Document 3602.
- the Picture Item 3622, the Music Item 3624, and the Special Item 3626 all inherit from the Document Item 3604 because each Items' type is a subtype of the Document Item type.
- the Person Item 3642 and the Organization Item 3644 inherit from the Contact Item 3604.
- these inheriting Items not only inherit the Properties of the respective parent Items (Document 3602 and Contact 3604), but they also inherit the designated Relationships between these two parent Items.
- Picture 3622 inherits a relationship 3662 to Contact 3604, a relationship 3664 to Person 3642, and a relationship 3666 to Organization 3644.
- Fig. 37A illustrates the shortcoming of standard subtyping of an Item for application specific purposes. In this figure, a Contact is accessable by four applications, APP1, APP2, APPX, and APPY.
- APP1 and APP2 access the standard Contact, but each of APPX and APPY need an extended contact object (add additional fields) and thus derive Contact' and Contact", each of which inherits from Contact.
- the problem is that there are now three different instances of the basic Contact Item — one in Contact, one in Contact', and one in Contact”.
- a partial solution to this problem, illustrated in Fig. 37B, is to extend the properties of Contact to include the fields necessary for an application that requires such. In this case, Contact is extended to include the Additional Fields required by APPX. However, directly extending the fields of an Item such as Contact can only be done once, and thus APPY cannot employ this method.
- a more comprehensive solution is to extend the Contact with an Extension that is distinct and separate from Contact itself as illustrated in Fig. 37C.
- APPX can extend Contact to include its APPX Additional Fields while APPY can also separately extend Contact to include its APPY Additional Fields.
- These Extensions are then themselves searchable and queryable, and thus these Extensions enable a form of multi-typing for the hardware/software interface system.
- the present invention is directed to a storage platform for organizing, searching, and sharing 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 designed to be the store for all types of data, including structured, non- structured, or semi-structured data, such as relational (tabular) data, XML, and a new form of data called Items.
- structured, non- structured, or semi-structured data such as relational (tabular) data, XML, and a new form of data called Items.
- the storage platform of the present invention enables more efficient application development for consumers, knowledge workers and enterprises. It offers a rich and extensible application programming interface that not only makes available the capabilities inherent in its data model, but also embraces and extends existing file system and database access methods.
- This program code may be stored on a computer-readable medium, such as a magnetic, electrical, or optical storage medium, including without limitation a floppy diskette, CD-ROM, CD-RW, DVD-ROM, DVD-RAM, magnetic tape, flash memory, hard disk drive, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer or server, the machine becomes an apparatus for practicing the invention.
- a computer-readable medium such as a magnetic, electrical, or optical storage medium, including without limitation a floppy diskette, CD-ROM, CD-RW, DVD-ROM, DVD-RAM, magnetic tape, flash memory, hard disk drive, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer or server, the machine becomes an apparatus for practicing the invention.
- the present invention may also be embodied in the form of program code that is transmitted over some transmission medium, such as over electrical wiring or cabling, through fiber optics, over a network, including the Internet or an intranet, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
- program code When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to specific logic circuits.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
Claims
Applications Claiming Priority (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/646,580 US7428546B2 (en) | 2003-08-21 | 2003-08-21 | Systems and methods for data modeling in an item-based storage platform |
US646580 | 2003-08-21 | ||
WOPCT/US03/26144 | 2003-08-21 | ||
PCT/US2003/026144 WO2005029313A1 (en) | 2003-08-21 | 2003-08-21 | Systems and methods for data modeling in an item-based storage platform |
US10/693,574 US7590643B2 (en) | 2003-08-21 | 2003-10-24 | Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface system |
US693574 | 2003-10-24 | ||
PCT/US2004/024569 WO2005024666A2 (en) | 2003-08-21 | 2004-07-29 | Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface system |
Publications (2)
Publication Number | Publication Date |
---|---|
EP1604310A2 EP1604310A2 (en) | 2005-12-14 |
EP1604310A4 true EP1604310A4 (en) | 2009-06-10 |
Family
ID=34279603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP04779583A Ceased EP1604310A4 (en) | 2003-08-21 | 2004-07-29 | Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface system |
Country Status (12)
Country | Link |
---|---|
EP (1) | EP1604310A4 (en) |
JP (1) | JP4580390B2 (en) |
KR (1) | KR101022936B1 (en) |
CN (1) | CN1871598B (en) |
AU (1) | AU2004271531B2 (en) |
BR (1) | BRPI0406512A (en) |
CA (3) | CA2815562C (en) |
IL (1) | IL168666A (en) |
MX (1) | MXPA05006260A (en) |
NO (1) | NO20052052L (en) |
TW (1) | TWI337310B (en) |
WO (1) | WO2005024666A2 (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8238696B2 (en) | 2003-08-21 | 2012-08-07 | Microsoft Corporation | Systems and methods for the implementation of a digital images schema for organizing units of information manageable by a hardware/software interface system |
US8131739B2 (en) | 2003-08-21 | 2012-03-06 | Microsoft Corporation | Systems and methods for interfacing application programs with an item-based storage platform |
US7590643B2 (en) | 2003-08-21 | 2009-09-15 | Microsoft Corporation | Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface system |
US8166101B2 (en) | 2003-08-21 | 2012-04-24 | Microsoft Corporation | Systems and methods for the implementation of a synchronization schemas for units of information manageable by a hardware/software interface system |
US7805422B2 (en) | 2005-02-28 | 2010-09-28 | Microsoft Corporation | Change notification query multiplexing |
KR100938830B1 (en) * | 2007-12-18 | 2010-01-26 | 한국과학기술정보연구원 | Method constructing knowledge base and thereof server |
CN101650670B (en) | 2008-08-14 | 2013-01-09 | 鸿富锦精密工业(深圳)有限公司 | Electronic system capable of sharing application program configuration parameters and method thereof |
US20100318964A1 (en) * | 2009-06-12 | 2010-12-16 | Microsoft Corporation | Software extension analysis |
CN103678687B (en) * | 2013-12-26 | 2017-04-05 | 北京奇虎科技有限公司 | Establishment of item method and device based on configuration system |
CN112015405B (en) * | 2019-05-29 | 2022-06-21 | 腾讯数码(天津)有限公司 | Interface layout file generation method, interface generation method, device and equipment |
TWI720528B (en) * | 2019-07-03 | 2021-03-01 | 神雲科技股份有限公司 | Clustered storage system for expanding expander |
WO2022010491A1 (en) * | 2020-07-10 | 2022-01-13 | Hewlett-Packard Development Company, L.P. | Application version switching |
US11423025B2 (en) * | 2020-07-27 | 2022-08-23 | International Business Machines Corporation | Direct data loading of middleware-generated records |
CN114201504A (en) * | 2021-11-15 | 2022-03-18 | 北京达佳互联信息技术有限公司 | Information acquisition method and device, electronic equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6047291A (en) * | 1995-05-01 | 2000-04-04 | International Business Machines Corporation | Relational database extenders for handling complex data types |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6324533B1 (en) * | 1998-05-29 | 2001-11-27 | International Business Machines Corporation | Integrated database and data-mining system |
US6385767B1 (en) * | 1999-09-30 | 2002-05-07 | Unisys Corporation | Method and system for creating and manipulating extensions to version control systems |
US6763350B2 (en) * | 2001-06-01 | 2004-07-13 | International Business Machines Corporation | System and method for generating horizontal view for SQL queries to vertical database |
US6697818B2 (en) * | 2001-06-14 | 2004-02-24 | International Business Machines Corporation | Methods and apparatus for constructing and implementing a universal extension module for processing objects in a database |
JP3695581B2 (en) * | 2001-08-08 | 2005-09-14 | ソニー株式会社 | Recording apparatus, recording method, recording medium, and electronic camera |
CN1561482A (en) * | 2001-08-24 | 2005-01-05 | 布鲁克斯自动控制公司 | Application class extensions |
JP2003150424A (en) * | 2001-11-16 | 2003-05-23 | Fujitsu Ltd | File system, control method, and program |
-
2004
- 2004-07-28 TW TW093122603A patent/TWI337310B/en not_active IP Right Cessation
- 2004-07-29 MX MXPA05006260A patent/MXPA05006260A/en active IP Right Grant
- 2004-07-29 KR KR1020057012318A patent/KR101022936B1/en active IP Right Grant
- 2004-07-29 EP EP04779583A patent/EP1604310A4/en not_active Ceased
- 2004-07-29 JP JP2006523871A patent/JP4580390B2/en not_active Expired - Fee Related
- 2004-07-29 CA CA2815562A patent/CA2815562C/en not_active Expired - Fee Related
- 2004-07-29 CA CA2815867A patent/CA2815867C/en not_active Expired - Fee Related
- 2004-07-29 CA CA2506337A patent/CA2506337C/en not_active Expired - Fee Related
- 2004-07-29 WO PCT/US2004/024569 patent/WO2005024666A2/en active Application Filing
- 2004-07-29 CN CN200480001833.4A patent/CN1871598B/en not_active Expired - Fee Related
- 2004-07-29 BR BR0406512-3A patent/BRPI0406512A/en not_active IP Right Cessation
- 2004-07-29 AU AU2004271531A patent/AU2004271531B2/en not_active Ceased
-
2005
- 2005-04-26 NO NO20052052A patent/NO20052052L/en unknown
- 2005-05-18 IL IL168666A patent/IL168666A/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6047291A (en) * | 1995-05-01 | 2000-04-04 | International Business Machines Corporation | Relational database extenders for handling complex data types |
Non-Patent Citations (1)
Title |
---|
No Search * |
Also Published As
Publication number | Publication date |
---|---|
NO20052052L (en) | 2005-07-06 |
AU2004271531B2 (en) | 2009-12-10 |
CA2815562A1 (en) | 2005-03-17 |
WO2005024666A2 (en) | 2005-03-17 |
KR101022936B1 (en) | 2011-03-16 |
MXPA05006260A (en) | 2005-08-19 |
CA2506337C (en) | 2015-01-20 |
CA2815867C (en) | 2015-09-29 |
JP2007503051A (en) | 2007-02-15 |
CA2815562C (en) | 2015-02-17 |
TWI337310B (en) | 2011-02-11 |
KR20060057524A (en) | 2006-05-26 |
IL168666A (en) | 2010-11-30 |
CA2506337A1 (en) | 2005-03-17 |
WO2005024666A3 (en) | 2005-10-20 |
TW200513874A (en) | 2005-04-16 |
NO20052052D0 (en) | 2005-04-26 |
CN1871598B (en) | 2014-10-15 |
BRPI0406512A (en) | 2005-12-06 |
AU2004271531A1 (en) | 2005-03-17 |
EP1604310A2 (en) | 2005-12-14 |
CN1871598A (en) | 2006-11-29 |
WO2005024666A8 (en) | 2005-08-18 |
JP4580390B2 (en) | 2010-11-10 |
CA2815867A1 (en) | 2005-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7917534B2 (en) | Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface system | |
US7483923B2 (en) | Systems and methods for providing relational and hierarchical synchronization services for units of information manageable by a hardware/software interface system | |
US8166101B2 (en) | Systems and methods for the implementation of a synchronization schemas for units of information manageable by a hardware/software interface system | |
US7743019B2 (en) | Systems and methods for providing synchronization services for units of information manageable by a hardware/software interface system | |
US7512638B2 (en) | Systems and methods for providing conflict handling for peer-to-peer synchronization of units of information manageable by a hardware/software interface system | |
US7401104B2 (en) | Systems and methods for synchronizing computer systems through an intermediary file system share or device | |
AU2004271525B2 (en) | Systems and methods for providing synchronization services for units of information manageable by a hardware/software interface system | |
US20050063083A1 (en) | Systems and methods for the implementation of a digital images schema for organizing units of information manageable by a hardware/software interface system | |
US20050049994A1 (en) | Systems and methods for the implementation of a base schema for organizing units of information manageable by a hardware/software interface system | |
ZA200504391B (en) | Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface system | |
EP1620781A2 (en) | Systems and methods for the implementation of a digital images schema for organizing units of information manageable by a hardware/software interface system | |
CA2815562C (en) | Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface system | |
JP4580389B2 (en) | System and method for synchronizing computer systems via an intermediary file system share or intermediary device | |
EP1573508A1 (en) | Systems for the implementation of a synchronization schemas | |
NZ540221A (en) | Systems and methods for extensions and inheritance for units of information manageable by a hardware/software interface system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 20050621 |
|
AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LI LU MC NL PL PT RO SE SI SK TR |
|
AX | Request for extension of the european patent |
Extension state: AL HR LT LV MK |
|
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1086092 Country of ref document: HK |
|
DAX | Request for extension of the european patent (deleted) | ||
A4 | Supplementary search report drawn up and despatched |
Effective date: 20090511 |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: G06F 9/44 20060101ALI20090504BHEP Ipc: G06F 17/30 20060101AFI20050322BHEP |
|
17Q | First examination report despatched |
Effective date: 20090716 |
|
RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R003 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED |
|
18R | Application refused |
Effective date: 20170923 |
|
REG | Reference to a national code |
Ref country code: HK Ref legal event code: WD Ref document number: 1086092 Country of ref document: HK |