发明名称 Apparatus and method for performing conversion between different units of currency using an encapsulated conversion path of exchange rates
摘要 A conversion path for converting between two different currencies is defined as a series of simple exchange rate objects and is encapsulated within a compound exchange rate object. The intelligence regarding the specific rules for making the conversion are encapsulated in a policy class, which governs how the path of exchange rates contained in the compound exchange rate is built. When a client requests conversion between two currencies, the compound exchange rate is constructed according to the policy to contain a path of exchange rate objects that may be used to make the requested conversion, and the compound exchange rate is then returned to the client. When the client then instructs the compound exchange rate to make a conversion of a known currency value in the source currency, the compound exchange rate object uses the exchange rate object or objects in the exchange rate path to perform the currency conversion. A system in accordance with the invention thus allows the computation of exchange rates in a fully encapsulated manner according to a predefined policy without the client having to know the details of how the conversion is performed.
申请公布号 US6944595(B1) 申请公布日期 2005.09.13
申请号 US19990275984 申请日期 1999.03.25
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 GRASER TIMOTHY JAMES;GROSS DAVE HENRY;FAWCETT BRADLEY WILLIAM
分类号 (IPC1-7):G06F17/60 主分类号 (IPC1-7):G06F17/60
代理机构 代理人
主权项
地址