发明名称 Automated discovery of resource definitions and relationships in a scripting environment
摘要 Embodiments of the invention use incomplete metadata, automated heuristics, and user input to construct a data model implemented by a set of commands used in a scripting environment. A combination of a static analysis and a runtime analysis of the scripting environment may be used to determine the data model. Commands that enumerate resources are identified. Return types for the commands are discovered either from a definition of the command or by running the command with default parameters. Properties for the return types are identified and key fields are identified for indexing. Relationships between the return types are identified, and additional commands associated with the return types are identified. The return type properties are analyzed to identify updatable return types. A data model of the scripting environment is created from the collected information.
申请公布号 US9038049(B2) 申请公布日期 2015.05.19
申请号 US201113228902 申请日期 2011.09.09
申请人 Microsoft Technology Licensing, LLC 发明人 Roberts Jeffrey S.;Sheikh Ishtiyaq Ahmad
分类号 G06F9/44;G06F9/455;G06F9/445 主分类号 G06F9/44
代理机构 代理人 Haslam Brian;Allen Mike;Minhas Micky
主权项 1. A method, comprising: performing, by one or more computer systems: identifying commands within a scripting environment that enumerate resources;executing the commands using default parameters to determine return types;determining properties for each return type;identifying key fields among the return type properties;indexing the return type properties using the key fields to identify related return types;searching for a matching update command; andupon locating the matching update command, checking for parameters that match properties of the update command's return type, marking a matching property of the update command's return type as writable, and marking a non-matching property of the update command's return type as read-only.
地址 Redmond WA US