发明名称 System and methods for enabling arbitrary developer code consumption of web-based data
摘要 A structured file includes information to bind a web data source to a web data query system. Code is embedded within the structured file and is in a code language understood by the web data query system. The code is unrestricted in function. Code language objects are exposed within the web data query system for use by the code to interface with the web data query system and the web data source. A URL is associated with the structured file to enable access of the structured file through the Internet. A unit-based quota method is implemented to manage execution of code in the structured file. The unit-based quota method collapses multiple dimensions of computing resource control into a single unit value, tracks a number of units expended by the code, and stops execution of the code when the number of units expended by the code reaches a set limit.
申请公布号 US9442978(B2) 申请公布日期 2016.09.13
申请号 US201313759843 申请日期 2013.02.05
申请人 Yahoo! Inc. 发明人 Trevor Jonathan;Pullara Sam;Gordineer Josh;Susarla Nagesh
分类号 G06F7/00;G06F17/30 主分类号 G06F7/00
代理机构 Martine Penilla Group, LLP 代理人 Martine Penilla Group, LLP
主权项 1. A method for operating a web data query system to manage execution of arbitrary programs on server-side computing resources, comprising: identifying code operations for which computing resource consumption is to be controlled; respectively assigning a unit cost to each identified code operation, wherein a given unit cost for a given code operation is based on an aggregate amount of computing resources consumed by the given code operation; setting a total unit usage limit for a program, the program including any number of the identified code operations; executing the program; tallying, using a computer, the unit cost of each identified code operation each time it is executed during execution of the program; operating the computer to stop execution of the program when a combined tallied unit cost of each identified code operation reaches the total unit usage limit for the program; computing a hash value for the program based on a code content of the program; storing the hash value for the program in a server-side memory; recording a count of each execution stoppage of the program due to reaching the total unit usage limit for the program against the hash value for the program; and blocking execution of the program for a period of time when the recorded count of execution stoppages of the program reaches a set value.
地址 Sunnyvale CA US