{"pub_number":"US12373456B2","doc_number":"12373456","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Aggregation framework system architecture and method","abstract_text":"A system and computer implemented method for execution of aggregation expressions on a distributed non-relational database system is provided. According to one aspect, an aggregation operation may be provided that permits more complex operations using separate collections. For instance, it may be desirable to create a report from one collection using information grouped according to information stored in another collection. Such a capability may be provided within other conventional database systems, however, in a non-relational database system such as NoSQL, the system is not capable of performing server-side joins, such a capability may not be performed without denormalizing the attributes into each object that references it, or by performing application-level joins which is not efficient and leads to unnecessarily complex code within the application that interfaces with the NoSQL database system.","claims":[{"number":1,"text":"A computer-implemented method for execution of aggregation expressions on a distributed non-relational database system, the computer-implemented method comprising: receiving a database operation request including at least an aggregation operation to be executed directly on a distributed non-relational database storing a plurality of collections of documents including at least one first collection of documents and at least one second collection of documents; determining, by a computer system, an optimization for execution of the aggregation operation on the distributed non-relational database; and providing a lookup operation using the at least one first collection of documents and the at least one second collection of documents, wherein the lookup operation performs the aggregation operation in a series of stages, comprising: performing at least one first data operation from the aggregation operation on first data from the at least one first collection of documents to obtain a first da","independent":true},{"number":2,"text":"The computer-implemented method of claim 1, wherein the at least one first collection of documents and the at least one second collection of documents each permit storage of at least documents storing data based on attribute-value pairs and having different schemas specified by respective attribute-value pairs.","independent":false,"depends_on":[1]},{"number":3,"text":"The computer-implemented method of claim 2, wherein the at least one first collection of documents and the at least one second collection of documents each permit storage of at least BSON data structures having different schemas.","independent":false,"depends_on":[2]},{"number":4,"text":"The computer-implemented method of claim 1, wherein: at least one of the at least one first data operation and filtering the second data targets at least one identified common field; providing the lookup operation is responsive to determining that at least some documents of the at least one first collection of documents and at least some documents of the at least one second collection of documents include the at least one identified common field; and the first data and the second data each include the at least one identified common field.","independent":false,"depends_on":[1]},{"number":5,"text":"The computer-implemented method of claim 1, wherein providing the lookup operation performing each of the series of stages is responsive to executing the aggregation operation.","independent":false,"depends_on":[1]},{"number":6,"text":"The computer-implemented method of claim 1, wherein the filtering the second data using the first data result includes manipulating the second data according to the first data result of the at least one first data operation.","independent":false,"depends_on":[1]},{"number":7,"text":"The computer-implemented method of claim 1, wherein: the distributed non-relational database has at least one unstructured portion storing at least the at least one first and at least one second collections of documents; the aggregation operation targets data stored in the at least one unstructured portion of the distributed non-relational database; and the optimization is for execution of the aggregation operation at least on the at least one unstructured portion of the distributed non-relational database.","independent":false,"depends_on":[1]},{"number":8,"text":"The computer-implemented method of claim 1, wherein the database operation request is received from a client system.","independent":false,"depends_on":[1]}],"description":"RELATED APPLICATIONS\nThis Application is a Continuation of and claims the benefit under 35 U.S.C.\n§\n120 of U.S. application Ser. No. 15/605,143, filed May 25, 2017, entitled\n“\nAGGREGATION FRAMEWORK SYSTEM ARCHITECTURE AND METHOD\n”\n, which claims priority under 35 U.S.C.\n§\n119(e) to U.S. Provisional Application Ser. No. 62/341,511, entitled\n“\nAGGREGATION FRAMEWORK SYSTEM ARCHITECTURE AND METHOD\n”\nfiled on May 25, 2016, which is herein incorporated by reference in its entirety. Application Ser. No. 15/605,143 claims priority under 35 U.S.C.\n§\n119(e) to U.S. Provisional Application Ser. No. 62/341,490, entitled\n“\nAGGREGATION FRAMEWORK SYSTEM ARCHITECTURE AND METHOD\n”\nfiled on May 25, 2016, which is herein incorporated by reference in its entirety. Application Ser. No. 15/605,143 is a continuation-in-part of and claims the benefit under 35 U.S.C.\n§\n120 of U.S. application Ser. No. 15/042,297, entitled\n“\nAGGREGATION FRAMEWORK SYSTEM ARCHITECTURE AND METHOD\n”\nfiled on Feb. 12, 2016, which is herein incorporated by reference in its entirety. Application Ser. No. 15/042,297 is a continuation of and claims the benefit under 35 U.S.C.\n§\n120 of U.S. application Ser. No. 13/951,987, entitled\n“\nAGGREGATION FRAMEWORK SYSTEM ARCHITECTURE AND METHOD\n”\nfiled on Jul. 26, 2013, which is herein incorporated by reference in its entirety. Application Ser. No. 13/951,987 claims the benefit under 35 U.S.C.\n§\n119(e) to U.S. Provisional Application Ser. No. 61/676,188, entitled\n“\nAGGREGATION FRAMEWORK SYSTEM ARCHITECTURE AND METHOD\n”\nfiled on Jul. 26, 2012, which is herein incorporated by reference in its entirety. Application Ser. No. 13/951,987 is a continuation-in-part of and claims the benefit under 35 U.S.C.\n§\n120 of U.S. application Ser. No. 13/794,710, entitled","inventors":[{"name":"Eliot Horowitz","slug":"eliot-horowitz","city":"New York","country":"US"},{"name":"David Lenox Storch","slug":"david-lenox-storch","city":"Brooklyn","country":"US"},{"name":"Charles William Swanson","slug":"charles-william-swanson","city":"New York","country":"US"}],"assignees":[{"name":"MongoDB, Inc.","slug":"mongodb-inc","country":"US"}],"examiners":[],"cpc_codes":["G06F 16/24556","G06F 16/2471","G06F 16/248","G06F 16/254","G06F 16/258","G06F 16/27","G06F 16/284","G06F 16/951","G06F 16/9538","G06F 16/958"],"ipc_codes":["G06F 16/2455","G06F 16/2458","G06F 16/248","G06F 16/25","G06F 16/27","G06F 16/28","G06F 16/951","G06F 16/9538","G06F 16/958"],"filing_date":"2022-07-29","pub_date":"2025-07-29","grant_date":"2025-07-29","expiration_date":"2042-07-29","family_members":[],"citations_made":[{"pub_number":"US4918593A","category":"applicant"},{"pub_number":"US5379419A","category":"applicant"},{"pub_number":"US5416917A","category":"applicant"},{"pub_number":"US5471629A","category":"applicant"},{"pub_number":"US5551027A","category":"applicant"},{"pub_number":"US5598559A","category":"applicant"},{"pub_number":"US5710915A","category":"applicant"},{"pub_number":"US5884299A","category":"applicant"},{"pub_number":"US5999179A","category":"applicant"},{"pub_number":"US6065017A","category":"applicant"},{"pub_number":"US6088524A","category":"applicant"},{"pub_number":"US6112201A","category":"applicant"},{"pub_number":"US6115705A","category":"applicant"},{"pub_number":"US6212529B1","category":"applicant"},{"pub_number":"US6240406B1","category":"applicant"},{"pub_number":"US6240514B1","category":"applicant"},{"pub_number":"US6249866B1","category":"applicant"},{"pub_number":"US6324540B1","category":"applicant"},{"pub_number":"US6324654B1","category":"applicant"},{"pub_number":"US6339770B1","category":"applicant"},{"pub_number":"US6351742B1","category":"applicant"},{"pub_number":"US6363389B1","category":"applicant"},{"pub_number":"US6385201B1","category":"applicant"},{"pub_number":"US6385604B1","category":"applicant"},{"pub_number":"US6427230B1","category":"applicant"},{"pub_number":"US6438538B1","category":"applicant"},{"pub_number":"US6496843B1","category":"applicant"},{"pub_number":"US6505187B1","category":"applicant"},{"pub_number":"US6611850B1","category":"applicant"},{"pub_number":"US6687846B1","category":"applicant"},{"pub_number":"US6691101B2","category":"applicant"},{"pub_number":"US6748393B1","category":"applicant"},{"pub_number":"US6801905B2","category":"applicant"},{"pub_number":"US6823474B2","category":"applicant"},{"pub_number":"US6920460B1","category":"applicant"},{"pub_number":"US6959369B1","category":"applicant"},{"pub_number":"US6973452B2","category":"applicant"},{"pub_number":"US7020649B2","category":"applicant"},{"pub_number":"US7032089B1","category":"applicant"},{"pub_number":"US7082473B2","category":"applicant"},{"pub_number":"US7177866B2","category":"applicant"},{"pub_number":"US7181460B2","category":"applicant"},{"pub_number":"US7191299B1","category":"applicant"},{"pub_number":"US7246345B1","category":"applicant"},{"pub_number":"US7447807B1","category":"applicant"},{"pub_number":"US7467103B1","category":"applicant"},{"pub_number":"US7469253B2","category":"applicant"},{"pub_number":"US7472117B2","category":"applicant"},{"pub_number":"US7486661B2","category":"applicant"},{"pub_number":"US7529834B1","category":"applicant"},{"pub_number":"US7548928B1","category":"applicant"},{"pub_number":"US7552356B1","category":"applicant"},{"pub_number":"US7558481B2","category":"applicant"},{"pub_number":"US7567991B2","category":"applicant"},{"pub_number":"US7617369B1","category":"applicant"},{"pub_number":"US7634459B1","category":"applicant"},{"pub_number":"US7647329B1","category":"applicant"},{"pub_number":"US7657570B2","category":"applicant"},{"pub_number":"US7657578B1","category":"applicant"},{"pub_number":"US7668801B1","category":"applicant"},{"pub_number":"US7761465B1","category":"applicant"},{"pub_number":"US7778959B2","category":"applicant"},{"pub_number":"US7827144B1","category":"applicant"},{"pub_number":"US7957284B2","category":"applicant"},{"pub_number":"US7962458B2","category":"applicant"},{"pub_number":"US8005804B2","category":"applicant"},{"pub_number":"US8005868B2","category":"applicant"},{"pub_number":"US8037059B2","category":"applicant"},{"pub_number":"US8078825B2","category":"applicant"},{"pub_number":"US8082265B2","category":"applicant"},{"pub_number":"US8086597B2","category":"applicant"},{"pub_number":"US8099572B1","category":"applicant"},{"pub_number":"US8103906B1","category":"applicant"},{"pub_number":"US8108443B2","category":"applicant"},{"pub_number":"US8126848B2","category":"applicant"},{"pub_number":"US8170984B2","category":"applicant"},{"pub_number":"US8185505B1","category":"applicant"},{"pub_number":"US8260840B1","category":"applicant"},{"pub_number":"US8296419B1","category":"applicant"},{"pub_number":"US8305999B2","category":"applicant"}],"non_patent_literature":["[No Author Listed], Automated Administration Tasks (SQL Server Agent). https://docs.microsoft.com/en-us/sql/ssms/agent/automated-adminsitration-tasks-sql-server-agent. 2 pages. [downloaded Mar. 4, 2017].","Chang et al., Bigtable: a distributed storage system for structured data. OSDI'06: Seventh Symposium on Operating System Design and Implementation. Nov. 2006.","Cooper et al., PNUTS: Yahoo!'s hosted data serving platform. VLDB Endowment. Aug. 2008.","Decandia et al., Dynamo: Amazon's highly available key-value store. SOSP 2007. Oct. 2004.","Nelson et al., Automate MongoDB with MMS. PowerPoint Presentation. Published Jul. 24, 2014. 27 slides. http://www.slideshare.net/mongodb/mms-automation-mongo-db-world.","Ongaro et al., In Search of an Understandable Consensus Algorithm. Proceedings of USENIX ATC '14: 2014 USENIX Annual Technical Conference. Philadelphia, PA. Jun. 19-20, 2014; pp. 305-320.","Poder, Oracle living books. 2009.","<","http://tech.e2sn.com/oracle/sql/oracle-execution-plan-operation-reference",">"],"drawings_count":0,"source_id":"uspto_patent_grants","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":80,"npl_citations":10,"citations_per_year":0.0,"pagerank":0.0,"citation_rank":3483905,"pagerank_rank":3483905,"velocity_rank":3483905,"family_citations":0}}