Data table association method, device, electronic device and computer readable medium

By automatically detecting and updating the association conditions of the data table, automatic association and compression of the data table are realized, the efficiency of data table association is improved, and the problem of low efficiency in manually setting association relationships in the existing technology is solved.

CN117971827BActive Publication Date: 2024-09-13JIANGSU SHURUI DATA TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410089982.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-22
Publication Date
2024-09-13
Estimated Expiration
2044-01-22

AI Technical Summary

Technical Problem

The existing technology requires manually resetting the association relationship when the data table changes, resulting in low data table association efficiency. Especially when there are many changed data tables, the association efficiency is poor.

Method used

By automatically detecting data table re-association conditions triggered in the target database, we obtain data table operation information, filter and update the association graph, realize automatic association and compression of data tables, and avoid cache resource occupation.

Benefits of technology

It improves the efficiency of data table association, realizes automatic data table association, reduces unnecessary occupation of storage resources, and solves the problem of inefficiency in manually setting association relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117971827B
    Figure CN117971827B
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a data table association method, device, electronic device and computer-readable medium. A specific implementation of the method includes: in response to determining that there is a data table in the target database that triggers the data table re-association condition, determining the data table operation information corresponding to each target data table in the target data table set; for the target data table, in response to determining that there is a data table operation record with an operation type of a preset operation type and an operation status of an executed status in the data table operation record sequence corresponding to the target data table, determining the target data table as a filtered data table; determining the data table description information corresponding to the filtered data table; determining the historical data table association graph for the filtered data table set; updating the historical data table association graph; and compressing the filtered data table corresponding to the updated data table association graph. This implementation realizes automatic data table association and improves the association efficiency of data tables.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a data table association method, device, electronic device, and computer-readable medium. Background Art

[0002] Data table association refers to a technology that associates multiple data tables to improve data retrieval efficiency. At present, when associating data tables, the commonly used method is: manually pre-setting the association relationship between data tables to achieve the purpose of associating data tables.

[0003] However, when the above method is adopted, the following technical problems often occur:

[0004] When data tables change, it is often necessary to manually reset the association between the data tables. When there are many changed data tables, the efficiency of associating the data tables is poor.

[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0007] Some embodiments of the present disclosure propose a data table association method, an apparatus, an electronic device, and a computer-readable medium to solve one or more of the technical problems mentioned in the above background technology section.

[0008] In a first aspect, some embodiments of the present disclosure provide a data table association method, the method comprising: in response to determining that a data table that triggers a data table re-association condition exists in a target database, determining data table operation information corresponding to each target data table in a target data table set, wherein the target data table set is each data table stored in the target database, the data table operation information represents a data table operation record for the corresponding target data table within a preset time period, the preset time period represents a time interval between two consecutive triggerings of the data table re-association condition, the data table operation information comprises: a data table operation record sequence, the data table operation record in the data table operation record sequence comprises: an operation type and an operation status; for each target data table in the target data table set, in response to determining that the data table operation record sequence corresponding to the target data table has an operation type of a preset operation type and an operation status of The data table operation record whose state is an executed state is used to determine the above target data table as a filtered data table; determine the data table description information corresponding to each filtered data table in the obtained filtered data table set, wherein the data table description information includes: historical data table description information and real-time data table description information; determine the historical data table association graph for the above filtered data table set according to the historical data table description information included in the data table description information; update the association graph of the above historical data table association graph according to the real-time data table description information included in the data table description information to obtain an updated data table association graph, wherein the updated data table association graph includes: an association graph node set, and there is a corresponding relationship between the association graph nodes and the compressed data table; according to the real-time data table description information included in the data table description information, perform data table compression on the filtered data table corresponding to the association graph nodes in the above updated data table association graph.

[0009] In a second aspect, some embodiments of the present disclosure provide a data table association device, the device comprising: a first determination unit, configured to determine data table operation information corresponding to each target data table in a target data table set in response to determining that there is a data table in the target database that triggers a data table re-association condition, wherein the above-mentioned target data table set is each data table stored in the above-mentioned target database, the data table operation information represents a data table operation record for the corresponding target data table within a preset time period, the above-mentioned preset time period represents the time interval between two consecutive triggerings of the above-mentioned data table re-association condition, the data table operation information comprises: a data table operation record sequence, the data table operation record in the data table operation record sequence comprises: an operation type and an operation status; a second determination unit, configured to, for each target data table in the above-mentioned target data table set, determine that there is a data table operation record sequence corresponding to the above-mentioned target data table, whose operation type is a preset operation type and whose operation status is an executed status Make a record and determine the above-mentioned target data table as the filtered data table; a third determining unit is configured to determine the data table description information corresponding to each filtered data table in the obtained filtered data table set, wherein the data table description information includes: historical data table description information and real-time data table description information; a fourth determining unit is configured to determine the historical data table association graph for the above-mentioned filtered data table set according to the historical data table description information included in the data table description information; an association graph updating unit is configured to perform an association graph update on the above-mentioned historical data table association graph according to the real-time data table description information included in the data table description information to obtain an updated data table association graph, wherein the updated data table association graph includes: an association graph node set, and there is a corresponding relationship between the association graph nodes and the compressed data table; a data table compression unit is configured to perform data table compression on the filtered data table corresponding to the association graph nodes in the above-mentioned updated data table association graph according to the real-time data table description information included in the above-mentioned data table description information.

