A data compression method for high dynamic simulation system based on multi-mode data

By constructing sample relationship networks and community divisions, and optimizing the frequency and effect of compression algorithms, the problem of inconsistent data compression effects in highly dynamic simulation systems is solved, and compression efficiency and data credibility are improved.

CN118626025BActive Publication Date: 2024-10-11NANJING GAOSHANG ELECTROMECHANICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411118050.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-10-11
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider the structural characteristics of the data in data compression of highly dynamic simulation systems, resulting in inconsistent compression effects and affecting the credibility of the simulation results.

Method used

By acquiring historical sample data in all modes in the historical simulation process of the high-dynamic simulation system, a preset compression specification library is constructed, and a sample relationship network is constructed based on the similarity between historical sample data, dividing sample communities, and optimizing the emergence of compression algorithms. Frequency and effect, quickly match the belonging community of the data to be compressed for compression.

Benefits of technology

It improves the sample community division effect and compression efficiency, ensures the compression effect and efficiency of high-dynamic simulation system data, and enhances the credibility of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626025B_ABST
    Figure CN118626025B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data compression technology, and specifically to a data compression method for a high-dynamic simulation system based on multi-modal data. The present invention first obtains all historical sample data under all modes; further, based on the similarity between the historical sample data, obtains the sample relationship network under each mode, and then obtains all sample communities and corresponding community compression algorithms in each sample relationship network; further, the belonging community of each current sample data under each mode in the current simulation process is screened out, and compressed using the corresponding community compression algorithm. The present invention improves the community division process based on the frequency of occurrence and compression effect of the compression algorithm, improves the community division effect, and uses the similarity of the internal features between the current multi-modal sample data and the historical sample data in each sample community to quickly match the corresponding belonging community, thereby improving the compression effect and efficiency of the current multi-modal sample data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data compression, and in particular to a data compression method for a high dynamic simulation system based on multi-mode data. Background Art

[0002] A high-dynamic simulation system is a system that simulates and predicts dynamic behavior based on multiple data and models. It is widely used in aerospace, automotive, medical and meteorological research, and can help evaluate product performance and discover potential problems. High-dynamic simulation system data includes input data such as design parameters and control parameters, as well as various simulation data output by the system. These data are not only large in scale, but also have complex modal types, which will take up a lot of storage space and affect the transmission effect. Therefore, compression is usually performed to save storage space, increase data transmission and processing speed, and increase data security.

[0003] Since the high-dynamic simulation system has high requirements for data accuracy, otherwise it may affect the credibility of the simulation results, the compression effect of the data is crucial. In the prior art, a data compression specification library is usually built based on prior knowledge to find the optimal compression algorithm for each modal data to compress; however, it does not take into account the structural characteristics of the data, which may result in inconsistent data compression effects when the corresponding optimal compression algorithm is used for some data under the same modality, and the compression effect of some data may not be ideal. Summary of the invention

[0004] In order to solve the technical problem that the prior art has an unsatisfactory data compression effect on a high dynamic simulation system, the purpose of the present invention is to provide a high dynamic simulation system data compression method based on multi-mode data, and the technical solution adopted is as follows:

[0005] Acquire all historical sample data under all modes in the historical simulation process of the high dynamic simulation system; construct a preset compression specification library based on the historical sample data, wherein the preset compression specification library includes at least two compression algorithms for compressing each of the historical sample data;

[0006] According to the similarity between different historical sample data under the same modality, a sample relationship network under each modality is obtained; in each sample relationship network, according to the occurrence frequency of the compression algorithm corresponding to the historical sample data of each node and the compression effect on the corresponding historical sample data, combined with the node connection relationship, all sample communities and corresponding community compression algorithms in each sample relationship network are obtained;

[0007] Each current sample data under each mode in the current simulation process is used as data to be compressed; according to the similarity between each data to be compressed and all the historical sample data in each sample community under the same mode, the belonging community of each data to be compressed is screened out from all the sample communities, and the corresponding data to be compressed is compressed using the community compression algorithm corresponding to the belonging community.

[0008] Furthermore, the method for obtaining the sample relationship network includes:

[0009] In each mode, a similarity index is obtained according to the size difference and sample value difference between the different historical sample data, and the size difference and the sample value difference are both negatively correlated with the similarity index;

[0010] According to the similarity index between different historical sample data, the direct connection relationship between corresponding different nodes is obtained to construct a sample relationship network.

[0011] Furthermore, the method for obtaining the direct connection relationship includes:

