Type convertor registry

Data processing: database and file management or data structures – Database design – Data structure types

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C702S010000, C707S793000

Reexamination Certificate

active

06408299

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention generally relates to the conversion of data from one type to another type in computer software and, more particularly, to a generalized mechanism to manage ad-hoc type conversions in computer software.
2. Background Description
Converting data from one type, e.g., a string, to another type, e.g., a color, is a very common operation in computer software. An extremely common occurrence of this is when accepting an input in a graphical user interface (GUI) via a text field for a non-string data item such as a number.
Several categories of type conversions can be identified:
automatic type converts, where the language processor automatically converts a value of one type to be of another type by applying some conversion logic built-in to the language processor. This may be done for primitive types as well as for object types. In object systems, such conversions are limited to upward type converts in the underlying type lattice.
user-requested type converts, where the user (i.e., the application programmer) directs the compiler to convert a value of one type to be that of another type by applying either a static, user-defined or built-in convertor. This may be done for primitive types as well as object types.
ad-hoc type converts, where unrelated types of objects are converted using ad-hoc mechanisms, e.g., a string to a font. These are currently explicitly managed by the user (i.e., the application programmer versus the “system” (i.e., the language processor) programmer) by writing appropriate functions and invoking them as needed on an ad-hoc basis. In some cases, certain type conversions may be supported by library functions (e.g., converting from a string to an integer value).
As software development evolves towards the composition of off-the-shelf components, ad-hoc type conversions become ubiquitous. The current approach is very much oriented around a single programmer or programming project managing their own type conversion needs. The problem with this strategy is that it does not scale with large projects nor over time, and tends not to encourage the construction of reusable type convertors.
SUMMARY OF THE INVENTION
It is therefore an object of the present invention to provide a generalized mechanism to manage ad-hoc type conversions in computer software.
According to the invention, there is provided a management framework that separates the task of defining individual type converters from the task of locating type converters on demand. This separation is achieved by the introduction of a “type converter registry”. Type converters are added to the registry once they are defined in order to make them available for future use. Later on, type converters are retrieved on demand, by searching them in the registry according to a unique identification key.
This invention encourages and facilitates the reuse of component-oriented type conversions. It makes possible to distribute the usage of the management mechanism to either the application or the system (language processor) level. Finally, it enables run-time redefinition of the conversion algorithms (as opposed to statically defined conversions in the C++ language).


REFERENCES:
patent: 5524253 (1996-06-01), Pham et al.
patent: 5640567 (1997-06-01), Phipps
patent: 5742806 (1998-04-01), Reiner et al.
patent: 5752021 (1998-05-01), Nakatsuyama et al.
patent: 6006031 (1999-12-01), Andrews et al.
patent: 6021433 (2000-02-01), Payne et al.
patent: 6035307 (2000-03-01), Martin et al.
patent: 6041344 (2000-03-01), Bodamer et al.
patent: 6055370 (2000-04-01), Brown et al.
patent: 6063128 (2000-05-01), Bentley et al.
patent: 6092086 (2000-07-01), Martin et al.
patent: 6094684 (2000-07-01), Pallmann
patent: 6134559 (2000-10-01), Brumme et al.
patent: 6158044 (2000-12-01), Tibbetts
patent: 6163781 (2000-12-01), Wess, Jr.
patent: 6182153 (2001-01-01), Hollberg et al.
patent: 6226649 (2001-05-01), Bodamer et al.
patent: 6236997 (2001-05-01), Bodamer et al.
Title: Module Selection and Data Format conversion for cost-Optimal DSP Synthesis, author: Ito et al, ACM, 1994.*
Title: An Easy-To-Use Tool For Data Transformation, Source: Software, Jun. 1998.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Type convertor registry does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Type convertor registry, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Type convertor registry will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2928216

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.