[0010] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0011] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0012] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the data table association method of some embodiments of the present disclosure, automatic data table association is realized, and the association efficiency of the data table is improved. Specifically, the reason for the low efficiency of data table association is that when the data table changes, it is often necessary to manually set the association relationship between the data tables again. When there are many changed data tables, the association efficiency of the data tables is poor. Based on this, the data table association method of some embodiments of the present disclosure, first, in response to determining that there is a data table in the target database that triggers the data table re-association condition, determine the data table operation information corresponding to each target data table in the target data table set, wherein the above-mentioned target data table set is each data table stored in the above-mentioned target database, the data table operation information represents the data table operation record for the corresponding target data table within a preset time period, the above-mentioned preset time period represents the time interval between the above-mentioned data table re-association condition being triggered twice in a row, and the data table operation information includes: a data table operation record sequence, and the data table operation record in the data table operation record sequence includes: an operation type and an operation state. Automatically detect whether there is a data table in the target database that needs to be associated with the data table through the data table re-association condition. Secondly, for each target data table in the above target data table set, in response to determining that there is a data table operation record whose operation type is a preset operation type and whose operation state is an executed state in the data table operation record sequence corresponding to the above target data table, the above target data table is determined as a filtered data table. By combining the data table operation record to achieve data table filtering, cache resource occupation caused by pre-caching of the data table is avoided. Next, the data table description information corresponding to each filtered data table in the obtained filtered data table set is determined, wherein the data table description information includes: historical data table description information and real-time data table description information. In this way, the description information for the data table before and after the triggering data table re-association condition is executed is determined. Further, according to the historical data table description information included in the data table description information, the historical data table association graph for the above filtered data table set is determined. In this way, the association relationship of the filtered data tables in the filtered data table set before the data table re-association condition is triggered is determined. In addition, according to the real-time data table description information included in the data table description information, the association diagram of the historical data table is updated to obtain an updated data table association diagram, wherein the updated data table association diagram includes: an association diagram node set, and there is a corresponding relationship between the association diagram nodes and the compressed data table. In this way, the association relationship of the filtered data tables in the filtered data table set after the data table re-association condition is triggered is determined. Finally, according to the real-time data table description information included in the data table description information, the filtered data tables corresponding to the association diagram nodes in the updated data table association diagram are compressed. Data table compression is performed on the basis of data table association to reduce unnecessary occupation of storage resources.In this way, automatic data table association is achieved, and the data table association efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0014] Figure 1 is a flow chart of some embodiments of the data table association method according to the present disclosure;

[0015] Figure 2 is a schematic diagram of the structure of some embodiments of the data table association device according to the present disclosure;

[0016] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0019] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0020] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0021] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0022] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0023] Continue to refer Figure 1 , shows a process 100 of some embodiments of the data table association method according to the present disclosure. The data table association method comprises the following steps:

[0024] Step 101 : in response to determining that a data table that triggers a data table re-association condition exists in a target database, determining data table operation information corresponding to each target data table in a target data table set.

[0025] In some embodiments, in response to determining that there is a data table in the target database that triggers the data table re-association condition, the execution subject (for example, a computing device) of the data table association method may determine the data table operation information corresponding to each target data table in the target data table set. The target data table set is each data table stored in the target database. The target database may be a database to be automatically detected for data table association. The data table operation information represents the data table operation record for the corresponding target data table within a preset time period. The preset time period represents the time interval between two consecutive triggerings of the data table re-association condition. The data table operation information includes: a data table operation record sequence, and the data table operation record in the data table operation record sequence includes: an operation type and an operation status. The operation type represents the operation type for the data table. For example, the operation type may include at least one of the following: a data table insert operation type, a data table update operation type, a data table create operation type, a data table delete operation type, a data table association relationship modification operation, and a data table structure modification operation. The operation status represents whether the data table operation corresponding to the data table operation record is executed successfully. For example, the operation status may include at least one of the following: an operation success and an operation failure. The data table reassociation condition may be detecting a table modification operation on the target data table. The table modification operation may include at least one of the following: a data table association relationship modification operation, a data table structure modification operation. In practice, the above execution subject may execute the data table reassociation condition by creating a trigger.

[0026] It should be noted that the above-mentioned computing device can be hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or it can be implemented as a single server or a single terminal device. When the computing device is embodied as software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, for example, or it can be implemented as a single software or software module. No specific limitation is made here. It should be understood that the number of computing devices can have any number of computing devices according to the implementation needs.

[0027] In some optional implementations of some embodiments, the execution subject determines the data table operation information corresponding to each target data table in the target data table set, which may include the following steps:

[0028] The first step is to obtain a data table operation log sequence corresponding to the target data table within the preset time period.

[0029] The data table operation log is a log file for recording data table operation records for the target data table. In practice, first, the execution subject can obtain the log location of the data table operation log through the show command. Then, the data table operation log stored in the log location is read to obtain the data table operation log sequence corresponding to the target data table.

[0030] In the second step, for each data table operation log in the data table operation log sequence, log parsing is performed on the data table operation log to generate candidate data table operation records, thereby obtaining a candidate data table operation record group.

[0031] In practice, the execution subject may scan the log content of the data table operation log record to obtain the candidate data table operation record group. For example, the execution subject may scan the data table operation log record by the following command: SELECT * FROM data table operation log record.

[0032] In the third step, according to the operation type and the operation status, the obtained candidate data table operation record group set is filtered to obtain a data table operation record sequence included in the data table operation information corresponding to the target data table.

