发明名称 Conditional processing method and apparatus
摘要 A conditional processing method and apparatus for efficient memory management are provided. A conditional processing method includes generating a parse tree by loading a plurality of nodes of data structured based on a declarative description language in a memory in series; evaluating, when a parsing switch node having an attribute describing a condition for conditional processing exists among the nodes, child nodes of the parsing switch node according to the attribute; loading only the child nodes fulfilling the attribute in the memory; and outputting the child nodes retained on the memory.
申请公布号 US9058181(B2) 申请公布日期 2015.06.16
申请号 US200912610817 申请日期 2009.11.02
申请人 Samsung Electronics Co., Ltd 发明人 Hwang Seo Young;Song Jae Yeon;Lee Kook Heui
分类号 G06F15/16;G06F15/173;G06F9/45;G06F17/27;G06F17/22 主分类号 G06F15/16
代理机构 The Farrell Law Firm, P.C. 代理人 The Farrell Law Firm, P.C.
主权项 1. A conditional processing method comprising the steps of: receiving a data stream including a plurality of elements; decoding the received data stream; generating a parse tree by loading the decoded data stream; determining whether a parsingSwitch element is detected while generating the parse tree; and if the parsingSwitch element is detected, loading at least one child element of the detected parsingSwitch element in a memory, based on at least one attribute of the detected parsingSwitch element, wherein, when the parsingSwitch element includes at least one child element, loading the at least one child element comprises: listing the at least one child element of the parsingSwitch element in an increasing order with respect to memory requirements of the at least one child element, if a mode attribute of the detected parsingSwitch element is incremental;loading the at least one child element of the parsingSwitch element according to a listed order in the memory; andstopping the loading of the at least one child element in the memory, when a first child element that does not fulfill a current memory status is encountered, andwherein the at least one child element is included in a plurality of child elements.
地址 KR