BITSEQUENCE-BASED DATA CLASSIFICATION SYSTEM

DE502017016392D1Active Publication Date: 2024-09-19BUNDESDRUCKEREI GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE502017016392
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2016-12-30
Filing Date
2017-12-27
Publication Date
2024-09-19
Estimated Expiration
2037-12-27

AI Technical Summary

Technical Problem

Existing data classification methods are computationally complex, inefficient, and prone to errors due to incomplete knowledge or misconceptions about expected classes, especially when dealing with large datasets or encrypted data, and they often require complex initialization and parsing of higher-order data objects.

Method used

A computer-implemented method for image classification that uses tokenization to generate bit sequences from multiple field values, analyzing these sequences to identify feature-like tokens based on length, and storing them in subset-separated form, allowing for fast and resource-efficient classification without the need for complex initialization or parsing of higher-order data objects.

Benefits of technology

This method enables quick and resource-saving classification of large datasets, including encrypted data, with reduced computational effort and improved maintainability, flexibility, and security by avoiding the influence of semantic meaning and allowing for classification across various data types without specialized parsers.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

Technical area

[0001] The present presentations concern IT systems and in particular classification procedures in the context of database management systems. State of the art

[0002] Various approaches to data classification are known from the state of the art.

[0003] For example, documents or data sets can be classified based on the words they contain. The individual words within a document are automatically recognized using a text analysis algorithm. In so-called co-occurrence-based methods, documents are classified into classes of similar documents depending on the type and / or number of words they contain in common. In the context of image analysis, digital image data is also first analyzed in detail in order to identify specific structures (cell membranes, nuclei, organelles) and, based on these characteristics, to identify and classify larger structures (e.g., cancer cells, blood vessels, nerve cells, etc.). Preparing the data for the classification algorithm, as well as the classification itself, is often computationally very complex and requires the programmer to have extensive background knowledge of the expected object classes.US patent application US2014314313 discloses a method for querying product images. Technical problem and basic solutions

[0004] With existing classification methods, it is often not possible to classify large quantities of objects quickly and efficiently (e.g., in real time on a standard computer system). Classification errors occur because incomplete knowledge or misconceptions about the expected classes are used to implement classification logic. Furthermore, relevant classification features are often not accessible at all, e.g., when the data is encrypted. Against this background, there is a need to provide an improved method for classifying data and a corresponding data classification system that at least partially avoids the aforementioned disadvantages.

[0005] The objects underlying the invention are achieved with the features of the independent patent claims. Embodiments of the invention are specified in the dependent claims. The embodiments listed below can be freely combined with one another, provided they are not mutually exclusive.

[0006] The invention relates to a computer-implemented method for image classification. The method comprises providing a token set containing tokens generated from multiple field values ​​of multiple data sets by tokenization. The tokens are generated from field values ​​of at least two different field types and are stored in the form of a bit sequence. The method further comprises analyzing one or more features of the tokens at the bit sequence level to identify subsets of feature-like tokens. The feature used for this purpose is the length of the bit sequence. The method further comprises storing a copy of each of the subsets of feature-like tokens in a form separated by subsets. Each subset copy represents a class of feature-like data.

[0007] This can be advantageous because this classification method can be performed very quickly with comparatively low computational effort: it is not necessary to first initialize and analyze the data at higher levels of representation, such as at the level of bytes and ASCII characters, or even at the level of even more complex data objects, such as Java objects, whose analysis requires the instantiation of a corresponding runtime environment. This eliminates the need for time-consuming initialization and, if necessary, parsing of higher-order data objects and the instantiation of a runtime environment required for this. State-of-the-art classification methods, in contrast, are often significantly more computationally complex; the texts are analyzed, for example, using syntactic analysis and other complex text mining algorithms (reduction to the word stem, removal of stop words, possibly also "part-of-speech" (POS) tagging, among others).In addition, they must be analyzed based on the level of ASCII characters.

[0008] It is also possible to classify data even if little or no information is available about its content. This can be the case, for example, if the data is stored in encrypted form. It also prevents the programmer's misconceptions about the semantic meaning of the field values ​​and the tokens generated from them from influencing the classification, because the classification takes place at the level of bit sequence patterns, not at the level of ASCII characters or other higher-order data models, which already require a certain knowledge of the data structure or the meaning of the tokens. This makes it possible to provide a largely "meaning-agnostic" classification method, since it can also be applied to field values ​​or tokens with unknown content, for example, to encrypted field values ​​or to data fields where, for efficiency reasons, e.g.in the context of a real-time environment, content parsing of the data is not possible.

[0009] In another advantageous aspect, the method can be used for a variety of different image data types or data or file formats (.jpg, .png, .tif, etc.) without the need to create a specialized parser and laboriously integrate it into the tokenization process. Rather, the same tokenizer can be applied to a variety of different data types and data formats, or to field values ​​stored in a field with a generic data type. This can significantly improve the maintainability, flexibility, and extensibility of the classification system. A large number of different data types can therefore be stored in a specific field. A user or an application program that wants to store data records in the database does not have to worry about the consistency and compatibility of data types.In addition, the use of field types that are not restricted to a specific data type (such as integer, boolean, varchar, etc.), or that are assigned a very generic data type, prevents an unauthorized third party who has gained access to the index from drawing conclusions about the content of the attributes of the original data records based on the indexed data types.

[0010] According to embodiments, the features analyzed for the token similarity analysis are free of information regarding byte sequences or other patterns in higher levels of data representation. Thus, it is not necessary to analyze the tokens using data-type-specific parsers, or a complex representation of the data contained in the bit sequence of a token at a higher structural level is avoided.

[0011] According to embodiments, the method further comprises generating a partial index from each of the subsets of feature-like tokens and providing an index selection program. The index selection program is configured to automatically identify the one of the partial indices whose token is most similar to the data value in terms of bit sequence and / or bit sequence length.

[0012] According to embodiments, the token set is stored as a searchable index or is used to create a searchable index.

[0013] The method may include receiving a search request containing a search value. In response to receiving the search request, an index selection program analyzes the search value and identifies the subindex whose token most closely resembles the search value in terms of bit sequence and / or bit sequence length. The identified subindex is then searched for the search value instead of the (full) index.

[0014] This can be advantageous because it reduces the memory requirements for index access: the entire index no longer needs to be loaded into memory and searched, but only a partial index. This means fewer calculations are required when searching the index, loading the index into memory is faster, and only a smaller amount of memory is used.

[0015] Preferably, the generation of subindices from the overall index is fully automated. This is particularly advantageous because manual creation of subindices or manual specification of criteria for when a token should be stored in which subindex, or which subindex should be used when searching for a specific search value, is no longer necessary.

[0016] According to embodiments, the method comprises identifying an indexed token within the identified subindex that is identical to the search value and analyzing record pointers stored in the subindex linked to the identified token to identify one or more of the records that contain one or more field values ​​from which the indexed token was generated, wherein the records are stored in a database. Furthermore, the one or more identified records or a reference to the one or more identified records is returned in response to the search query. Each of the subindices can thus be used to quickly identify the record(s) that contained one or more field values ​​from which the identified token was generated.Thus, the obtained partial indices can be used in the context of classic database applications to accelerate them.

[0017] According to embodiments, the method comprises receiving a write request, wherein the write request includes a data value (e.g., a field value—e.g., DR8.F6). In response to receiving the write request, the tokenization logic used to tokenize the data records automatically decomposes the received data value into a plurality of new tokens. Each new token is stored as a bit sequence in a volatile or non-volatile storage medium. Furthermore, each of the new tokens is analyzed by an index selection program. The index selection program identifies the sub-index whose token is most similar to the new token in terms of bit sequence and / or bit sequence length. Finally, the new token is stored in the identified sub-index in addition to, or instead of, storing the new token in an overall index of tokens.