[0033] In practice, the above-mentioned execution entity can filter out candidate data table operation records whose operation type is any operation type among data table insert operation type, data table update operation type, data table create operation type, data table delete operation type, data table association relationship modification operation, and data table structure modification operation, and whose operation status is successful operation, from the candidate data table operation record group set as data table operation records, to obtain the above-mentioned data table operation record sequence.

[0034] Step 102, for each target data table in the target data table set, in response to determining that there is a data table operation record with an operation type of a preset operation type and an operation status of an executed status in the data table operation record sequence corresponding to the target data table, determine the target data table as a filtered data table.

[0035] In some embodiments, for each target data table in the target data table set, in response to determining that there is a data table operation record whose operation type is a preset operation type and whose operation status is an executed status in the data table operation record sequence corresponding to the target data table, the above-mentioned execution subject can determine the target data table as a filtered data table. Among them, the preset operation type can include at least one of the following: a data table association relationship modification operation, a data table structure modification operation. The operation status of the executed status indicates that the data table operation corresponding to the data table operation record is successful and the execution is successful. In practice, in order to avoid data table damage caused by data table misoperation, the execution of the data table operation can be delayed, that is, the data table operation is not executed immediately. Therefore, the operation status of successful operation can indicate that the data table operation is allowed to be executed. The operation status of successful execution indicates that the data table operation is successfully executed.

[0036] Step 103: determine the data table description information corresponding to each filtered data table in the obtained filtered data table set.

[0037] In some embodiments, the above-mentioned execution subject can determine the data table description information corresponding to each filtered data table in the obtained filtered data table set. Among them, the data table description information includes: historical data table description information and real-time data table description information. Among them, the historical data table description information is the data table description information for the filtered data table before the triggering data table re-association condition is not triggered. The real-time data table description information is the data table description information for the filtered data table after the triggering data table re-association condition is triggered. The data table description information can be Meta (metadata) information for the filtered data table. In practice, since the filtered data table is the target data table of the data table operation record sequence in which there is an operation type of the preset operation type and the operation status is the executed state, the data table description information will change after the data table re-association condition is triggered. Therefore, the filtered data table corresponds to the historical data table description information and the real-time data table description information.

[0038] In some optional implementations of some embodiments, the execution subject determines the data table description information corresponding to each filtered data table in the obtained filtered data table set, which may include the following steps:

[0039] The first step is to determine the real-time field description information corresponding to the above filtered data table.

[0040] The real-time field description information represents the field description of the filtered data table after the data table re-association condition is triggered. In practice, the real-time field description information may be the database fields and database field types included in the filtered data table. Specifically, the execution subject may read the metadata information after the data table re-association condition is triggered to obtain the real-time field description information.

[0041] The second step is to determine the real-time table structure description information corresponding to the filtered data table.

[0042] In practice, the above execution subject can obtain the real-time table structure description information corresponding to the filtered data table by reading ResultSetMetaData.

[0043] The third step is to determine the historical table association relationship description information and the real-time table association relationship description information corresponding to the filtered data table.

[0044] The historical table association relationship description information represents the association relationship between the filtered data table and other data tables before the data table re-association condition is triggered. The real-time table association relationship description information represents the association relationship between the filtered data table and other data tables after the data table re-association condition is triggered. In practice, the above-mentioned execution entity can determine the historical table association relationship description information and the real-time table association relationship description information corresponding to the above-mentioned filtered data table through the foreign keys of the filtered data table before and after the data table re-association condition is triggered.

[0045] The fourth step is to generate the historical data table description information included in the data table description information corresponding to the filtered data table according to the historical table association relationship description information.

[0046] The fifth step is to generate the real-time data table description information included in the data table description information corresponding to the filtered data table according to the real-time field description information, the real-time table structure description information and the real-time table association relationship description information.

[0047] Step 104 : determining a historical data table association graph for the filtered data table set according to the historical data table description information included in the data table description information.

[0048] In some embodiments, the execution subject may determine a historical data table association graph for the filtered data table set based on the historical data table description information included in the data table description information, wherein the historical data table association graph represents the association relationship of the filtered data tables in the filtered data table set before the data table re-association condition is triggered.

[0049] In some optional implementations of some embodiments, the execution subject determines the historical data table association graph for the filtered data table set according to the historical data table description information included in the data table description information, which may include the following steps:

[0050] The first step is to generate the initial adjacency matrix.

[0051] The initial adjacency matrix is ​​a square matrix. The matrix dimension of the initial adjacency matrix is ​​determined by the number of filtered data tables in the set of filtered data tables. The adjacency matrix value in the initial adjacency matrix is ​​0. For example, the matrix dimension of the initial adjacency matrix is ​​M×M, where M is the number of filtered data tables in the set of filtered data tables.

[0052] In the second step, for each adjacency matrix value in the initial adjacency matrix, the adjacency matrix value is used as the first adjacency matrix value, and the following first processing step is performed:

[0053] The first sub-step is to determine the filtered data table corresponding to the first adjacency matrix value in the filtered data table set according to the matrix value position group corresponding to the first adjacency matrix value, and obtain a first filtered data table group.