[0012] When the similarity index is greater than a preset threshold, it is determined that there is a direct connection relationship between the corresponding different nodes.

[0013] Furthermore, the method for obtaining the sample community includes:

[0014] In each of the sample relationship networks, each compression algorithm of the historical sample data corresponding to each node is used as a label, and the corresponding sample relationship network is divided based on the SLPA algorithm to obtain all sample communities;

[0015] During the label iterative propagation process of the SLPA algorithm, the union of the compression algorithms of each node and all connected nodes corresponding to the historical sample data is taken as the set of all alternative compression algorithms for each node; based on the frequency of occurrence of each alternative compression algorithm at each node and the corresponding compression effect, the reference index of each alternative compression algorithm is obtained; and the label of each node is updated according to the reference index.

[0016] Furthermore, the method for obtaining the reference index includes:

[0017] Using the compression effect of each of the candidate compression algorithms on the historical sample data of the corresponding node as a target reference coefficient;

[0018] Among all the connection nodes of each node, a connection reference coefficient is obtained according to the occurrence frequency of each of the candidate compression algorithms and the compression effect of each connection node corresponding to the historical sample data;

[0019] According to the target reference coefficient and the connection reference coefficient, a reference index of each of the alternative compression algorithms at each node is obtained, and the target reference coefficient and the connection reference coefficient are both positively correlated with the reference index.

[0020] Furthermore, the method of updating the label of each node according to the reference index includes:

[0021] The candidate compression algorithm with the largest reference index is added as an update label to all labels of the corresponding node.

[0022] Furthermore, the method for obtaining the community compression algorithm includes:

[0023] In each of the sample communities, the compression algorithms corresponding to the labels of all nodes are used as the primary screening community compression algorithms; according to the compression effect and occurrence frequency of the primary screening community compression algorithms on the corresponding historical sample data, the priority of each of the primary screening community compression algorithms is obtained, and the occurrence frequency and the compression effect are both positively correlated with the priority;

[0024] The primary screening community compression algorithm with the highest priority is used as the community compression algorithm corresponding to the sample community.

[0025] Furthermore, the method for obtaining the belonging community includes:

[0026] All the sample communities in the sample relationship network under the mode corresponding to each of the data to be compressed are used as the initial screening belonging communities of each of the data to be compressed;

[0027] According to the size difference and sample value difference between each of the to-be-compressed data and the historical sample data in each of the pre-screened belonging communities, the degree of belonging of each of the to-be-compressed data to each of the pre-screened belonging communities is obtained, and the size difference and the sample value difference are both positively correlated with the degree of belonging;

[0028] Among all the initially screened belonging communities, the initially screened belonging community with the greatest belonging degree is used as the belonging community corresponding to the data to be compressed.

[0029] Furthermore, the method for obtaining the compression effect includes:

[0030] Obtaining a first effect parameter according to the compression ratio and compression rate of the historical sample data compressed by each compression algorithm;

[0031] Under each of the compression algorithms, obtaining a second effect parameter according to the compression and decompression duration of the corresponding historical sample data and the difference between the sample values ​​before and after compression;

[0032] The compression effect of each compression algorithm on the corresponding historical sample data is obtained according to the first effect parameter and the second effect parameter.

[0033] Furthermore, the modality includes at least text, numerical value, image, and audio.

[0034] The present invention has the following beneficial effects:

[0035] The embodiment of the present invention first obtains all historical sample data under all modes in the historical simulation process of the high dynamic simulation system; builds a preset compression specification library based on the historical sample data, and the preset compression specification library includes at least two compression algorithms for compressing each historical sample data, so as to prepare for the subsequent analysis and division of sample communities; obtains the sample relationship network under each mode according to the similarity between different historical sample data under the same mode, so as to facilitate the subsequent division of sample communities and provide a fast matching path for new sample data; in each sample relationship network, according to the occurrence frequency of the compression algorithm of each node corresponding to the historical sample data and the compression effect on the corresponding historical sample data The results are combined with the node connection relationship to obtain all sample communities and corresponding community compression algorithms in each sample relationship network; in the process of dividing the sample community, the traditional algorithm is optimized to only update the propagation of labels according to the frequency of occurrence, while ignoring the disadvantages of the compression effect of the label corresponding compression algorithm, thereby improving the sample community division effect; each current sample data under each mode in the current simulation process is used as the data to be compressed, and the belonging community of the data to be compressed is quickly matched according to the similarity between each data to be compressed and all historical sample data in each sample community under the same mode, so as to compress the corresponding data to be compressed using the belonging community corresponding community compression algorithm. The present invention improves the community division process based on the frequency of occurrence and compression effect of the compression algorithm, improves the community division effect, and uses the similarity of the internal features between the current multi-sample sample data and the historical sample data in each sample community to quickly match the corresponding belonging community, thereby improving the compression effect and efficiency of the current multi-sample sample data. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A flowchart of a data compression method for a high dynamic simulation system based on multi-mode data provided by an embodiment of the present invention;

