Wireless link quality monitoring method, device, communication equipment and storage medium
By combining the link monitoring measurement value and the threshold relationship to select the calculation method in wireless link quality monitoring, and using forgetting filtering processing to quickly track link quality changes, the problem of link quality judgment lag in the existing technology is solved and improved communication service experience.
Patent Information
- Application Number
- CN202410675863.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-29
AI Technical Summary
Existing wireless link quality monitoring methods cannot reflect link quality changes in a timely manner when the communication environment changes rapidly, resulting in a large lag in the terminal's judgment of the current communication quality.
When the terminal is in synchronization state, by combining the relationship between multiple link monitoring measurement values and the out-of-synchronization threshold and synchronization threshold, an appropriate calculation method is selected to determine the current link quality value, including based on the average value and the latest measurement value. calculation method, and improves accuracy through forgetting filtering processing to quickly track link quality changes.
It realizes rapid identification of link quality changes when communication quality rapidly deteriorates or improves, improves the terminal's communication service experience and reduces judgment lag.
Smart Images

Figure CN118249934B
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a wireless link quality monitoring method, apparatus, communication equipment and storage medium. Background Art
[0002] Wireless link quality monitoring is one of the key technologies to ensure the reliability of wireless communication. In the wireless link quality monitoring method in the related technology, the terminal generally determines the downlink quality value at the current moment based on the average value of multiple link monitoring measurement values in the previous evaluation cycle. If the downlink quality value is worse than the desynchronization threshold, the terminal physical layer reports a desynchronization indication to the upper layer; if the downlink quality value is better than the synchronization threshold, the terminal physical layer reports a synchronization indication to the upper layer.
[0003] However, when the communication environment changes rapidly, the above method cannot reflect the change of the wireless link quality in time, resulting in a large lag in the terminal's judgment of the current communication quality. Summary of the invention
[0004] Based on this, it is necessary to provide a wireless link quality monitoring method, apparatus, communication equipment and storage medium that can timely reflect changes in wireless link quality in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for monitoring radio link quality, comprising:
[0006] When the terminal is in a synchronous state, according to the relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold, determine the target calculation method corresponding to the current moment from the first calculation method and the second calculation method, wherein the first calculation method includes determining the current link quality value based on the average value of the multiple link monitoring measurement values, and the second calculation method includes determining the current link quality value based on the current monitoring measurement value, and the current monitoring measurement value is the link monitoring measurement value that is closest to the current moment in time sequence among the multiple link monitoring measurement values;
[0007] Determine the current link quality value of the terminal in the synchronization state based on the target calculation method;
[0008] Based on the current link quality value of the terminal in the synchronization state, it is determined whether the terminal enters the pre-loss state.
[0009] In one embodiment, according to the relationship between the multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold, determining the target calculation method from the first calculation method and the second calculation method includes:
[0010] If all of the multiple link monitoring measurement values are greater than the desynchronization threshold, and the proportion of the link monitoring measurement values greater than the synchronization threshold among the multiple link monitoring measurement values is greater than the first proportion, the first calculation method is determined as the target calculation method.
[0011] In one of the embodiments, according to the relationship between the multiple link monitoring measurement values corresponding to the terminal at the current moment and the desynchronization threshold and the synchronization threshold, determining the target calculation method from the first calculation method and the second calculation method includes:
[0012] If the proportion of link monitoring measurement values less than the desynchronization threshold among the multiple link monitoring measurement values is greater than the second proportion, the second calculation method is determined as the target calculation method.
[0013] In one of the embodiments, according to the relationship between the multiple link monitoring measurement values corresponding to the terminal at the current moment and the desynchronization threshold and the synchronization threshold, determining the target calculation method from the first calculation method and the second calculation method includes:
[0014] If the proportion of link monitoring measurement values less than the desynchronization threshold among multiple link monitoring measurement values is less than or equal to the second proportion, and the proportion of link monitoring measurement values greater than the synchronization threshold among multiple link monitoring measurement values is less than or equal to the first proportion, the calculation method of the historical link quality value is determined as the target calculation method, and the calculation method of the historical link quality value is determined as the first calculation method or the second calculation method.
[0015] In one of the embodiments, when the target calculation mode is the first calculation mode, determining the current link quality value of the terminal in the synchronization state based on the target calculation mode includes: performing forgetting filtering processing according to an average value of multiple link monitoring measurement values, a historical link quality value and a first filtering factor to obtain the current link quality value of the terminal in the synchronization state;
[0016] When the target calculation mode is the second calculation mode, determining the current link quality value of the terminal in the synchronization state based on the target calculation mode, including: performing forgetting filtering processing according to the current monitoring measurement value, the historical link quality value and the second filtering factor to obtain the current link quality value of the terminal in the synchronization state;
[0017] The first filter factor is greater than the second filter factor.
[0018] In one of the embodiments, determining whether the terminal enters a pre-loss state based on a current link quality value of the terminal in a synchronization state includes:
[0019] If the current link quality value of the terminal in the synchronization state is less than the out-of-sync threshold, the cumulative number of out-of-sync times is updated;
[0020] If the accumulated number of out-of-step times is greater than or equal to the preset number of out-of-step times, it is determined that the terminal enters the pre-out-of-step state;
[0021] If the current link quality value of the terminal in the synchronization state is greater than the synchronization threshold, the accumulated number of out-of-sync times is reset.
[0022] In one embodiment, the method further comprises:
[0023] When the terminal is in a pre-loss state, obtaining a current link quality value of the terminal in the pre-loss state based on a second calculation method;
[0024] If the current link quality value of the terminal in the pre-loss state is greater than the synchronization threshold, the cumulative number of synchronizations is updated;
[0025] If the cumulative number of synchronizations within the preset time is greater than or equal to the preset number of synchronizations, it is determined that the terminal enters the synchronization state;
[0026] If the cumulative number of synchronizations is less than the preset number of synchronizations when the preset time is reached, it is determined that the terminal has entered a lost state;
[0027] If the current link quality value of the terminal in the pre-out-of-step state is less than the out-of-step threshold, the cumulative number of synchronizations is reset.
[0028] In a second aspect, the present application also provides a wireless link quality monitoring device, including:
[0029] a determination module, configured to determine, when the terminal is in a synchronous state, a target calculation method corresponding to the current moment from a first calculation method and a second calculation method according to a relationship between a plurality of link monitoring measurement values corresponding to the terminal at the current moment and a desynchronization threshold and a synchronization threshold, wherein the first calculation method includes determining a current link quality value based on an average value of a plurality of link monitoring measurement values, and the second calculation method includes determining a current link quality value based on a current monitoring measurement value, wherein the current monitoring measurement value is a link monitoring measurement value that is closest to the current moment in terms of timing among the plurality of link monitoring measurement values;
[0030] A calculation module, used to determine a current link quality value of the terminal in a synchronous state based on a target calculation method;
[0031] The changing module is used to determine whether the terminal enters a pre-loss state based on a current link quality value of the terminal in a synchronization state.
[0032] In a third aspect, the present application further provides a communication device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0033] When the terminal is in a synchronous state, according to the relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold, determine the target calculation method corresponding to the current moment from the first calculation method and the second calculation method, wherein the first calculation method includes determining the current link quality value based on the average value of the multiple link monitoring measurement values, and the second calculation method includes determining the current link quality value based on the current monitoring measurement value, and the current monitoring measurement value is the link monitoring measurement value that is closest to the current moment in time sequence among the multiple link monitoring measurement values;
[0034] Determine the current link quality value of the terminal in the synchronization state based on the target calculation method;
[0035] Based on the current link quality value of the terminal in the synchronization state, it is determined whether the terminal enters the pre-loss state.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0037] When the terminal is in a synchronous state, according to the relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold, determine the target calculation method corresponding to the current moment from the first calculation method and the second calculation method, wherein the first calculation method includes determining the current link quality value based on the average value of the multiple link monitoring measurement values, and the second calculation method includes determining the current link quality value based on the current monitoring measurement value, and the current monitoring measurement value is the link monitoring measurement value that is closest to the current moment in time sequence among the multiple link monitoring measurement values;
[0038] Determine the current link quality value of the terminal in the synchronization state based on the target calculation method;
[0039] Based on the current link quality value of the terminal in the synchronization state, it is determined whether the terminal enters the pre-loss state.
[0040] The above-mentioned wireless link quality monitoring method, device, communication equipment and storage medium, when the terminal is in a synchronous state, determines the target calculation method corresponding to the current moment from the first calculation method and the second calculation method according to the relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold, wherein the first calculation method includes determining the current link quality value based on the average value of multiple link monitoring measurement values, and the second calculation method includes determining the current link quality value based on the current monitoring measurement value; based on the target calculation method, determining the current link quality value of the terminal in the synchronous state; based on the current link quality value of the terminal in the synchronous state, determining whether the terminal enters the pre-out-of-step state. In this way, the relationship between the multiple link quality monitoring measurement values corresponding to the terminal at the current moment and the desynchronization threshold and the synchronization threshold is used to preliminarily judge the change speed of the communication environment in which the terminal is located at the current moment, and then based on the current communication environment change speed, the target calculation method is determined from the first calculation method and the second calculation method. The current link quality value calculated based on the target calculation method can quickly track the changes in the quality of the wireless link, and can quickly identify the situation where the communication quality deteriorates rapidly and the situation where the link quality changes from bad to good rapidly. The wireless link quality monitoring method provided in the present application can quickly track the changes in the quality of the wireless link and improve the communication service experience of the terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 A diagram showing an application environment of a wireless link quality monitoring method in an embodiment;
[0043] Figure 2 A schematic diagram of a flow chart of a wireless link quality monitoring method in an embodiment;
[0044] Figure 3 An exemplary schematic diagram of a downlink radio link quality monitoring process in an embodiment;
[0045] Figure 4 is another exemplary schematic diagram of a downlink radio link quality monitoring process in an embodiment;
[0046] Figure 5 A schematic diagram of a flow chart of determining a step of a terminal entering a gait-loss state in an embodiment;
[0047] Figure 6is a flow chart of a wireless link quality monitoring method according to another embodiment;
[0048] Figure 7 is a structural block diagram of a wireless link quality monitoring device in one embodiment;
[0049] Figure 8 FIG. 4 is a diagram showing the internal structure of a communication device in one embodiment. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] The wireless link quality monitoring method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in the figure, the terminal 102 communicates with the network device 104 through the network. The terminal (TE) 102 may also be referred to as the user equipment (UE), and the terminal 102 may be various mobile devices, for example, a mobile phone (or a "cellular" phone), a computer with a mobile terminal, etc., or a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device. The network device 104 may be a device for communicating with the terminal 102, for example, it may be a base station (Base TransceiverStation, referred to as "BTS") in a GSM (Global System for Mobile Communications) system or a CDMA (Code Division Multiple Access) system, or a base station (NodeB, referred to as "NB") in a WCDMA (Wideband Code Division Multiple Access) system, or an evolved base station (Evolutional Node B, referred to as "eNB" or "eNodeB") in an LTE (Long Term Evolution) system. The present application does not limit the terminal 102 and the network device 104.
[0052] In an exemplary embodiment, Figure 2 As shown, a wireless link quality monitoring method is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, including the following steps 202 to 206. Among them:
[0053] Step 202, when the terminal is in a synchronous state, according to the relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and the desynchronization threshold and the synchronization threshold, determine the target calculation method corresponding to the current moment from the first calculation method and the second calculation method.
[0054] Among them, the first calculation method includes determining the current link quality value based on the average value of multiple link monitoring measurement values, and the second calculation method includes determining the current link quality value based on the current monitoring measurement value corresponding to the terminal at the current moment, and the current monitoring measurement value is the link monitoring measurement value that is closest to the current moment in time among the multiple link monitoring measurement values.
[0055] Among them, the synchronization state means that the block error rate of the demodulated received signal of the receiving end is lower than a certain block error rate threshold, which can ensure that the terminal can reliably receive the data sent by the transmitting end. The out-of-sync state means that the block error rate of the demodulated received signal of the receiving end is higher than a certain block error rate threshold, which can no longer ensure that the terminal can reliably receive the data sent by the transmitting end. The out-of-sync state may be caused by signal attenuation, delay change, frequency offset, phase distortion and other reasons in signal transmission, resulting in weak signal strength at the receiving end or signal interference by noise, thereby affecting the stability and reliability of the communication link. In wireless link quality monitoring, the synchronization state of the receiving end is usually monitored and evaluated to ensure that the communication link is in a good synchronization state, thereby ensuring reliable data transmission. When the receiving end is in an out-of-sync state, the terminal RRC (Radio Resource Control) layer needs to initiate a re-establishment process.
[0056] When the link quality value is less than the out-of-step threshold Q out It is generally believed that the communication quality of the current link is poor. When the link quality value is greater than the synchronization threshold Q in When the communication quality of the current link is generally considered to be good. out and synchronization threshold Q in It can be pre-set based on the 3GPP communication standard protocol, or configured by the terminal or network equipment. The link quality value is obtained based on the link monitoring measurement value.
[0057] The link monitoring measurement value refers to the radio link monitoring (RLM) measurement obtained by the terminal based on reference signals such as the cell reference signal (CRS), the synchronization signal block (SSB) or the channel state information reference signal (CSI-RS). In some other embodiments of the present application, the link monitoring measurement value is also referred to as the RLM measurement value.
[0058] In a possible implementation, the multiple link monitoring measurement values corresponding to the terminal at the current moment may be multiple link monitoring measurement values corresponding to a previous evaluation period corresponding to the terminal at the current moment. The 3GPP communication standard protocol provides the design of relevant parameters for RLM measurement.
[0059] Please refer to Figure 3 For example, in a Long-Term Evolution (LTE) wireless communication system, CRS is used to monitor the downlink wireless link. In the non-Discontinuous Reception (non-DRX) mode, when the terminal is in a synchronous state, the evaluation period is 200ms (milliseconds), the RLM measurement period is 5ms, and the reporting period (also called the evaluation indication period) is 10ms, that is, an RLM measurement is performed every 5ms to obtain a link monitoring measurement value, and the link monitoring measurement value within 200ms before the current moment is saved. The current wireless link quality of the terminal is evaluated every 10ms. Figure 3 As shown, when the terminal is just in the synchronization state, the physical layer of the terminal performs RLM measurement every 5 ms, that is, in subframe 0, subframe 5, and subframe 10 (corresponding to Figure 3The RLM measurement subframe in the RLM measurement subframe) performs RLM measurement, and writes each link monitoring measurement value into the evaluation period measurement value set S for use in the evaluation of the current link quality. It should be noted that subframe 0 in this example refers to the first subframe of the first wireless frame (10ms) after entering the synchronization state, and the sequence number 0 does not limit the specific position of the subframe in the communication data. In this example, the evaluation period measurement value set S is an empty set when the terminal just enters the synchronization state; optionally, the evaluation period measurement value set is cleared when the terminal enters the pre-desynchronization or desynchronization state. In this example, the evaluation period measurement value set S stores the link monitoring measurement values within 200ms. Since the RLM measurement is performed every 5ms, the multiple link monitoring measurement values corresponding to the terminal in this example are 40 link monitoring measurement values.
[0060] In the New Radio (NR) wireless communication system, the terminal uses SSB or CSI-RS to monitor the downlink wireless link. Figure 4 For example, in the discontinuous reception (DRX) mode, assuming that the DRX cycle is 20 ms, the RLM measurement resource used is SSB, assuming that the SSB cycle is 10 ms, and the subcarrier spacing (SCS) of SSB is 15 kHz (kilohertz); when the terminal is in a synchronous state, the evaluation period is 600 ms (i.e., 30×DRX cycle=30×20 ms=600 ms), the reporting period is 30 ms (wherein, the reporting period=max(10 ms, 1.5×DRX cycle, 1.5×SSB cycle)), and the RLM measurement period is 20 ms (wherein, an RLM measurement is performed once in each DRX cycle), that is, an RLM measurement is performed every 20 ms to obtain a link monitoring measurement value, the link monitoring measurement value within 600 ms before the current moment is saved, and the current wireless link quality of the terminal is evaluated every 30 ms. In this example, when the terminal is just in the synchronization state, the physical layer of the terminal performs an RLM measurement within the activation time of 20ms in each DRX cycle; assuming that Figure 4 As shown in time slot 0, time slot 20 and time slot 40, etc. (corresponding to Figure 4RLM measurement is performed at the RLM measurement time slot in the evaluation period measurement value set S, and each link monitoring measurement value is written into the evaluation period measurement value set S for use in the evaluation of the current link quality. It should be noted that time slot 0 in this example refers to the first time slot for RLM measurement after entering the synchronization state, and sequence number 0 is not used to limit the specific position of the time slot in the communication data. In this example, the evaluation period measurement value set S stores the link monitoring measurement values within 600ms. Since the RLM measurement is performed every 20ms, the multiple link monitoring measurement values corresponding to the terminal in this example are 30 link monitoring measurement values.
[0061] In another possible implementation, the multiple link monitoring measurement values corresponding to the terminal at the current moment may be a preset number (exemplary M) of link monitoring measurement values or link monitoring measurement values within a preset duration, wherein the RLM measurement values calculated at each RLM measurement opportunity are cyclically written into the measurement value record set, that is, the first RLM measurement value is written into the first element of the measurement value record set, the second RLM measurement value is written into the second element of the measurement value record set, ..., the Mth RLM measurement value is written into the Mth element of the measurement value record set, the M+1th RLM measurement value is written into the first element of the measurement value record set; the M+2th RLM measurement value is written into the second element of the measurement value record set, and the writing is cyclically written in sequence according to the above rule. Among them, the preset number or preset duration can be set according to the wireless network configuration supported by the terminal. In the example of recording multiple link monitoring measurement values according to the preset duration, the size of the measurement value record set can be determined according to the preset duration and the RLM measurement cycle.
[0062] Exemplarily, the preset duration may be an evaluation period specified in a 3GPP communication standard protocol.
[0063] In a possible implementation manner, the first calculation method includes: calculating an average value of multiple link monitoring measurement values, and using the average value as the current link quality value.
[0064] In another possible implementation, the first calculation method includes: calculating an average value of multiple link monitoring measurement values, performing forgetting filtering on the average value and the historical link quality value to obtain the current link quality value. The historical link quality value is the previous moment when the link quality value needs to be calculated. Using the historical link quality value and the average value to perform forgetting filtering can reduce the impact of channel noise on the measurement value and improve the stability and accuracy of the current link quality value obtained.
[0065] The second calculation method includes: performing forgetting filtering processing on the current monitoring measurement value and the historical link quality value of the terminal to obtain the current link quality value.
[0066] Among them, in the first calculation method, the current link quality value is obtained based on the average value of multiple link monitoring measurement values. When the communication environment in which the terminal is located changes slowly, the current link quality value obtained based on the first calculation method can better track the changes in the quality of the wireless link. However, when the communication environment in which the terminal is located changes rapidly, because the current link quality value obtained based on the first calculation method includes multiple historical link monitoring measurement values, the current link quality value obtained cannot quickly track the changes in the communication quality. For example, when the quality of the wireless link changes from good to bad quickly, the terminal cannot quickly monitor it. For example, when the quality of the wireless link changes from bad to good quickly, the terminal cannot quickly identify it, resulting in a large lag in the terminal's judgment on the current communication quality. In the second calculation method, the current link quality value is determined based on the current monitoring measurement value. Compared with the first calculation method, it can avoid the current link quality value from being overly dependent on the previous link monitoring measurement value. The second calculation method can track the changes in the current communication quality more quickly.
[0067] This embodiment preliminarily determines the change speed of the communication environment where the terminal is located at the current moment according to the relationship between multiple link quality monitoring measurement values corresponding to the terminal at the current moment and the desynchronization threshold and the synchronization threshold.
[0068] Among them, if most of the link monitoring measurement values among multiple link monitoring measurement values are greater than the synchronization threshold, and all of the multiple link monitoring measurement values are greater than the out-of-step threshold, it means that the current link communication quality is good and changes slowly, and the first calculation method can be selected as the target calculation method; if most of the link monitoring measurement values among multiple link monitoring measurement values are less than the out-of-step threshold, it means that the current link communication quality is poor, and it is necessary to quickly track the current communication quality changes, and the second calculation method can be selected as the target calculation method.
[0069] In a possible implementation, after the link monitoring measurement values are first written into the measurement value record set, the first link quality evaluation calculation is performed, and then periodic link quality evaluation is performed with the reporting period as a step length.
[0070] In a possible implementation, when the link quality assessment is performed for the first time after the terminal is in a synchronous state, because it has just been determined that the terminal is in a synchronous state, it means that the current communication environment of the terminal is likely to be relatively stable and of good quality. The first calculation method can be selected by default to calculate the current link quality value to improve the reliability and accuracy of the first link quality assessment after being in a synchronous state; then, according to the relationship between multiple link monitoring measurement values and the out-of-sync threshold and the synchronization threshold, the target calculation method corresponding to the current moment is determined from the first calculation method and the second calculation method, so as to achieve the effect of quickly tracking the changes in the current communication quality.
[0071] Step 204: Determine the current link quality value of the terminal in the synchronization state based on the target calculation method.
[0072] Step 206: Determine whether the terminal enters a pre-loss state based on the current link quality value of the terminal in the synchronization state.
[0073] Among them, in the 3GPP communication standard protocol, pre-out-of-sync refers to a temporary state before the terminal enters the out-of-sync state from the synchronization state. In this temporary state, if the terminal can meet the conditions for returning to the synchronization state within a preset time, the terminal returns to the synchronization state without triggering the RRC re-establishment process. Otherwise, the terminal enters the out-of-sync state and the RRC layer initiates the re-establishment process.
[0074] In the synchronous state, the terminal physical layer compares the current link quality value with the out-of-step threshold. If the current link quality value is less than the out-of-step threshold, the terminal physical layer reports an out-of-step indication to the upper layer. If there are N calculated current link quality values less than the out-of-step threshold, it is determined that the terminal enters the pre-out-of-step state, that is, the terminal is set to the pre-out-of-step state, where the number N is the pre-configured preset number of out-of-step times.
[0075] In a possible implementation, if the current link quality value of the terminal in the synchronous state is less than the out-of-step threshold, the cumulative number of out-of-steps is updated; if the cumulative number of out-of-steps is greater than or equal to the preset number of out-of-steps, it is determined that the terminal is in a pre-out-of-step state; if the current link quality value of the terminal in the synchronous state is greater than the synchronization threshold, the cumulative number of out-of-steps is reset.
[0076] Exemplarily, a N310 counter is configured in the terminal high layer (exemplarily, the RRC layer), wherein the count parameter N310_counter is configured to record the cumulative number of out-of-steps. If the current link quality value in the synchronization state is less than the out-of-step threshold, the physical layer reports an out-of-step indication to the high layer, and the count parameter N310_counter of the N310 counter will be increased by 1; if the current link quality value in the synchronization state is greater than the synchronization threshold, the physical layer reports a synchronization indication to the high layer, and the count parameter N310_counter of the N310 counter will be cleared; if the current link quality value in the synchronization state is less than or equal to the synchronization threshold, and greater than or equal to the out-of-step threshold, the N310_counter of the N310 counter will remain unchanged, neither increasing by 1 nor clearing to 0. If N310_counter reaches the preset number of out-of-steps pre-configured in the counter N310, the terminal enters the pre-out-of-step state.
[0077] In the pre-out-of-sync state, the terminal continues to obtain the link quality value, and controls the terminal to enter the out-of-sync state or return to the synchronization state when the preset conditions are met. If the terminal enters the out-of-sync state, the terminal can start the RRC re-establishment process. If the terminal returns to the synchronization state, the terminal continues to obtain the link quality value and monitors the communication quality of the wireless link.
[0078] In a possible implementation, if the terminal enters the pre-loss state, the measurement value record set is cleared. After the terminal returns to the synchronization state, the measurement value record set is re-recorded and updated.
[0079] The wireless link quality monitoring method provided in the above embodiment, when the terminal is in a synchronous state, determines the target calculation method corresponding to the current moment from the first calculation method and the second calculation method according to the relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold, wherein the first calculation method includes determining the current link quality value based on the average value of multiple link monitoring measurement values, and the second calculation method includes determining the current link quality value based on the current monitoring measurement value; based on the target calculation method, determining the current link quality value of the terminal in the synchronous state; based on the current link quality value of the terminal in the synchronous state, determining whether the terminal enters a pre-out-of-step state. In this way, the relationship between the multiple link quality monitoring measurement values corresponding to the terminal at the current moment and the desynchronization threshold and the synchronization threshold is used to preliminarily judge the change speed of the communication environment in which the terminal is located at the current moment, and then based on the current communication environment change speed, the target calculation method is determined from the first calculation method and the second calculation method. The current link quality value calculated based on the target calculation method can quickly track the changes in the quality of the wireless link, and can quickly identify the situation where the communication quality deteriorates rapidly and the situation where the link quality changes from bad to good rapidly. The wireless link quality monitoring method provided in the above embodiment can quickly track the changes in the quality of the wireless link, and ultimately improve the communication service experience of the terminal.
[0080] In an exemplary embodiment, based on Figure 2The embodiment shown, this embodiment involves a process of determining a target calculation method from a first calculation method and a second calculation method according to the relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold, including: if all the multiple link monitoring measurement values are greater than the out-of-step threshold, and the proportion of link monitoring measurement values greater than the synchronization threshold in the multiple link monitoring measurement values is greater than the first proportion, then the first calculation method is determined as the target calculation method. For ease of description, in this application, the condition for determining the target calculation method provided by this embodiment is referred to as criterion A. If the multiple link monitoring measurement values corresponding to the current moment meet criterion A, it is considered that the communication environment in which the target terminal is located at the current moment changes relatively slowly and the wireless link quality is good, and the current link quality value determined by the first calculation method can more accurately reflect the current link quality. In a possible implementation, the value range of the first proportion is 45% to 55%. Optionally, the first proportion is 50%, that is, criterion A includes that all the multiple link monitoring measurement values are greater than the out-of-step threshold, and more than half of the link monitoring measurement values in the multiple link monitoring measurement values are greater than the synchronization threshold.
[0081] In a possible implementation, a comparison value set is set to record the relationship between multiple link monitoring measurement values and the out-of-step threshold and the synchronization threshold. When the measurement value record set corresponding to the link monitoring measurement value is updated, the comparison value set is synchronously updated. Exemplarily, the terminal obtains a new link monitoring measurement value, and obtains a comparison result of the link monitoring measurement value with the out-of-step threshold and the synchronization threshold based on the link monitoring measurement value, the out-of-step threshold and the synchronization threshold. Optionally, the comparison result is 1, indicating that the link monitoring measurement value is less than the out-of-step threshold, the comparison result is 2, indicating that the link monitoring measurement is greater than or equal to the out-of-step threshold, and less than or equal to the synchronization threshold, and the comparison result is 3, indicating that the link monitoring measurement is greater than the synchronization threshold; the measurement value record set is updated based on the link monitoring measurement value, and the comparison value set is updated based on the comparison result.
[0082] Exemplarily, when determining the relationship between the multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold, it can be achieved by counting the proportions of element 1, element 2, and element 3 in the comparison value set. In this implementation, by setting the comparison value set and synchronously updating the comparison value set, the relationship between the multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold can be quickly determined.
[0083] In another possible implementation, a first comparison parameter and a second comparison parameter are configured in the terminal, wherein the first comparison parameter is used to record the number of link monitoring measurement values less than the desynchronization threshold among multiple link monitoring measurement values, and the second comparison parameter is used to record the number of link monitoring measurement values greater than the synchronization threshold among multiple link monitoring measurement values. Exemplarily, when the terminal obtains a new link monitoring measurement value, after updating the measurement value record set according to the link monitoring measurement value, the first comparison parameter and the second comparison parameter are updated, based on the first comparison parameter and the second comparison parameter. The size of the measurement value record set is preconfigured, and whether criterion A is met at the current moment is determined based on the first comparison parameter, the second comparison parameter and the size of the measurement value record set. In an exemplary embodiment, based on Figure 2 The embodiment shown, the embodiment of the present application relates to a process of determining a target calculation method from a first calculation method and a second calculation method according to the relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and the desynchronization threshold and the synchronization threshold, including: if the ratio of link monitoring measurement values whose multiple link monitoring measurement values are less than the desynchronization threshold is greater than the second ratio, the second calculation method is determined as the target calculation method. For ease of description, the condition for determining the target calculation method provided in this embodiment is referred to as criterion B. If the multiple link monitoring measurement values corresponding to the current moment meet criterion B, it is considered that the communication environment at the current moment may have a relatively rapid change in quality or may have been in a relatively poor communication environment. The current link quality value determined by the second calculation method can track changes in wireless link quality more quickly.
[0084] In a possible implementation manner, the second ratio ranges from 45% to 55%. Optionally, the second ratio is 50%, that is, criterion B includes: more than half of the link monitoring measurement values of the multiple link monitoring measurement values are less than the out-of-step threshold.
[0085] In an exemplary embodiment, based on Figure 2 The embodiment shown, the embodiment of the present application relates to a process of determining a target calculation method from a first calculation method and a second calculation method according to the relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and the desynchronization threshold and the synchronization threshold, including: if the proportion of link monitoring measurement values less than the desynchronization threshold among the multiple link monitoring measurement values is less than or equal to the second proportion, and the proportion of link monitoring measurement values greater than the synchronization threshold among the multiple link monitoring measurement values is less than or equal to the first proportion, then the calculation method for determining the historical link quality value is determined as the target calculation method, and the calculation method for determining the historical link quality value is determined as the first calculation method or the second calculation method. Wherein, the historical link quality value is the link quality value calculated at the previous moment when the link quality value needs to be reported.
[0086] In this embodiment, if multiple link monitoring measurement values neither meet criterion A nor criterion B, the previous calculation method is continued unchanged; if the previous calculation method is the first calculation method, the target calculation method at the current moment is the first calculation method; if the previous calculation method is the second calculation method, the target calculation method at the current moment is the second calculation method.
[0087] In an exemplary implementation, based on Figure 2 In the embodiment shown, in this embodiment, when the target calculation method is the first calculation method, determining the current link quality value of the terminal in the synchronous state based on the target calculation method includes: performing forgetting filtering processing according to the average value of multiple link monitoring measurement values, historical link quality values and the first filtering factor to obtain the current link quality value of the terminal in the synchronous state.
[0088] Exemplarily, taking the evaluation period in the 3GPP communication standard protocol as an example, the process of obtaining the current link quality value by using the first calculation method is shown in Formula 1 and Formula 2:
[0089] , Formula 1
[0090] , Formula 2
[0091] Among them, in formula 1 is the nth RLM measurement value in the evaluation period measurement set S. In formulas 1 and 2, is the average value of all RLM measurements in set S; is the historical link quality value; is the first filter factor.
[0092] In a possible implementation manner, if the first calculation method is used to perform the first link quality evaluation (exemplarily, the first calculation method is directly used by default to perform the first link quality evaluation, or the first link quality evaluation satisfies criterion A), since there is no historical link quality value at this time For reference, only average calculation is performed without forgetting filtering. When it is an initial value or a null value, no forgetting filtering is performed and the average value is directly output as the current link quality value.
[0093] In this embodiment, when the target calculation method is the second calculation method, the current link quality value of the terminal in the synchronous state is determined based on the target calculation method, including: performing forgetting filtering processing according to the current monitoring measurement value, the historical link quality value and the second filter factor to obtain the current link quality value of the terminal in the synchronous state.
[0094] Exemplarily, taking the evaluation period in the 3GPP communication standard protocol as an example, the process of obtaining the current link quality value by using the second calculation method is shown in Formula 3: , Formula 3
[0095] In formula 3, is the most recently calculated RLM measurement value, that is, the current monitoring measurement value. is the historical link quality value; is the second filter factor.
[0096] In a possible implementation manner, if criterion B is satisfied during the first link quality evaluation, the second calculation method is determined as the target calculation method, and the current monitoring measurement value is directly output without performing forgetting filtering.
[0097] In a possible implementation, if neither criterion A nor criterion B is satisfied during the first link quality evaluation, the first calculation method is configured as the target method for the first link quality evaluation to improve the stability and reliability of obtaining the current link quality value.
[0098] Among them, the first filter factor Greater than the second filter factor . Exemplarily, the first filter factor Greater than 1 / 4 and less than 1 / 2; second filter factor Greater than 1 / 32 and less than 1 / 8.
[0099] See also Figure 5 In an exemplary embodiment, based on Figure 2 In the embodiment shown, the wireless link quality monitoring method provided further includes steps 502 to 506:
[0100] Step 502: When the terminal is in a pre-loss state, a current link quality value of the terminal in the pre-loss state is obtained based on a second calculation method.
[0101] In this embodiment, the second calculation method is used to determine the current link quality value of the terminal in the pre-loss gait. Considering that the terminal in the pre-loss gait is likely to experience real loss of step, only the second calculation method is used to evaluate the current link quality value in the pre-loss gait. This can avoid excessive reliance on previous link monitoring measurement values and increase reliance on the most recent link monitoring measurement values to evaluate the current link quality, thereby quickly tracking the changes in the current downlink communication link quality in the pre-loss gait, and ultimately effectively improving the terminal's communication service experience.
[0102] Step 504: If the current link quality value of the terminal in the pre-loss state is greater than the synchronization threshold, the cumulative number of synchronizations is updated.
[0103] Step 506: If the cumulative number of synchronizations within the preset time period is greater than or equal to the preset number of synchronizations, it is determined that the terminal enters a synchronization state.
[0104] Step 508: If the cumulative number of synchronizations is less than the preset number of synchronizations when the preset time duration is reached, it is determined that the terminal enters a lost state.
[0105] Step 510: If the current link quality value of the terminal in the pre-out-of-step state is less than the out-of-step threshold, the cumulative number of synchronizations is reset.
[0106] In a possible implementation manner, if the current link quality value of the terminal in the pre-desynchronization state is greater than or equal to the desynchronization threshold and less than or equal to the synchronization threshold, the cumulative number of synchronizations is kept unchanged.
[0107] Exemplarily, when the terminal enters the pre-loss state, the high-level layer starts the configured T310 timer and N311 counter, wherein the T310 timer is used to limit the preset duration of the terminal in the pre-loss state, and the N311 counter is used to record the number of times that the current link quality value of the terminal in the pre-loss state is continuously greater than the synchronization threshold; wherein, before the T310 timer times out, the second calculation method is continuously used to determine the current link quality value in the pre-loss state, and as long as there is one time when the current link quality value obtained is less than the loss-of-step threshold, the N311 counter is cleared. When the T310 timer times out, the N311 counter has not reached the configured preset number of synchronizations, at which time the terminal will enter the loss-of-step state. Before the T310 timer times out, the N311 counter reaches the configured preset number of synchronizations, at which time the terminal returns to the synchronization state.
[0108] In an exemplary embodiment, Figure 6 As shown, a wireless link quality monitoring method is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, including the following steps 602 to 626. Among them:
[0109] Step 602: When the terminal is in a synchronous state, if multiple link monitoring measurement values satisfy criterion A, a first calculation method is determined as a target calculation method; wherein criterion A includes that all of the multiple link monitoring measurement values are greater than the desynchronization threshold, and the proportion of the link monitoring measurement values greater than the synchronization threshold in the multiple link monitoring measurement values is greater than a first proportion, then the first calculation method includes: performing forgetting filtering processing according to an average value of the multiple link monitoring measurement values, a historical link quality value and a first filtering factor to obtain a current link quality value of the terminal in the synchronous state.
[0110] Step 604, when the terminal is in a synchronous state, if multiple link monitoring measurement values meet criterion B, the second calculation method is determined as the target calculation method; wherein criterion B includes that the proportion of link monitoring measurement values less than the desynchronization threshold in the multiple link monitoring measurement values is greater than a second proportion, and the second calculation method includes: performing forgetting filtering processing according to the current monitoring measurement value, the historical link quality value and the second filtering factor to obtain the current link quality value of the terminal in the synchronous state.
[0111] Step 606, when the terminal is in a synchronous state, if multiple link monitoring measurement values neither meet criterion A nor criterion B, the calculation method for determining the historical link quality value is determined as the target calculation method, and the calculation method for determining the historical link quality value is the first calculation method or the second calculation method.
[0112] Step 608: Determine the current link quality value of the terminal in the synchronization state based on the target calculation method.
[0113] Step 610: Determine whether the current link quality value of the terminal in the synchronization state is less than the out-of-sync threshold.
[0114] Step 612: If the current link quality value of the terminal in the synchronization state is less than the out-of-sync threshold, the accumulated number of out-of-sync times is updated.
[0115] Step 614: If the current link quality value of the terminal in the synchronous state is greater than or equal to the out-of-sync threshold, determine whether the current link quality value of the terminal in the synchronous state is greater than the synchronization threshold.
[0116] Step 616: If the current link quality value of the terminal in the synchronization state is greater than the synchronization threshold, the accumulated number of out-of-sync times is reset, and the process jumps to the step of determining the target calculation method to continue.
[0117] If the current link quality value of the terminal in the synchronization state is less than or equal to the synchronization threshold, the process jumps to the step of determining the target calculation method and continues to execute.
[0118] Step 618, determining whether the accumulated number of out-of-step times is greater than or equal to a preset number of out-of-step times.
[0119] Step 620: If the accumulated number of out-of-step times is greater than or equal to the preset number of out-of-step times, a current link quality value of the terminal in the pre-out-of-step state is obtained based on a second calculation method.
[0120] When the accumulated number of out-of-sync times is greater than or equal to the preset number of out-of-sync times, the terminal enters a pre-out-of-sync state, and determines a current link quality value in the pre-out-of-sync state based on a second calculation method.
[0121] If the accumulated number of out-of-step times is less than the preset number of out-of-step times, the process jumps to the step of determining the target calculation method and continues to execute.
[0122] Step 622, determining whether the current link quality value of the terminal in the pre-loss state is greater than the synchronization threshold.
[0123] Step 624: If the current link quality value of the terminal in the pre-loss state is greater than the synchronization threshold, the cumulative number of synchronizations is updated.
[0124] Step 626: If the current link quality value of the terminal in the pre-loss gait is less than or equal to the synchronization threshold, determine whether the current link quality value of the terminal in the pre-loss gait is less than the loss-of-step threshold.
[0125] Step 628: If the current link quality value of the terminal in the pre-out-of-step state is less than the out-of-step threshold, the cumulative number of synchronizations is reset.
[0126] If the current link quality value of the terminal in the pre-desynchronization state is between the synchronization threshold and the desynchronization threshold, the cumulative number of synchronizations is kept unchanged.
[0127] Step 630, determining whether the cumulative number of synchronizations within a preset time period is greater than or equal to a preset number of synchronizations.
[0128] If the cumulative number of synchronizations within the preset time is greater than or equal to the preset number of synchronizations, it is determined that the terminal enters the synchronization state. After the terminal enters the synchronization state, the process jumps to the step of determining the target calculation method when the terminal is in the synchronization state and continues to execute.
[0129] Step 632: If the cumulative number of synchronizations is less than the preset number of synchronizations when the preset time is reached, it is determined that the terminal enters a lost state.
[0130] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0131] It is understood that the term "based on" used in this application is used to describe one or more factors that affect the determination, and does not exclude other factors that may affect the determination. For example, the phrase "determine A based on B" means that the determination of A can be based entirely or at least partially on factor B, that is, B is a factor that affects the determination of A, but does not exclude that the determination of A is also based on C.
[0132] Based on the same inventive concept, the embodiment of the present application also provides a wireless link quality monitoring device for implementing the wireless link quality monitoring method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more wireless link quality monitoring device embodiments provided below can refer to the limitations of the wireless link quality monitoring method above, and will not be repeated here.
[0133] In an exemplary embodiment, Figure 7 As shown, a wireless link quality monitoring device is provided, including: a determination module 702, a calculation module 704 and a change module 706, wherein:
[0134] A determination module 702 is used to determine, when the terminal is in a synchronized state, a target calculation method corresponding to the current moment from a first calculation method and a second calculation method according to a relationship between multiple link monitoring measurement values corresponding to the terminal at the current moment and a desynchronization threshold and a synchronization threshold, wherein the first calculation method includes determining a current link quality value based on an average value of multiple link monitoring measurement values, and the second calculation method includes determining a current link quality value based on a current monitoring measurement value, and the current monitoring measurement value is a link monitoring measurement value that is closest to the current moment in terms of timing among multiple link monitoring measurement values;
[0135] A calculation module 704, configured to determine a current link quality value of the terminal in a synchronization state based on a target calculation method;
[0136] The changing module 706 is used to determine whether the terminal enters the pre-loss state based on the current link quality value of the terminal in the synchronization state.
[0137] In an exemplary embodiment, the determination module 702 is used to determine the first calculation method as the target calculation method if all of the multiple link monitoring measurement values are greater than the out-of-sync threshold, and the proportion of the link monitoring measurement values greater than the synchronization threshold among the multiple link monitoring measurement values is greater than the first proportion.
[0138] In an exemplary embodiment, the determination module 702 is configured to determine the second calculation method as the target calculation method if the proportion of link monitoring measurement values less than the desynchronization threshold among the multiple link monitoring measurement values is greater than a second proportion.
[0139] In an exemplary embodiment, the determination module 702 is used to determine the calculation method of the historical link quality value as the target calculation method, and determine the calculation method of the historical link quality value as the first calculation method or the second calculation method if the proportion of link monitoring measurement values less than the desynchronization threshold among multiple link monitoring measurement values is less than or equal to the second proportion, and the proportion of link monitoring measurement values greater than the synchronization threshold among multiple link monitoring measurement values is less than or equal to the first proportion.
[0140] In an exemplary embodiment, when the target calculation method is the first calculation method, the calculation module 704 is used to perform forgetting filtering processing based on the average value of multiple link monitoring measurement values, historical link quality values and a first filter factor to obtain the current link quality value of the terminal in the synchronous state; and, when the target calculation method is the second calculation method, perform forgetting filtering processing based on the current monitoring measurement value, the historical link quality value and the second filter factor to obtain the current link quality value of the terminal in the synchronous state; wherein the first filter factor is greater than the second filter factor.
[0141] In an exemplary embodiment, the change module 706 is used to update the cumulative number of out-of-step times if the current link quality value of the terminal in the synchronization state is less than the out-of-step threshold; if the cumulative number of out-of-step times is greater than or equal to the preset number of out-of-step times, determine that the terminal enters the pre-out-of-step state; if the current link quality value of the terminal in the synchronization state is greater than the synchronization threshold, reset the cumulative number of out-of-step times.
[0142] In an exemplary embodiment, the calculation module 704 is also used to obtain the current link quality value of the terminal in the pre-loss gait based on the second calculation method when the terminal is in the pre-loss gait; the change module 706 is also used to update the cumulative synchronization times if the current link quality value of the terminal in the pre-loss gait is greater than the synchronization threshold; if within a preset time length, the cumulative synchronization times is greater than or equal to the preset synchronization times, it is determined that the terminal enters the synchronization state; if when the preset time length is reached, the cumulative synchronization times is less than the preset synchronization times, it is determined that the terminal enters the out-of-gait state; if the current link quality value of the terminal in the pre-loss gait is less than the out-of-step threshold, the cumulative synchronization times are reset.
[0143] Each module in the above-mentioned wireless link quality monitoring device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0144] In an exemplary embodiment, a communication device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a wireless link quality monitoring method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0145] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0146] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0147] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0148] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0149] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0150] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0151] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0152] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A wireless link quality monitoring method, characterized in that: The method comprises: When the terminal is in a synchronized state, determine a target calculation method corresponding to the current moment from a first calculation method and a second calculation method according to a relationship between a plurality of link monitoring measurement values corresponding to the terminal at the current moment and a desynchronization threshold and a synchronization threshold, wherein the first calculation method includes determining a current link quality value based on an average value of the plurality of link monitoring measurement values, and the second calculation method includes determining a current link quality value based on a current monitoring measurement value, wherein the current monitoring measurement value is a link monitoring measurement value that is closest to the current moment in terms of timing among the plurality of link monitoring measurement values; Determining a current link quality value of the terminal in a synchronization state based on the target calculation method; Determining whether the terminal enters a pre-loss state based on a current link quality value of the terminal in a synchronization state; The determining the target calculation method corresponding to the current moment from the first calculation method and the second calculation method according to the relationship between the multiple link monitoring measurement values corresponding to the terminal at the current moment and the out-of-step threshold and the synchronization threshold includes: If all of the multiple link monitoring measurement values are greater than the out-of-step threshold, and the proportion of link monitoring measurement values greater than the synchronization threshold among the multiple link monitoring measurement values is greater than a first proportion, determining the first calculation method as the target calculation method; If the proportion of link monitoring measurement values less than the desynchronization threshold among the multiple link monitoring measurement values is greater than a second proportion, determining the second calculation method as the target calculation method; If the proportion of link monitoring measurement values less than the desynchronization threshold among the multiple link monitoring measurement values is less than or equal to the second proportion, and the proportion of link monitoring measurement values greater than the synchronization threshold among the multiple link monitoring measurement values is less than or equal to the first proportion, the calculation method for determining the historical link quality value is determined as the target calculation method, and the calculation method for determining the historical link quality value is the first calculation method or the second calculation method.
2. The method according to claim 1, characterized in that When the target calculation mode is the first calculation mode, determining the current link quality value of the terminal in the synchronization state based on the target calculation mode includes: performing forgetting filtering processing according to an average value of the multiple link monitoring measurement values, a historical link quality value, and a first filtering factor to obtain the current link quality value of the terminal in the synchronization state; When the target calculation mode is the second calculation mode, determining the current link quality value of the terminal in the synchronization state based on the target calculation mode includes: performing forgetting filtering processing according to the current monitoring measurement value, the historical link quality value and the second filtering factor to obtain the current link quality value of the terminal in the synchronization state; The first filter factor is greater than the second filter factor.
3. The method according to claim 1, characterized in that: The determining, based on a current link quality value of the terminal in the synchronization state, whether the terminal enters a pre-loss state comprises: If the current link quality value of the terminal in the synchronization state is less than the out-of-sync threshold, updating the cumulative number of out-of-sync times; If the accumulated number of out-of-step times is greater than or equal to the preset number of out-of-step times, determining that the terminal enters a pre-out-of-step state; If the current link quality value of the terminal in the synchronization state is greater than the synchronization threshold, the accumulated number of out-of-sync times is reset.
4. The method according to claim 1, characterized in that: The method further comprises: When the terminal is in a pre-loss state, obtaining a current link quality value of the terminal in the pre-loss state based on the second calculation method; If the current link quality value of the terminal in the pre-loss state is greater than the synchronization threshold, updating the cumulative number of synchronizations; If within a preset time period, the cumulative number of synchronizations is greater than or equal to a preset number of synchronizations, it is determined that the terminal enters a synchronization state; If the cumulative number of synchronizations is less than the preset number of synchronizations when the preset time is reached, it is determined that the terminal enters a gait-out state; If the current link quality value of the terminal in the pre-out-of-step state is less than the out-of-step threshold, the accumulated number of synchronizations is reset.
5. A wireless link quality monitoring device, characterized in that: The device comprises: a determination module, configured to determine, when the terminal is in a synchronous state, a target calculation method corresponding to the current moment from a first calculation method and a second calculation method according to a relationship between a plurality of link monitoring measurement values corresponding to the terminal at the current moment and a desynchronization threshold and a synchronization threshold, wherein the first calculation method includes determining a current link quality value based on an average value of the plurality of link monitoring measurement values, and the second calculation method includes determining a current link quality value based on a current monitoring measurement value, wherein the current monitoring measurement value is a link monitoring measurement value that is closest to the current moment in terms of timing among the plurality of link monitoring measurement values; A calculation module, used to determine a current link quality value of the terminal in a synchronization state based on the target calculation method; A changing module, configured to determine whether the terminal enters a pre-loss state based on a current link quality value of the terminal in a synchronization state; Among them, the determination module is specifically used to determine the first calculation method as the target calculation method if all of the multiple link monitoring measurement values are greater than the out-of-step threshold, and the proportion of the link monitoring measurement values greater than the synchronization threshold in the multiple link monitoring measurement values is greater than a first proportion; if the proportion of the link monitoring measurement values less than the out-of-step threshold in the multiple link monitoring measurement values is greater than a second proportion, then determine the second calculation method as the target calculation method; if the proportion of the link monitoring measurement values less than the out-of-step threshold in the multiple link monitoring measurement values is less than or equal to the second proportion, and the proportion of the link monitoring measurement values greater than the synchronization threshold in the multiple link monitoring measurement values is less than or equal to the first proportion, then determine the calculation method for determining the historical link quality value as the target calculation method, and the calculation method for determining the historical link quality value is the first calculation method or the second calculation method.
6. A communication device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Wireless link monitoring mode conversion method and terminal equipment
CN115299090A
Wireless link monitoring method and device, and terminal equipment
CN115428364A