[0018] This avoids the need to create a large index or constantly grow the existing overall index. Instead, new tokens can be written directly into the respective sub-indices. For example, the index selection program can be rule-based. The rules can be specified automatically based on the classification results (number and type of token subsets created) or manually. Manual specification can be made by a user who translates the classification results into explicit rules (e.g., a user can use a graphical user interface (GUI) to analyze the automatically identified token subsets and determine that the tokens have been divided based on their image size into a first token subset whose tokens comprise fewer than 500 bits, another token subset whose tokens comprise between 501 and 1000 bits, and another token subset whose tokens comprise more than 1001 bits.The user can now specify rules via the GUI that specify that newly created tokens are stored in one of the three token subsets mentioned above depending on their bit sequence length.

[0019] Using bit sequence lengths as classification criteria can be advantageous because these features can already be detected at the lowest "structural" level, the level of the bit sequence itself. Thus, no instantiation and representation of tokens at higher structural levels is required to obtain these features.

[0020] Classification based on the token bit sequence length can be advantageous, as this form of classification or the automatic creation of sub-indices can be used in a variety of application scenarios, particularly in the context of portals and platforms that manage images. For example, the classification software can be used to create and manage an image archive containing images of a variety of (previously unknown) sizes. The classifier can, for example, be an unsupervised classifier that automatically detects whether the images should be divided into two, three, or more subsets of similar size based on their size. For example, the classifier can be used to manage images on a homepage portal containing hundreds of small images (thumbnail images) and large images (originals). The tokenization logic detects, for example,Based on certain bit patterns, it identifies the beginning and end of an image in a bit sequence, e.g., the beginning and end of a .jpg image, and uses these boundaries to generate a token that encodes a corresponding image. The classification logic analyzes the bit sequence of the individual tokens to automatically generate corresponding subsets of the images that are of a similar size and stored in separate memory areas, e.g., for archiving purposes.

[0021] The method is used for automatic image classification. The tokens are bit sequences, each encoding an image, with the bit sequence length representing the image size. The token subsets include at least one "small-frame subset" and one "large-frame subset." The "small-frame subset" selectively contains tokens whose bit sequence length is below a first threshold. The "large-frame subset" selectively contains tokens whose bit sequence length exceeds a second threshold.

[0022] This allows images to be automatically classified based on their resolution or quality.

[0023] According to some embodiments, the number of subsets is unknown at the start of the analysis. Rather, the number of token subsets formed is determined dynamically as part of the result of the token feature analysis. The analysis to identify subsets of feature-like tokens is performed by an unsupervised machine learning algorithm.

[0024] This can be advantageous because the number of token subsets or the subindices formed from them is determined dynamically in a data-driven manner, i.e., based on the analyzed tokens. This prevents incorrect (pre)assumptions by the programmer regarding the expected classes from unnecessarily fragmenting similar tokens into many different subsets or subindices, or from combining too many dissimilar tokens into one (too large) subindex. Both can reduce performance: a subindex that is too large consumes unnecessary memory, and too many subindices that are too small cause additional costs in terms of the effort required to initialize and manage the subindices.

[0025] After the token subsets are automatically created, a human or program logic (software, firmware, or hardware) can analyze the token subsets and manually or automatically define rules for an index selector. The index selector is program logic that applies these rules to an input value (e.g., a search value) to select a subindex / subtoken set (e.g., an image-size-dependent image archive directory) to store the new image in the appropriate subindex / subarchive directory.

[0026] According to embodiments, the data records are stored in encrypted form in a database. Providing the token set comprises applying tokenization logic to the encrypted field values ​​of the data records at the bit sequence level to generate the tokens. The analysis of the token features occurs at the bit sequence level of the tokens. The subsets of feature-similar tokens each comprise tokens that are similar in terms of their bit sequence and / or the length of their bit sequence.

[0027] According to embodiments, the method further comprises using the subsets of feature-like tokens each as input to a decoding algorithm, wherein the subsets each represent a candidate for a natural language word or other human-interpretable code, and wherein the decoding algorithm is configured to identify the natural language word or other human-interpretable code by analyzing the tokens of a subset.

[0028] According to embodiments, the method comprises providing a DBMS configured to store the data records as a set of multiple field values. The field values ​​are each stored in a field.

[0029] Generating the token set may include generating first and second tokens. The first tokens are generated from first field values ​​of a plurality of data records, wherein the first field values ​​are stored in first of the fields, wherein the first fields belong to a first field type. The second tokens are generated from second field values ​​of the plurality of data records. The second field values ​​are stored in second of the fields. The second fields belong to a second field type.

[0030] This can be advantageous because the token set generated in this way or the overall index or sub-indices generated in this way, should these fall into the hands of unauthorized third parties, for example due to data theft, reveal significantly less potentially sensitive information than is the case with conventional database indices.

[0031] Typically, an index is generated for the contents of each specific table column. A table column often represents a specific attribute of data objects stored in the respective table. This means that, for an "Employees" table, for example, an index can be created for the "First Name" column, another index for the "Last Name" column, another index for the "Position" column, another index for the "Year of Birth" column, another index for the "Personal ID" column, and so on. Should all of these index structures for the "Employees" table fall into the wrong hands, it is easy for unauthorized third parties to use the index structures to reconstruct the complete data records stored in the table.Because the fields are individually indexed, the type of attribute a data value stored in an index represents is usually clearly evident from the index name, or at least from its content. Even if the "Employees" table contains numeric pseudonyms instead of real names, the index structure makes it clear that a numeric value stored in the "Name" or "Pseudonym" column represents the function of an identifier of the corresponding data record and not simply an arbitrary attribute of the object.

[0032] In contrast, the token set or index(es) created according to embodiments of the invention provides significantly increased protection for the data stored therein. This is because the field values ​​of at least some of the data record fields are tokenized. A (partial) index based on these tokens, which stores the tokens in the index structure regardless of the field type from which they originate, therefore does not allow any conclusions to be drawn as to whether a particular token represents the entire field value or only a part of it, nor does it allow any conclusions to be drawn as to which field type it originates from.A specific indexed numerical value in the index can thus equally be the employee's birthday, a publication date of an article reporting on the employee, an ID of the employee, an ID of a press article reporting on the employee, an identifier of an identity card, a motor vehicle, a gift voucher of the employee or any other attribute that has a more or less close semantic relationship with a specific object / employee.

[0033] Embodiments of the invention thus provide a "chaotic" or "obfuscated" search index, which, even if it inadvertently reaches unauthorized third parties, often does not allow any conclusions to be drawn about the content of the data records indexed therein. Sensitive data records therefore only become semantically transparent when, in addition to the index, the actual data records are stolen. Preferably, each data record, or at least the majority of all data records, contains a plurality of fields, many of which in turn contain a data value that can be broken down into a plurality of different tokens. This ensures that the meaning of the individual data records cannot be reconstructed based solely on the index, even though all tokens generated from the field values ​​of a data record and stored in the index reference the data record from which they originate.Thus, embodiments of the invention may provide a search index that offers "security by obscurity" for the data indexed in it.

[0034] For example, the data records, each containing one or more data values, can be provided to a database, e.g., a company's employee database, and stored in the database in such a way that the data values ​​are stored in different fields. These different fields could be fields such as "first name," "last name," "position within the company," "portrait photo," "date of birth," "employee number," "credit card number," and "product portfolio for which responsibility exists." The database fields can therefore be assigned to specific semantic categories, without all fields being assigned to a specific data type. For example, the field "product portfolio for which responsibility exists" can, for most employees, be a compilation of image data of the respective products, text data describing the products, and possibly audiovisual data about the products or the employee.It is therefore possible that one, several, or even all fields in the database are not restricted to a specific data type. Typically, some fields, such as "Birthday," will only store date values, while the "Credit Card" field will only store numeric values. However, at least some fields, such as "Product Portfolio Under Management," contain a mix of data values ​​of different types. Even fields that only contain data of a specific type due to the program logic that writes the data values ​​to the respective fields may be fields that are not restricted to a single data type by the DBMS that manages the database.

[0035] Preferably, the program logic that provides the data records for storage in the fields of the database is configured to insert predefined bit patterns as a prefix and / or suffix of data that belong to a specific type (e.g. image data, image data of a specific file format, image elements, text data, text elements, e.g. individual words or sentences, numerical values, dates, audio data, video data, etc.) or that have a specific predefined size (0-100 bit, 101-1000 bit, > 1001 bit, etc.) in such a way that a tokenizer that creates a total index and / or partial indexes of the database tokenizes the data stored in the fields where these predefined bit patterns were inserted. For example, the bit pattern 1001101010101010011 could specify the beginning of a date and the bit pattern 1001101010101010010 could specify the end of a date.For example, the bit pattern 1001111110101010011 could specify the beginning of a jpg image file, and the bit pattern 1001111110101010010 could specify the end of a jpg image file. When filling the database fields with data values, the "Birthday" field for a specific employee M1 can, for example, be created from the bit sequence 1001101010101010011 <BITSEQUENZ-DES-GEBURTSTAGS-1001101010101010010 bestehen, wobei BITSEQUENZ-DES-GEBURTSTAGS abhängig ist vom jeweiligen Geburtstag und der Art und Weise, wie Datumsangaben im jeweiligen DBMS im Bitformat repräsentiert werden. Das Feld "verantwortetes Produktportfolio" besteht typischerweise aus einer Mischung von Textangaben, Datumsangaben (z.B. wann ein bestimmtes Produkt auf den Markt gebracht wurde), Zahlenangaben (z.B. Produktpreis, Produktabmessungen). Die Programmlogik zur Speicherung der Datensätze würde also Datumswerte, Zahlenangaben, etc.provided with corresponding bit patterns as a prefix and / or suffix, so that the bit sequence stored in this field represents a long sequence of various user data, enclosed or delimited from other user data by the predefined bit patterns. The bit patterns introduced into the user data as a prefix and / or suffix during storage are, according to embodiments, used by the tokenizer as delimiters during token generation. In the example described here, the tokenizer would therefore split the bit sequence stored in the "responsible product portfolio" field into several tokens (e.g., dates for the market launch of the products, numerical information on prices and dimensions, etc.) based on their similarity with regard to their bit sequence (e.g.,same prefix and / or same suffix) and / or with regard to the similarity of the bit sequence length of the tokens (tokens representing dates have a similar or identical length, which usually differs from the tokens of image data) and / or are used to generate the sub-indexes. This means that numerical data, regardless of whether it represents a credit card number or the length or height of a product in question, is stored in the same sub-index. This sub-index therefore contains a mixture of potentially sensitive data (credit card number) and non-problematic data (dimensions of a product) and does not allow any conclusions to be drawn about the meaning of a specific numerical value. The tokenizer preferably uses the same bit patterns that were introduced into the payload to be stored by the data storage logic as a prefix and / or suffix for tokenization.However, the explicit insertion of predefined bit patterns as prefixes and / or suffixes into components of the data values ​​of the data records is only one possible implementation. Data of a certain type or file format, such as that stored by the DBMS as a bit sequence, often already contains bit sequences that enable automatic recognition of numerical values ​​in differentiation from, for example, image data or similar. Therefore, an explicit addition of predefined bit patterns when storing the data records is not necessary. Classification is also performed purely based on the token size (the length of the bit sequence of the individual tokens).

[0036] The tokenizer can preferably also be used to process a search term provided by the user, so that according to embodiments, the processed search term has the same bit pattern as a prefix and / or suffix or is converted into a search token at these as the data values ​​stored in the sub-indices.

[0037] According to embodiments, the data sets are pseudonymous data sets that do not contain the real names of persons.

[0038] According to embodiments, the same generic tokenization logic is applied to the first and second fields.

[0039] This can be advantageous in combination with analysis at the bit sequence level, as it allows the same tokenization method to be applied to a large number of fields, or even to all fields of the data stored in a database. This eliminates the need for complex tokenization logic that applies different tokenization algorithms to "higher-structured" data objects depending on the different data formats of different table columns, or that instantiates data objects at a higher structural level for tokenization. This makes it easy to expand the database with additional fields, and even allow different data types to be used or contained in different fields without necessarily requiring significant changes to the tokenization logic.The combination of the generic tokenizer with the bit sequence-based classifier will thus deliver essentially the same classification result for the generated tokens, even when data sets are expanded to include additional fields. This provides a data classification method in the context of a database that is largely robust against structural changes in the database, such as the addition or removal of data fields or "columns."

[0040] Optionally, the generation of tokens may involve using additional field values ​​in their entirety as additional tokens. For example, the first and second fields may contain bit sequences encoding continuous text with one or more images. Subsequences encoding images (and optionally, possibly also individual words or word sequences) are recognized as tokens during tokenization and added to the token set as tokens.

[0041] However, there may also be at least a third field that stores only images (even if the data format itself is not restricted to an image format, e.g., because the third field is assigned a generic data format or no data format at all). Thus, it is quite possible that the token set also includes tokens from fields of field types to which no tokenization is applied or whose content simply cannot be split into individual tokens by the tokenizer used.

[0042] According to embodiments, the data records are stored in a database managed by a DBMS. The data records contain varying numbers of fields. Preferably, all field values ​​in all fields of a data record are tokenized using the same tokenization logic. This can be advantageous because it avoids the creation of too many small subindices, which can occur, for example, if separate subindices were generated for each field. This allows a broad database for token classification that is robust against structural changes, particularly in databases with variable fields and field types, or where the meaning of individual fields is unknown.

[0043] This can also be advantageous because it offers a very high degree of flexibility regarding the structure and scope of the data records that can be managed and stored by the DBMS according to the invention.

[0044] According to embodiments, several of the fields of each data record have a common, generic data format. This generic data format allows the storage of field values ​​that contain both text data and at least image data, audio data, and / or video data. Thus, additional data fields can be easily added without requiring any adaptation of the tokenization and / or classification process.

[0045] According to embodiments, the tokenization logic is designed to analyze the bit sequence of a data field value at the bit level and to tokenize the bit sequence into the individual tokens depending on bit sequence patterns recognized therein.

[0046] This can be advantageous because not only the classification but also the tokenization takes place at the bit level, thus avoiding the above-mentioned resource-consuming steps for instantiating data objects of higher structural order and, if necessary, also instantiating a corresponding runtime environment or program logic for analyzing such data objects.

[0047] According to embodiments, the method comprises storing the data records in a database managed by a database management system (DBMS), wherein the DBMS is a NoSQL DBMS.

[0048] The use of NoSQL databases can be advantageous because this form of DBMS is particularly flexible with regard to adding and managing fields and is therefore particularly suitable for managing heterogeneous data sets.

[0049] According to embodiments, the tokenization logic is a generic tokenizer configured to tokenize field values ​​of fields of different field types. Applying the generic tokenization logic to a field value includes detecting data of different data types within the field value, wherein the data of different data types includes text data, image data, audio data, and / or video data.

[0050] According to embodiments, the token set is designed as a searchable index. Alternatively, the token set can also be stored as such, e.g., as a bit sequence list, and used to generate the searchable index. The location of the tokens in the index structure is independent of which field type the tokens originate from. Generating a single index ("overall index") from the tokens of multiple fields has the advantage that it can be used to quickly process database queries. In another advantageous aspect, this index is also significantly smaller than would be the case if a separate index were created for each field type, at least if some tokens occur in fields of different types.Preferably, however, a separate subindex is created from each of the token subsets, and a suitable subindex is dynamically identified to answer a database query and used instead of the overall index. The location of the tokens in the structure of each of the subindexes is also independent of which field type the tokens originate from.

[0051] According to embodiments, the index (overall index) and / or each of the subindices has the structure of a tree, in particular a B+ tree. This structure can significantly accelerate the time required to identify a specific indexed token that is identical to a search value.

[0052] According to embodiments, the (overall) index stores all tokens generated from the field values ​​of the records in a database such that the index contains each token only once. Each token contains pointers to one or more of the records from whose field values ​​it was generated. Each of the subindexes is also a set of tokens that occur only once in this subindex.

[0053] According to embodiments, the tokens stored in the index and / or each of the sub-indexes are free of references to fields or field types used to store field values ​​used to generate the tokens.

[0054] The methods described here for various embodiments can be implemented, for example, as software, firmware, and / or hardware. Preferably, they are implemented in the form of one or more software programs or modules executing on a monolithic or distributed computer system. For example, the tokenization step can be performed by a tokenization program and the classification step by a classification program. However, it is also possible for tokenization and classification to be performed by the same software program.

[0055] According to embodiments, the method comprises receiving a search request containing a search value. In response to the search request, an overall index or, preferably, only a partial index is searched for the search value, and an indexed token in the searched index is identified that is identical to the search value. The method comprises analyzing record pointers stored in the searched overall index or partial index associated with the identified token to identify one or more of the records that contain one or more field values ​​from which the indexed token was generated. The one or more identified records or a reference to the one or more identified records are returned to the requesting client in response to the search request.

[0056] According to embodiments, the data records are stored in encrypted form in the database. However, the data records are additionally individually encrypted and stored in individually encrypted form, e.g., on a client computer that contains the database or has access to it. The data records are encrypted in such a way that a server computer system on which the encrypted data is later stored cannot decrypt them. The unencrypted data records, each consisting of one or more field values, are tokenized, classified, and stored in partial token sets and partial indices as described. Tokenization, classification, and partial index generation can also occur on the client computer system. The partial indices are then encrypted with a public key of a server computer system and transmitted to the server computer system together with the encrypted data records.The server computer system decrypts the partial indices with its private key, which, together with the server computer system's public key, forms an asymmetric cryptographic key pair. The server computer system receives and stores the data records in encrypted form without being able to decrypt them. The server computer system can, for example, be a distributed computer system of a cloud storage service.

[0057] The server computer system can now receive a search request from this or another client computer system containing a search value, identify one of the partial indexes likely to contain the search value, and search the identified index. The server computer system then returns one or more encrypted data records determined in the partial index search to the client from which the search request originated. This can be advantageous because it makes it possible to store sensitive data on an untrusted cloud storage service (server computer system), with the data in an index being searchable without this sensitive data becoming known to the cloud storage service: the index does not contain any information about which field the individual tokens originate from, and it is therefore not known whether a particular token, e.g., is a number, an ID number, a certificate, a date, or a measured value.Although the tokens reference the data records, they are encrypted so that the cloud storage service cannot access the content of the records.

[0058] According to embodiments, the data records are encrypted individually by a client computer system in such a way that the client computer system can decrypt them again, but not a server computer system that is intended to receive the encrypted data records.

[0059] According to embodiments, the server computer system provides an interface to enable the client computer system or other computer systems to access the decrypted subindex. The interface may include index selection ("selector") functionality. In response to receiving the search request, the interface determines the subindex whose tokens are most similar to the search value in terms of bit sequence and / or bit sequence length and searches the determined unencrypted subindex for the search value. Finally, the server computer system returns one or more encrypted data records identified based on the index search via a network, e.g., the Internet, to the computer system from which the request originated. The computer system that receives the encrypted data records preferably has a suitable key to decrypt these data records.

[0060] In a further aspect, the invention relates to a computer system for data classification. The computer system comprises one or more processors, a data storage medium (which may also be embodied in the form of a plurality of operatively connected storage media), and a DBMS configured to store data records as a set of a plurality of field values ​​in the one or more data storage media. The field values ​​are each stored in a field. The fields of each of the data records belong to at least two different field types. The computer system also comprises program logic configured to create a token set. The token set contains tokens generated from a plurality of field values ​​of a plurality of the data records by tokenization. The tokens originate from field values ​​of at least two different field types and are stored in the storage medium in the form of a bit sequence.The computer system also includes classification logic configured to analyze one or more features of the tokens at the bit sequence level to identify subsets of feature-like tokens. The features include the length of the bit sequence of the tokens. The classification logic is further configured to store a copy of each of the subsets of feature-like tokens in the data storage medium in a subset-separated form, each subset copy representing a class of feature-like data.

[0061] Under a " database management system" or " DBMS"In the following, "database" refers to an electronic system for storing and retrieving data. Preferably, the data is stored consistently and permanently in the DBMS and efficiently made available to various application programs and users in a needs-based format. A DBMS can typically contain one or more databases and manage the data records contained therein. The DBMS is preferably a field-oriented DBMS, i.e., a DBMS configured to store parts of individual data records, so-called "field values," in several different fields.

[0062] Under a "data set"is understood below to mean a content-related set of data that is jointly managed by a database management system. A data record typically represents the smallest structural unit of the data set of a specific database. For example, a single data record can represent a specific physical object, e.g., a natural person. The person can be, for example, an employee, a patient, a customer, etc. The corresponding data record can contain a predefined set of attribute values ​​of this person (e.g., name or pseudonym, age, height, weight, date of birth, ID numbers, security certificates, authentication codes, biometric data, and others).

[0063] For example, a data record can represent a group of content-related data fields (belonging to an object), e.g., article number, article size, article color, article name, or similar. The field types "Name," "Address," and "Date of Birth," for example, could form the logical structure of a data record for the object type "Person." Data records correspond to a logical structure that was defined during database development and, in some embodiments, can also be changed during database runtime, e.g., by adding, removing, or renaming fields. In data processing, data is summarized into records and stored in databases. They are subject to processing by computer programs, and are created, read, modified, and deleted by these programs.

[0064] Although data actually always appears as a sequence of multiple data elements, not all data manifestations should be considered a 'data record' here. Instead, only data groupings belonging to a specific object and organized into fields that are jointly managed by a DBMS. The DBMS is designed to create, delete, and / or rename data fields using predefined commands and, if necessary, also integrate them into the DBMS's access rights management. Therefore, the following are not considered data records in this sense: continuous text, printer or video data streams, the contents of executable files, photo data, or data from graphics software, among others. However, this data can be stored in a field of a data record.

[0065] Under a "Field"In the following, "field" refers to an area on a logical or physical storage medium managed by a DBMS, which is assigned to a predefined field type and which is created and intended to store a field value of a data record. A "field" is therefore an element for storing a field value of a data record according to the above definition. Fields of a data record are managed jointly by a DBMS. The field can be created, deleted, or renamed by the DBMS using predefined commands and, if necessary, also included in the DBMS's access rights management.

[0066] A "Field type"is a category or type to which a specific field belongs. For example, a field type can represent a specific attribute of a physical object. For example, a DBMS can use field types such as "Name," "Pseudonym," "ID Number," "Access Certificate for Room R," "Access Certificate for Device G," "Access Certificate for Building GB," and "Age" to store records containing employee attributes. Each field is assigned to exactly one field type. Preferably, each record should contain a maximum of one field for each field type predefined in the DBMS.

[0067] A " Field value" is a data value that is part of a data record and that is intended to be stored in a field of a specific field type. For example, a field value of the data record for a specific employee "Max Mustermann" may include a first field value "Max Mustermann" for the field type "Name", another field value "13425298833" for the field type "ID number", and another field value "237971113" for the field type "Access certificate for room R". A field value may consist of a single word, a single number, or a combination of multiple words and / or numbers and / or other data formats, with various embodiments of the invention encompassing varying degrees of flexibility with regard to the type and combinability of data types within the same field value.

[0068] In a classic SQL-based database, a field type would correspond to a column in a table, e.g., a column for "age" in an "employee" table. Each row in the employee table would correspond to a record containing attribute values ​​for a specific employee. Each "cell" in this row corresponds to a field and is used to store a field value (i.e., a simple or compound attribute value of the employee). A field thus corresponds to the storage area in which a specific data value / field value of a record is stored.

[0069] Under a "Database" In the following, "database" refers to a (typically large) amount of data that is managed in a computer system by a DBMS according to specific criteria. The data is organized into a multitude of records.

[0070] A "NoSQL"A Not Only SQL DBMS is a DBMS that follows a non-relational approach to data storage and does not require fixed table schemas. NoSQL DBMSs include, in particular, document-oriented DBMSs such as Apache Jackrabbit, BaseX, CouchDB, IBM Notes, and MongoDB; graph databases such as Neo4j, OrientDB, InfoGrid, HyperGraphDB, Core Data, DEX, AllegroGraph, and 4store; distributed ACID DBMSs such as MySQL Cluster; key-value databases such as Chordless, Google BigTable, GT.M, InterSystems Caché, Membase, and Redis; sorted key-value stores; multivalue databases; object databases such as Db4o and ZODB; column-oriented databases; and temporal databases such as Cortex DB.

[0071] Under a "Certificate"is understood here as a digital certificate. A certificate is a digital data set that confirms certain properties of users or other objects and whose authenticity and integrity can be verified using cryptographic procedures. The digital certificate either contains the data required for its verification itself or is stored linked to certificate-related metadata, so that the data required for its verification can be obtained from the metadata. The certificate is preferably issued by an official certification authority, the Certification Authority (CA). For example, the certificate can be designed as a numerical value to which metadata is assigned. The use of numerical values ​​can be advantageous because they are easy to index and in the event of a necessary modification of the metadata (e.g.extension of validity) remain unchanged, i.e. can also retain their position within the index. The certificates are therefore preferably designed as numerical values ​​that do not contain a public key, but are stored linked to metadata or a public key certificate, whereby the metadata defines the scope or period of validity of the certificate in more detail. Alternatively, a certificate can also be designed according to the X.509 standard, i.e. contain a public key and confirm the identity of the holder and other properties of a public cryptographic key of the certificate. A certificate can, but does not necessarily have to, refer to a cryptographic key, but can generally contain data for verifying an electronic signature or be stored linked to this.

[0072] A "Tokenizer"is a program logic that receives data, for example, a field value, as input, analyzes the data, e.g., to identify delimiters or other decomposition criteria and patterns, and then decomposes the data into one or more tokens as the result of the analysis and returns the tokens. It is also possible that not all tokens could be returned. For example, a full-text indexer can detect and filter out semantically insignificant stop words so that they are not indexed. "Tokenizing" a data value means dividing the data value into several components according to a specific schema. The components represent the tokens. For example, natural language texts can be split using predefined delimiters, e.g., spaces, periods, or commas, and the components (words) generated in this way are used as tokens. It is possible that some tokens are not used for indexing (e.g.,Stop words) or the tokens are additionally processed before indexing (e.g., reducing words to their root words). In this case, the search value is preferably processed in the same way by the client computer system or the server computer system to ensure that the search values ​​of the search queries correspond to the tokens contained in the index. For example, the delimiters can be predefined bit patterns.

[0073] A "Index"is a data structure that accelerates the search for specific data values ​​by a database management system. An index consists of a collection of pointers (references) that define an ordering relationship to multiple (indexed) data values ​​stored in the index. B+ trees, for example, are used for this purpose. Each indexed data value is linked to further pointers that point to records containing the indexed data value found and that represent the data basis for creating the index. Database management systems use indices to quickly identify the desired records in response to a search query by first searching the index along the pointers for a data value that is identical to a reference value contained in the search query. Without an index, the data values ​​of a field managed by the DBMS would have to be searched sequentially, whereas a search using the index, e.g.of a B+ tree, often only has logarithmic complexity.

[0074] A " Decoding algorithm " is a program logic for cryptanalysis, i.e. a data analysis method that extracts information from encrypted data, whereby the encryption algorithm and / or the encryption key are initially unknown and are only determined by the method or the encryption mechanisms are otherwise circumvented ("broken").

[0075] A " Classifier" or a "classification logic" is a program logic for automatically grouping objects into classes (groups, sets) whose elements are more similar to each other with regard to one or more characteristics than to objects of other classes.

[0076] The use of ordinal numbers such as first, second, third, etc. serves solely to distinguish elements and / or persons with otherwise identical names and is not intended to imply a specific order. Furthermore, elements and / or persons whose names differ solely by an ordinal number may be identical or different elements or persons, unless the specific context clearly indicates otherwise. Short description of the characters

[0077] An exemplary procedure for creating an index and a corresponding system are illustrated in the attached drawings 1 to 5. They show: Figure 1 shows a block diagram of an embodiment of a computer system according to the invention. Figure 2 shows the field values ​​stored in various fields of two data records and the set of tokens generated from them. Figure 3 shows a flowchart for generating an overall index from all tokens. Figure 4 shows a distributed computer system comprising a server computer system and several client computer systems. Figure 5 shows further details of the server computer system and one of the client computer systems. Figure 6 shows a flowchart of a method for data classification according to an embodiment. Detailed description

[0078] Figure 1a shows a block diagram of an embodiment of a system for classifying data according to the invention.

[0079] A database management system, for example a noSQL DBMS 160, is instantiated on a computer system 156. The DBMS 160 manages one or more databases. The database 102 depicted here comprises a plurality of data records DR1, DR2, ..., DR7, ..., each of which contains one or more field values. Each of the field values ​​of a data record is stored in a corresponding field, a type of data container. Each field is assigned to a specific field type F1, F2, F3, F4, F5, F6, F7. For example, the first field of data record DR1 is assigned to field type F1, the second field of data record DR1 to field type F2, etc. Analogously, the first field of data record DR6 is assigned to field type F1, the second field of data record DR6 to field type F6, etc. The composition of the field values ​​of the individual data records can differ with regard to their field types, as can be seen from the data records in the database 102.It is also possible for individual data records to contain no field value of a particular field type at all. In other embodiments (not shown here), mandatory field types can also be defined, meaning that each data record contains one field for each mandatory field type and optionally contains one or more additional fields for optional field types.

[0080] In addition, a tokenization application ("tokenizer", "tokenization logic") 158 and a classification application ("classifier", "classification logic") 432 are instantiated on the computer system 156. The tokenizer decomposes the data values ​​of multiple fields from multiple data records into a common total token set 162, which can optionally be further processed, e.g., converted into a non-redundant token set 153.

[0081] The program logic for generating the index includes one or more tokenizers 158, which are configured to tokenize the field values ​​of one or more fields. Optionally, field values ​​of one or more fields can also be read out as a whole and used as tokens without decomposition.

[0082] The classifier 432 can, for example, be implemented as a supervised classifier, in which the number of expected classes is predetermined. For example, the classifier can be a rule-based classifier that compares a set of predefined binary patterns with the tokens, or a k-means classification algorithm. Alternatively, the classifier can also be an unsupervised classifier. For example, neural networks and similar algorithms can be used.

[0083] The tokenizer 158 or additional program logic ("indexer") is configured to generate an overall index 154 from the tokens 153. Additionally or alternatively, the tokenizer or indexer is configured to generate a partial index 426, 428, 430 from each of the token subsets 420, 422, 422. Preferably, the position of the tokens within the index or within the partial indices does not depend on the field type from which the token originates.

[0084] According to alternative embodiments, the program logic for tokenization and / or for generating the index or sub-indices and / or for classifying the tokens is provided in the form of a plug-in or add-on of the DBMS. This can be advantageous because, with the help of an additional software module for tokenization and token classification, existing types of DBMSs can be functionally expanded, thus eliminating the need to migrate the data to another DBMS for the purpose of token generation and classification. According to a further alternative embodiment not shown here, tokenization, index generation, and token classification can each be implemented in the form of a standalone application program.

[0085] Preferably, all or at least most of the field values ​​of all data records in a database 102 are tokenized, resulting in a large number of tokens 153. Depending on the type of data in the individual field values, the tokens 153 can include a mixture of numbers, letter words, images or image segments, audio files or audio elements, or other data structures. Each of the generated tokens is stored linked to a pointer, where the pointer refers to the data record from which the token originates, but does not refer to an individual field or field type in which the field value was stored and from which the token was derived.

[0086] Preferably, the token set 153 is a non-redundant, "unique" token set in which each token occurs only once. This means that even if a token with the value "3467475675" occurs multiple times in the database 102 and thus also in an initially created token set, only a single token with the value "3467475675" is stored in the non-redundant token set 153 and in the index 154. However, storage in the index 154 or each of the subindices is performed such that an indexed token refers to all data records DR1-DR7 in which it is contained at least once in at least one data value. Preferably, all tokens of the non-redundant token set are stored in the index or subindices such that the tokens are sorted according to a sorting criterion and stored in sorted form in the index structure.Sorting can be performed, for example, based on the alphabet for alphanumeric data or other sorting criteria adapted to the data. Since the tokens in the index are preferably stored in sorted form and are also preferably stored in a tree structure, it is very quickly possible to identify a specific token within the index and then use the references of this identified token to one or more records to very quickly identify those records that contain a specific, sought-after token. It is therefore not necessary to search the records of database 102 sequentially.

[0087] The number and composition of field types of individual data records can vary. The subindices 426, 428, 430 are not derived from different table columns or field types, but from token subsets 420, 422, 424, each of which contains tokens that have a similar bit sequence length and / or that exhibit one or more similar bit sequence patterns. "Similar bit sequence patterns" can, for example, be identical sequences of "0"s and "1"s that occur in the bit sequences of multiple tokens and are merely shifted by a few positions relative to the first position of the bit sequence of the respective token. The grouping of the tokens of token set 153 into subsets of similar tokens is performed by the classifier 432, which operates exclusively at the bit sequence level to classify the tokens. Preferably, the tokenizer 158 also operates exclusively at the bit sequence level of the field values ​​to break them down into tokens 162.This means that the tokenizer analyzes the individual bits of the field values ​​stored as a bit sequence in order to identify patterns of known bit sequences that, for example, mark the transition from a text section to an image section or vice versa, or that mark the end of one image and the beginning of another image stored as part of the field value. Thus, the token set 162 can be created and classified in a highly efficient manner, and if necessary, corresponding subindices can also be generated without having to create data objects at a higher structural level and / or instantiate runtime environments for processing such higher-order objects. The token subsets or subindices can be used for a variety of application scenarios.

[0088] In a scenario that Fig. 1bAs shown, program logic referred to as an "index selector" 434 is provided. This can be done manually, semi-manually, or automatically. The index selector is configured to select one of the subindices 426, 428, 430 in response to receiving a specific data value, using the same selection logic that the classifier 432 used to assign individual tokens to individual token subsets (from which the respective subindices were formed) based on their bit sequence length or other bit sequence-related characteristics. This means that a data value that would be assigned to subset 422 by the classifier 432 based on its bit sequence will cause the index selector 434 to select the subindex 428 that resulted from the subset 422.A data value that would be assigned to subset 424 by classifier 432 based on its bit sequence will cause index selector 434 to choose the subindex 430 that resulted from subset 424. And so on.

[0089] The index selector ensures that, in response to receiving a "write request" to the database 102, the data value to be written is not only stored in the database but also in one of the subindexes, which the index selector dynamically identifies based on bit sequence characteristics of the data value to be written. For example, according to Fig. 1b A new data record DR8 is stored in the database. Its field values ​​DR8.F1, DR8.F2, DR8.F3, and DR8.F6 are tokenized and, using the index selector, stored in the subindex that already contains tokens similar to this new token in terms of bit sequence characteristics.

[0090] Accordingly, the index selector ensures that, in response to receiving a "read request" to database 102, one of the subindexes, which the index selector dynamically identifies based on bit sequence characteristics of the data value to be read, is searched for the search term in order to efficiently identify the records containing the search term and return these records. Therefore, neither reading nor writing accesses a complete index 154 containing all tokens of the records. Rather, memory consumption can be reduced by using subindexes whose size and / or content preferably depends on the type of data.

[0091] Figure 2shows examples of the field values ​​stored in various fields of two data records as well as the intermediate token sets generated from them. For example, field type F1 can be used to store CVs. Fields of field type F1 therefore often store natural language texts with image data and optionally also audio data. Field type F2 can be designed to store proof of authorization for a specific building, for example in the form of a numerical data value that serves as a certificate. It is possible that the data for field type F2 also contain image data, e.g. a picture of the person that is on an ID card. Field types F3 and F4 can be designed to store numerical data values ​​that each serve as authorization cards for another building (F3) or a specific room (F4). Field type F5 can be used to store biometric data.The biometric data can be stored in the form of text, images (e.g., fingerprints, iris images, etc.), and / or video data (movement patterns, etc.) in the fields of field type F5. Preferably, the fields of the various field types have a generic data format that, in principle, allows the storage of all data forms found in the database (text, numbers, images, video, audio, and / or other files). It is possible, for example, that application logic that creates the data stores all data of a specific semantic concept (e.g., "age," "birthday," "access authorization for building XY") in a specifically specified field, even if the field would also support the storage of other data formats.

[0092] Preferably, the tokenizer is a single, generic tokenizer that is applied to all fields of different field types to be tokenized. The tokenizer 158 generates a set of first tokens 250 from the field value stored in the first field of the data record DR1 and from the field value stored in the first field of the data record DR7, as well as from the field values ​​of all fields of the other data records assigned to the field type F1. The tokenizer 158 also generates a set of second tokens 252 from the field value stored in the second field of the data record DR1 and from the field value stored in the second field of the data record DR7, as well as from the field values ​​of all fields of the other data records assigned to the field type F2. This is performed for the field values ​​of all field types F1-F7, preferably using the same generic tokenizer for all field types.The totality of the tokens 250, 252, ..., 254 generated for all field types forms the token set 162. Preferably, the token set 162 is stored as a non-redundant token set 153.

[0093] For example, during the storage of data values ​​in the individual fields, predefined bit patterns can be introduced into the data values ​​by the program logic storing the data (e.g. an application program or the DBMS that manages the database) in such a way that, based on these bit patterns, data of different types (text data, individual words, dates, numerical values, audio data) can be easily differentiated from one another using a tokenizer. The program logic used for this can be as complex as desired depending on the area of ​​application and can, for example, be placed downstream of an image analysis step in order to then store individual objects recognized in an image in such a way that they can be differentiated from other user data by a unique, object-type-specific bit sequence. According to other embodiments, however, no explicit introduction of bit pattern delimiters occurs during the storage of the data records in the database.For example, some data types, when identified by the DBMS as part of more complex, composite data entries (text, images, numbers, and / or sound), may already contain recurring bit patterns at the bit level, allowing some or all of the values ​​stored in a field to be tokenized into one, two, or more tokens. Machine-learning approaches that test various, randomly selected delimiters for tokenization and then retain those delimiters as the basis for tokenization when creating subindexes are also possible.

[0094] Figure 3shows a flowchart for generating a total index 154 from the entirety of the token set 153 according to one embodiment. First, a DBMS 160 is provided 170, for example, an instantiation of the DBMS on a computer system 156. The DBMS 156 is configured to store data records DR1-DR7 in a structured manner as a set of multiple field values. Each of the field values ​​is stored in a separate field. The fields of each of the data records belong to at least two different field types F1-F7. In step 172, first tokens 250 are generated from first field values ​​of multiple data records. As in Figure 2 As shown by way of example, the first field values ​​are stored in first fields. The first fields belong to a first field type F1. In step 174, second tokens 252 are generated from second field values ​​of several data records. As shown in Figure 2As shown by way of example, the second field values ​​are stored in second fields. The second fields belong to a second field type F2. Steps 172 and 174 are repeated analogously for the fields or field values ​​of further field types F3, ..., F7. Finally, in step 176, tokenization logic (for example, a generic tokenizer 158) generates a searchable index 154 from at least the first token 250 and the second token 252 and, if applicable, the further tokens 254 generated for other data types. The location of the storage of the first and second and, if applicable, further tokens 254 in the structure of the index is independent of which of the fields the tokens originate from. Instead of or in addition to the overall index 154, a partial index can also be generated in an analogous manner from each of the token subsets 420, 422, 424.

[0095] Figure 4shows an overview of a distributed system comprising a server computer system 322 and several client computer systems 156, 157, 159. The computer systems 322, 156, 157, 159 are interconnected via a network 155, e.g., the Internet.

[0096] The client computer system 156 may, for example, include a client application program that sends a search request 330 over the network to the server computer system 322. The search request includes a search value 328, for example, a user pseudonym in the form of a numerical value "3463744."

[0097] The server computer system 322 may be implemented as a cloud computer system, which itself consists of a plurality of interconnected and operatively coupled resources, in particular a plurality of data storage devices and processors. The server computer system provides records of a database to a plurality of authorized client computer systems 156, 157, 159 via the network. The provision includes making one or more subindices 426', 428', 430' available by means of an index selector 434. Each of the subindices is formed from subtoken sets of tokens that are similar in terms of characteristics of their bit sequence and have been grouped into subtoken sets as described for embodiments herein. Each of the subindices enables the client computer systems to search the contents of the database 326 and to identify and return hits [[DR3]], even though the database 326 is encrypted.Using partial indexes instead of a full index 154' reduces resource consumption on the server side, especially in terms of memory consumption.

[0098] Storing large databases and providing a corresponding search index for a multitude of client computer systems often poses significant challenges in terms of system security, reliability, and the performance of processors and memory components. Outsourcing these services to specialized cloud computing systems is therefore of great economic interest, especially for many medium-sized companies. However, the data stored on cloud computers is often located abroad and / or under the control of a cloud service provider that is not fully trusted.Embodiments of the invention thus enable the outsourcing and storage of sensitive data to cloud services in such a way that they can be searched via an index and made available to multiple authorized client computer systems without compromising the confidentiality of the data (data records and index) stored in the cloud storage service.

[0099] Figure 5 shows further details of the server computer system 322 and one 156 of the client computer systems, according to another embodiment of the invention.

[0100] The server computer system is assigned an asymmetric cryptographic key pair, which contains a public cryptographic key (PubKS) and a private cryptographic key (privKS). A copy of the public key (PubKS) is made available to the client computer system. This can be done directly, for example, by the client computer system receiving the key directly from the server computer system. However, the key can also be transferred indirectly, for example, by the server computer system storing its public key in a publicly accessible database and the client computer system downloading the public key (PubKS) from this database. The private key (PrivKS) is used to decrypt data encrypted with the public key (PubKS).The private key PrivKS is preferably stored securely and is accessible only to the server computer system and not to any of the client computer systems.

[0101] The client computer system also has a private key privKC, which is stored securely so that the private key PrivKC can only be read and used by the client computer system 156 (and optionally by other authorized client computer systems 157, 159), but not by the server computer system.

[0102] The client computer system includes a tokenization logic 158, a classifier 432 for generating the partial token sets, an indexer for generating partial indices from the partial token sets, and a DBMS with a database 102 according to one of the embodiments already described here. Phase I

[0103] In a first phase, the client computer system tokenizes the field values ​​of the data records in the database 102. The tokens of the token set 162 (or 153) are classified by the classifier and divided into sub-token sets, which are used by an indexer to generate a corresponding sub-index, such as in Figures 1 , 2 and 3 The generated partial indices as well as the data records of database 102 are encrypted. Different cryptographic keys are used to encrypt the data records and the partial indices. The processing of partial index 428 is described in more detail below. Preferably, all other partial indices are processed in the same way, i.e., encrypted, transferred to the server, and used there to quickly identify the data records being sought, as described below.

[0104] Preferably, the data records are encrypted individually. This has the advantage that they can also be returned individually in encrypted form. The individual data records are encrypted in such a way that the client computer system can decrypt them again, but not the server computer system 322, which is intended to store the encrypted data records and possibly make them available to a large number of clients. For example, the key PrivKV can be a private, symmetric cryptographic key that can be used for both encryption and decryption of data. Alternatively, the client computer system can have another asymmetric cryptographic key pair, whereby both keys of this pair are known only to the client computer system 156 (and possibly other authorized client computer systems), but not to the server computer system.One key of this pair is used to encrypt the data records, the other key of the pair is used to decrypt the encrypted data records 326. Data record DR1, for example, becomes the encrypted data record [[DR1]]. Data record DR3 becomes the encrypted data record [[DR3]].

[0105] The client computer system 156, however, encrypts the subindex 428 with the public key PubKS of the server computer.

[0106] The encrypted data records 326 and the encrypted partial index 324 are transferred from the client computer system to the server computer system. This can be done directly via the network 155, for example, the Internet. According to embodiments, the encryption and transfer of the data records occurs completely or incrementally at regular intervals, with the index being rebuilt, re-encrypted, and re-transferred each time.

[0107] The transmitted encrypted partial index 324' is decrypted by the server computer system using the server computer's private key PrivKS and stored as an unencrypted copy 154' of the partial index 428 on one or more storage media 344 managed by the server computer system.

[0108] The received and encrypted data records 326 are also stored on the storage media 344, but without decrypting them, since the server computer system does not have the keys necessary to decrypt the data records.

[0109] The server computer system provides an interface 336 that enables the client computer system 156, which provided the index and the data records, to access the partial index 428'. Preferably, the interface also enables other client computer systems to access the index 428' accordingly, whereby the other client computer systems can only evaluate the encrypted data records possibly provided by the server computer system if they also have a suitable decryption key PrivKC.

[0110] While the first phase describes the generation, encryption and distribution of index and data sets, the second phase describes the process of an exemplary search query using an example. Phase II

[0111] In the example shown, a client application 334, instantiated on the client computer system 156, sends a search request 330 to the server computer system via the interface 336. The search request includes a search value 328, for example, "2654645."

[0112] In response to receiving the search request, index selector 434 analyzes the search value at the bit sequence level. The index selector determines that, of all transmitted and decrypted subindexes 426', 428', 430', subindex 428' contains tokens that are most similar to the search value in terms of bit sequence length and / or the occurrence of certain bit patterns. The index selector then selects subindex 128'. The server computer system searches the selected, unencrypted index 428' for a token that exactly matches the search value "2654645." For example, searching for this search value can identify a specific token within index 428' that references data record DR3. Data record DR3 exists on the server computer system only in encrypted form [[DR3]].In response to the search request 330, the server computer system returns the identified, encrypted data set [[DR3]] to the client computer system in a response message 332. Decryption logic 340 of the client computer system, which has access to the decryption key PrivKC, decrypts the data set and delivers the decrypted data set DR3 to the client application logic 334 as the result of the search request 330.

[0113] The figure shows that for phase two, the presence of the original database 102 or the presence of the unencrypted data records DR1-DR7 on the client computer system is not required. It is therefore possible that only a specific client computer system 156 is used to generate and encrypt the index or encrypt the data records, while a multitude of other client computer systems 157, 159 exclusively implement program logic required to carry out the steps listed here in phase two. These other client computer systems therefore do not require a public key of the server PubKS or tokenization logic to create the index, but do require a client application 334, a decryption logic 340, and the corresponding decryption key PrivKC to decrypt the data records.

[0114] Figure 6shows a flowchart of a method for classifying data according to an embodiment of the invention. In a first step 402, a tokenization logic 158 generates a token set 153. For example, a redundant set 162 of tokens can first be generated by tokenizing multiple field values ​​of multiple data records DR1-DR8, wherein the tokens were generated from field values ​​of at least two different field types F1-F8, wherein the tokens are stored in the form of a bit sequence. This can then be converted into a non-redundant token set 153 by removing duplications. In the next step 404, a classification logic performs an analysis of the tokens of the token set at the bit sequence level, e.g., by determining and comparing bit sequence lengths.

[0115] As a result of this analysis, subsets 420, 422, 424 of feature-like tokens are identified. In step 406, the classification logic 432 stores a copy of each of the subsets of feature-like tokens in a form separated by subsets. For example, the token subsets can be stored in different files or different directories. However, it is also possible for each of the subsets to be stored in the form of a subindex 426, 428, 430. Each subindex thus contains the tokens of the subset from which it is derived, whereby the position of the tokens within a subindex is independent of the type of the field from which the token is derived. Each subset copy represents a class of feature-like data. For example, the classes of feature-like data can each be interpreted and further processed in a cryptanalysis as candidates for a specific word or other semantic concept. List of reference symbols

[0116] DR1-DR7 Data records F1-F7 Types of data fields 102 Database 153 Token set 154 Index 154 Copy of index 154 155 Network 156 (Client) computer system 157 Client computer system 158 Tokenization logic 159 Client computer system 160 DBMS 162 Token set 170-176 Steps 250 Quantity of first token 252 Quantity of second token 254 Quantity of fifth token 322 Server computer system 324 Encrypted index 324 Copy of encrypted index 326 Encrypted database 328 Search value 330 Search query 332 Response to search query 334 Client application 336 Interface 338 Decryption logic of the server computer system 340 Decryption logic of the client computer system 342Storage media 344Storage media 346Processor(s) 348Processor(s) PubKSPublic key of the server computer system PrivKSPrivate key of the server computer system PrivCSPrivate key of the client system 402-412Steps 420Subset of the token set 422Subset of the token set 424Subset of the token set 426Subindex 428Subindex430Subindex 432Classification logic 434Index selector 438Memory

Claims

1. A computer-implemented method for data classification in the form of automatic image classification in portals and platforms used for management of images, the method comprising: - providing (402) a token set (153), which contains tokens which were generated from a plurality of field values of a plurality of data records (DR1-DR8) by tokenization, tokenization of data records for generating the tokens meaning that the data records are split into a plurality of components in accordance with a set model, the components representing the tokens, the tokens having been generated from field values of at least two different field types (F1-F7), the tokens being stored in the form of a bit sequence; - analyzing (404) one or more features of the tokens at the level of the bit sequence in order to identify subsets (420, 422, 424) of tokens that have similar features with regard to the classification criterion of the bit-sequence length; - storing (406) a copy of each of the subsets of feature-similar tokens identified in the analysis in a form (426, 428, 430) that is separated by subset, each subset copy representing a class of feature-similar data, - wherein the tokens are bit sequences that each encode an image, the bit-sequence length representing the image size, - wherein the subsets of the tokens contain at least one small-image subset and one large-image subset, - wherein tokens of which the bit-sequence length is below a first threshold value are selectively contained in the small-image subset, and - wherein tokens of which the bit-sequence length exceeds a second threshold value are selectively contained in the large-image subset, - such that the automatic classification of images is performed on the basis of their resolution or quality.

2. The computer-implemented method according to claim 1, further comprising: - generating (408) a sub-index (426, 428, 430) from each of the subsets (420, 422, 424) of feature-similar tokens, - providing an index-selection program (434), which is configured to automatically identify those sub-indices of which the token is most similar to a data value in terms of bit-sequence length.

3. The computer-implemented method according to claim 2, wherein the token set is stored as a searchable index (154) or is used for compiling a searchable index, further comprising: - receiving a search query (330), the search query containing a search value (328); - analyzing the search value by means of the index-selection program (434) and identifying those sub-indices (426, 428, 430) of which the token is most similar to the search value in terms of bit-sequence length; - searching the identified sub-index instead of the index (154) for the search value.

4. The computer-implemented method according to claim 3, further comprising: - identifying an indexed token within the identified sub-index which is identical to the search value; - analyzing data-record pointers that are stored in an encrypted manner in the sub-index with the identified token in order to identify one or more of the data records which contain one or more field values from which the indexed token was generated, the data records being stored in a database (102), - returning the one or more identified data records or a reference to the one or more identified data records as a response to the search query.

5. The computer-implemented method according to any one of claims 2-4, further comprising: - receiving a write query, the write query containing a data value (DR8.F6); - as a response to receiving the write query, automatically breaking down the received data value using the tokenization logic (158) that has been used for tokenizing the data records into a plurality of new tokens (162'), each new token being stored as a bit sequence in a volatile or non-volatile memory medium; - analyzing each of the new tokens by means of an index-selection program (434) and identifying those sub-indices (426, 428, 430) of which the token is most similar to the new token in terms of bit-sequence length; storing the new token in the identified sub-index in addition to or instead of storing the new token in an overall index (154) of the tokens.

6. The computer-implemented method according to any one of the preceding claims, - wherein the number of subsets is not predetermined, but instead is dynamically identified as part of the result of the analysis of the features of the tokens, and - wherein the analysis for identifying the subsets (420, 422, 424) of feature-similar tokens is carried out by an unmonitored machine-learning algorithm.

7. The computer-implemented method according to any one of the preceding claims, wherein the data records are stored in a database in encrypted form, - wherein providing (402) the token set (153) includes applying a tokenization logic to the encrypted field values of the data records at the bit-sequence level to generate the tokens; - wherein analyzing (404) the features of the tokens is carried out at the level of the bit sequence of the tokens.

8. The computer-implemented method according to any one of the preceding claims, further comprising: - using each of the subsets of feature-similar tokens as an input to a decoding algorithm, the subsets each representing a candidate for a natural-language word or a different code that can be interpreted by a person and the decoding algorithm being configured to identify the natural-language word or the different code that can be interpreted by a person by analyzing the tokens in a subset.

9. The computer-implemented method according to any one of the preceding claims, wherein the generation of the token set (153) comprises: - generating (172) first tokens (250) from first field values of a plurality of data records, the first field values being stored in first fields of the fields, the first fields belonging to a first field type (F1); - generating (174) second tokens (252, 254) from second field values of the plurality of data records, the second field values being stored in second fields of the fields, the second fields belonging to a second field type (F2, F5); the same generic tokenization logic (158) in particular being applied to the first and the second fields.

10. The computer-implemented method according to any one of the preceding claims, wherein the data records are stored in a database managed by a DBMS (160), the data records comprising different numbers of fields; and / or wherein a plurality of the fields of each data record have a common, generic data format, the generic data format allowing field values to be stored which contain both text data and at least image data, audio data and / or video data.

11. The computer-implemented method according to any one of the preceding claims, wherein the tokenization logic is configured to analyze the bit sequence of a data field value at the bit level and tokenize it on the basis of bit-sequence patterns recognized therein.

12. The computer-implemented method according to any one of the preceding claims, further comprising: - storing the data records in a database managed by a DBMS, the DBMS being a NoSQL DBMS.

13. The computer-implemented method according to any one of the preceding claims, wherein the tokenization logic is a generic tokenizer which is configured to tokenize field values of fields of different field types, the application of the generic tokenization logic to a field value comprising: - recognizing data of different data types within the field value, the data of different data types comprising text data as well as image data and one or more further data types, the one or more further data types comprising audio data and / or video data.

14. The computer-implemented method according to any one of the preceding claims, wherein the token set (153) is configured as a searchable index (154) or is used for generating the searchable index, the storage location of the tokens in the structure of the index being irrespective of which of the field types the tokens originate from, the tokens stored in the index (154) preferably being free of references to fields or field types which have been used for storing field values used for generating the tokens.

15. A computer system for data classification in the form of automatic image classification in portals and platforms used for management of images, comprising: - one or more processors (346); - a data memory medium (342); - a DBMS (160), which is configured to store data records (DR1-DR8) as a set of a plurality of field values in the one or more data memory media in each case, the field values each being stored in one field, the fields of each of the data records belonging to at least two different field types (F1-F8), - program logic (158), which is configured to compile a token set (153), the token set containing tokens which were generated from a plurality of field values of a plurality of the data records (DR1-DR8) by tokenization, tokenization of data records for generating the tokens meaning that the data records are split into a plurality of components in accordance with a set model, the components representing the tokens, the tokens having been generated from field values of at least two different field types, the tokens being stored in the form of a bit sequence; - a classification logic (324), which is configured to analyze (404) one or more features of the tokens at the level of the bit sequence in order to identify subsets (420, 422, 424) of tokens that have similar features with regard to the classification criterion of the bit-sequence length, and which is configured to store a copy of each of the subsets of feature-similar tokens in the data memory medium in a form (426, 428, 430) separated by subsets identified in the analysis, each subset copy representing a class of feature-similar data, - wherein the tokens are bit sequences that each encode an image, the bit-sequence length representing the image size, - wherein the subsets of the tokens contain at least one small-image subset and one large-image subset, - wherein tokens of which the bit-sequence length is below a first threshold value are selectively contained in the small-image subset, and - wherein tokens of which the bit-sequence length exceeds a second threshold value are selectively contained in the large-image subset, such that the automatic classification of images is performed on the basis of their resolution or quality.