A server docking data management system and method for privileged accounts

By adjusting the rate limiting parameters of the transfer device through the privileged account, using the characteristic rate model and real-time status coefficient, the network congestion problem caused by uneven transmission rates of the transfer device during the server docking process is solved, and the stability and efficiency of data transmission are achieved.

CN119011405BActive Publication Date: 2025-02-25上海市大数据中心
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411080905.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2025-02-25
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

During the server docking process, network congestion and packet loss are caused by uneven transmission rates of the transit equipment and network fluctuations.

Method used

The rate limiting parameters of the transfer device are adjusted by the privileged account, and the characteristic rate model of each transfer device is obtained by analyzing the historical transmission record. Combining the current transmission rate and delay parameters, the real-time state coefficient and characteristic rate limiting value are calculated, thereby intelligently adjusting the rate limiting parameters of the transfer device.

Benefits of technology

Real-time status monitoring and rate adjustment of transit equipment is realized, ensuring the stability and efficiency of data transmission, and avoiding network congestion and packet loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011405B_ABST
    Figure CN119011405B_ABST
Patent Text Reader

Abstract

The present invention discloses a server docking data management system and method for privileged accounts, belonging to the field of data management technology. It includes: obtaining several transfer devices between servers that send and receive data, each transfer device corresponds to a rate limiting parameter; obtaining the historical transmission record of each transfer device, and obtaining the characteristic rate model of each transfer device; collecting the current transmission rate and delay parameters of each transfer device, and obtaining the real-time state coefficient of each transfer device; obtaining the characteristic rate limit value of each transfer device, and adjusting the rate limiting parameter of the transfer device. The present invention analyzes the historical transmission records of the transfer device, and in combination with the current transmission rate, obtains the state of the transfer device, and then resets the rate limiting parameter; ensures that the transfer device with abnormal transmission data is discovered in time, and adjusts the rate limiting parameter of the transfer device, so as to intelligently and evenly distribute the workload and transmit data in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data management, and in particular to a server docking data management system and method for privileged accounts. Background Art

[0002] A privileged account is an account that has permissions beyond those of ordinary users in a computer system, network or application. Server docking involves establishing connections and communications between two servers to implement business processes for data exchange. Servers can transmit data through network connections. Routers and switches can be regarded as transit devices for data packets during network transmission. They play the role of routing, forwarding and controlling the flow of data during data transmission. If there is no transmission rate limit for the transit device, the transit device may send a large amount of data uncontrollably, resulting in network congestion and data packet loss, and occupying too much bandwidth, which will lead to unfair distribution of bandwidth resources for other devices. During network transmission, data will be distributed by multiple transit devices. In order to ensure the flexibility of transmission and improve the fault tolerance of the network, each transit device uses a different network bandwidth. However, due to network fluctuations, device downtime and other phenomena, the transmission rate of a certain transit device slows down or drops to 0, and the delay of data transmission is high. At this time, it is necessary to adjust the transmission rate limit parameters of the remaining transit devices in a timely manner, intelligently distribute the workload, ensure that data is transmitted as quickly as possible and the workload is evenly distributed between devices. Summary of the invention

[0003] The object of the present invention is to provide a server docking data management system and method for privileged accounts to solve the problems raised in the above background technology.

[0004] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0005] A method for managing server connection data for a privileged account, comprising the following steps:

[0006] Step S100: Acquire several transfer devices between the servers that send and receive data; log in to a privileged account, which has the authority to adjust the rate limit parameters corresponding to each transfer device;

[0007] Step S200: acquiring the historical transmission records of each transfer device, and filtering out the target transmission records therein, analyzing the target transmission records, and obtaining the characteristic rate model of each transfer device;

[0008] Data delay is generally related to the network. When the network is congested, the transmission rate becomes lower and the data delay becomes higher. It is normal for data to be delayed during transmission, but it is abnormal if the delay is too high. This solution excludes the moments with high delay or low transmission rate to obtain the target transmission record. In general, when the transit equipment transmits different data, the rate is the same, and there will be no different transmission rates due to different data types. Different switches will have different characteristic transmission rates due to different processing capabilities or hardware performance.

[0009] Step S300: collecting the current transmission rate and delay parameters of each transfer device, and obtaining the real-time state coefficient of each transfer device according to the corresponding characteristic rate model;

[0010] Step S400: Obtain the characteristic rate limit value of each relay device according to the usage of the broadband corresponding to each relay device, and adjust the rate limit parameter of the relay device through the privileged account according to the characteristic rate limit value and the real-time status coefficient.

