发明名称 |
Conditional processing method and apparatus |
摘要 |
A conditional processing method and apparatus for efficient memory management are provided. A conditional processing method includes 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. |
申请公布号 |
US9298601(B2) |
申请公布日期 |
2016.03.29 |
申请号 |
US201514739848 |
申请日期 |
2015.06.15 |
申请人 |
Samsung Electronics Co., Ltd |
发明人 |
Hwang Seo Young;Song Jae Yeon;Lee Kook Heui |
分类号 |
G06F17/22;G06F17/27;G06F12/02;G06F9/45;G06F9/445 |
主分类号 |
G06F17/22 |
代理机构 |
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 at least one child element includes a plurality of child elements, loading the plurality of child elements comprises: listing the plurality of child elements of the parsingSwitch element in a decreasing order with respect to respective memory requirements of the plurality of child elements, when a mode attribute of the detected parsingSwitch element is decremental; and loading a first child element among the listed the plurality of child elements, when the first child element fulfills a current memory status in the memory. |
地址 |
KR |