Multi-source data synchronization processing system and method
By evaluating the importance of data sources and real-time network status in the multi-source data synchronization processing system, selecting the optimal transmission path and adjusting resource configuration, the problems of data synchronization delay and resource occupation in the existing technology are solved, and efficient and low-cost are achieved. Data synchronization.
Patent Information
- Application Number
- CN202411061637.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-05
AI Technical Summary
Existing data synchronization technology cannot effectively adapt to large network fluctuations, resulting in data synchronization delays or failures. It also fails to dynamically assess and prioritize the importance of data sources, resulting in non-critical data occupying resources and critical data being updated late, affecting the system. Response speed and decision-making efficiency.
Using a multi-source data synchronization processing system, the data priority evaluation module calculates the importance score of data sources, generates a synchronization priority list, selects the optimal transmission path based on real-time network status, performs data fragmentation and parallel transmission, and dynamically adjusts data Fragment size and transmission ratio, real-time optimization of resource configuration and synchronization frequency.
It achieves the accuracy of data flow monitoring, ensures data consistency and reliability, reduces data transmission delays and costs, improves network resource usage efficiency, optimizes resource configuration during data synchronization, and reduces data redundancy and system load. .
Smart Images

Figure CN118590503B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data synchronization technology, and in particular to a multi-source data synchronization processing system and method. Background Art
[0002] The field of data synchronization technology involves technologies and methods for maintaining data consistency and accuracy between multiple computing devices or systems, mainly ensuring that data in different geographical locations, different network environments or different storage systems can be updated in real time or regularly to reflect the latest status of the data. Data synchronization technology includes but is not limited to timestamp coordination, conflict resolution strategies, data compression and difference detection technology, as well as handling data conflicts, ensuring the security of data transmission, and optimizing the synchronization process to reduce network load and storage overhead. In modern IT architecture, data synchronization is the cornerstone of achieving data consistency in distributed systems, cloud services and big data technologies.
[0003] Among them, the multi-source data synchronization processing system focuses on implementing synchronization mechanisms between multiple data sources, with the goal of ensuring that the data from all data sources remain consistent and up-to-date. The system is usually applied to scenarios that require high data consistency, such as financial services, e-commerce, online services and other industries. Its uses include but are not limited to real-time data backup, disaster recovery, data warehouse synchronization and real-time data analysis. By effectively managing data flows and synchronization operations, the multi-source data synchronization processing system can improve the efficiency and accuracy of data processing while reducing the risk of data redundancy and inconsistency.
[0004] Existing data synchronization mechanisms may not be able to adapt effectively when the network fluctuates greatly, resulting in data synchronization delays or failures. Especially in scenarios where critical data needs to be updated quickly, delays may affect the response speed and decision-making efficiency of the entire system. In addition, existing technologies usually do not dynamically evaluate and prioritize the importance of data sources, resulting in less critical data occupying a large amount of resources, while critical data is not updated in a timely manner, which may cause serious consequences in rapidly changing industries such as finance or e-commerce. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a multi-source data synchronization processing system and method.
[0006] In order to achieve the above object, the present invention adopts the following technical solution: a multi-source data synchronization processing system comprises:
[0007] The data priority assessment module collects the update frequency, access frequency and geographic location information of the data source, calculates the importance score of each data source according to the business importance of the data source, monitors the data flow in real time based on the calculation results, excludes data items that deviate from the normal mode, determines the synchronization priority of each data source, and generates a data source synchronization priority list;
[0008] The data transmission path decision module receives the data source synchronization priority list, calculates the comprehensive transmission cost of each transmission path in combination with the real-time network status, selects the path with the lowest cost and the shortest delay, and generates the optimal transmission path configuration;
[0009] The multi-path transmission control module uses the optimal transmission path configuration to distribute data packets on multiple paths, performs data slicing and parallel transmission at the same time, dynamically adjusts the data slicing size and parallel transmission ratio according to network status feedback, and generates data synchronization transmission records;
[0010] The dynamic adjustment and optimization module monitors the network bandwidth usage, delay and packet loss rate during the data synchronization process according to the data synchronization transmission record, analyzes the system storage utilization, adjusts the data synchronization frequency in real time according to the analysis results, dynamically optimizes resource allocation and data synchronization efficiency, and generates a dynamic processing solution for multi-source data synchronization.
[0011] As a further solution of the present invention, the steps for calculating the importance score of each data source are:
[0012] Collect update frequency for each data source , access frequency and geographic location , using the formula,
[0013]
[0014] Calculate weighted sum , get the basic importance index of data source, where, is the distance index of the geographical location, is the weight of the update frequency, is the weight of the access frequency, is the weight of the geographical location, represents the natural exponential function, which is used to adjust the impact of geographical location on the importance index;
[0015] According to the basic importance index of the data source, combined with the business importance index of each data source, the basic importance index is adjusted using the formula:
[0016]
[0017] Calculate the adjusted data importance score , and get the adjusted data importance score, where is an indicator of the business importance of each data source, is the weight of business importance;
[0018] Based on the adjusted data importance score, normalization is performed using the formula:
[0019]
[0020] Calculate the normalized importance score of the data source ,in, is the maximum value of the adjusted data importance score, is the minimum value of the adjusted data importance score.
[0021] As a further solution of the present invention, the step of obtaining the data source synchronization priority list is:
[0022] Monitor the data flow of each data source, using formulas,
[0023]
[0024] Calculate the bias for each data source ,in, represents the actual data point of the current data stream, It is a normal value determined based on historical data;
[0025] Based on the deviation of the data source, the evaluation is performed, combined with the normalized importance score of the data source, using the formula:
[0026]
[0027] Calculating Data Source Sync Priority Score ,in, is the influence coefficient of the importance score, is the negative impact coefficient of the deviation degree;
[0028] According to the data source synchronization priority score, the data sources are sorted in synchronization priority, and a data source synchronization priority list is output.
[0029] As a further solution of the present invention, the step of acquiring the optimal transmission path configuration is:
[0030] Receiving the data source synchronization priority list, extracting the sorting result as a basic input for network resource allocation, and obtaining basic input data for network resource allocation;
[0031] Based on the basic input data of network resource allocation, the current network status is monitored in real time, the delay and bandwidth cost of each transmission path are collected, and the formula is used.
[0032]
[0033] Calculate the comprehensive transmission cost of each path , generating real-time transmission cost evaluation results, where Indicates the delay time. represents the bandwidth cost, and γ adjust the influence of delay and bandwidth cost and the weight of bandwidth inverse effect respectively;
[0034] According to the real-time transmission cost evaluation result, the formula is adopted:
[0035]
[0036] Calculate the optimal transmission cost on behalf of the data source , generate the transmission cost data of each path, where represents the regularization parameter, which is used to adjust the sensitivity of cost calculation;
[0037] According to the transmission cost data of each path, the formula is adopted:
[0038]
[0039] Choose the path with the lowest cost , generating the optimal transmission path configuration.
[0040] As a further solution of the present invention, the steps of acquiring the data synchronization transmission record are:
[0041] According to the optimal transmission path configuration, the data packets are initially allocated and fragmented according to the path bandwidth attribute, using the formula:
[0042]
[0043] Calculate the allocation to Packet size on each path , generate the initial data shard size, where, It is The theoretical bandwidth of the path, is the total amount of data, is the total number of paths;
[0044] According to the initial data shard size, parallel transmission is performed using the formula,
[0045]
[0046] Calculate the expected travel time on each path ,in, It is The actual bandwidth of the path;
[0047] According to the expected transmission time on each path, combined with real-time network feedback, the data fragmentation size and parallel transmission ratio on each path are dynamically adjusted, using the formula:
[0048]
[0049] Calculate the adjusted data shard size ,in, is the adjustment factor, which is used to control the adjustment range of the shard size. is the average transmission time of all paths;
[0050] The adjusted data slice size data and the expected transmission time on each path are combined to record the data packet size and transmission time of each path, and generate a data synchronization transmission record.
[0051] As a further solution of the present invention, the steps of analyzing the system storage utilization are:
[0052] Collect the data synchronization transmission records, including the timestamp, size and transmission status of each data packet, using the formula,
[0053]
[0054] Calculate the average bandwidth usage of the path , generating a preliminary bandwidth usage record, where Representative The bandwidth used by each packet, is the total bandwidth, Indicates the number of data streams;
[0055] Based on the preliminary bandwidth usage records, the latency and packet loss rate are analyzed, using the formula,
[0056] and
[0057] Calculate the average network latency and average packet loss rate , generate network performance indicators, where and Respectively represent The delay and packet loss of each data packet;
[0058] Based on the network performance indicators, evaluate the total system storage capacity and used space, using the formula,
[0059]
[0060] Calculating storage utilization , generate storage utilization analysis results, where, is the amount of storage used, is the total storage capacity.
[0061] As a further solution of the present invention, the steps for obtaining the multi-source data synchronization dynamic processing solution are:
[0062] According to the storage utilization analysis result, bandwidth utilization, delay, packet loss rate and storage utilization are integrated to evaluate the efficiency and potential bottlenecks of the current data synchronization process, and obtain synchronization efficiency and bottleneck evaluation results;
[0063] According to the synchronization efficiency and bottleneck evaluation results, the data synchronization frequency is dynamically adjusted to match the actual network and storage conditions, using the formula,
[0064]
[0065] Calculate the synchronization frequency , generates the adjusted synchronization frequency, where is the baseline synchronization frequency, and are the adjustment factors for network bandwidth and storage utilization, respectively, reflecting the impact of bandwidth and storage utilization on synchronization frequency. is the maximum bandwidth utilization threshold, is the maximum utilization threshold of storage;
[0066] The adjusted synchronization frequency is applied, combined with the real-time network status and storage data, to dynamically adjust the data synchronization parameters and operation procedures, and formulate and output a dynamic processing plan for multi-source data synchronization.
[0067] The multi-source data synchronization processing method comprises the following steps:
[0068] S1: Collect the update frequency, access frequency and geographic location of each data source, calculate the weighted sum, adjust it based on the business importance index of each data source, and perform normalization to obtain the normalized importance score of the data source;
[0069] S2: Monitor the data flow of each data source, calculate the deviation degree of each data source, calculate the synchronization priority score of each data source in combination with the normalized importance score of the data source, sort the synchronization priorities of the data sources, and obtain a data source synchronization priority list;
[0070] S3: receiving the data source synchronization priority list, monitoring the current network status in real time, collecting the delay and bandwidth cost of each transmission path, performing real-time transmission cost evaluation, calculating the optimal transmission cost of the representative data source, and generating the optimal transmission path configuration;
[0071] S4: According to the optimal transmission path configuration, preliminary allocation and fragmentation of data packets are performed and parallel transmission is performed. According to real-time network feedback, the data fragmentation size and parallel transmission ratio are dynamically adjusted, the data packet size and transmission time of each path are recorded, and a data synchronization transmission record is generated;
[0072] S5: Collect the data synchronization transmission records, calculate the average bandwidth usage of the path, analyze the delay and packet loss rate, evaluate the total storage capacity and used space of the system, and generate storage utilization analysis results;
[0073] S6: Based on the storage utilization analysis results, evaluate the efficiency and potential bottlenecks of the current data synchronization process, dynamically adjust the data synchronization frequency, match the actual network and storage conditions, combine the real-time network status and storage data, dynamically adjust the data synchronization parameters and operation procedures, and output a multi-source data synchronization dynamic processing solution.
[0074] Compared with the prior art, the advantages and positive effects of the present invention are:
[0075] In the present invention, the business importance of each data source is accurately evaluated by integrating the update frequency, access frequency and geographical location information of the data source, and the dynamic adjustment of the priority of data synchronization is realized, so that the monitoring of data flow is more accurate, and data items that deviate from the normal mode can be excluded in time to ensure the high consistency and reliability of data. The transmission path is selected in combination with the real-time network status to ensure high efficiency and low cost of data transmission, reduce the delay and cost of data transmission, and dynamically adjust the data segmentation and parallel transmission ratio according to the real-time feedback of the network, which greatly improves the utilization efficiency of network resources, optimizes the resource allocation in the data synchronization process, and effectively reduces data redundancy and system load. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1 is a system flow chart of the present invention;
[0077] Figure 2 A flow chart for calculating the importance score of each data source of the present invention;
[0078] Figure 3 A flowchart for obtaining a data source synchronization priority list of the present invention;
[0079] Figure 4 A flowchart for obtaining the optimal transmission path configuration of the present invention;
[0080] Figure 5 A flowchart for obtaining data synchronous transmission records of the present invention;
[0081] Figure 6 The present invention is a flow chart for analyzing the storage utilization of the system;
[0082] Figure 7 The figure is a flowchart for obtaining the multi-source data synchronization dynamic processing solution of the present invention. DETAILED DESCRIPTION
[0083] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0084] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.
[0085] See also Figure 1 , the multi-source data synchronization processing system includes:
[0086] The data priority assessment module collects the update frequency, access frequency and geographic location information of the data source, calculates the importance score of each data source according to the business importance of the data source, monitors the data flow in real time based on the calculation results, excludes data items that deviate from the normal mode, determines the synchronization priority of each data source, and generates a data source synchronization priority list;
[0087] The data transmission path decision module receives the data source synchronization priority list, combines the real-time network status, calculates the comprehensive transmission cost of each transmission path, selects the path with the lowest cost and shortest delay, and generates the optimal transmission path configuration;
[0088] The multi-path transmission control module uses the optimal transmission path configuration to distribute data packets on multiple paths, performs data slicing and parallel transmission at the same time, dynamically adjusts the data slicing size and parallel transmission ratio according to network status feedback, and generates data synchronization transmission records;
[0089] The dynamic adjustment and optimization module monitors the network bandwidth usage, delay and packet loss rate during data synchronization based on the data synchronization transmission records, analyzes the system storage utilization, adjusts the data synchronization frequency in real time according to the analysis results, dynamically optimizes resource allocation and data synchronization efficiency, and generates a dynamic processing solution for multi-source data synchronization.
[0090] The data source synchronization priority list includes the importance score of the data source and the synchronization priority sorting results. The optimal transmission path configuration includes the transmission path selection results, path cost calculation results and path delay calculation results. The data synchronization transmission record includes the data packet allocation results, data fragment size and parallel transmission ratio. The multi-source data synchronization dynamic processing solution includes bandwidth utilization, network delay, data packet loss rate, storage utilization and synchronization frequency adjustment results.
[0091] See also Figure 2 , the calculation steps of the importance score of each data source are:
[0092] Collect update frequency for each data source , access frequency and geographic location , using the formula,
[0093]
[0094] Calculate weighted sum , get the basic importance index of data source, where, is the distance index of the geographical location, is the weight of the update frequency, is the weight of the access frequency, is the weight of the geographical location, represents the natural exponential function, which is used to adjust the impact of geographical location on the importance index;
[0095] According to the basic importance index of the data source, combined with the business importance index of each data source, the basic importance index is adjusted using the formula:
[0096]
[0097] Calculate the adjusted data importance score ,in, is an indicator of the business importance of each data source, is the weight of business importance;
[0098] Based on the adjusted data importance score, normalization is performed using the formula:
[0099]
[0100] Calculate the normalized importance score of the data source ,in, is the maximum value of the adjusted data importance score, is the minimum value of the adjusted data importance score.
[0101] Assumptions: (updated 24 times a day), (visited 300 times a day), (Unit: 100 kilometers).
[0102] The corresponding weights are as follows:
[0103]
[0104] Update frequency affects calculations:
[0105]
[0106] Access frequency affects calculation:
[0107]
[0108] Geographic location affects calculations:
[0109]
[0110] Total score:
[0111]
[0112] Basic Importance Score is 127.38 , indicating that the importance of this data source is relatively high, and is strongly affected by the access frequency, followed by the update frequency, while the geographical location has the least impact.
[0113] Assumptions: , (Business Importance Rating).
[0114] Calculate the business importance weighted score:
[0115]
[0116] Substituting into the formula we get:
[0117]
[0118] Adjusted score It is 167.3818, reflecting that in addition to the basic data characteristics, the business importance of the data source has been significantly improved.
[0119] Assume that in a set of data sources, Minimum value of is 100, the maximum value It is 200.
[0120] Substitute into the formula for normalization:
[0121]
[0122] Normalized score The value is 0.6738, which means that after considering all relevant factors, the importance of this data source is in the upper middle position among all data sources. This value is used in further decision-making and resource allocation to ensure the priority of key data sources.
[0123] See also Figure 3 , the steps to obtain the data source synchronization priority list are:
[0124] Monitor the data flow of each data source, using formulas,
[0125]
[0126] Calculate the deviation of the data source ,in, represents the actual data point of the current data stream, It is a normal value determined based on historical data;
[0127] Based on the deviation of the data source, the normalized importance score of the data source is evaluated and the formula is used.
[0128]
[0129] Calculating Data Source Sync Priority Score ,in, is the influence coefficient of the importance score, is the negative impact coefficient of the deviation degree;
[0130] According to the data source synchronization priority score, the data source synchronization priority is sorted and a data source synchronization priority list is output.
[0131] Assumptions: (normal data point value), (a series of current data point values).
[0132] Calculate the deviation for the first data point:
[0133] |45-50|=5
[0134] Calculate the deviation for the second data point:
[0135] |55-50|=5
[0136] Calculate the deviation for the third data point:
[0137] |60-50|=10
[0138] Calculate the deviation of the fourth data point:
[0139] |40-50|=10
[0140] Total deviation measure:
[0141] 5+5+10+10=30
[0142] Deviation A value of 30 indicates the total deviation of the current data flow at these points compared to the set normal mode. A high value indicates that the current state of the data source is far from the normal mode and requires special attention.
[0143] Assumed parameters: =1.0, =0.1.
[0144] Weighting of importance scores:
[0145]
[0146] Weighted negative impact of bias:
[0147]
[0148] Calculate the priority score:
[0149]
[0150] Priority Scoring It is -2.3262, indicating that the current state of the data source is not only far away from the normal mode, but also considering its importance, its synchronization priority should be reduced accordingly.
[0151] Assume that the priority scores of other data sources are:
[0152] [-1.0, -0.5, 2.0, -2.3262]
[0153] Sort the ratings list:
[0154] [2.0, -0.5, -1.0, -2.3262]
[0155] The synchronization priority list sorting results show that the synchronization priority of this data source is the lowest in the list, indicating that synchronization needs to be considered last or additional data quality control measures need to be taken.
[0156] See also Figure 4 , the steps to obtain the optimal transmission path configuration are:
[0157] Receive a data source synchronization priority list, extract a sorting result as a basic input for network resource allocation, and obtain basic input data for network resource allocation;
[0158] Based on the basic input data of network resource allocation, the current network status is monitored in real time, the delay and bandwidth cost of each transmission path are collected, and the formula is used.
[0159]
[0160] Calculate the comprehensive transmission cost of each path , generating real-time transmission cost evaluation results, where Indicates the delay time. represents the bandwidth cost, and γ adjust the influence of delay and bandwidth cost and the weight of bandwidth inverse effect respectively;
[0161] According to the real-time transmission cost evaluation results, the formula is adopted:
[0162]
[0163] Calculate the optimal transmission cost on behalf of the data source , generate the transmission cost data of each path, where represents the regularization parameter, which is used to adjust the sensitivity of cost calculation;
[0164] According to the transmission cost data of each path, the formula is used:
[0165]
[0166] Choose the path with the lowest cost , generating the optimal transmission path configuration.
[0167] Assumed values: , , , ms, Unit cost / MB.
[0168] Delay cost calculation:
[0169]
[0170] Bandwidth cost calculation:
[0171]
[0172] Bandwidth inverse effect adjustment:
[0173]
[0174] Comprehensive transmission cost:
[0175]
[0176] Calculated comprehensive transmission cost Indicates the total cost of the path at a given latency and bandwidth cost. A higher value indicates that optimization or selection of other lower-cost transmission paths is required.
[0177] Assumptions , combined with the above calculation results .
[0178] Adjusting the transmission cost:
[0179]
[0180] Calculate the cost:
[0181]
[0182] The transmission cost obtained Shows the cost efficiency under the adjusted parameters. A low value indicates that the path is more efficient after considering the regularization adjustment and is suitable for priority consideration.
[0183] Assumed values:
[0184]
[0185] Select the lowest price:
[0186]
[0187] choose The path is selected as the optimal transmission path, indicating that this is the path option with the lowest cost and is suitable for data sources that are synchronized with priority to ensure optimal resource usage.
[0188] See also Figure 5 , the steps to obtain data synchronization transmission records are:
[0189] According to the optimal transmission path configuration, the preliminary allocation and fragmentation of data packets are performed according to the path bandwidth attributes, using the formula,
[0190]
[0191] Calculate the allocation to Packet size on each path , generate the initial data shard size, where, It is The theoretical bandwidth of the path, is the total amount of data, is the total number of paths;
[0192] According to the initial data shard size, parallel transmission is performed using the formula,
[0193]
[0194] Calculate the expected travel time on each path ,in, It is The actual bandwidth of the path;
[0195] According to the expected transmission time on each path, combined with real-time network feedback, the data fragmentation size and parallel transmission ratio on each path are dynamically adjusted using the formula:
[0196]
[0197] Calculate the adjusted data shard size ,in, is the adjustment factor, which is used to control the adjustment range of the shard size. is the average transmission time of all paths;
[0198] The adjusted data fragment size data and the expected transmission time on each path are comprehensively considered, the data packet size and transmission time of each path are recorded, and a data synchronization transmission record is generated.
[0199] Assuming there are three paths, the theoretical bandwidth is:
[0200] Mbps
[0201] Mbps
[0202] Mbps
[0203] Total data volume MB.
[0204] Calculate the total bandwidth:
[0205]
[0206] Calculate the packet size on each path:
[0207]
[0208] The packet size of each path is directly proportional to its bandwidth, ensuring fairness and efficiency in data sharding.
[0209] Assume that the actual bandwidth remains unchanged, that is:
[0210] Mbps
[0211] Mbps
[0212] Mbps
[0213] Calculate the transmission time on each path (in seconds):
[0214]
[0215] Under ideal conditions, the transmission time is 1 second, demonstrating the efficiency of matching bandwidth with data volume.
[0216] Assumptions , average transmission time s.
[0217] Dynamically adjust the size of data shards:
[0218]
[0219] Since the average transmission time is the same as the transmission time of each path, the adjusted data shard size remains unchanged, indicating that the current sharding strategy is already optimized.
[0220] Finally, the final data fragment size and completion time of each path are recorded to generate a detailed data synchronization transmission record. The record format includes the data packet size of each path. and transmission time ,A detailed review of each data transfer is provided for performance evaluation and future optimization.
[0221] See also Figure 6 , the analysis steps of system storage utilization are:
[0222] Collect data synchronization transmission records, including the timestamp, size and transmission status of each data packet, using the formula,
[0223]
[0224] Calculate the average bandwidth usage of the path , generating a preliminary bandwidth usage record, where Representative The bandwidth used by each packet, is the total bandwidth, Indicates the number of data streams;
[0225] Based on the preliminary bandwidth usage records, the latency and packet loss rate are analyzed, using the formula,
[0226] and
[0227] Calculate the average network latency and average packet loss rate , generate network performance indicators, where and Respectively represent The delay and packet loss of each data packet;
[0228] Based on the network performance indicators, evaluate the total system storage capacity and used space, using the formula,
[0229]
[0230] Calculating storage utilization , generate storage utilization analysis results, where, is the amount of storage used, is the total storage capacity.
[0231] Assume there are three data streams, and the bandwidth usage is:
[0232] Mbps
[0233] Mbps
[0234] 100Mbps
[0235] Total bandwidth Mbps.
[0236] Substitute into the formula to calculate bandwidth usage:
[0237]
[0238] The results show that the current system bandwidth utilization rate is 75%, reflecting the current utilization of network resources.
[0239] Assume delayed data: ms, ms, ms.
[0240] Packet loss data: (Assume this is the number of packet losses).
[0241] Calculate the average latency:
[0242]
[0243] Calculate the average packet loss rate:
[0244]
[0245] The results show that the average network latency is 15 milliseconds and the average packet loss rate is about 33.33%, which helps to identify potential causes of network quality issues and low synchronization efficiency.
[0246] Assuming used storage GB, total storage GB.
[0247] Substitute into the formula to calculate storage utilization:
[0248]
[0249] The results show that the system storage utilization is 75%, which helps to decide whether more storage resources are needed or to optimize the use of existing resources.
[0250] See also Figure 7 ,The steps for obtaining the multi-source data synchronization dynamic processing solution are:
[0251] Based on the storage utilization analysis results, bandwidth utilization, latency, packet loss rate, and storage utilization are integrated to evaluate the efficiency and potential bottlenecks of the current data synchronization process, and obtain synchronization efficiency and bottleneck evaluation results;
[0252] According to the synchronization efficiency and bottleneck evaluation results, the data synchronization frequency is dynamically adjusted to match the actual network and storage conditions. The formula is used.
[0253]
[0254] Calculate the synchronization frequency , generates the adjusted synchronization frequency, where is the baseline synchronization frequency, and are the adjustment factors for network bandwidth and storage utilization, respectively, reflecting the impact of bandwidth and storage utilization on synchronization frequency. is the maximum bandwidth utilization threshold, is the maximum utilization threshold of storage;
[0255] Apply the adjusted synchronization frequency, combine the real-time network status and storage data, dynamically adjust the data synchronization parameters and operation procedures, and formulate and output a dynamic processing plan for multi-source data synchronization.
[0256] Assume the following data exists:
[0257] Baseline synchronization frequency Hz.
[0258] Maximum bandwidth utilization threshold .
[0259] Current bandwidth utilization .
[0260] Maximum storage utilization threshold .
[0261] Current storage utilization .
[0262] Adjustment factor and .
[0263] Calculate the new synchronization frequency:
[0264]
[0265] The new slightly higher sync frequency reflects fine-tuning of existing network and storage resource configurations to reduce network burden and optimize storage usage.
[0266] The multi-source data synchronization processing method comprises the following steps:
[0267] S1: Collect the update frequency, access frequency and geographic location of each data source, calculate the weighted sum, adjust it based on the business importance index of each data source, and perform normalization to obtain the normalized importance score of the data source;
[0268] S2: Monitor the data flow of each data source, calculate the deviation of each data source, calculate the synchronization priority score of each data source based on the normalized importance score of the data source, sort the synchronization priorities of the data sources, and obtain a data source synchronization priority list;
[0269] S3: Receive the data source synchronization priority list, monitor the current network status in real time, collect the delay and bandwidth cost of each transmission path, perform real-time transmission cost evaluation, calculate the optimal transmission cost of the representative data source, and generate the optimal transmission path configuration;
[0270] S4: According to the optimal transmission path configuration, preliminary allocation and fragmentation of data packets are performed and parallel transmission is performed. According to real-time network feedback, the data fragmentation size and parallel transmission ratio are dynamically adjusted, the data packet size and transmission time of each path are recorded, and data synchronization transmission records are generated;
[0271] S5: collects data synchronization transmission records, calculates the average bandwidth usage of the path, analyzes latency and packet loss rate, evaluates the total storage capacity and used space of the system, and generates storage utilization analysis results;
[0272] S6: Based on the storage utilization analysis results, evaluate the efficiency and potential bottlenecks of the current data synchronization process, dynamically adjust the data synchronization frequency, match the actual network and storage conditions, combine the real-time network status and storage data, dynamically adjust the data synchronization parameters and operation procedures, and output a dynamic processing solution for multi-source data synchronization.
[0273] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. Multi-source data synchronization processing system, Features: The system comprises: The data priority assessment module collects the update frequency, access frequency and geographic location information of the data source, calculates the importance score of each data source according to the business importance of the data source, monitors the data flow in real time based on the calculation results, excludes data items that deviate from the normal mode, determines the synchronization priority of each data source, and generates a data source synchronization priority list; The data transmission path decision module receives the data source synchronization priority list, calculates the comprehensive transmission cost of each transmission path in combination with the real-time network status, selects the path with the lowest cost and the shortest delay, and generates the optimal transmission path configuration; The multi-path transmission control module uses the optimal transmission path configuration to distribute data packets on multiple paths, performs data slicing and parallel transmission at the same time, dynamically adjusts the data slicing size and parallel transmission ratio according to network status feedback, and generates data synchronization transmission records; The dynamic adjustment and optimization module monitors the network bandwidth usage, delay and packet loss rate during the data synchronization process according to the data synchronization transmission record, analyzes the system storage utilization, adjusts the data synchronization frequency in real time according to the analysis results, dynamically optimizes resource allocation and data synchronization efficiency, and generates a dynamic processing solution for multi-source data synchronization; The steps for obtaining the data synchronization transmission record are: According to the optimal transmission path configuration, the data packets are initially allocated and fragmented according to the path bandwidth attribute, using the formula: Calculate the allocation to Packet size on each path , generate the initial data shard size, where, It is The theoretical bandwidth of the path, is the total amount of data, is the total number of paths; According to the initial data shard size, parallel transmission is performed using the formula, Calculate the expected travel time on each path ,in, It is The actual bandwidth of the path; According to the expected transmission time on each path, combined with real-time network feedback, the data fragmentation size and parallel transmission ratio on each path are dynamically adjusted, using the formula: Calculate the adjusted data shard size ,in, is the adjustment factor, which is used to control the adjustment range of the shard size. is the average transmission time of all paths; The adjusted data segment size and the expected transmission time on each path are combined to record the data packet size and transmission time of each path, and generate a data synchronization transmission record.
2. The multi-source data synchronization processing system according to claim 1, Features: The steps for calculating the importance score of each data source are: Collect update frequency for each data source , access frequency and geographic location , using the formula, Calculate weighted sum , get the basic importance index of data source, where, is the distance index of the geographical location, is the weight of the update frequency, is the weight of the access frequency, is the weight of the geographical location, represents the natural exponential function, which is used to adjust the impact of geographical location on the importance index; According to the basic importance index of the data source, combined with the business importance index of each data source, the basic importance index is adjusted using the formula: Calculate the adjusted data importance score ,in, is an indicator of the business importance of each data source, is the weight of business importance; Based on the adjusted data importance score, normalization is performed using the formula: Calculate the normalized importance score of the data source ,in, is the maximum value of the adjusted data importance score, is the minimum value of the adjusted data importance score.
3. The multi-source data synchronization processing system according to claim 2, Features: The steps for obtaining the data source synchronization priority list are: Monitor the data flow of each data source, using formulas, Calculate the deviation of the data source ,in, represents the actual data point of the current data stream, It is a normal value determined based on historical data; Based on the deviation of the data source, the evaluation is performed, combined with the normalized importance score of the data source, using the formula: Calculating Data Source Sync Priority Score ,in, is the influence coefficient of the importance score, is the negative impact coefficient of the deviation degree; According to the data source synchronization priority score, the data sources are sorted in synchronization priority, and a data source synchronization priority list is output.
4. The multi-source data synchronization processing system according to claim 3, Features: The steps of obtaining the optimal transmission path configuration are: Receiving the data source synchronization priority list, extracting the sorting result as a basic input for network resource allocation, and obtaining basic input data for network resource allocation; Based on the basic input data of network resource allocation, the current network status is monitored in real time, the delay and bandwidth cost of each transmission path are collected, and the formula is used. Calculate the comprehensive transmission cost of each path , generating real-time transmission cost evaluation results, where Indicates the delay time. represents the bandwidth cost, and γ adjust the influence of delay and bandwidth cost and the weight of bandwidth inverse effect respectively; According to the real-time transmission cost evaluation result, the formula is adopted: Calculate the optimal transmission cost on behalf of the data source , generate the transmission cost data of each path, where represents the regularization parameter, which is used to adjust the sensitivity of cost calculation; According to the transmission cost data of each path, the formula is adopted: Choose the path with the lowest cost , generating the optimal transmission path configuration.
5. The multi-source data synchronization processing system according to claim 1, Features: The analysis steps of the system storage utilization are as follows: Collect the data synchronization transmission records, including the timestamp, size and transmission status of each data packet, using the formula, Calculate the average bandwidth usage of the path , generating a preliminary bandwidth usage record, where Representative The bandwidth used by each packet, is the total bandwidth, Indicates the number of data streams; Based on the preliminary bandwidth usage records, the latency and packet loss rate are analyzed, using the formula, and Calculate the average network latency and average packet loss rate , generate network performance indicators, where and Respectively represent The delay and packet loss of each data packet; Based on the network performance indicators, evaluate the total system storage capacity and used space, using the formula, Calculating Storage Utilization , generate storage utilization analysis results, where, is the amount of storage used, is the total storage capacity.
6. The multi-source data synchronization processing system according to claim 5, Features: The steps for obtaining the multi-source data synchronization dynamic processing solution are: According to the storage utilization analysis result, bandwidth utilization, latency, packet loss rate and storage utilization are integrated to evaluate the efficiency and potential bottlenecks of the current data synchronization process, and obtain synchronization efficiency and bottleneck evaluation results; According to the synchronization efficiency and bottleneck evaluation results, the data synchronization frequency is dynamically adjusted to match the actual network and storage conditions, using the formula, Calculate the synchronization frequency , generates the adjusted synchronization frequency, where is the baseline synchronization frequency, and are the adjustment factors for network bandwidth and storage utilization, respectively, reflecting the impact of bandwidth and storage utilization on synchronization frequency. is the maximum bandwidth utilization threshold, is the maximum utilization threshold of storage; The adjusted synchronization frequency is applied, combined with the real-time network status and storage data, to dynamically adjust the data synchronization parameters and operation procedures, and formulate and output a dynamic processing plan for multi-source data synchronization.
7. Multi-source data synchronization processing method, It is characterized in that The multi-source data synchronization processing system according to any one of claims 1 to 6 comprises the following steps: Collect the update frequency, access frequency and geographic location of each data source, calculate the weighted sum, adjust it in combination with the business importance index of each data source, and perform normalization to obtain the normalized importance score of the data source; Monitor the data flow of each data source, calculate the deviation of each data source, calculate the synchronization priority score of each data source in combination with the normalized importance score of the data source, sort the synchronization priorities of the data sources, and obtain a data source synchronization priority list; Receive the data source synchronization priority list, monitor the current network status in real time, collect the delay and bandwidth cost of each transmission path, perform real-time transmission cost evaluation, calculate the optimal transmission cost of the representative data source, and generate the optimal transmission path configuration; According to the optimal transmission path configuration, preliminary allocation and fragmentation of data packets are performed and parallel transmission is performed, and according to real-time network feedback, the data fragmentation size and parallel transmission ratio are dynamically adjusted, the data packet size and transmission time of each path are recorded, and data synchronization transmission records are generated; Collect the data synchronous transmission records, calculate the average bandwidth usage of the path, analyze the delay and packet loss rate, evaluate the total storage capacity and used space of the system, and generate storage utilization analysis results; According to the storage utilization analysis results, the efficiency and potential bottlenecks of the current data synchronization process are evaluated, the data synchronization frequency is dynamically adjusted to match the actual network and storage conditions, and the data synchronization parameters and operation procedures are dynamically adjusted in combination with the real-time network status and storage data, and a dynamic processing solution for multi-source data synchronization is output.
Citation Information
Patent Citations
Method, system and device for improving reliability of time-sensitive network, and storage medium
CN117411826A
Distributed storage system based on cloud computing and file backup method thereof
CN117971789A
