发明名称 Dynamically building locale objects at run-time
摘要 Locale objects are dynamically built from locale source files when requested at run-time. When a locale object is dynamically built, it is stored in global memory so it may be read by multiple applications. Dynamically building locale objects when requested allows software to operate with a relatively small number of locale objects instead of with hundreds or thousands of locale objects, as is known in the art. The result is significant savings in system-wide resources while still allowing for access to a large number of possible locales.
申请公布号 US9141352(B2) 申请公布日期 2015.09.22
申请号 US201213627354 申请日期 2012.09.26
申请人 International Business Machines Corporation 发明人 Bromley, Jr. Leander;Brown Christopher J.;Christenson Thuy Phuong;Glenski Patrick L.;Mehta Kershaw S.
分类号 G06F9/45;G06F9/445;G06F9/455 主分类号 G06F9/45
代理机构 Martin & Associates, LLC 代理人 Martin & Associates, LLC ;Martin Derek P.
主权项 1. An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a master character map residing in the memory; an operating system residing in the memory and executed by the at least one processor; a software application residing in the memory and executed by the at least one processor under control of the operating system; a plurality of locale source files residing in the memory; and a dynamic locale object builder residing in the memory and executed by the at least one processor, the dynamic locale object builder receiving a request for a locale object from the software application at run-time, and in response to the request for the locale object from the software application at run-time, the dynamic locale object builder generating an identified character map from the master character map, identifying at least one of the plurality of locale source files corresponding to the requested locale object, dynamically building the requested locale object from the identified character map and from the identified at least one locale source file, loading the requested locale object into the memory, and returning to the software application a reference to the requested locale object; wherein each of the plurality of locale source files includes a plurality of subsections and the requested locale object includes the plurality of subsections; and wherein the software application references the plurality of subsections in the requested locale object as needed.
地址 Armonk NY US