US20040249785A1 - Method of designing a database access system and system for updating a database access system - Google Patents

Method of designing a database access system and system for updating a database access system Download PDF

Info

Publication number
US20040249785A1
US20040249785A1 US10/672,230 US67223003A US2004249785A1 US 20040249785 A1 US20040249785 A1 US 20040249785A1 US 67223003 A US67223003 A US 67223003A US 2004249785 A1 US2004249785 A1 US 2004249785A1
Authority
US
United States
Prior art keywords
file
database
mobile device
binary structure
record
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.)
Abandoned
Application number
US10/672,230
Inventor
Thomas Gauweiler
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
Application filed by Individual filed Critical Individual
Priority to US10/672,230 priority Critical patent/US20040249785A1/en
Publication of US20040249785A1 publication Critical patent/US20040249785A1/en
Abandoned 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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • 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/99942Manipulating data structure, e.g. compression, compaction, compilation
    • 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/99951File or database maintenance
    • Y10S707/99952Coherency, e.g. same view to multiple users
    • Y10S707/99953Recoverability

Definitions

  • the present invention relates to the areas of information systems and computer software.
  • the present invention provides a database access system and a development environment for developing a database access system for business applications.
  • Information and computer technology are an essential component of modern business operations.
  • the utility of computer technology has been enhanced by the coupling of computers with information networks such as the Internet and the World Wide Web (“WWW”).
  • Successful business operations in the global marketplace may require a synergetic relationship between local and distributed operations.
  • localized operations may include research and development, inventory management, customer service, strategic planning, etc.
  • Distributed operations are conducted, for example, by sales personnel in the field who interact with customers and perform such tasks as order generation, customer relations, customer support, etc.
  • Field personnel may utilize mobile devices such as laptop computers or personal digital assistants (“PDAs”) for accessing customer information, receiving customer orders, communicating with one or more centralized databases at the home office, etc.
  • PDAs personal digital assistants
  • Field personnel may require accurate and timely information regarding the state of business operations in order to effectively perform their jobs. For example, sales personnel may require up-to-the-minute information regarding current inventory levels, product availability and customer data. Conversely, the enterprise may operate more effectively through centralized management of information regarding the operations of field personnel and information collected in the field.
  • One model for providing the requisite computing environment may involve a plurality of mobile devices operating in an offline mode, in which the offline mode status is transparent to the users. That is, the mobile devices may run applications in offline mode, yet the user may interact with the mobile applications as if they were running in an online mode.
  • a relational database allows the definition of data structures, storage and retrieval operations and integrity constraints.
  • the data and relations between them are organized in tables.
  • a table is a collection of rows or records and each row in a table contains the same fields. Certain fields may be designated as keys, which means that searchesfor specific values of that field will use indexing. Where fields in two different tables take values from the same set, a “join” operation can be performed to select related records in the two tables by matching values in those fields.
  • the fields may have the same name in both tables. For example, an “orders” table might contain (customer_id, product_code) pairs and a “products” table might contain (product_code, price) pairs.
  • a method for accessing a database includes creating in a design environment an file that defines a metadata.
  • the metadata relates at least one business object and at least one query.
  • the method also includes communicating the file to a mobile device, storing the file on the mobile device, and transforming the file into a binary structure at an initial run of a computer application running on the mobile device.
  • the binary structure is adapted to be read by the computer application.
  • the method also includes recording the binary structure in a memory of the mobile device.
  • a method includes retrieving a first record from a database in response to a request from a first recordset and saving the first record on a first bufferpage of a memory.
  • the first bufferpage is associated with the first recordset.
  • the method also includes repeating the previously mentioned steps for a further record.
  • the method indicates to save the next record on a second bufferpage of the memory.
  • the second bufferpage is associated with the first recordset.
  • a method of managing a memory includes dividing the memory into a plurality of blocks and recording in a first block of the memory in a first databuffer at least a first property of a first record in response to a first request of a first recordset.
  • the method also includes recording in one of the first block and a second block of the memory in a second databuffer at least one of the first property and a second property of the first record in response to a second request of one of the first recordset and a second recordset.
  • the method further includes storing with the first databuffer a pointer to the second databuffer.
  • a method for providing database access for a plurality of files with a limited number of database access channels includes receiving a first signal indicating an initiation of a new file. If a desired number of database access channels is greater than or equal to the limited number of database access channels, the method indicates to determine a respective active file corresponding to each of the database access channels. The method also includes sequentially causing each of the active files to access one of a database record and a plurality of database records. The method further includes repeating the step of sequentially causing each of the active files to access one of a database record and a plurality of database records until a second signal is received indicating a first active file has accessed all database records. The method also includes the step of reassigning a first database access channel which was assigned to the first active file to the new file.
  • a method for providing access to a database in a computing environment for a plurality of recordsets is provided.
  • Each of the plurality of recordsets is associated with a database access channel for fetching records of the plurality of recordsets from the database upon occurrence of a preselected event.
  • the method includes initiating a new recordset and, if a number of the plurality of recordsets is equal to a maximum number of database access channels, sequentially fetching at least one record for each recordset until a first recordset has fetched all records associated with the first recordset.
  • the method further includes assigning the database access channel of the first recordset to the new recordset.
  • a method of fetching data for a plurality of active files from a database having a limited number of database connections includes assigning each database connection of the limited number of database connections to an active file until one of (i) all of the limited number of database connections have been assigned, and (ii) each active file desiring a database connection has a corresponding assigned database connection.
  • the method also includes determining if any active file desiring the database connection does not have the corresponding assigned database connection. If any active file desiring one of the limited number of database connections does not have a corresponding assigned database connection, the method indicates to fetch a record for each file from the database on the assigned database connection sequentially until all records for at least one file are fetched.
  • the method further includes reassigning the assigned database connection for the at least one file for which all records have been fetched to another active file that does not have a corresponding assigned database connection.
  • XML extensible markup language
  • XML is a standard for exchanging structured information, and may provide flexibility to the designer by combining human readability with machine readability.
  • the Data Access Layer collapses the Business Object Layer (“BOL”) and the Transaction Layer (“TL”) into one layer, and replaces TL database access functionality with embedded, direct database access. Methods within the BOL access the local database tables directly, and the inefficiencies associated with recordset abstraction may thereby be avoided. Memory buffers may also be managed more efficiently within a single layer.
  • BOL Business Object Layer
  • TL Transaction Layer
  • FIG. 1 shows a schematic diagram of an application that a user uses to interface with a database and the relationship between the system in the run-time environment and the design environment.
  • FIG. 2 shows a schematic diagram of an exemplary embodiment of the present invention that a user uses to interact with a database and the relationship between the system in the run-time environment and the design environment.
  • FIG. 3 shows a schematic diagram of an exemplary embodiment of the present invention showing a business object layer (BOL) having a data access layer (DAL) and interacting with a database.
  • BOL business object layer
  • DAL data access layer
  • FIG. 5 shows a schematic diagram of an exemplary embodiment of the present invention showing a database and multiple b.o.collections with buffer memories having records.
  • FIG. 6 shows a flowchart of an exemplary method of the present invention for managing a limited number of channels to a database in a fetch-on-demand application environment.
  • FIG. 7 shows a flowchart of an exemplary method of the present invention showing the relationship between an XML file created in the development environment and a binary structure of the XML file for use in a run-time environment.
  • FIG. 8 shows a schematic diagram illustrating the relationship between a BOManager, BOKernel and several databuffers.
  • FIG. 9 shows a schematic diagram illustrating the relationship between a BOCollection, BOKernels having keys, and a buffer page having several databuffers.
  • FIG. 10 shows a schematic diagram of an exemplary embodiment of a system of the present invention showing a mobile system and a network.
  • FIG. 11 shows a flowchart of an exemplary method of the present invention for storing records in a memory.
  • a business object type is the representation of a business entity in the system. It encompasses both the functionality (in the form of methods) and the data (in the form of attributes) of this entity. The implementation details of the business object type may be hidden from the user. The business object type may be accessed through defined functions (also referred to hereinafter as methods). This may be referred to as “encapsulation.”
  • Business object types are used to break a system down into smaller, disjunctive units. As a result, the system's structure is improved while its complexity is reduced.
  • Business object types may form the point of entry for the data and the functions of the system.
  • At the business object type level both internal systems and various business components can communicate with each other.
  • the business object type “FlightBooking” may represent a binding seat reservation for a flight.
  • a special flight booking is identifiable by a booking number and the airline.
  • the business object type “FlightBooking” may be accessed by various methods. These access methods may include: FlightBooking.GetList( ), which may return a list of all flight bookings stored in a system (which may be optionally restricted according to particular search criteria); FlightBooking.CreateFromData( ), which may create a new flight booking in the system. FlightBooking.Cancel( ), which may cancel a flight booking that has already been created; and FlightBooking.Confirm( ), which may convert a flight reservation into a legally binding flight booking.
  • a business object type may therefore include a business concept and how to realize it in a computer system.
  • the term “business object type” may correspond to the term “class” in object-oriented programming languages.
  • a specific occurrence of a business object type for example, a flight booking that is actually stored in the system, may need to be distinguished from the business object type itself.
  • An occurrence of a business object type may be termed an instance of a business object type or a business object (the usual term in object-oriented programming languages).
  • An example of an instance of a business object type may be the flight booking “LH 4711 FlightBooking.” This flight booking is identified by the airline code “LH” and the booking number “4711.” The object is described according to its attributes, for example the flight date or the customer number.
  • a generic business object may represent a physical or logical entity in a business scenario and may be characterized by any of: attributes; methods; events; business rules; and relations to other business objects.
  • a business logic framework may support objects other than business objects including: business collections (short for business ‘objects’ collections); query objects (used for predefined searches); combinations (used for fetching allowed sets of values); and salient features.
  • a general foundation for modeling business objects may provide elements that are richer and closer to the business domain than the typical elements of relational databases.
  • FIG. 1 shows a schematic diagram of a system level application that user 12 uses to interface with a database and the relationship between the system in run-time environment 10 and design environment 11 .
  • User 12 interfaces with user interface layer 13 which communicates with interaction layer 14 .
  • User interface layer 13 may be a display and interaction layer 14 may include a display driver.
  • Interaction layer 14 communicates with business object layer 15 , which in turn communicates with transaction layer 16 .
  • Transaction layer 16 controls access to a database.
  • Each of the different layers 13 , 14 , 15 , 16 may require a separate memory buffer for functioning. Therefore, four separate buffer memory arrangements may be required to operate the system.
  • the system is designed in design environment 11 .
  • Design environment 11 may include mobile application studio 17 , which may be adapted to design and create applications, which in turn may be run on mobile devices.
  • Mobile application studio 17 may include interaction component modeler 18 for designing interaction layer 14 and business object modeler 19 for designing business object layer 15 .
  • Design environment 11 also may include bdoc modeler 20 , which may be adapted to design transaction layer 16 .
  • each respective layer may be converted into a respective layer by converters 21 a , 21 b , 21 c .
  • Converters 21 a , 21 b , 21 c may be a converter, translator or generator, and may output object code, machine readable code, and/or any binary structure readable by a machine.
  • Design environment 11 may exist primarily on a network, though the design of the system and the creation of files (in particular XML files) may occur in a mobile device.
  • Run-time environment 10 may exist in both a network and a mobile device.
  • FIG. 2 shows a schematic diagram of an exemplary embodiment of the present invention that user 12 uses to interact with a database and the relationship between the system in run-time environment 10 and design environment 11 .
  • User 12 interfaces with user interface layer 13 .
  • User interface layer 13 communicates with interaction layer 14 .
  • Interaction layer 14 communicates with business object layer 15 .
  • Business object layer 15 includes data access layer 22 .
  • Data access layer 22 controls access to a database. Integrating data access layer 22 into business object layer 15 therefore may reduce the number of memory buffers which may be required for functioning of the system. Three or fewer separate buffer memory arrangements may only be required to operate the system.
  • the system shown in FIG. 2 is designed in design environment 11 .
  • a combination of business object modeler 19 of mobile application studio 17 and bdoc modeler 20 (both operating in design environment 11 ) may determine the structure of business object layer 15 including data access layer 22 (operating in run-time environment 10 ).
  • Replacing transaction layer 16 with data access layer 22 integrated in business object layer 15 enables an embedded direct database access, which may be responsible for read and write access. Buffer management may be suited for business object layer 15 since it may avoid recordset abstraction. Business object layer 15 's metadata may be enhanced by information from the bdoc modeler 20 .
  • the buffer management as implemented by data access layer 22 may have the advantages that it acts: as a cache of database data; uses minimal memory; avoids fragmentation; avoids unnecessary copies; and supports data from multiple different sized data selections.
  • Converter 21 c may communicate an XML file that is created in design environment 11 to run-time environment 10 .
  • the XML file may be loaded onto a mobile device, for instance a laptop computer or PDA.
  • the application is run for the first time, the XML file is converted into a binary structure that is readable by the machine. This binary structure is then saved on the machine.
  • the application which accesses the database is subsequently run on the machine, the XML file does not need to be converted. Instead, the binary structure may be read from memory and mapped into the buffer for accessing the database.
  • the XML file contains metadata. Metadata, in contrast to data, resembles a system in which data can be entered.
  • the metadata sets may be an order, and the order may have a number and may have items. Metadata describes how data itself looks.
  • Bdoc modeler 20 may create this XML file and design the metadata. The conversion of the XML file into a binary structure may occur in run-time environment 10 .
  • the mobile system may load the unformatted files over converters 21 a , 21 b , 21 c from the design components (mobile application studio 17 , interaction component modeler 18 , business object modeler 19 , and/or bdoc modeler 20 ). The mobile system may then compile, convert, translate, and/or generate object code from the unformatted files on the first running of the application on the mobile system. On subsequent running of the application on the mobile system, the mobile system may use the previously compiled object code or may compile, convert, translate, and/or generate object code from the unformatted files again.
  • FIG. 3 shows a schematic diagram of an exemplary embodiment of the present invention showing business object layer (BOL) 15 having data access layer (DAL) 22 and interacting with database 29 .
  • Data access layer 22 includes data loaders 28 a , 28 b which access database 29 .
  • Data loaders 28 a , 28 b read records out of database 29 in response to a query or an operation of the application.
  • Data loaders 28 a , 28 b may only load as much data as may be displayed by a user interface, or tile, within the application.
  • Each of data loaders 28 a , 28 b may be associated with a different tile of an application.
  • the number of records loaded by data loaders 28 a , 28 b may be controlled by b.o.collections (business object collections, which may also be referred to hereinafter as a file or an active file) 24 a , 24 b , respectively.
  • b.o.collections business object collections, which may also be referred to hereinafter as a file or an active file
  • data loaders 28 a , 28 b may be terminated because they are no longer needed.
  • B.o.collections 24 a , 24 b determine the number of records being requested by the application and communicates those records to com.b.o.collections (communication business object collections) 23 a , 23 b , respectively, which may be part of the business object layer but which may be outside of the data access layer.
  • Com.b.o.collections 23 a , 23 b may communicate the data that is to be displayed to a user interface.
  • COM refers to communication technology and may be a way to expose objects to the application code.
  • B.o.collections 24 a , 24 b may also communicate the identity of which records are loaded by data loaders 28 a , 28 b to business object manager (BOManager) 25 .
  • Business object manager 25 may be a shared operation that communicates with several b.o.collections 24 a , 24 b which are active in supplying records to respective tiles or windows of an application.
  • Business object manager 25 may determine if a particular record loaded by either of data loader 28 a or data loader 28 b has previously been loaded. If the particular record has not previously been loaded, then business object manager 25 may create a b.o.kernel (business object kernel) 26 a for the particular record. Alternatively, business object manager 25 may direct b.o.collection 24 a , 24 b to create b.o.kernel 26 a for the new record. B.o.kernel 26 a may store the record in a buffer memory using memory management 27 in a location appropriate to the other records being loaded by the respective data loader 28 a , 28 b . This location may be determined by memory management 27 .
  • B.o.kernel 26 a may include a key indicating the record stored and the location of the record stored.
  • business object manager 25 will recognize that the record has been stored because b.o.kernel 26 a indicates that this record has been stored.
  • B.o.kernel 26 a will store the record again in the buffer memory in a location appropriate to the other data being loaded and as indicated by memory management 27 .
  • B.o. kernel 26 a will cause the first recording of the record to include a pointer to the second recording of the record, so that the records are linked in a buffer chain.
  • data loader 28 a may load a record from database 29 into b.o.collection 24 a .
  • This record may be communicated to com.b.o.collection 23 a for display to a user and the identity of this record may also be communicated to business object manager 25 .
  • Business object manager 25 may determine if the record has been previously stored in the buffer memory by checking a look-up table. If the record has not been previously loaded into buffer memory, then business object manager 25 may create b.o.kernel 26 a or may direct b.o.collection 24 a to create b.o.kernel 26 a .
  • B.o.kernel 26 a may include a pointer, which will point to the address at which memory management 27 records the record in the buffer memory.
  • B.o.kernel 26 a may also include a key which identifies the record assigned to b.o.kernel 26 a and may also include a counter indicating the number of times which the record is stored for different recordsets which are currently open in the application.
  • a recordset may correspond to a group of records that satisfy a query or are properly displayed in a window or tile.
  • the recordset may be referred to hereinafter interchangeably with the query, window, and/or tile that creates and/or defines the recordset.
  • Data loader 28 b may later load the same record from database 29 and may communicate the record to b.o.collection 24 b .
  • B.o.collection 24 b may communicate the record to com.b.o.collection 23 b for display to the user, and may also communicate the identity of the record to business object manager 25 .
  • Business object manager 25 may determine that the record has already been stored in the buffer memory by evaluating b.o.kernel 26 a and other b.o.kernels which are included in a look-up table in business object manager 25 .
  • Business object manager 25 will recognize that the record has been stored since b.o.kernel 26 a includes a key identifying the record stored in the buffer memory.
  • the record will be communicated to b.o.kernel 26 a by b.o.collection 24 b , which will then communicate the record to memory management 27 .
  • Memory management 27 will store the record with other records accessed by data loader 28 b in the appropriate memory buffer block.
  • Memory management 27 will communicate the location of the record to b.o.kernel 26 a .
  • B.o.kernel 26 a will then record this second buffer location in a pointer included in the first buffer location of the record. In this way a chain will grow in the event that additional identical records are read from database 29 and stored in the buffer memory.
  • B.o.kernel 26 a will point to the first recording of the record in the buffer memory, and the first record will point to the next recording of the same record, and so on.
  • Each recording of a record may be different even if they relate to the same piece of data since the data in database 29 relating to that record may have changed between one loading of that record and the next loading of the record.
  • data loader 28 a , 28 b may only load some fields (also referred to hereinafter as properties) from database 29 for a particular record. For instance data loader 28 a , 28 b may load from database 29 only the first three fields, all fields, only the third, seven and ninth fields, or any other possible combination of fields of a table. Therefore, each recording of a record set might include different combinations of fields.
  • Inconsistencies may arise between the different data buffers containing the same record, either due to changes in database 29 between different loadings of the record, or, in a read/write scenario, due to changes in the record originating in the application. These inconsistencies may be dealt with in various manners.
  • the first data buffer may have all the fields. Subsequent loadings may be done from this first buffer, thereby avoiding inconsistencies due to database 29 changing between different loadings by data loader 28 a , 28 b . In this situation, this first databuffer may not be assigned to any b.o.collection, and may remain open until all b.o.collections referencing that record (by that b.o.kernel) have closed.
  • FIG. 4 shows a schematic diagram of an exemplary embodiment of the present invention showing database 29 and multiple b.o.collections 24 a - e accessing database 29 via channels 43 a - e , respectively.
  • Database 29 may operate with a maximum number of channels 43 a - e , which may be determined by software or hardware, and which may be absolute or flexible.
  • Channels 43 a - e may each access database 29 for a respective b.o.collection 24 a - e .
  • B.o.collections 24 a - e may respond to a query or may require other data from database 29 .
  • B.o.collections 24 a - e may not load all records from the recordset which satisfy the query in order to avoid filling up a buffer memory, from which associated buffer memory 42 a - e are divided or partitioned.
  • This fetch-on-demand system may also allow the system to be more responsive to the user's requests by avoiding the situation in which a single query completely fills all of the buffer memory associated with buffer memories 42 a - e . Therefore, the system may avoid the situation where it would need to communicate to the user that all records could not be loaded because the query was too broad.
  • the fetch-on-demand method may require that each of b.o.collections 24 a - e have a dedicated channel 43 a - e .
  • channels 43 a - e may each access database 29 sequentially and thereby provide a pointer to database 29 where the next record is located which satisfies the query or other operation accessing database 29 . Therefore, when the user scrolls down in the window or tile to reveal more records, each of channels 43 a - e would access database 29 for the respective b.o.collections 24 a - e .
  • Channels 43 a - e may operate simultaneously to load records for the respective b.o.collections 24 a - e.
  • the blocks of records may be of an equal size for each b.o.collection 24 a - e , and may be blocks of 2 records, 3 records, or more.
  • the sequential accessing of database 29 for each b.o.collection 24 a - e continues until all the records in a recordset for one of b.o.collections 24 a - e has been loaded and stored in associated buffer memory 42 a - e . After all the records for one application have been loaded and stored, that application may no longer require a channel to database 29 , and therefore the open channel may be dedicated to b.o.collection 24 f which may require a channel.
  • FIG. 5 shows a schematic diagram of an exemplary embodiment of the present invention showing database 29 and b.o.collections 24 a , 24 b with buffer memories 42 a , 42 b having records 51 a - i .
  • B.o.collections 24 a , 24 b are both part of application 40 , and may represent queries, tiles or windows open in the user interface.
  • Application 40 may alternatively have more or fewer b.o.collections.
  • Each of b.o.collection 24 a , 24 b has an associated buffer memory 42 a , 42 b .
  • B.o.collection 24 a includes buffer memory 42 a , which in turn stores records 51 a -f.
  • B.o.collection 24 b includes buffer memory 42 b , which in turn stores records 51 d - i . B.o.collections 24 a , 24 b may include redundant records in respective buffer memories 42 a , 42 b (for instance, records 51 d - f ). Keeping redundant records 51 d - f stored in two (or more) separate buffer memories 42 a , 42 b may cause some inefficiency due to a short-term increase in memory requirements.
  • Redundant records 52 d - f recorded in different buffer memories 42 a , 42 b are related by pointers and b.o.kernels as described above and hereinafter.
  • FIG. 6 shows a flowchart of an exemplary method of the present invention for managing a limited number of channels to a database in a fetch-on-demand application environment.
  • the flow proceeds from start circle 60 to question 62 , which asks whether any unfilled record sets do not have an assigned channel.
  • An unfilled recordset in this context represents a query, window, and/or tile which has not loaded into the buffer memory all the records which satisfy the query or belong in the window or tile.
  • a window or tile may only load from a database a sufficient number of records satisfying a query to fill a window or tile. Therefore, queries that determine a very large recordset would not completely fill the databuffer in a fetch-on-demand system.
  • Each query, tile, and/or window which includes a recordset which has not been completely loaded into buffer memory may require a channel to the database for accessing the remaining records to complete the recordset.
  • the channel may include a pointer which would indicate at which point in the database to begin reviewing for additional records that satisfy the query and/or should properly be displayed in the tile and/or window.
  • the number of channels to the database for an application may be limited by hardware, software, and/or design considerations. For instance, the number of database access channels for an application may be limited to five. Therefore, if a sixth query, tile and/or window attempts to access the database, then the unfilled recordset associated with that sixth query, tile and/or window would not have an assigned channel.
  • the flow proceeds to question 63 , which asks whether there are any channels available. If the answer is yes, the flow proceeds to action 64 , which indicates to assign an unassigned channel to the unfilled record set. From action 64 , the flow proceeds again to question 62 . If the answer to question 63 is negative, the flow proceeds to action 65 , which indicates to fetch a record from a recordset. Alternatively, a block of records may be fetched from a recordset. The size of the blocks of records may correspond to the size of the buffer blocks or pages used by the system. From action 65 , the flow proceeds to action question 66 , which asks whether the recordset is completely loaded.
  • FIG. 7 shows a flowchart of an exemplary embodiment of the present invention showing the relationship between an XML file created in the development environment and a binary structure of the XML file for use in a run-time environment.
  • the flow proceeds from start 70 to action 71 , in which an application is started.
  • the flow then proceeds to question 72 , which asks whether the XML file that contains the metadata has a corresponding binary structure stored. If the response to question 72 is negative, the flow proceeds to action 73 , which indicates to convert the XML file into a binary structure. From action 73 , the flow proceeds to action 74 , which indicates to store the datestamp and the filesize of the XML file in the memory.
  • the flow proceeds to action 75 , which indicates to save the binary structure in the memory together with the datestamp and the filesize. From action 75 , the flow proceeds to action 76 , which indicates to map the stored file of the binary structure in the memory. From action 76 , the flow proceeds to end 80 . If the response to question 72 is affirmative, the flow proceeds to action 77 , in which the filesize and datestamp are read. From action 77 , the flow proceeds to question 78 , which asks whether the datestamp and filesize recorded with the binary structure match the datestamp and filesize of the currently loaded XML file.
  • action 79 which indicates to delete the outdated binary structure and the included datestamp and filesize records. From action 79 , the flow proceeds to action 73 . If the response to question 78 is affirmative, the flow proceeds to action 76 .
  • FIG. 8 shows a schematic diagram illustrating the relationship between a business object manager (BOManager) 25 , b.o.kernels 26 a , 26 b , and databuffers 83 a , 83 b , 83 c .
  • Business object manager 25 includes a look-up table for the records which have been loaded into a memory buffer. Each record loaded into the memory buffer has b.o.kernel 26 a , 26 b or another b.o.kernel. B.o.kernel 26 a , 26 b includes kernel pointer 84 a , 84 b , respectively.
  • Kernel pointer 84 a , 84 b points to a position in the buffer that hold the first recording of the unique record designated for b.o.kernel 84 a , 84 b .
  • b.o.kernel 84 a has kernel pointer 84 a which points to databuffer 83 a .
  • Databuffer 83 a holds properties 86 a , 86 b , 86 c which represent fields in a row or record from a datatable of the database.
  • Properties 86 a , 86 b , 86 c may include all the fields of one record, or only some of the fields of one record which may be required for a b.o.collection.
  • Databuffer 83 a may also include a pointer 85 a which points to another databuffer 83 b which holds the next recording of the same record held in databuffer 83 a .
  • Databuffer 83 b may also include all or only some of the properties associated with the record, and is shown as including property 86 a in common with databuffer 83 a , as well as different properties 86 d , 86 e .
  • Databuffer 83 b also includes a pointer 85 b which points to the next recording of the record, which in particular points to databuffer 83 c .
  • Databuffer 83 c includes property 86 a in common with databuffer 83 a , property 86 d in common with databuffer 83 b , and unique property 86 f .
  • B.o.kernel 26 b represents another record and includes kernel pointer 84 b and key 82 b .
  • Key 82 a of b.o.kernel 26 a may include such information as an identifier of the record assigned to b.o. kernel 26 a counter indicating the number of recordings of the record which exist in the buffer chain.
  • Keys 82 a , 82 b include a counter and may therefore include information showing that no databuffers holding the record assigned to b.o.kernel 26 a , 26 b are active, and that therefore b.o.kernel 26 a , 26 b and any remaining databuffers may be erased.
  • Databuffer 83 a may include more than just the particular properties which may be required by the b.o.collection that caused the creation of the databuffer and the b.o.kernel.
  • Databuffer 83 a (or any other first recording of the record in the databuffer), may include all the properties of the record, and therefore may provide a source for loading subsequent databuffers rather than loading from the database. This method may avoid problems with changing records due to read/write applications and/or a dynamic database.
  • Kernel pointer 84 a points to databuffer 83 a and pointer 85 a of databuffer 83 a would now point to databuffer 83 c instead of databuffer 83 b after databuffer 83 b is closed.
  • Pointer 85 a of databuffer 83 a is rewritten in this situation.
  • B.o.kernel 26 a tracks the number of usages of the data from the application. When the last databuffer is erased, the corresponding b.o.kernel may be erased as well.
  • Business object manager 25 is a manner of searching for a given key and may include a look-up table (similar to a primary key in a database table).
  • Databuffers 83 a - c include tags 87 a - c , respectively, which identify the b.o.collection which created them (by the data loader).
  • Tags 87 a - c enable b.o.kernel 26 a to determine which data buffer (in the chain) may be dropped when a b.o.collection is being deleted.
  • the first buffer to which b.o. kernel 26 a points may include all properties of the record.
  • This first buffer may be updated as records are modified and may be used as a data source when new copies of the record are requested by a b.o. collection.
  • This first buffer may be written back into the database when b.o. kernel 26 a has no more active b.o. collections associated with it. Saving the record of this databuffer into the database may then update the database according to the modifications to the record which result from the user's interaction with the application.
  • FIG. 9 shows a schematic diagram illustrating the relationship between b.o.collection 24 a , b.o.kernel 26 a , 26 d , 26 e having keys 82 a , 82 d , 82 e , respectively, and bufferpage 91 having databuffers 83 a , 83 d , 83 e .
  • Bufferpage 91 is a fixed unit of buffer memory, and may be 8 kilobytes, 4 kilobytes, or any other appropriate size.
  • B.o.collection 24 a represents a query, window and/or tile of an application that may require a recordset.
  • B.o.collection 24 a operates in a fetch-on-demand environment.
  • a b.o.kernel For each record fetched, a b.o.kernel is created if no other b.o.collection has accessed that record. Otherwise, the record is attached to a chain that begins with a b.o.kernel for the record that has been previously accessed by either another b.o.collection or b.o.collection 24 a.
  • B.o.collection 24 a may demand that a record be loaded from the database by dataloader 28 a .
  • Dataloader 28 a may load the record and then determine where to write the data into buffer memory by reviewing current page 90 .
  • Current page 90 points to bufferpage 91 , which represents the current page.
  • Bufferpage 91 includes refcount 92 and freespace 93 .
  • Refcount 92 indicates the number of references (or databuffers) in bufferpage 91
  • freespace 93 indicates the amount of freespace remaining in bufferpage 91 .
  • refcount 92 would indicate the number 3 , for databuffers 83 a , 83 d , and 83 e .
  • freespace 93 would indicate the size of freedatabuffer 94 .
  • the last record loaded in bufferpage 91 was the record in databuffer 83 e .
  • Dataloader 28 a loaded the record into databuffer 83 e on bufferpage 91 .
  • Dataloader 28 a compared the size of the record of databuffer 83 e with the remaining free space in bufferpage 91 , as determined by freespace 93 , and since the size of the record of databuffer 83 e was smaller than freespace 93 , dataloader 28 a loaded the data into bufferpage 91 .
  • Dataloader 28 a did not change the designation in current page 90 . Therefore, current page 90 points to bufferpage 91 , and freespace 93 includes a number which corresponds to the size of the available memory in bufferpage 91 , which is freedatabuffer 94 .
  • Buffers may be sized according to the selected data and grouped into pages per selection. Each row of data may belong to one business object (BO, represented by a b.o.kernel). Different data selections might retrieve different parts of these business objects. In a typical case, 3-4 attributes may be retrieved out of a business object with up to 100 attributes. Saving into the memory buffer all 100 attributes in each row would make the row large and would fill the memory buffer quicker.
  • BO business object
  • the data for one row is stored in a databuffer. Multiple databuffers may be chained to each b.o.kernel.
  • the data selection for databuffer 83 a includes properties 86 a , 86 b , 86 c .
  • Databuffers 83 a , 83 d , 83 e from multiple data selections (multiple records) may contain fields for the same business object.
  • Each of databuffers 83 a , 83 d , 83 e is chained on a corresponding b.o.kernel 26 a , 26 d , 26 e .
  • Databuffers 83 a , 83 d , 83 e which are loaded for one data selection represented by b.o.collection 24 a are kept in bufferpage 91 .
  • Databuffers 83 a , 83 d , 83 e may also include a pointer indicating on what buffer page 91 they are stored.
  • Bufferpage 91 may have a fixed size (for example, 8 kilobytes) and may be filled as data (records) for b.o.collection 24 a is being loaded.
  • each of databuffers 26 a , 26 d , 26 e includes a respective tag 87 a , 87 d , 87 e , respectively, which includes a reference to bufferpage 91 .
  • B.o.collection 24 a includes a reference to current page 90 via dataloader 28 a that shows which bufferpage 91 is currently being filled. As long as there is enough free space on bufferpage 91 , as indicated by freespace 93 , newly loaded data buffers are put on the same bufferpage 91 .
  • Tags 87 a , 87 d , 87 e identify their respective databuffers 83 a , 83 d , 83 e with b.o.collection 24 a . If b.o.collection 24 a shuts down, corresponding databuffers 83 a , 83 d , 83 e may then be removed from the chain of their associated b.o.kernels 26 a , 26 d , 26 e and refcount 92 of bufferpage 91 will be set to zero. Then bufferpage 91 may be freed to be overwritten.
  • dataloader 28 a allocates a new bufferpage if additional records need to be loaded. If b.o.collection 24 a is closed or deleted, databuffers 83 a , 83 d , 83 e may also be closed, unless any of databuffers 83 a , 83 d , 83 e is the first record in any chain from b.o.kernel 26 a , 26 d , 26 e (in other words, if kernel pointer 84 a , 84 d , 84 e , respectively, points directly to any of databuffers 83 a , 83 d , 83 e ). Any databuffer for which this is not true may be deleted. Therefore, if one databuffer must remain, then:
  • bufferpage 91 the whole of bufferpage 91 is freed, and therefore, when any dataloader needs a bufferpage for loading, current page 90 may choose bufferpage 91 .
  • a compressed layout in which all fields use the actual needed space is possible.
  • This buffer type may be used for “read only” access, which is the case for all data read from the database.
  • An expanded layout in which all fields have the maximum space is also possible.
  • This buffer type is able to store data of any allowed length. It is allocated when the business object becomes dirty or is newly created. Each row of the record set may have a key.
  • FIG. 10 shows a schematic diagram of an exemplary embodiment of a system of the present invention showing mobile system 109 and network 103 .
  • Mobile system 109 may include one or more mobile clients, and may include laptops and PDAs.
  • database 108 Connected to mobile system 109 is database 108 , which may be a user database that is synchronized with central database 110 when mobile system 109 is connected to network 103 .
  • Mobile system 109 may connect to network 103 via connection 107 , which may be a wireless connection, bus connection, or telephone connection. Connection 107 may connect mobile system 109 and communication station 106 .
  • Communication station 106 may connect by a hardwire connection to network 103 .
  • Network 103 may include one or more network servers 104 and may couple to central database 110 .
  • Network 103 may also connect to other systems 111 , which may include the internet or any other electrical device or electronic system.
  • Network servers 104 may also connect to mobile repository server 101 , which may include a mobile repository database 102 .
  • Mobile development workstation 100 may connect to mobile repository server 101 .
  • Mobile repository server 101 , mobile repository database 102 , and mobile development workstation 100 may all exist in development environment 11 .
  • a mobile system may be designed on mobile development workstation 100 and tested using a sample database on mobile repository database 102 .
  • Mobile development workstation 100 may be used to create an XML file that provides information on how a database access system should behave which may be running on the mobile application.
  • the XML file or other human readable file, may describe how business objects are mapped into a database table.
  • the XML file may also indicate how to execute queries and may contain SQL statement and/or portions of SQL statements. For example, a user may enter a customer name but not an address (or other field). The system may then use a piece of the SQL statement that is dedicated to the field that has been input by the user. There may be two things in the SQL statements: data to be retained (i.e. attributes of the business objects); and criteria for matching and/or selecting records from the database.
  • the XML file (or other human readable computer file) may describe both parts of the SQL statements.
  • the XML file may have queries for SQL statements for two type queries.
  • the first type of query may be the objects which have a field value which satisfies a query. This group of objects may constitute a list.
  • a second type of query may load a whole business object.
  • the record corresponding to the business object may be loaded and may not be immediately displayed for the user. For example, a user may click on a field in a list of partial records and the remaining fields in that record may be loaded. If the user clicks again on the field, all the records for that business object may be displayed.
  • a different SQL statement may be used for this purpose.
  • the XML file may describe how to fetch data from the database, and in particular may describe how build SQL statements for executing against the database.
  • the XML file may also describe which field of the record is the key (for example, a unique identifier) of the record. This key may be saved in the b.o.kernel for identification by the b.o.manager of the records which have been loaded from the database into the memory of the mobile device. If an SQL statement is a query, then the data retrieved is for read-only purposes, and therefore only the fields requested may be retrieved from the database. If the data is for writing purposes also, then all fields associated with the b.o.object should be retrieved from the database.
  • the XML file is human readable and may be modified on the mobile device, though typically this may only be done in a development situation for prototyping purposes.
  • FIG. 11 shows a flowchart of an exemplary method of the present invention for storing records in a memory.
  • the flow starts in start circle 114 and proceeds to action 115 , which indicates to retrieve a record from a database in response to a request from a recordset in an application. From action 115 , the flow proceeds to question 116 , which asks whether the size of the record is smaller than the freespace on the active bufferpage. If the response question 116 is negative, the flow proceeds to action 117 , which indicates to change the active bufferpage. From action 117 , the flow proceeds to action 118 , which indicates to save the record in a databuffer on the active bufferpage of a memory associated with the recordset.
  • the flow proceeds to action 118 .
  • the flow proceeds to question 119 , which asks whether the record been retrieved and stored previously in the application. If the response question 119 is affirmative, the flow proceeds to action 120 , which indicates to store a pointer pointing to the databuffer of the newly saved record in the databuffer of the next most recently recorded copy of the record. From action 120 , the flow proceeds to question 122 . If the response question 119 is negative, the flow proceeds to action 121 , which indicates to make a b.o.kernel including a key to the record. From action 121 , the flow proceeds to question 122 , which asks whether more records need to be loaded for the recordset. If the response question 122 is affirmative, the flow proceeds to action 115 . If the response question 122 is negative, the flow proceeds to end circle 123 .

