-
公开(公告)号:US09830341B2
公开(公告)日:2017-11-28
申请号:US15240478
申请日:2016-08-18
Applicant: Google Inc.
Inventor: John Wilkes , Indranil Gupta , Walfredo Cirne , Brian Grant , Todd Pu-Tse Wang
CPC classification number: G06F17/30297 , G06F17/2229 , G06F17/2247 , G06F17/277 , G06F17/289 , G06F17/30867 , G06Q20/203
Abstract: A system and method with the following features is disclosed: receiving a partial name of a resource having an attribute moniker and attribute value; receiving a context associated with an attribute space moniker, an attribute moniker and an attribute value; receiving a schema associated with a set that includes an attribute space moniker and an attribute moniker; identifying a missing moniker that is present in the set but not the partial name; adding a missing moniker that is an attribute space moniker to the partial name; when a missing moniker is not an attribute space moniker, identifying a context where the attribute moniker is associated with the missing moniker and an attribute space moniker is present in the partial name or set; adding the context's attribute moniker and attribute value to the partial name; and returning the partial name with the added monikers and attribute values as the full name.
-
公开(公告)号:US20160357788A1
公开(公告)日:2016-12-08
申请号:US15240478
申请日:2016-08-18
Applicant: Google Inc.
Inventor: John Wilkes , Indranil Gupta , Walfredo Cirne , Brian Grant , Todd Pu-Tse Wang
CPC classification number: G06F17/30297 , G06F17/2229 , G06F17/2247 , G06F17/277 , G06F17/289 , G06F17/30867 , G06Q20/203
Abstract: In a computing resource environment including at least two different resource name spaces, a method for generating a fully-qualified name for a resource based on a context-based name of that resource and a usage context is disclosed. Method steps include receiving the resource's name schema, its context-based name, and usage context; comparing an entry in the schema and an entry in the context-based name and identifying schema monikers missing from the context-based name. For a missing moniker, determining whether it is an attribute space (aspace) moniker. If it is an aspace moniker, adding it to a full name that includes the context-based name. If it is not an aspace moniker, determining the aspace associated with the missing moniker; searching the usage context for an association between the missing moniker, its aspace, and a value assigned to the missing moniker; and appending the searched-for items to the full name.
Abstract translation: 在包括至少两个不同的资源名称空间的计算资源环境中,公开了一种基于该资源的上下文名称和使用上下文来生成用于资源的完全限定名称的方法。 方法步骤包括接收资源的名称模式,其基于上下文的名称和使用上下文; 比较模式中的条目和基于上下文的名称中的条目,并识别基于上下文的名称中缺少的模式标记。 对于一个缺少的绰号,确定它是否是一个属性空间(aspace)的绰号。 如果它是一个aspace标记,将其添加到包含基于上下文的名称的全名。 如果它不是一个天蝎座的绰号,确定与失踪的绰号相关的梦想; 搜索使用上下文中缺少的绰号,其天ace之间的关联以及分配给丢失的绰号的值; 并将搜索到的项目附加到全名。
-
公开(公告)号:US09483508B1
公开(公告)日:2016-11-01
申请号:US13931485
申请日:2013-06-28
Applicant: GOOGLE INC.
Inventor: John Wilkes , Todd Pu-Tse Wang , Walfredo Cirne , Brian Grant , Indranil Gupta
IPC: G06F17/30
CPC classification number: G06F17/30312
Abstract: A method of verifying the validity of a fully-qualified resource name within an environment including at least two different resource name spaces. The method includes receiving a fully qualified resource name having two or more tokens; and reading a token from the name. If the token represents the start of a name space, adding the name space onto a stack; and reading another token from the name. If read token doesn't represent the start of a name space, determining if it represents an end of the name space. If it does represent the end of the name space, popping the top of the stack as the subsequent token from the name. If it doesn't represent the start or end of the name space, checking if the token is a valid moniker for the name space. If it is valid, reading another token from the name, and otherwise returning an error.
Abstract translation: 一种在包括至少两个不同资源名称空间的环境内验证完全限定资源名称的有效性的方法。 该方法包括接收具有两个或多个令牌的完全限定资源名称; 并从名称中读取令牌。 如果令牌表示名称空间的开始,则将名称空间添加到堆栈中; 并从名称中读取另一个令牌。 如果读取标记不表示名称空间的开头,则确定它是否代表名称空间的结尾。 如果它表示名称空间的结尾,则从名称中弹出堆栈的顶部作为后续令牌。 如果它不表示名称空间的开始或结尾,请检查令牌是否是名称空间的有效名称。 如果它有效,从名称读取另一个令牌,否则返回错误。
-
-