[0054] As an example, the filtered data table set may include: filtered data table A, filtered data table B, and filtered data table C. The matrix dimension of the initial adjacency matrix is ​​3×3. The first adjacency matrix value may be the matrix value of the first row and second column in the initial adjacency matrix. Then the matrix value position group of the first adjacency matrix value may be [1, 2]. The first filtered data table group corresponding to the first adjacency matrix may include: filtered data table A and filtered data table B. The first adjacency matrix value may be the matrix value of the first row and third column in the initial adjacency matrix. Then the matrix value position group of the first adjacency matrix value may be [1, 3]. The first filtered data table group corresponding to the first adjacency matrix may include: filtered data table A and filtered data table C. The first adjacency matrix value may be the matrix value of the second row and third column in the initial adjacency matrix. Then the matrix value position group of the first adjacency matrix value may be [2, 3]. The first filtered data table group corresponding to the first adjacency matrix may include: filtered data table B and filtered data table C.

[0055] The second sub-step is to determine whether there is a table association relationship between each first filtered data table in the first filtered data table group according to the historical table association relationship description information included in the historical data table description information corresponding to the first filtered data table in the first filtered data table group.

[0056] In practice, when the historical table association relationship description information indicates that the first filtered data table in the first filtered data table group has a table association relationship through a foreign key constraint, then each first filtered data table in the first filtered data table group has a table association relationship. When the historical table association relationship description information indicates that the first filtered data table in the first filtered data table group does not have a table association relationship through a foreign key constraint, then each first filtered data table in the first filtered data table group does not have a table association relationship.

[0057] The third sub-step is, in response to existence, updating the matrix value of the first adjacency matrix value.

[0058] In practice, the above execution entity may update the first adjacency matrix value to 1.

[0059] The third step is to generate the historical data table association graph based on the initial adjacency matrix after the matrix values ​​are updated.

[0060] In practice, since a graph can be represented in the form of an adjacency matrix, the execution subject can generate the historical data table association graph according to the initial adjacency matrix after the matrix value is updated.

[0061] Step 105 , updating the historical data table association graph according to the real-time data table description information included in the data table description information to obtain an updated data table association graph.

[0062] In some embodiments, the execution subject may update the historical data table association graph according to the real-time data table description information included in the data table description information to obtain an updated data table association graph. In practice, the execution subject may update the matrix value of the initial adjacency matrix after the matrix value corresponding to the historical data table association graph is updated according to the new table association relationship represented by the real-time data table description information to obtain the updated data table association graph.

[0063] In some optional implementations of some embodiments, the execution subject updates the historical data table association diagram according to the real-time data table description information included in the data table description information to obtain an updated data table association diagram, which may include the following steps:

[0064] In the first step, for each adjacency matrix value in the initial adjacency matrix after the matrix value is updated, the adjacency matrix value is used as the second adjacency matrix value, and the following second processing step is performed:

[0065] The first sub-step is to determine the filtered data table corresponding to the second adjacency matrix value in the filtered data table set according to the matrix value position group corresponding to the second adjacency matrix value, and obtain a second filtered data table group.

[0066] The execution subject may determine the second filtered data table group by referring to the generation method of the first filtered data table group, which will not be described in detail herein.

[0067] The second sub-step is to determine whether there is a table association relationship between each second filtered data table in the second filtered data table group according to the real-time table association relationship description information included in the historical data table description information corresponding to the second filtered data table in the second filtered data table group.

[0068] In practice, when the real-time table association relationship description information indicates that the second filtered data tables in the second filtered data table group have a table association relationship through a foreign key constraint, then each second filtered data table in the second filtered data table group has a table association relationship. When the real-time table association relationship description information indicates that the second filtered data tables in the second filtered data table group do not have a table association relationship through a foreign key constraint, then each second filtered data table in the second filtered data table group does not have a table association relationship.

[0069] The third sub-step is, in response to the non-existence, initializing the matrix value of the second adjacency matrix value.

[0070] In practice, the above execution entity may initialize the second adjacency matrix value to 0.

[0071] The second step is to generate the above updated data table association graph based on the initial adjacency matrix initialized with matrix values.

[0072] In practice, since a graph can be represented in the form of an adjacency matrix, the execution subject can generate the updated data table association graph based on the initial adjacency matrix initialized with matrix values.

[0073] Step 106: compress the filtered data table corresponding to the association graph node in the updated data table association graph according to the real-time data table description information included in the data table description information.

[0074] In some embodiments, the above-mentioned execution subject can compress the filtered data table corresponding to the association diagram node in the updated data table association diagram according to the real-time data table description information included in the data table description information. In practice, when there are the same database fields between the filtered data tables corresponding to the association diagram nodes in the updated data table association diagram, and the same database fields are not foreign keys or primary keys, the data volume can be compressed by creating an association relationship between tables and only retaining the same database fields in one table. For example, the filtered data table A, the filtered data table B, and the filtered data table C all contain database fields M. Then the above-mentioned execution subject can only retain the database field M in the filtered data table A, delete the database fields and corresponding data in the filtered data table B and the filtered data table C. And create the filtered data table A and the filtered data table B, and the association relationship between the filtered data table A and the filtered data table B (such as creating a left connection, a right connection, an inner connection, a full outer connection, etc.). Thereby compressing the data volume of the filtered data table B and the filtered data table C.

[0075] In some optional implementations of some embodiments, the execution subject compresses the filtered data table corresponding to the association graph node in the updated data table association graph according to the real-time data table description information included in the data table description information, which may include the following steps:

[0076] In the first step, for each adjacency matrix value in the updated data table association graph, the adjacency matrix value is used as the third adjacency matrix value, and the following third processing step is performed:

[0077] The first sub-step is to determine the filtered data table corresponding to the third adjacency matrix value in the filtered data table set according to the matrix value position group corresponding to the second adjacency matrix value, and obtain a third filtered data table group.