[0038] Figure 2A flowchart of a method for obtaining a reference index provided by an embodiment of the present invention;

[0039] Figure 3 A flowchart of a method for obtaining a compression effect provided by an embodiment of the present invention;

[0040] Figure 4 The present invention is a flowchart of a method for obtaining a belonging community provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0041] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the data compression method of a high dynamic simulation system based on multi-mode data proposed by the present invention, its specific implementation method, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0042] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0043] The specific scheme of the data compression method for a high dynamic simulation system based on multi-mode data provided by the present invention is described in detail below with reference to the accompanying drawings.

[0044] See also Figure 1 , which shows a flow chart of a data compression method for a high dynamic simulation system based on multi-mode data provided by an embodiment of the present invention, specifically comprising:

[0045] Step S1, obtaining all historical sample data under all modes in the historical simulation process of the high dynamic simulation system; constructing a preset compression specification library based on the historical sample data, wherein the preset compression specification library includes at least two compression algorithms for compressing each historical sample data.

[0046] In one embodiment of the present invention, the implementation scenario is to use a high dynamic simulation system to perform multiple dynamic simulations on an aircraft; first, historical sample data under all modes of the aircraft in each historical simulation process is obtained, and the modes of these historical sample data may include text, numerical values, images, audio, etc.; wherein each historical sample data is each input data or each output simulation data in each historical simulation process, each input data can be the design parameters of the aircraft, the control parameters or environmental data during simulated driving, etc., and each output simulation data can be the status data, performance data or operation monitoring data of the aircraft during the simulated driving process, etc.

[0047] It should be noted that implementers can set the type and quantity of modes according to specific implementation scenarios.

[0048] After obtaining all historical sample data, a preset compression specification library is further constructed based on all historical sample data; wherein the preset compression specification library includes at least two compression algorithms used to compress each historical sample data, that is, each historical sample data corresponds to two or more compression algorithms.

[0049] It should be noted that the compression algorithm for each historical sample data in the preset compression specification library should be as rich as possible to facilitate the subsequent label propagation analysis; there is a possibility that the compression algorithms of all historical sample data under the same modality are consistent, resulting in poor label propagation analysis results, so the compression algorithm for each historical sample data in the preset compression specification library should include at least two. It should be noted that the compression algorithm for each historical sample data is a lossless compression algorithm obtained based on prior knowledge. The implementer can analyze the modality or content of the historical sample data to obtain two or more compression algorithms, thereby constructing a preset compression specification library.

[0050] Step S2, based on the similarity between different historical sample data under the same modality, obtain the sample relationship network under each modality; in each sample relationship network, based on the occurrence frequency of the compression algorithm of each node corresponding to the historical sample data and the compression effect on the corresponding historical sample data, combined with the node connection relationship, obtain all sample communities and corresponding community compression algorithms in each sample relationship network.

[0051] Due to the different characteristics and compression requirements of the data itself, multiple compression algorithms can often be used for historical sample data of the same modality, and the corresponding compression effects also vary to a certain extent. Therefore, the embodiment of the present invention first obtains the sample relationship network under each modality, and further divides the historical sample data with similar characteristics in each sample relationship network into the same community, and obtains the corresponding community compression algorithm, so that the newly generated multi-modal sample data can be compressed based on the feature similarity between the newly generated multi-modal sample data and the historical sample data, thereby improving the compression effect and efficiency.

[0052] Among them, the sample relationship network reflects the feature similarity between different historical sample data under the same modality. A node in the sample relationship network is a historical sample data, and the connection relationship between nodes reflects the similarity between historical sample data.

[0053] Preferably, in one embodiment of the present invention, considering that the scales of different historical sample data preliminarily reflect the differences between them from the memory size, and the sample values ​​further reflect the differences from the internal characteristics of the data, the similarity between different historical sample data can be evaluated by combining the two, so as to facilitate the direct connection relationship when different historical sample data under the same modality are used as nodes based on similarity evaluation, so as to construct a sample relationship network. Therefore, the method for obtaining the sample relationship network includes:

