Data exchange method, data exchange node and data center network
By classifying and encrypting the data and selecting the best channel based on the status evaluation of the data transmission channel, the problems of low data security and transmission efficiency in the prior art are solved, and the secure and efficient transmission of data in the data center network is achieved.
Patent Information
- Application Number
- CN202411244091.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-12-06
AI Technical Summary
In the prior art, data exchange methods do not fully consider data security, resulting in low data leakage and transmission efficiency. The unified encryption method is prone to data leakage, ignoring the status evaluation of the data transmission channel.
By classifying and encrypting the target data, a special data transmission channel is determined to ensure that the data is transmitted safely and efficiently in the data center network. Specific steps include receiving data exchange requests, parsing and verifying identity, classifying data, selecting appropriate encryption policies, and selecting the best transmission channel based on the transmission channel status evaluation.
Effectively protect data security, reduce leakage risks, ensure accurate and stable data transmission, optimize the operation efficiency and response speed of the data center network, and adapt to the needs of a variety of business scenarios.
Smart Images

Figure CN119094208A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network communication technology, and in particular to a data exchange method, a data exchange node and a data center network. Background Art
[0002] In the era of information globalization, with the continuous development and popularization of modern computer technology and Internet communication technology, the division of labor in large-scale socialized production has become increasingly detailed, and subjects who do not know each other often need to interact with each other to complete certain activities, such as online transactions, point-to-point file transfer and download, etc. Therefore, the use of the Internet for data exchange has become very common.
[0003] However, the following problems exist in the prior art: (1) The data exchange method in the prior art does not fully consider the security of the data. Since the Internet is an open network, when various terminals exchange data in the Internet, the data is actually exposed on the network exchange path. Hackers or illegal users may use malicious software to intercept the data on the exchange path. For example, the client's request command is easily hijacked to disguise as a client and send a request command to the data server, which will cause a large amount of data to be leaked; (2) The prior art often uses a unified encryption method for data between nodes, which can easily cause data leakage; (3) The allocation of data transmission channels in the prior art is often based on whether they are idle, ignoring the status evaluation of the data transmission channel, resulting in a decrease in transmission efficiency; Based on the above problems, there is an urgent need for a new secure data exchange method that can encrypt data according to the type of data during the data exchange process and determine the effective data transmission channel. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems in the above-mentioned technology to a certain extent. To this end, the first aspect of the present invention aims to provide a data exchange method, which can effectively protect the confidentiality and integrity of the data and reduce the risk of data leakage by classifying and encrypting the target data, and determining the target data transmission channel helps to ensure that the data can be accurately and efficiently transmitted to the designated node.
[0005] A second aspect of the present invention aims to provide a data exchange node.
[0006] A third aspect of the present invention aims to provide a data center network.
[0007] To achieve the above object, a first aspect of the present invention provides a data exchange method, which is applied to a data exchange node and includes:
[0008] In the data center network, a first data node receives data exchange request information sent by a second data node;
[0009] Based on the data exchange request information, determining target data corresponding to the data exchange request information in the first data node;
[0010] Classifying the target data to obtain a plurality of target classification data groups;
[0011] Encrypting a plurality of target classified data groups respectively, and determining a target data transmission channel between the first data node and the second data node after the encryption is completed;
[0012] The encrypted target classification data group is transmitted based on the target data transmission channel to complete the data exchange.
[0013] Preferably, before determining the target data corresponding to the data exchange request information in the first data node based on the data exchange request information, the method further includes:
[0014] Parsing the data exchange request information to obtain identity authentication information of the second data node;
[0015] The data exchange permission table is queried based on the identity authentication information of the second data node, and when it is determined that the identity authentication information of the second data node matches the identity information in the data exchange permission table, it is determined that the identity authentication of the second data node is passed.
[0016] Preferably, based on the data exchange request information, determining the target data corresponding to the data exchange request information in the first data node includes:
[0017] Perform data analysis on the data exchange request information to determine the request information;
[0018] Determine a number of request indexes based on the request information;
[0019] A search is performed in the database of the first data node based on the request index to determine the corresponding target data.
[0020] Preferably, the target data is classified to obtain several target classification data groups, including:
[0021] Counting the data volume of the target data to obtain a data volume value of the target data;
[0022] Based on the data volume value of the target data, a data volume-cluster center quantity recommendation table is queried to obtain a recommended value range of cluster centers corresponding to the target data;
[0023] Taking the minimum value in the recommended numerical range of the cluster center to cluster the target data, and obtaining a number of initial classification data; calculating the Euclidean distance between the cluster centers of any two initial classification data, and obtaining a number of Euclidean distances;
[0024] The mean is calculated based on the sum of several Euclidean distances as the cluster center judgment value;
[0025] Taking the recommended values in the recommended numerical range of the cluster center in turn to cluster the target data, and obtaining the cluster center judgment value corresponding to each recommended value in the recommended numerical range of the cluster center;
[0026] The cluster center judgment values are sorted in order of the size of the cluster center recommended values, and the difference between any two adjacent cluster center judgment values is calculated, and the minimum value among the differences is obtained to obtain the minimum difference;
[0027] Comparing the minimum difference with a preset difference threshold, and when determining that the minimum difference is less than the preset difference threshold, taking a larger value in the cluster center recommendation value group corresponding to the minimum difference as a target cluster center recommendation value;
[0028] The target data is clustered based on the target cluster center recommendation value to obtain several target classification data groups.
[0029] Preferably, the encrypting of several target classification data groups respectively comprises:
[0030] Input each target classification data group into a pre-trained feature extraction model for feature extraction to obtain the number of features corresponding to each target classification data group;
[0031] Get the data volume of each target classification data group;
[0032] The ratio of the number of features and the amount of data corresponding to each target classification data group is used as the data importance value;
[0033] Comparing the data importance value with a preset importance threshold;
[0034] If the data importance value is greater than or equal to a preset importance threshold, the target classified data group is encrypted based on a first encryption strategy; the first encryption strategy includes multiple types of encryption algorithms;
[0035] If the data importance value is less than a preset importance threshold, the target classified data group is encrypted based on a second encryption strategy; the second encryption strategy includes a single type of encryption algorithm.
[0036] Preferably, determining a target data transmission channel between the first data node and the second data node after encryption is completed includes:
[0037] Acquire status information of all current data transmission channels between the first data node and the second data node; the status information includes bandwidth, transmission power, noise power spectrum density, transmission delay of the current transmission channel, and historical average transmission delay of the current transmission channel within a preset time period;
[0038] According to the status information of all the current data transmission channels, based on a first preset algorithm, all the current data transmission channels are evaluated to obtain first evaluation values of all the data transmission channels;
[0039] comparing the first evaluation value with a first preset evaluation threshold;
[0040] Taking the data transmission channel whose evaluation value is greater than or equal to the first preset evaluation threshold as the initial data transmission channel, to obtain a plurality of initial data transmission channels;
[0041] Obtain the data information that has been currently transmitted corresponding to each initial data transmission channel;
[0042] Determine, based on the second preset algorithm, a number of integrity information of the currently transmitted data information corresponding to each initial data transmission channel according to the currently transmitted data information;
[0043] Taking the average of the plurality of integrity information as the second evaluation value of the initial data transmission channel;
[0044] comparing the second evaluation value with a second preset evaluation threshold;
[0045] An initial data transmission channel whose second evaluation value is greater than or equal to a second preset evaluation threshold is used as a target data transmission channel.
[0046] Preferably, the first preset algorithm includes:
[0047]
[0048] Among them, M i It is represented as the first evaluation value of the i-th data transmission channel, H i It is represented as the bandwidth of the i-th data transmission channel; ε represents the gain coefficient corresponding to the i-th data transmission channel, and its value is [0.5, 1.5]; W i represents the transmission power of the i-th data transmission channel; N i represents the noise power spectral density of the i-th data transmission channel; e represents a natural constant; F i represents the current transmission delay of the i-th data transmission channel; Represents the historical average transmission delay of the i-th data transmission channel within a preset time period.
[0049] Preferably, the second preset algorithm includes:
[0050]
[0051] Among them, k i , j A is the integrity of the i-th transmission data in the j-th initial data transmission channel; α, β, γ are preset weight coefficients, and α+β+γ=1; i represents the amount of data after the i-th transmission data is transmitted, A1 represents the amount of data before the i-th transmission data is transmitted, T i represents the transmission time of the i-th transmission data, T1 represents the estimated transmission time of the i-th transmission data, N represents the total number of transmission data in the j-th initial data transmission channel, S i It is expressed as the load rate of the i-th transmission data, It is expressed as the average load rate of the jth initial data transmission channel in the preset time period, Y i represents the network signal value of the i-th transmission data during the transmission process, and Y1 represents the noise signal value of the i-th transmission data during the transmission process; the network signal includes a valid signal and a noise signal.
[0052] To achieve the above object, a second aspect of the present invention provides a data exchange node, which is applied to a data center network, including:
[0053] A receiving module, used to receive data exchange request information sent by other data exchange nodes in the data center network;
[0054] A confirmation module, configured to determine target data corresponding to the data exchange request information based on the data exchange request information;
[0055] A classification module, used for classifying the target data to obtain a plurality of target classification data groups;
[0056] An encryption module, used to encrypt several target classification data groups respectively, and determine the target data transmission channel between the current data exchange node and other data exchange nodes after the encryption is completed;
[0057] The transmission module is used to transmit the encrypted target classification data group based on the target data transmission channel to complete data exchange.
[0058] To achieve the above-mentioned purpose, a third aspect of the present invention provides a data center network, comprising a plurality of the above-mentioned data exchange nodes.
[0059] The present invention discloses a data exchange method, a data exchange node and a data center network. By classifying and encrypting the transmission data between data nodes, the security of target data in the exchange process is effectively protected to prevent the data from being illegally stolen or tampered with; the classification process makes the data structure clearer and is convenient for subsequent data processing and use; a special target data transmission channel is determined to ensure that the data is accurately and stably transmitted to the receiver; the classification and encryption strategies can be flexibly adjusted according to specific circumstances to meet the needs of various business scenarios; the optimized data exchange process helps to improve the operating efficiency and response speed of the entire data center network; the classification and encryption operations reduce the possibility of errors or confusion in data exchange; the safe and efficient data exchange mechanism is conducive to better data sharing and collaboration between different nodes.
[0060] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0061] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0063] Figure 1 is a flow chart of a data exchange method according to an embodiment of the present invention;
[0064] Figure 2 is a flow chart of determining target data according to one embodiment of the present invention;
[0065] Figure 3 is a block diagram of a data exchange node according to an embodiment of the present invention. DETAILED DESCRIPTION
[0066] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0067] Example 1
[0068] like Figure 1 As shown, a data exchange method is applied to a data exchange node, comprising steps S1-S5:
[0069] S1: In a data center network, a first data node receives data exchange request information sent by a second data node;
[0070] S2: Based on the data exchange request information, determine the target data corresponding to the data exchange request information in the first data node;
[0071] S3: classifying the target data to obtain a plurality of target classification data groups;
[0072] S4: encrypting a plurality of target classified data groups respectively, and determining a target data transmission channel between the first data node and the second data node after the encryption is completed;
[0073] S5: Transmitting the encrypted target classification data group based on the target data transmission channel to complete data exchange.
[0074] The beneficial effects of the above technical solution are: by classifying and encrypting the transmission data between data nodes, the security of the target data during the exchange process is effectively protected to prevent the data from being illegally stolen or tampered with; the classification processing makes the data structure clearer and facilitates subsequent data processing and use; determining a dedicated target data transmission channel can ensure that the data is accurately and stably transmitted to the recipient; the classification and encryption strategies can be flexibly adjusted according to specific circumstances to meet the needs of various business scenarios; the optimized data exchange process helps to improve the operating efficiency and response speed of the entire data center network; the classification and encryption operations reduce the possibility of errors or confusion in data exchange; the safe and efficient data exchange mechanism is conducive to better data sharing and collaboration between different nodes.
[0075] Example 2
[0076] Before determining, based on the data exchange request information, the target data corresponding to the data exchange request information in the first data node, the method further includes:
[0077] Parsing the data exchange request information to obtain identity authentication information of the second data node;
[0078] The data exchange permission table is queried based on the identity authentication information of the second data node, and when it is determined that the identity authentication information of the second data node matches the identity information in the data exchange permission table, it is determined that the identity authentication of the second data node is passed.
[0079] In this embodiment, the data exchange request information includes identity authentication information and target data request information.
[0080] In this embodiment, the data exchange permission table is a permission table pre-set based on the node permission information, and is used to limit the scope of operations and data access rights that can be performed by the second data node.
[0081] The beneficial effects of the above technical solution are: identity authentication is performed by parsing the request information to ensure that only legally authorized nodes can exchange data, preventing illegal access and data leakage; the query permission table can accurately define the scope of operations and data access rights that the second data node can perform, ensuring the compliance of data exchange; avoiding unauthorized nodes from interfering with the normal data exchange process and maintaining the good operation order of the data center network; effectively reducing the risk of data being maliciously acquired or abused, and improving the data security level of the entire system; a strict identity authentication mechanism helps to enhance trust between nodes and promote more reliable data exchange cooperation.
[0082] Example 3
[0083] like Figure 2 As shown, based on the data exchange request information, determining the target data corresponding to the data exchange request information in the first data node includes steps S21-S23:
[0084] S21: parsing the data exchange request information to determine the request information;
[0085] S22: Determine a number of request indexes based on the request information;
[0086] S23: Search in the database of the first data node based on the request index to determine the corresponding target data.
[0087] The beneficial effects of the above technical solution are: through detailed data analysis and clear request indexing, the required target data can be located more accurately, reducing misjudgments and erroneous extractions; targeted search methods can save time and resources and quickly obtain relevant data; it can flexibly adapt to data exchange requests of different types and structures, making the data exchange process more intelligent and efficient; clear steps and processes are helpful for subsequent management and troubleshooting of data exchange functions; ensuring that the target data obtained is highly matched with the request, thereby improving the effective use of data.
[0088] Example 4
[0089] The target data is classified to obtain several target classification data groups, including:
[0090] Counting the data volume of the target data to obtain a data volume value of the target data;
[0091] Based on the data volume value of the target data, a data volume-cluster center quantity recommendation table is queried to obtain a recommended value range of cluster centers corresponding to the target data;
[0092] Taking the minimum value in the recommended numerical range of the cluster center to cluster the target data, and obtaining a number of initial classification data; calculating the Euclidean distance between the cluster centers of any two initial classification data, and obtaining a number of Euclidean distances;
[0093] The mean is calculated based on the sum of several Euclidean distances as the cluster center judgment value;
[0094] Taking the recommended values in the recommended numerical range of the cluster center in turn to cluster the target data, and obtaining the cluster center judgment value corresponding to each recommended value in the recommended numerical range of the cluster center;
[0095] The cluster center judgment values are sorted in order of the size of the cluster center recommended values, and the difference between any two adjacent cluster center judgment values is calculated, and the minimum value among the differences is obtained to obtain the minimum difference;
[0096] Comparing the minimum difference with a preset difference threshold, and when determining that the minimum difference is less than the preset difference threshold, taking a larger value in the cluster center recommendation value group corresponding to the minimum difference as a target cluster center recommendation value;
[0097] The target data is clustered based on the target cluster center recommendation value to obtain several target classification data groups.
[0098] In this embodiment, the data volume-cluster center number recommendation table is queried based on the data volume value of the target data to obtain the recommended value range of the cluster centers corresponding to the target data. For example, 5 to 8 cluster centers are recommended for data volumes between 1000 and 2000, and 9 to 12 cluster centers are recommended for data volumes between 2000 and 3000.
[0099] The working principle of the above technical solution is as follows: statistics are performed on the data volume of the target data, assuming that the data volume of the target data is 1500, and the data volume-cluster center number recommendation table is queried. The data volume of 1500 falls between the data volume of 1000 and 2000, and the corresponding cluster center recommendation value range is 5 to 8 cluster centers; the minimum value 5 in the recommended value range of 5 to 8 of the cluster center is taken as the target number of cluster centers, and the target data is clustered to obtain 5 initial classified data; the Euclidean distance between the cluster centers of any two initial classified data in the 5 initial classified data is calculated to obtain a number of Euclidean distances; the mean value calculated according to the sum of the several Euclidean distances is used as the cluster center judgment value, and the corresponding cluster center judgment value when the cluster center recommendation value is 5 is assumed to be 25.3; 6, 7, and 8 in the recommended value range of 5 to 8 of the cluster center are taken as the target number of cluster centers to cluster the target data, and the result is When the cluster center recommendation values are 6, 7, and 8 respectively, the corresponding cluster center judgment values are assumed to be 26.3, 27.2, and 28.5; the cluster center judgment values are sorted in order of the size of the cluster center recommendation values. The size order of the cluster center recommendation values is 5, 6, 7, and 8, and the corresponding cluster center judgment values are arranged in the order of 25.3, 26.3, 27.2, and 28.5. The difference between any two adjacent cluster center judgment values is calculated, and the difference values are 1, 0.9, and 1.3 respectively. The minimum difference is 0.9. Assuming that the preset difference threshold is 0.95, the minimum difference 0.9 is less than the preset difference threshold 0.95. At this time, the cluster center recommendation value group corresponding to the minimum difference 0.9 is 6 and 7. The larger value 7 in the cluster center recommendation value group is used as the target cluster center recommendation value. The target data is clustered based on the target cluster center recommendation value to obtain several target classification data groups.
[0100] The beneficial effects of the above technical solution are: through the analysis of the data volume and a series of clustering operations, the target data can be classified more scientifically and reasonably, and the accuracy and pertinence of the classification can be improved; the recommended value range of the cluster center is dynamically determined according to the data volume, and the optimal recommended value of the cluster center is found through comparison, so that the classification can adapt to data of different sizes and has good adaptability; reasonable cluster center selection helps to reduce unnecessary computing resource consumption and improve the efficiency of the entire processing process; the meticulous classification process helps to better understand and analyze the target data, and provide a more valuable foundation for subsequent data processing and application; through multiple rounds of clustering and comparison, the reliability and stability of the classification results are ensured, and the risk of misjudgment is reduced.
[0101] Example 5
[0102] The step of respectively encrypting a plurality of target classification data groups comprises:
[0103] Input each target classification data group into a pre-trained feature extraction model for feature extraction to obtain the number of features corresponding to each target classification data group;
[0104] Get the data volume of each target classification data group;
[0105] The ratio of the number of features and the amount of data corresponding to each target classification data group is used as the data importance value;
[0106] Comparing the data importance value with a preset importance threshold;
[0107] If the data importance value is greater than or equal to a preset importance threshold, the target classified data group is encrypted based on a first encryption strategy; the first encryption strategy includes multiple types of encryption algorithms;
[0108] If the data importance value is less than a preset importance threshold, the target classified data group is encrypted based on a second encryption strategy; the second encryption strategy includes a single type of encryption algorithm.
[0109] In this embodiment, the feature extraction model is a model trained in advance for extracting features from data, and is obtained by training based on a neural network model.
[0110] In this embodiment, the number of features corresponding to each target classification data group, for example, target classification data group A includes 30 features.
[0111] The beneficial effects of the above technical scheme are: different encryption strategies are selected according to the data importance value, so that data of different nature can be more targetedly encrypted and protected appropriately; more complex encryption strategies are adopted for data with high importance, and simpler strategies are adopted for relatively unimportant data, so as to reasonably allocate encryption resources; important data is ensured to receive stronger encryption protection and the overall security of the data is improved; the use of a single encryption algorithm for less important data can improve processing efficiency, taking into account both security and efficiency; it can adapt to target classified data groups of different types and importance, making the encryption scheme more flexible and practical.
[0112] Example 6
[0113] Determining a target data transmission channel between the first data node and the second data node after encryption is completed includes:
[0114] Acquire status information of all current data transmission channels between the first data node and the second data node; the status information includes bandwidth, transmission power, noise power spectrum density, transmission delay of the current transmission channel, and historical average transmission delay of the current transmission channel within a preset time period;
[0115] According to the status information of all the current data transmission channels, based on a first preset algorithm, all the current data transmission channels are evaluated to obtain first evaluation values of all the data transmission channels;
[0116] comparing the first evaluation value with a first preset evaluation threshold;
[0117] Taking the data transmission channel whose evaluation value is greater than or equal to the first preset evaluation threshold as the initial data transmission channel, to obtain a plurality of initial data transmission channels;
[0118] Obtain the data information that has been currently transmitted corresponding to each initial data transmission channel;
[0119] Determine, based on the second preset algorithm, a number of integrity information of the currently transmitted data information corresponding to each initial data transmission channel according to the currently transmitted data information;
[0120] Taking the average of the plurality of integrity information as the second evaluation value of the initial data transmission channel;
[0121] comparing the second evaluation value with a second preset evaluation threshold;
[0122] An initial data transmission channel whose second evaluation value is greater than or equal to a second preset evaluation threshold is used as a target data transmission channel.
[0123] In this embodiment, the first preset algorithm evaluates each transmission channel based on the bandwidth, transmission power, noise power spectrum density, transmission delay of the current transmission channel, and the historical average transmission delay of the current transmission channel within a preset time period.
[0124] In this embodiment, the second preset algorithm is to evaluate the integrity of the data that has been transmitted in the initial data transmission channel, and to evaluate and screen the initial data transmission channel from the perspective of data integrity.
[0125] The beneficial effects of the above technical solution are: by comprehensively considering various status information of the transmission channel, channels with better conditions such as bandwidth and power can be selected to ensure the high efficiency of data transmission; paying attention to factors such as transmission delay helps to screen out more stable transmission channels and reduce the risk of transmission interruption or delay; the channel is further evaluated based on the integrity of the transmitted data to ensure the integrity of the target data during the transmission process; multiple rounds of evaluation and comparison can accurately determine the target data transmission channel that best suits the current transmission needs; avoid using channels with poor quality, reasonably allocate transmission resources, and improve overall transmission efficiency and quality.
[0126] Example 7
[0127] The first preset algorithm includes:
[0128]
[0129] Among them, M i It is represented as the first evaluation value of the i-th data transmission channel, H i is represented by the bandwidth of the i-th data transmission channel; ε represents the gain coefficient corresponding to the i-th data transmission channel, W i represents the transmission power of the i-th data transmission channel; N i represents the noise power spectral density of the i-th data transmission channel; e represents a natural constant; F i represents the current transmission delay of the i-th data transmission channel; Represents the historical average transmission delay of the i-th data transmission channel within a preset time period.
[0130] In this embodiment, the gain coefficient corresponding to the data transmission channel is related to the noise level in the data transmission channel. The greater the noise level, the smaller the gain coefficient, and the smaller the noise level, the larger the gain coefficient.
[0131] The beneficial effects of the above technical solution are: the algorithm comprehensively considers the impact of multiple factors such as bandwidth, transmission power, noise, etc. on the data transmission channel, and the evaluation is more comprehensive; through complex calculation methods, it can more accurately reflect the actual performance and quality of the channel; the current transmission delay and historical average transmission delay are introduced, so that the evaluation can adapt to the changes in channel status at different time points; it helps to screen out channels with better performance in terms of bandwidth, signal quality and transmission delay, and improve data transmission effects.
[0132] Example 8
[0133] The second preset algorithm includes:
[0134]
[0135] Among them, k i , j A is the integrity of the i-th transmission data in the j-th initial data transmission channel; α, β, γ are preset weight coefficients, and α+β+γ=1; i represents the amount of data after the i-th transmission data is transmitted, A1 represents the amount of data before the i-th transmission data is transmitted, T i represents the transmission time of the i-th transmission data, T1 represents the estimated transmission time of the i-th transmission data, N represents the total number of transmission data in the j-th initial data transmission channel, S i It is expressed as the load rate of the i-th transmission data, It is expressed as the average load rate of the jth initial data transmission channel in the preset time period, Y irepresents the network signal value of the i-th transmission data during the transmission process, and Y1 represents the noise signal value of the i-th transmission data during the transmission process; the network signal includes a valid signal and a noise signal.
[0136] The beneficial effects of the above technical solution are: by considering multiple dimensions such as data volume, transmission time, load rate, network signal, etc., the integrity of the data is comprehensively evaluated to make the evaluation more accurate and reliable; it can flexibly evaluate according to the specific circumstances of different data and the real-time status of the transmission channel, and adapt to various complex scenarios; the meticulous calculation method helps to more accurately measure the integrity of each transmitted data, thereby providing a more accurate basis for selecting a suitable transmission channel; it can better understand the performance of each initial data transmission channel, facilitate the reasonable allocation of resources and optimize the transmission strategy; emphasize the integrity of the data, which helps to ensure that the transmitted data has high quality and accuracy.
[0137] like Figure 3 As shown, an embodiment of the second aspect of the present invention provides a data exchange node, which is applied to a data center network, including:
[0138] A receiving module, used to receive data exchange request information sent by other data exchange nodes in the data center network;
[0139] A confirmation module, configured to determine target data corresponding to the data exchange request information based on the data exchange request information;
[0140] A classification module, used for classifying the target data to obtain a plurality of target classification data groups;
[0141] An encryption module, used to encrypt several target classification data groups respectively, and determine the target data transmission channel between the current data exchange node and other data exchange nodes after the encryption is completed;
[0142] The transmission module is used to transmit the encrypted target classification data group based on the target data transmission channel to complete data exchange.
[0143] The beneficial effects of the above technical solution are: by classifying and encrypting the transmission data between data nodes, the security of the target data during the exchange process is effectively protected to prevent the data from being illegally stolen or tampered with; the classification processing makes the data structure clearer and facilitates subsequent data processing and use; determining a dedicated target data transmission channel can ensure that the data is accurately and stably transmitted to the recipient; the classification and encryption strategies can be flexibly adjusted according to specific circumstances to meet the needs of various business scenarios; the optimized data exchange process helps to improve the operating efficiency and response speed of the entire data center network; the classification and encryption operations reduce the possibility of errors or confusion in data exchange; the safe and efficient data exchange mechanism is conducive to better data sharing and collaboration between different nodes.
[0144] An embodiment of the third aspect of the present invention proposes a data center network, including a plurality of data exchange nodes as proposed in the above embodiments.
[0145] The beneficial effects of the above technical solution are: by classifying and encrypting the transmission data between data nodes, the security of the target data during the exchange process is effectively protected to prevent the data from being illegally stolen or tampered with; the classification processing makes the data structure clearer and facilitates subsequent data processing and use; determining a dedicated target data transmission channel can ensure that the data is accurately and stably transmitted to the recipient; the classification and encryption strategies can be flexibly adjusted according to specific circumstances to meet the needs of various business scenarios; the optimized data exchange process helps to improve the operating efficiency and response speed of the entire data center network; the classification and encryption operations reduce the possibility of errors or confusion in data exchange; the safe and efficient data exchange mechanism is conducive to better data sharing and collaboration between different nodes.
[0146] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A data exchange method, applied to a data exchange node, characterized in that: include: In the data center network, a first data node receives data exchange request information sent by a second data node; Based on the data exchange request information, determining target data corresponding to the data exchange request information in the first data node; Classifying the target data to obtain a plurality of target classification data groups; Encrypting a plurality of target classified data groups respectively, and determining a target data transmission channel between the first data node and the second data node after the encryption is completed; The encrypted target classification data group is transmitted based on the target data transmission channel to complete the data exchange.
2. The data exchange method according to claim 1, characterized in that: Before determining, based on the data exchange request information, the target data corresponding to the data exchange request information in the first data node, the method further includes: Parsing the data exchange request information to obtain identity authentication information of the second data node; The data exchange permission table is queried based on the identity authentication information of the second data node, and when it is determined that the identity authentication information of the second data node matches the identity information in the data exchange permission table, it is determined that the identity authentication of the second data node is passed.
3. The data exchange method according to claim 1, characterized in that: Determining, based on the data exchange request information, target data corresponding to the data exchange request information in the first data node includes: Perform data analysis on the data exchange request information to determine the request information; Determine a number of request indexes based on the request information; A search is performed in the database of the first data node based on the request index to determine the corresponding target data.
4. The data exchange method according to claim 1, characterized in that: The target data is classified to obtain several target classification data groups, including: Counting the data volume of the target data to obtain a data volume value of the target data; Based on the data volume value of the target data, a data volume-cluster center quantity recommendation table is queried to obtain a recommended value range of cluster centers corresponding to the target data; Taking the minimum value in the recommended numerical range of the cluster center to cluster the target data, and obtaining a number of initial classification data; calculating the Euclidean distance between the cluster centers of any two initial classification data, and obtaining a number of Euclidean distances; The mean is calculated based on the sum of several Euclidean distances as the cluster center judgment value; Taking the recommended values in the recommended numerical range of the cluster center in turn to cluster the target data, and obtaining the cluster center judgment value corresponding to each recommended value in the recommended numerical range of the cluster center; The cluster center judgment values are sorted in order of the size of the cluster center recommended values, and the difference between any two adjacent cluster center judgment values is calculated, and the minimum value among the differences is obtained to obtain the minimum difference; Comparing the minimum difference with a preset difference threshold, and when determining that the minimum difference is less than the preset difference threshold, taking a larger value in the cluster center recommendation value group corresponding to the minimum difference as a target cluster center recommendation value; The target data is clustered based on the target cluster center recommendation value to obtain several target classification data groups.
5. The data exchange method according to claim 1, characterized in that: The step of respectively encrypting a plurality of target classification data groups comprises: Input each target classification data group into a pre-trained feature extraction model for feature extraction to obtain the number of features corresponding to each target classification data group; Get the data volume of each target classification data group; The ratio of the number of features and the amount of data corresponding to each target classification data group is used as the data importance value; Comparing the data importance value with a preset importance threshold; If the data importance value is greater than or equal to a preset importance threshold, the target classified data group is encrypted based on a first encryption strategy; the first encryption strategy includes multiple types of encryption algorithms; If the data importance value is less than a preset importance threshold, the target classified data group is encrypted based on a second encryption strategy; the second encryption strategy includes a single type of encryption algorithm.
6. The data exchange method according to claim 1, characterized in that: Determining a target data transmission channel between the first data node and the second data node after encryption is completed includes: Acquire status information of all current data transmission channels between the first data node and the second data node; the status information includes bandwidth, transmission power, noise power spectrum density, transmission delay of the current transmission channel, and historical average transmission delay of the current transmission channel within a preset time period; According to the status information of all the current data transmission channels, based on a first preset algorithm, all the current data transmission channels are evaluated to obtain first evaluation values of all the data transmission channels; comparing the first evaluation value with a first preset evaluation threshold; Taking the data transmission channel whose evaluation value is greater than or equal to the first preset evaluation threshold as the initial data transmission channel, to obtain a plurality of initial data transmission channels; Obtain the data information that has been currently transmitted corresponding to each initial data transmission channel; Determine, based on the second preset algorithm, a number of integrity information of the currently transmitted data information corresponding to each initial data transmission channel according to the currently transmitted data information; Taking the average of the plurality of integrity information as the second evaluation value of the initial data transmission channel; comparing the second evaluation value with a second preset evaluation threshold; An initial data transmission channel whose second evaluation value is greater than or equal to a second preset evaluation threshold is used as a target data transmission channel.
7. The data exchange method according to claim 6, characterized in that: The first preset algorithm includes: Among them, M i It is represented as the first evaluation value of the i-th data transmission channel, H i It is represented as the bandwidth of the i-th data transmission channel; ε represents the gain coefficient corresponding to the i-th data transmission channel, and its value is [0.5, 1.5]; W i represents the transmission power of the i-th data transmission channel; N i represents the noise power spectral density of the i-th data transmission channel; e represents a natural constant; F i represents the current transmission delay of the i-th data transmission channel; Represents the historical average transmission delay of the i-th data transmission channel within a preset time period.
8. The data exchange method according to claim 6, characterized in that: The second preset algorithm includes: Among them, k i , j A is the integrity of the i-th transmission data in the j-th initial data transmission channel; α, β, γ are preset weight coefficients, and α+β+γ=1; i represents the amount of data after the i-th transmission data is transmitted, A1 represents the amount of data before the i-th transmission data is transmitted, T i represents the transmission time of the i-th transmission data, T1 represents the estimated transmission time of the i-th transmission data, N represents the total number of transmission data in the j-th initial data transmission channel, S i It is expressed as the load rate of the i-th transmission data, It is expressed as the average load rate of the jth initial data transmission channel in the preset time period, Y i represents the network signal value of the i-th transmission data during the transmission process, and Y1 represents the noise signal value of the i-th transmission data during the transmission process; the network signal includes a valid signal and a noise signal.
9. A data exchange node, applied to a data center network, characterized in that: include: A receiving module, used to receive data exchange request information sent by other data exchange nodes in the data center network; A confirmation module, configured to determine target data corresponding to the data exchange request information based on the data exchange request information; A classification module, used for classifying the target data to obtain a plurality of target classification data groups; An encryption module, used to encrypt several target classification data groups respectively, and determine the target data transmission channel between the current data exchange node and other data exchange nodes after the encryption is completed; The transmission module is used to transmit the encrypted target classification data group based on the target data transmission channel to complete data exchange.
10. A data center network, characterized in that: The method comprises a plurality of data exchange nodes as claimed in claim 9.