[0011] Further, in step S200, the historical transmission records of each transfer device are obtained, and the target transmission records are screened out, including: the transmission records include the transmission rate, rate limit parameters and delay parameters corresponding to each transmission moment; taking the current transmission as the starting point, the previous M transmission records of the transfer device TE are collected, and the mth transmission record is used as TR m , 1≤m≤M, the transmission record TR m The transmission record corresponding to the moment when the delay parameter is less than the delay parameter threshold and the transmission rate is greater than the transmission rate threshold is used as the target transmission record of the mth transmission record, and then the target transmission record corresponding to each transmission record of the transit device TE is obtained.

[0012] Furthermore, in step S200, the target transmission record is analyzed to obtain a characteristic rate model of each transfer device including:

[0013] Step S210: According to the target transmission record corresponding to each transmission record of the transfer device TE, obtain the duration corresponding to each target transmission record, and add them up to obtain the total duration D TE , collection time D TE The transmission rate and rate limit parameters corresponding to each transmission moment in , the rate characteristic ratio of the i-th transmission moment is obtained as: RC i =1-RS i / RLP i , where RS i is the transmission rate at the i-th transmission time, RLP i is the rate limit parameter at the i-th transmission time, 0≤RS i ≤RLPi ;

[0014] The value range of the rate characteristic ratio is [0,1]. When the rate characteristic ratio is larger, it means that the transmission capacity at the i-th transmission time is stronger. When the rate characteristic ratio is smaller, it means that the transmission capacity at the i-th transmission time is weaker.

[0015] Step S220: According to the duration D TE The rate characteristic ratio of each transmission moment, and the duration D1 during which the aggregate rate characteristic ratio is less than the characteristic ratio threshold TE , if the duration D1 TE >C 0 *D TE , C 0 is the duration threshold coefficient, 0 <C 0 ≤1, get duration D1 TE The corresponding rate characteristic ratio average RCM, and then the first characteristic rate corresponding to the transfer equipment TE is obtained as follows:

[0016] X 1 =RLP(1-RCM), where RLP is the rate limiting parameter;

[0017] Even if the rate limit parameters are set for the transfer equipment, the rate limit parameters will not be reached during the actual transmission process. This is because there will be certain losses and interferences in the network during the transmission process, and the rate characteristic ratio average value RCM is used to characterize the degree of loss and interference. When RCM is smaller, it means that the loss and interference are smaller, the first characteristic rate is larger, and the actual transmission rate at a certain moment is closer to the rate limit parameters; when RCM is larger, it means that the loss and interference are greater, the first characteristic rate is smaller, and the actual transmission rate at a certain moment is farther away from the rate limit parameters;

[0018] Step S230: The total duration of time when the rate characteristic ratio is not less than the characteristic ratio threshold is taken as D2 TE , get duration D1 TE The corresponding maximum transmission rate, the aggregation time D2 TE The total time D during which the corresponding transmission rate is greater than the maximum transmission rate max , then get the total duration D max The corresponding average transmission rate is used as the second characteristic rate X corresponding to the transit device TE 2 ; Then, based on the first characteristic rate and the second characteristic rate, the characteristic rate model of the transfer equipment TE is obtained.

[0019] It should be noted that each transfer device corresponds to a different first characteristic rate and second characteristic rate, and each transfer device corresponds to a different characteristic rate model. The transfer device has a maximum transmission rate when transmitting data. The maximum data transmission rate is the highest data transmission capacity that the transfer device can achieve under ideal conditions. It depends on the specifications and capabilities of its network interface, as well as processing power or hardware performance. The first characteristic rate is obtained based on the rate limit parameter, and its specific rate value X 1 Related to the rate limiting parameter, the first characteristic rate is less than the maximum transmission rate; the second characteristic transmission rate is a transmission rate close to the maximum transmission rate obtained based on historical records.

[0020] Furthermore, step S300 includes:

[0021] Step S310: Get the transmission data of the transit device TE in the previous TP time period starting from the current time period. The transmission data includes the transmission rate and delay parameters corresponding to each moment in the time period TP, as well as the current rate limit parameter RLP of the transit device TE. c ;

[0022] Step S320: If the rate limit parameter RLP c ≤X 2 , set the current characteristic rate of the transit device TE to RS T =RLP c (1-RCM), where RCM is the average rate characteristic ratio in step S220. If the rate limit parameter RLP c >X 2 , set the current characteristic rate of the transit device TE to RS T =X 2 ;

[0023] Step S330: Divide the time period TP into H sub-time periods evenly in chronological order, where the feature weight corresponding to the h-th sub-time period is Where, 1≤μ≤H; Get the average transmission rate MRS of the h-th sub-time period h , and obtain the rate ratio r corresponding to the hth sub-time period h =MRS h / RS T , and then the real-time state coefficient of the transfer equipment TE is obtained as