[0054] In each mode, the similarity index is obtained according to the size difference and sample value difference between different historical sample data. The size difference and sample value difference are negatively correlated with the similarity index.

[0055] According to the similarity index between different historical sample data, the direct connection relationship between corresponding different nodes is obtained to construct a sample relationship network.

[0056] As an example, the similarity index is calculated as:

[0057] ; In the formula, For the same mode The historical sample data and The similarity index between historical sample data; is an exponential function with the natural constant e as base; For the same mode The historical sample data and The size difference between historical sample data; For the same mode The historical sample data and The sample value difference between the historical sample data. By multiplying the scale difference and the sample value difference, the product is further used as Map to In the function, the logic is adjusted and normalized. In other embodiments of the present invention, the implementer may also perform a reciprocal operation or adopt other basic mathematical operations and related mapping means, which will not be described in detail here.

[0058] Among them, the scale difference is the absolute value of the difference between the memory sizes corresponding to the historical sample data; the method for obtaining the sample value difference is as follows: Due to the large number of modes, they are classified and expressed here:

[0059] If the historical sample data is text, the text data is preprocessed, such as using the TF-IDF algorithm to assign weights to each word to construct a text vector, and then using cosine similarity to evaluate the similarity between text vectors. Since the value of cosine similarity ranges from -1 to 1, the cosine similarity can be mapped to a form like Normalized in the function to obtain the sample value difference; in other embodiments of the present invention, the implementer may also construct a text set and use Jaccard similarity to evaluate the sample value difference, and may also use other measurement methods for evaluation, which are all existing technologies and will not be described in detail here;

[0060] If the historical sample data is a numerical value, a data sequence is constructed, and the difference between the sequences is evaluated using the DTW distance. In other embodiments of the present invention, the implementer may also use a distance measurement method such as the Euclidean distance to evaluate the sample value difference, which will not be described in detail here;

[0061] If the historical sample data is a picture, the grayscale value of the pixel at the same position is compared to evaluate the sample value difference. You can also further perform feature matching on different pictures and use the matching effect as the sample value difference. This will not be described in detail here.

[0062] If the historical sample data is audio, the mean square error or DTW distance between the two audio signal curves is compared. The implementer can also further analyze the fluctuation characteristics of the audio signal curve to evaluate the sample value difference, which will not be repeated here.

[0063] As an example, a method for obtaining a direct connection relationship includes: when the similarity index between the historical sample data corresponding to different nodes is greater than a preset threshold, it is determined that the two different nodes have a direct connection relationship. The preset threshold is 0.7, and the implementer can also set other values.

[0064] Preferably, in one embodiment of the present invention, the method for obtaining a sample community includes:

[0065] In each sample relationship network, each compression algorithm of the historical sample data corresponding to each node is used as a label, and the corresponding sample relationship network is divided based on the SLPA algorithm to obtain all sample communities;

[0066] During the label iterative propagation process of the SLPA algorithm, in each node and all corresponding connected nodes, the union of the compression algorithms of all nodes corresponding to the historical sample data is taken as the set of all alternative compression algorithms for each node; according to the frequency of occurrence of each alternative compression algorithm at each node and the corresponding compression effect, the reference index of each alternative compression algorithm is obtained; and the label of each node is updated according to the reference index.

[0067] In the embodiment of the present invention, based on the idea of ​​label propagation algorithm, the compression algorithm is used as the label of the corresponding node to perform community division; as an example, the compression algorithms corresponding to the historical sample data of a certain node in the preset compression specification library include three, and there are three corresponding labels. Then, the Speaker-Listener Label Propagation Algorithm (SLPA) algorithm based on label propagation is used to divide each sample relationship network and obtain all sample communities.

[0068] Considering that in the iterative propagation process of labels of the traditional SLPA algorithm, each node acts as a listener, and its connected node will act as a neighbor node to select a label from its own storage as the speaking label to propagate to the listener, where the selected label is usually a label with a high frequency of occurrence; the traditional algorithm only propagates and updates the label according to the frequency of occurrence, ignoring the compression effect of the label corresponding compression algorithm, which may result in the final community label corresponding compression algorithm having an unsatisfactory compression effect on the historical sample data in the community.

[0069] Therefore, in an embodiment of the present invention, during the label iterative propagation process of the SLPA algorithm, the compression algorithms of all historical sample data corresponding to each listener's corresponding node and its neighboring nodes are used as all alternative compression algorithms of the listener; then, based on the frequency of occurrence of each alternative compression algorithm at each node and the corresponding compression effect, the reference index of each alternative compression algorithm is obtained; and then, the label of each node is updated according to the reference index, and specifically, the alternative compression algorithm with the largest reference index is used as an updated label and added to all labels of the corresponding node.

