A method for communication between systems
By dynamically adjusting the transmission parameters and monitoring data version number and performance characterization values, the problem that traditional inter-system communication methods cannot adapt to dynamic network conditions is solved, and efficient and stable data transmission and system performance improvement is achieved.
Patent Information
- Application Number
- CN202410758951.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2044-06-13
AI Technical Summary
Traditional inter-system communication methods cannot adapt to dynamically changing network conditions due to fixed transmission parameters, resulting in poor data transmission accuracy and high latency.
By obtaining the real-time node status of the transmission nodes of the sending and receiving end systems, dynamically adjusting transmission parameters, such as duration and transmission speed, and real-time monitoring and optimization are carried out according to the data version number and performance characterization value.
It realizes efficient communication of the system, avoids unnecessary communication interruptions and resource waste, ensures data consistency and communication stability, and improves the overall performance and user satisfaction of the system.
Smart Images

Figure CN118714007B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer network communication, and in particular to an inter-system communication method. Background Art
[0002] In today's digital age, the rapid development of information technology has promoted the digital transformation of the global economy and society. In particular, with the rise of technologies such as cloud computing, big data, the Internet of Things (IoT), and artificial intelligence (AI), the amount of data has shown explosive growth. In this context, how to efficiently, securely, and stably transmit and process massive amounts of data has become an important challenge facing the field of information technology. In many fields such as enterprise operations, financial services, intelligent manufacturing, and smart cities, the quality of communication between systems directly affects business continuity, data consistency, and real-time decision-making.
[0003] Traditional inter-system communication methods, due to lack of flexibility and intelligence, are often difficult to adapt to the rapidly changing network environment and the growing data transmission needs. The main problems include lack of flexibility and adaptability, and inability to effectively respond to dynamic changes in network conditions; fixed and static parameter settings, which cannot be adjusted in time when facing network congestion or low load, resulting in insufficient or inefficient resource utilization; lack of intelligent monitoring and analysis mechanisms, making it difficult to identify and respond to problems in the communication process in real time; insufficient data synchronization and consistency guarantees, which easily lead to data conflicts and errors in distributed systems; inadequate security measures, making it difficult to resist increasingly complex network attacks and data leakage risks; and when processing large-scale data transmission, performance bottlenecks and delays are prominent, affecting the real-time and reliability of key services. These shortcomings are particularly prominent in the face of modern high-speed, high-capacity, and high-security communication needs, and they urgently need to be overcome through technological innovation. These problems may lead to reduced accuracy of data transmission and increased communication delays, which in turn affect the operating efficiency and reliability of the entire system. In order to solve these problems, it is necessary to develop more advanced inter-system communication methods that can dynamically adapt to changes in network conditions, optimize the data transmission process, and ensure data consistency and communication stability. This not only requires improvements to existing communication protocols and network management technologies, but also the introduction of intelligent algorithms and automated management mechanisms to achieve real-time monitoring, analysis and adjustment of the communication process. Summary of the invention
[0004] To this end, the present invention provides an inter-system communication method to overcome the problems of poor data transmission accuracy and high delay caused by the inability to adapt to dynamically changing network conditions due to fixed transmission parameters in the traditional inter-system communication method in the prior art.
[0005] To achieve the above object, the present invention provides an inter-system communication method, comprising:
[0006] Step S1, obtaining the real-time node status of the transmission nodes of the transmitting end system and the receiving end system, the real-time node status including the transmission status and the idle status, and obtaining the duration of the transmission status within a preset standard time period, when the real-time node status of the transmitting end system and the receiving end system are both in the transmission status, comparing the duration with the preset standard duration, and resetting the transmission node when the duration is greater than the preset standard duration;
[0007] Step S2, when the duration is less than or equal to the preset standard duration, obtaining the data version numbers of the transmission nodes of the sending end system and the receiving end system, and when the data version numbers are different, calculating the version number difference according to the data version numbers, and when the version number difference is greater than the preset standard version number difference, adjusting the standard duration according to the version number difference;
[0008] Step S3, when the data version numbers are the same, the real-time transmission rate, the number of communication completions and the total number of communications of the transmission nodes of the sending end system and the receiving end system within the standard duration period are obtained; when the real-time transmission rate is less than the preset standard transmission rate, the completion ratio is calculated according to the number of communication completions and the total number of communications; when the completion ratio is greater than the standard completion ratio, the real-time transmission load between the transmission nodes of the sending end system and the receiving end system is obtained; when the real-time transmission load is less than the preset standard transmission load, the standard transmission speed is adjusted according to the load difference calculated according to the real-time transmission load and the standard transmission load;
[0009] Step S4, monitor the performance characterization values in the process of steps S1-S3, calculate the transmission performance characterization factor according to the performance characterization value, and correct the standard performance characterization value corresponding to the performance characterization value according to the performance characterization factor, wherein the standard performance characterization value includes the standard transmission speed, standard duration, standard version number difference, standard completion ratio and standard transmission load, and the performance characterization value includes the real-time transmission speed, duration, version number difference, completion ratio and real-time transmission load.
[0010] Furthermore, in step S1, the real-time node status of the transmission nodes of the transmitting end system and the receiving end system is obtained, the real-time node status includes the transmission status and the idle status, and the duration of the transmission status within a preset standard time period is obtained. When the real-time node status of the transmitting end system and the receiving end system are both in the transmission status, the duration is compared with the preset standard duration.
[0011] If the duration is greater than the preset standard duration, the transmission node is reset.
[0012] Furthermore, in step S2, the standard version number difference is preset. If the duration is less than or equal to the preset standard duration, the data version numbers of the transmission nodes corresponding to the sending end system and the receiving end system are respectively obtained, and the data version number of the sending end system is compared with the data version number of the transmission node of the receiving end system.
[0013] If the data version number of the sending end system is greater than the data version number of the transmission node of the receiving end system, a version number difference is calculated according to the data version number of the sending end system and the data version number of the transmission node of the receiving end system, and the version number difference is compared with the standard version number difference.
[0014] If the version number difference is less than or equal to the preset standard version number difference, the data is retransmitted through the sending end system until the data version number of the sending end system is equal to the data version number of the receiving end.
[0015] Further, in step S2, if the version number difference is greater than the standard version number difference, the standard duration is adjusted according to the version number difference, wherein Tc'=Tc+k×(Vf-Vj), Tc' is the adjusted standard duration, Tc is the preset standard duration, k is the duration adjustment coefficient, Vf is the data version number of the transmission node of the sending system, and Vj is the data version number of the transmission node of the receiving system.
[0016] Furthermore, in step S3, the standard transmission speed and the standard completion ratio are preset, and the real-time transmission rate and the standard transmission speed are compared.
[0017] If the real-time transmission rate is greater than or equal to the standard transmission rate, the completion ratio is calculated based on the number of completed communications and the total number of communications, and the completion ratio is compared with the standard completion ratio.
[0018] If the completion ratio is greater than the standard completion ratio, the real-time transmission speed is directly reduced and adjusted, where E'=E×[1-b×(1-Y / Y')], E' is the adjusted real-time transmission speed, E is the real-time transmission rate, b is the transmission speed adjustment coefficient, Y is the number of communication completions, and Y' is the total number of communications.
[0019] Furthermore, in step S3, a standard transmission load is preset. If the real-time transmission rate is lower than the standard transmission rate, the completion ratio is compared with the standard completion ratio.
[0020] If the completion ratio is greater than the standard completion ratio, the real-time transmission load between the transmission nodes of the sending end system and the receiving end system is obtained, and the real-time transmission load is compared with the standard transmission load.
[0021] If the real-time transmission load is greater than or equal to the preset standard transmission load, a load balancing operation is performed.
[0022] Furthermore, in step S3, when the real-time transmission load is less than the standard transmission load, the standard transmission speed is adjusted according to the load difference calculated between the real-time transmission load and the standard transmission load, wherein E0'=E0×[1+u×(R-R') / R'], wherein E0' is the adjusted standard transmission speed, E0 is the preset standard transmission speed, u is the standard transmission speed adjustment coefficient, R is the real-time transmission load, and R' is the preset standard transmission load.
[0023] Furthermore, in step S3, if the completion ratio is greater than the standard completion ratio, the transmission is terminated and the network status is checked.
[0024] Furthermore, in step S4, the real-time transmission speed, duration, version number difference, completion percentage and real-time transmission load during steps S1-S3 are monitored, and the monitoring results are standardized to obtain standard values of the real-time transmission speed, duration, version number difference, completion percentage and real-time transmission load, and a corresponding weight is assigned to each standard value and the weights are summed to calculate the performance characterization factor.
[0025] Furthermore, in step S4, the standard performance characterization value corresponding to the performance characterization value is corrected according to the performance characterization factor, wherein H'=H×(1+X), H' is the corrected single performance characterization value, H is the single performance characterization value, and X is the performance characterization factor.
[0026] Compared with the prior art, the beneficial effect of the present invention is that, through precise node status monitoring and dynamic adjustment of duration, the system can avoid unnecessary communication interruption and waste of resources. The comparison of data version numbers and the difference calculation enable the system to synchronize data in a timely manner and reduce the risk of information inconsistency. The monitoring and adjustment of real-time transmission rate and load ensure the smoothness and efficiency of communication, while improving the overall performance of the system. The monitoring of performance characterization values and the calculation of transmission performance characterization factors provide a basis for continuous optimization of the system, making the communication process more stable and reliable. In addition, this method can also adapt to different communication environments and requirements, and has a wide range of applicability, thereby improving communication efficiency while also enhancing the robustness of the system and user satisfaction.
[0027] Furthermore, through real-time monitoring and timely reset, the system is able to maintain the efficient operation of the transmission nodes. This helps prevent performance degradation, overheating or other potential failures caused by long-term operation of the nodes, thereby ensuring the stability and reliability of communication. In addition, by resetting the transmission nodes, the system can clear possible transmission errors or buffer overflows, providing a clear working status for new transmission tasks. This approach also helps to improve the responsiveness of the system because it allows the system to respond quickly when performance problems are detected, reducing the communication interruption time caused by failures, thereby improving overall communication efficiency and user satisfaction.
[0028] Furthermore, by comparing and synchronizing data version numbers, the system can avoid data inconsistency issues, which is particularly important for systems that require a high degree of data synchronization. Retransmitting data until the version numbers are equal can ensure that the receiving system receives the latest and correct data, thereby improving the reliability and accuracy of the system. In addition, by setting a standard version number difference, the system can flexibly handle differences between different versions, reduce unnecessary data transmission, and improve communication efficiency. This approach has a positive impact on maintaining system stability and improving user trust.
[0029] Furthermore, the method of dynamically adjusting the standard duration has significant benefits. First, it allows the system to respond more flexibly to the frequency and magnitude of data version updates, ensuring that the communication process remains stable and efficient even when the version number changes significantly. Second, by adjusting the duration, the system can provide the receiving end with sufficient time to synchronize and update the data, thereby reducing the risk of data inconsistency. In addition, this method can also optimize the use of communication resources, avoid frequent retransmissions caused by version differences, and improve overall communication efficiency. Ultimately, this intelligent adjustment mechanism helps to improve system reliability and user satisfaction, especially in application scenarios where data updates are frequent and data consistency requirements are high.
[0030] Furthermore, by ensuring that the completion rate reaches or exceeds the standard, the system can ensure the efficient completion of communication tasks. When the completion rate exceeds expectations, by reducing the real-time transmission speed, the system can avoid overusing bandwidth or processing power, thereby saving resources and reducing unnecessary energy consumption. This approach also helps prevent network congestion and ensure the stability and reliability of communication. In addition, by dynamically adjusting the transmission speed, the system can better adapt to different communication loads and conditions, improving overall communication performance and user experience.
[0031] Furthermore, the system can still complete tasks efficiently when the transmission rate is insufficient, and through load balancing operations, the system can reasonably allocate resources to avoid overload. This helps to improve the stability and reliability of the communication system, especially when resources are limited or communication conditions are not ideal. Load balancing operations can ensure that all transmission nodes operate in an optimal state, reducing service interruptions or performance degradation caused by overloading a single node. In addition, this approach can also help extend the service life of the system because it can prevent hardware damage caused by long-term overload. In this way, the system can continue to provide high-quality services to meet user needs.
[0032] Furthermore, by increasing the transmission speed, the system can process data faster, reduce waiting time, and improve overall transmission performance. This approach helps avoid network congestion because it ensures that bandwidth is not over-consumed when the load is low. At the same time, dynamically adjusting the transmission speed can also adapt to different network conditions and communication requirements, improving the adaptability and flexibility of the system.
[0033] Furthermore, by suspending transmission, the system can avoid continuing to consume network resources when the expected target has been reached or exceeded. At the same time, checking the network status helps to promptly discover and solve possible network problems, ensuring the stability of the network environment and the reliability of communication. This approach also helps to improve the responsiveness of the system because it allows the system to respond quickly after confirming that the task is completed, preparing for possible subsequent tasks or new communication needs. In addition, this strategy also helps to reduce the risk of errors and data redundancy, and improve the accuracy and efficiency of data transmission.
[0034] Furthermore, by monitoring and standardizing key performance indicators, the system can ensure that each indicator is properly considered in the evaluation process. The allocation of weights allows the system to adjust the influence of different indicators according to actual needs and priorities. Calculating performance characterization factors not only helps to quickly identify performance bottlenecks, but also guides the system to make necessary adjustments to improve efficiency and stability. In addition, this approach supports data-driven decision making, which can be used to predict system behavior, optimize resource allocation, and improve the overall system performance and user satisfaction in the long run.
[0035] Furthermore, by correcting the performance characterization value, the system can not only maintain efficient communication performance, but also optimize when necessary to meet specific service quality requirements. This approach helps improve the stability and reliability of the system because it ensures that the system can maintain the expected performance level even when communication conditions change. In addition, dynamically correcting the performance characterization value can also help improve resource utilization efficiency, avoid over-configuration or resource waste, thereby reducing operating costs and improving the overall performance of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a flow chart of the inter-system communication method of this embodiment;
[0037] Figure 2 A decision logic diagram for determining the transmission state of this embodiment;
[0038] Figure 3 This is a logic diagram for determining data version consistency in this embodiment;
[0039] Figure 4 This is a decision logic diagram for adjusting the transmission speed in this embodiment. DETAILED DESCRIPTION
[0040] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0041] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0042] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0043] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0044] See also Figure 1 As shown, it is a schematic diagram of the flow of the inter-system communication method of this embodiment;
[0045] This embodiment provides an inter-system communication method, including:
[0046] Step S1, obtaining the real-time node status of the transmission nodes of the transmitting end system and the receiving end system, the real-time node status including the transmission status and the idle status, and obtaining the duration of the transmission status within a preset standard time period, when the real-time node status of the transmitting end system and the receiving end system are both in the transmission status, comparing the duration with the preset standard duration, and resetting the transmission node when the duration is greater than the preset standard duration;
[0047] Step S2, when the duration is less than or equal to the preset standard duration, obtaining the data version numbers of the transmission nodes of the sending end system and the receiving end system, and when the data version numbers are different, calculating the version number difference according to the data version numbers, and when the version number difference is greater than the preset standard version number difference, adjusting the standard duration according to the version number difference;
[0048] Step S3, when the data version numbers are the same, the real-time transmission rate, the number of communication completions and the total number of communications of the transmission nodes of the sending end system and the receiving end system within the standard duration period are obtained; when the real-time transmission rate is less than the preset standard transmission rate, the completion ratio is calculated according to the number of communication completions and the total number of communications; when the completion ratio is greater than the standard completion ratio, the real-time transmission load between the transmission nodes of the sending end system and the receiving end system is obtained; when the real-time transmission load is less than the preset standard transmission load, the standard transmission speed is adjusted according to the load difference calculated between the real-time transmission load and the standard transmission load;
[0049] Step S4, monitor the performance characterization values in the process of steps S1-S3, calculate the transmission performance characterization factor according to the performance characterization value, and correct the standard performance characterization value corresponding to the performance characterization value according to the performance characterization factor, the standard performance characterization value includes the standard transmission speed, standard duration, standard version number difference, standard completion ratio and standard transmission load, the performance characterization value includes real-time transmission speed, duration, version number difference, completion ratio and real-time transmission load.
[0050] First, the system obtains the real-time status of the transmission nodes at the sending and receiving ends, and compares its duration with the preset standard. If the duration is too long, the transmission node is reset. Secondly, if the duration is within the standard range, the system compares the data version number. If there is a difference, the difference is calculated and the duration is adjusted accordingly. Then, when the version numbers are the same, the system calculates the completion ratio based on the transmission rate, the number of completed communications, and the total number of times, and adjusts the transmission speed according to the load conditions. Finally, the system monitors various performance indicators throughout the communication process, and adjusts and optimizes the communication standards based on these indicators to improve transmission performance.
[0051] Through precise node status monitoring and dynamic adjustment of duration, the system can avoid unnecessary communication interruptions and waste of resources. Comparison of data version numbers and difference calculation enable the system to synchronize data in a timely manner and reduce the risk of inconsistent information. Real-time monitoring and adjustment of transmission rate and load ensure the smoothness and efficiency of communication while improving the overall performance of the system. Monitoring of performance characterization values and calculation of transmission performance characterization factors provide a basis for continuous optimization of the system, making the communication process more stable and reliable. In addition, this method can also adapt to different communication environments and requirements and has a wide range of applicability, thereby improving communication efficiency while also enhancing the robustness of the system and user satisfaction.
[0052] If the communication system is used to transmit financial transaction data, then high standard transmission speed and completion rate can ensure fast processing and high reliability of transaction data, which is crucial for the real-time requirements of the financial market.
[0053] For example, a large financial institution designs a high-speed trading system that needs to process a large number of trading instructions and requires extremely high data consistency and communication stability.
[0054] Real-time transmission of transaction data: The transaction server of a financial institution needs to send transaction instructions to the exchange server in real time. In this scenario, the preset standard time period is set to every 5 minutes, and the system will continuously monitor the node status within these 5 minutes.
[0055] Node status monitoring: In each 5-minute monitoring cycle, the system checks whether the transmission nodes of the trading server and the exchange server are in the transmission state and whether the duration exceeds the standard duration of 45 seconds. If the duration is too long, the system will automatically reset the transmission node to prevent potential communication congestion.
[0056] Data version synchronization: The system will check the data version numbers of the two servers to ensure that the trading instructions and the exchange data are consistent. If the version number difference does not exceed 2, the system considers the data to be synchronized. If the version number difference exceeds 2, the system will adjust the transmission duration to ensure that there is enough time to synchronize the data.
[0057] Transmission rate and load adjustment: The system monitors the real-time transmission rate to ensure that it is not lower than the standard transmission speed of 100Mbps. If the transmission rate is lower than the standard, the system calculates the completion ratio based on the number of communication completions and the total number of times. If the completion ratio reaches 85%, the system checks whether the transmission load is lower than the standard transmission load of 90%. If so, the system adjusts the transmission speed to improve data transmission efficiency.
[0058] Performance optimization: During the entire communication process, the system will continuously monitor performance characteristics such as real-time transmission speed, duration, version number difference, completion ratio, and real-time transmission load. Based on these indicators, the system will calculate the transmission performance characteristic factor and adjust the above standard performance characteristic values accordingly to optimize communication performance.
[0059] The preset standard time period is a fixed time period used to evaluate the node status during the communication process, such as checking the node status every 5 minutes or every 10 minutes. It depends on the design requirements of the communication system and the communication frequency.
[0060] The standard duration is the time that the transmission state lasts within a standard period of time, which is usually set to a period that ensures stable and efficient communication, such as 30 seconds to 1 minute.
[0061] The standard version number difference is a threshold used to compare the data version difference between the sender and the receiver, and is usually set to a tolerable minor version update, such as a version number difference of 1.
[0062] The standard transmission speed is the transmission rate of a communication system under ideal conditions, which is usually set according to the communication medium and hardware performance, such as 100Mbps.
[0063] The standard completion rate is an indicator to measure communication efficiency and is usually set as a percentage that reflects the normal operation of the communication system, such as 80%.
[0064] The standard transmission load is the maximum amount of data that a transmission node can process within a standard time period, and is usually set according to the carrying capacity and performance requirements of the system, such as 90% of the maximum load.
[0065] In this embodiment, these standard values are specifically set as follows:
[0066] Preset standard time period: every 5 minutes, standard duration: 45 seconds, standard version number difference: version number difference 2, standard transmission speed: 100Mbps, standard completion ratio: 85%, standard transmission load: 90%.
[0067] The standard duration of 45 seconds is long enough to ensure that the communication process is not frequently reset due to brief interruptions, but short enough to respond to changes in the communication status in a timely manner.
[0068] The standard version number difference of 2 allows the system to have a certain degree of flexibility when updating versions, while ensuring that data inconsistencies will not occur due to large version differences.
[0069] The standard transmission speed of 100Mbps reflects the requirements of high-speed communication and is suitable for application scenarios that require fast data transmission.
[0070] The standard completion rate of 85% ensures high efficiency of the communication process and maintains good performance even under high load.
[0071] The 90% typical transfer load leaves the system with some buffer space to prevent performance degradation under high load conditions.
[0072] Please continue reading Figure 2 As shown, it is a decision logic diagram for determining the transmission state of this embodiment;
[0073] Specifically, in step S1, the real-time node status of the transmission nodes of the transmitting end system and the receiving end system is obtained, the real-time node status includes the transmission status and the idle status, and the duration of the transmission status within a preset standard time period is obtained. When the real-time node status of the transmitting end system and the receiving end system are both in the transmission status, the duration is compared with the preset standard duration.
[0074] If the duration is greater than the preset standard duration, the transmission node is reset.
[0075] First, the real-time status of the transmission nodes at the sending and receiving ends is monitored and obtained, including the transmission status and idle status. The system also records the duration of the transmission status within the preset standard time period. When both transmission nodes are in the transmission state and the duration of the transmission state exceeds the preset standard duration, the system triggers the reset mechanism to reset these transmission nodes. This process ensures that the transmission nodes will not experience performance degradation or potential failures due to long-term operation.
[0076] Through real-time monitoring and timely reset, the system is able to maintain the efficient operation of the transmission nodes. This helps prevent performance degradation, overheating or other potential failures caused by long-term operation of the nodes, thereby ensuring the stability and reliability of communications. In addition, by resetting the transmission nodes, the system can clear possible transmission errors or buffer overflows, providing a clear working status for new transmission tasks. This approach also helps to improve the responsiveness of the system because it allows the system to respond quickly when performance problems are detected, reducing the communication interruption time caused by failures, thereby improving overall communication efficiency and user satisfaction.
[0077] Please continue reading Figure 3 As shown, it is a determination logic diagram for determining data version consistency in this embodiment;
[0078] Specifically, in step S2, a standard version number difference is preset. If the duration is less than or equal to the preset standard duration, the data version numbers of the transmission nodes of the sending end system and the receiving end system are obtained, and the data version number of the sending end system is compared with the data version number of the transmission node of the receiving end system.
[0079] If the data version number of the sending system is greater than the data version number of the transmission node of the receiving system, the version number difference is calculated based on the data version number of the sending system and the data version number of the transmission node of the receiving system, and the version number difference is compared with the standard version number difference.
[0080] If the version number difference is less than or equal to the preset standard version number difference, the data is retransmitted through the sending end system until the data version number of the sending end system is equal to the data version number of the receiving end.
[0081] The system first checks whether the duration is less than or equal to the preset standard duration. If so, the system obtains the data version numbers of the transmission nodes at the sender and receiver and compares them. If it is found that the data version number of the sender is higher than that of the receiver, the system calculates the difference between the two version numbers. The system then compares this difference with the preset standard version number difference. If the difference is within the acceptable range, that is, less than or equal to the standard difference, the system will start the process of retransmitting the data until the data version numbers of the sender and receiver are synchronized to ensure the consistency of the data at both ends.
[0082] By comparing and synchronizing data version numbers, the system can avoid data inconsistency issues, which is particularly important for systems that require a high degree of data synchronization. Retransmitting data until the version numbers are equal can ensure that the receiving system receives the latest and correct data, thereby improving the reliability and accuracy of the system. In addition, by setting a standard version number difference, the system can flexibly handle differences between different versions, reduce unnecessary data transmission, and improve communication efficiency. This approach has a positive impact on maintaining system stability and improving user trust.
[0083] Specifically, in step S2, if the version number difference is greater than the standard version number difference, the standard duration is adjusted according to the version number difference, wherein Tc'=Tc+k×(Vf-Vj), Tc' is the adjusted standard duration, Tc is the preset standard duration, k is the duration adjustment coefficient, Vf is the data version number of the transmission node of the sending system, and Vj is the data version number of the transmission node of the receiving system.
[0084] If the difference between the data version number of the sending system and the data version number of the receiving system exceeds the preset standard version number difference, the system will perform an adjustment process. Specifically, the system will use a formula to recalculate the standard duration. In this way, the system can dynamically adjust the duration to adapt to the impact of the version number difference.
[0085] The method of dynamically adjusting the standard duration has significant benefits. First, it allows the system to respond more flexibly to the frequency and magnitude of data version updates, ensuring that the communication process remains stable and efficient even when the version number changes significantly. Second, by adjusting the duration, the system can provide the receiving end with enough time to synchronize and update the data, thereby reducing the risk of data inconsistency. In addition, this method can also optimize the use of communication resources, avoid frequent retransmissions caused by version differences, and improve overall communication efficiency. Ultimately, this intelligent adjustment mechanism helps to improve system reliability and user satisfaction, especially in application scenarios where data updates are frequent and data consistency requirements are high.
[0086] The duration adjustment coefficient is a parameter used to adjust the standard duration in a communication system, which reflects the degree of influence of the version number difference on the communication duration. Depending on the frequency of version updates, if the system is updated frequently, the k value may need to be set larger to accommodate more frequent version synchronization. It is usually determined based on specific application scenarios and system requirements. In some systems, the k value may be set to 1 or less to ensure a moderate adjustment of the duration. In this embodiment, the k value is set to 0.5, which means that the duration adjustment caused by each version number difference is moderate, which helps to avoid waste of resources due to excessive adjustment.
[0087] Please continue reading Figure 4 As shown, it is a decision logic diagram for determining the adjustment of the transmission speed in this embodiment;
[0088] Specifically, in step S3, a standard transmission speed and a standard completion ratio are preset. If the data version number of the sending end system is equal to the data version number of the transmission node of the receiving end system, the real-time transmission rate, the number of communication completions and the total number of communications of the transmission nodes of the sending end system and the receiving end system within the standard duration period are obtained, and the real-time transmission rate and the standard transmission speed are compared.
[0089] If the real-time transmission rate is greater than or equal to the standard transmission rate, the completion ratio is calculated based on the number of completed communications and the total number of communications, and the completion ratio is compared with the standard completion ratio.
[0090] If the completion ratio is greater than the standard completion ratio, the real-time transmission speed is directly reduced and adjusted, where E'=E×[1-b×(1-Y / Y')], E' is the adjusted real-time transmission speed, E is the real-time transmission rate, b is the transmission speed adjustment coefficient, Y is the number of communication completions, and Y' is the total number of communications.
[0091] When the data version numbers of the sending and receiving systems are equal, the system will collect the real-time transmission rate, number of communication completions, and total number of communications of the transmission node within the standard duration period. The system first compares whether the real-time transmission rate reaches or exceeds the preset standard transmission speed. If the real-time transmission rate meets the conditions, the system will calculate the completion ratio based on the number of communication completions and the total number of communications, and compare it with the standard completion ratio. When the completion ratio exceeds the standard completion ratio, the system will reduce and adjust the real-time transmission speed according to a specific formula.
[0092] By ensuring that the completion rate meets or exceeds the standard, the system can ensure the efficient completion of communication tasks. When the completion rate exceeds expectations, by reducing the real-time transmission speed, the system can avoid overusing bandwidth or processing power, thereby saving resources and reducing unnecessary energy consumption. This approach also helps prevent network congestion and ensure the stability and reliability of communication. In addition, by dynamically adjusting the transmission speed, the system can better adapt to different communication loads and conditions, improving overall communication performance and user experience.
[0093] The transmission speed adjustment coefficient is a parameter used to control the adjustment range of the real-time transmission rate. It determines the extent to which the transmission rate is reduced when the communication completion ratio exceeds the standard. It depends on the communication load. If the system load is high, the b value may be set to a smaller value to avoid excessive drop in the transmission rate and affect the communication efficiency. It is usually determined according to the specific needs of the system and the communication environment. In some systems, the b value may be set between 0.1 and 0.5 to achieve moderate adjustment. In this embodiment, the b value is set to 0.3. It can balance communication efficiency and resource usage and avoid resource waste or network congestion caused by excessively high transmission rates.
[0094] Specifically, in step S3, a standard transmission load is preset. If the real-time transmission rate is lower than the standard transmission rate, the completion ratio is compared with the standard completion ratio.
[0095] If the completion ratio is greater than the standard completion ratio, the real-time transmission load between the transmission nodes of the sending end system and the receiving end system is obtained, and the real-time transmission load is compared with the standard transmission load.
[0096] If the real-time transmission load is greater than or equal to the preset standard transmission load, a load balancing operation is performed.
[0097] The system first checks whether the real-time transmission rate is lower than the preset standard transmission rate. If so, the system calculates the ratio of the number of completed communications to the total number of communications, i.e., the completion ratio, and compares it with the preset standard completion ratio. If the completion ratio exceeds the standard value, the system further checks the real-time transmission load between the transmission nodes at the sending and receiving ends and compares it with the preset standard transmission load. When the real-time transmission load reaches or exceeds the standard load, the system performs load balancing operations to optimize resource allocation and ensure stable operation of the system.
[0098] In the case of insufficient transmission rate, the system can still complete the task efficiently, and through load balancing operation, the system can reasonably allocate resources to avoid overload. This helps to improve the stability and reliability of the communication system, especially when resources are limited or communication conditions are not ideal. Load balancing operation can ensure that all transmission nodes operate in an optimal state, reducing service interruptions or performance degradation caused by overloading a single node. In addition, this approach can also help extend the service life of the system because it can prevent hardware damage caused by long-term overload. In this way, the system can continue to provide high-quality services to meet user needs.
[0099] Specifically, in step S3, when the real-time transmission load is less than the standard transmission load, the standard transmission speed is adjusted according to the load difference calculated between the real-time transmission load and the standard transmission load, wherein E0'=E0×[1+u×(R-R') / R'], wherein E0' is the adjusted standard transmission speed, E0 is the preset standard transmission speed, u is the standard transmission speed adjustment coefficient, R is the real-time transmission load, and R' is the preset standard transmission load.
[0100] The system first checks whether the real-time transmission load is lower than the preset standard transmission load. If the condition is met, the system will calculate the difference between the real-time transmission load and the standard transmission load. Then, the system will use a specific formula to adjust the standard transmission speed. In this way, the system can dynamically adjust the transmission speed according to the real-time load situation to make more efficient use of available resources.
[0101] By increasing the transmission speed, the system can process data faster, reduce waiting time, and improve overall transmission performance. This approach helps avoid network congestion because it ensures that bandwidth is not over-consumed when the load is low. At the same time, dynamically adjusting the transmission speed can also adapt to different network conditions and communication requirements, improving the adaptability and flexibility of the system.
[0102] The standard transmission speed adjustment coefficient is a parameter used to adjust the transmission speed according to the difference between the real-time transmission load and the standard transmission load. It depends on the network conditions. The bandwidth capacity, stability and delay of the network will affect the setting of u. It is usually determined according to the specific application scenario and network environment. In some systems, the u value may be set between 0.1 and 1 to achieve moderate adjustment. In this embodiment, the u value is set to 0.5, which provides a balance point so that the adjustment of the transmission speed is neither too conservative nor too aggressive, so as to reasonably use network resources while ensuring the quality of service.
[0103] Specifically, in step S3, if the completion ratio is greater than the standard completion ratio, the transmission is terminated and the network status is checked.
[0104] When the system completion ratio exceeds the preset standard completion ratio, the system will take measures to suspend transmission. This means that after confirming that the communication task has been exceeded, the system will stop further data transmission. Subsequently, the system will perform a network status check to ensure that the network environment is stable and there are no problems that may affect subsequent communications.
[0105] By suspending transmission, the system can avoid continuing to consume network resources when the expected target has been reached or exceeded. At the same time, checking the network status helps to promptly discover and solve possible network problems, ensuring the stability of the network environment and the reliability of communication. This approach also helps to improve the responsiveness of the system because it allows the system to respond quickly after confirming that the task is completed, preparing for possible subsequent tasks or new communication needs. In addition, this strategy also helps to reduce the risk of errors and data redundancy, and improve the accuracy and efficiency of data transmission.
[0106] Specifically, in step S4, the real-time transmission speed, duration, version number difference, completion ratio and real-time transmission load in the process of steps S1-S3 are monitored, and the monitoring results are standardized to obtain standard values of the real-time transmission speed, duration, version number difference, completion ratio and real-time transmission load, and a corresponding weight is assigned to each standard value and the sum is calculated to calculate the performance characterization factor.
[0107] In step S4, the system carefully monitors the communication process in steps S1 to S3 and collects key performance indicators, including real-time transmission speed, duration, version number difference, completion ratio, and real-time transmission load. These indicators are standardized to eliminate the dimension and magnitude differences between different indicators, thereby obtaining a set of comparable standard values. Subsequently, the system assigns a weight to each standard value, which reflects the importance of each indicator in the overall performance. By weighted summing these standard values, the system calculates a comprehensive performance characterization factor that can comprehensively reflect the performance status of the communication system.
[0108] By monitoring and standardizing key performance indicators, the system ensures that each indicator is properly considered in the evaluation process. The allocation of weights allows the system to adjust the influence of different indicators according to actual needs and priorities. Calculating performance characterization factors not only helps to quickly identify performance bottlenecks, but also guides the system to make necessary adjustments to improve efficiency and stability. In addition, this approach supports data-driven decision making, which can be used to predict system behavior, optimize resource allocation, and improve the overall performance of the system and user satisfaction in the long run.
[0109] In this embodiment, the weights are set as follows:
[0110] Real-time transmission speed weight: 0.4;
[0111] The weight is high because the rapid transmission of trading instructions is crucial for financial institutions and directly affects the execution time of transactions and the speed of market response.
[0112] Duration weight: 0.2;
[0113] The weight is moderate. Duration affects the timeliness of transaction instructions, but its urgency is slightly lower than the transmission speed.
[0114] Version number difference weight: 0.1;
[0115] The weight is relatively low. Although data version synchronization is important, in high-speed transactions, version updates are usually not too frequent, so the weight is relatively small.
[0116] Completion weight: 0.2;
[0117] The weight is moderate, and the completion ratio reflects the completion status of the transmission task, which is crucial to ensure that the transaction instructions are fully executed.
[0118] Real-time transmission load weight: 0.1;
[0119] Real-time transmission speed weight: 40% weight is allocated to ensure the rapid processing of trading instructions. This high proportion of weight reflects the importance of rapid response to market changes in the financial market to reduce transaction delays and improve transaction efficiency.
[0120] Duration weight: A 20% weight is assigned to measure the timeliness of transaction order processing. The moderate weight indicates that while duration has an impact on the timeliness of transaction orders, its urgency is relatively low.
[0121] Version number difference weight: A 10% weight is assigned to assess the importance of data version synchronization. A lower weight indicates that in a high-speed transaction environment, the frequency of data version updates is usually low, so the weight requirement is not high.
[0122] Completion Weight: A 20% weight is assigned to reflect the evaluation of the completion of the transaction instructions. The moderate weight shows the importance the system attaches to ensuring the integrity of the transaction instructions.
[0123] Real-time transmission load weight: A 10% weight is assigned to evaluate the management of transmission load. A lower weight indicates that in high-speed trading systems, the load can usually be effectively controlled, so a high weight is not needed.
[0124] In a specific embodiment, the standardized values of various performance characterization values are as follows:
[0125] Real-time transmission speed normalized value: 0.9
[0126] Duration Normalization Value: 0.8
[0127] Version number difference normalized value: 1.0
[0128] Completion percentage normalized value: 0.9
[0129] Real-time transmission load normalization value: 0.7
[0130] Based on the above weights, the performance characterization factor is calculated:
[0131] Performance characterization factor = (0.4 × 0.9) + (0.2 × 0.8) + (0.1 × 1.0) + (0.2 × 0.9) + (0.1 × 0.7) = 0.36 + 0.16 + 0.1 + 0.18 + 0.07 = 0.87;
[0132] This performance characterization factor of 0.87 indicates that the overall performance of the system is good, but there is still room for improvement. System administrators can further analyze and optimize system performance based on this indicator. For example, if the normalized value of duration is found to be low, the processing flow may need to be optimized to reduce processing time.
[0133] Specifically, in step S4, the standard performance characterization value corresponding to the performance characterization value is corrected according to the performance characterization factor, wherein H'=H×(1+X), H' is the corrected performance characterization value, H is the performance characterization value, and X is the performance characterization factor.
[0134] First, the performance characterization factor is calculated, which is a quantitative indicator that comprehensively considers multiple performance indicators such as real-time transmission speed, duration, version number difference, completion ratio and real-time transmission load. The system then uses this performance characterization factor to correct each performance characterization value. In this way, the system can dynamically adjust the performance standard according to the real-time communication performance to adapt to the current communication environment and needs.
[0135] By correcting the performance characterization value, the system can not only maintain efficient communication performance, but also optimize when necessary to meet specific service quality requirements. This approach helps improve the stability and reliability of the system because it ensures that the system can maintain the expected performance level even when communication conditions change. In addition, dynamically correcting the performance characterization value can also help improve resource utilization efficiency and avoid over-configuration or resource waste, thereby reducing operating costs and improving the overall performance of the system.
[0136] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0137] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for communication between systems, characterized in that: include: Step S1, obtaining the real-time node status of the transmission nodes of the transmitting end system and the receiving end system, the real-time node status including the transmission status and the idle status, and obtaining the duration of the transmission status within a preset standard time period, when the real-time node status of the transmitting end system and the receiving end system are both in the real-time transmission status, comparing the duration with the preset standard duration, and resetting the output node when the duration is greater than the preset standard duration; Step S2, when the duration is less than or equal to the preset standard duration, obtaining the data version numbers of the transmission nodes of the sending end system and the receiving end system, and when the data version numbers are different, calculating the version number difference according to the data version numbers, and when the version number difference is greater than the preset standard version number difference, adjusting the standard duration according to the version number difference; Step S3, when the data version numbers are the same, the real-time transmission rate, the number of communication completions and the total number of communications of the transmission nodes of the sending end system and the receiving end system within the standard duration are obtained; when the real-time transmission rate is less than the preset standard transmission rate, the completion ratio is calculated according to the number of communication completions and the total number of communications; when the completion ratio is greater than the standard completion ratio, the real-time transmission load between the transmission nodes of the sending end system and the receiving end system is obtained; when the real-time transmission load is less than the preset standard transmission load, the standard transmission rate is adjusted according to the load difference calculated between the real-time transmission load and the standard transmission load; Step S4, monitor the performance characterization values in the process of steps S1-S3, calculate the transmission performance characterization factor according to the performance characterization value, and correct the standard performance characterization value corresponding to the performance characterization value according to the performance characterization factor, the standard performance characterization value includes the standard transmission rate, standard duration, standard version number difference, standard completion ratio and standard transmission load, the performance characterization value includes real-time transmission rate, duration, version number difference, completion ratio and real-time transmission load.
2. The inter-system communication method according to claim 1, characterized in that: In step S2, a standard version number difference is preset. If the duration is less than or equal to the preset standard duration, the data version numbers of the transmission nodes of the sending end system and the receiving end system are obtained, and the data version number of the sending end system is compared with the data version number of the transmission node of the receiving end system. If the data version number of the transmission node of the sending end system is greater than the data version number of the transmission node of the receiving end system, the version number difference is calculated according to the data version number of the transmission node of the sending end system and the data version number of the transmission node of the receiving end system, and the version number difference is compared with the standard version number difference. If the version number difference is less than or equal to the preset standard version number difference, the data is retransmitted through the sending end system until the data version number of the transmission node of the sending end system is equal to the data version number of the transmission node of the receiving end system.
3. The inter-system communication method according to claim 2, characterized in that: In step S2, if the version number difference is greater than the standard version number difference, the standard duration is adjusted according to the version number difference, wherein Tc'=Tc+k×(Vf-Vj), Tc' is the adjusted standard duration, Tc is the preset standard duration, k is the duration adjustment coefficient, Vf is the data version number of the transmission node of the sending system, and Vj is the data version number of the transmission node of the receiving system.
4. The inter-system communication method according to claim 3, characterized in that: In step S3, a standard transmission rate and a standard completion ratio are preset. If the data version number of the sending end system is equal to the data version number of the transmission node of the receiving end system, the real-time transmission rate, the number of communication completions and the total number of communications of the transmission nodes of the sending end system and the receiving end system within the standard duration period are obtained, and the real-time transmission rate is compared with the standard transmission rate. If the real-time transmission rate is greater than or equal to the standard transmission rate, the completion ratio is calculated based on the number of completed communications and the total number of communications, and the completion ratio is compared with the standard completion ratio. If the completion ratio is greater than the standard completion ratio, the real-time transmission rate is directly reduced, where E'=E×[1-b×(1-Y / Y')], E' is the adjusted real-time transmission rate, E is the real-time transmission rate, b is the transmission speed adjustment coefficient, Y is the number of communication completions, and Y' is the total number of communications.
5. The inter-system communication method according to claim 4, characterized in that: In step S3, a standard transmission load is preset. If the real-time transmission rate is lower than the standard transmission rate, the completion ratio is compared with the standard completion ratio. If the completion ratio is greater than the standard completion ratio, the real-time transmission load between the transmission nodes of the sending end system and the receiving end system is obtained, and the real-time transmission load is compared with the standard transmission load. If the real-time transmission load is greater than or equal to the preset standard transmission load, a load balancing operation is performed.
6. The inter-system communication method according to claim 5, characterized in that: In step S3, when the real-time transmission load is less than the standard transmission load, the standard transmission rate is adjusted according to the load difference calculated between the real-time transmission load and the standard transmission load, wherein E0'=E0×[1+u×(R-R') / R'], wherein E0' is the adjusted standard transmission rate, E0 is the preset standard transmission rate, u is the standard transmission rate adjustment coefficient, R is the real-time transmission load, and R' is the preset standard transmission load.
7. The inter-system communication method according to claim 5, characterized in that: In step S3, if the completion ratio is less than or equal to the standard completion ratio, the transmission is terminated and the network status is checked.
8. The inter-system communication method according to claim 7, characterized in that: In step S4, the real-time transmission rate, duration, version number difference, completion ratio and real-time transmission load in the process of steps S1-S3 are monitored, and the monitoring results are standardized to obtain standard values of the real-time transmission rate, duration, version number difference, completion ratio and real-time transmission load, and a corresponding weight is assigned to each standard value and the weights are summed to calculate the performance characterization factor.
9. The inter-system communication method according to claim 8, characterized in that: In step S4, the standard performance characterization value corresponding to the performance characterization value is corrected according to the performance characterization factor, wherein H'=H×(1+X), H' is each performance characterization value after correction, H is each performance characterization value, and X is the performance characterization factor.
Citation Information
Patent Citations
Data synchronizing method, device and system
CN106817387A
Business request processing method and device and computer system
CN111125057A