[0024]

[0025] RSC TEThe minimum value is 0, and the maximum value is about 1, which is obtained according to actual calculation. Since the sub-time period closer to the current moment can better represent the transmission status of the transfer equipment, different weights are used for each sub-time period in this solution. The closer the sub-time period is to the current moment, the greater the weight. Then, according to the different weights of each sub-time period, the real-time status coefficient of the transfer equipment TE is obtained.

[0026] Furthermore, step S400 includes:

[0027] Step S410: Obtain the bandwidth B corresponding to the transfer device TE, and detect the bandwidth utilization rate UR of the bandwidth at the current moment in real time B and transmission rate DR B , get the remaining broadband rate RBR of broadband B B =DR B / UR B -DR B ; Get the transmission rate DR of the transit device TE at the current moment C , if the remaining broadband rate RBR B >RBR 0 , RBR 0 is the rate threshold, and the characteristic rate limit value RL of the transit equipment TE is obtained TE =min(DR C +W 1 *RBR B , X 2 ), where W 1 is the first broadband rate threshold; if the remaining broadband rate RBR B ≤RBR 0 , then the characteristic rate limit value RL of the transit equipment TE TE =W 2 *DR C , where W 2 is the second broadband rate threshold;

[0028] If the remaining broadband rate of broadband B is too large, it means that the transit device TE can still occupy some resources in broadband B. The characteristic rate limit value is the maximum broadband rate that the transit device TE can occupy in broadband B, but it cannot exceed X 2 If the remaining broadband rate of broadband B is too small, it means that there are no resources available for the transit equipment TE in broadband B, so the characteristic rate limit value RL TE =W 2 *DR C ;

[0029] Step S420: According to the real-time state coefficient RSC of the transfer equipment TE TE and characteristic rate limit RL TE , if RSCTE ≤RSC 0 And RL TE <X 2 , RSC 0 is the characteristic rate limit value threshold, and the adjustment parameter AP corresponding to the transit device TE is obtained TE =RSC TE -1; if RSC TE >RSC 0 , get the adjustment parameter AP corresponding to the transit equipment TE TE =X 2 / RL TE ;

[0030] Adjusting Parameters AP TE It represents the adjustment correlation coefficient of the current transfer equipment TE, and the adjustment parameter AP TE The smaller the value, the lower the current rate of the transit device TE and the worse the status. The closer it is to 0, the closer the current rate of the transit device TE is to the characteristic rate limit value RL. TE , that is, there is no too low rate, nor too high rate, but it is stable in a balanced state; the larger the value, the higher the current rate of the transit device TE is, and the closer it is to X 2 ; Then, according to the adjustment parameters of the transfer equipment TE, through the data model calculation, adjust the transfer equipment to achieve a relatively balanced state;

[0031] Step S430: According to the adjustment parameters corresponding to each transfer device, if there is an AP TE <-AP 0 The AP is a transit device with a rate limit parameter less than the characteristic rate limit value. 0 To adjust the parameter threshold, AP 0 >0, adjust the rate limit parameters corresponding to the transfer device to the characteristic rate limit value, and obtain the rate change amplitude of the transfer device. If the rate change amplitude is less than the change amplitude threshold, set 0 <AP TE ≤AP 0 The rate limit parameters of the corresponding transfer devices are adjusted to X 2 , thereby adjusting the rate limit parameters of the transit device.

[0032] AP Exists TE <-AP 0If the rate limit parameter of the transit device is less than the characteristic rate limit value, it means that the transmission rate of this transit device is slow and the rate limit parameter needs to be adjusted. If the rate change amplitude of the transit device is less than the change amplitude threshold after the adjustment, it means that the rate limit parameter is not the cause. At this time, it is necessary to increase the rate limit parameters of the remaining transit devices to adjust the rate limit parameters of the transit device. The change amplitude threshold is determined according to the actual situation.

[0033] A server docking data management system for privileged accounts, comprising a transfer device module, a characteristic rate model module, a real-time state coefficient module and a rate limit parameter adjustment module;

[0034] Transfer device module: used to obtain several transfer devices between servers that send and receive data; log in to the privileged account, which has the authority to adjust the rate limit parameters corresponding to each transfer device;

[0035] Characteristic rate model module: used to obtain the historical transmission records of each transfer device, filter out the target transmission records, analyze the target transmission records, and obtain the characteristic rate model of each transfer device;

[0036] Real-time state coefficient module: used to collect the current transmission rate and delay parameters of each transfer device, and obtain the real-time state coefficient of each transfer device according to the corresponding characteristic rate model;