Abstract

A method for accessing a database is provided. The method includes creating in a design environment a file that defines a metadata. The metadata relates at least one business object and at least one query. The method also includes communicating the file to a mobile device, storing the file on the mobile device, and transforming the file into a binary structure at an initial run of a computer application running on the mobile device. The binary structure is adapted to be read by the computer application. The method also includes recording the binary structure in a memory of the mobile device. A method for providing database access for a plurality of files with a limited number of database access channels is provided. A method for is provided for accessing a database in a computing environment for a plurality of recordsets. Each of the plurality of recordsets is associated with a database access channel for fetching records of the plurality of recordsets from the database upon occurrence of a preselected event. A method of fetching data for a plurality of active file from a database having a limited number of database connections is provided. A computer readable medium is provided which stores instructions executable by a computer. The instructions include a method for providing database access for a plurality of files with a limited number of database access channels. A device for accessing a database is provided. A system for updating a database access program is provided.

Description

    CROSS-REFERENCE TO RELATED APPLICATION
  • This application is a divisional of U.S. patent application Ser. No. 10/455,294, filed Jun. 4, 2003.[0001]
  • FIELD OF THE INVENTION
  • The present invention relates to the areas of information systems and computer software. In particular, the present invention provides a database access system and a development environment for developing a database access system for business applications. [0002]
  • BACKGROUND INFORMATION
  • Information and computer technology are an essential component of modern business operations. The utility of computer technology has been enhanced by the coupling of computers with information networks such as the Internet and the World Wide Web (“WWW”). Successful business operations in the global marketplace may require a synergetic relationship between local and distributed operations. For example, localized operations may include research and development, inventory management, customer service, strategic planning, etc. Distributed operations are conducted, for example, by sales personnel in the field who interact with customers and perform such tasks as order generation, customer relations, customer support, etc. Field personnel may utilize mobile devices such as laptop computers or personal digital assistants (“PDAs”) for accessing customer information, receiving customer orders, communicating with one or more centralized databases at the home office, etc. [0003]
  • Field personnel may require accurate and timely information regarding the state of business operations in order to effectively perform their jobs. For example, sales personnel may require up-to-the-minute information regarding current inventory levels, product availability and customer data. Conversely, the enterprise may operate more effectively through centralized management of information regarding the operations of field personnel and information collected in the field. [0004]
  • One model for providing the requisite computing environment may involve a plurality of mobile devices operating in an offline mode, in which the offline mode status is transparent to the users. That is, the mobile devices may run applications in offline mode, yet the user may interact with the mobile applications as if they were running in an online mode. [0005]
  • A relational database allows the definition of data structures, storage and retrieval operations and integrity constraints. In such a database, the data and relations between them are organized in tables. A table is a collection of rows or records and each row in a table contains the same fields. Certain fields may be designated as keys, which means that searchesfor specific values of that field will use indexing. Where fields in two different tables take values from the same set, a “join” operation can be performed to select related records in the two tables by matching values in those fields. The fields may have the same name in both tables. For example, an “orders” table might contain (customer_id, product_code) pairs and a “products” table might contain (product_code, price) pairs. [0006]
  • Therefore, in order to calculate a given customer's bill, the prices of all products ordered by that customer would be summed by joining on the product-code fields of the two tables. This can be extended to joining multiple tables on multiple fields. Because these relationships are only specified at retrieval time, relational databases may be classed as a dynamic database management system. (See [0007] The Free On-line Dictionary of Computing, 1993-2003, by Denis Howe).
  • There is a need for a method of developing and downloading efficiently a database access system to a mobile application. There is also a need for managing databuffers and redundant copies of records in a mobile application. Additionally, there is a need for managing a limited number of database connections in a run-time environment. [0008]
  • SUMMARY OF THE INVENTION
  • According to an exemplary embodiment of the present invention, a method for accessing a database is provided. The method includes creating in a design environment an file that defines a metadata. The metadata relates at least one business object and at least one query. The method also includes communicating the file to a mobile device, storing the file on the mobile device, and transforming the file into a binary structure at an initial run of a computer application running on the mobile device. The binary structure is adapted to be read by the computer application. The method also includes recording the binary structure in a memory of the mobile device. [0009]
  • A method is provided which includes retrieving a first record from a database in response to a request from a first recordset and saving the first record on a first bufferpage of a memory. The first bufferpage is associated with the first recordset. The method also includes repeating the previously mentioned steps for a further record. When a next record requested by the first recordset is larger than a freespace on the first bufferpage, the method indicates to save the next record on a second bufferpage of the memory. The second bufferpage is associated with the first recordset. [0010]
  • A method of managing a memory is provided which includes dividing the memory into a plurality of blocks and recording in a first block of the memory in a first databuffer at least a first property of a first record in response to a first request of a first recordset. The method also includes recording in one of the first block and a second block of the memory in a second databuffer at least one of the first property and a second property of the first record in response to a second request of one of the first recordset and a second recordset. The method further includes storing with the first databuffer a pointer to the second databuffer. [0011]
  • A method for providing database access for a plurality of files with a limited number of database access channels is provided which includes receiving a first signal indicating an initiation of a new file. If a desired number of database access channels is greater than or equal to the limited number of database access channels, the method indicates to determine a respective active file corresponding to each of the database access channels. The method also includes sequentially causing each of the active files to access one of a database record and a plurality of database records. The method further includes repeating the step of sequentially causing each of the active files to access one of a database record and a plurality of database records until a second signal is received indicating a first active file has accessed all database records. The method also includes the step of reassigning a first database access channel which was assigned to the first active file to the new file. [0012]
  • A method for providing access to a database in a computing environment for a plurality of recordsets is provided. Each of the plurality of recordsets is associated with a database access channel for fetching records of the plurality of recordsets from the database upon occurrence of a preselected event. The method includes initiating a new recordset and, if a number of the plurality of recordsets is equal to a maximum number of database access channels, sequentially fetching at least one record for each recordset until a first recordset has fetched all records associated with the first recordset. The method further includes assigning the database access channel of the first recordset to the new recordset. [0013]
  • A method of fetching data for a plurality of active files from a database having a limited number of database connections is provided. The method includes assigning each database connection of the limited number of database connections to an active file until one of (i) all of the limited number of database connections have been assigned, and (ii) each active file desiring a database connection has a corresponding assigned database connection. The method also includes determining if any active file desiring the database connection does not have the corresponding assigned database connection. If any active file desiring one of the limited number of database connections does not have a corresponding assigned database connection, the method indicates to fetch a record for each file from the database on the assigned database connection sequentially until all records for at least one file are fetched. The method further includes reassigning the assigned database connection for the at least one file for which all records have been fetched to another active file that does not have a corresponding assigned database connection. [0014]
  • XML (extensible markup language) is a standard for exchanging structured information, and may provide flexibility to the designer by combining human readability with machine readability. [0015]
  • The Data Access Layer, or DAL, collapses the Business Object Layer (“BOL”) and the Transaction Layer (“TL”) into one layer, and replaces TL database access functionality with embedded, direct database access. Methods within the BOL access the local database tables directly, and the inefficiencies associated with recordset abstraction may thereby be avoided. Memory buffers may also be managed more efficiently within a single layer.[0016]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 shows a schematic diagram of an application that a user uses to interface with a database and the relationship between the system in the run-time environment and the design environment. [0017]
  • FIG. 2 shows a schematic diagram of an exemplary embodiment of the present invention that a user uses to interact with a database and the relationship between the system in the run-time environment and the design environment. [0018]
  • FIG. 3 shows a schematic diagram of an exemplary embodiment of the present invention showing a business object layer (BOL) having a data access layer (DAL) and interacting with a database. [0019]
  • FIG. 4 shows a schematic diagram of an exemplary embodiment of the present invention showing a database and multiple business object collections (b.o.collections or files) of an application accessing the database via channels. [0020]
  • FIG. 5 shows a schematic diagram of an exemplary embodiment of the present invention showing a database and multiple b.o.collections with buffer memories having records. [0021]
  • FIG. 6 shows a flowchart of an exemplary method of the present invention for managing a limited number of channels to a database in a fetch-on-demand application environment. [0022]
  • FIG. 7 shows a flowchart of an exemplary method of the present invention showing the relationship between an XML file created in the development environment and a binary structure of the XML file for use in a run-time environment. [0023]
  • FIG. 8 shows a schematic diagram illustrating the relationship between a BOManager, BOKernel and several databuffers. [0024]
  • FIG. 9 shows a schematic diagram illustrating the relationship between a BOCollection, BOKernels having keys, and a buffer page having several databuffers. [0025]
  • FIG. 10 shows a schematic diagram of an exemplary embodiment of a system of the present invention showing a mobile system and a network. [0026]
  • FIG. 11 shows a flowchart of an exemplary method of the present invention for storing records in a memory.[0027]
  • DETAILED DESCRIPTION
  • A mobile client application may be based on an object-oriented software approach and may be divided into three tiers, or layers: the User Interface Layer (UIL), the Business Object Layer (BOL) and the Transaction Layer (TL). The BOL provides the application's business logic, while the TL offers access to the underlying data in a database. The TL provides access to the underlying data by mapping recordsets, referenced by the BOL, to local database tables. The recordset abstraction of the TL may produce inefficiencies in the run-time environment of the mobile client due to latencies associated with data access and translation. Separate memory buffer management may also be required for each layer. [0028]
  • A business object type is the representation of a business entity in the system. It encompasses both the functionality (in the form of methods) and the data (in the form of attributes) of this entity. The implementation details of the business object type may be hidden from the user. The business object type may be accessed through defined functions (also referred to hereinafter as methods). This may be referred to as “encapsulation.”[0029]
  • Business object types are used to break a system down into smaller, disjunctive units. As a result, the system's structure is improved while its complexity is reduced. Business object types may form the point of entry for the data and the functions of the system. At the business object type level, both internal systems and various business components can communicate with each other. [0030]
  • An example of a business object type follows. The business object type “FlightBooking” may represent a binding seat reservation for a flight. A special flight booking is identifiable by a booking number and the airline. The business object type “FlightBooking” may be accessed by various methods. These access methods may include: FlightBooking.GetList( ), which may return a list of all flight bookings stored in a system (which may be optionally restricted according to particular search criteria); FlightBooking.CreateFromData( ), which may create a new flight booking in the system. FlightBooking.Cancel( ), which may cancel a flight booking that has already been created; and FlightBooking.Confirm( ), which may convert a flight reservation into a legally binding flight booking. [0031]
  • A business object type may therefore include a business concept and how to realize it in a computer system. The term “business object type” may correspond to the term “class” in object-oriented programming languages. [0032]
  • A specific occurrence of a business object type, for example, a flight booking that is actually stored in the system, may need to be distinguished from the business object type itself. An occurrence of a business object type may be termed an instance of a business object type or a business object (the usual term in object-oriented programming languages). [0033]
  • An example of an instance of a business object type may be the flight booking “LH 4711 FlightBooking.” This flight booking is identified by the airline code “LH” and the booking number “4711.” The object is described according to its attributes, for example the flight date or the customer number. [0034]
  • A generic business object may represent a physical or logical entity in a business scenario and may be characterized by any of: attributes; methods; events; business rules; and relations to other business objects. A business logic framework may support objects other than business objects including: business collections (short for business ‘objects’ collections); query objects (used for predefined searches); combinations (used for fetching allowed sets of values); and salient features. A general foundation for modeling business objects may provide elements that are richer and closer to the business domain than the typical elements of relational databases. [0035]
  • FIG. 1 shows a schematic diagram of a system level application that [0036] user 12 uses to interface with a database and the relationship between the system in run-time environment 10 and design environment 11. User 12 interfaces with user interface layer 13 which communicates with interaction layer 14. User interface layer 13 may be a display and interaction layer 14 may include a display driver. Interaction layer 14 communicates with business object layer 15, which in turn communicates with transaction layer 16. Transaction layer 16 controls access to a database. Each of the different layers 13, 14, 15, 16 may require a separate memory buffer for functioning. Therefore, four separate buffer memory arrangements may be required to operate the system. The system is designed in design environment 11. Design environment 11 may include mobile application studio 17, which may be adapted to design and create applications, which in turn may be run on mobile devices. Mobile application studio 17 may include interaction component modeler 18 for designing interaction layer 14 and business object modeler 19 for designing business object layer 15. Design environment 11 also may include bdoc modeler 20, which may be adapted to design transaction layer 16. After the system is designed in design environment 11, each respective layer may be converted into a respective layer by converters 21 a, 21 b, 21 c. Converters 21 a, 21 b, 21 c may be a converter, translator or generator, and may output object code, machine readable code, and/or any binary structure readable by a machine. Alternatively, converters 21 a, 21 b, 21 c may simply be a communication outlet for the design components (mobile application studio 17, interaction component modeler 18, business object modeler 19, and/or bdoc modeler 20) to communicate an unformatted system to the mobile system running in run-time environment 10.
  • [0037] Design environment 11 may exist primarily on a network, though the design of the system and the creation of files (in particular XML files) may occur in a mobile device. Run-time environment 10 may exist in both a network and a mobile device.
  • FIG. 2 shows a schematic diagram of an exemplary embodiment of the present invention that [0038] user 12 uses to interact with a database and the relationship between the system in run-time environment 10 and design environment 11. User 12 interfaces with user interface layer 13. User interface layer 13 communicates with interaction layer 14. Interaction layer 14 communicates with business object layer 15. Business object layer 15 includes data access layer 22. Data access layer 22 controls access to a database. Integrating data access layer 22 into business object layer 15 therefore may reduce the number of memory buffers which may be required for functioning of the system. Three or fewer separate buffer memory arrangements may only be required to operate the system.
  • The system shown in FIG. 2 is designed in [0039] design environment 11. A combination of business object modeler 19 of mobile application studio 17 and bdoc modeler 20 (both operating in design environment 11) may determine the structure of business object layer 15 including data access layer 22 (operating in run-time environment 10).
  • Replacing [0040] transaction layer 16 with data access layer 22 integrated in business object layer 15 enables an embedded direct database access, which may be responsible for read and write access. Buffer management may be suited for business object layer 15 since it may avoid recordset abstraction. Business object layer 15's metadata may be enhanced by information from the bdoc modeler 20.
  • The buffer management as implemented by [0041] data access layer 22 may have the advantages that it acts: as a cache of database data; uses minimal memory; avoids fragmentation; avoids unnecessary copies; and supports data from multiple different sized data selections.
  • [0042] Converter 21 c, and optionally converters 21 a, 21 b, may communicate an XML file that is created in design environment 11 to run-time environment 10. In run-time environment 10, the XML file may be loaded onto a mobile device, for instance a laptop computer or PDA. When the application is run for the first time, the XML file is converted into a binary structure that is readable by the machine. This binary structure is then saved on the machine. When the application which accesses the database is subsequently run on the machine, the XML file does not need to be converted. Instead, the binary structure may be read from memory and mapped into the buffer for accessing the database.
  • The XML file contains metadata. Metadata, in contrast to data, resembles a system in which data can be entered. The metadata sets may be an order, and the order may have a number and may have items. Metadata describes how data itself looks. [0043] Bdoc modeler 20 may create this XML file and design the metadata. The conversion of the XML file into a binary structure may occur in run-time environment 10.
  • Alternatively, the mobile system may load the unformatted files over [0044] converters 21 a, 21 b, 21 c from the design components (mobile application studio 17, interaction component modeler 18, business object modeler 19, and/or bdoc modeler 20). The mobile system may then compile, convert, translate, and/or generate object code from the unformatted files on the first running of the application on the mobile system. On subsequent running of the application on the mobile system, the mobile system may use the previously compiled object code or may compile, convert, translate, and/or generate object code from the unformatted files again.
  • FIG. 3 shows a schematic diagram of an exemplary embodiment of the present invention showing business object layer (BOL) [0045] 15 having data access layer (DAL) 22 and interacting with database 29. Data access layer 22 includes data loaders 28 a, 28 b which access database 29. Data loaders 28 a, 28 b read records out of database 29 in response to a query or an operation of the application. Data loaders 28 a, 28 b may only load as much data as may be displayed by a user interface, or tile, within the application. Each of data loaders 28 a, 28 b may be associated with a different tile of an application. The number of records loaded by data loaders 28 a, 28 b may be controlled by b.o.collections (business object collections, which may also be referred to hereinafter as a file or an active file) 24 a, 24 b, respectively. When a complete record set is completely loaded by data loaders 28 a, 28 b, data loaders 28 a, 28 b may be terminated because they are no longer needed.
  • [0046] B.o.collections 24 a, 24 b determine the number of records being requested by the application and communicates those records to com.b.o.collections (communication business object collections) 23 a, 23 b, respectively, which may be part of the business object layer but which may be outside of the data access layer. Com.b.o.collections 23 a, 23 b may communicate the data that is to be displayed to a user interface. COM refers to communication technology and may be a way to expose objects to the application code.
  • [0047] B.o.collections 24 a, 24 b may also communicate the identity of which records are loaded by data loaders 28 a, 28 b to business object manager (BOManager) 25. Business object manager 25 may be a shared operation that communicates with several b.o.collections 24 a, 24 b which are active in supplying records to respective tiles or windows of an application.
  • [0048] Business object manager 25 may determine if a particular record loaded by either of data loader 28 a or data loader 28 b has previously been loaded. If the particular record has not previously been loaded, then business object manager 25 may create a b.o.kernel (business object kernel) 26 a for the particular record. Alternatively, business object manager 25 may direct b.o.collection 24 a, 24 b to create b.o.kernel 26 a for the new record. B.o.kernel 26 a may store the record in a buffer memory using memory management 27 in a location appropriate to the other records being loaded by the respective data loader 28 a, 28 b. This location may be determined by memory management 27.
  • For instance, if records for [0049] data loader 28 a (corresponding to records for b.o. collection 24 a) are being loaded into buffer memory in blocks to allow easy reading and efficient erasing, then the new record will be loaded into the buffer memory in a similar fashion. B.o.kernel 26 a may include a key indicating the record stored and the location of the record stored.
  • If the same record is loaded again by either the [0050] same data loader 28 a, the other data loader 28 b, or another data loader entirely, then business object manager 25 will recognize that the record has been stored because b.o.kernel 26 a indicates that this record has been stored. B.o.kernel 26 a will store the record again in the buffer memory in a location appropriate to the other data being loaded and as indicated by memory management 27. B.o. kernel 26 a will cause the first recording of the record to include a pointer to the second recording of the record, so that the records are linked in a buffer chain.
  • For example, [0051] data loader 28 a may load a record from database 29 into b.o.collection 24 a. This record may be communicated to com.b.o.collection 23 a for display to a user and the identity of this record may also be communicated to business object manager 25. Business object manager 25 may determine if the record has been previously stored in the buffer memory by checking a look-up table. If the record has not been previously loaded into buffer memory, then business object manager 25 may create b.o.kernel 26 a or may direct b.o.collection 24 a to create b.o.kernel 26 a. B.o.kernel 26 a may include a pointer, which will point to the address at which memory management 27 records the record in the buffer memory. B.o.kernel 26 a may also include a key which identifies the record assigned to b.o.kernel 26 a and may also include a counter indicating the number of times which the record is stored for different recordsets which are currently open in the application. A recordset may correspond to a group of records that satisfy a query or are properly displayed in a window or tile. The recordset may be referred to hereinafter interchangeably with the query, window, and/or tile that creates and/or defines the recordset. Data loader 28 b may later load the same record from database 29 and may communicate the record to b.o.collection 24 b. B.o.collection 24 b may communicate the record to com.b.o.collection 23 b for display to the user, and may also communicate the identity of the record to business object manager 25. Business object manager 25 may determine that the record has already been stored in the buffer memory by evaluating b.o.kernel 26 a and other b.o.kernels which are included in a look-up table in business object manager 25. Business object manager 25 will recognize that the record has been stored since b.o.kernel 26 a includes a key identifying the record stored in the buffer memory. The record will be communicated to b.o.kernel 26 a by b.o.collection 24 b, which will then communicate the record to memory management 27. Memory management 27 will store the record with other records accessed by data loader 28 b in the appropriate memory buffer block. Memory management 27 will communicate the location of the record to b.o.kernel 26 a. B.o.kernel 26 a will then record this second buffer location in a pointer included in the first buffer location of the record. In this way a chain will grow in the event that additional identical records are read from database 29 and stored in the buffer memory. B.o.kernel 26 a will point to the first recording of the record in the buffer memory, and the first record will point to the next recording of the same record, and so on.
  • Each recording of a record may be different even if they relate to the same piece of data since the data in [0052] database 29 relating to that record may have changed between one loading of that record and the next loading of the record. Additionally, data loader 28 a, 28 b may only load some fields (also referred to hereinafter as properties) from database 29 for a particular record. For instance data loader 28 a, 28 b may load from database 29 only the first three fields, all fields, only the third, seven and ninth fields, or any other possible combination of fields of a table. Therefore, each recording of a record set might include different combinations of fields.
  • Inconsistencies may arise between the different data buffers containing the same record, either due to changes in [0053] database 29 between different loadings of the record, or, in a read/write scenario, due to changes in the record originating in the application. These inconsistencies may be dealt with in various manners. In one method, the first data buffer may have all the fields. Subsequent loadings may be done from this first buffer, thereby avoiding inconsistencies due to database 29 changing between different loadings by data loader 28 a, 28 b. In this situation, this first databuffer may not be assigned to any b.o.collection, and may remain open until all b.o.collections referencing that record (by that b.o.kernel) have closed. Alternatively, different versions of the same record may exist within the chain of databuffers. Since the last appended record is the most recent (in the “read only” situation), then simply reading the property from the first record starting from the end of the databuffer chain to include that property would ensure that the property is the most recent version loaded from database 29.
  • FIG. 4 shows a schematic diagram of an exemplary embodiment of the present [0054] invention showing database 29 and multiple b.o.collections 24 a -e accessing database 29 via channels 43 a-e, respectively. Database 29 may operate with a maximum number of channels 43 a-e, which may be determined by software or hardware, and which may be absolute or flexible. Channels 43 a-e may each access database 29 for a respective b.o.collection 24 a-e. B.o.collections 24 a-e may respond to a query or may require other data from database 29. B.o.collections 24 a-e may not load all records from the recordset which satisfy the query in order to avoid filling up a buffer memory, from which associated buffer memory 42 a-e are divided or partitioned. This fetch-on-demand system may also allow the system to be more responsive to the user's requests by avoiding the situation in which a single query completely fills all of the buffer memory associated with buffer memories 42 a-e. Therefore, the system may avoid the situation where it would need to communicate to the user that all records could not be loaded because the query was too broad. However, the fetch-on-demand method may require that each of b.o.collections 24 a-e have a dedicated channel 43 a-e. These channels 43 a-e may each access database 29 sequentially and thereby provide a pointer to database 29 where the next record is located which satisfies the query or other operation accessing database 29. Therefore, when the user scrolls down in the window or tile to reveal more records, each of channels 43 a-e would access database 29 for the respective b.o.collections 24 a-e. Channels 43 a-e may operate simultaneously to load records for the respective b.o.collections 24 a-e.
  • In the event that all of channels [0055] 43 a-e are occupied accessing database 29 and another b.o.collection 24 f may require access to database 29, the system would begin a process to free a channel to database 29 for b.o.collection 24 f. The process may involve sequentially accessing database 29 for each b.o.collection 24 a-e, and storing the record for each b.o.collection 24 a-e in associated buffer memory 42 a-e. Alternatively, blocks of records for each b.o.collections 24 a-e may be accessed and stored in associated buffer memory 42 a-e. The blocks of records may be of an equal size for each b.o.collection 24 a-e, and may be blocks of 2 records, 3 records, or more. The sequential accessing of database 29 for each b.o.collection 24 a-e continues until all the records in a recordset for one of b.o.collections 24 a-e has been loaded and stored in associated buffer memory 42 a-e. After all the records for one application have been loaded and stored, that application may no longer require a channel to database 29, and therefore the open channel may be dedicated to b.o.collection 24 f which may require a channel.
  • FIG. 5 shows a schematic diagram of an exemplary embodiment of the present [0056] invention showing database 29 and b.o.collections 24 a, 24 b with buffer memories 42 a, 42 b having records 51 a-i. B.o.collections 24 a, 24 b are both part of application 40, and may represent queries, tiles or windows open in the user interface. Application 40 may alternatively have more or fewer b.o.collections. Each of b.o.collection 24 a, 24 b has an associated buffer memory 42 a, 42 b. B.o.collection 24 a includes buffer memory 42 a, which in turn stores records 51 a-f. B.o.collection 24 b includes buffer memory 42 b, which in turn stores records 51 d-i. B.o.collections 24 a, 24 b may include redundant records in respective buffer memories 42 a, 42 b (for instance, records 51 d-f). Keeping redundant records 51 d-f stored in two (or more) separate buffer memories 42 a, 42 b may cause some inefficiency due to a short-term increase in memory requirements. However, keeping related records necessary for b.o.collections 24 a, 24 b in adjacent memory in buffer memories 42 a, 42 b, for instance in buffer pages or buffer blocks, may increase long term memory efficiency by eliminating holes and other unusable memory areas by allowing complete pages or blocks of memory to be freed when b.o.collections 24 a, 24 b are shut down. Redundant records 52 d-f recorded in different buffer memories 42 a, 42 b are related by pointers and b.o.kernels as described above and hereinafter.
  • FIG. 6 shows a flowchart of an exemplary method of the present invention for managing a limited number of channels to a database in a fetch-on-demand application environment. The flow proceeds from [0057] start circle 60 to question 62, which asks whether any unfilled record sets do not have an assigned channel. An unfilled recordset in this context represents a query, window, and/or tile which has not loaded into the buffer memory all the records which satisfy the query or belong in the window or tile. In the fetch-on-demand situation, a window or tile may only load from a database a sufficient number of records satisfying a query to fill a window or tile. Therefore, queries that determine a very large recordset would not completely fill the databuffer in a fetch-on-demand system. As a user scrolls through the recordset via the window or tile, new records would be accessed from the database into memory for display in the window or tile. Each query, tile, and/or window which includes a recordset which has not been completely loaded into buffer memory may require a channel to the database for accessing the remaining records to complete the recordset. The channel may include a pointer which would indicate at which point in the database to begin reviewing for additional records that satisfy the query and/or should properly be displayed in the tile and/or window. The number of channels to the database for an application may be limited by hardware, software, and/or design considerations. For instance, the number of database access channels for an application may be limited to five. Therefore, if a sixth query, tile and/or window attempts to access the database, then the unfilled recordset associated with that sixth query, tile and/or window would not have an assigned channel.
  • If the answer to question [0058] 62 is yes, the flow proceeds to question 63, which asks whether there are any channels available. If the answer is yes, the flow proceeds to action 64, which indicates to assign an unassigned channel to the unfilled record set. From action 64, the flow proceeds again to question 62. If the answer to question 63 is negative, the flow proceeds to action 65, which indicates to fetch a record from a recordset. Alternatively, a block of records may be fetched from a recordset. The size of the blocks of records may correspond to the size of the buffer blocks or pages used by the system. From action 65, the flow proceeds to action question 66, which asks whether the recordset is completely loaded. If the answer to question 66 is negative, the flow proceeds to action 67, which indicates to move to a next sequential record set. From action 67, the flow proceeds to action 65. If the answer to question 66 is affirmative, the flow proceeds to action 64, which is described above. If the response to question 62 is negative, the flow proceeds to end 68.
  • FIG. 7 shows a flowchart of an exemplary embodiment of the present invention showing the relationship between an XML file created in the development environment and a binary structure of the XML file for use in a run-time environment. The flow proceeds from [0059] start 70 to action 71, in which an application is started. The flow then proceeds to question 72, which asks whether the XML file that contains the metadata has a corresponding binary structure stored. If the response to question 72 is negative, the flow proceeds to action 73, which indicates to convert the XML file into a binary structure. From action 73, the flow proceeds to action 74, which indicates to store the datestamp and the filesize of the XML file in the memory. From action 74, the flow proceeds to action 75, which indicates to save the binary structure in the memory together with the datestamp and the filesize. From action 75, the flow proceeds to action 76, which indicates to map the stored file of the binary structure in the memory. From action 76, the flow proceeds to end 80. If the response to question 72 is affirmative, the flow proceeds to action 77, in which the filesize and datestamp are read. From action 77, the flow proceeds to question 78, which asks whether the datestamp and filesize recorded with the binary structure match the datestamp and filesize of the currently loaded XML file. If the response to question 78 is negative, the flow proceeds to action 79, which indicates to delete the outdated binary structure and the included datestamp and filesize records. From action 79, the flow proceeds to action 73. If the response to question 78 is affirmative, the flow proceeds to action 76.
  • FIG. 8 shows a schematic diagram illustrating the relationship between a business object manager (BOManager) [0060] 25, b.o.kernels 26 a, 26 b, and databuffers 83 a, 83 b, 83 c. Business object manager 25 includes a look-up table for the records which have been loaded into a memory buffer. Each record loaded into the memory buffer has b.o.kernel 26 a, 26 b or another b.o.kernel. B.o.kernel 26 a, 26 b includes kernel pointer 84 a, 84 b, respectively. Kernel pointer 84 a, 84 b, points to a position in the buffer that hold the first recording of the unique record designated for b.o.kernel 84 a, 84 b. For example, b.o.kernel 84 a has kernel pointer 84 a which points to databuffer 83 a. Databuffer 83 a holds properties 86 a, 86 b, 86 c which represent fields in a row or record from a datatable of the database. Properties 86 a, 86 b, 86 c may include all the fields of one record, or only some of the fields of one record which may be required for a b.o.collection. Databuffer 83 a may also include a pointer 85 a which points to another databuffer 83 b which holds the next recording of the same record held in databuffer 83 a. Databuffer 83 b may also include all or only some of the properties associated with the record, and is shown as including property 86 a in common with databuffer 83 a, as well as different properties 86 d, 86 e. Databuffer 83 b also includes a pointer 85 b which points to the next recording of the record, which in particular points to databuffer 83 c. Databuffer 83 c includes property 86 a in common with databuffer 83 a, property 86 d in common with databuffer 83 b, and unique property 86 f. B.o.kernel 26 b represents another record and includes kernel pointer 84 b and key 82 b. Key 82 a of b.o.kernel 26 a may include such information as an identifier of the record assigned to b.o. kernel 26 a counter indicating the number of recordings of the record which exist in the buffer chain.
  • When a b.o.collection closes and therefore may no longer require a supporting databuffer, that databuffer can close. The pointer from that databuffer can be written into the next earliest recorded record, thereby overwriting the pointer that pointed to the now-erased databuffer and exchanging it with the databuffer recorded after the now-erased databuffer. In this manner, the chain of databuffers is maintained. [0061] Keys 82 a, 82 b include a counter and may therefore include information showing that no databuffers holding the record assigned to b.o.kernel 26 a, 26 b are active, and that therefore b.o.kernel 26 a, 26 b and any remaining databuffers may be erased. Databuffer 83 a, and any other databuffer that represents the first databuffer pointed to by kernel pointer 84 a or any other kernel pointer, may include more than just the particular properties which may be required by the b.o.collection that caused the creation of the databuffer and the b.o.kernel. Databuffer 83 a (or any other first recording of the record in the databuffer), may include all the properties of the record, and therefore may provide a source for loading subsequent databuffers rather than loading from the database. This method may avoid problems with changing records due to read/write applications and/or a dynamic database.
  • [0062] Kernel pointer 84 a points to databuffer 83 a and pointer 85 a of databuffer 83 a would now point to databuffer 83 c instead of databuffer 83 b after databuffer 83 b is closed. Pointer 85 a of databuffer 83 a is rewritten in this situation. B.o.kernel 26 a tracks the number of usages of the data from the application. When the last databuffer is erased, the corresponding b.o.kernel may be erased as well. Alternatively and equivalently, when no more b.o.collections refer to the key of that b.o.kernel, then no more databuffers for that record are in use, and therefore the b.o.kernel may be erased as well. The b.o.kernel has a counter of the number of databuffers and the number of record sets that are connected to the b.o.kernel (via b.o.collections). Business object manager 25 is a manner of searching for a given key and may include a look-up table (similar to a primary key in a database table).
  • Databuffers [0063] 83 a-c include tags 87 a-c, respectively, which identify the b.o.collection which created them (by the data loader). Tags 87 a-c enable b.o.kernel 26 a to determine which data buffer (in the chain) may be dropped when a b.o.collection is being deleted.
  • The foregoing discussion is for a read-only situation. In a read-write situation, the first buffer to which b.o. [0064] kernel 26 a points may include all properties of the record. This first buffer may be updated as records are modified and may be used as a data source when new copies of the record are requested by a b.o. collection. This first buffer may be written back into the database when b.o. kernel 26 a has no more active b.o. collections associated with it. Saving the record of this databuffer into the database may then update the database according to the modifications to the record which result from the user's interaction with the application.
  • FIG. 9 shows a schematic diagram illustrating the relationship between [0065] b.o.collection 24 a, b.o.kernel 26 a, 26 d, 26 e having keys 82 a, 82 d, 82 e, respectively, and bufferpage 91 having databuffers 83 a, 83 d, 83 e. Bufferpage 91 is a fixed unit of buffer memory, and may be 8 kilobytes, 4 kilobytes, or any other appropriate size. B.o.collection 24 a represents a query, window and/or tile of an application that may require a recordset. B.o.collection 24 a operates in a fetch-on-demand environment. For each record fetched, a b.o.kernel is created if no other b.o.collection has accessed that record. Otherwise, the record is attached to a chain that begins with a b.o.kernel for the record that has been previously accessed by either another b.o.collection or b.o.collection 24 a.
  • [0066] B.o.collection 24 a may demand that a record be loaded from the database by dataloader 28 a. Dataloader 28 a may load the record and then determine where to write the data into buffer memory by reviewing current page 90. Current page 90 points to bufferpage 91, which represents the current page. Bufferpage 91 includes refcount 92 and freespace 93.
  • [0067] Refcount 92 indicates the number of references (or databuffers) in bufferpage 91, and freespace 93 indicates the amount of freespace remaining in bufferpage 91. As shown in FIG. 9, refcount 92 would indicate the number 3, for databuffers 83 a, 83 d, and 83 e. Additionally, freespace 93 would indicate the size of freedatabuffer 94.
  • For instance, the last record loaded in [0068] bufferpage 91 was the record in databuffer 83 e. Dataloader 28 a loaded the record into databuffer 83 e on bufferpage 91. Dataloader 28 a compared the size of the record of databuffer 83 e with the remaining free space in bufferpage 91, as determined by freespace 93, and since the size of the record of databuffer 83 e was smaller than freespace 93, dataloader 28 a loaded the data into bufferpage 91. Dataloader 28 a did not change the designation in current page 90. Therefore, current page 90 points to bufferpage 91, and freespace 93 includes a number which corresponds to the size of the available memory in bufferpage 91, which is freedatabuffer 94.
  • Buffers may be sized according to the selected data and grouped into pages per selection. Each row of data may belong to one business object (BO, represented by a b.o.kernel). Different data selections might retrieve different parts of these business objects. In a typical case, 3-4 attributes may be retrieved out of a business object with up to 100 attributes. Saving into the memory buffer all 100 attributes in each row would make the row large and would fill the memory buffer quicker. [0069]
  • The data for one row is stored in a databuffer. Multiple databuffers may be chained to each b.o.kernel. The data selection for databuffer [0070] 83 a includes properties 86 a, 86 b, 86 c. Databuffers 83 a, 83 d, 83 e from multiple data selections (multiple records) may contain fields for the same business object. Each of databuffers 83 a, 83 d, 83 e is chained on a corresponding b.o.kernel 26 a, 26 d, 26 e. Databuffers 83 a, 83 d, 83 e which are loaded for one data selection represented by b.o.collection 24 a are kept in bufferpage 91. Databuffers 83 a, 83 d, 83 e may also include a pointer indicating on what buffer page 91 they are stored. Bufferpage 91 may have a fixed size (for example, 8 kilobytes) and may be filled as data (records) for b.o.collection 24 a is being loaded.
  • In order to determine the lifetime of [0071] bufferpage 91, each of databuffers 26 a, 26 d, 26 e includes a respective tag 87 a, 87 d, 87 e, respectively, which includes a reference to bufferpage 91. B.o.collection 24 a includes a reference to current page 90 via dataloader 28 a that shows which bufferpage 91 is currently being filled. As long as there is enough free space on bufferpage 91, as indicated by freespace 93, newly loaded data buffers are put on the same bufferpage 91. Tags 87 a, 87 d, 87 e, identify their respective databuffers 83 a, 83 d, 83 e with b.o.collection 24 a. If b.o.collection 24 a shuts down, corresponding databuffers 83 a, 83 d, 83 e may then be removed from the chain of their associated b.o.kernels 26 a, 26 d, 26 e and refcount 92 of bufferpage 91 will be set to zero. Then bufferpage 91 may be freed to be overwritten.
  • With respect to FIG. 9, a typical scenario might be: [0072]
  • Current Page gets allocated, RefCount 0, FreeSpace 8K [0073]
  • First DataBuffer gets filled, RefCount 1, FreeSpace 7K [0074]
  • 2nd DataBuffer gets filled, RefCount 2, FreeSpace 6K [0075]
  • . . . 8th DataBuffer gets filled, RefCount 8, FreeSpace 0K [0076]
  • At this point, dataloader [0077] 28 a allocates a new bufferpage if additional records need to be loaded. If b.o.collection 24 a is closed or deleted, databuffers 83 a, 83 d, 83 e may also be closed, unless any of databuffers 83 a, 83 d, 83 e is the first record in any chain from b.o.kernel 26 a, 26 d, 26 e (in other words, if kernel pointer 84 a, 84 d, 84 e, respectively, points directly to any of databuffers 83 a, 83 d, 83 e). Any databuffer for which this is not true may be deleted. Therefore, if one databuffer must remain, then:
  • 7 data buffers deleted, RefCount 1, FreeSpace 0K [0078]
  • The space created by erasing the other databuffers is not added to [0079] freespace 93 in this situation because dataloader 28 a would not look at bufferpage 91 for loading data since current page 90 would point to another bufferpage. Additionally, since each databuffer may have a different size, attempting to load into a bufferpage which has only been partially freed would increase fragmentation within the bufferpage and therefore would decrease memory buffer efficiency. Finally, continuing the example above:
  • when the last data buffer is deleted, RefCount 0, FreeSpace 0K [0080]
  • Now the whole of [0081] bufferpage 91 is freed, and therefore, when any dataloader needs a bufferpage for loading, current page 90 may choose bufferpage 91.
  • There are two different kinds of data buffers, which may be distinguished by a discriminator. A compressed layout, in which all fields use the actual needed space is possible. This buffer type may be used for “read only” access, which is the case for all data read from the database. An expanded layout, in which all fields have the maximum space is also possible. This buffer type is able to store data of any allowed length. It is allocated when the business object becomes dirty or is newly created. Each row of the record set may have a key. [0082]
  • FIG. 10 shows a schematic diagram of an exemplary embodiment of a system of the present invention showing [0083] mobile system 109 and network 103. Mobile system 109 may include one or more mobile clients, and may include laptops and PDAs. Connected to mobile system 109 is database 108, which may be a user database that is synchronized with central database 110 when mobile system 109 is connected to network 103. Mobile system 109 may connect to network 103 via connection 107, which may be a wireless connection, bus connection, or telephone connection. Connection 107 may connect mobile system 109 and communication station 106. Communication station 106 may connect by a hardwire connection to network 103. Network 103 may include one or more network servers 104 and may couple to central database 110. Network 103 may also connect to other systems 111, which may include the internet or any other electrical device or electronic system. Network servers 104 may also connect to mobile repository server 101, which may include a mobile repository database 102. Mobile development workstation 100 may connect to mobile repository server 101. Mobile repository server 101, mobile repository database 102, and mobile development workstation 100 may all exist in development environment 11. A mobile system may be designed on mobile development workstation 100 and tested using a sample database on mobile repository database 102.
  • [0084] Mobile development workstation 100 may be used to create an XML file that provides information on how a database access system should behave which may be running on the mobile application. The XML file, or other human readable file, may describe how business objects are mapped into a database table. The XML file may also indicate how to execute queries and may contain SQL statement and/or portions of SQL statements. For example, a user may enter a customer name but not an address (or other field). The system may then use a piece of the SQL statement that is dedicated to the field that has been input by the user. There may be two things in the SQL statements: data to be retained (i.e. attributes of the business objects); and criteria for matching and/or selecting records from the database. The XML file (or other human readable computer file) may describe both parts of the SQL statements. The XML file may have queries for SQL statements for two type queries. The first type of query may be the objects which have a field value which satisfies a query. This group of objects may constitute a list. A second type of query may load a whole business object. The record corresponding to the business object may be loaded and may not be immediately displayed for the user. For example, a user may click on a field in a list of partial records and the remaining fields in that record may be loaded. If the user clicks again on the field, all the records for that business object may be displayed. A different SQL statement may be used for this purpose. The XML file may describe how to fetch data from the database, and in particular may describe how build SQL statements for executing against the database. The XML file may also describe which field of the record is the key (for example, a unique identifier) of the record. This key may be saved in the b.o.kernel for identification by the b.o.manager of the records which have been loaded from the database into the memory of the mobile device. If an SQL statement is a query, then the data retrieved is for read-only purposes, and therefore only the fields requested may be retrieved from the database. If the data is for writing purposes also, then all fields associated with the b.o.object should be retrieved from the database. The XML file is human readable and may be modified on the mobile device, though typically this may only be done in a development situation for prototyping purposes.
  • FIG. 11 shows a flowchart of an exemplary method of the present invention for storing records in a memory. The flow starts in [0085] start circle 114 and proceeds to action 115, which indicates to retrieve a record from a database in response to a request from a recordset in an application. From action 115, the flow proceeds to question 116, which asks whether the size of the record is smaller than the freespace on the active bufferpage. If the response question 116 is negative, the flow proceeds to action 117, which indicates to change the active bufferpage. From action 117, the flow proceeds to action 118, which indicates to save the record in a databuffer on the active bufferpage of a memory associated with the recordset. If the response question 116 is affirmative, the flow proceeds to action 118. From action 118, the flow proceeds to question 119, which asks whether the record been retrieved and stored previously in the application. If the response question 119 is affirmative, the flow proceeds to action 120, which indicates to store a pointer pointing to the databuffer of the newly saved record in the databuffer of the next most recently recorded copy of the record. From action 120, the flow proceeds to question 122. If the response question 119 is negative, the flow proceeds to action 121, which indicates to make a b.o.kernel including a key to the record. From action 121, the flow proceeds to question 122, which asks whether more records need to be loaded for the recordset. If the response question 122 is affirmative, the flow proceeds to action 115. If the response question 122 is negative, the flow proceeds to end circle 123.
  • While the present invention has been described in connection with the foregoing representative embodiment, it should be readily apparent to those of ordinary skill in the art that the representative embodiment is exemplary in nature and is not to be construed as limiting the scope of protection for the invention as set forth in the appended claims. [0086]

