An expansion dock control system for a tablet computer and its control method
The method and system for tablet computers adjust connection parameters based on real-time environmental monitoring to maintain stable connections, addressing instability due to environmental factors.
Patent Information
- Application Number
- CN202510609669.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2045-05-13
AI Technical Summary
The existing tablet dock control method fails to effectively respond to changes in environmental factors such as temperature, humidity and electromagnetic interference, resulting in unstable and interrupted connections.
By detecting the connection status between the tablet and the dock, recording the initial connection parameters, monitoring the environmental conditions in real time, calculating the environment adaptation threshold and characteristic values, automatically adjusting the connection parameters to adapt to environmental changes, and optimizing connection stability.
It significantly improves the reliability and stability of the connection between devices, ensuring that a good user experience can be maintained in adverse environments.
Smart Images

Figure CN120123188B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of docking stations, and particularly relates to a docking station control system and a control method for a tablet computer. Background Art
[0002] With the popularization of mobile computing devices such as tablet computers, users have put forward higher requirements for the functionality and flexibility of these devices. To meet this demand, the docking station, as an important interface connecting tablet computers with various peripheral devices, has become increasingly important. Existing control methods for tablet computer docking stations usually focus on implementing basic data transmission and power supply functions at the hardware level, but often ignore the impact of environmental factors on connection stability.
[0003] The general solution of the existing technology usually includes directly inserting the tablet computer into the docking station and relying on preset fixed parameters to maintain communication and data exchange between the two. Although this method can provide stable services under ideal conditions, in actual use, due to changes in environmental conditions such as temperature, humidity, and electromagnetic interference, problems such as unstable connection or even interruption may occur. Summary of the Invention
[0004] The purpose of the present invention is to provide a docking station control system and a control method for a tablet computer, which can detect and adapt to changes in environmental conditions, automatically adjust the initial connection parameters, and optimize the connection stability between the tablet computer and the docking station, so as to solve the problems raised in the above background art.
[0005] To achieve the above purpose, the present invention adopts the following technical scheme: A control method for a docking station of a tablet computer, including the following steps:
[0006] Detect the connection state between the tablet computer and the docking station, record the initial connection parameters, and calculate an environmental adaptation threshold based on the initial connection parameters;
[0007] Monitor the temperature, humidity, and electromagnetic interference level under the current environmental conditions, form a set of environmental characteristic values, and compare the environmental characteristic values with the environmental adaptation threshold;
[0008] Adjust the initial connection parameters according to the comparison result, periodically repeat monitoring the temperature, humidity, and electromagnetic interference level under the current environmental conditions, and update the environmental characteristic values;
[0009] When it is found that the environmental characteristic values exceed the preset range, recalculate a new environmental adaptation threshold, and adjust the initial connection parameters again according to the new environmental adaptation threshold;
[0010] The process of cyclically executing from monitoring the temperature, humidity, and electromagnetic interference level under the current environmental conditions to adjusting the initial connection parameters according to the new environmental adaptation threshold continuously optimizes the connection stability between the tablet computer and the docking station.
[0011] Preferably, detecting the connection state between the tablet computer and the docking station and recording the initial connection parameters includes:
[0012] Sending a set of test signals from the tablet computer to the docking station, recording the sending time T_1 of the test signals, receiving the response signals returned by the docking station, and recording the receiving time T_2;
[0013] Calculating the signal round-trip delay Delta_T based on T_1 and T_2, where Delta_T = (T_2 - T_1) * 0.5;
[0014] Adjusting the preset basic connection parameter P using the signal round-trip delay Delta_T to form the initial connection parameter P_0, P_0 = P + A * Delta_T, where A is a constant used to reflect the influence degree of the environment on the connection quality.
[0015] Preferably, calculating the environmental adaptation threshold based on the initial connection parameters includes:
[0016] Obtaining the initial connection parameter P_0, and then determining a basic environmental influence factor E_0;
[0017] Calculating the preliminary environmental adaptation threshold T_ini based on the initial connection parameter P_0 and the basic environmental influence factor E_0, where T_ini = P_0 / E_0;
[0018] Introducing the real-time monitored basic environmental change amount Delta_E and adjusting the preliminary environmental adaptation threshold T_ini to the final environmental adaptation threshold T_fin, where T_fin = T_ini - (Delta_E * B), and B is a constant used to correct the influence brought by environmental changes.
[0019] Preferably, monitoring the temperature, humidity, and electromagnetic interference level under the current environmental conditions to form a set of environmental characteristic values includes:
[0020] Measuring the temperature T_env, humidity H_env, and electromagnetic interference intensity I_env of the current environment through the sensors set on the tablet computer and the docking station, and respectively recording them as T_meas, H_meas, and I_meas;
[0021] Convert the measured values of \(T\), \(H\), and \(I\) into standardized values to obtain \(T_{std}=T_{meas} / T_{max}\), \(H_{std}=H_{meas} / H_{max}\), \(I_{std}=I_{meas} / I_{max}\), where \(T_{max}\), \(H_{max}\), and \(I_{max}\) are the maximum allowable values for their respective measurements;
[0022] Calculate the comprehensive environmental impact index \(C_{env}\) based on the standardized values, where \(C_{env}=(T_{std}+H_{std}+I_{std}) / 3\);
[0023] Combine the comprehensive environmental impact index \(C_{env}\) with the signal round-trip delay \(\Delta T\) to adjust the comprehensive environmental impact index \(C_{env}\) to the final environmental characteristic value \(C_{final}\), where \(C_{final}=C_{env}*(1 + C*\Delta T)\), and \(C\) is a constant used to reflect the impact of the connection state on environmental adaptability.
[0024] Preferably, compare the environmental characteristic value with the environmental adaptation threshold, including:
[0025] Obtain the final environmental characteristic value \(C_{final}\) and the final environmental adaptation threshold \(T_{final}\);
[0026] Calculate the difference \(D_{val}\) to represent the gap between the environmental characteristic value and the environmental adaptation threshold, where \(D_{val}=C_{final}-T_{final}\);
[0027] Judge whether the \(D_{val}\) exceeds the preset safety range \(R_{safe}\). If \(|D_{val}|>R_{safe}\), mark that the current environmental conditions require adjustment of the connection parameters;
[0028] Based on the relationship between the \(D_{val}\) and the safety range \(R_{safe}\), calculate the adjustment factor \(Adj_{fac}\) for subsequent parameter adjustment, where:
[0029] \(Adj_{fac}=1+(|D_{val}|-R_{safe}) / R_{safe}\).
[0030] Preferably, adjust the initial connection parameters according to the comparison result, including:
[0031] Obtain the adjustment factor \(Adj_{fac}\) and the initial connection parameter \(P_0\);
[0032] Calculate the temporary adjustment value \(Temp_{adj}\) based on the adjustment factor \(Adj_{fac}\) to reflect the degree of impact of environmental changes on the connection parameters, where \(Temp_{adj}=P_0*Adj_{fac}\);
[0033] Combine the initial connection parameter P_0 with the temporary adjustment value Temp_adj to generate a new connection parameter P_new, where P_new = P_0 + Temp_adj;
[0034] Check whether the new connection parameter P_new is within the preset safe parameter range [P_min, P_max]. If P_new is not within the range of [P_min, P_max], correct it to meet the range requirements. The correction formula is P_final = min(max(P_new, P_min), P_max).
[0035] Preferably, periodically repeat the monitoring of the temperature, humidity, and electromagnetic interference level under the current environmental conditions, and update the environmental characteristic value, including:
[0036] Set a time interval Int_time, and start a new monitoring cycle after each Int_time ends;
[0037] At the beginning of each monitoring cycle, re-measure the temperature T_new, humidity H_new, and electromagnetic interference intensity I_new of the current environment through sensors;
[0038] Based on the T_new, H_new, and I_new, calculate new normalized values T_std_new = T_new / T_max, H_std_new = H_new / H_max, I_std_new = I_new / I_max, and calculate a new comprehensive environmental impact index C_env_new from this, where C_env_new = (T_std_new + H_std_new + I_std_new) / 3;
[0039] Combine the new comprehensive environmental impact index C_env_new with the signal round-trip delay Delta_T, and adjust the C_env_new to the updated final environmental characteristic value C_final_new, where C_final_new = C_env_new * (1 + C * Delta_T).
[0040] Preferably, when it is found that the environmental characteristic value exceeds the preset range, recalculate a new environmental adaptation threshold, including:
[0041] Obtain the updated final environmental characteristic value C_final_new, and check whether it exceeds the preset safe range R_env;
[0042] If the C_final_new exceeds R_env, trigger a new adaptation adjustment process. First, determine the current basic environmental impact factor E_new, and E_new is obtained based on the latest environmental conditions;
[0043] Calculate a preliminary new environmental adaptation threshold \(T_{initial\_new}\) using the said \(C_{final\_new}\) and the said \(E_{new}\), where \(T_{initial\_new}=C_{final\_new} / E_{new}\);
[0044] Combine the constant \(B\) and the current signal round-trip delay \(\Delta_T\) to adjust the said \(T_{initial\_new}\) to obtain the final new environmental adaptation threshold \(T_{final\_new}\), where \(T_{final\_new}=T_{initial\_new}-(B*\Delta_T)\).
[0045] Preferably, readjust the initial connection parameters according to the new environmental adaptation threshold, including:
[0046] Obtain the final new environmental adaptation threshold \(T_{initial\_new}\) and the initial connection parameter \(P_0\);
[0047] Calculate a temporary adjustment coefficient \(Adj\_coef\) based on the said \(T_{initial\_new}\) and the said \(P_0\) to reflect the influence degree of the new environmental adaptation threshold on the initial connection parameter, where \(Adj\_coef = P_0 / T_{final\_new}\);
[0048] Use the said \(Adj\_coef\) to adjust the initial connection parameter \(P_0\) to generate a new connection parameter \(P_{new}\), where \(P_{new}=P_0*Adj\_coef\);
[0049] Check whether the said new connection parameter \(P_{new}\) is within the preset safe parameter interval \([P_{min},P_{max}]\);
[0050] If \(P_{new}\) is not within the range of \([P_{min},P_{max}]\), then correct it to meet the range requirements, and the correction formula is \(P_{final}=min(max(P_{new},P_{min}),P_{max})\).
[0051] On the other hand, the present invention proposes a docking station control system for a tablet computer, including:
[0052] An environmental adaptation threshold calculation module, which is used to detect the connection state between the tablet computer and the docking station, record the initial connection parameters, and calculate the environmental adaptation threshold based on the said initial connection parameters;
[0053] An environmental characteristic value monitoring and comparison module, which is used to monitor the temperature, humidity and electromagnetic interference degree under the current environmental conditions, form a set of environmental characteristic values, and compare the said environmental characteristic values with the environmental adaptation threshold;
[0054] A parameter adjustment and periodic monitoring module, which is used to adjust the said initial connection parameters according to the comparison result, periodically repeat the monitoring of the temperature, humidity and electromagnetic interference degree under the current environmental conditions, and update the said environmental characteristic values;
[0055] A parameter adjustment module, which is used to recalculate a new environmental adaptation threshold when it is found that the environmental characteristic value exceeds the preset range, and adjust the initial connection parameters again according to the new environmental adaptation threshold.
[0056] A continuous optimization of connection stability module, which is used to continuously execute the process from monitoring the temperature, humidity and electromagnetic interference degree under the current environmental conditions to adjusting the initial connection parameters according to the new environmental adaptation threshold, so as to continuously optimize the connection stability between the tablet computer and the docking station.
[0057] The technical effects and advantages of the present invention: An extended dock control system and a control method for a tablet computer proposed by the present invention have the following advantages compared with the prior art:
[0058] By periodically monitoring the temperature, humidity and electromagnetic interference degree in the current environment and adjusting the connection parameters in real time based on these environmental characteristic values, the present invention can significantly improve the reliability and stability of the connection between devices, ensure a good user experience even in adverse environments, and this method can detect and adapt to changes in environmental conditions, automatically adjust the initial connection parameters to optimize the connection stability between the tablet computer and the docking station. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a flowchart of an extended dock control method for a tablet computer according to the present invention;
[0060] Figure 2 It is a block diagram of an extended dock control system for a tablet computer according to the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0061] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. The specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0062] The present invention provides an extended dock control method for a tablet computer as Figure 1 shown, which can detect and adapt to changes in environmental conditions, automatically adjust the initial connection parameters to optimize the connection stability between the tablet computer and the docking station, and is specifically as follows:
[0063] In this embodiment, an extended dock control method for a tablet computer includes the following steps:
[0064] Step 1: Detect the connection status between the tablet computer and the docking station, and record the initial connection parameters, specifically including:
[0065] Send a set of test signals from the tablet computer to the docking station, record the sending time T_1 of the test signals, and establish a basic time marking point for subsequent calculation of the signal round-trip delay. Receive the response signal returned by the docking station and record the receiving time T_2; complete a complete signal round-trip process to ensure that the actual transmission time of the signal can be accurately measured.
[0066] Calculate the signal round-trip delay Delta_T based on T_1 and T_2, where Delta_T = (T_2 - T_1) * 0.5; the formula means dividing the total round-trip time by 2 to obtain the one-way signal transmission time. Considering that the time spent in the signal round-trip process is symmetric, that is, the time for the forward and return trips is the same, so the delay time of the one-way signal transmission can be obtained through (T_2 - T_1) * 0.5.
[0067] Adjust the preset basic connection parameter P using the signal round-trip delay Delta_T to form the initial connection parameter P_0, P_0 = P + A * Delta_T, where A is a constant used to reflect the influence degree of the environment on the connection quality.
[0068] Example 1
[0069] Assume that the set basic connection parameter P = 100 and the constant A = 2. If the measured sending time T_1 is 10:00:00.000 and the receiving time T_2 is 10:00:00.020, then:
[0070] Calculate the signal round-trip delay Delta_T = (T_2 - T_1) * 0.5 = (20 milliseconds) * 0.5 = 10 milliseconds.
[0071] Adjust the initial connection parameter P_0 = P + A * Delta_T = 100 + 2 * 10 = 120 according to Delta_T.
[0072] In this way, through the above steps and calculations, the connection parameters between the tablet computer and the docking station can be dynamically adjusted according to specific environmental conditions, thereby optimizing the stability and efficiency of the connection.
[0073] Step 2: Calculate the environmental adaptation threshold based on the initial connection parameter; specifically including:
[0074] Obtain the initial connection parameter P_0, and then determine a basic environmental impact factor E_0, which reflects the influence degree on signal transmission in an ideal environment (without obvious external interference). E_0 can be obtained through experiments or historical data analysis.
[0075] Based on the initial connection parameter P_0 and the basic environmental impact factor E_0, a preliminary environmental adaptation threshold T_initial is calculated, where T_initial = P_0 / E_0; the formula means obtaining a preliminary adaptation threshold by dividing the initial connection parameter by the basic environmental impact factor. Through this division operation, the ideal connection standard between devices under given basic environmental conditions can be preliminarily estimated.
[0076] Introduce the real-time monitored basic environmental change amount Delta_E, and adjust the preliminary environmental adaptation threshold T_initial to the final environmental adaptation threshold T_final, where T_final = T_initial - (Delta_E * B), and B is a constant used to correct the impact caused by environmental changes. By considering the changes in the actual environment to dynamically adjust the adaptation threshold, the device can maintain optimal performance in a changing environment.
[0077] Example 2
[0078] Assume the initial connection parameter P_0 = 120, the basic environmental impact factor E_0 = 1.5, the real-time monitored basic environmental change amount Delta_E = 0.3, and the correction coefficient B = 2, then:
[0079] Calculate the preliminary environmental adaptation threshold T_initial = P_0 / E_0 = 120 / 1.5 = 80.
[0080] Adjust to the final environmental adaptation threshold T_final = T_initial - (Delta_E * B) = 80 - (0.3 * 2) = 79.4 according to the real-time environmental change.
[0081] In this way, through the above steps and calculations, the connection parameters between the tablet computer and the docking station can be dynamically adjusted according to the real-time monitored environmental changes.
[0082] Step 3: Monitor the temperature, humidity, and electromagnetic interference degree under the current environmental conditions to form a set of environmental characteristic values, specifically including:
[0083] Measure the temperature T_env, humidity H_env, and electromagnetic interference intensity I_env of the current environment through sensors set on the tablet computer and the docking station, and record them as T_measured, H_measured, and I_measured respectively;
[0084] Convert the T_measured, H_measured, and I_measured into standardized values to obtain T_standard = T_measured / T_max, H_standard = H_measured / H_max, I_standard = I_measured / I_max, where T_max, H_max, and I_max are the maximum allowable values of their respective measurements; convert the actual measured values into ratios relative to their maximum allowable values to facilitate comparison and comprehensive analysis between different environmental factors.
[0085] Calculate the comprehensive environmental impact index C_env based on the standardized values, where C_env = (T_std + H_std + I_std) / 3; it is used to calculate a comprehensive index that reflects the combined impact of temperature, humidity, and electromagnetic interference on the device connection quality. By averaging the standardized values of each environmental factor, an overall environmental impact evaluation standard is obtained, which helps to comprehensively understand the impact of the environment on connection stability.
[0086] Combine the comprehensive environmental impact index C_env with the signal round-trip delay Delta_T, and adjust the comprehensive environmental impact index C_env to the final environmental characteristic value C_final, where C_final = C_env * (1 + C * Delta_T), and C is a constant used to reflect the impact of the connection state on environmental adaptability.
[0087] Example 3
[0088] Assume that the measured temperature T_meas = 30°C (T_max = 50°C), the measured humidity H_meas = 60% (H_max = 80%), the electromagnetic interference intensity I_meas = 0.5 (I_max = 1), the signal round-trip delay Delta_T = 10 milliseconds, and the correction coefficient C = 0.1. Then:
[0089] Standardized values: T_std = T_meas / T_max = 30 / 50 = 0.6; H_std = H_meas / H_max = 60 / 80 = 0.75; I_std = I_meas / I_max = 0.5 / 1 = 0.5.
[0090] Calculate the comprehensive environmental impact index C_env = (T_std + H_std + I_std) / 3 = (0.6 + 0.75 + 0.5) / 3 = 0.617.
[0091] The adjusted final environmental characteristic value C_final = C_env * (1 + C * Delta_T) = 0.617 * (1 + 0.1 * 10) = 0.617 * 2 = 1.234.
[0092] In this way, through the above steps and calculations, the connection parameters between the tablet computer and the docking station can be dynamically adjusted according to the current environmental conditions, thereby optimizing the connection stability and efficiency.
[0093] Step Four: Compare the environmental characteristic value with the environmental adaptation threshold, which specifically includes:
[0094] Obtain the final environmental characteristic value C_final and the final environmental adaptation threshold T_final; calculate the difference D_val to represent the gap between the environmental characteristic value and the environmental adaptation threshold, where D_val = C_final - T_final; this formula is used to quantify the difference between the environmental characteristic value and the adaptation threshold, so as to judge whether the current environmental conditions meet the expected standards.
[0095] Determine whether the D_val exceeds the preset safety range R_safe. If |D_val| > R_safe, mark that the current environmental conditions require adjusting the connection parameters; here, |R_val| represents taking the absolute value of D_val to avoid the influence of positive and negative signs. By setting a reasonable safety range, the impact brought by environmental changes can be effectively monitored and managed to ensure the stability of the connection.
[0096] Based on the relationship between the D_val and the safety range R_safe, calculate an adjustment factor Adj_fac for subsequent parameter adjustment, where:
[0097] Adj_fac = 1 + (|D_val| - R_safe) / R_safe. This formula is used to dynamically adjust the connection parameters according to the deviation degree between the environmental characteristic value and the adaptation threshold.
[0098] Example 4
[0099] Assume that the final environmental characteristic value C_final = 1.234, the final environmental adaptation threshold T_final = 79.4, and the preset safety range R_safe = 5. Then:
[0100] Calculate the difference D_val = C_final - T_final = 1.234 - 79.4 = -78.166.
[0101] Determine whether |D_val| is greater than R_safe: |-78.166| > 5, which is obviously true. Therefore, mark that the current environmental conditions require adjusting the connection parameters.
[0102] Calculate the adjustment factor:
[0103] Adj_fac = 1 + (|D_val| - R_safe) / R_safe = 1 + (78.166 - 5) / 5 = 1 + 73.166 / 5 = 1 + 14.6332 = 15.6332.
[0104] In this example, since D_val significantly exceeds the safety range, a relatively high adjustment factor Adj_fac is calculated, indicating that the connection parameters need to be adjusted significantly to maintain the stability of the connection.
[0105] Step Five: Adjust the initial connection parameters according to the comparison result, specifically including:
[0106] Obtain the adjustment factor Adj_fac and the initial connection parameter P_0; Calculate the temporary adjustment value Temp_adj based on the adjustment factor Adj_fac, which is used to reflect the degree of influence of environmental changes on the connection parameter, where Temp_adj = P_0 * Adj_fac; The formula aims to quantify the specific impact of environmental changes on the connection quality between devices by multiplying the initial connection parameter by the adjustment factor.
[0107] Combine the initial connection parameter P_0 with the temporary adjustment value Temp_adj to generate a new connection parameter P_new, where P_new = P_0 + Temp_adj; This step updates the connection parameter through a direct addition operation to make it more suitable for the current environmental conditions.
[0108] Check whether the new connection parameter P_new is within the preset safety parameter range [P_min, P_max]. If P_new is not within the range of [P_min, P_max], correct it to meet the range requirements. The correction formula is P_final = min(max(P_new, P_min), P_max). Here, the formula is used to ensure that the final connection parameter does not exceed the safety limit set by the system, thus avoiding potential problems caused by excessive adjustment.
[0109] Example 5
[0110] Assume the initial connection parameter P_0 = 120, the adjustment factor Adj_fac = 15.6332 (as shown in the previous example), and the safety parameter range [P_min, P_max] = [80, 150]:
[0111] Calculate the temporary adjustment value Temp_adj = P_0 * Adj_fac = 120 * 15.6332 = 1875.984.
[0112] Generate the new connection parameter P_new = P_0 + Temp_adj = 120 + 1875.984 = 1995.984.
[0113] Check and correct whether the new connection parameter P_new is within the range of [P_min, P_max]:
[0114] Apply the correction formula:
[0115] P_final = min(max(P_new, P_min), P_max) = min(max(1995.984, 80), 150) = 150.
[0116] In this example, since the calculated new connection parameter far exceeds the preset safe parameter range, it is finally corrected to the upper limit value of 150. This method not only considers the impact of environmental changes on connection quality but also ensures that the adjusted parameter does not exceed the safety limit of the system, thus effectively improving the quality and reliability of communication between devices.
[0117] Step Six: Periodically repeat the monitoring of the temperature, humidity, and electromagnetic interference level under the current environmental conditions, and update the environmental characteristic value, specifically including:
[0118] Set a time interval Int_time, and start a new monitoring cycle after each Int_time ends; this time interval can be adjusted according to the actual situation, for example, set to 1 minute or 5 minutes.
[0119] At the start of each monitoring cycle, re-measure the current environmental temperature T_new, humidity H_new, and electromagnetic interference intensity I_new through sensors; based on the T_new, H_new, and I_new, calculate new standardized values T_std_new = T_new / T_max, H_std_new = H_new / H_max, I_std_new = I_new / I_max. The formula here is intended to convert the actual measured values into a ratio relative to their maximum allowable values, facilitating comparison and comprehensive analysis between different environmental factors. And thereby calculate a new comprehensive environmental impact index C_env_new, where C_env_new = (T_std_new + H_std_new + I_std_new) / 3; by averaging the standardized values of each environmental factor, an overall environmental impact evaluation standard is obtained, which helps to comprehensively understand the impact of the environment on connection stability.
[0120] Combine the new comprehensive environmental impact index C_env_new with the signal round-trip delay Delta_T, and adjust the C_env_new to the updated final environmental characteristic value C_final_new, where C_final_new = C_env_new*(1 + C*Delta_T). This formula aims to consider the impact of signal transmission delay on environmental adaptability, enabling the environmental characteristic value to more accurately reflect the actual situation.
[0121] Example 6
[0122] Assume that the set time interval Int_time is 1 minute. After 1 minute, a new monitoring cycle is started, and the following data is measured:
[0123] Temperature T_new = 35°C (T_max = 50°C), humidity H_new = 70% (H_max = 80%), electromagnetic interference intensity I_new = 0.4 (I_max = 1).
[0124] The round-trip signal delay Delta_T = 10 milliseconds, and the correction coefficient C = 0.1.
[0125] The calculation is as follows:
[0126] Calculate the new normalized value:
[0127] T_standard_new = T_new / T_max = 35 / 50 = 0.7;
[0128] H_standard_new = H_new / H_max = 70 / 80 = 0.875;
[0129] I_standard_new = I_new / I_max = 0.4 / 1 = 0.4.
[0130] Calculate the new comprehensive environmental impact index C_env_new:
[0131] C_env_new = (T_standard_new + H_standard_new + I_standard_new) / 3
[0132] = (0.7 + 0.875 + 0.4) / 3
[0133] = 0.6583.
[0134] Adjust to the final environmental characteristic value C_final_new:
[0135] C_final_new
[0136] = C_env_new * (1 + C * Delta_T)
[0137] = 0.6583 * (1 + 0.1 * 10)
[0138] = 0.6583 * 2
[0139] = 1.3166.
[0140] In this example, the updated final environmental characteristic value C_final_new is 1.3166, indicating that the current environmental conditions have changed compared to before, and it is necessary to further adjust the connection parameters to maintain the stability of the connection.
[0141] Step 7: When it is found that the environmental characteristic value exceeds the preset range, recalculate the new environmental adaptation threshold, specifically including:
[0142] First, obtain the updated final environmental characteristic value C_final_new and check whether it exceeds the preset safety range R_env; by monitoring and evaluating the environmental characteristic value in real time, potential connection stability problems can be detected in a timely manner.
[0143] If the C_final_new exceeds R_env, a new adaptive adjustment process is triggered. First, the current basic environmental impact factor E_new is determined, where E_new is obtained based on the latest environmental conditions; this means that the current environmental conditions have a significant impact on the connection quality between devices, and corresponding adjustments are required to maintain or restore the stability of the connection.
[0144] The preliminary new environmental adaptation threshold T_initial_new is calculated using the C_final_new and the E_new, where T_initial_new = C_final_new / E_new; the formula represents obtaining a preliminary adaptation threshold by dividing the updated environmental characteristic value by the basic environmental impact factor.
[0145] The T_initial_new is adjusted in combination with the constant B and the current signal round-trip delay Delta_T to obtain the final new environmental adaptation threshold T_final_new, where T_final_new = T_initial_new - (B * Delta_T). The formula is intended to further optimize the adaptation threshold based on the actually measured signal delay and compensate for the additional impact caused by environmental changes.
[0146] Example 7
[0147] Assume that the updated final environmental characteristic value C_final_new = 1.3166 (as shown in the previous example), the preset safety range R_env = 1, the current basic environmental impact factor E_new = 1.2, the constant B = 2, and the signal round-trip delay Delta_T = 10 milliseconds:
[0148] Check whether C_final_new exceeds R_env: 1.3166 > 1, indeed it exceeds.
[0149] Calculate the preliminary new environmental adaptation threshold T_initial_new = C_final_new / E_new = 1.3166 / 1.2 = 1.0972.
[0150] Adjust the preliminary new environmental adaptation threshold to the final value T_final_new = T_initial_new - (B * Delta_T) = 1.0972 - (2 * 10) = 1.0972 - 20 = -18.9028.
[0151] In this example, since the negative value of T_final_new appears, this may mean that the current environmental conditions are extremely unfavorable for the stable connection between devices, or it indicates that the parameters in the model need to be adjusted more carefully (such as the selection of the B value). In actual situations, it may be necessary to set a minimum limit to prevent unreasonable results. However, this example demonstrates the process of dynamically adjusting the environmental adaptation threshold according to the current environmental conditions, so as to optimize the connection stability between the tablet computer and the docking station. If unreasonable values are encountered, it may be necessary to re-evaluate or adjust the relevant parameter settings.
[0152] Step Eight: Adjust the initial connection parameters again according to the new environmental adaptation threshold; specifically including:
[0153] Obtain the final new environmental adaptation threshold T_initial_new and the initial connection parameter P_0; calculate the temporary adjustment coefficient Adj_coef based on the T_initial_new and the P_0, which is used to reflect the influence degree of the new environmental adaptation threshold on the initial connection parameter, where Adj_coef = P_0 / T_final_new; the formula aims to quantify the specific influence on the connection parameter under the new environmental conditions by dividing the initial connection parameter by the new environmental adaptation threshold.
[0154] Adjust the initial connection parameter P_0 using the Adj_coef to generate a new connection parameter P_new, where P_new = P_0 * Adj_coef; this step updates the connection parameter through a multiplication operation to make it more suitable for the current environmental conditions.
[0155] Check whether the new connection parameter P_new is within the preset safe parameter range [P_min, P_max];
[0156] If P_new is not within the range of [P_min, P_max], then correct it to meet the range requirements, and the correction formula is P_final = min(max(P_new, P_min), P_max). The formula is used to ensure that the final connection parameter will not exceed the safety limit set by the system, thus avoiding potential problems caused by excessive adjustment. It ensures that the adjusted connection parameter can adapt to environmental changes without causing system instability or other adverse consequences.
[0157] Example 8
[0158] Assume that the final new environmental adaptation threshold T_final_new = -18.9028 (as shown in the previous example), the initial connection parameter P_0 = 120, and the safe parameter range [P_min, P_max] = [80, 150]:
[0159] Calculate the temporary adjustment coefficient Adj_coef = P_0 / T_final_new = 120 / (-18.9028) = -6.348.
[0160] Generate the new connection parameter P_new = P_0 * Adj_coef = 120 * (-6.348) = -761.76.
[0161] Since P_new is negative, which is obviously unreasonable, it indicates that some parameters in the model need to be re-evaluated or adjusted. However, continue according to the process:
[0162] Check and correct whether the new connection parameter P_new is within the range of [P_min, P_max]:
[0163] Apply the correction formula:
[0164] P_final = min(max(P_new, P_min), P_max) = min(max(-761.76, 80), 150) = 80.
[0165] In this example, since the calculated new connection parameter exceeds the reasonable range, it is corrected to the lowest safety parameter 80. This demonstrates the process of dynamically adjusting the connection parameter according to the current environmental conditions. However, in practical applications, when encountering unreasonable results, it may be necessary to re-examine and adjust the relevant parameter settings (such as the calculation method of T_final_new) to avoid extreme values.
[0166] This process ensures that even in adverse environments, a reasonable connection parameter between devices can be maintained, guaranteeing the quality and stability of communication. At the same time, it also emphasizes the need to pay attention to the reasonableness of the results and adjust the strategy in a timely manner during actual operation.
[0167] Step Nine: Continuously execute the process from monitoring the temperature, humidity, and electromagnetic interference degree under the current environmental conditions to adjusting the initial connection parameter according to the new environmental adaptation threshold, and continuously optimize the connection stability between the tablet computer and the docking station.
[0168] By continuously updating the environmental characteristic values and environmental adaptation thresholds, and adjusting the connection parameters based on these data, the impact of environmental changes such as temperature, humidity, and electromagnetic interference on the signal transmission quality can be effectively compensated, thereby significantly improving the connection stability between the tablet computer and the docking station. By setting a safety range and timely correcting unreasonable parameter values, problems such as connection interruption or sharp performance decline caused by sudden environmental changes are avoided, ensuring the continuity and consistency of the user experience.
[0169] On the other hand, the present invention proposes a docking station control system for a tablet computer, as Figure 2 shown, including:
[0170] An environmental adaptation threshold calculation module, configured to detect the connection state between the tablet computer and the docking station, record the initial connection parameters, and calculate an environmental adaptation threshold based on the initial connection parameters;
[0171] An environmental characteristic value monitoring and comparison module, configured to monitor the temperature, humidity, and electromagnetic interference degree under the current environmental conditions, form a set of environmental characteristic values, and compare the environmental characteristic values with the environmental adaptation threshold;
[0172] A parameter adjustment and periodic monitoring module, configured to adjust the initial connection parameters according to the comparison result, periodically repeat monitoring the temperature, humidity, and electromagnetic interference degree under the current environmental conditions, and update the environmental characteristic values;
[0173] A parameter adjustment module, configured to recalculate a new environmental adaptation threshold when it is found that the environmental characteristic values exceed a preset range, and adjust the initial connection parameters again according to the new environmental adaptation threshold;
[0174] A module for continuously optimizing the connection stability, configured to repeatedly execute the process from monitoring the temperature, humidity, and electromagnetic interference degree under the current environmental conditions to adjusting the initial connection parameters according to the new environmental adaptation threshold, so as to continuously optimize the connection stability between the tablet computer and the docking station.
[0175] In addition, when the above-mentioned modules are executed, they are also used to implement other steps of the above-mentioned docking station control method for a tablet computer, which will not be elaborated here.
[0176] In summary, the present invention can significantly improve the reliability and stability of the connection between devices by periodically monitoring the temperature, humidity, and electromagnetic interference degree in the current environment and adjusting the connection parameters in real time based on these environmental characteristic values, ensuring a good user experience even in adverse environments. This method can detect and adapt to changes in environmental conditions, automatically adjust the initial connection parameters, and optimize the connection stability between the tablet computer and the docking station.
[0177] Finally, it should be noted that the above are only the preferred embodiments of the present invention and are not used to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An expansion dock control method for a tablet computer, characterized in that, The steps are as follows: Detect the connection status between the tablet computer and the docking station, and record the initial connection parameters, specifically including: sending a set of test signals from the tablet computer to the docking station, and recording the sending time T_1 of the test signals, receiving the response signals returned by the docking station, and recording the receiving time T_2; calculating the signal round-trip delay Delta_T based on the sending time T_1 and the receiving time T_2, Delta_T = (T_2 - T_1) * 0.5; using the signal round-trip delay Delta_T to adjust the preset basic connection parameter P to form the initial connection parameter P_0, P_0 = P + A * Delta_T, where A is a constant used to reflect the influence degree of the environment on the connection quality; Calculate the environmental adaptation threshold based on the initial connection parameter, specifically including: obtaining the initial connection parameter P_0, and then determining a basic environmental influence factor E_0; calculating the preliminary environmental adaptation threshold T_initial based on the initial connection parameter P_0 and the basic environmental influence factor E_0, where T_initial = P_0 / E_0; introducing the real-time monitored basic environmental change amount Delta_E, and adjusting the preliminary environmental adaptation threshold T_initial to the final environmental adaptation threshold T_final, where T_final = T_initial - (Delta_E * B), and B is a constant used to correct the influence brought by the environmental change; Monitor the temperature, humidity and electromagnetic interference degree under the current environmental conditions to form a set of environmental characteristic values, and compare the environmental characteristic values with the environmental adaptation threshold; Adjust the initial connection parameter according to the comparison result, periodically repeat monitoring the temperature, humidity and electromagnetic interference degree under the current environmental conditions, and update the environmental characteristic values; When it is found that the environmental characteristic values exceed the preset range, recalculate the new environmental adaptation threshold, and adjust the initial connection parameter again according to the new environmental adaptation threshold; Loop through the process from monitoring the temperature, humidity and electromagnetic interference degree under the current environmental conditions to adjusting the initial connection parameter according to the new environmental adaptation threshold, and continuously optimize the connection stability between the tablet computer and the docking station.
2. The method for controlling an expansion dock of a tablet computer according to claim 1, wherein: Monitor the temperature, humidity and electromagnetic interference degree under the current environmental conditions to form a set of environmental characteristic values, including: Measure the temperature, humidity and electromagnetic interference intensity of the current environment through the sensors set on the tablet computer and the docking station; Convert the temperature, humidity and electromagnetic interference intensity into standardized values; Calculate the comprehensive environmental influence index based on the standardized values; Combine the comprehensive environmental influence index with the signal round-trip delay, and adjust the comprehensive environmental influence index to the final environmental characteristic values.
3. The method for controlling a docking station of a tablet computer according to claim 2, wherein: Compare the environmental characteristic values with the environmental adaptation threshold, including: Obtain the final environmental characteristic values and the final environmental adaptation threshold, calculate the difference value, which is used to represent the gap between the environmental characteristic values and the environmental adaptation threshold; Judge whether the difference value exceeds the preset safety range. If the absolute value of the difference value is greater than the safety range, mark that the current environmental conditions need to adjust the connection parameter; Calculate the adjustment factor based on the relationship between the difference value and the safety range for subsequent parameter adjustment.
4. The method for controlling an expansion dock of a tablet computer according to claim 3, wherein: Adjust the initial connection parameters according to the comparison result, including: Obtain the adjustment factor and the initial connection parameters; Calculate a temporary adjustment value based on the adjustment factor to reflect the impact of environmental changes on the connection parameters; Combine the initial connection parameters with the temporary adjustment value to generate new connection parameters; Check whether the new connection parameters are within the preset safe parameter range. If not, correct them to meet the range requirements.
5. The extended dock control method for a tablet computer according to claim 4, characterized in that: Periodically repeat the monitoring of the temperature, humidity, and electromagnetic interference level under the current environmental conditions, and update the environmental characteristic values, including: Set a time interval and start a new monitoring cycle at the end of each time interval; At the start of each monitoring cycle, re-measure the temperature, humidity, and electromagnetic interference intensity of the current environment through sensors; Calculate new standardized values based on the temperature, humidity, and electromagnetic interference intensity of the current environment, and calculate a new comprehensive environmental impact index therefrom; Combine the new comprehensive environmental impact index with the signal round-trip delay to adjust the new comprehensive environmental impact index to the updated final environmental characteristic value.
6. The extended dock control method for a tablet computer according to claim 5, wherein: When it is found that the environmental characteristic value exceeds the preset range, recalculate the new environmental adaptation threshold, including: Obtain the updated final environmental characteristic value and check whether it exceeds the preset safe range; If the updated final environmental characteristic value exceeds the safe range, trigger a new adaptation adjustment process, and first determine the current basic environmental impact factor; Calculate a preliminary new environmental adaptation threshold using the updated final environmental characteristic value and the basic environmental impact factor; Combine the constant B and the current signal round-trip delay to adjust the preliminary new environmental adaptation threshold to obtain the final new environmental adaptation threshold.
7. The extended dock control method for a tablet computer according to claim 6, wherein: Readjust the initial connection parameters according to the new environmental adaptation threshold, including: Obtain the final new environmental adaptation threshold and the initial connection parameters; Calculate a temporary adjustment coefficient based on the final new environmental adaptation threshold and the initial connection parameters to reflect the impact of the new environmental adaptation threshold on the initial connection parameters; Adjust the initial connection parameters using the temporary adjustment coefficient to generate new connection parameters; Check whether the new connection parameters are within the preset safe parameter range; If the new connection parameters are not within the preset safe parameter range, correct them to meet the range requirements.
8. An expansion dock control system for a tablet computer for implementing the method according to any one of claims 1-7, characterized in that, Including: An environmental adaptation threshold calculation module is used to detect the connection status between the tablet computer and the docking station and record the initial connection parameters. Specifically, it includes: sending a set of test signals from the tablet computer to the docking station and recording the sending time T_1 of the test signals, receiving the response signals returned by the docking station and recording the receiving time T_2; calculating the signal round-trip delay Delta_T based on the sending time T_1 and the receiving time T_2, Delta_T = (T_2 - T_1) * 0.5; using the signal round-trip delay Delta_T to adjust the preset basic connection parameter P to form the initial connection parameter P_0, P_0 = P + A * Delta_T, where A is a constant used to reflect the influence degree of the environment on the connection quality; calculating the environmental adaptation threshold based on the initial connection parameter, specifically including: obtaining the initial connection parameter P_0, and then determining a basic environmental influence factor E_0; calculating the preliminary environmental adaptation threshold T_initial based on the initial connection parameter P_0 and the basic environmental influence factor E_0, where T_initial = P_0 / E_0; introducing the real-time monitored basic environmental change amount Delta_E and adjusting the preliminary environmental adaptation threshold T_initial to the final environmental adaptation threshold T_final, where T_final = T_initial - (Delta_E * B), and B is a constant used to correct the influence caused by environmental changes; An environmental characteristic value monitoring and comparison module is used to monitor the temperature, humidity and electromagnetic interference degree under the current environmental conditions, form a set of environmental characteristic values, and compare the environmental characteristic values with the environmental adaptation threshold; A parameter adjustment and periodic monitoring module is used to adjust the initial connection parameter according to the comparison result, periodically repeat monitoring the temperature, humidity and electromagnetic interference degree under the current environmental conditions, and update the environmental characteristic values; A parameter adjustment module is used to recalculate a new environmental adaptation threshold when it is found that the environmental characteristic value exceeds the preset range, and adjust the initial connection parameter again according to the new environmental adaptation threshold; A continuous optimization of connection stability module is used to continuously optimize the connection stability between the tablet computer and the docking station by repeatedly executing the process from monitoring the temperature, humidity and electromagnetic interference degree under the current environmental conditions to adjusting the initial connection parameter according to the new environmental adaptation threshold.
Citation Information
Patent Citations
Connection optimization method and device, equipment and storage medium
CN117320182A
Dynamic optimization method for USB connector
CN117973428A