[0070] As an example, during a certain label iterative propagation process, the corresponding labels, that is, the compression algorithms, of listener A are a1, a2, and a3, and the corresponding labels, that is, the compression algorithms, of all its neighbor nodes B, C, and D are b1, a2, b2 and c1, b2, a3, and a1, d2, respectively. Then, all the alternative compression algorithms of listener A are the union of all labels: a1, a2, a3, b1, b2, c1, d2. Assuming that it is calculated that the reference index of the alternative compression algorithm b2 is the largest, it is added to all labels of listener A, that is, after this label iterative propagation, the labels of listener A become a1, a2, a3, and b2.

[0071] It should be noted that the number of iterations of the label iterative propagation process of the SLPA algorithm is set to 50, and the implementer can also set other iteration cutoff conditions; using the SLPA algorithm to divide the sample relationship network is an existing technology well known to those skilled in the art and will not be repeated here.

[0072] In another embodiment of the present invention, the implementer may also use a similarity-based hierarchical clustering algorithm to cluster the sample relationship network, and use the similarity between two nodes to merge similar relationships, so as to obtain all clusters, and use one cluster as a sample community; the implementer may also directly use the similarity index between different historical sample data as a metric distance for clustering, so as to obtain all clusters, namely, sample communities, which is a prior art well known to those skilled in the art and will not be elaborated here.

[0073] In a preferred embodiment of the present invention, the method for obtaining the reference index includes:

[0074] See also Figure 2 , which shows a flow chart of a method for obtaining a reference index provided by an embodiment of the present invention, including:

[0075] Step S201: The compression effect of each candidate compression algorithm on the historical sample data corresponding to the corresponding node is used as a target reference coefficient.

[0076] The target reference index is based on the compression effect of the alternative compression algorithm on the historical sample data at the listener node, and evaluates the priority of the corresponding label of the alternative compression algorithm in the subsequent propagation process.

[0077] Step S202, among all the connection nodes of each node, a connection reference coefficient is obtained according to the occurrence frequency of each candidate compression algorithm and the compression effect of the historical sample data corresponding to each connection node.

[0078] The connection reference coefficient is combined with the appearance frequency of the alternative compression algorithm in the neighbor node relationship network of each listener node and the corresponding compression effect to comprehensively evaluate its priority.

[0079] As an example, the connection reference factor is calculated as: ; In the formula, The serial number of the alternative compression algorithm for each node; For each node The connection reference coefficients of the alternative compression algorithms; For each node, among all connected nodes The frequency of occurrence of the alternative compression algorithms; For each node, the serial number of the corresponding connected node; For the The alternative compression algorithm is The compression effect of the historical sample data corresponding to the connection nodes. The sum of the compression effects and the occurrence frequency of the alternative compression algorithm are combined by multiplication to obtain the connection reference coefficient; in other embodiments of the present invention, the implementer may also use basic mathematical operations such as addition or weighted summation and positive correlation mapping means, or may use the mean or mode instead of the sum of the compression effects to obtain the connection reference coefficient, which will not be repeated here.

[0080] Step S203, obtaining a reference index of each candidate compression algorithm at each node according to the target reference coefficient and the connection reference coefficient, wherein the target reference coefficient and the connection reference coefficient are both positively correlated with the reference index.

[0081] As an example, the reference index is calculated as:

[0082] ; In the formula, The serial number of the alternative compression algorithm for each node; For each node Reference index of alternative compression algorithms; is the standard normalization function; For each node In other embodiments of the present invention, the implementer may also use other positive correlation means to combine the two, and the normalization method is the maximum value and minimum value normalization, and other methods may also be used, which will not be repeated here.

[0083] It should be noted that when each alternative compression algorithm compresses the historical sample data corresponding to each node, the corresponding compression effect is not calculated, and the corresponding compression effect is set to 0 by default.

[0084] Among them, in a preferred embodiment of the present invention, the method for obtaining the compression effect includes:

[0085] See also Figure 3 , which shows a flow chart of a method for obtaining a compression effect provided by an embodiment of the present invention, including:

[0086] Step S301, obtaining a first effect parameter according to the compression ratio and compression rate of the historical sample data corresponding to each compression algorithm.

[0087] In one embodiment of the present invention, compression ratio and compression rate are considered to be two important indicators for evaluating data compression effect; as an example, the compression ratio and compression rate are added and combined as the first effect parameter; it should be noted that the method for obtaining the compression ratio and compression rate is an existing technology well known to those skilled in the art and will not be repeated here; in other embodiments of the present invention, the implementer may also select either of the two as the first effect parameter, or multiply or weightedly combine the two.

[0088] Step S302, under each compression algorithm, obtain a second effect parameter according to the compression and decompression duration of the corresponding historical sample data, and the difference between the sample values ​​before and after compression.

[0089] In one embodiment of the present invention, taking into account that too long compression and decompression time will affect the data processing efficiency, the compression effect will be relatively lower; and taking into account that the difference in sample values ​​before and after compression directly reflects the data loss in the compression process, since the high-dynamic simulation system has certain requirements on data accuracy, the loss of sample data directly affects the subsequent simulation process and simulation result evaluation; the greater the difference in sample values, the worse the compression effect.

[0090] As an example, the compression time and decompression time of the corresponding historical sample data of each compression algorithm are summed to obtain a time parameter; then the sample value difference of the historical sample data before compression and after decompression of the corresponding historical sample data of each compression algorithm is obtained, wherein the method for obtaining the sample value difference is consistent with the method for obtaining the sample value difference in the similarity index, which will not be repeated here; after multiplying and combining the time parameter and the sample value difference, an inverse operation is performed to adjust the logic to obtain a second effect parameter.

[0091] In other examples, the implementer may also use the larger of the compression duration and decompression duration of each compression algorithm for the corresponding historical sample data as the duration parameter; or may combine the duration parameter and the sample value difference through basic mathematical operations such as addition or weighted summation, and adjust the logic of the combined result by other negative correlation mapping means, such as using the combined result as an exponential function with the natural constant e as the base. The exponent in gets the second effect parameter.

[0092] Step S303: Obtain the compression effect of each compression algorithm on the corresponding historical sample data according to the first effect parameter and the second effect parameter.

[0093] As an example, the first effect parameter and the second effect parameter are multiplied and combined to obtain a compression effect; in other embodiments of the present invention, the two can also be combined through basic mathematical operations such as addition or weighted summation, which will not be repeated here.

[0094] Furthermore, a community compression algorithm corresponding to each sample community is obtained.

[0095] Preferably, in one embodiment of the present invention, considering that after the sample community is divided, each node may still contain multiple labels, and the label corresponding to the compression algorithm with the highest frequency of occurrence and the best compression effect is more suitable as the community compression algorithm representative of the corresponding sample community; therefore, the method for obtaining the community compression algorithm includes:

[0096] In each sample community, the compression algorithm of the labels corresponding to all nodes is used as the initial screening community compression algorithm. According to the compression effect and occurrence frequency of the initial screening community compression algorithm on the corresponding historical sample data, the priority of each initial screening community compression algorithm is obtained. The occurrence frequency and compression effect are positively correlated with the priority.

[0097] The initial screening community compression algorithm with the highest priority is used as the community compression algorithm for the corresponding sample community.

[0098] As an example, firstly, the initial screening community compression algorithms corresponding to all nodes in a sample community are counted. The acquisition method is the same as the acquisition method of the alternative compression algorithm, which is to obtain the union, and will not be repeated here; then the priority of each initial screening community compression algorithm is obtained. The priority calculation formula is: ; In the formula, For the In the sample community The priority of the initial screening community compression algorithm; is the standard normalization function; For the In the sample community The frequency of occurrence of the first screening community compression algorithm; For the In the sample community The average value of the compression effect of the initial screening community compression algorithm on the historical sample data corresponding to all nodes in the sample community.

[0099] It should be noted that in the priority calculation formula, the frequency of occurrence and the average compression effect are multiplied and combined. In other embodiments of the present invention, the implementer may also adopt basic mathematical operations such as addition or weighted summation and related mapping means. The normalization method adopted is the maximum and minimum value normalization method, and other methods may also be used, which are not elaborated here. There is a situation where each initial screening community compression algorithm does not calculate the corresponding compression effect when compressing the historical sample data corresponding to each node, and the corresponding compression effect is defaulted to 0.

[0100] At this point, all sample communities of the sample relationship network corresponding to each modality are obtained, and the community compression algorithm corresponding to each sample community is obtained.

[0101] In step S3, each current sample data under each mode in the current simulation process is used as data to be compressed; according to the similarity between each data to be compressed and all historical sample data in each sample community under the same mode, the community to which each data to be compressed belongs is screened out from all sample communities, and the corresponding data to be compressed is compressed using the corresponding community compression algorithm of the belonging community.

[0102] In order to improve the compression effect of multi-modal simulation sample data, in steps S1 to S2, the sample community division under multimodality has been carried out according to the historical sample data in the historical simulation process. Then, the multimodal sample data newly acquired in the current simulation process can be compared with the historical sample data in each sample community for features, and the sample community to which each current sample data under each modality belongs can be matched, so as to be compressed using the community compression algorithm of the sample community to which it belongs.

[0103] It should be noted that the current sample data is the sample data under multi-modal conditions obtained during the current simulation process, which also includes input data and output simulation data, and is essentially the same as the historical sample data, except that it is different input data and output simulation data obtained during different simulation processes.

[0104] Preferably, in one embodiment of the present invention, the method for obtaining the belonging community includes:

[0105] See also Figure 4 , which shows a flow chart of a method for obtaining a belonging community provided by an embodiment of the present invention, including:

[0106] Step S401 , taking all sample communities in the sample relationship network under the mode corresponding to each data to be compressed as the initial screening belonging community of each data to be compressed.

[0107] The modality of each data to be compressed is the same as the modality of the community to which it belongs in the initial screening, so as to facilitate further screening.

[0108] Step S402, according to the size difference and sample value difference between each data to be compressed and the historical sample data in each initially screened belonging community, the belonging degree of each data to be compressed to each initially screened belonging community is obtained, and the size difference and sample value difference are both positively correlated with the belonging degree.

[0109] The degree of belonging comprehensively reflects the similarity between the data to be compressed and the corresponding historical samples of all nodes in each initially screened belonging community, and indirectly reflects the suitability of the data to be compressed using the community compression algorithm corresponding to the initially screened belonging community.

[0110] As an example, first, based on the size difference and sample value difference between each data to be compressed and the historical sample data in each initially screened belonging community, obtain the similarity index between each data to be compressed and the corresponding historical sample data of each node in each initially screened belonging community, average all similarity indices to obtain the belonging parameter of each data to be compressed relative to each initially screened belonging community, further normalize the belonging parameter to obtain the degree of belonging; wherein, the normalization method is specifically to sum the belonging parameters of the current data to be compressed relative to all the initially screened belonging communities, and use the sum value as the denominator to normalize each belonging parameter; the method for obtaining the similarity index has been described in step S2 and will not be repeated here.

[0111] Step S403: Among all the initially screened belonging communities, the initially screened belonging community with the greatest belonging degree is used as the belonging community corresponding to the data to be compressed.

[0112] The greater the degree of belonging, the higher the similarity between the data to be compressed and the historical sample data in the initial screening belonging community, and the better the compression effect when using the same compression algorithm, that is, the corresponding community compression algorithm. Therefore, the initial screening belonging community with the largest degree of belonging is used as the belonging community corresponding to the data to be compressed.

[0113] At this point, the community compression algorithm corresponding to the belonging community can be used to compress each current sample data under each mode in the current simulation process to obtain the compression result of the multi-modal high-dynamic simulation system data.

[0114] In summary, the embodiment of the present invention first obtains all historical sample data under all modes; builds a preset compression specification library based on the historical sample data; further obtains the sample relationship network under each mode according to the similarity between the historical sample data, thereby obtaining all sample communities and corresponding community compression algorithms in each sample relationship network; further uses each current sample data under each mode in the current simulation process as data to be compressed, and then screens out the belonging community of each data to be compressed, and compresses the corresponding data to be compressed using the corresponding community compression algorithm of the belonging community. The present invention improves the community division process based on the frequency of occurrence and compression effect of the compression algorithm, improves the community division effect, and uses the similarity of the internal features between the current multi-sample sample data and the historical sample data in each sample community to quickly match the corresponding belonging community, thereby improving the compression effect and efficiency of the current multi-sample sample data.

[0115] It should be noted that the sequence of the above embodiments of the present invention is for description only and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0116] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A data compression method for a high dynamic simulation system based on multi-mode data, It is characterized in that The method comprises: Acquire all historical sample data under all modes in the historical simulation process of the high dynamic simulation system; construct a preset compression specification library based on the historical sample data, wherein the preset compression specification library includes at least two compression algorithms for compressing each of the historical sample data; According to the similarity between different historical sample data under the same modality, a sample relationship network under each modality is obtained; in each sample relationship network, according to the occurrence frequency of the compression algorithm corresponding to the historical sample data of each node and the compression effect on the corresponding historical sample data, combined with the node connection relationship, all sample communities and corresponding community compression algorithms in each sample relationship network are obtained; Each current sample data under each mode in the current simulation process is used as data to be compressed; according to the similarity between each data to be compressed and all the historical sample data in each sample community under the same mode, the belonging community of each data to be compressed is screened out from all the sample communities, and the corresponding data to be compressed is compressed using the community compression algorithm corresponding to the belonging community.