Claims (21)

What is claimed is:
1. A method, comprising:
(a) creating in a design environment a file that determines a metadata that relates at least one business object and at least one query;
(b) communicating the file to a mobile device;
(c) storing the file on the mobile device;
(d) transforming the file into a binary structure at an initial run of a computer application running on the mobile device, the binary structure adapted to be read by the computer application; and
(e) recording the binary structure in a memory of the mobile device.
2. The method of claim 1, wherein the method is adapted to create a database access system.
3. The method of claim 1, wherein the file is an XML file.
4. The method of claim 1, further comprising:
determining whether the file has been updated upon a startup of the computer application; and
mapping the binary structure by the computer application from the memory if the file has not been updated.
5. The method of claim 4, further comprising storing at least one of a datestamp and a filesize in the memory with the binary structure, the at least one of the datestamp and the filesize uniquely identifying the file corresponding to the binary structure.
6. The method of claim 5, wherein the determining whether the file has been updated includes comparing at least one of a further datestamp and a further filesize of a further file stored on the mobile device with the at least one of the datestamp and the filesize recorded with the binary structure.
7. The method of claim 6, wherein, if the at least one of the further datestamp and the further filesize of the further file stored on the mobile device correspond with the at least one of the datestamp and the filesize recorded with the binary structure, then the file and the further file are identical and the file has not been updated.
8. The method of claim 6, wherein if the at least one of the further datestamp and the further filesize of the further file stored on the mobile device do not correspond with the at least one of the datestamp and the filesize recorded with the binary structure, then the file and the further file are not identical and the file has not been updated.
9. The method of claim 8, further comprising repeating operations (d) and (e) for the further file.
10. The method of claim 1, further comprising:
creating a new file to change the metadata; and
repeating the operations of (b), (c), (d), and (e) for the new file.
11. The method of claim 1, wherein the metadata describes at least one of:
actual data;
at least one attribute for the at least one business object;
at least one relationship between a plurality of business objects; and
the at least one query.
12. The method of claim 1, wherein the mobile device includes at least one of a laptop computer and a personal digital assistant.
13. The method of claim 1, wherein the recording of the binary structure in the memory includes mapping the binary structure into an address space.
14. The method of claim 1, further comprising mapping the binary structure for a subsequent run of the computer application until the file is updated with a new file.
15. A method, comprising:
(a) receiving at a mobile device a file that includes a metadata that relates at least one object and at least one record for a computer application;
(c) storing the file on the mobile device;
(b) converting the file into a binary file at a first running of the computer application; and
(c) mapping the binary file into an address space.
16. The method of claim 15, further comprising recording the binary structure in a memory of the mobile device.
17. The method of claim 16, further comprising reading the binary structure at a second running of the computer application.
18. The method of claim 15, wherein the file is an XML file.
19. The method of claim 15, further comprising:
determining whether the file has been updated upon a startup of the computer application; and
mapping the binary structure by the computer application from the memory if the file has not been updated.
20. A system for updating a database access program, comprising:
a design server including a memory and a processor adapted to create a file that relate a plurality of objects in a computer application and records in a database; and
a mobile device including a processor, a program memory, a database memory, and a communication interface coupled to the network;
wherein the design server is adapted to create the file;
wherein the mobile device is adapted to transform the file into a binary structure at an initial run of a computer application running on the mobile device, the binary structure adapted to be read by the computer application.
21. The system of claim 20, wherein the mobile device is adapted to record the binary structure in the program memory.
US10/672,230 2003-06-04 2003-09-25 Method of designing a database access system and system for updating a database access system Abandoned US20040249785A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/672,230 US20040249785A1 (en) 2003-06-04 2003-09-25 Method of designing a database access system and system for updating a database access system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/455,294 US7685127B2 (en) 2003-06-04 2003-06-04 Database access system, method of accessing a database, and method of designing a database access system
US10/672,230 US20040249785A1 (en) 2003-06-04 2003-09-25 Method of designing a database access system and system for updating a database access system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US10/455,294 Division US7685127B2 (en) 2003-06-04 2003-06-04 Database access system, method of accessing a database, and method of designing a database access system

