US20040039730A1 - Data retrieving method and apparatus, data retrieving system and storage medium - Google Patents

Data retrieving method and apparatus, data retrieving system and storage medium Download PDF

Info

Publication number
US20040039730A1
US20040039730A1 US10/652,642 US65264203A US2004039730A1 US 20040039730 A1 US20040039730 A1 US 20040039730A1 US 65264203 A US65264203 A US 65264203A US 2004039730 A1 US2004039730 A1 US 2004039730A1
Authority
US
United States
Prior art keywords
data
retrieval
retrieval request
database
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US10/652,642
Other versions
US7016894B2 (en
Inventor
Joji Saeki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=16328298&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=US20040039730(A1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Individual filed Critical Individual
Priority to US10/652,642 priority Critical patent/US7016894B2/en
Publication of US20040039730A1 publication Critical patent/US20040039730A1/en
Priority to US11/337,380 priority patent/US7165064B2/en
Application granted granted Critical
Publication of US7016894B2 publication Critical patent/US7016894B2/en
Adjusted expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • G06F16/2448Query languages for particular applications; for extensibility, e.g. user defined types
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2452Query translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/912Applications of a database
    • Y10S707/913Multimedia
    • Y10S707/915Image
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/953Organization of data
    • Y10S707/956Hierarchical
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99932Access augmentation or optimizing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99933Query processing, i.e. searching
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99933Query processing, i.e. searching
    • Y10S707/99934Query formulation, input preparation, or translation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99933Query processing, i.e. searching
    • Y10S707/99935Query augmenting and refining, e.g. inexact access
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99933Query processing, i.e. searching
    • Y10S707/99936Pattern matching access
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99941Database schema or data structure
    • Y10S707/99943Generating database or data structure, e.g. via user interface

Definitions

  • the present invention generally relates to a database building technique, and more specifically, to a technique for retrieving data in a versatile manner from a database constructed in such a way as to include an unnormalized data structure.
  • RDB relational database
  • Normalized data can be easily retrieved by using a data manipulating language (hereinafter referred to as “DML”) such as SQL. Further, many general-purpose retrieval tools have been put to practical use. However, in actual RDBs, it is difficult to achieve complete data normalization. Moreover, actual RDBs contain many unnormalized or deorganized data. Hereinbelow, conditions for normal forms according to a relation theory in RDB are shown.
  • the technique of employing an unnormalized data structure which is hierarchically categorized, is heavily used as techniques of easily imparting a (non-integral) fractal dimension to the data space without impairing the whole data structure, differently from a normalized data model which handles only integral dimensions such as two-dimension and three-dimension of a data space.
  • a logic, on which a query statement for retrieving unnormalized data is based, in the foregoing RDB has a characteristic that it is difficult to describe this logic according to a first order predicate logic assumed by ordinary DML.
  • SQL which is the most standard DML, has a part of multi-order logic functions such as a sub-query and HAVING clause.
  • SQL has drawbacks in that these functions are weak and submit to many constraints and that logical prospects are poor. Further, the actual usage frequency of SQL is not high.
  • an object-oriented database obtained by encapsulating data and algorithms so as to be integral with one another is sometimes used to enable a local operation on data.
  • OODB object-oriented database
  • an operation of converting a data structure requires a great deal of time and effort.
  • unnormalized data structure a data structure including physically unnormalized data
  • normalized data structure a data structure including logically normalized data structure
  • a data retrieving method comprising the steps of providing data definition information for representing an unnormalized data structure contained in a database as a logically normalized data structure; analyzing a retrieval request from a user according to the data definition information so as to convert the retrieval request into a query statement which is executable by the database; executing the query statement relative to the database so as to obtain a retrieval result; and editing the obtained retrieval result according to the data definition information so as to generate a final retrieval result corresponding to the retrieval request.
  • the retrieval request includes a data extracting condition for restrictively specifying data to be retrieved, and that the query statement, which is executable by the database, is obtained by normalizing a logical description in the data extracting condition by a first-order predicate logic according to the data definition information.
  • the final retrieval result is obtained by eliminating data redundancy included in the retrieval result obtained by executing the query statement.
  • a data retrieving apparatus comprising a database built so as to include an unnormalized data structure; a data dictionary holding definition information for representing the unnormalized data structure as a logically normalized structure; a retrieval request input section for assisting an input of a retrieval request from a user according to the data dictionary; a retrieval request translation section for analyzing the retrieval request according to the data dictionary upon completion of the input of the retrieval request so as to convert the retrieval request into one or more query statements which are executable by the database; a retrieval processing section for issuing the one or more query statements to the database so as to acquire retrieval data composed of one or more results of execution of the one or more query statements; and a retrieval data processing section for editing the retrieval data so as to generate result data corresponding to the retrieval request.
  • the data dictionary includes the definition information to which display information selectably presented to the user when assisting the input, a query statement pattern for converting the retrieval request to the query statement which is executable by the database, and physical information in the database are related for each of logical items representing a data unit in the retrieval request.
  • the data dictionary includes a logical sub-item for complementing the logical item, and that information on categories in a logical item type for representing the unnormalized data structure as the logically normalized data structure is defined in the logical sub-item.
  • the retrieval request input section visibly presents the display information on data to be retrieved, according to the data dictionary, and interactively performs the selective input from the user of the retrieval request which includes an extraction condition for extracting the data to be retrieved.
  • the retrieval request input section designates a display format of the result data, the display format included in the retrieval request.
  • the retrieval request input section generates the result data from a plurality of display items, which are selected by the user from the display information, such that the plurality of display items employing a common display item as a key item are compounded into the result data.
  • the retrieval request input section dynamically adds information on the logical item type used for a logical description in an extraction condition to the data dictionary.
  • the retrieval request translation section performs a syntax analysis of the retrieval request according to the data dictionary to replace a retrieval request syntax pattern of the retrieval request with a corresponding query statement pattern which is executable by the database.
  • the retrieval request translation section converts the retrieval request into the one or more query statements which are normalized according to a first order predicate logic in a data manipulation language based on predetermined SQL.
  • the retrieval request translation section expands all the display items included in the retrieval request according to the data dictionary and converts the expanded display items into corresponding logical items, respectively, and that the retrieval request translation section removes data redundancy in the retrieval request by performing one of column integration for integrating different physical items, which compose the physical information, into a same logical item according to an extraction condition, column decomposition for decomposing a same physical item into different logical items, row selection for selecting a single logical item, whose content does not overlap with those of other items, from physical items whose contents overlap with those of other physical items, and key value selection for selecting different physical items according to a key value and aggregating the different physical items to a single logical item, and converts the retrieval request into the one or more query statements normalized according to a first order predicate logic in a data manipulation language based on predetermined SQL.
  • the retrieval data processing section removes a redundant part by integrating items formed from a same logical item in the retrieval data corresponding to the one or more query statements.
  • the retrieval data processing section performs data processing and tabulation on the retrieval data according to designation of a display format concerning the result data when the designation of the display format is included in the retrieval request.
  • the database is constructed as a predetermined object-oriented database.
  • a data retrieving system comprising the data retrieving apparatus according to claim 4 and a plurality of retrieval request source devices, wherein the data retrieving apparatus is bidirectionally communicably connected to the retrieval request source devices, and wherein the data retrieving apparatus is constituted so as to acquire a retrieval request issued from each of the retrieval request source devices and transmit a corresponding retrieval result to the corresponding retrieval request source device.
  • the retrieval request is inputted to the data retrieving apparatus through an agent function.
  • a storage medium storing a program which is executable by a computer apparatus comprising a database built so as to include an unnormalized data structure, and a data dictionary holding definition information for representing the unnormalized data structure as a logically normalized structure, the program causing the computer apparatus to execute the steps of: assisting an input of a retrieval request from a user according to the data dictionary; analyzing the retrieval request according to the data dictionary upon completion of the input of the retrieval request so as to convert the retrieval request into one or more query statements which are executable by the database; issuing the one or more query statements to the database so as to acquire retrieval data composed of one or more results of execution of the one or more query statements; and editing the retrieval data so as to generate result data corresponding to the retrieval request.
  • FIG. 1 is a functional block diagram illustrating a data retrieving apparatus according to a preferred embodiment of the present invention
  • FIG. 2 is a conceptual diagram illustrating a data structure conversion pattern according to the preferred embodiment of the present invention.
  • FIG. 3 is a conceptual diagram illustrating a data structure employed in a data dictionary according to the preferred embodiment of the present invention.
  • FIG. 4 is a functional block diagram illustrating a retrieval request designation control section according to the preferred embodiment of the present invention.
  • FIG. 5 is a conceptual diagram illustrating an operation of compounding data from items that are selected from a plurality of display tables according to the preferred embodiment of the present invention
  • FIG. 6 is a flowchart illustrating a procedure to be executed in a retrieval request translation processing section according to the preferred embodiment of the present invention
  • FIG. 7 is a conceptual diagram illustrating data retrieval performed in the retrieval request translation processing section
  • FIG. 8 is a conceptual diagram illustrating data retrieval performed in the retrieval request translation processing section
  • FIG. 9 is a schematic diagram illustrating data integration performed according to the preferred embodiment of the present invention.
  • FIGS. 10A and 10B are conceptual diagrams illustrating data structure conversion processing performed according to the preferred embodiment of the present invention.
  • FIGS. 11A and 11B are conceptual diagrams illustrating data structure conversion processing performed according to the preferred embodiment of the present invention.
  • FIG. 12 is a schematic diagram illustrating an example of data retrieval performed according to the preferred embodiment of the present invention.
  • FIG. 13 is a schematic diagram illustrating another example of data retrieval performed according to the preferred embodiment of the present invention.
  • FIG. 14 is a schematic diagram illustrating another example of data retrieval performed according to the preferred embodiment of the present invention.
  • FIG. 15 is a schematic diagram illustrating another example of data retrieval performed according to the preferred embodiment of the present invention.
  • FIG. 1 is a functional block diagram illustrating a data retrieving apparatus 1 according to the preferred embodiment of the present invention.
  • solid lines represent a process flow
  • dashed lines represent a flow of control data.
  • the data retrieving apparatus 1 implemented by a computer apparatus has a database 17 built in such a manner as to contain an unnormalized data structure in an internal or external storage device of the computer apparatus, and has a data dictionary 16 constructed in such a way as to include definition information to be used for representing the unnormalized data structure as a logically normalized data structure.
  • the data retrieving apparatus 1 further comprises a retrieval request designation control section 11 , a retrieval request translation processing section 12 , a database retrieval processing section 13 , a data integration processing section 14 and a result data output processing section 15 which are respectively represented by functional blocks shown in FIG. 1 and which are formed when a CPU of the computer apparatus reads and executes predetermined programs.
  • the data retrieving apparatus 1 may have an arbitrary configuration. For instance, only input-output related functions of the retrieval request designation control section 11 and the result data output processing section 15 may be implemented in a computer apparatus to be used as a user terminal UT. Functions of the database retrieval processing section 13 may be implemented in a database server which stores the database 17 . Functions of the other sections may be implemented in an application server dedicated thereto.
  • the computer apparatuses may be connected to one another through a local area network or a wide area network so as to be operated cooperatively.
  • the foregoing programs and data may be stored, for example, in portable storage media, such as CD-ROMs and FDs, which can be separated from the computer apparatuses, or in a program server connected to the network. Further, the programs and data may be read therefrom and installed in internal storage devices of the foregoing computer apparatuses or in external storage devices.
  • the retrieval request designation control section 11 controls the visual display on the screen of the user terminal UT according to the data dictionary 16 (to be described later), i.e. performs navigation for user operations such as selection of an object to be retrieved, designation of retrieval conditions, designation of a display format and designation of a retrieval method.
  • the control section 11 also issues a retrieval request based on an instruction received from a user. Display on the screen of the user terminal UT is controlled according to a virtual data structure based on the definition information that is described in the data dictionary 16 . In case of displaying data such as a code table, an operation of displaying thereof is actually performed by converting original data.
  • the retrieval request translation processing section 12 translates a retrieval request, which is issued from the retrieval request designation control section 11 , into a query statement which can be executed by the database according to various kinds of definition information described in the data dictionary 16 .
  • the retrieval request translation processing section 12 has data conversion functions as illustrated in FIG. 2.
  • these data conversion functions include a column integration function of integrating different physical items into a same logical item according to directions from a user which are described in a retrieval request, a column decomposition function of decomposing a same physical item into different logical items according to certain conditions, a row selection function of selecting a single logical item, whose content does not overlap with those of the others, from physical items, whose contents overlap with one another, according to certain conditions, and a key value selection function of selecting different physical items according to a key value and aggregating these physical items to a single logical item.
  • the retrieval request translation processing section 12 is constituted so as to generate one or more normalized query statements, which can be executed by using a first-order predicate logic, from a retrieval request.
  • the database retrieval processing section 13 executes one or more normalized query statements, generated by the retrieval request translation processing section 12 , relative to the database 17 , thereby obtaining retrieval results.
  • the data integration processing section 14 integrates a plurality of intermediate retrieval results, which are generated in a divided manner in processes performed by the database retrieval processing section 13 , into one table.
  • the data integration processing section 14 also generates a final retrieval result, which is compliant with the directions in the retrieval request, by performing additional data processing, which cannot be described only by using a first-order predicate logic, according to various kinds of definition information described in the data dictionary 16 .
  • a retrieval result obtained in the database retrieval processing section 13 will be referred to as “retrieval data”
  • a final retrieval result obtained in the data integration processing section 14 will be referred to as “result data”.
  • the result data output processing section 15 outputs to the user terminal UT the result data generated through the foregoing processes corresponding to the directions issued from the user.
  • the data dictionary 16 various kinds of definitions in the database 17 from which data is retrieved, and definition information concerning data processing structure and method for performing the functions intrinsic to the data retrieving apparatus 1 are described.
  • the data dictionary 16 working as a nucleus of the control in the data retrieving apparatus 1 realizes a virtual data structure serving as a higher order layer, which facilitates the user's understanding and data manipulation.
  • the data dictionary 16 is created and edited by a database administrator using a database administrator terminal DT and is managed in a centralized manner.
  • a display table index definition 301 provides definition information on the definition of an index in a display table constructed so that a user can easily select a desired object to be retrieved from a database.
  • the display table index definition 301 is suitably constituted so as to have an arbitrary manner, such as a tree structure, an associative structure and a list of data arranged in Japanese syllabary order, corresponding to uses and purposes of the database.
  • a display table definition 302 provides definition information on a definition in a display table which is a set of display items that can be simultaneously retrieved by a user. The user narrows down retrieval objects by selecting one or more display tables.
  • a display item definition 303 provides definition information on definitions in individual display items contained in each of the display tables. Each of the display items is related to one of the logical items without exceptions. When a plurality of display tables are selected, different display items related to a same logical item are treated as a same display item.
  • This logical item is the most important element in the data dictionary 16 , which is described in an logical item definition 304 , and is the unit of data in a retrieval request from a user, and is the unit of retrieval data provided as a result of retrieval from the database. Further, each of the logical terms is completely independent of the other logical terms and does not have a structure. Thus, a relationship is freely established between a display item which is visibly presented to a user, and a calculation or calculated item which is actually retrieved from the database.
  • logical items are classified into key candidate items and attribute candidate items.
  • Key candidate items are used as logical items for discrimination in setting extraction conditions and designating the grouping of data in a retrieval request.
  • the key candidate items are also treated as a header of result data.
  • the attribute candidate items are logical items on which set operations such as an accumulating operation is performed.
  • the attribute candidate items are treated as a body of result data.
  • the logical item definition 304 includes the descriptions of an extraction condition setting method, parameters such as a reference code table for controlling a retrieval request designation, a format editing method, and methods of processing and editing result data such as default values.
  • a logical item type definition 305 describes definitions for registering the types of logical items that can be handled by the data retrieving apparatus 1 .
  • the foregoing logical item definition 304 is related to one of the logical item type definition 305 .
  • the data retrieving apparatus 1 has functions including an algorithm depending on the logical item type and is constructed so that a display indicated on the screen can be dynamically changed according to this logical item type. Further, a logical item type can be dynamically added in response to users' needs by producing a program part, which uses a logical-item-type dependent algorithm, as an add-in external module.
  • Such logical item types include a numerical type, a currency type, a character string type, a code type, a hierarchical code type, a time type, a postal code type, a telephone number type, a voice type, an image type and a dynamic image type.
  • a logical sub-item definition 306 complements the logical item definition 304 and provides definition information corresponding to individual logical items in case the treatment of a logical item varies according to, for example, an item value or an item value pattern.
  • the logical item type is the hierarchical code type
  • a user designates a category of the major class to thereby cause the apparatus to display a list of categories of the intermediate class, which are related to the designated category. Then, the user further designates a category of the intermediate class to thereby cause the apparatus to display a list of categories of the minor class related thereto.
  • the logical sub-item definition 306 includes information on the definitions of categories of the major, intermediate and minor classes, and information on definitions for establishing the relations among the categories of these classes.
  • selection condition values related to the logical sub-items may be specific values, a specific range of values, a specific value pattern, or a set of specific value patterns, or a combination of these values and patterns.
  • An applicable calculation table 307 provides definition information on the definition of a calculation table, which can be applied to a specific display table when data is retrieved therefrom.
  • a plurality of calculation tables can be related to one display table.
  • the apparatus can establish the definitions of a (serial) relation, by which data is not retrieved from calculation tables other than the applied calculation table, and a (parallel) relation by which data may be retrieved from the calculation tables other than the applied calculation table.
  • the apparatus can establish the definition of the combination between the serial and parallel relations, which includes a nest.
  • a calculation table definition 308 provides definition information on the definition of a set of calculation items that can be simultaneously calculated. The number of issuances of database query statements is optimized by grouping the calculation items, which are contained in the calculation table, according to the definition information.
  • a calculation item definition 309 provides definition information concerning a calculation syntax and a calculation definition expression used in a practical method of calculating items from the database 17 . It is assumed that only one calculation item definition is defined correspondingly to each logical item in every calculation table at most and that, when a calculation item is not defined, a corresponding logical item cannot be calculated according to a corresponding calculation table. Moreover, in case a logical item has a logical sub-item, a calculation item may be related to the logical sub-item so that a calculation item is effective only when the logical item has a specific logical item value.
  • a calculation syntax definition 310 provides definition information on the definition of a language syntax, which is established as a pattern including a variable.
  • a database query statement is generated by automatically replacing a variable part of a syntax pattern with an effective expression according to a result of analysis of a retrieval request.
  • a physical table join definition 311 provides definition information on the definition of join conditions for establishing a join between a reference physical table and a join physical table when the join physical table is used.
  • one physical table to be used as a default reference physical table is related to an arbitrary number of other physical tables that are used as join physical tables to be complementarily referred to when the reference and join physical tables are joined. According to this definition information, join conditions for joining necessary physical tables are automatically added when a database query statement is generated.
  • a physical table definition 312 provides definition information on a definition which is the same as the definition of a list (or a table) that is stored in and retrieved from the database 17 , or on a copy of a necessary part of such a definition.
  • a physical item definition 313 provides definition information on a definition which is the same as the definition of an item (or a field) and the attribute thereof that are stored in a physical table, or on a copy of a necessary part of such a definition.
  • a database definition 314 provides definition information on the definitions of a connecting procedure for connecting the apparatus to the database 17 from which data is retrieved, kinds of data types which can be handled by the database 17 , kinds of functions provided in the database 17 , and information peculiar to the database 17 .
  • FIG. 4 is a functional block diagram illustrating functional blocks in the retrieval request designation control section 11 .
  • the retrieval request designation control section 11 comprises a retrieval object selection section 111 , an extraction condition designation section 112 , a display format designation section 113 and a retrieval request issuance section 114 .
  • FIG. 5 is a conceptual diagram illustrating an operation of compounding selected items, which is performed in the retrieval object selection section 111 . Only those items, such as “commodity”, which are common to a plurality of tables (a) and (b) shown in FIG. 5, are effective as key candidate items in case the plurality of display tables (a) and (b) are selected. Further, in case of a table (c) shown in FIG.
  • the extraction conditions corresponding to the selected key candidate item are designated. Practically, many screen images for setting pattern extraction conditions are prepared. Users can easily designate extraction conditions by selectively displaying an optimum screen image according to the logical item type of each item. For example, in case of the code type item, a user can select a specific code from a displayed list and designate the specific code by retrieving and displaying code tables, which are designated by the data dictionary 16 , from the database 17 . Similarly, in case of the hierarchical code items of the major, intermediate and minor classes, the hierarchical list of codes can be displayed by defining the data dictionary 16 so that tables and items are selected by determining a designated key value.
  • the conditions can be visually set according to time-series information by providing, for instance, a calendar or a clock in the apparatus.
  • a program which is used to generate a screen image and uses an algorithm, for setting an optimum extraction condition corresponding to a specific item is separately produced and dynamically added as an add-in program. Consequently, the apparatus realizes easiness and operability with which such a program can be executed as if this program were a specialized one.
  • a user can designate the display format of a result of retrieval, for example, a title representing a result of retrieval, the direction of an item list (namely, a row direction or a column direction), an order of the list (namely; an ascending order or a descending order), a total or subtotal, and a maximum number of displayable rows.
  • the retrieval request issuance section 114 sets a sequence of commands according to data designated by a user in each of the foregoing functional blocks and then sends the set sequence of commands to the retrieval request translation processing section 12 as a retrieval request.
  • the description format of a retrieval request includes a list of items to be retrieved, a table list to be retrieved, the designation of extraction conditions, the designation of the grouping of items, the designation of a sorting order, the destination of output of a retrieval result, and the designation of a format for displaying a retrieval result.
  • a syntax obtained by extending a standard SQL syntax may be used.
  • a specialized syntax may be used.
  • FIG. 6 is a flowchart illustrating a procedure to be executed in the retrieval request translation processing section 12 .
  • FIGS. 7 and 8 are schematic diagrams illustrating retrieval processes to be performed in the retrieval request translation processing section 12 .
  • the retrieval request translation processing section 12 expands these definitions according to the corresponding definition information to thereby convert these definitions into logical items (step S 101 ).
  • the retrieval request translation processing section 12 eliminates redundant logical items and generates a unique list of logical items to be included in retrieval data (step S 102 ).
  • the extraction condition is decomposed into a plurality of normalized extraction conditions, each of which consists of AND conditions and does not have different-level logical sub-items, by removing the OR condition after the former extraction condition is converted by simultaneously maintaining logical equivalence so that the OR condition is a highest hierarchical level condition (step S 103 ). Then, a set of logical items corresponding to each of the normalized extraction conditions is extracted by adding logical items, which are included in the corresponding extract condition in the foregoing unique list of logical items, to each of the normalized extraction conditions obtained as a result of the decomposition (step S 104 ). In the middle part of FIG. 7, the logical item sets of this example are shown.
  • calculation tables are checked according to calculation table relevance conditions correspondingly to the extracted logical item sets.
  • calculation tables (hereinafter referred to as “relevant calculation tables”) which meet the relevance conditions are detected (step S 105 ).
  • the following conditions are employed as the calculation table relevance conditions.
  • logical items used in the designation of the grouping and the extraction conditions will be referred to as key items. Further, logical items other than the key items will be described as attribute items.
  • a calculation table including all key items contained in a logical item set and further including at least one attribute item contained in the logical item set is a relevant calculation table.
  • calculation items of a unit of retrieval which are those retrieved by performing retrieval of a database once, are determined correspondingly to each of the relevant calculation tables by the following procedure (step S 106 ).
  • the retrieval request translation processing section 12 expands the item names, which concern the retrieval item list, the designation of grouping and the designation of sorting, into expressions according to the calculation definition expressions of calculation items, which are described by using a physical table and a physical item (step S 107 ). Regarding the normalized extraction conditions, the corresponding item names are similarly expanded into expressions according to the calculation definition expressions of calculation items (step S 108 ). FIG. 8 illustrates an example of this process.
  • a physical table join definition is obtained according to a reference physical table and the complementary table. Then, the obtained physical table join definition is added to table reference expressions or extraction condition expressions (step S 109 ).
  • Partial value sets in the logical item level are obtained by substituting the foregoing expressions, which are obtained by the expansion, in instruction elements such as a retrieval item list, a grouping designation expression list, a sorting designation list, an extraction condition expression and a table reference expression, which correspond to the relevant calculation table. Moreover, a normalized query statement, which can be executed on the database 17 , is generated (step S 110 ).
  • a sequence of normalized query statements which includes a set of all logical item values required to satisfy the designated retrieval request, can be obtained by repeatedly performing the foregoing process a number of times, the number of which is the sum of the number of units of retrieval described in the relevant calculation table, the number of relevant tables corresponding to each normalized extraction condition and the number of the normalized extraction conditions (steps S 111 to S 113 ).
  • the database retrieval processing section 13 has an interface with the database 17 from which data is retrieved.
  • the processing section 13 issues normalized query statements obtained in the retrieval request translation processing section 12 to the database 17 . Further, the processing section 13 acquires retrieval data, which represents a result of the retrieval, and then stores the retrieval data in a temporary storage area.
  • This retrieval data temporary storage area may be constituted by a temporary table provided on the database 17 , a temporary file provided on a magnetic storage medium, or a storage area on a memory.
  • the data integration processing section 14 is constituted by including the functions of integrating and processing retrieval data acquired in the database retrieval processing section 13 , and the function of editing result data.
  • FIG. 9 is a schematic diagram illustrating processing performed in the data integration processing section 14 .
  • the unnormalized (or redundant) part included among a plurality of retrieval data is removed by disregarding the differences in the normalized retrieval process and the presence of the logical sub-item among the plurality of retrieval data respectively obtained in a divided manner and by integrating the plurality of retrieval data in a single table format as a result of regarding the items, which are generated from the same logical item, to be the same with one another.
  • a table shown in an upper part of FIG. 9 indicates retrieval data obtained by the database retrieval processing section 13 . Further, a table shown in a middle part of FIG. 9 indicates a result of integration processing of this retrieval data.
  • the grouping of the table integrated by the data integration processing is performed according to the grouping designation in the retrieval request. Then, in case the description of the data processing is included in the logical item definition in the data dictionary 16 , predetermined data processing is implemented by utilizing the functions of performing a numerical operation, a character string manipulation, a date conversion and a code conversion.
  • the result data output processing section 15 acquires result data from the data integration processing section 14 and then displays the result data on the screen of the user terminal UT, outputs the result data by printing, outputs the result data as a file, or outputs the result data to applications for performing other kinds of data processing and display processing.
  • a database administrator uses an editing tool constituted by GUI (Graphical User Interface) and so on. This facilitates the update and maintenance of the definition information. Further, if a user is not familiar with databases, a graphical operating environment facilitates user's work.
  • GUI Graphic User Interface
  • FIGS. 10A, 10B, 11 A and 11 B are conceptual diagrams illustrating data integration processing.
  • FIG. 10A illustrates an example of the case (column integration) wherein different physical items are integrated into the same logical item.
  • the example shown in this figure employs calculation tables V 1 and V 2 that are in the parallel relation.
  • the calculation table V 1 is defined so that a specific logical item P refers to a physical item A (whose value is a) on a physical table T 1
  • the calculation table V 2 is defined so that the logical item P refers to a physical item B 1 (whose value is b) on the same table T 1 or to a physical item B 2 (whose value is b) on a different table T 2 . Consequently, both of records respectively including values a and b in the logical item P are generated as retrieval data.
  • Final result data f(P) is obtained by performing data processing on this retrieval data. Consequently, items arranged in a column direction on the database are rearranged in a row direction. Arbitrary operation can be performed on the resultant items.
  • FIG. 10B illustrates an example of the case (column decomposition) wherein a same physical item is decomposed into different logical items.
  • the example shown in this figure employs calculation tables V 1 and V 2 that are in the parallel relation.
  • the calculation table V 1 is defined so that a specific logical item P refers to a physical item A (whose value is a) on a physical table T only under the condition x
  • the calculation table V 2 is defined so that a specific logical item Q refers to a physical item A (whose value is b) on the same table T only under the condition y.
  • both of a record including a value a in the logical item P under the condition x and a record including a value b in the logical item Q under the condition y are generated as retrieval data.
  • Final result data f(P) and g(Q) are obtained by performing data processing on this retrieval data. Consequently, items arranged in a row direction on the database are rearranged in a column direction. Arbitrary operation can be performed on the resultant items.
  • this embodiment employs the technique of describing the conditions in the selection definition expression of the calculation item instead of the calculation table. However, even in case the conditions are described in the calculation table, the same effects are actually obtained because a plurality of units of retrieval are automatically generated according to the selection definition expression.
  • FIG. 11B illustrates an example of the case (row selection) of selecting a single logical item, whose content does not overlap with those of the others, from physical items, whose contents overlap one another, according to specific conditions.
  • the example shown in this figure employs calculation tables V 1 and V 2 that are in the serial relation.
  • the calculation table V 1 is defined so that a specific logical item P refers to a physical item A (whose value is a) on a physical table T 1 only under the condition x
  • the calculation table V 2 is defined so that the logical item P refers to a physical item B 1 (whose value is a′) on the same table T 1 or to a physical item B 2 (whose value is a′) on a different table T 2 only under the condition y.
  • the present invention realizes the function of optimizing retrieval object. For instance, when the retrieval request does not request sales data organized by customer, retrieval is performed on the former sales data whose quantity is less than that of the latter sales data. Conversely, when the sales data organized by customer is requested by the retrieval request, retrieval is performed on the latter sales data.
  • FIG. 11B illustrates an example of the case (key value selection) wherein different physical items are selected according to a key value and the selected physical items are aggregated into a single logical item.
  • a logical sub-item M corresponding to a selection condition value x and another logical sub-item N corresponding to a selection condition value y are defined as lower-order items of the logical item P that is a key item.
  • This example prepares calculation tables V 1 and V 2 that are in the parallel relation.
  • the calculation table V 1 is defined so that the logical subitem M refers to a physical item A (whose value is x) on a physical table T 1
  • the calculation table V 2 is defined so that the logical sub-item N refers to a physical item B 1 (whose value is y) on the same table T 1 or to a physical item B 2 (whose value is y) on a different table T 2 . Consequently, when the value x is designated as the key condition value for the logical item P, M is employed as the logical sub-item corresponding to the logical item P.
  • the calculation table V 1 including the logical sub-item M is employed as the relevant calculation table, and the physical item A is referred to.
  • the physical item B 1 or B 2 is similarly referred to.
  • the physical items A and B 1 (or B 2 ) are integrated into the single logical item P by following the same procedure as that in the case (column integration) of integrating different items into a same item.
  • FIGS. 12 to 15 are schematic diagrams each illustrating an example of actual data retrieval.
  • FIG. 12 illustrates an example of the process in which result data is obtained in response to a retrieval request issued to two physical tables T 1 and T 2 .
  • three calculation tables V 1 , V 2 and V 3 which are in the parallel relation, are integrated, so that retrieval data Q is obtained.
  • result data R representing “a total money amount list organized by title of account” is obtained as a result of performing data processing on the retrieval data Q.
  • FIG. 12 illustrates a process to be performed in the case (column integration) wherein different physical items are integrated into a same logical item.
  • FIG. 13 illustrates an example of the process in which result data is obtained in response to a retrieval request issued to a physical table T.
  • result data R representing “a detailed salary list organized by person” is obtained as a result of performing data processing on the retrieval data Q.
  • FIG. 13 illustrates a process to be performed in the case (column decomposition) wherein a same physical item is decomposed into different logical items under certain conditions.
  • FIG. 14 illustrates another example of the process in which result data is obtained in response to a retrieval request issued to two physical tables T 1 and T 2 .
  • three calculation tables V 1 , V 2 and V 3 which are in the serial relation, are integrated, so that retrieval data Q is obtained.
  • result data R representing “a sales list organized by customer” is obtained as a result of performing data processing on the retrieval data Q.
  • FIG. 14 illustrates a process to be performed in the case (row selection) wherein physical items, whose contents overlap with one another, are integrated into a single logical item under certain conditions.
  • FIG. 15 illustrates an example of the process in which result data is obtained in response to a retrieval request issued to three physical tables T 1 , T 2 and T 3 .
  • three calculation tables V 1 , V 2 and V 3 which are in the parallel relation and based on a logical sub-item D obtained from the condition value C described in the retrieval request by decomposition, are integrated, so that retrieval data Q is obtained.
  • result data R is obtained as a result of performing data processing on the retrieval data Q.
  • FIG. 15 illustrates a process to be performed in the case (key value selection) wherein different physical items are selected according to a key value and then the different physical items are aggregated to a single logical item.
  • the data retrieving apparatus 1 of this embodiment can automatically compose a necessary process according to the data dictionary 16 by preliminarily registering definition information, which includes information on the basic logic for the retrieval and the basic patterns of the relation among original data, in the data dictionary 16 .
  • the complex unnormalized data structure stored in the database can be directly retrieved by a user according to the data dictionary 16 as a virtually normalized data structure which can be designated as a retrieval object and a retrieval condition.
  • this embodiment can prevent occurrences of the problems that revision of the existing data structure and data conversion require enormous work and that the entire structure is frequently changed owing to the necessity of exceptional data and retrievals thereof.
  • this embodiment enables data retrieval utilizing an existing general-purpose database retrieving tool which depends upon language functions attached to a database, without separately developing application programs for individual databases and employing primitive techniques by which, for example, a user processes raw data after the raw data is extracted.
  • a database administrator edits the data dictionary 16 and thus does not need to construct systems according to individual users' needs or correspondingly to each data source, differently from the case of employing the conventional techniques.
  • this embodiment considerably reduces loads upon introducing a retrieval tool or upon performing data maintenance.
  • the apparatus can directly manipulate data of a complex structure by using the data dictionary 16 which incorporates high-level data processing/editing logic. Further, the apparatus has navigating assistance functions which enable data retrieval in response to users' dynamic needs.
  • this embodiment enables retrieval of data of complex structures from the database without processing such data.
  • the complex structures of such data include, for example, what is called a “summary structure” including the relation between the total money amount list and the detailed salary list, a “multi-level hierarchical structure” having levels such as the major, intermediate and minor classes, and a “decentralized structure” organized by, for instance, department.
  • the use of the navigating assistance functions permits users to make comfortable accesses to desired data in a database, which stores data of the multi-level hierarchical structure, without caring about the physical structure of the database.
  • selection condition values which are related to logical sub-items described in a retrieval request, makes it possible to treat a set of plural key items, which bear the hierarchical relation among, for instance, the major, intermediate and minor classes, as a single hierarchical type item.
  • the structure of data included therein is simplified. Consequently, users' convenience is exceedingly enhanced.
  • the present invention can be implemented as a data retrieving system having a plurality of computer apparatuses, for example, a data retrieving server acting as a data retrieving apparatus, and plural client servers acting as request sources, which are bidirectionally communicably connected to one another through public networks, such as Internet, serving as communication circuits.
  • the data retrieving server is placed as, for instance, an search engine for a plurality of very large databases in a network environment.
  • the data retrieving server is constituted by building databases, which are the same as the foregoing data dictionary 16 and database 17 , respectively, in an internal or external storage device of a computer system.
  • the data retrieving server further has a communication control section for communicating with the client servers through the public networks.
  • the data retrieving server has a retrieval request designation control section 11 , a retrieval request translation processing section 12 , a database retrieval processing section 13 , a data integration processing section 14 and a result data output processing section 15 , like the foregoing data retrieving apparatus 1 does.
  • each of the client servers has a communication control section for transmitting a retrieval request to the data retrieval server and receiving a corresponding retrieval result.
  • Each of the client servers further has functional blocks which are similar to the retrieval request designation control section 11 and the result data output processing section 15 .
  • the data retrieving system is different from the foregoing data retrieving apparatus 1 in that this system has the communication control sections for controlling communication.
  • Each of the client servers is adapted so as to transmit a retrieval request, which is issued from the retrieval request designation control section 11 , to the data retrieving server provided on the public network through the communication control section. Further, each of the client servers is adapted so as to receive a retrieval result from the data retrieving server through the communication control section and input the received result to the result data output processing section 15 .
  • the data retrieving server is adapted so as to receive a retrieval request from the client server through the communication control section and input the received retrieval request to the retrieval request designation control section 11 and further adapted to transmit a retrieval result received from the result data output processing section 15 to the client server through the communication control section. Consequently, the data retrieving server can achieve advantageous effects equivalent to those of the foregoing data retrieving apparatus 1 .
  • the fusion of the data retrieving servers and what is called an agent technique developed in Internet environment realizes a data retrieving system that can automatically retrieve data in response to retrieval requests from the plurality of client servers.
  • the data retrieving system as described above has high flexibility. Further, the optimum system for a very large database can be constructed. Moreover, processing time required for retrieving data is decreased. The processing cost of the entire system can be considerably reduced.
  • the present invention achieves an intrinsic advantageous effect that a physically unnormalized data structure can be treated as a logically normalized data structure.
  • the present invention enables a general-purpose data retrieval from a database which is so built as to include an unnormalized data structure.

Abstract

In a data retrieving apparatus, a data dictionary is constructed so as to include definition information concerning tables, items and calculation syntax for representing an unnormalized data structure as a logically normalized data structure. A retrieval request designation control section interactively accepts a retrieval request from a user according to the data dictionary. A retrieval request translation processing section translates the retrieval request to a query statement, which a database can execute, according to the data dictionary. The query statement is executed in a database retrieval processing section so that retrieval data is obtained. A data integration processing section integrates or aggregates the retrieval data according to the data dictionary so that final result data corresponding to the retrieval request is generated. A result data output processing section presents the final result data to the user.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention [0001]
  • The present invention generally relates to a database building technique, and more specifically, to a technique for retrieving data in a versatile manner from a database constructed in such a way as to include an unnormalized data structure. [0002]
  • 2. Description of the Related Art [0003]
  • In a relational database (hereinafter referred to as “RDB”) which is today's dominating database, data modeling is performed by assuming that data to be processed is normalized (namely, data redundancy is eliminated). [0004]
  • Normalized data can be easily retrieved by using a data manipulating language (hereinafter referred to as “DML”) such as SQL. Further, many general-purpose retrieval tools have been put to practical use. However, in actual RDBs, it is difficult to achieve complete data normalization. Moreover, actual RDBs contain many unnormalized or deorganized data. Hereinbelow, conditions for normal forms according to a relation theory in RDB are shown. [0005]
  • (A1) Individual elements of a relation bear no relationship with one another and are atomic (first normal form condition). [0006]
  • (A2) Any attribute other than keys of a relation should be provided with values of all the keys when a value of the attribute is uniquely determined (second normal form condition). [0007]
  • (A3) When one Y of attributes X and Y of a relation is determined if the other X of the attributes is determined, the attribute X should be a key for the attribute Y (third normal form condition). [0008]
  • However, if these conditions are rigorously applied to a very large database, the number of necessary tables increases. Moreover, the number of joins for joining tables at a retrieving operation increases. This results in extremely reduced retrieval speed. Thus, usually, a database design permits a database to contain some unnormalized data. Hereinbelow, examples are shown wherein RDB is permitted to contain unnormalized data. [0009]
  • (B1) In case of retrieving data all over storage areas containing data on departments and fields, which have different data structures, respectively. [0010]
  • (B2) In case of hierarchically categorizing data into major, intermediate and minor classes so as to treat many kinds of data. [0011]
  • (B3) In case of partially accumulating data with a high frequency of use in advance so as to increase retrieval efficiency, and providing the accumulated data repeatedly. [0012]
  • (B4) In case of performing special processing on a small number of pieces of exceptional data according to a branch No., a flag and an identifier. [0013]
  • Especially, under the present conditions, the technique of employing an unnormalized data structure, which is hierarchically categorized, is heavily used as techniques of easily imparting a (non-integral) fractal dimension to the data space without impairing the whole data structure, differently from a normalized data model which handles only integral dimensions such as two-dimension and three-dimension of a data space. [0014]
  • Meanwhile, a logic, on which a query statement for retrieving unnormalized data is based, in the foregoing RDB has a characteristic that it is difficult to describe this logic according to a first order predicate logic assumed by ordinary DML. Practically, SQL, which is the most standard DML, has a part of multi-order logic functions such as a sub-query and HAVING clause. However, SQL has drawbacks in that these functions are weak and submit to many constraints and that logical prospects are poor. Further, the actual usage frequency of SQL is not high. [0015]
  • Therefore, in case of retrieving unnormalized data, it is difficult to utilize an existing general-purpose database retrieving tool which depends upon language functions attached to a database. Under the present circumstances, application programs for individual databases should be separately developed. Alternatively, primitive techniques should be employed. For example, after raw data to be processed is extracted, a user should process the raw data. Thus, there have been caused the problems that the retrieval of data requires a great deal of labor and cost and that a long processing time is required to obtain a result of the retrieval. [0016]
  • Further, an object-oriented database (OODB) obtained by encapsulating data and algorithms so as to be integral with one another is sometimes used to enable a local operation on data. However, even in case of employing OODB, as an amount of data is increased, a processing efficiency is reduced. Moreover, an operation of converting a data structure requires a great deal of time and effort. Thus, it is difficult to make OODB practical as a very large database. [0017]
  • Furthermore, in case a user directly designates complex and hard-to-understand unnormalized data stored in a database as objects to be retrieved and retrieval conditions, it is desirable that such data is represented as data of a simple data structure like a table image. Thus, in the field of OLAP (online analytical processing), an approach, by which a source data structure itself is normalized in a multidimensional space, is employed. Such an approach, however, has the problems that a revision of the existing data structure and data conversion require enormous work and that the entire structure is frequently changed owing to the necessity of exceptional data and retrievals thereof. Thus, such an approach is not effective in all situations. [0018]
  • SUMMARY OF THE INVENTION
  • The foregoing problems can be solved if a data structure including physically unnormalized data (hereinafter referred to as “unnormalized data structure”) can be presented to a user as a logically normalized data structure (hereinafter referred to as “normalized data structure”). [0019]
  • Therefore, it is an object of the present invention to provide a data retrieving method which enables data retrieval, in a versatile manner, from a database which is built so as to include an unnormalized data structure. [0020]
  • It is another object of the present invention to provide a data retrieving apparatus which is suitable for implementing the foregoing data retrieving method. [0021]
  • It is another object of the present invention to provide a storage medium for realizing the foregoing data retrieving method and apparatus using a general-purpose computer apparatus. [0022]
  • According to one aspect of the present invention, there is provided a data retrieving method comprising the steps of providing data definition information for representing an unnormalized data structure contained in a database as a logically normalized data structure; analyzing a retrieval request from a user according to the data definition information so as to convert the retrieval request into a query statement which is executable by the database; executing the query statement relative to the database so as to obtain a retrieval result; and editing the obtained retrieval result according to the data definition information so as to generate a final retrieval result corresponding to the retrieval request. [0023]
  • It may be arranged that the retrieval request includes a data extracting condition for restrictively specifying data to be retrieved, and that the query statement, which is executable by the database, is obtained by normalizing a logical description in the data extracting condition by a first-order predicate logic according to the data definition information. [0024]
  • It may be arranged that the final retrieval result is obtained by eliminating data redundancy included in the retrieval result obtained by executing the query statement. [0025]
  • According to another aspect of the present invention, there is provided a data retrieving apparatus comprising a database built so as to include an unnormalized data structure; a data dictionary holding definition information for representing the unnormalized data structure as a logically normalized structure; a retrieval request input section for assisting an input of a retrieval request from a user according to the data dictionary; a retrieval request translation section for analyzing the retrieval request according to the data dictionary upon completion of the input of the retrieval request so as to convert the retrieval request into one or more query statements which are executable by the database; a retrieval processing section for issuing the one or more query statements to the database so as to acquire retrieval data composed of one or more results of execution of the one or more query statements; and a retrieval data processing section for editing the retrieval data so as to generate result data corresponding to the retrieval request. [0026]
  • It may be arranged that the data dictionary includes the definition information to which display information selectably presented to the user when assisting the input, a query statement pattern for converting the retrieval request to the query statement which is executable by the database, and physical information in the database are related for each of logical items representing a data unit in the retrieval request. [0027]
  • It may be arranged that the data dictionary includes a logical sub-item for complementing the logical item, and that information on categories in a logical item type for representing the unnormalized data structure as the logically normalized data structure is defined in the logical sub-item. [0028]
  • It may be arranged that the retrieval request input section visibly presents the display information on data to be retrieved, according to the data dictionary, and interactively performs the selective input from the user of the retrieval request which includes an extraction condition for extracting the data to be retrieved. [0029]
  • It may be arranged that the retrieval request input section designates a display format of the result data, the display format included in the retrieval request. [0030]
  • It may be arranged that the retrieval request input section generates the result data from a plurality of display items, which are selected by the user from the display information, such that the plurality of display items employing a common display item as a key item are compounded into the result data. [0031]
  • It may be arranged that the retrieval request input section dynamically adds information on the logical item type used for a logical description in an extraction condition to the data dictionary. [0032]
  • It may be arranged that the retrieval request translation section performs a syntax analysis of the retrieval request according to the data dictionary to replace a retrieval request syntax pattern of the retrieval request with a corresponding query statement pattern which is executable by the database. [0033]
  • It may be arranged that the retrieval request translation section converts the retrieval request into the one or more query statements which are normalized according to a first order predicate logic in a data manipulation language based on predetermined SQL. [0034]
  • It may be arranged that the retrieval request translation section expands all the display items included in the retrieval request according to the data dictionary and converts the expanded display items into corresponding logical items, respectively, and that the retrieval request translation section removes data redundancy in the retrieval request by performing one of column integration for integrating different physical items, which compose the physical information, into a same logical item according to an extraction condition, column decomposition for decomposing a same physical item into different logical items, row selection for selecting a single logical item, whose content does not overlap with those of other items, from physical items whose contents overlap with those of other physical items, and key value selection for selecting different physical items according to a key value and aggregating the different physical items to a single logical item, and converts the retrieval request into the one or more query statements normalized according to a first order predicate logic in a data manipulation language based on predetermined SQL. [0035]
  • It may be arranged that the retrieval data processing section removes a redundant part by integrating items formed from a same logical item in the retrieval data corresponding to the one or more query statements. [0036]
  • It may be arranged that the retrieval data processing section performs data processing and tabulation on the retrieval data according to designation of a display format concerning the result data when the designation of the display format is included in the retrieval request. [0037]
  • It may be arranged that the database is constructed as a predetermined object-oriented database. [0038]
  • According to another aspect of the present invention, there is provided a data retrieving system comprising the data retrieving apparatus according to [0039] claim 4 and a plurality of retrieval request source devices, wherein the data retrieving apparatus is bidirectionally communicably connected to the retrieval request source devices, and wherein the data retrieving apparatus is constituted so as to acquire a retrieval request issued from each of the retrieval request source devices and transmit a corresponding retrieval result to the corresponding retrieval request source device.
  • It may be arranged that the retrieval request is inputted to the data retrieving apparatus through an agent function. [0040]
  • According to another aspect of the present invention, there is provided a storage medium storing a program which is executable by a computer apparatus comprising a database built so as to include an unnormalized data structure, and a data dictionary holding definition information for representing the unnormalized data structure as a logically normalized structure, the program causing the computer apparatus to execute the steps of: assisting an input of a retrieval request from a user according to the data dictionary; analyzing the retrieval request according to the data dictionary upon completion of the input of the retrieval request so as to convert the retrieval request into one or more query statements which are executable by the database; issuing the one or more query statements to the database so as to acquire retrieval data composed of one or more results of execution of the one or more query statements; and editing the retrieval data so as to generate result data corresponding to the retrieval request.[0041]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The present invention will be understood more fully from the detailed description given hereinbelow, taken in conjunction with the accompanying drawings. [0042]
  • In the drawings: [0043]
  • FIG. 1 is a functional block diagram illustrating a data retrieving apparatus according to a preferred embodiment of the present invention; [0044]
  • FIG. 2 is a conceptual diagram illustrating a data structure conversion pattern according to the preferred embodiment of the present invention; [0045]
  • FIG. 3 is a conceptual diagram illustrating a data structure employed in a data dictionary according to the preferred embodiment of the present invention; [0046]
  • FIG. 4 is a functional block diagram illustrating a retrieval request designation control section according to the preferred embodiment of the present invention; [0047]
  • FIG. 5 is a conceptual diagram illustrating an operation of compounding data from items that are selected from a plurality of display tables according to the preferred embodiment of the present invention; [0048]
  • FIG. 6 is a flowchart illustrating a procedure to be executed in a retrieval request translation processing section according to the preferred embodiment of the present invention; [0049]
  • FIG. 7 is a conceptual diagram illustrating data retrieval performed in the retrieval request translation processing section; [0050]
  • FIG. 8 is a conceptual diagram illustrating data retrieval performed in the retrieval request translation processing section; [0051]
  • FIG. 9 is a schematic diagram illustrating data integration performed according to the preferred embodiment of the present invention; [0052]
  • FIGS. 10A and 10B are conceptual diagrams illustrating data structure conversion processing performed according to the preferred embodiment of the present invention; [0053]
  • FIGS. 11A and 11B are conceptual diagrams illustrating data structure conversion processing performed according to the preferred embodiment of the present invention; [0054]
  • FIG. 12 is a schematic diagram illustrating an example of data retrieval performed according to the preferred embodiment of the present invention; [0055]
  • FIG. 13 is a schematic diagram illustrating another example of data retrieval performed according to the preferred embodiment of the present invention; [0056]
  • FIG. 14 is a schematic diagram illustrating another example of data retrieval performed according to the preferred embodiment of the present invention; and [0057]
  • FIG. 15 is a schematic diagram illustrating another example of data retrieval performed according to the preferred embodiment of the present invention.[0058]
  • DESCRIPTION OF THE PREFERRED EMBODIMENT
  • Now, a preferred embodiment of the present invention will be described in detail by referring to the accompanying drawings. [0059]
  • FIG. 1 is a functional block diagram illustrating a [0060] data retrieving apparatus 1 according to the preferred embodiment of the present invention. In FIG. 1, solid lines represent a process flow, and dashed lines represent a flow of control data.
  • The [0061] data retrieving apparatus 1 implemented by a computer apparatus has a database 17 built in such a manner as to contain an unnormalized data structure in an internal or external storage device of the computer apparatus, and has a data dictionary 16 constructed in such a way as to include definition information to be used for representing the unnormalized data structure as a logically normalized data structure. The data retrieving apparatus 1 further comprises a retrieval request designation control section 11, a retrieval request translation processing section 12, a database retrieval processing section 13, a data integration processing section 14 and a result data output processing section 15 which are respectively represented by functional blocks shown in FIG. 1 and which are formed when a CPU of the computer apparatus reads and executes predetermined programs.
  • The [0062] data retrieving apparatus 1 may have an arbitrary configuration. For instance, only input-output related functions of the retrieval request designation control section 11 and the result data output processing section 15 may be implemented in a computer apparatus to be used as a user terminal UT. Functions of the database retrieval processing section 13 may be implemented in a database server which stores the database 17. Functions of the other sections may be implemented in an application server dedicated thereto. The computer apparatuses may be connected to one another through a local area network or a wide area network so as to be operated cooperatively.
  • The foregoing programs and data may be stored, for example, in portable storage media, such as CD-ROMs and FDs, which can be separated from the computer apparatuses, or in a program server connected to the network. Further, the programs and data may be read therefrom and installed in internal storage devices of the foregoing computer apparatuses or in external storage devices. [0063]
  • The retrieval request [0064] designation control section 11 controls the visual display on the screen of the user terminal UT according to the data dictionary 16 (to be described later), i.e. performs navigation for user operations such as selection of an object to be retrieved, designation of retrieval conditions, designation of a display format and designation of a retrieval method. The control section 11 also issues a retrieval request based on an instruction received from a user. Display on the screen of the user terminal UT is controlled according to a virtual data structure based on the definition information that is described in the data dictionary 16. In case of displaying data such as a code table, an operation of displaying thereof is actually performed by converting original data.
  • The retrieval request [0065] translation processing section 12 translates a retrieval request, which is issued from the retrieval request designation control section 11, into a query statement which can be executed by the database according to various kinds of definition information described in the data dictionary 16. The retrieval request translation processing section 12 has data conversion functions as illustrated in FIG. 2. Specifically, these data conversion functions include a column integration function of integrating different physical items into a same logical item according to directions from a user which are described in a retrieval request, a column decomposition function of decomposing a same physical item into different logical items according to certain conditions, a row selection function of selecting a single logical item, whose content does not overlap with those of the others, from physical items, whose contents overlap with one another, according to certain conditions, and a key value selection function of selecting different physical items according to a key value and aggregating these physical items to a single logical item. The retrieval request translation processing section 12 is constituted so as to generate one or more normalized query statements, which can be executed by using a first-order predicate logic, from a retrieval request.
  • The database [0066] retrieval processing section 13 executes one or more normalized query statements, generated by the retrieval request translation processing section 12, relative to the database 17, thereby obtaining retrieval results.
  • The data [0067] integration processing section 14 integrates a plurality of intermediate retrieval results, which are generated in a divided manner in processes performed by the database retrieval processing section 13, into one table. The data integration processing section 14 also generates a final retrieval result, which is compliant with the directions in the retrieval request, by performing additional data processing, which cannot be described only by using a first-order predicate logic, according to various kinds of definition information described in the data dictionary 16. In the following description, a retrieval result obtained in the database retrieval processing section 13 will be referred to as “retrieval data”, while a final retrieval result obtained in the data integration processing section 14 will be referred to as “result data”.
  • The result data [0068] output processing section 15 outputs to the user terminal UT the result data generated through the foregoing processes corresponding to the directions issued from the user.
  • In the [0069] data dictionary 16, various kinds of definitions in the database 17 from which data is retrieved, and definition information concerning data processing structure and method for performing the functions intrinsic to the data retrieving apparatus 1 are described. The data dictionary 16 working as a nucleus of the control in the data retrieving apparatus 1 realizes a virtual data structure serving as a higher order layer, which facilitates the user's understanding and data manipulation. The data dictionary 16 is created and edited by a database administrator using a database administrator terminal DT and is managed in a centralized manner.
  • Now, a data structure in the [0070] data dictionary 16 of this embodiment will be described hereinbelow with reference to FIG. 3.
  • A display [0071] table index definition 301 provides definition information on the definition of an index in a display table constructed so that a user can easily select a desired object to be retrieved from a database. Practically, the display table index definition 301 is suitably constituted so as to have an arbitrary manner, such as a tree structure, an associative structure and a list of data arranged in Japanese syllabary order, corresponding to uses and purposes of the database.
  • A [0072] display table definition 302 provides definition information on a definition in a display table which is a set of display items that can be simultaneously retrieved by a user. The user narrows down retrieval objects by selecting one or more display tables.
  • A [0073] display item definition 303 provides definition information on definitions in individual display items contained in each of the display tables. Each of the display items is related to one of the logical items without exceptions. When a plurality of display tables are selected, different display items related to a same logical item are treated as a same display item. This logical item is the most important element in the data dictionary 16, which is described in an logical item definition 304, and is the unit of data in a retrieval request from a user, and is the unit of retrieval data provided as a result of retrieval from the database. Further, each of the logical terms is completely independent of the other logical terms and does not have a structure. Thus, a relationship is freely established between a display item which is visibly presented to a user, and a calculation or calculated item which is actually retrieved from the database.
  • According to the [0074] logical item definition 304, logical items are classified into key candidate items and attribute candidate items. Key candidate items are used as logical items for discrimination in setting extraction conditions and designating the grouping of data in a retrieval request. The key candidate items are also treated as a header of result data. Further, the attribute candidate items are logical items on which set operations such as an accumulating operation is performed. Furthermore, the attribute candidate items are treated as a body of result data. Moreover, the logical item definition 304 includes the descriptions of an extraction condition setting method, parameters such as a reference code table for controlling a retrieval request designation, a format editing method, and methods of processing and editing result data such as default values.
  • A logical [0075] item type definition 305 describes definitions for registering the types of logical items that can be handled by the data retrieving apparatus 1. The foregoing logical item definition 304 is related to one of the logical item type definition 305. The data retrieving apparatus 1 has functions including an algorithm depending on the logical item type and is constructed so that a display indicated on the screen can be dynamically changed according to this logical item type. Further, a logical item type can be dynamically added in response to users' needs by producing a program part, which uses a logical-item-type dependent algorithm, as an add-in external module. Such logical item types include a numerical type, a currency type, a character string type, a code type, a hierarchical code type, a time type, a postal code type, a telephone number type, a voice type, an image type and a dynamic image type.
  • A logical [0076] sub-item definition 306 complements the logical item definition 304 and provides definition information corresponding to individual logical items in case the treatment of a logical item varies according to, for example, an item value or an item value pattern. Practically, in case the logical item type is the hierarchical code type, a user designates a category of the major class to thereby cause the apparatus to display a list of categories of the intermediate class, which are related to the designated category. Then, the user further designates a category of the intermediate class to thereby cause the apparatus to display a list of categories of the minor class related thereto. The logical sub-item definition 306 includes information on the definitions of categories of the major, intermediate and minor classes, and information on definitions for establishing the relations among the categories of these classes. Incidentally, selection condition values related to the logical sub-items may be specific values, a specific range of values, a specific value pattern, or a set of specific value patterns, or a combination of these values and patterns.
  • An applicable calculation table [0077] 307 provides definition information on the definition of a calculation table, which can be applied to a specific display table when data is retrieved therefrom. In this case, a plurality of calculation tables can be related to one display table. Further, the apparatus can establish the definitions of a (serial) relation, by which data is not retrieved from calculation tables other than the applied calculation table, and a (parallel) relation by which data may be retrieved from the calculation tables other than the applied calculation table. Moreover, the apparatus can establish the definition of the combination between the serial and parallel relations, which includes a nest.
  • A [0078] calculation table definition 308 provides definition information on the definition of a set of calculation items that can be simultaneously calculated. The number of issuances of database query statements is optimized by grouping the calculation items, which are contained in the calculation table, according to the definition information.
  • A [0079] calculation item definition 309 provides definition information concerning a calculation syntax and a calculation definition expression used in a practical method of calculating items from the database 17. It is assumed that only one calculation item definition is defined correspondingly to each logical item in every calculation table at most and that, when a calculation item is not defined, a corresponding logical item cannot be calculated according to a corresponding calculation table. Moreover, in case a logical item has a logical sub-item, a calculation item may be related to the logical sub-item so that a calculation item is effective only when the logical item has a specific logical item value.
  • A [0080] calculation syntax definition 310 provides definition information on the definition of a language syntax, which is established as a pattern including a variable. A database query statement is generated by automatically replacing a variable part of a syntax pattern with an effective expression according to a result of analysis of a retrieval request.
  • A physical table join [0081] definition 311 provides definition information on the definition of join conditions for establishing a join between a reference physical table and a join physical table when the join physical table is used. Practically, in the foregoing calculation table definition 308, one physical table to be used as a default reference physical table is related to an arbitrary number of other physical tables that are used as join physical tables to be complementarily referred to when the reference and join physical tables are joined. According to this definition information, join conditions for joining necessary physical tables are automatically added when a database query statement is generated.
  • A [0082] physical table definition 312 provides definition information on a definition which is the same as the definition of a list (or a table) that is stored in and retrieved from the database 17, or on a copy of a necessary part of such a definition.
  • A [0083] physical item definition 313 provides definition information on a definition which is the same as the definition of an item (or a field) and the attribute thereof that are stored in a physical table, or on a copy of a necessary part of such a definition.
  • A [0084] database definition 314 provides definition information on the definitions of a connecting procedure for connecting the apparatus to the database 17 from which data is retrieved, kinds of data types which can be handled by the database 17, kinds of functions provided in the database 17, and information peculiar to the database 17.
  • Now, the details of the individual functional blocks in the [0085] data retrieving apparatus 1 will be described hereinbelow.
  • FIG. 4 is a functional block diagram illustrating functional blocks in the retrieval request [0086] designation control section 11. The retrieval request designation control section 11 comprises a retrieval object selection section 111, an extraction condition designation section 112, a display format designation section 113 and a retrieval request issuance section 114.
  • In the retrieval object selection section [0087] 111, a user first selects a specific display table by using a display table index. Moreover, the user selects a display item from the selected display table. This selection process enables the apparatus to simultaneously select items from a plurality of display tables and generate compound result data according to the data structure defined in the data dictionary 16. FIG. 5 is a conceptual diagram illustrating an operation of compounding selected items, which is performed in the retrieval object selection section 111. Only those items, such as “commodity”, which are common to a plurality of tables (a) and (b) shown in FIG. 5, are effective as key candidate items in case the plurality of display tables (a) and (b) are selected. Further, in case of a table (c) shown in FIG. 5, which is obtained by compounding the tables (a) and (b), all attribute candidate items such as “sales volume”, “proceeds”, “quantity of stocked goods” and “quantity of money used to stock”, which are contained in the respective display tables, can be freely selected.
  • In the extraction [0088] condition designation section 112, the extraction conditions corresponding to the selected key candidate item are designated. Practically, many screen images for setting pattern extraction conditions are prepared. Users can easily designate extraction conditions by selectively displaying an optimum screen image according to the logical item type of each item. For example, in case of the code type item, a user can select a specific code from a displayed list and designate the specific code by retrieving and displaying code tables, which are designated by the data dictionary 16, from the database 17. Similarly, in case of the hierarchical code items of the major, intermediate and minor classes, the hierarchical list of codes can be displayed by defining the data dictionary 16 so that tables and items are selected by determining a designated key value.
  • In case of point-in-time items, the conditions can be visually set according to time-series information by providing, for instance, a calendar or a clock in the apparatus. Further, a program, which is used to generate a screen image and uses an algorithm, for setting an optimum extraction condition corresponding to a specific item is separately produced and dynamically added as an add-in program. Consequently, the apparatus realizes easiness and operability with which such a program can be executed as if this program were a specialized one. [0089]
  • In the display [0090] format designation section 113, a user can designate the display format of a result of retrieval, for example, a title representing a result of retrieval, the direction of an item list (namely, a row direction or a column direction), an order of the list (namely; an ascending order or a descending order), a total or subtotal, and a maximum number of displayable rows.
  • The retrieval [0091] request issuance section 114 sets a sequence of commands according to data designated by a user in each of the foregoing functional blocks and then sends the set sequence of commands to the retrieval request translation processing section 12 as a retrieval request. The description format of a retrieval request includes a list of items to be retrieved, a table list to be retrieved, the designation of extraction conditions, the designation of the grouping of items, the designation of a sorting order, the destination of output of a retrieval result, and the designation of a format for displaying a retrieval result. Further, a syntax obtained by extending a standard SQL syntax may be used. Alternatively, a specialized syntax may be used.
  • Now, the retrieval request [0092] translation processing section 12 will be described hereinbelow.
  • FIG. 6 is a flowchart illustrating a procedure to be executed in the retrieval request [0093] translation processing section 12. Further, FIGS. 7 and 8 are schematic diagrams illustrating retrieval processes to be performed in the retrieval request translation processing section 12. As shown in FIG. 6, in case the inputted retrieval request describes data processing definitions and format edition definitions of all display items appearing in the item list, the designation of the grouping and the designation of the sorting, the retrieval request translation processing section 12 expands these definitions according to the corresponding definition information to thereby convert these definitions into logical items (step S101). Further, the retrieval request translation processing section 12 eliminates redundant logical items and generates a unique list of logical items to be included in retrieval data (step S102).
  • An upper-right part of FIG. 7 illustrates this process. Further, in this figure, display items corresponding to the extraction condition “((A=101 or A=1102) and B=‘ab’)” included in the retrieval request are converted into logical items. Moreover, in case a logical item having a logical sub-item is included in the extraction condition (A has A(1) and A(2)), the extraction condition is decomposed into sets of a same logical sub-item and condition values by retrieving the condition values and finding logical sub-items corresponding to each of the condition values. Furthermore, in case OR condition is nested by AND condition, the extraction condition is decomposed into a plurality of normalized extraction conditions, each of which consists of AND conditions and does not have different-level logical sub-items, by removing the OR condition after the former extraction condition is converted by simultaneously maintaining logical equivalence so that the OR condition is a highest hierarchical level condition (step S[0094] 103). Then, a set of logical items corresponding to each of the normalized extraction conditions is extracted by adding logical items, which are included in the corresponding extract condition in the foregoing unique list of logical items, to each of the normalized extraction conditions obtained as a result of the decomposition (step S104). In the middle part of FIG. 7, the logical item sets of this example are shown.
  • Next, calculation tables are checked according to calculation table relevance conditions correspondingly to the extracted logical item sets. Thus, calculation tables (hereinafter referred to as “relevant calculation tables”) which meet the relevance conditions are detected (step S[0095] 105). Practically, the following conditions are employed as the calculation table relevance conditions. Incidentally, in the following description, logical items used in the designation of the grouping and the extraction conditions will be referred to as key items. Further, logical items other than the key items will be described as attribute items.
  • (1) A calculation table including all key items contained in a logical item set and further including at least one attribute item contained in the logical item set is a relevant calculation table. [0096]
  • (2) Further, in case a logical sub-item is designated in a logical item included in a logical item set, the same logical sub-item should be assigned to the logical item of the calculation table. [0097]
  • (3) In case a plurality of calculation tables are defined so as to bear a serial relation, attribute items being relevant to a precedent calculation table are excluded from logical item sets for checking the subsequent calculation tables. [0098]
  • (4) In case a plurality of calculation tables are defined so as to bear a parallel relation, attribute items being relevant to a precedent calculation table are left in logical item sets for checking the subsequent calculation tables. [0099]
  • (5) The foregoing process is repeatedly performed until no attribute items are left in the logical item set checking the subsequent calculation tables or until all the calculation tables are checked. [0100]
  • Further, calculation items of a unit of retrieval, which are those retrieved by performing retrieval of a database once, are determined correspondingly to each of the relevant calculation tables by the following procedure (step S[0101] 106).
  • (I) Calculation items corresponding to attribute items contained in the calculation table are first obtained. Then, in case the calculation items have different calculation syntax definitions and selection definition expressions, the grouping of the calculation items is performed so that only the calculation items having the same calculation syntax definition and the same selection definition expression are of the same group. [0102]
  • (II) All the calculation items corresponding to a key item included in the calculation table are then found. Subsequently, the calculation items of the groups corresponding to the attribute items, which are obtained at the foregoing step (I), are added to the found calculation items. The calculation items obtained as a result of this addition are treated as a calculation item set which is a unit of retrieval. [0103]
  • Next, the retrieval request [0104] translation processing section 12 expands the item names, which concern the retrieval item list, the designation of grouping and the designation of sorting, into expressions according to the calculation definition expressions of calculation items, which are described by using a physical table and a physical item (step S107). Regarding the normalized extraction conditions, the corresponding item names are similarly expanded into expressions according to the calculation definition expressions of calculation items (step S108). FIG. 8 illustrates an example of this process.
  • Further, in case a physical table is used in the calculation definition expression as a complementary table, a physical table join definition is obtained according to a reference physical table and the complementary table. Then, the obtained physical table join definition is added to table reference expressions or extraction condition expressions (step S[0105] 109).
  • Partial value sets in the logical item level are obtained by substituting the foregoing expressions, which are obtained by the expansion, in instruction elements such as a retrieval item list, a grouping designation expression list, a sorting designation list, an extraction condition expression and a table reference expression, which correspond to the relevant calculation table. Moreover, a normalized query statement, which can be executed on the [0106] database 17, is generated (step S110).
  • As illustrated in a lower part of FIG. 8, a sequence of normalized query statements, which includes a set of all logical item values required to satisfy the designated retrieval request, can be obtained by repeatedly performing the foregoing process a number of times, the number of which is the sum of the number of units of retrieval described in the relevant calculation table, the number of relevant tables corresponding to each normalized extraction condition and the number of the normalized extraction conditions (steps S[0107] 111 to S113).
  • The database [0108] retrieval processing section 13 has an interface with the database 17 from which data is retrieved. The processing section 13 issues normalized query statements obtained in the retrieval request translation processing section 12 to the database 17. Further, the processing section 13 acquires retrieval data, which represents a result of the retrieval, and then stores the retrieval data in a temporary storage area. This retrieval data temporary storage area may be constituted by a temporary table provided on the database 17, a temporary file provided on a magnetic storage medium, or a storage area on a memory.
  • The data [0109] integration processing section 14 is constituted by including the functions of integrating and processing retrieval data acquired in the database retrieval processing section 13, and the function of editing result data.
  • FIG. 9 is a schematic diagram illustrating processing performed in the data [0110] integration processing section 14. In the data integration processing performed in the section 14, the unnormalized (or redundant) part included among a plurality of retrieval data is removed by disregarding the differences in the normalized retrieval process and the presence of the logical sub-item among the plurality of retrieval data respectively obtained in a divided manner and by integrating the plurality of retrieval data in a single table format as a result of regarding the items, which are generated from the same logical item, to be the same with one another. A table shown in an upper part of FIG. 9 indicates retrieval data obtained by the database retrieval processing section 13. Further, a table shown in a middle part of FIG. 9 indicates a result of integration processing of this retrieval data.
  • In the data processing, the grouping of the table integrated by the data integration processing is performed according to the grouping designation in the retrieval request. Then, in case the description of the data processing is included in the logical item definition in the [0111] data dictionary 16, predetermined data processing is implemented by utilizing the functions of performing a numerical operation, a character string manipulation, a date conversion and a code conversion.
  • Further, in the result data edition processing, tabulation processes, such as cross tabulation utilizing the exchange between rows and columns and addition of a title and a header are performed according to the designation in the retrieval request. Thus, final result data is generated. [0112]
  • The result data [0113] output processing section 15 acquires result data from the data integration processing section 14 and then displays the result data on the screen of the user terminal UT, outputs the result data by printing, outputs the result data as a file, or outputs the result data to applications for performing other kinds of data processing and display processing.
  • Incidentally, in the user terminal UT and the database administrator terminal DT, for instance, a database administrator uses an editing tool constituted by GUI (Graphical User Interface) and so on. This facilitates the update and maintenance of the definition information. Further, if a user is not familiar with databases, a graphical operating environment facilitates user's work. [0114]
  • Next, the retrieval of a database including an unnormalized data structure, which is performed by the [0115] data retrieval apparatus 1, will be described hereinbelow. FIGS. 10A, 10B, 11A and 11B are conceptual diagrams illustrating data integration processing. FIG. 10A illustrates an example of the case (column integration) wherein different physical items are integrated into the same logical item. The example shown in this figure employs calculation tables V1 and V2 that are in the parallel relation. The calculation table V1 is defined so that a specific logical item P refers to a physical item A (whose value is a) on a physical table T1, while the calculation table V2 is defined so that the logical item P refers to a physical item B1 (whose value is b) on the same table T1 or to a physical item B2 (whose value is b) on a different table T2. Consequently, both of records respectively including values a and b in the logical item P are generated as retrieval data. Final result data f(P) is obtained by performing data processing on this retrieval data. Consequently, items arranged in a column direction on the database are rearranged in a row direction. Arbitrary operation can be performed on the resultant items.
  • FIG. 10B illustrates an example of the case (column decomposition) wherein a same physical item is decomposed into different logical items. The example shown in this figure employs calculation tables V[0116] 1 and V2 that are in the parallel relation. The calculation table V1 is defined so that a specific logical item P refers to a physical item A (whose value is a) on a physical table T only under the condition x, while the calculation table V2 is defined so that a specific logical item Q refers to a physical item A (whose value is b) on the same table T only under the condition y. Consequently, both of a record including a value a in the logical item P under the condition x and a record including a value b in the logical item Q under the condition y are generated as retrieval data. Final result data f(P) and g(Q) are obtained by performing data processing on this retrieval data. Consequently, items arranged in a row direction on the database are rearranged in a column direction. Arbitrary operation can be performed on the resultant items. Incidentally, this embodiment employs the technique of describing the conditions in the selection definition expression of the calculation item instead of the calculation table. However, even in case the conditions are described in the calculation table, the same effects are actually obtained because a plurality of units of retrieval are automatically generated according to the selection definition expression.
  • FIG. 11B illustrates an example of the case (row selection) of selecting a single logical item, whose content does not overlap with those of the others, from physical items, whose contents overlap one another, according to specific conditions. The example shown in this figure employs calculation tables V[0117] 1 and V2 that are in the serial relation. The calculation table V1 is defined so that a specific logical item P refers to a physical item A (whose value is a) on a physical table T1 only under the condition x, while the calculation table V2 is defined so that the logical item P refers to a physical item B1 (whose value is a′) on the same table T1 or to a physical item B2 (whose value is a′) on a different table T2 only under the condition y. Consequently, only records each including a physical item A (whose value is a) in the logical item P of the retrieval data under the condition x are generated. Moreover, the physical item B1 or B2, whose contents overlap with those of the other, is removed. Final result data f(P), whose content does not overlap with those of the others, is obtained by performing data processing on this retrieval data. Consequently, items arranged in a column direction on the database are rearranged in a row direction. Arbitrary operation can be performed on the resultant items. At that time, the conditions may include the presence/absence of set classification and extraction conditions described in the retrieval request in addition to the condition values. For example, in case sales data organized by customer and sales data organized by both customer and commodity are provided, the present invention realizes the function of optimizing retrieval object. For instance, when the retrieval request does not request sales data organized by customer, retrieval is performed on the former sales data whose quantity is less than that of the latter sales data. Conversely, when the sales data organized by customer is requested by the retrieval request, retrieval is performed on the latter sales data.
  • FIG. 11B illustrates an example of the case (key value selection) wherein different physical items are selected according to a key value and the selected physical items are aggregated into a single logical item. In case of the example shown in this figure, a logical sub-item M corresponding to a selection condition value x and another logical sub-item N corresponding to a selection condition value y are defined as lower-order items of the logical item P that is a key item. This example prepares calculation tables V[0118] 1 and V2 that are in the parallel relation. The calculation table V1 is defined so that the logical subitem M refers to a physical item A (whose value is x) on a physical table T1, while the calculation table V2 is defined so that the logical sub-item N refers to a physical item B1 (whose value is y) on the same table T1 or to a physical item B2 (whose value is y) on a different table T2. Consequently, when the value x is designated as the key condition value for the logical item P, M is employed as the logical sub-item corresponding to the logical item P. Thus, the calculation table V1 including the logical sub-item M is employed as the relevant calculation table, and the physical item A is referred to. On the other hand, when the value y is designated as the key condition value, the physical item B1 or B2 is similarly referred to. When data is acquired, the physical items A and B1 (or B2) are integrated into the single logical item P by following the same procedure as that in the case (column integration) of integrating different items into a same item.
  • FIGS. [0119] 12 to 15 are schematic diagrams each illustrating an example of actual data retrieval. FIG. 12 illustrates an example of the process in which result data is obtained in response to a retrieval request issued to two physical tables T1 and T2. In this example, three calculation tables V1, V2 and V3, which are in the parallel relation, are integrated, so that retrieval data Q is obtained. Then, result data R representing “a total money amount list organized by title of account” is obtained as a result of performing data processing on the retrieval data Q. Namely, FIG. 12 illustrates a process to be performed in the case (column integration) wherein different physical items are integrated into a same logical item.
  • FIG. 13 illustrates an example of the process in which result data is obtained in response to a retrieval request issued to a physical table T. In this example, three calculation tables V[0120] 1, V2 and V3, which are in the parallel relation and correspond to the conditions “a title of account=a salary”, “a title of account=an insurance premium” and “a title of account=a tax”, respectively, are integrated, so that retrieval data Q is obtained. Then, result data R representing “a detailed salary list organized by person” is obtained as a result of performing data processing on the retrieval data Q. Namely, FIG. 13 illustrates a process to be performed in the case (column decomposition) wherein a same physical item is decomposed into different logical items under certain conditions.
  • FIG. 14 illustrates another example of the process in which result data is obtained in response to a retrieval request issued to two physical tables T[0121] 1 and T2. In this example, three calculation tables V1, V2 and V3, which are in the serial relation, are integrated, so that retrieval data Q is obtained. Then, result data R representing “a sales list organized by customer” is obtained as a result of performing data processing on the retrieval data Q. Namely, FIG. 14 illustrates a process to be performed in the case (row selection) wherein physical items, whose contents overlap with one another, are integrated into a single logical item under certain conditions.
  • FIG. 15 illustrates an example of the process in which result data is obtained in response to a retrieval request issued to three physical tables T[0122] 1, T2 and T3. In this example, three calculation tables V1, V2 and V3, which are in the parallel relation and based on a logical sub-item D obtained from the condition value C described in the retrieval request by decomposition, are integrated, so that retrieval data Q is obtained. Then, result data R is obtained as a result of performing data processing on the retrieval data Q. Namely, FIG. 15 illustrates a process to be performed in the case (key value selection) wherein different physical items are selected according to a key value and then the different physical items are aggregated to a single logical item.
  • As described above, when retrieval is requested, the [0123] data retrieving apparatus 1 of this embodiment can automatically compose a necessary process according to the data dictionary 16 by preliminarily registering definition information, which includes information on the basic logic for the retrieval and the basic patterns of the relation among original data, in the data dictionary 16.
  • Further, the complex unnormalized data structure stored in the database can be directly retrieved by a user according to the [0124] data dictionary 16 as a virtually normalized data structure which can be designated as a retrieval object and a retrieval condition. Thus, as opposed to the conventional techniques, this embodiment can prevent occurrences of the problems that revision of the existing data structure and data conversion require enormous work and that the entire structure is frequently changed owing to the necessity of exceptional data and retrievals thereof.
  • Further, this embodiment enables data retrieval utilizing an existing general-purpose database retrieving tool which depends upon language functions attached to a database, without separately developing application programs for individual databases and employing primitive techniques by which, for example, a user processes raw data after the raw data is extracted. [0125]
  • Furthermore, according to this embodiment, a database administrator edits the [0126] data dictionary 16 and thus does not need to construct systems according to individual users' needs or correspondingly to each data source, differently from the case of employing the conventional techniques. Thus, this embodiment considerably reduces loads upon introducing a retrieval tool or upon performing data maintenance.
  • Moreover, according to this embodiment, the apparatus can directly manipulate data of a complex structure by using the [0127] data dictionary 16 which incorporates high-level data processing/editing logic. Further, the apparatus has navigating assistance functions which enable data retrieval in response to users' dynamic needs.
  • Furthermore, this embodiment enables retrieval of data of complex structures from the database without processing such data. The complex structures of such data include, for example, what is called a “summary structure” including the relation between the total money amount list and the detailed salary list, a “multi-level hierarchical structure” having levels such as the major, intermediate and minor classes, and a “decentralized structure” organized by, for instance, department. [0128]
  • Moreover, the use of the navigating assistance functions, by which visual hierarchical display of data is provided, permits users to make comfortable accesses to desired data in a database, which stores data of the multi-level hierarchical structure, without caring about the physical structure of the database. [0129]
  • Further, the utilization of selection condition values, which are related to logical sub-items described in a retrieval request, makes it possible to treat a set of plural key items, which bear the hierarchical relation among, for instance, the major, intermediate and minor classes, as a single hierarchical type item. Thus, when the database is used, the structure of data included therein is simplified. Consequently, users' convenience is exceedingly enhanced. [0130]
  • Additionally, the application of the techniques of this embodiment to OODB makes a data retrieving apparatus practical for retrieving data from a very large database, without reduction in the processing efficiency thereof and without requiring time and labor to convert the data structure. [0131]
  • The present invention can be implemented as a data retrieving system having a plurality of computer apparatuses, for example, a data retrieving server acting as a data retrieving apparatus, and plural client servers acting as request sources, which are bidirectionally communicably connected to one another through public networks, such as Internet, serving as communication circuits. [0132]
  • In this case, the data retrieving server is placed as, for instance, an search engine for a plurality of very large databases in a network environment. The data retrieving server is constituted by building databases, which are the same as the foregoing [0133] data dictionary 16 and database 17, respectively, in an internal or external storage device of a computer system. The data retrieving server further has a communication control section for communicating with the client servers through the public networks. Moreover, the data retrieving server has a retrieval request designation control section 11, a retrieval request translation processing section 12, a database retrieval processing section 13, a data integration processing section 14 and a result data output processing section 15, like the foregoing data retrieving apparatus 1 does.
  • Similarly, each of the client servers has a communication control section for transmitting a retrieval request to the data retrieval server and receiving a corresponding retrieval result. Each of the client servers further has functional blocks which are similar to the retrieval request [0134] designation control section 11 and the result data output processing section 15.
  • The data retrieving system is different from the foregoing [0135] data retrieving apparatus 1 in that this system has the communication control sections for controlling communication. Each of the client servers is adapted so as to transmit a retrieval request, which is issued from the retrieval request designation control section 11, to the data retrieving server provided on the public network through the communication control section. Further, each of the client servers is adapted so as to receive a retrieval result from the data retrieving server through the communication control section and input the received result to the result data output processing section 15.
  • On the other hand, the data retrieving server is adapted so as to receive a retrieval request from the client server through the communication control section and input the received retrieval request to the retrieval request [0136] designation control section 11 and further adapted to transmit a retrieval result received from the result data output processing section 15 to the client server through the communication control section. Consequently, the data retrieving server can achieve advantageous effects equivalent to those of the foregoing data retrieving apparatus 1.
  • Further, the fusion of the data retrieving servers and what is called an agent technique developed in Internet environment realizes a data retrieving system that can automatically retrieve data in response to retrieval requests from the plurality of client servers. [0137]
  • Thus, the data retrieving system as described above has high flexibility. Further, the optimum system for a very large database can be constructed. Moreover, processing time required for retrieving data is decreased. The processing cost of the entire system can be considerably reduced. [0138]
  • As is apparent from the foregoing description, the present invention achieves an intrinsic advantageous effect that a physically unnormalized data structure can be treated as a logically normalized data structure. Thus, the present invention enables a general-purpose data retrieval from a database which is so built as to include an unnormalized data structure. [0139]
  • While the present invention has been described in terms of the preferred embodiment and the modification thereof, the invention is not to be limited thereto, but can be embodied in various ways without departing from the principle of the invention as defined in the appended claims. [0140]

Claims (19)

What is claimed is:
1. A data retrieving method comprising the steps of:
providing data definition information for representing an unnormalized data structure contained in a database as a logically normalized data structure;
analyzing a retrieval request from a user according to said data definition information so as to convert the retrieval request into a query statement which is executable by the database;
executing said query statement relative to the database so as to obtain a retrieval result; and
editing the obtained retrieval result according to said data definition information so as to generate a final retrieval result corresponding to said retrieval request.
2. The data retrieving method according to claim 1, wherein said retrieval request includes a data extracting condition for restrictively specifying data to be retrieved, and wherein said query statement, which is executable by the database, is obtained by normalizing a logical description in the data extracting condition by a first-order predicate logic according to said data definition information.
3. The data retrieving method according to claim 1, wherein said final retrieval result is obtained by eliminating data redundancy included in the retrieval result obtained by executing said query statement.
4. A data retrieving apparatus comprising:
a database built so as to include an unnormalized data structure;
a data dictionary holding definition information for representing said unnormalized data structure as a logically normalized structure;
a retrieval request input section for assisting an input of a retrieval request from a user according to said data dictionary;
a retrieval request translation section for analyzing said retrieval request according to said data dictionary upon completion of the input of said retrieval request so as to convert said retrieval request into one or more query statements which are executable by said database;
a retrieval processing section for issuing said one or more query statements to said database so as to acquire retrieval data composed of one or more results of execution of said one or more query statements; and
a retrieval data processing section for editing said retrieval data so as to generate result data corresponding to said retrieval request.
5. The data retrieving apparatus according to claim 4, wherein said data dictionary includes the definition information to which display information selectably presented to the user when assisting said input, a query statement pattern for converting the retrieval request to the query statement which is executable by said database, and physical information in said database are related for each of logical items representing a data unit in said retrieval request.
6. The data retrieving apparatus according to claim 5, wherein said data dictionary includes a logical sub-item for complementing said logical item, and wherein information on categories in a logical item type for representing the unnormalized data structure as the logically normalized data structure is defined in said logical sub-item.
7. The data retrieving apparatus according to claim 5, wherein said retrieval request input section visibly presents the display information on data to be retrieved, according to said data dictionary, and interactively performs the selective input from the user of the retrieval request which includes an extraction condition for extracting the data to be retrieved.
8. The data retrieving apparatus according to claim 4, wherein said retrieval request input section designates a display format of said result data, said display format included in said retrieval request.
9. The data retrieving apparatus according to claim 5, wherein said retrieval request input section generates the result data from a plurality of display items, which are selected by the user from said display information, such that the plurality of display items employing a common display item as a key item are compounded into said result data.
10. The data retrieving apparatus according to claim 6, wherein said retrieval request input section dynamically adds information on the logical item type used for a logical description in an extraction condition to said data dictionary.
11. The data retrieving apparatus according to claim 4, wherein said retrieval request translation section performs a syntax analysis of the retrieval request according to said data dictionary to replace a retrieval request syntax pattern of said retrieval request with a corresponding query statement pattern which is executable by said database.
12. The data retrieving apparatus according to claim 4, wherein said retrieval request translation section converts the retrieval request into said one or more query statements which are normalized according to a first order predicate logic in a data manipulation language based on predetermined SQL.
13. The data retrieving apparatus according to claim 9, wherein said retrieval request translation section expands all the display items included in the retrieval request according to said data dictionary and converts the expanded display items into corresponding logical items, respectively, and wherein said retrieval request translation section removes data redundancy in the retrieval request by performing one of column integration for integrating different physical items, which compose the physical information, into a same logical item according to an extraction condition, column decomposition for decomposing a same physical item into different logical items, row selection for selecting a single logical item, whose content does not overlap with those of other items, from physical items whose contents overlap with those of other physical items, and key value selection for selecting different physical items according to a key value and aggregating the different physical items to a single logical item, and converts the retrieval request into said one or more query statements normalized according to a first order predicate logic in a data manipulation language based on predetermined SQL.
14. The data retrieving apparatus according to claim 4, wherein said retrieval data processing section removes a redundant part by integrating items formed from a same logical item in the retrieval data corresponding to said one or more query statements.
15. The data retrieving apparatus according to claim 4, wherein said retrieval data processing section performs data processing and tabulation on the retrieval data according to designation of a display format concerning the result data when the designation of the display format is included in the retrieval request.
16. The data retrieving apparatus according to claim 4, wherein said database is constructed as a predetermined object-oriented database.
17. A data retrieving system comprising the data retrieving apparatus according to claim 4 and a plurality of retrieval request source devices, wherein said data retrieving apparatus is bidirectionally communicably connected to said retrieval request source devices, and wherein said data retrieving apparatus is constituted so as to acquire a retrieval request issued from each of said retrieval request source devices and transmit a corresponding retrieval result to the corresponding retrieval request source device.
18. The data retrieving system according to claim 17, wherein the retrieval request is inputted to said data retrieving apparatus through an agent function.
19. A storage medium storing a program which is executable by a computer apparatus comprising a database built so as to include an unnormalized data structure, and a data dictionary holding definition information for representing said unnormalized data structure as a logically normalized structure, said program causing the computer apparatus to execute the steps of:
assisting an input of a retrieval request from a user according to said data dictionary;
analyzing said retrieval request according to said data dictionary upon completion of the input of said retrieval request so as to convert said retrieval request into one or more query statements which are executable by said database;
issuing said one or more query statements to said database so as to acquire retrieval data composed of one or more results of execution of said one or more query statements; and
editing said retrieval data so as to generate result data corresponding to said retrieval request.
US10/652,642 1998-07-09 2003-08-28 Systems and methods for retrieving data from an unnormalized database Expired - Lifetime US7016894B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US10/652,642 US7016894B2 (en) 1998-07-09 2003-08-28 Systems and methods for retrieving data from an unnormalized database
US11/337,380 US7165064B2 (en) 1998-07-09 2006-01-23 Systems and methods for retrieving data

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP19466698A JP3213585B2 (en) 1998-07-09 1998-07-09 Data search method and apparatus, data search system, recording medium
JP10-194666 1998-07-09
US09/346,778 US6678674B1 (en) 1998-07-09 1999-07-07 Data retrieving method and apparatus data retrieving system and storage medium
US10/652,642 US7016894B2 (en) 1998-07-09 2003-08-28 Systems and methods for retrieving data from an unnormalized database

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/346,778 Continuation US6678674B1 (en) 1998-07-09 1999-07-07 Data retrieving method and apparatus data retrieving system and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/337,380 Continuation US7165064B2 (en) 1998-07-09 2006-01-23 Systems and methods for retrieving data

Publications (2)

Publication Number Publication Date
US20040039730A1 true US20040039730A1 (en) 2004-02-26
US7016894B2 US7016894B2 (en) 2006-03-21

Family

ID=16328298

Family Applications (3)

Application Number Title Priority Date Filing Date
US09/346,778 Expired - Lifetime US6678674B1 (en) 1998-07-09 1999-07-07 Data retrieving method and apparatus data retrieving system and storage medium
US10/652,642 Expired - Lifetime US7016894B2 (en) 1998-07-09 2003-08-28 Systems and methods for retrieving data from an unnormalized database
US11/337,380 Expired - Lifetime US7165064B2 (en) 1998-07-09 2006-01-23 Systems and methods for retrieving data

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/346,778 Expired - Lifetime US6678674B1 (en) 1998-07-09 1999-07-07 Data retrieving method and apparatus data retrieving system and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
US11/337,380 Expired - Lifetime US7165064B2 (en) 1998-07-09 2006-01-23 Systems and methods for retrieving data

Country Status (2)

Country Link
US (3) US6678674B1 (en)
JP (1) JP3213585B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044118A1 (en) * 2002-11-29 2005-02-24 Miki Sasaki Numerical information retrieving device
US20050102284A1 (en) * 2003-11-10 2005-05-12 Chandramouli Srinivasan Dynamic graphical user interface and query logic SQL generator used for developing Web-based database applications
US20070055708A1 (en) * 2005-09-07 2007-03-08 Ncr Corporation Processing formulae in rules for profitability calculations for financial processing in a relational database management system
US7272617B1 (en) * 2001-11-30 2007-09-18 Ncr Corp. Analytic data set creation for modeling in a customer relationship management system
US20090271372A1 (en) * 2008-04-28 2009-10-29 American Express Travel Related Services Company, Inc. Service provider framework
US20110004632A1 (en) * 2009-07-02 2011-01-06 International Business Machines Corporation Modular authoring and visualization of rules using trees
US20110004464A1 (en) * 2009-07-02 2011-01-06 International Business Machines Corporation Method and system for smart mark-up of natural language business rules
US20110004834A1 (en) * 2009-07-02 2011-01-06 International Business Machines Corporation Intuitive visualization of boolean expressions using flows
US8005870B1 (en) * 2001-06-19 2011-08-23 Microstrategy Incorporated System and method for syntax abstraction in query language generation
US9298857B2 (en) 2009-07-02 2016-03-29 Fujitsu Limited Information integrating apparatus, method, and computer product

Families Citing this family (54)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3213585B2 (en) * 1998-07-09 2001-10-02 株式会社インフォメックス Data search method and apparatus, data search system, recording medium
JP2000285140A (en) * 1998-12-24 2000-10-13 Ricoh Co Ltd Device and method for processing document, device and method for classifying document, and computer readable recording medium recorded with program for allowing computer to execute these methods
US8321411B2 (en) * 1999-03-23 2012-11-27 Microstrategy, Incorporated System and method for management of an automatic OLAP report broadcast system
US6408292B1 (en) 1999-08-04 2002-06-18 Hyperroll, Israel, Ltd. Method of and system for managing multi-dimensional databases using modular-arithmetic based address data mapping processes on integer-encoded business dimensions
US6385604B1 (en) * 1999-08-04 2002-05-07 Hyperroll, Israel Limited Relational database management system having integrated non-relational multi-dimensional data store of aggregated data elements
US6848029B2 (en) 2000-01-03 2005-01-25 Dirk Coldewey Method and apparatus for prefetching recursive data structures
US6847959B1 (en) * 2000-01-05 2005-01-25 Apple Computer, Inc. Universal interface for retrieval of information in a computer system
US20020029207A1 (en) * 2000-02-28 2002-03-07 Hyperroll, Inc. Data aggregation server for managing a multi-dimensional database and database management system having data aggregation server integrated therein
US7181508B1 (en) * 2000-11-09 2007-02-20 Oki Data Americas, Inc. System and method for communicating, monitoring and configuring a device operatively connected to a network
US20020138331A1 (en) * 2001-02-05 2002-09-26 Hosea Devin F. Method and system for web page personalization
US6996558B2 (en) 2002-02-26 2006-02-07 International Business Machines Corporation Application portability and extensibility through database schema and query abstraction
US7127463B2 (en) * 2002-04-18 2006-10-24 International Business Machines Corporation Optimization of database network traffic based upon data-use analysis
US7356523B2 (en) * 2002-05-23 2008-04-08 International Business Machines Corporation Dynamic optimization of prepared statements in a statement pool
US7096229B2 (en) * 2002-05-23 2006-08-22 International Business Machines Corporation Dynamic content generation/regeneration for a database schema abstraction
US20050096954A1 (en) * 2003-11-05 2005-05-05 Halligan R. M. Method and apparatus for the discovery of trade secrets, including the collection, compilation, correlation, integration, categorization and reporting of data about trade secrets
US7900133B2 (en) 2003-12-09 2011-03-01 International Business Machines Corporation Annotation structure type determination
GB2410577A (en) * 2004-01-31 2005-08-03 Patrick Ian Carmody Development and maintenance of computer databases
EP1585031A1 (en) * 2004-03-29 2005-10-12 Sap Ag Generating data base queries based on data dictionary.
JP2005321849A (en) * 2004-05-06 2005-11-17 Fujitsu Ltd Data analysis support program, method, and device
US8122012B2 (en) * 2005-01-14 2012-02-21 International Business Machines Corporation Abstract record timeline rendering/display
US7499917B2 (en) * 2005-01-28 2009-03-03 International Business Machines Corporation Processing cross-table non-Boolean term conditions in database queries
US20060235819A1 (en) * 2005-04-14 2006-10-19 International Business Machines Corporation Apparatus and method for reducing data returned for a database query using select list processing
US7904759B2 (en) * 2006-01-11 2011-03-08 Amazon Technologies, Inc. System and method for service availability management
US9037698B1 (en) 2006-03-14 2015-05-19 Amazon Technologies, Inc. Method and system for collecting and analyzing time-series data
US7979439B1 (en) * 2006-03-14 2011-07-12 Amazon Technologies, Inc. Method and system for collecting and analyzing time-series data
US8601112B1 (en) 2006-03-14 2013-12-03 Amazon Technologies, Inc. Method and system for collecting and analyzing time-series data
JP2008003974A (en) * 2006-06-26 2008-01-10 Tokyo Electric Power Co Inc:The Data structure for database, retrieval method and device, and database structuring method and device
EP2482209A1 (en) 2006-10-05 2012-08-01 Splunk Inc. Time series search engine
US20080183605A1 (en) * 2006-10-12 2008-07-31 Taraboulsi Ramy R System and Method for Equity-Based Compensation Accounting
JP2008112934A (en) * 2006-10-31 2008-05-15 Oki Electric Ind Co Ltd Semiconductor memory, and its manufacturing method
US8566359B1 (en) * 2008-12-15 2013-10-22 Pixar Unfolding sparse data sets
US20110030059A1 (en) * 2009-07-30 2011-02-03 Greenwald Lloyd G Method for testing the security posture of a system
JP5391504B2 (en) * 2009-12-15 2014-01-15 日清エンジニアリング株式会社 Battery evaluation system
US9098546B2 (en) * 2012-12-12 2015-08-04 Sap Se Advanced business query language
US10997191B2 (en) 2013-04-30 2021-05-04 Splunk Inc. Query-triggered processing of performance data and log data from an information technology environment
US10346357B2 (en) 2013-04-30 2019-07-09 Splunk Inc. Processing of performance data and structure data from an information technology environment
US10225136B2 (en) 2013-04-30 2019-03-05 Splunk Inc. Processing of log data and performance data obtained via an application programming interface (API)
US10614132B2 (en) 2013-04-30 2020-04-07 Splunk Inc. GUI-triggered processing of performance data and log data from an information technology environment
US10318541B2 (en) 2013-04-30 2019-06-11 Splunk Inc. Correlating log data with performance measurements having a specified relationship to a threshold value
US10019496B2 (en) 2013-04-30 2018-07-10 Splunk Inc. Processing of performance data and log data from an information technology environment by using diverse data stores
US10353957B2 (en) 2013-04-30 2019-07-16 Splunk Inc. Processing of performance data and raw log data from an information technology environment
JP5916974B1 (en) 2014-11-19 2016-05-11 株式会社インフォメックス Data search device, program, and recording medium
WO2016080413A1 (en) 2014-11-19 2016-05-26 株式会社インフォメックス Data retrieval apparatus, program and recording medium
US9910871B2 (en) 2014-12-15 2018-03-06 Sap Se Transparent database table replacement
JP6466370B2 (en) * 2016-06-20 2019-02-06 有限会社シャルム Table information processing apparatus, table information processing method, and program
US10558659B2 (en) * 2016-09-16 2020-02-11 Oracle International Corporation Techniques for dictionary based join and aggregation
US10572475B2 (en) * 2016-09-23 2020-02-25 Oracle International Corporation Leveraging columnar encoding for query operations
CN109739874A (en) * 2018-11-23 2019-05-10 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium of data content are provided
US11288275B2 (en) 2019-09-09 2022-03-29 Oracle International Corporation Technique for fast join processing of dictionary encoded key columns in relational database systems
US11429604B2 (en) 2019-09-10 2022-08-30 Oracle International Corporation Techniques of heterogeneous hardware execution for SQL analytic queries for high volume data processing
US11514055B2 (en) 2019-09-13 2022-11-29 Oracle International Corporation Querying on hybrid formats and storages
CN111597212B (en) * 2020-05-22 2024-03-08 北京明略昭辉科技有限公司 Data retrieval method and device
CN113254250B (en) * 2021-06-16 2022-01-04 阿里云计算有限公司 Database server abnormal cause detection method, device, equipment and storage medium
CN114443642A (en) * 2021-10-25 2022-05-06 应急管理部国家自然灾害防治研究院 Multi-dimensional data retrieval method and system for Zhang Heng satellite I

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5197005A (en) * 1989-05-01 1993-03-23 Intelligent Business Systems Database retrieval system having a natural language interface
US5386556A (en) * 1989-03-06 1995-01-31 International Business Machines Corporation Natural language analyzing apparatus and method
US5701453A (en) * 1993-07-01 1997-12-23 Informix Software, Inc. Logical schema to allow access to a relational database without using knowledge of the database structure
US5937402A (en) * 1997-06-19 1999-08-10 Ontos, Inc. System for enabling access to a relational database from an object oriented program
US6112199A (en) * 1995-10-18 2000-08-29 Nelson; Paul M. Data item values
US6233578B1 (en) * 1996-09-11 2001-05-15 Nippon Telegraph And Telephone Corporation Method and system for information retrieval

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2602205B2 (en) * 1986-01-16 1997-04-23 株式会社日立製作所 Database access control method
US5295256A (en) * 1990-12-14 1994-03-15 Racal-Datacom, Inc. Automatic storage of persistent objects in a relational schema
US5918225A (en) * 1993-04-16 1999-06-29 Sybase, Inc. SQL-based database system with improved indexing methodology
US5584024A (en) * 1994-03-24 1996-12-10 Software Ag Interactive database query system and method for prohibiting the selection of semantically incorrect query parameters
US5974418A (en) * 1996-10-16 1999-10-26 Blinn; Arnold Database schema independence
US6061690A (en) * 1997-10-31 2000-05-09 Oracle Corporation Apparatus and method for storage of object collections in a database system
US6167399A (en) * 1998-05-05 2000-12-26 Ncr Corporation Join index for relational databases
JP3213585B2 (en) * 1998-07-09 2001-10-02 株式会社インフォメックス Data search method and apparatus, data search system, recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5386556A (en) * 1989-03-06 1995-01-31 International Business Machines Corporation Natural language analyzing apparatus and method
US5197005A (en) * 1989-05-01 1993-03-23 Intelligent Business Systems Database retrieval system having a natural language interface
US5701453A (en) * 1993-07-01 1997-12-23 Informix Software, Inc. Logical schema to allow access to a relational database without using knowledge of the database structure
US6112199A (en) * 1995-10-18 2000-08-29 Nelson; Paul M. Data item values
US6233578B1 (en) * 1996-09-11 2001-05-15 Nippon Telegraph And Telephone Corporation Method and system for information retrieval
US5937402A (en) * 1997-06-19 1999-08-10 Ontos, Inc. System for enabling access to a relational database from an object oriented program

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8005870B1 (en) * 2001-06-19 2011-08-23 Microstrategy Incorporated System and method for syntax abstraction in query language generation
US7272617B1 (en) * 2001-11-30 2007-09-18 Ncr Corp. Analytic data set creation for modeling in a customer relationship management system
US20050044118A1 (en) * 2002-11-29 2005-02-24 Miki Sasaki Numerical information retrieving device
US7280997B2 (en) * 2002-11-29 2007-10-09 Oki Electric Industry Co., Ltd. Numerical information retrieving device for transforming the form in which numerical information is presented
US20050102284A1 (en) * 2003-11-10 2005-05-12 Chandramouli Srinivasan Dynamic graphical user interface and query logic SQL generator used for developing Web-based database applications
US20070055708A1 (en) * 2005-09-07 2007-03-08 Ncr Corporation Processing formulae in rules for profitability calculations for financial processing in a relational database management system
US20090271372A1 (en) * 2008-04-28 2009-10-29 American Express Travel Related Services Company, Inc. Service provider framework
US8176062B2 (en) * 2008-04-28 2012-05-08 American Express Travel Related Services Company, Inc. Service provider framework
US20110004834A1 (en) * 2009-07-02 2011-01-06 International Business Machines Corporation Intuitive visualization of boolean expressions using flows
US20110004464A1 (en) * 2009-07-02 2011-01-06 International Business Machines Corporation Method and system for smart mark-up of natural language business rules
US20110004632A1 (en) * 2009-07-02 2011-01-06 International Business Machines Corporation Modular authoring and visualization of rules using trees
US8381178B2 (en) 2009-07-02 2013-02-19 International Business Machines Corporation Intuitive visualization of Boolean expressions using flows
US8713012B2 (en) * 2009-07-02 2014-04-29 International Business Machines Corporation Modular authoring and visualization of rules using trees
US8862457B2 (en) 2009-07-02 2014-10-14 International Business Machines Corporation Method and system for smart mark-up of natural language business rules
US9298857B2 (en) 2009-07-02 2016-03-29 Fujitsu Limited Information integrating apparatus, method, and computer product

Also Published As

Publication number Publication date
JP2000029887A (en) 2000-01-28
US7016894B2 (en) 2006-03-21
US6678674B1 (en) 2004-01-13
JP3213585B2 (en) 2001-10-02
US7165064B2 (en) 2007-01-16
US20060206312A1 (en) 2006-09-14

Similar Documents

Publication Publication Date Title
US6678674B1 (en) Data retrieving method and apparatus data retrieving system and storage medium
US20210209157A1 (en) System and method for non-programmers to dynamically manage multiple sets of xml document data
JP6580737B2 (en) DATA SEARCH DEVICE, DATA SEARCH METHOD, DATA SEARCH PROGRAM, AND RECORDING MEDIUM
US5455945A (en) System and method for dynamically displaying entering, and updating data from a database
US7015911B2 (en) Computer-implemented system and method for report generation
Andritsos et al. Clean answers over dirty databases: A probabilistic approach
US6163774A (en) Method and apparatus for simplified and flexible selection of aggregate and cross product levels for a data warehouse
US8886617B2 (en) Query-based searching using a virtual table
Choobineh et al. An expert database design system based on analysis of forms
US5933796A (en) Data extracting system based on characteristic quantities of data distribution
JP2004086782A (en) Apparatus for supporting integration of heterogeneous database
US20080313153A1 (en) Apparatus and method for abstracting data processing logic in a report
US7296040B2 (en) System and method of formulating queries in relational databases
JPH11250073A (en) Method and device for retrieving semantic hierarchy of plural databases and medium for storing program therefor
Liu et al. A proposal of integrating data mining and on-line analytical processing in data warehouse
US11216486B2 (en) Data retrieval apparatus, program and recording medium
Lin et al. Subscript-free modeling languages: A tool for facilitating the formulation and use of models
Pluempitiwiriyawej A new hierarchical clustering model for speeding up the reconciliation of XML-based, semistructured data in mediation systems
Niu et al. Data Warehouse Query Construction and Situation Presentation
Dadashzadeh Set Comparison in Relational Query Languages
Bailey Design of a professional genealogical information system: including navigation from an unstructured database to a structured database
JPH03174656A (en) Processing system for retrieval of ambiguous information
Tawfik Jelassi et al. Designing a Generalized Multiple Criteria Decision Support System
Udréa Efficient Integration of Data Mining Techniques in Database Management Systems
JPH096793A (en) Inquiry processor for data base management system

Legal Events

Date Code Title Description
STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: SMALL ENTITY

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YR, SMALL ENTITY (ORIGINAL EVENT CODE: M2553)

Year of fee payment: 12