[0037] Rate limit parameter adjustment module: used to obtain the characteristic rate limit value of each relay device according to the usage of the broadband corresponding to each relay device, and adjust the rate limit parameters of the relay device through the privileged account according to the characteristic rate limit value and the real-time status coefficient.

[0038] Further, the characteristic rate model module includes a rate characteristic ratio unit, a first characteristic rate unit and a characteristic rate model unit;

[0039] Rate characteristic ratio unit: used to obtain the total duration corresponding to the target transmission record of the transfer device and obtain the rate characteristic ratio of each transmission moment;

[0040] The first characteristic rate unit is used to obtain the first characteristic rate corresponding to the transfer device according to the rate characteristic ratio of each transmission moment within the duration;

[0041] Characteristic rate model unit: used to obtain the second characteristic rate corresponding to the transfer device; and then obtain the characteristic rate model of the transfer device according to the first characteristic rate and the second characteristic rate.

[0042] Further, the rate limiting parameter adjustment module includes a characteristic rate limiting value unit, an adjustment parameter unit and an adjustment rate limiting parameter unit;

[0043] Characteristic rate limit value unit: used to obtain the broadband corresponding to the transfer device, and detect the broadband utilization rate and transmission rate of the broadband at the current moment in real time, and then obtain the characteristic rate limit value of the transfer device;

[0044] Adjustment parameter unit: used to obtain the adjustment parameter corresponding to the transfer device according to the real-time state coefficient and characteristic rate limit value of the transfer device;

[0045] The rate limiting parameter adjustment unit is used to adjust the rate limiting parameters of the transfer device according to the adjustment parameters and characteristic rate limiting values ​​corresponding to each transfer device.

[0046] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention provides a server docking data management system and method for privileged accounts, including: obtaining a number of transfer devices between servers that send and receive data, each transfer device corresponding to a rate limiting parameter; obtaining the historical transmission records of each transfer device, and obtaining the characteristic rate model of each transfer device; collecting the current transmission rate and delay parameters of each transfer device, and obtaining the real-time state coefficient of each transfer device; obtaining the characteristic rate limiting value of each transfer device, and adjusting the rate limiting parameters of the transfer device. The present invention analyzes the historical transmission records of the transfer device, and in combination with the current transmission rate, obtains the state of the transfer device, and then resets the rate limiting parameters; ensures that the transfer device with abnormal data transmission is discovered in time, and adjusts the rate limiting parameters of the transfer device, so as to intelligently and evenly distribute the workload and transmit data in time. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0048] Figure 1 It is a flow chart of a method for managing server connection data for privileged accounts of the present invention;

[0049] Figure 2 The present invention is a structural diagram of a server docking data management system for privileged accounts. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] See also Figure 1-Figure 2 The present invention provides a server docking data management system and method for privileged accounts, and a corresponding flow chart of a server docking data management method for privileged accounts is shown as follows: Figure 1 As shown. The following steps are included:

[0052] Step S100: Acquire several transfer devices between servers that send and receive data; log in to a privileged account, which has the authority to adjust the rate limit parameters corresponding to each transfer device.

[0053] In a large enterprise data center, if you want to back up or store data, you need to send data from one server to another server. In order to ensure the accuracy and reliability of the transmission, there will be multiple transit devices between the two servers to avoid the failure of timely data transmission when a transit device goes down. The transit device is a router or switch. In order to prevent network congestion and data packet loss, it is usually necessary to limit the transmission rate of the transit device. The privileged account has the authority to adjust the rate limit parameters corresponding to each transit device, and the restriction is specifically implemented through the privileged account.

[0054] Step S200: Acquire the historical transmission records of each transfer device, filter out the target transmission records therein, analyze the target transmission records, and obtain the characteristic rate model of each transfer device.

[0055] Among them, the historical transmission records of each transfer device are obtained, and the target transmission records are screened out, including: the transmission record includes the transmission rate, rate limit parameters and delay parameters corresponding to each transmission moment; starting from the current transmission, the previous M transmission records of the transfer device TE are collected, and the mth transmission record is used as TR m , 1≤m≤M, the transmission record TR m The transmission record corresponding to the moment when the delay parameter is less than the delay parameter threshold and the transmission rate is greater than the transmission rate threshold is used as the target transmission record of the mth transmission record, and then the target transmission record corresponding to each transmission record of the transit device TE is obtained.

[0056] Generally speaking, if the delay is within 100-200 milliseconds, it will not have a significant impact on the upload process. In this embodiment, the delay parameter threshold is 500 milliseconds, and the transmission rate threshold is 1 / 4 of the ideal transmission rate summarized by the technicians based on historical records. The specific delay parameter threshold and transmission rate threshold are determined according to the actual situation.

[0057] Data delay is generally related to the network. When the network is congested, the transmission rate becomes lower and the data delay becomes higher. It is normal for data to be delayed during transmission, but it is abnormal if the delay is too high. This solution excludes the moments with high delay or low transmission rate to obtain the target transmission record. In general, when the transit equipment transmits different data, the rate is the same, and there will be no different transmission rates due to different data types. Different switches will have different characteristic transmission rates due to different processing capabilities or hardware performance.

[0058] Among them, the target transmission record is analyzed to obtain the characteristic rate model of each transfer device including:

[0059] Step S210: According to the target transmission record corresponding to each transmission record of the transfer device TE, obtain the duration corresponding to each target transmission record, and add them up to obtain the total duration D TE , collection time D TE The transmission rate and rate limit parameters corresponding to each transmission moment in , the rate characteristic ratio of the i-th transmission moment is obtained as: RC i =1-RS i / RLP i , where RS i is the transmission rate at the i-th transmission time, RLP i is the rate limit parameter at the i-th transmission time, 0≤RS i ≤RLP i .

[0060] The value range of the rate characteristic ratio is [0,1]. The larger the rate characteristic ratio is, the stronger the transmission capacity at the i-th transmission moment is. The smaller the rate characteristic ratio is, the weaker the transmission capacity at the i-th transmission moment is.

[0061] Step S220: According to the duration D TE The rate characteristic ratio of each transmission moment, and the duration D1 during which the aggregate rate characteristic ratio is less than the characteristic ratio threshold TE , if the duration D1 TE >C 0 *D TE , C 0 is the duration threshold coefficient, 0 <C 0 ≤1, get duration D1 TE The corresponding rate characteristic ratio average RCM, and then the first characteristic rate corresponding to the transfer equipment TE is obtained as: X 1 =RLP(1-RCM), where RLP is the rate limiting parameter.

[0062] Since the rate characteristic ratio ranges from [0 to 1], in this embodiment, the characteristic ratio threshold is 0.6. 0 According to the actual duration D TE In this embodiment, the duration threshold coefficient C 0 is 0.2.

[0063] Even if the rate limit parameters are set for the transit equipment, the rate limit parameters will not be reached during the actual transmission process. This is because there will be certain losses and interferences in the network during transmission, and the rate characteristic ratio average value RCM is used to characterize the degree of loss and interference. When the RCM is smaller, it means that the loss and interference are smaller, the first characteristic rate is larger, and the actual transmission rate at a certain moment is closer to the rate limit parameters; when the RCM is larger, it means that the loss and interference are greater, the first characteristic rate is smaller, and the actual transmission rate at a certain moment is farther away from the rate limit parameters.

[0064] Step S230: The total duration of time when the rate characteristic ratio is not less than the characteristic ratio threshold is taken as D2 TE , get duration D1 TE The corresponding maximum transmission rate, the aggregation time D2 TE The total time D during which the corresponding transmission rate is greater than the maximum transmission rate max , then get the total duration D max The corresponding average transmission rate is used as the second characteristic rate X corresponding to the transit device TE 2 ; Then, based on the first characteristic rate and the second characteristic rate, the characteristic rate model of the transfer equipment TE is obtained.

[0065] It should be noted that each transfer device corresponds to a different first characteristic rate and second characteristic rate, and each transfer device corresponds to a different characteristic rate model. The transfer device has a maximum transmission rate when transmitting data. The maximum data transmission rate is the highest data transmission capacity that the transfer device can achieve under ideal conditions. It depends on the specifications and capabilities of its network interface, as well as processing power or hardware performance. The first characteristic rate is obtained based on the rate limit parameter, and its specific rate value X 1 Related to the rate limiting parameter, the first characteristic rate is less than the maximum transmission rate; the second characteristic transmission rate is a transmission rate close to the maximum transmission rate obtained based on historical records.

[0066] Step S300: Collect the current transmission rate and delay parameters of each transfer device, and obtain the real-time state coefficient of each transfer device according to the corresponding characteristic rate model.

[0067] Step S310: Get the transmission data of the transit device TE in the previous TP time period starting from the current time period. The transmission data includes the transmission rate and delay parameters corresponding to each moment in the time period TP, as well as the current rate limit parameter RLP of the transit device TE. c .

[0068] Step S320: If the rate limit parameter RLP c ≤X 2 , set the current characteristic rate of the transit device TE to RS T =RLP c (1-RCM), where RCM is the average rate characteristic ratio in step S220. If the rate limit parameter RLP c >X 2 , set the current characteristic rate of the transit device TE to RS T =X 2 .

[0069] Step S330: Divide the time period TP into H sub-time periods evenly in chronological order, where the feature weight corresponding to the h-th sub-time period is Where, 1≤μ≤H; Get the average transmission rate MRS of the h-th sub-time period h , and obtain the rate ratio r corresponding to the hth sub-time period h =MRS h / RS T , and then the real-time state coefficient of the transfer equipment TE is obtained as

[0070]

[0071] RSC TE The minimum value is 0, and the maximum value is about 1, which is obtained according to actual calculation. Since the sub-time period closer to the current moment can better represent the transmission status of the transfer equipment, different weights are used for each sub-time period in this solution. The closer the sub-time period is to the current moment, the greater the weight. Then, according to the different weights of each sub-time period, the real-time status coefficient of the transfer equipment TE is obtained.

[0072] Step S400: Obtain the characteristic rate limit value of each relay device according to the usage of the broadband corresponding to each relay device, and adjust the rate limit parameter of the relay device through the privileged account according to the characteristic rate limit value and the real-time status coefficient.

[0073] Step S410: Obtain the bandwidth B corresponding to the transfer device TE, and detect the bandwidth utilization rate UR of the bandwidth at the current moment in real time B and transmission rate DR B , get the remaining broadband rate RBR of broadband B B=DR B / UR B -DR B ; Get the transmission rate DR of the transit device TE at the current moment C , if the remaining broadband rate RBR B >RBR 0 , RBR 0 is the rate threshold, and the characteristic rate limit value RL of the transit equipment TE is obtained TE =min(DR C +W 1 *RBR B , X 2 ), where W 1 is the first broadband rate threshold; if the remaining broadband rate RBR B ≤RBR 0 , then the characteristic rate limit value RL of the transit equipment TE TE =W 2 *DR C , where W 2 is the second broadband rate threshold.

[0074] If the remaining broadband rate of broadband B is too large, it means that the transit device TE can still occupy some resources in broadband B. The characteristic rate limit value is the maximum broadband rate that the transit device TE can occupy in broadband B, but it cannot exceed X 2 If the remaining broadband rate of broadband B is too small, it means that there are no resources available for the transit equipment TE in broadband B, so the characteristic rate limit value RL TE =W 2 *DR C In this embodiment, W 1 and W 2 It should be determined according to the actual situation. 2 >0,W 1 >0, in this embodiment, W 1 =0.2, which means that 20% of the remaining broadband rate can be allocated to the transit equipment TE, W 2 =0.8.

[0075] Step S420: According to the real-time state coefficient RSC of the transfer equipment TE TE and characteristic rate limit RL TE , if RSC TE ≤RSC 0 And RL TE <X 2 , RSC 0 is the characteristic rate limit value threshold, and the adjustment parameter AP corresponding to the transit device TE is obtained TE =RSC TE -1; if RSC TE>RSC 0 , get the adjustment parameter AP corresponding to the transit equipment TE TE =X 2 / RL TE .

[0076] Thanks to RSC TE The minimum value is 0 and the maximum value is about 1, so in this embodiment, the characteristic rate limit value threshold RSC 0 is 0.6.

[0077] Adjusting Parameters AP TE It represents the adjustment correlation coefficient of the current transfer equipment TE, and the adjustment parameter AP TE The smaller the value, the lower the current rate of the transit device TE and the worse the status. The closer it is to 0, the closer the current rate of the transit device TE is to the characteristic rate limit value RL. TE , that is, there is no too low rate, nor too high rate, but it is stable in a balanced state; the larger the value, the higher the current rate of the transit device TE is, and the closer it is to X 2 ; Then, according to the adjustment parameters of the transfer equipment TE, through data model calculation, adjust the transfer equipment to achieve a relatively balanced state.

[0078] Step S430: According to the adjustment parameters corresponding to each transfer device, if there is an AP TE <-AP 0 The AP is a transit device with a rate limit parameter less than the characteristic rate limit value. 0 To adjust the parameter threshold, AP 0 >0, adjust the rate limit parameters corresponding to the transfer device to the characteristic rate limit value, and obtain the rate change amplitude of the transfer device. If the rate change amplitude is less than the change amplitude threshold, set 0 <AP TE ≤AP 0 The rate limit parameters of the corresponding transfer devices are adjusted to X 2 , thereby adjusting the rate limit parameters of the transit device.

[0079] AP Exists TE <-AP 0 If the transfer device has a rate limit parameter less than the characteristic rate limit value, it means that the transmission rate of this transfer device is slow and the rate limit parameter needs to be adjusted. If the rate change amplitude of the transfer device after adjustment is less than the change amplitude threshold, it means that the rate limit parameter is not the cause. At this time, it is necessary to increase the rate limit parameters of other transfer devices to adjust the rate limit parameters of the transfer device; the change amplitude threshold is determined according to the actual situation. In this embodiment, AP 0 is 0.5.

[0080] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0081] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. 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 server connection data management method for privileged accounts, characterized in that: The following steps are involved: Step S100: Acquire several transfer devices between servers that send and receive data; Log in to a privileged account, where the privileged account has the authority to adjust the rate limit parameters corresponding to each transfer device; Step S200: acquiring the historical transmission records of each transfer device, and filtering out the target transmission records therein, analyzing the target transmission records, and obtaining the characteristic rate model of each transfer device; Step S300: collecting the current transmission rate and delay parameters of each transfer device, and obtaining the real-time state coefficient of each transfer device according to the corresponding characteristic rate model; Step S400: obtaining a characteristic rate limit value of each transfer device according to the usage of the broadband corresponding to each transfer device, and adjusting the rate limit parameter of the transfer device through the privileged account according to the characteristic rate limit value and the real-time status coefficient; In step S200, the target transmission record is analyzed to obtain a characteristic rate model of each transfer device, including: Step S210: According to the target transmission record corresponding to each transmission record of the transfer device TE, the duration corresponding to each target transmission record is obtained, and the total duration D is obtained by adding them up. TE , collect the duration D TE The transmission rate and rate limit parameters corresponding to each transmission moment in , the rate characteristic ratio of the i-th transmission moment is obtained as: RC i =1-RS i / RLP i , where RS i is the transmission rate at the i-th transmission time, RLP i is the rate limit parameter at the i-th transmission time, 0≤RS i ≤RLP i ; Step S220: According to the duration D TE Aggregate the duration D1 of the rate characteristic ratio less than the characteristic ratio threshold according to the rate characteristic ratio at each transmission moment within the duration D TE , if the duration D1 TE > C0 * D TE , where C0 is the duration threshold coefficient, 0 < C0 ≤ 1, to obtain the duration D1 TE Calculate the average value RCM of the corresponding rate characteristic ratio, and further obtain the first characteristic rate corresponding to the transfer device TE as: X1 = RLP(1 - RCM), where RLP is the rate limit parameter; Step S230: The total duration of time when the rate characteristic ratio is not less than the characteristic ratio threshold is taken as D2 TE , get duration D1 TE The corresponding maximum transmission rate, the aggregation time D2 TE The total time D of the corresponding transmission rate being greater than the maximum transmission rate max , then obtain the total duration D max The corresponding average value of the transmission rate is used as the second characteristic rate X2 corresponding to the transit equipment TE; and then the characteristic rate model of the transit equipment TE is obtained according to the first characteristic rate and the second characteristic rate.

2. A method for managing server connection data for privileged accounts according to claim 1, characterized in that: In step S200, the historical transmission records of each transfer device are obtained, and the target transmission records are selected, including: the transmission records include the transmission rate, rate limit parameters and delay parameters corresponding to each transmission moment; taking the current transmission as the starting point, the previous M transmission records of the transfer device TE are collected, and the mth transmission record is used as TR m , 1≤m≤M, the transmission record TR m The transmission record corresponding to the moment when the delay parameter is less than the delay parameter threshold and the transmission rate is greater than the transmission rate threshold is used as the target transmission record of the mth transmission record, and then the target transmission record corresponding to each transmission record of the transit device TE is obtained.

3. A method for managing server connection data for privileged accounts according to claim 2, characterized in that: Step S300 includes: Step S310: Obtain the transmission data of the transit device TE in the previous TP time period starting from the current time period, wherein the transmission data includes the transmission rate and delay parameters corresponding to each moment in the time period TP, and the current rate limit parameter RLP of the transit device TE c ; Step S320: If the rate limit parameter RLP c ≤X2, set the current characteristic rate of the transit device TE to RS T =RLP c (1-RCM), where RCM is the average rate characteristic ratio in step S220. If the rate limit parameter RLP c >X2, set the current characteristic rate of the transit device TE to RS T =X2; Step S330: Divide the time period TP into H sub-time periods evenly in chronological order, where the feature weight corresponding to the h-th sub-time period is Where, 1≤μ≤H; Get the average transmission rate MRS of the h-th sub-time period h , and obtain the rate ratio r corresponding to the hth sub-time period h =MRS h / RS T , and then the real-time state coefficient of the transfer equipment TE is obtained as 4. A method for managing server connection data for privileged accounts according to claim 1, characterized in that: Step S400 includes: Step S410: Obtain the bandwidth B corresponding to the transfer device TE, and detect the bandwidth utilization rate UR of the bandwidth at the current moment in real time B and transmission rate DR B , get the remaining broadband rate RBR of broadband B B =DR B / UR B -DR B ; Get the transmission rate DR of the transit device TE at the current moment C , if the remaining broadband rate RBR B >RBR0, RBR0 is the rate threshold, and the characteristic rate limit value RL of the transit equipment TE is obtained TE =min(DR C +W1*RBR B , X2), where W1 is the first broadband rate threshold; if the remaining broadband rate RBR B ≤RBR0, then the characteristic rate limit value RL of the transit equipment TE TE =W2*DR C , where W2 is the second broadband rate threshold; Step S420: According to the real-time status coefficient RSC of the transfer device TE TE and the characteristic rate limit value RL TE , if RSC TE ≤RSC0 and RL TE <X2, where RSC0 is the threshold of the characteristic rate limit value, obtain the adjustment parameter AP corresponding to the transfer device TE TE = RSC TE - 1; if RSC TE >RSC0, obtain the adjustment parameter AP corresponding to the transfer device TE TE = X2 / RL TE ; Step S430: According to the adjustment parameters corresponding to each transfer device, if there is an AP TE <-AP0 and the rate limit parameter is less than the characteristic rate limit value of the transfer device, AP0 is the adjustment parameter threshold, AP0>0, the rate limit parameters corresponding to the transfer device are adjusted to the characteristic rate limit value, and the rate change amplitude of the transfer device is obtained. If the rate change amplitude is less than the change amplitude threshold, then 0 <AP TE The rate limit parameters of the transfer devices corresponding to ≤AP0 are all adjusted to X2, thereby adjusting the rate limit parameters of the transfer devices.

5. A server connection data management system, used to execute a server connection data management method for a privileged account as claimed in any one of claims 1 to 4, characterized in that: The system includes a transfer equipment module, a characteristic rate model module, a real-time state coefficient module and a rate limit parameter adjustment module; Transfer device module: used to obtain several transfer devices between servers that send and receive data; log in to a privileged account, which has the authority to adjust the rate limit parameters corresponding to each transfer device; Characteristic rate model module: used to obtain the historical transmission records of each transfer device, and filter out the target transmission records therein, analyze the target transmission records, and obtain the characteristic rate model of each transfer device; Real-time state coefficient module: used to collect the current transmission rate and delay parameters of each transfer device, and obtain the real-time state coefficient of each transfer device according to the corresponding characteristic rate model; The rate limit parameter adjustment module is used to obtain the characteristic rate limit value of each transfer device according to the usage of the broadband corresponding to each transfer device, and adjust the rate limit parameter of the transfer device through the privileged account according to the characteristic rate limit value and the real-time status coefficient; The characteristic rate model module includes a rate characteristic ratio unit, a first characteristic rate unit and a characteristic rate model unit; The rate characteristic ratio unit is used to obtain the duration corresponding to each target transmission record corresponding to the transfer device, add the duration to obtain the corresponding total duration, collect the transmission rate and rate limit parameters corresponding to each transmission moment in the total duration, and then obtain the rate characteristic ratio of each transmission moment; A first characteristic rate unit: used to obtain a first characteristic rate corresponding to the transfer device according to a rate characteristic ratio at each transmission moment; Characteristic rate model unit: used to obtain the second characteristic rate corresponding to the transfer device; and then obtain the characteristic rate model of the transfer device according to the first characteristic rate and the second characteristic rate.

6. A server docking data management system according to claim 5, characterized in that: The rate limiting parameter adjustment module includes a characteristic rate limiting value unit, an adjustment parameter unit and an adjustment rate limiting parameter unit; Characteristic rate limit value unit: used to obtain the broadband corresponding to the transfer device, and detect the broadband utilization rate and transmission rate of the broadband at the current moment in real time, obtain the remaining broadband rate of the broadband, and then obtain the characteristic rate limit value of the transfer device; Adjustment parameter unit: used to obtain the adjustment parameter corresponding to the transfer device according to the real-time state coefficient and characteristic rate limit value of the transfer device; The rate limiting parameter adjustment unit is used to adjust the rate limiting parameters of the transfer device according to the adjustment parameters corresponding to the transfer device and the characteristic rate limiting value.

Citation Information

Patent Citations

  • Method and system for optimizing primary frequency modulation, and terminal device

    CN109449957A

  • Transmission rate determination method and device, equipment and storage medium

    CN110401511A