Publications (1)

Publication Number Publication Date
US20040249785A1 true US20040249785A1 (en) 2004-12-09

Family

ID=33489925

Family Applications (3)

Application Number Title Priority Date Filing Date
US10/455,294 Active 2026-07-10 US7685127B2 (en) 2003-06-04 2003-06-04 Database access system, method of accessing a database, and method of designing a database access system
US10/672,230 Abandoned US20040249785A1 (en) 2003-06-04 2003-09-25 Method of designing a database access system and system for updating a database access system
US10/672,514 Active 2024-11-10 US7483905B2 (en) 2003-06-04 2003-09-25 Database access device and method of accessing a database

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US10/455,294 Active 2026-07-10 US7685127B2 (en) 2003-06-04 2003-06-04 Database access system, method of accessing a database, and method of designing a database access system

Family Applications After (1)

Application Number Title Priority Date Filing Date
US10/672,514 Active 2024-11-10 US7483905B2 (en) 2003-06-04 2003-09-25 Database access device and method of accessing a database

Country Status (2)

Country Link
US (3) US7685127B2 (en)
WO (1) WO2004109545A2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070105538A1 (en) * 2005-11-04 2007-05-10 Research In Motion Limited System and method for provisioning a third party mobile device emulator
EP1999611A4 (en) * 2006-01-19 2010-03-10 Belron Us Inc Method and device for providing location based content delivery
US20120117509A1 (en) * 2010-11-05 2012-05-10 Apple Inc. Intelligent Data Caching
US20130290883A1 (en) * 2012-04-27 2013-10-31 Tina Marseille In place creation of objects
US20130339311A1 (en) * 2012-06-13 2013-12-19 Oracle International Corporation Information retrieval and navigation using a semantic layer
US20140136501A1 (en) * 2005-01-27 2014-05-15 International Business Machines Corporation Database usage trends based on database lock requests
US9367806B1 (en) 2013-08-08 2016-06-14 Jasmin Cosic Systems and methods of using an artificially intelligent database management system and interfaces for mobile, embedded, and other computing devices
US10255302B1 (en) 2015-02-27 2019-04-09 Jasmin Cosic Systems, methods, apparatuses, and/or interfaces for associative management of data and inference of electronic resources
US11281665B2 (en) * 2015-07-13 2022-03-22 Paypal, Inc. Read/write split database query routing

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI120165B (en) * 2004-12-29 2009-07-15 Seven Networks Internat Oy Synchronization of a database through a mobile network
JP4423295B2 (en) * 2005-06-24 2010-03-03 ソフトバンクモバイル株式会社 Data communication method and mobile communication terminal device
US7933632B2 (en) * 2005-09-16 2011-04-26 Microsoft Corporation Tile space user interface for mobile devices
US7873356B2 (en) * 2005-09-16 2011-01-18 Microsoft Corporation Search interface for mobile devices
US20070067726A1 (en) * 2005-09-16 2007-03-22 Microsoft Corporation Content sharing user interface for mobile devices
US7844615B2 (en) * 2005-12-19 2010-11-30 Sap Ag Systems and methods for an enterprise services framework using a state model
US7734648B2 (en) * 2006-04-11 2010-06-08 Sap Ag Update manager for database system
DE102008038968A1 (en) * 2008-08-13 2010-02-18 Schad Gmbh System for monitoring, control and data acquisition of technical processes
US8108400B2 (en) * 2009-06-27 2012-01-31 Hewlett-Packard Development Company, L.P. Database segment searching
US8412673B2 (en) 2010-07-30 2013-04-02 Sap Ag Persistence of master data in a multi-tenant software delivery architecture
US9128986B2 (en) * 2011-06-29 2015-09-08 Infosys Limited Method and system for managing a database having a plurality of tables
CN104216913B (en) 2013-06-04 2019-01-04 Sap欧洲公司 Question answering method, system and computer-readable medium
US9618343B2 (en) 2013-12-12 2017-04-11 Microsoft Technology Licensing, Llc Predicted travel intent
US20160125329A1 (en) * 2014-10-30 2016-05-05 Siemens Product Lifecycle Management Software Inc. System and method for configuration-managed lifecycle diagrams

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035301A (en) * 1996-12-20 2000-03-07 Tandem Computers, Inc. Method and apparatus for accessing transaction services using object linking and embedding
US6108686A (en) * 1998-03-02 2000-08-22 Williams, Jr.; Henry R. Agent-based on-line information retrieval and viewing system
US6282709B1 (en) * 1997-11-12 2001-08-28 Philips Electronics North America Corporation Software update manager
US20020116486A1 (en) * 2001-02-22 2002-08-22 Alcatel Method of supervising and controlling a transport network
US7072672B1 (en) * 2002-11-01 2006-07-04 Nokia Corporation Disposable mini-applications

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5440730A (en) 1990-08-09 1995-08-08 Bell Communications Research, Inc. Time index access structure for temporal databases having concurrent multiple versions
US5347653A (en) 1991-06-28 1994-09-13 Digital Equipment Corporation System for reconstructing prior versions of indexes using records indicating changes between successive versions of the indexes
US5794229A (en) 1993-04-16 1998-08-11 Sybase, Inc. Database system with methodology for storing a database table by vertically partitioning all columns of the table
US5713020A (en) * 1993-09-02 1998-01-27 Microsoft Corporation Method and system for generating database queries containing multiple levels of aggregation
US5623652A (en) * 1994-07-25 1997-04-22 Apple Computer, Inc. Method and apparatus for searching for information in a network and for controlling the display of searchable information on display devices in the network
US5717919A (en) 1995-10-02 1998-02-10 Sybase, Inc. Database system with methods for appending data records by partitioning an object into multiple page chains
US6119130A (en) 1996-03-28 2000-09-12 Oracle Corporation Method and apparatus for providing schema evolution without recompilation
US5933654A (en) 1996-09-24 1999-08-03 Allen-Bradley Company, Llc Dynamic buffer fracturing by a DMA controller
US6115790A (en) 1997-08-29 2000-09-05 Silicon Graphics, Inc. System, method and computer program product for organizing page caches
US6240421B1 (en) * 1998-09-08 2001-05-29 Edwin J. Stolarz System, software and apparatus for organizing, storing and retrieving information from a computer database
US6658491B1 (en) 1998-12-04 2003-12-02 Honeywell Inc. System and method for constructing an ole process control compliant data server from a noncompliant user application
JP2000196607A (en) * 1998-12-24 2000-07-14 Canon Inc Information processing system, its controlling method and information processor
US6393506B1 (en) * 1999-06-15 2002-05-21 National Semiconductor Corporation Virtual channel bus and system architecture
US6216199B1 (en) 1999-08-04 2001-04-10 Lsi Logic Corporation Hardware mechanism for managing cache structures in a data storage system
US6470360B1 (en) 1999-12-20 2002-10-22 Sybase, Inc. Database system with improved methodology for page allocation
US6772413B2 (en) * 1999-12-21 2004-08-03 Datapower Technology, Inc. Method and apparatus of data exchange using runtime code generator and translator
US6631386B1 (en) 2000-04-22 2003-10-07 Oracle Corp. Database version control subsystem and method for use with database management system
US7188183B1 (en) 2000-08-04 2007-03-06 Oracle International Corporation Maintaining state information in mobile applications
US9742614B2 (en) * 2000-09-28 2017-08-22 Wellogix Technology Licensing, Llc Data-type definition driven dynamic business component instantiation and execution framework
US7032071B2 (en) 2002-05-21 2006-04-18 Sun Microsystems, Inc. Method, system, and program for using buffers to provide property value information for a device
CA2391717A1 (en) * 2002-06-26 2003-12-26 Ibm Canada Limited-Ibm Canada Limitee Transferring data and storing metadata across a network
US7093230B2 (en) * 2002-07-24 2006-08-15 Sun Microsystems, Inc. Lock management thread pools for distributed data systems
US6883082B2 (en) 2002-12-19 2005-04-19 Lsi Logic Corporation Central dynamic memory manager
US7159073B2 (en) 2003-03-27 2007-01-02 Stmicroelectronics, Inc. Data storage and caching architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035301A (en) * 1996-12-20 2000-03-07 Tandem Computers, Inc. Method and apparatus for accessing transaction services using object linking and embedding
US6282709B1 (en) * 1997-11-12 2001-08-28 Philips Electronics North America Corporation Software update manager
US6108686A (en) * 1998-03-02 2000-08-22 Williams, Jr.; Henry R. Agent-based on-line information retrieval and viewing system
US20020116486A1 (en) * 2001-02-22 2002-08-22 Alcatel Method of supervising and controlling a transport network
US7072672B1 (en) * 2002-11-01 2006-07-04 Nokia Corporation Disposable mini-applications

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9141965B2 (en) * 2005-01-27 2015-09-22 International Business Machines Corporation Database usage trends based on database lock requests
US20140136501A1 (en) * 2005-01-27 2014-05-15 International Business Machines Corporation Database usage trends based on database lock requests
US8688098B2 (en) 2005-11-04 2014-04-01 Blackberry Limited System and method for provisioning a third party mobile device emulator
US20080288237A1 (en) * 2005-11-04 2008-11-20 Research In Motion Limited System and method for provisioning a third party mobile device emulator
US7613453B2 (en) * 2005-11-04 2009-11-03 Research In Motion Limited System and method for provisioning a third party mobile device emulator
US8126446B2 (en) 2005-11-04 2012-02-28 Research In Motion Limited System and method for provisioning a third party mobile device emulator
US20070105538A1 (en) * 2005-11-04 2007-05-10 Research In Motion Limited System and method for provisioning a third party mobile device emulator
EP1999611A4 (en) * 2006-01-19 2010-03-10 Belron Us Inc Method and device for providing location based content delivery
US8799311B2 (en) * 2010-11-05 2014-08-05 Apple Inc. Intelligent data caching
US20120117509A1 (en) * 2010-11-05 2012-05-10 Apple Inc. Intelligent Data Caching
US10203841B2 (en) * 2012-04-27 2019-02-12 Sap Se In place creation of objects
US20130290883A1 (en) * 2012-04-27 2013-10-31 Tina Marseille In place creation of objects
US9280788B2 (en) * 2012-06-13 2016-03-08 Oracle International Corporation Information retrieval and navigation using a semantic layer
US20130339311A1 (en) * 2012-06-13 2013-12-19 Oracle International Corporation Information retrieval and navigation using a semantic layer
US10534779B2 (en) 2013-08-08 2020-01-14 Jasmin Cosic Systems and methods of using an artificially intelligent database management system and interfaces for mobile, embedded, and other computing devices
US10353901B2 (en) 2013-08-08 2019-07-16 Jasmin Cosic Systems and methods of using an artificially intelligent database management system and interfaces for mobile, embedded, and other computing devices
US10528570B2 (en) 2013-08-08 2020-01-07 Jasmin Cosic Systems and methods of using an artificially intelligent database management system and interfaces for mobile, embedded, and other computing devices
US9367806B1 (en) 2013-08-08 2016-06-14 Jasmin Cosic Systems and methods of using an artificially intelligent database management system and interfaces for mobile, embedded, and other computing devices
US11847125B1 (en) 2013-08-08 2023-12-19 Jasmin Cosic Systems and methods of using an artificially intelligent database management system and interfaces for mobile, embedded, and other computing devices
US10255302B1 (en) 2015-02-27 2019-04-09 Jasmin Cosic Systems, methods, apparatuses, and/or interfaces for associative management of data and inference of electronic resources
US11036695B1 (en) 2015-02-27 2021-06-15 Jasmin Cosic Systems, methods, apparatuses, and/or interfaces for associative management of data and inference of electronic resources
US11281665B2 (en) * 2015-07-13 2022-03-22 Paypal, Inc. Read/write split database query routing