[0078] The method for generating the third filtered data table group may refer to the method for generating the second filtered data table group, which will not be described in detail here.

[0079] The second sub-step is to determine the semantically associated fields in the second filtered data table group according to the real-time field description information included in the historical data table description information corresponding to the second filtered data table, and obtain a semantically associated field set.

[0080] In practice, the execution subject may calculate semantically associated fields in the second filtered data table group by means of semantic similarity calculation. Specifically, since the real-time field description information records the database fields in the second filtered data table, the execution subject may filter out the semantically associated field set by calculating the semantic similarity of the database fields in the second filtered data table corresponding to the second filtered data table group.

[0081] The third sub-step is to perform data table compression on the second filtered data table in the second filtered data table group according to the semantically associated field set.

[0082] Optionally, the data table compression of the second filtered data table in the second filtered data table group according to the semantically associated field set may include the following steps:

[0083] For each semantically associated field in the above semantically associated field set, the following fourth processing step is performed:

[0084] Step 1: Determine the field atomicity probability of the above semantically associated fields.

[0085] The field atomicity probability represents the probability that the semantically associated field is an atomic type field. An atomic type field can be a database field that cannot be split. For example, the "gender" database field is an atomic type field. The "user identity information" database field can be a non-atomic type field.

[0086] In practice, the execution subject can generate the field atomicity probability of the semantically associated field through a binary classification model. Specifically, the binary classification model can be trained through training samples using a supervised training method. The training sample includes: a database field and an atomic type field identifier. The atomic type field identifier indicates whether the database field included in the training sample is an atomic type field.

[0087] Step 2: In response to the field atomicity probability characterizing the semantically associated field as a non-atomic type field, determine the atomic type fields associated with the semantically associated field in the second filtered data table group as candidate fields to obtain a candidate field set.

[0088] In practice, the execution subject may determine the fields of the atomic type associated with the semantically associated fields in the second filtered data table group as candidate fields by using the semantic similarity method, and obtain a candidate field set. For example, the "user identity information" database field may be a non-atomic type field, and the corresponding candidate field set may include: "name" database field, "age" database field.

[0089] Step 3: In response to the candidate field set and the semantically associated field being located in the same second filtered data table, optimizing the real-time table structure description information of the corresponding second filtered data table to achieve data table compression of the corresponding second filtered data table.

[0090] In practice, when the candidate field set and the semantically associated field are located in the same second filtered data table, the execution subject may delete the semantically associated field and the corresponding data from the second filtered data table. For example, the second filtered data table A may include a "user identity information" database field, a "name" database field, and an "age" database field. Therefore, the execution subject may delete the "user identity information" database field and the corresponding field value to achieve the purpose of compressing the data table of the second filtered data table A.

[0091] Step 4: In response to the above-mentioned candidate field set and the above-mentioned semantically associated fields being located in each second filtered data table in the above-mentioned second filtered data table group, a data table association is created for the above-mentioned second filtered data table group, and the real-time table association relationship description information and the corresponding real-time table structure description information corresponding to the above-mentioned second filtered data table group are updated to achieve data table compression of the corresponding second filtered data table.

[0092] For example, the second filtered data table A includes a "user identity information" database field. The second filtered data table B includes a "name" database field and an "age" database field. Therefore, the above-mentioned execution subject can delete the "user identity information" database field and the corresponding field value included in the second filtered data table A, and use any one of the connection methods of left connection, right connection and full outer connection to associate the second filtered data table A with the second filtered data table B, so that when retrieving user identity information, the field values ​​corresponding to the "name" database field and the "age" database field can be read by connecting the second filtered data table A and the second filtered data table B. At the same time, the above-mentioned execution subject can update and synchronize the real-time table association relationship description information and the corresponding real-time table structure description information corresponding to the second filtered data table A and the second filtered data table B. So that the real-time table association relationship description information can record the latest association relationship between data tables, and the real-time table structure description information can record the latest table structure of the data table.

[0093] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the data table association method of some embodiments of the present disclosure, automatic data table association is realized, and the association efficiency of the data table is improved. Specifically, the reason for the low efficiency of data table association is that when the data table changes, it is often necessary to manually set the association relationship between the data tables again. When there are many changed data tables, the association efficiency of the data tables is poor. Based on this, the data table association method of some embodiments of the present disclosure, first, in response to determining that there is a data table in the target database that triggers the data table re-association condition, determine the data table operation information corresponding to each target data table in the target data table set, wherein the above-mentioned target data table set is each data table stored in the above-mentioned target database, the data table operation information represents the data table operation record for the corresponding target data table within a preset time period, the above-mentioned preset time period represents the time interval between the above-mentioned data table re-association condition being triggered twice in a row, and the data table operation information includes: a data table operation record sequence, and the data table operation record in the data table operation record sequence includes: an operation type and an operation state. Automatically detect whether there is a data table in the target database that needs to be associated with the data table through the data table re-association condition. Secondly, for each target data table in the above target data table set, in response to determining that there is a data table operation record whose operation type is a preset operation type and whose operation state is an executed state in the data table operation record sequence corresponding to the above target data table, the above target data table is determined as a filtered data table. By combining the data table operation record to achieve data table filtering, cache resource occupation caused by pre-caching of the data table is avoided. Next, the data table description information corresponding to each filtered data table in the obtained filtered data table set is determined, wherein the data table description information includes: historical data table description information and real-time data table description information. In this way, the description information for the data table before and after the triggering data table re-association condition is executed is determined. Further, according to the historical data table description information included in the data table description information, the historical data table association graph for the above filtered data table set is determined. In this way, the association relationship of the filtered data tables in the filtered data table set before the data table re-association condition is triggered is determined. In addition, according to the real-time data table description information included in the data table description information, the association diagram of the historical data table is updated to obtain an updated data table association diagram, wherein the updated data table association diagram includes: an association diagram node set, and there is a corresponding relationship between the association diagram nodes and the compressed data table. In this way, the association relationship of the filtered data tables in the filtered data table set after the data table re-association condition is triggered is determined. Finally, according to the real-time data table description information included in the data table description information, the filtered data tables corresponding to the association diagram nodes in the updated data table association diagram are compressed. Data table compression is performed on the basis of data table association to reduce unnecessary occupation of storage resources.In this way, automatic data table association is achieved, and the data table association efficiency is improved.

[0094] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a data table association device. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the data table association device can be specifically applied to various electronic devices.

[0095] like Figure 2 As shown, the data table association device 200 of some embodiments includes: a first determination unit 201 , a second determination unit 202 , a third determination unit 203 , a fourth determination unit 204 , an association graph updating unit 205 and a data table compression unit 206 . The first determining unit 201 is configured to determine data table operation information corresponding to each target data table in the target data table set in response to determining that there is a data table in the target database that triggers the data table re-association condition, wherein the above-mentioned target data table set is each data table stored in the above-mentioned target database, and the data table operation information represents a data table operation record for the corresponding target data table within a preset time period, and the above-mentioned preset time period represents a time interval between two consecutive triggering of the above-mentioned data table re-association condition, and the data table operation information includes: a data table operation record sequence, and the data table operation record in the data table operation record sequence includes: an operation type and an operation status; the second determining unit 202 is configured to, for each target data table in the above-mentioned target data table set, determine the above-mentioned target data table as a filtered target data table in response to determining that there is a data table operation record whose operation type is a preset operation type and whose operation status is an executed status in the data table operation record sequence corresponding to the above-mentioned target data table. data table; a third determining unit 203, configured to determine the data table description information corresponding to each filtered data table in the obtained filtered data table set, wherein the data table description information includes: historical data table description information and real-time data table description information; a fourth determining unit 204, configured to determine the historical data table association graph for the above-mentioned filtered data table set according to the historical data table description information included in the data table description information; an association graph updating unit 205, configured to perform an association graph update on the above-mentioned historical data table association graph according to the real-time data table description information included in the data table description information, to obtain an updated data table association graph, wherein the updated data table association graph includes: an association graph node set, and there is a corresponding relationship between the association graph nodes and the compressed data table; a data table compression unit 206, configured to perform data table compression on the filtered data table corresponding to the association graph nodes in the above-mentioned updated data table association graph according to the real-time data table description information included in the above-mentioned data table description information.

[0096] It is understandable that the units recorded in the data table association device 200 are related to the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the data table association device 200 and the units included therein, and will not be described in detail here.

[0097] Reference below Figure 3 , which shows a structural schematic diagram of an electronic device (eg, a computing device) 300 suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0098] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory 302 or a program loaded from a storage device 308 into a random access memory 303. Various programs and data required for the operation of the electronic device 300 are also stored in the random access memory 303. The processing device 301, the read-only memory 302, and the random access memory 303 are connected to each other via a bus 304. An input / output interface 305 is also connected to the bus 304.

[0099] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0100] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the read-only memory 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0101] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0102] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0103] The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist independently without being assembled into the electronic device. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to determining that there is a data table in the target database that triggers the data table re-association condition, determine the data table operation information corresponding to each target data table in the target data table set, wherein the above-mentioned target data table set is each data table stored in the above-mentioned target database, the data table operation information represents the data table operation record for the corresponding target data table within a preset time period, the above-mentioned preset time period represents the time interval between two consecutive triggerings of the above-mentioned data table re-association condition, the data table operation information includes: a data table operation record sequence, the data table operation record in the data table operation record sequence includes: an operation type and an operation status; for each target data table in the above-mentioned target data table set, in response to determining that there is an operation type of preset in the data table operation record sequence corresponding to the above-mentioned target data table According to the data table operation record whose operation type is an operation type and whose operation status is an executed status, the above-mentioned target data table is determined as a filtered data table; the data table description information corresponding to each filtered data table in the obtained filtered data table set is determined, wherein the data table description information includes: historical data table description information and real-time data table description information; according to the historical data table description information included in the data table description information, a historical data table association graph for the above-mentioned filtered data table set is determined; according to the real-time data table description information included in the data table description information, an association graph is updated for the above-mentioned historical data table association graph to obtain an updated data table association graph, wherein the updated data table association graph includes: an association graph node set, and there is a corresponding relationship between the association graph nodes and the compressed data table; according to the real-time data table description information included in the above-mentioned data table description information, data table compression is performed on the filtered data table corresponding to the association graph nodes in the above-mentioned updated data table association graph.

[0104] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0105] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0106] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The units described may also be provided in a processor, for example, may be described as: a processor comprising a first determination unit, a second determination unit, a third determination unit, a fourth determination unit, an association graph update unit, and a data table compression unit. Among them, the names of these units do not constitute limitations on the units themselves in certain circumstances, for example, the second determination unit may also be described as "for each target data table in the above-mentioned target data table set, in response to determining that in the data table operation record sequence corresponding to the above-mentioned target data table, there is a data table operation record whose operation type is a preset operation type and whose operation status is an executed status, the above-mentioned target data table is determined as a unit of the filtered data table".

[0107] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0108] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A data table association method, comprising: In response to determining that a data table that triggers a data table re-association condition exists in a target database, determining data table operation information corresponding to each target data table in a target data table set, wherein the target data table set is each data table stored in the target database, the data table operation information represents a data table operation record for a corresponding target data table within a preset time period, the preset time period represents a time interval between two consecutive triggerings of the data table re-association condition, the data table operation information comprises: a data table operation record sequence, the data table operation record in the data table operation record sequence comprises: an operation type and an operation status; For each target data table in the target data table set, in response to determining that there is a data table operation record whose operation type is a preset operation type and whose operation status is an executed status in the data table operation record sequence corresponding to the target data table, determining the target data table as a filtered data table; Determine data table description information corresponding to each filtered data table in the obtained filtered data table set, wherein the data table description information includes: historical data table description information and real-time data table description information; Determine a historical data table association graph for the filtered data table set according to the historical data table description information included in the data table description information; According to the real-time data table description information included in the data table description information, the historical data table association graph is updated to obtain an updated data table association graph, wherein the updated data table association graph includes: an association graph node set, and the association graph nodes have a corresponding relationship with the compressed data table; According to the real-time data table description information included in the data table description information, data table compression is performed on the filtered data table corresponding to the association graph node in the updated data table association graph, wherein: The determining, according to the historical data table description information included in the data table description information, a historical data table association graph for the filtered data table set comprises: Generate an initial adjacency matrix, wherein the initial adjacency matrix is ​​a square matrix, the matrix dimension of the initial adjacency matrix is ​​determined by the number of filtered data tables in the filtered data table set, and the adjacency matrix value in the initial adjacency matrix is ​​0; For each adjacency matrix value in the initial adjacency matrix, taking the adjacency matrix value as the first adjacency matrix value, perform the following first processing step: Determine, according to the matrix value position group corresponding to the first adjacency matrix value, a filtered data table corresponding to the first adjacency matrix value in the filtered data table set to obtain a first filtered data table group; determining whether there is a table association relationship between each first filtered data table in the first filtered data table group according to the historical table association relationship description information included in the historical data table description information corresponding to the first filtered data table in the first filtered data table group; In response to existence, updating the first adjacency matrix value; According to the initial adjacency matrix after the matrix value is updated, the historical data table association graph is generated, wherein, The updating of the historical data table association diagram according to the real-time data table description information included in the data table description information to obtain the updated data table association diagram includes: For each adjacency matrix value in the initial adjacency matrix after the matrix value is updated, the adjacency matrix value is used as the second adjacency matrix value, and the following second processing step is performed: Determine, according to the matrix value position group corresponding to the second adjacency matrix value, a filtered data table corresponding to the second adjacency matrix value in the filtered data table set, to obtain a second filtered data table group; Determining whether there is a table association relationship between each second filtered data table in the second filtered data table group according to the real-time table association relationship description information included in the historical data table description information corresponding to the second filtered data table in the second filtered data table group; In response to the non-existence, the second adjacency matrix value is initialized; according to the initial adjacency matrix after the matrix value initialization, the updated data table association graph is generated, wherein, The step of compressing the filtered data table corresponding to the association graph node in the updated data table association graph according to the real-time data table description information included in the data table description information comprises: For each adjacency matrix value in the updated data table association graph, use the adjacency matrix value as the third adjacency matrix value and perform the following third processing step: Determine, according to the matrix value position group corresponding to the second adjacency matrix value, a filtered data table corresponding to the third adjacency matrix value in the filtered data table set, to obtain a third filtered data table group; Determine the semantically associated fields in the second filtered data table group according to the real-time field description information included in the historical data table description information corresponding to the second filtered data table, and obtain a semantically associated field set; According to the semantically associated field set, data table compression is performed on the second filtered data table in the second filtered data table group, wherein: The step of compressing the second filtered data table in the second filtered data table group according to the semantically associated field set includes: For each semantically associated field in the set of semantically associated fields, the following fourth processing step is performed: Determining a field atomicity probability of the semantically associated field, wherein the field atomicity probability represents a probability that the semantically associated field is an atomic type field; In response to the field atomicity probability characterizing that the semantically associated field is a non-atomic type field, determining an atomic type field associated with the semantically associated field in the second filtered data table group as a candidate field, and obtaining a candidate field set; In response to the candidate field set and the semantically associated field being located in the same second filtered data table, optimizing the corresponding real-time table structure description information of the second filtered data table to achieve data table compression of the corresponding second filtered data table; In response to the candidate field set and the semantically associated field being located in each second filtered data table in the second filtered data table group, a data table association is created for the second filtered data table group, and the real-time table association relationship description information and the corresponding real-time table structure description information corresponding to the second filtered data table group are updated to achieve data table compression of the corresponding second filtered data table.

2. The method according to claim 1, wherein: The step of determining the data table operation information corresponding to each target data table in the target data table set includes: Acquire a data table operation log sequence corresponding to the target data table within the preset time period; For each data table operation log in the data table operation log sequence, log parsing is performed on the data table operation log to generate a candidate data table operation record, thereby obtaining a candidate data table operation record group; According to the operation type and the operation status, the obtained candidate data table operation record group set is subjected to operation record filtering to obtain a data table operation record sequence included in the data table operation information corresponding to the target data table.