2. According to claim 1, a data compression method for a high dynamic simulation system based on multi-mode data, It is characterized in that The method for obtaining the sample relationship network includes: In each mode, a similarity index is obtained according to the size difference and sample value difference between the different historical sample data, and the size difference and the sample value difference are both negatively correlated with the similarity index; According to the similarity index between different historical sample data, the direct connection relationship between corresponding different nodes is obtained to construct a sample relationship network.

3. The method for compressing data of a high dynamic simulation system based on multi-mode data according to claim 2, It is characterized in that The method for obtaining the direct connection relationship includes: When the similarity index is greater than a preset threshold, it is determined that there is a direct connection relationship between the corresponding different nodes.

4. The method for compressing data of a high dynamic simulation system based on multi-mode data according to claim 1, It is characterized in that The method for obtaining the sample community includes: In each of the sample relationship networks, each compression algorithm of the historical sample data corresponding to each node is used as a label, and the corresponding sample relationship network is divided based on the SLPA algorithm to obtain all sample communities; During the label iterative propagation process of the SLPA algorithm, the union of the compression algorithms of each node and all connected nodes corresponding to the historical sample data is taken as the set of all alternative compression algorithms for each node; based on the frequency of occurrence of each alternative compression algorithm at each node and the corresponding compression effect, the reference index of each alternative compression algorithm is obtained; and the label of each node is updated according to the reference index.

5. The method for compressing data of a high dynamic simulation system based on multi-mode data according to claim 4, It is characterized in that The method for obtaining the reference index includes: Using the compression effect of each of the candidate compression algorithms on the historical sample data of the corresponding node as a target reference coefficient; Among all the connection nodes of each node, a connection reference coefficient is obtained according to the occurrence frequency of each of the candidate compression algorithms and the compression effect of each connection node corresponding to the historical sample data; According to the target reference coefficient and the connection reference coefficient, a reference index of each of the alternative compression algorithms at each node is obtained, and the target reference coefficient and the connection reference coefficient are both positively correlated with the reference index.

6. The method for compressing data of a high dynamic simulation system based on multi-mode data according to claim 4, It is characterized in that The method of updating the label of each node according to the reference index includes: The candidate compression algorithm with the largest reference index is added as an update label to all labels of the corresponding node.

7. The method for compressing data of a high dynamic simulation system based on multi-mode data according to claim 4, It is characterized in that The method for obtaining the community compression algorithm includes: In each of the sample communities, the compression algorithms corresponding to the labels of all nodes are used as the primary screening community compression algorithms; according to the compression effect and occurrence frequency of the primary screening community compression algorithms on the corresponding historical sample data, the priority of each of the primary screening community compression algorithms is obtained, and the occurrence frequency and the compression effect are both positively correlated with the priority; The primary screening community compression algorithm with the highest priority is used as the community compression algorithm corresponding to the sample community.

8. The method for compressing data of a high dynamic simulation system based on multi-mode data according to claim 1, It is characterized in that The method for obtaining the belonging community includes: All the sample communities in the sample relationship network under the mode corresponding to each of the data to be compressed are used as the initial screening belonging communities of each of the data to be compressed; According to the size difference and sample value difference between each of the to-be-compressed data and the historical sample data in each of the pre-screened belonging communities, the degree of belonging of each of the to-be-compressed data to each of the pre-screened belonging communities is obtained, and the size difference and the sample value difference are both positively correlated with the degree of belonging; Among all the initially screened belonging communities, the initially screened belonging community with the greatest belonging degree is used as the belonging community corresponding to the data to be compressed.

9. The method for compressing data of a high dynamic simulation system based on multi-mode data according to claim 1, It is characterized in that The method for obtaining the compression effect includes: Obtaining a first effect parameter according to the compression ratio and compression rate of the historical sample data compressed by each compression algorithm; Under each of the compression algorithms, obtaining a second effect parameter according to the compression and decompression duration of the corresponding historical sample data and the difference between the sample values ​​before and after compression; The compression effect of each compression algorithm on the corresponding historical sample data is obtained according to the first effect parameter and the second effect parameter.

10. The method for compressing data of a high dynamic simulation system based on multi-mode data according to claim 1, It is characterized in that The modality includes at least text, numerical value, image, and audio.