Also Published As

Publication number Publication date
US7685127B2 (en) 2010-03-23
US20040249857A1 (en) 2004-12-09
WO2004109545A2 (en) 2004-12-16
US7483905B2 (en) 2009-01-27
WO2004109545A3 (en) 2005-07-07
US20050086203A1 (en) 2005-04-21

Similar Documents

Publication Publication Date Title
US7483905B2 (en) Database access device and method of accessing a database
US9292573B2 (en) Extended database engine providing versioning and embedded analytics
US5682524A (en) Databank system with methods for efficiently storing non-uniform data records
US7089262B2 (en) Method and apparatus for object oriented storage and retrieval of data from a relational database
US6857000B2 (en) Object-oriented data storage and retrieval system using index table
CN1746893B (en) Transactional file system
US7890537B2 (en) Custom caching
JP2001527243A (en) Method and apparatus for generating an index in a relational database corresponding to a class in an object-oriented application
CN104781810A (en) Tracking row and object database activity into block level heatmaps
JPH10501086A (en) Storage plane organization and storage system based thereon
US6941309B2 (en) Object integrated management system
EP1091295B1 (en) Data management system using a plurality of data operation modules
US20090300037A1 (en) Enhanced database structure configuration
US7536381B2 (en) Systems, methods and computer program products for data processing
US20070299890A1 (en) System and method for archiving relational database data
EP1569132B1 (en) Computer system and method of performing a database access
US7580917B2 (en) System and method for brokering information between a plurality of commercially distinct clients
WO2000055767A2 (en) System and method for real-time interoperation between a database management system and multiple data sources
JP3532083B2 (en) Information management apparatus and information retrieval method
US11681705B2 (en) Trie data structure with subtrie data structures
JPH03161864A (en) Document control processing system
Manolis et al. Christodoulakis Stavros1’2 AilamakiNatassa’
Dean et al. Vista: a microstorage architecture that implements file systems and object databases
Dayal The Role of Object-Oriented Database Technology in Distributed Information Systems

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION