EP2731046A1

Client computer for querying a database stored on a server via a network

Abstract

The invention relates to a client computer (10) for querying a database (30) stored on a server via a network, the server being coupled to the client computer (10) via the network, wherein the database (30) comprises first data items and suffix items, wherein each suffix item describes a suffix of at least one first data item of the first data items, wherein for each suffix item a first referential connection exists in the database (30) assigning said suffix item to the at least one first data item comprising the suffix of said suffix item, wherein each suffix item is encrypted with a suffix cryptographic key (18) in the database (30), wherein each first data item is encrypted with a first cryptographic key (18) in the database (30), wherein the client computer (10) has installed thereon an application program, the application program being operational to: - receiving a search request, the search request specifying an infix search expression, said expression comprising a first wildcard term on the left side of a search criterion and a second wildcard term on the right side of the search criterion, - transforming the infix search expression into a prefix search expression by disregarding in the search request the first wildcard term and maintaining the search criterion and the second wildcard term, - determine a search interval by transforming the prefix search into a corresponding search interval, - performing a prefix search by determining all the encrypted suffix items lying within the search interval, - providing to the database (30) a request for providing the one or more encrypted first data items being assigned via the first referential connection to the determined encrypted suffix items, - receiving from the database (30) the requested encrypted first data items and decrypting said received first data items.

EP2731046A1, drawing sheet 1
Sheet 1 of 13

Term

7 yearsto projected expiry

Projected expiry 27 September 2033, counted from filing; an application has no term until it is granted.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

21 claims: 14 independent, 7 dependent

  1. 1
    A client computer (10) for querying a database (30) stored on a server via a network, the server being coupled to the client computer (10) via the network, wherein the database (30) comprises first data items and suffix items, wherein each suffix item describes a suffix of at least one first data item of the first data items, wherein for each suffix item a first referential connection exists in the database (30) assigning said suffix item to the at least one first data item comprising the suffix of said suffix item, wherein each suffix item is encrypted with a suffix cryptographic key (18) in the database (30), wherein each first data item is encrypted with a first cryptographic key (18) in the database (30), wherein the client computer (10) has installed thereon an application program, the application program being operational to:- receiving a search request, the search request specifying an infix search expression, said expression comprising a first wildcard term on the left side of a search criterion and a second wildcard term on the right side of the search criterion, - transforming the infix search expression into a prefix search expression by disregarding in the search request the first wildcard term and maintaining the search criterion and the second wildcard term, - determine a search interval by transforming the prefix search into a corresponding search interval, - performing a prefix search by determining all the encrypted suffix items lying within the search interval, - providing to the database (30) a request for providing the one or more encrypted first data items being assigned via the first referential connection to the determined encrypted suffix items, - receiving from the database (30) the requested encrypted first data items and decrypting said received first data items.
  2. 4
    The client computer (10) of any of the previous claims 2-3, wherein in case in step g) the new encrypted suffix item is unavailable, the application program is operable to select the current decrypted suffix item as the suffix item forming the interval boundary of the search interval.
  3. 5
    The client computer (10) of any of the previous claims 2-4, wherein the application program is further operational for determining the suffix items lying in the search interval by providing the database (30) instructions to recursively traverse the partially ordered set of suffix items in the database (30) in order with respect to the partial order starting from the suffix item forming the interval boundary.
  4. 6
    The client computer (10) of any of the previous claims 2-5, wherein the encrypted suffix items are annotated with elements of a linear order in the database (30), the linear order corresponding to the order in which the encrypted suffix items are stored in the database (30) with respect to the partial ordered set, wherein the application program is further operational for determining the suffix items lying in the search interval by providing the database (30) instructions to retrieve the first element of the linear order annotated to the encrypted suffix item forming the first interval boundary and to retrieve the second element of the linear order annotated to the encrypted suffix item forming the second interval boundary, wherein the application program is further operational for providing to the database (30) instructions to determine all encrypted suffix items having annotated the elements of linear order in between the first element and the second element.
  5. 7
    The client computer (10) of any of the previous claims 2-6, wherein the application program is further operable to provide the request for the encrypted suffix item to the database (30), wherein the request for the encrypted suffix item comprises information that the encrypted suffix item is to be retrieved by the database (30), and in response to said provision of the request for the encrypted suffix item, receiving the encrypted suffix item from the database (30).
  6. 8
    The client computer (10) of any of the previous claims 2-7, wherein the application program is further operable to:- determine if a requested encrypted suffix item is available in a memory assigned to the client, - in case said requested encrypted suffix item is available in the memory, direct the request to said encrypted suffix item to the memory and in response receiving said requested encrypted suffix item from the memory, - in case said requested encrypted suffix item is unavailable in the memory, direct the request to said encrypted suffix item to the database (30), and in response receive a set of encrypted suffix items from the database (30), said set of encrypted suffix items comprising the requested encrypted suffix item, wherein the encrypted suffix items are ordered in the set of encrypted suffix items according to the partial order, and store the set of encrypted suffix items in the memory.
  7. 10
    The client computer (10) of any of the previous claims, wherein each suffix item has assigned an offset value for each first data item being assigned to the suffix item via the first referential connection, the offset value describing the difference in the word length between the first data item and the assigned suffix item, wherein - the search request is comprising an integer value denoting a number of symbols allowed on the left side of the search criterion, - the request provided to the database (30) for providing the one or more encrypted first data items being assigned via the first referential connection to the determined encrypted suffix items comprises the request for providing the encrypted first data items being assigned via the first referential connection and having assigned an offset value matching the integer value.
  8. 11
    The client computer (10) of any of the previous claims, wherein the application program is further operational for - receiving the search request from a requestor, - providing information content associated with the requested encrypted first data items to the requestor, wherein - the information content is given by the received and decrypted first data items, or - the database (30) further comprises a second relation, wherein the second relation comprises second data items, wherein the second data items are encrypted with a second cryptographic key (18), wherein a second referential connection exists assigning each encrypted first data item to at least one of the second data items stored encrypted in the second relation, wherein the information content is comprised in the second data items, wherein the application program is operable to request from the database (30) the information content via the second referential connections of the requested encrypted first data items, wherein the application program is further operational for decrypting the received encrypted second data items.
  9. 12
    The client computer (10) of any of the previous claims 2-11, wherein an encrypted data item is given by the current encrypted suffix item or the first data item, wherein decrypting the encrypted data item comprises - creating a residual data item by removing a predefined data portion of the encrypted data item, wherein the predefined data portion is common for all of the encrypted data items and wherein the content of the predefined data portion is unique for each data item, - generating the cryptographic key (18) required for decrypting the encrypted data item by combining the content of the removed predefined data part with a symmetric key common for all of the encrypted data items, wherein for any subsequent operational steps the removed predefined data part is disregarded from the data item.
  10. 13
    A computer system comprising a client computer (10) according to any of the previous claims, and a database (30) stored on a server, the server being coupled to the client computer (10) via the network, wherein the database (30) comprises data items, wherein data items are encrypted with a cryptographic key in the database (30).
  11. 15
    A method for querying a database (30) stored on a server via a network, the server being coupled to the client computer (10) via the network, wherein the database (30) comprises first data items and suffix items, wherein each suffix item describes a suffix of at least one first data item of the first data items, wherein for each suffix item a first referential connection exists in the database (30) assigning said suffix item to the at least one first data item comprising the suffix of said suffix item, wherein each suffix item is encrypted with a suffix cryptographic key (18) in the database (30), wherein each first data item is encrypted with a first cryptographic key (18) in the database (30), wherein the client computer (10) has installed thereon an application program, wherein the method comprises at the client computer (10):- receiving a search request, the search request specifying an infix search expression, said expression comprising a first wildcard term on the left side of a search criterion and a second wildcard term on the right side of the search criterion, - transforming the infix search into a prefix search by disregarding in the search request the first wildcard term and maintaining the search criterion and the second wildcard term, - determine a search interval by transforming the prefix search into a corresponding search interval, - performing a prefix search by determining all the encrypted suffix items lying within the search interval, - providing to the database (30) a request for providing the one or more encrypted first data items being assigned via the first referential connection to the determined encrypted suffix items, - receiving from the database (30) the requested encrypted first data items and decrypting said received first data items.
  12. 16
    A client computer (10) for updating a database (30) stored on a server, the server being coupled to the client computer (10) via the network, wherein the database (30) comprises first data items and suffix items, wherein each suffix item describes a suffix of at least one first data item of the first data items, wherein for each suffix item a first referential connection exists in the database (30) assigning said suffix item to the at least one first data item comprising the suffix of said suffix item, wherein each suffix item is encrypted with a suffix cryptographic key (18) in the database (30), wherein each first data item is encrypted with a first cryptographic key (18) in the database (30), wherein the client computer (10) has installed thereon an application program, the application program being operational to perform the steps of a) receiving an update first data item, the update first data item comprising a set of successional symbols, b) creating an update suffix item by removing a number of the successional symbols from the left side of the update first data item, the update suffix item being the residual part of the update first data item without the removed symbols, c) encrypting the update suffix item with the suffix cryptographic key (18) for obtaining an encrypted update suffix item and encrypting the update first data item with a first cryptographic key (18) for obtaining an encrypted update first data item, d) providing a storage request to the database (30), the storage request comprising instructions to store in the database (30) the encrypted update suffix item, the encrypted update first data item and a first referential connection assigning said encrypted update suffix item to the encrypted update first data item, e) repeating steps b)-d) with different numbers of the successional removed symbols, the numbers being in between a minimum and a maximum, wherein the maximum is given by the total number of symbols of the update first data item minus a predefined minimal word length.
  13. 20
    A method for updating a database (30) stored on a server, the server being coupled to the client computer (10) via the network, wherein the database (30) comprises first data items and suffix items, wherein each suffix item describes a suffix of at least one first data item of the first data items, wherein for each suffix item a first referential connection exists in the database (30) assigning said suffix item to the at least one first data item comprising the suffix of said suffix item, wherein each suffix item is encrypted with a suffix cryptographic key (18) in the database (30), wherein each first data item is encrypted with a first cryptographic key (18) in the database (30), wherein the method comprises at the client computer (10):a) receiving an update first data item, the update first data item comprising a set of successional symbols, b) creating an update suffix item by removing a number of the successional symbols from the left side of the update first data item, the update suffix item being the residual part of the update first data item without the removed symbols, c) encrypting the update suffix item with the suffix cryptographic key (18) for obtaining an encrypted update suffix item and encrypting the update first data item with a first cryptographic key (18) for obtaining an encrypted update first data item, d) providing a storage request to the database (30), the storage request comprising instructions to store in the database (30) the encrypted update suffix item, the encrypted update first data item and a first referential connection assigning said encrypted update suffix item to the encrypted update first data item, e) repeating steps b)-d) with different numbers of the successional removed symbols, the numbers being in between a minimum and a maximum, wherein the maximum is given by the word length of the update first data item minus a predefined minimal word length.
  14. 21
    A computer program product comprising computer executable instructions to perform the method steps as claimed in any of the previous method claims.