3. The method according to claim 2, wherein: The data table description information corresponding to each filtered data table in the determined filtered data table set includes: Determine the real-time field description information corresponding to the filtered data table, wherein the real-time field description information represents the field description for the filtered data table after the data table re-association condition is triggered; Determine the real-time table structure description information corresponding to the filtered data table; Determine the historical table association relationship description information and the real-time table association relationship description information corresponding to the filtered data table; Generate historical data table description information including the data table description information corresponding to the filtered data table according to the historical table association relationship description information; The real-time data table description information included in the data table description information corresponding to the filtered data table is generated according to the real-time field description information, the real-time table structure description information and the real-time table association relationship description information.

4. A data table association device, comprising: A first determining unit is configured to determine data table operation information corresponding to each target data table in a target data table set in response to determining that a data table that triggers a data table re-association condition exists in a target database, wherein the target data table set is each data table stored in the target database, the data table operation information represents a data table operation record for a corresponding target data table within a preset time period, the preset time period represents a time interval between two consecutive triggerings of the data table re-association condition, the data table operation information comprises: a data table operation record sequence, the data table operation record in the data table operation record sequence comprises: an operation type and an operation status; A second determining unit is configured to, for each target data table in the target data table set, determine the target data table as a filtered data table in response to determining that there is a data table operation record whose operation type is a preset operation type and whose operation status is an executed status in the data table operation record sequence corresponding to the target data table; A third determining unit is configured to determine data table description information corresponding to each filtered data table in the obtained filtered data table set, wherein the data table description information includes: historical data table description information and real-time data table description information; A fourth determining unit is configured to determine a historical data table association graph for the filtered data table set according to the historical data table description information included in the data table description information; The association graph updating unit is configured to update the association graph of the historical data table according to the real-time data table description information included in the data table description information to obtain an updated data table association graph, wherein the updated data table association graph includes: an association graph node set, and the association graph nodes have a corresponding relationship with the compressed data table; The data table compression unit is configured to perform data table compression on the filtered data table corresponding to the association graph node in the updated data table association graph according to the real-time data table description information included in the data table description information, wherein: The determining, according to the historical data table description information included in the data table description information, a historical data table association graph for the filtered data table set comprises: Generate an initial adjacency matrix, wherein the initial adjacency matrix is ​​a square matrix, the matrix dimension of the initial adjacency matrix is ​​determined by the number of filtered data tables in the filtered data table set, and the adjacency matrix value in the initial adjacency matrix is ​​0; For each adjacency matrix value in the initial adjacency matrix, taking the adjacency matrix value as the first adjacency matrix value, perform the following first processing step: Determine, according to the matrix value position group corresponding to the first adjacency matrix value, a filtered data table corresponding to the first adjacency matrix value in the filtered data table set to obtain a first filtered data table group; determining whether there is a table association relationship between each first filtered data table in the first filtered data table group according to the historical table association relationship description information included in the historical data table description information corresponding to the first filtered data table in the first filtered data table group; In response to existence, updating the first adjacency matrix value; According to the initial adjacency matrix after the matrix value is updated, the historical data table association graph is generated, wherein, The updating of the historical data table association diagram according to the real-time data table description information included in the data table description information to obtain the updated data table association diagram includes: For each adjacency matrix value in the initial adjacency matrix after the matrix value is updated, the adjacency matrix value is used as the second adjacency matrix value, and the following second processing step is performed: Determine, according to the matrix value position group corresponding to the second adjacency matrix value, a filtered data table corresponding to the second adjacency matrix value in the filtered data table set, to obtain a second filtered data table group; Determining whether there is a table association relationship between each second filtered data table in the second filtered data table group according to the real-time table association relationship description information included in the historical data table description information corresponding to the second filtered data table in the second filtered data table group; In response to the non-existence, the second adjacency matrix value is initialized; according to the initial adjacency matrix after the matrix value initialization, the updated data table association graph is generated, wherein, The step of compressing the filtered data table corresponding to the association graph node in the updated data table association graph according to the real-time data table description information included in the data table description information comprises: For each adjacency matrix value in the updated data table association graph, use the adjacency matrix value as the third adjacency matrix value and perform the following third processing step: Determine, according to the matrix value position group corresponding to the second adjacency matrix value, a filtered data table corresponding to the third adjacency matrix value in the filtered data table set, to obtain a third filtered data table group; Determine the semantically associated fields in the second filtered data table group according to the real-time field description information included in the historical data table description information corresponding to the second filtered data table, and obtain a semantically associated field set; According to the semantically associated field set, data table compression is performed on the second filtered data table in the second filtered data table group, wherein: The step of compressing the second filtered data table in the second filtered data table group according to the semantically associated field set includes: For each semantically associated field in the set of semantically associated fields, the following fourth processing step is performed: Determining a field atomicity probability of the semantically associated field, wherein the field atomicity probability represents a probability that the semantically associated field is an atomic type field; In response to the field atomicity probability characterizing that the semantically associated field is a non-atomic type field, determining an atomic type field associated with the semantically associated field in the second filtered data table group as a candidate field, and obtaining a candidate field set; In response to the candidate field set and the semantically associated field being located in the same second filtered data table, optimizing the corresponding real-time table structure description information of the second filtered data table to achieve data table compression of the corresponding second filtered data table; In response to the candidate field set and the semantically associated field being located in each second filtered data table in the second filtered data table group, a data table association is created for the second filtered data table group, and the real-time table association relationship description information and the corresponding real-time table structure description information corresponding to the second filtered data table group are updated to achieve data table compression of the corresponding second filtered data table.

5. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3.

6. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.