Communication link detection method, apparatus, device, and computer readable storage medium

By detecting the saturation state of the RF amplifier and delaying the out-of-synchronization detection process, the problem of downlink out-of-synchronization caused by interference in complex environments for UEs is solved, reducing power consumption and latency, and improving the stability and efficiency of the communication link.

CN118804022BActive Publication Date: 2026-05-12CHINA MOBILE M2M +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE M2M
Filing Date
2023-12-25
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In complex wireless communication environments, UEs are susceptible to interference from nearby UEs, which can cause downlink synchronization loss, leading to increased power consumption and extended service latency. Existing technologies struggle to effectively distinguish between continuous and intermittent interference, resulting in significant losses during the process of re-establishing communication links.

Method used

By detecting whether the RF amplifier of the terminal device is in a saturated state, the communication connection status of the device is obtained according to the communication connection status of the terminal device, and the out-of-synchronization detection process is delayed when the RF amplifier is in a saturated state, so as to keep the communication connection status unchanged or delay the change to an out-of-synchronization state, and avoid unnecessary re-establishment of the communication link.

Benefits of technology

It effectively reduces device power consumption, reduces service latency, improves service performance, and reduces unnecessary communication link reconstruction processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804022B_ABST
    Figure CN118804022B_ABST
Patent Text Reader

Abstract

The application discloses a communication link detection method and device, equipment and a computer readable storage medium. The communication link detection method comprises the following steps: detecting whether a radio frequency amplifier in a terminal device is in a saturation state; acquiring a communication connection state of the terminal device in the case that the radio frequency amplifier is in the saturation state; and performing process delay processing on a step-out detection process of the terminal device in the case that the communication connection state is a non-step-out state, so that the communication connection state is not changed or is delayed to change into a step-out state, and the step-out detection process is used for step-out detection on a communication link of the terminal device. According to the embodiment of the application, the device power consumption can be effectively reduced, the service time delay can be reduced, and the service performance can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of wireless communication technology, and in particular relates to a communication link detection method, apparatus, device and computer-readable storage medium. Background Technology

[0002] In the field of wireless communication technology, UE (User Equipment, terminal) often needs to detect the communication connection status of the communication link during the communication process, such as detecting downlink loss of synchronization, so as to initiate timely rescue measures when the UE is out of synchronization.

[0003] In complex real-world network environments, there are many reasons why a UE might detect a state of being out of sync. For example, when other nearby UEs are transmitting signals, it may severely interfere with the target UE's signal reception process, leading to downlink loss of sync, entering a state of being out of sync, and triggering a series of remedial measures, such as attempting to re-search for cells, to re-establish the communication link.

[0004] Thus, when a UE enters a state of loss of synchronization due to interference from a nearby strong interference source, the subsequent process of re-establishing the communication link will cause severe power consumption loss and significantly increase service latency, affecting service performance. Summary of the Invention

[0005] This application provides a communication link detection method, apparatus, device, and computer-readable storage medium, which can effectively reduce device power consumption, reduce service latency, and improve service performance.

[0006] In a first aspect, embodiments of this application provide a communication link detection method, the method comprising:

[0007] Detect whether the radio frequency amplifier in the terminal device is in a saturated state;

[0008] When the radio frequency amplifier is in a saturated state, the communication connection status of the terminal device is obtained;

[0009] When the communication connection state is not out of step, the out-of-step detection process of the terminal device is delayed so that the communication connection state does not change or is delayed to an out-of-step state. The out-of-step detection process is used to detect out-of-step in the communication link of the terminal device.

[0010] Secondly, embodiments of this application provide a communication link detection device, the device comprising:

[0011] The saturation state detection module is used to detect whether the radio frequency amplifier in the terminal device is in a saturated state;

[0012] A communication status acquisition module is used to acquire the communication connection status of the terminal device when the radio frequency amplifier is in a saturated state.

[0013] The process delay processing module is used to perform process delay processing on the out-of-step detection process of the terminal device when the communication connection state is not out of step, so that the communication connection state does not change or is delayed to an out-of-step state. The out-of-step detection process is used to detect out-of-step in the communication link of the terminal device.

[0014] Thirdly, embodiments of this application provide an electronic device, which includes: a processor and a memory storing computer program instructions;

[0015] When the processor executes the computer program instructions, it implements the steps of the communication link detection method as described in any embodiment of the first aspect.

[0016] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the steps of the communication link detection method as described in any embodiment of the first aspect.

[0017] Fifthly, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform the steps of the communication link detection method as described in any embodiment of the first aspect.

[0018] The communication link detection method, apparatus, device, and computer-readable storage medium in this application determine the presence of strong interference sources around the terminal device by detecting whether the radio frequency amplifier in the terminal device is in a saturated state. Furthermore, if the radio frequency amplifier is in a saturated state, indicating the presence of strong interference sources, and the terminal device's current communication connection state has not yet entered a non-out-of-synchronization state (i.e., it is in a non-out-of-synchronization state), the out-of-synchronization detection process in the terminal device is promptly delayed to ensure that the terminal device's communication connection state remains unchanged or is delayed in changing to a non-out-of-synchronization state. This allows the terminal device to remain in a non-out-of-synchronization state for at least a period of time even in the presence of strong interference sources, thus preventing the easy triggering of the communication link re-establishment process. This effectively reduces device power consumption, lowers service latency, and improves service performance. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart illustrating a communication link detection method provided in one embodiment of this application;

[0021] Figure 2 This is a schematic diagram illustrating the flow of communication connection status of a terminal device provided in this application;

[0022] Figure 3 This is a schematic diagram of the structure of a communication link detection device provided in one embodiment of this application;

[0023] Figure 4 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation

[0024] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0025] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0026] In live networks, the network environment is highly complex, and there are many reasons why a UE might detect downlink synchronization failure. During real-world testing in LTE (Long Term Evolution) networks, it was found that the signal energy emitted by other UEs near the target UE can severely interfere with the target UE's reception, causing downlink synchronization failure. Analysis of UE behavior reveals that UE signal transmissions are typically both continuous and intermittent; each UE signal transmission lasts for a short period, with a time interval between transmissions. Because each transmission from a nearby UE is only short, the downlink communication quality monitored by the target UE during this period does not reflect normal communication quality. If the target UE enters a synchronization failure state during this period due to interference from nearby UEs, triggering a series of remedial measures such as attempting to re-search for a cell to re-establish the communication link, it will severely impact the target UE's service performance. Especially in scenarios with poor signal quality, the process of successfully connecting to a suitable cell may take tens of seconds, significantly increasing the target UE's power consumption and service latency.

[0027] Therefore, since existing technologies cannot effectively distinguish between continuous and intermittent interference, when a UE enters a state of loss of synchronization due to such interference, the subsequent process of re-establishing the communication link will cause severe power consumption loss and significantly increase service latency, affecting service performance.

[0028] To address the problems of the prior art, embodiments of this application provide a communication link detection method, apparatus, device, and computer-readable storage medium. This communication link detection method can be applied to scenarios involving out-of-sync detection of communication links. The communication link detection method provided in this application embodiment is described below.

[0029] Figure 1 This is a flowchart illustrating a communication link detection method provided in one embodiment of this application. This communication link detection method can be executed by terminal devices such as mobile phones and IoT devices.

[0030] like Figure 1 As shown, the communication link detection method may specifically include the following steps:

[0031] S110. Detect whether the RF amplifier in the terminal device is in a saturated state;

[0032] S120. Obtain the communication connection status of the terminal device when the RF amplifier is in saturation.

[0033] S130. When the communication connection state is not out of step, the out-of-step detection process of the terminal device is delayed so that the communication connection state does not change or is delayed to an out-of-step state. The out-of-step detection process is used to detect out-of-step in the communication link of the terminal device.

[0034] Therefore, by detecting whether the RF amplifier in the terminal device is in a saturated state, it can be determined whether there is a strong interference source around the terminal device. If the RF amplifier is in a saturated state, indicating a strong interference source is present, and the terminal device's current communication connection state has not yet entered a non-out-of-synchronization state (i.e., it is in a non-out-of-synchronization state), the out-of-synchronization detection process in the terminal device is promptly delayed. This ensures that the terminal device's communication connection state remains unchanged or is delayed in changing to an out-of-synchronization state. In this way, even with strong interference sources in the vicinity, the terminal device can remain in a non-out-of-synchronization state for at least a period of time, thus preventing the easy triggering of the communication link re-establishment process. This effectively reduces device power consumption, lowers service latency, and improves service performance.

[0035] The specific implementation methods for each of the above steps are described below.

[0036] In some implementations, in S110, the radio frequency amplifier may be a device in the terminal device used to amplify radio frequency signals.

[0037] For example, a saturation detection module may be provided in the terminal device. The terminal device can perform saturation detection on the radio frequency amplifier in the saturation detection module to determine whether the radio frequency amplifier in the terminal device is in a saturated state. The determination result can determine whether there is a strong interference source near the terminal device. If the radio frequency amplifier is in a saturated state, it indicates that there is a strong interference source near the terminal device; if the radio frequency amplifier is in a non-saturated state, it indicates that there is no strong interference source near the terminal device.

[0038] In some examples, the saturation detection module described above may comprise two parts: a conversion circuit and a comparator. Based on this, the conversion circuit can be connected after the RF amplifier to convert the amplified sinusoidal signal into a DC signal. The comparator is then connected after the conversion circuit to input the DC signal. The comparator compares the power of the input DC signal with a preset threshold value. If the signal power exceeds the preset threshold, the RF amplifier is determined to be in a saturated state.

[0039] Based on this, in some embodiments of this application, the above-mentioned S110 may specifically include:

[0040] The state of the saturation flag bit corresponding to the radio frequency amplifier in the detection terminal device is activated when the electrical parameter value of the first signal after being amplified by the radio frequency amplifier is greater than the preset electrical parameter threshold.

[0041] When the saturation flag is enabled, the RF amplifier is determined to be in saturation.

[0042] Here, the current state of the RF amplifier can be identified by setting a saturation flag corresponding to the RF amplifier. The first signal can be, for example, the signal output by the RF amplifier, or a DC signal obtained after conversion from the RF amplifier's output. Electrical parameter values ​​can include parameters representing signal energy such as current, voltage, and power values.

[0043] For example, when the power value of the first signal output by the RF amplifier is greater than a preset power threshold, the saturation flag can be enabled, so that the state of the saturation flag is enabled. The terminal device can detect whether the RF amplifier is in a saturated state by reading the state of the saturation flag. That is, if the state of the saturation flag is enabled, it can be determined that the RF amplifier is in a saturated state; if the state of the saturation flag is disabled, it can be determined that the RF amplifier is in a non-saturated state.

[0044] In some implementations, in S120, the communication connection state may include a lost-in-sync state and a non-lost-in-sync state. The lost-in-sync state may, for example, be a downlink RLF (Radio Link Failure) state; that is, the lost-in-sync detection scenario applicable to this embodiment may be a lost-in-sync detection scenario for the downlink communication link. Additionally, the communication connection state may also include an idle state, which is the state the terminal device enters after failing to re-establish the communication link. The non-lost-in-sync state may be any communication connection state other than the lost-in-sync state and the idle state.

[0045] Therefore, in some implementations, the aforementioned non-out-of-synchronization state may include a connected state and a pre-out-of-synchronization state. The connected state can be a normal communication connection state. The pre-out-of-synchronization state can be a state that is about to enter an out-of-synchronization state but has not yet entered it, such as the RLF (Radio Link Failure) state.

[0046] For example, if the RF amplifier is determined to be in a saturated state, it indicates that there is strong interference around the terminal device. In order to prevent the terminal device from being easily triggered to re-establish the communication link and reduce the impact of the interference signal on the terminal device, the current communication connection status of the terminal device can be determined first, and then different out-of-step detection procedures can be used to detect out-of-step according to different communication connection statuses.

[0047] In other examples, if the RF amplifier is determined to be in an unsaturated state, it indicates that there is no strong interference around the terminal device, and therefore the out-of-synchronization detection can be performed according to the normal out-of-synchronization detection procedure.

[0048] In some implementations, in S130, it can be determined whether a process delay processing is needed for the out-of-synchronization detection process based on the communication connection status of the terminal device. The out-of-synchronization detection process can be a process for detecting out-of-synchronization in the communication link of the terminal device. Under normal circumstances, the terminal device can periodically perform out-of-synchronization detection on the communication link according to this out-of-synchronization detection process.

[0049] In addition, the handling methods for process delays can include: stopping certain steps in the out-of-step detection process, extending the time for triggering certain steps in the out-of-step detection process, and raising the threshold requirements for triggering certain steps in the out-of-step detection process. Of course, other unlisted handling methods can also be included, as long as they can achieve the effect of keeping the communication connection state unchanged or delaying the change to the out-of-step state.

[0050] For example, when the communication connection status of the terminal device is out of step, it means that the terminal device has already triggered the process of re-establishing the communication link. Therefore, there is no need to perform process delay processing on the out-of-step detection process, and the out-of-step detection can continue according to the normal out-of-step detection process. When the communication connection status of the terminal device is not out of step, it means that the terminal device has not yet triggered the process of re-establishing the communication link. At this time, in order to prevent or delay the triggering of the process of re-establishing the communication link, process delay processing can be performed on the out-of-step detection process so that the terminal device does not enter or delays entering the out-of-step state.

[0051] Based on this, when the aforementioned non-out-of-synchronization state includes both a connected state and a pre-out-of-synchronization state, in some embodiments, the aforementioned S130 may specifically include:

[0052] When the communication connection state is connected, the first detection process in the out-of-synchronization detection process is delayed to ensure that the communication connection state remains unchanged or is delayed to the pre-out-of-synchronization state. The first detection process is the detection process corresponding to the terminal device in the connected state.

[0053] When the communication connection state is in a pre-out-of-synchronization state, the second detection process in the out-of-synchronization detection process is delayed to ensure that the communication connection state remains unchanged or is delayed to an out-of-synchronization state. The second detection process is the detection process corresponding to the terminal device in the pre-out-of-synchronization state.

[0054] Here, in the normal out-of-synchronization detection process, whenever the terminal device enters a certain communication connection state, the detection process for that state is triggered. When the state transition condition is met, the terminal device is triggered to enter the next communication connection state, and then continues to execute the detection process for the next communication connection state. The order in which the terminal device enters each communication connection state when it finally changes from the connected state to the idle state could be, for example: connected state → pre-out-of-synchronization state → out-of-synchronization state → idle state.

[0055] Based on this, in some examples, when the communication connection state is connected, the first detection process required in the out-of-synchronization detection process corresponding to the connected state can be delayed to obtain an optimized first detection process. Then, out-of-synchronization detection is performed on the terminal device's communication link according to the optimized first detection process corresponding to the connected state. This allows the terminal device's connection state to remain unchanged or be delayed to a pre-out-of-synchronization state.

[0056] In other examples, when the communication connection is in a pre-out-of-synchronization state, the second detection process required in the out-of-synchronization detection procedure corresponding to the pre-out-of-synchronization state can be delayed to obtain an optimized second detection process. Then, the communication link of the terminal device is subjected to out-of-synchronization detection according to the optimized second detection process corresponding to the pre-out-of-synchronization state. This allows the connection state of the terminal device to remain unchanged or to change to an out-of-synchronization state with a delay.

[0057] In this way, by using different delay processing methods to process the corresponding out-of-synchronization detection process under different communication connection states before the terminal device finally enters the out-of-synchronization state, the probability of entering the out-of-synchronization state and triggering the re-establishment of the communication link can be further reduced, thereby further reducing device power consumption, reducing service latency, and improving service performance.

[0058] Based on this, in some implementations, the first detection process described above may specifically include:

[0059] Detect the communication link quality indicators of the terminal equipment;

[0060] If the communication link quality index value is less than the first index threshold, a step loss indication is generated;

[0061] Report the loss of synchronization to higher management;

[0062] Count the continuously reported steps loss indicators;

[0063] If the number of continuously reported out-of-synchronization indications reaches a first threshold, the communication connection status will be changed to a pre-out-of-synchronization state.

[0064] Here, the communication link quality metric can be any metric that reflects the quality of the communication link. Taking the following communication link quality metrics as an example, these could include RSRP (Reference Signal Received Power), RSRQ (Reference Signal Received Quality), and SNR (Signal to Noise Ratio). Additionally, the out-of-synchronization indication can be generated by the physical layer in the terminal device, and the upper layer could be, for example, the RRC (Radio Resource Control) layer.

[0065] For example, taking the following out-of-sync detection process as an example, such as Figure 2 As shown, when the terminal device is in connection state 21, it can periodically detect downlink communication link quality indicators such as RSRP, RSRQ, and SNR. If the downlink communication link quality indicator value is less than the preset first indicator threshold Q_out, the physical layer of the terminal device can generate a downlink out-of-sync indication and report it to the RRC layer, which counts the continuously received out-of-syncs. If the number of continuously received out-of-syncs by the RRC layer reaches the first number threshold N310, the terminal device can be triggered to enter the pre-out-of-sync state 22. The above is the first detection process in the downlink out-of-sync detection process.

[0066] Based on this, in some implementations, the first detection process in the out-of-synchronization detection process is delayed to keep the communication connection state unchanged and change to the pre-out-of-synchronization state. Specifically, this may include at least one of the following:

[0067] Stop testing the communication link quality indicators of the terminal equipment;

[0068] Stop generating out-of-step indicators;

[0069] Stop reporting the loss of synchronization to higher management;

[0070] Stop counting continuously reported step loss indications.

[0071] For example, if the RF amplifier is in a saturated state and the terminal device is in a connected state, a first detection procedure optimized for the connected state can be used for out-of-synchronization detection to prevent the terminal device from entering a pre-out-of-synchronization state. Specifically, this can include the following optimization methods.

[0072] One optimization approach is to stop detecting the communication link quality indicators (QMIs) of the terminal device. For example, when the saturation flag is detected as enabled, the detection of downlink QMIs, such as RSRP, RSRQ, and SNR, can be stopped to maintain the QMIs at the levels detected when the saturation flag was not enabled. This prevents the RF amplifier from saturating due to strong interference around the terminal device, which could cause the downlink QMIs to deteriorate rapidly, falling below the first threshold Q_out and triggering the out-of-sync indicator, thus entering a pre-out-of-sync state. Once the saturation flag is no longer enabled, the detection of downlink QMIs, such as RSRP, RSRQ, and SNR, can resume.

[0073] Another optimization approach is to stop generating out-of-sync indicators. For example, after detecting that the saturation flag is enabled, downlink communication link quality indicators such as RSRP, RSRQ, and SNR can continue to be monitored. If the downlink communication link quality indicator value is less than the first indicator threshold Q_out, then the generation of a downlink out-of-sync indicator is not triggered to avoid entering a pre-out-of-sync state due to interference sources around the terminal device. When the saturation flag is no longer enabled, if the downlink communication link quality indicator value is less than the first indicator threshold Q_out, then the generation of a downlink out-of-sync indicator can be triggered normally.

[0074] Another optimization approach is to stop reporting out-of-sync indicators to the upper layer. For example, after detecting that the saturation flag is enabled, downlink communication link quality indicators such as RSRP, RSRQ, and SNR can continue to be monitored. Furthermore, if the downlink communication link quality indicator value is less than the first indicator threshold Q_out, a downlink out-of-sync indicator is generated, but it is not reported to the RRC layer to avoid triggering a pre-out-of-sync state due to interference sources around the terminal device. When the saturation flag is no longer enabled, downlink communication link quality indicators such as RSRP, RSRQ, and SNR are monitored normally. If the downlink communication link quality indicator value is less than the first indicator threshold Q_out, a downlink out-of-sync indicator is generated normally and reported to the RRC layer normally.

[0075] Another optimization method is to stop counting continuously reported out-of-sync indicators. For example, when the saturation flag is enabled, downlink communication link quality indicators such as RSRP, RSRQ, and SNR can continue to be monitored. If the downlink communication link quality indicator value is less than the first indicator threshold Q_out, a downlink out-of-sync indicator can be generated and reported to the RRC layer, but the RRC layer does not count the out-of-syncs. In this way, the number of continuously received out-of-syncs by the RRC layer will not reach the first quantity threshold N310, and thus will not enter the pre-out-of-sync state. When the saturation flag is no longer enabled, downlink communication link quality indicators such as RSRP, RSRQ, and SNR are monitored normally. If the downlink communication link quality indicator value is less than the first indicator threshold Q_out, a downlink out-of-sync indicator can be generated normally and reported to the RRC layer. The RRC layer counts the continuously received out-of-syncs normally. When the number reaches the first quantity threshold N310, it can trigger entry into the pre-out-of-sync state.

[0076] Based on this, in some implementations, the first detection process in the out-of-synchronization detection process is subjected to process delay processing so that the communication connection state is delayed to a pre-out-of-synchronization state, which may specifically include at least one of the following:

[0077] The first indicator threshold is updated to the second indicator threshold to generate a step loss indication when the communication link quality indicator value is less than the second indicator threshold, wherein the second indicator threshold is less than the first indicator threshold.

[0078] After generating a step loss indicator, the consecutively generated step loss indicators are counted. When the number of consecutively generated step loss indicators reaches a second threshold, the step loss indicator is reported to the upper layer.

[0079] For example, if the RF amplifier is in a saturated state and the terminal device is in a connected state, a first detection procedure optimized for the connected state can be used for out-of-synchronization detection, so that the terminal device enters the pre-out-of-synchronization state with a delay. Specifically, this can include the following optimization methods.

[0080] One optimization approach could be to update the first indicator threshold to the second indicator threshold. For example, after detecting that the saturation flag is enabled, downlink communication link quality indicators such as RSRP, RSRQ, and SNR can continue to be monitored. If the downlink communication link quality indicator value is less than the second indicator threshold Q_out2, a downlink out-of-sync indication can be generated and reported to the RRC layer. The RRC layer normally counts the continuously received out-of-syncs. When the number reaches the first quantity threshold N310, it can trigger entry into the pre-out-of-sync state. Here, the second indicator threshold Q_out2 is less than the first indicator threshold Q_out. When the saturation flag is no longer enabled, the downlink communication link quality indicators such as RSRP, RSRQ, and SNR are normally detected. If the downlink communication link quality indicator is less than the first indicator threshold Q_out, the downlink out-of-sync indicator is normally generated and reported to the RRC layer. The RRC layer normally counts the continuously received out-of-sync. When the number reaches the first number threshold N310, it is triggered to enter the pre-out-of-sync state.

[0081] Another optimization approach is to count the consecutively generated out-of-sync indicators after generating the out-of-sync indicator. Only when the number of consecutively generated out-of-sync indicators reaches a second threshold is the out-of-sync indicator reported to the upper layer. For example, after detecting that the saturation flag is enabled, the downlink communication link quality indicators such as RSRP, RSRQ, and SNR are continuously monitored. If the downlink communication link quality indicator value is less than the first indicator threshold Q_out, a downlink out-of-sync indicator can be generated. The physical layer counts the consecutively generated out-of-sync indicators. When the number of consecutively generated out-of-sync indicators exceeds the second threshold N, the out-of-sync indicator is reported to the RRC layer. The RRC layer normally counts the consecutively received out-of-sync indicators. When the number reaches the first threshold N310, it can trigger the entry into the pre-out-of-sync state. When the saturation flag is no longer enabled, the downlink communication link quality indicators such as RSRP, RSRQ, and SNR are normally detected. If the downlink communication link quality indicator is less than the first indicator threshold Q_out, the downlink out-of-sync indicator is normally generated and reported to the RRC layer. The RRC layer normally counts the continuously received out-of-sync. When the number reaches the first number threshold N310, it is triggered to enter the pre-out-of-sync state.

[0082] In addition, in some implementations, the second detection process described above may specifically include:

[0083] Start the first timer;

[0084] Within the first timing duration corresponding to the first timer, detect the communication link quality index value of the terminal device;

[0085] If the communication link quality indicator value is greater than the third indicator threshold, a synchronization indication is generated;

[0086] Report the synchronization instruction to the upper level;

[0087] Count the continuously reported synchronization indications;

[0088] If the number of synchronization indications continuously reported within the first time interval does not reach the third threshold, the communication connection status will be changed to out-of-synchronization status.

[0089] For example, taking the following out-of-sync detection process as an example, such as Figure 2 As shown, when the terminal device is in the pre-out-of-synchronization state 22, it can start the first timer T310. During the first timing period of T310, if the detected downlink communication link quality index value is higher than the third index threshold Q_in, the physical layer of the terminal device can generate a downlink synchronization indication in-sync and report it to the RRC layer. The RRC layer counts the continuously received in-syncs. If the number of continuously received in-syncs by the RRC layer reaches the third quantity threshold N311, the first timer T310 can be stopped, indicating that the link synchronization has been restored, and the terminal device returns to the connected state; otherwise, the first timer T310 will continue to run until timeout, that is, until the first timing period is reached. At this time, it is considered that a wireless link failure has been detected, triggering the terminal device to enter the out-of-synchronization state 23. When the terminal device is in the out-of-synchronization state 23, the RRC layer connection reconstruction process can be triggered, and the timer T311 can be started. The terminal device will attempt to reconnect to a suitable cell during the duration of T311. If it does not connect to a suitable cell before T311 times out, the terminal device returns to the idle state 24.

[0090] Based on this, in some implementations, the second detection process in the out-of-synchronization detection process is delayed to ensure that the communication connection state remains unchanged before changing to the out-of-synchronization state. Specifically, this may include:

[0091] Restart the first timer.

[0092] For example, if the RF amplifier is in a saturated state and the terminal device is in a pre-out-of-synchronization state, the second detection process optimized in the pre-out-of-synchronization state can be used to detect out-of-synchronization, so as to prevent the terminal device from entering the out-of-synchronization state.

[0093] Specifically, this can include the following optimization method: repeatedly restarting the first timer. For example, when the saturation flag is detected as enabled, if the terminal device is in a pre-out-of-synchronization state and the first timer T310 is timing, the first timer T310 can be restarted to prevent T310 from timeout, thus avoiding the situation where the terminal device enters the out-of-synchronization state due to interference sources around it. When the saturation flag is detected as no longer enabled, the first timer T310 is not restarted. If, before T310 times out, the number of continuously reported synchronization indications (in-sync) received by the RRC layer has not reached the third threshold N311, then entering the out-of-synchronization state is triggered, and the RRC layer connection reconstruction process is executed.

[0094] Based on this, in some implementations, the second detection process in the out-of-synchronization detection process is subjected to process delay processing so that the communication connection state is delayed to the out-of-synchronization state, which may specifically include at least one of the following:

[0095] Restart the first timer and count the number of consecutive restarts of the first timer. If the number of consecutive restarts of the first timer reaches the fourth threshold, stop restarting the first timer.

[0096] The third indicator threshold is updated to the fourth indicator threshold to generate a synchronization indication when the communication link quality indicator value is greater than the fourth indicator threshold, wherein the fourth indicator threshold is less than the third indicator threshold.

[0097] For example, if the RF amplifier is in a saturated state and the terminal device is in a pre-out-of-synchronization state, an optimized second detection process in the pre-out-of-synchronization state can be used to detect out-of-synchronization, so that the terminal device enters the out-of-synchronization state with a delay. Specifically, this can include the following optimization methods.

[0098] One optimization method is as follows: When the saturation flag is detected as enabled, if the terminal device is in a pre-out-of-synchronization state and the first timer T310 is timing, the first timer T310 can be restarted, and the number of consecutive restarts of T310 is recorded. When the number of consecutive restarts reaches the fourth threshold, the first timer T310 can be stopped from being restarted. When the first timer T310 times out, entering the out-of-synchronization state can be triggered. This method can delay the time when the terminal device enters the out-of-synchronization state. When the saturation flag is detected as no longer enabled, the first timer T310 is not restarted. If, before T310 times out, the number of consecutively reported synchronization indications (in-sync) received by the RRC layer has not reached the third threshold N311, entering the out-of-synchronization state is triggered, and the RRC layer connection reconstruction process is executed.

[0099] Another optimization method is to update the third indicator threshold to the fourth indicator threshold. For example, when the saturation flag is detected as enabled, a more lenient fourth indicator threshold is used as the reporting condition. That is, after the terminal device is in a pre-out-of-synchronization state, it continues to detect downlink communication link quality indicators such as RSRP, RSRQ, and SNR. If the downlink communication link quality indicator value is greater than the fourth indicator threshold Q_in2, a downlink synchronization indication in-sync is generated and reported to the RRC layer. The RRC layer counts the continuously received in-syncs. When the number reaches the third quantity threshold N311, the first timer T310 can be stopped, indicating that link synchronization has been restored, and the terminal device returns to the connected state. Here, the fourth indicator threshold Q_in2 is less than the third indicator threshold Q_in. When the saturation flag is detected as no longer enabled, the downlink communication link quality indicators such as RSRP, RSRQ, and SNR are checked. If the downlink communication link quality indicator value is greater than the third indicator threshold Q_in, a downlink synchronization indication in-sync is generated and reported to the RRC layer. The RRC layer counts the continuously received in-sync. If the number of continuously reported synchronization indications in-sync received by the RRC layer reaches the third quantity threshold N311 before the T310 timeout, the first timer T310 can be stopped, indicating that the link synchronization has been restored and the terminal device returns to the connected state. Otherwise, it triggers the entry into the out-of-synchronization state and executes the RRC layer connection reconstruction process.

[0100] It should be noted that the application scenarios described in the above embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0101] Based on the same inventive concept, this application also provides a communication link detection device. (Specifically combined with...) Figure 3 Please provide a detailed explanation.

[0102] Figure 3 This is a schematic diagram of the structure of a communication link detection device provided in one embodiment of this application.

[0103] like Figure 3 As shown, the communication link detection device 300 may include:

[0104] The saturation state detection module 301 is used to detect whether the radio frequency amplifier in the terminal device is in a saturated state.

[0105] The communication status acquisition module 302 is used to acquire the communication connection status of the terminal device when the radio frequency amplifier is in a saturated state.

[0106] The process delay processing module 303 is used to perform process delay processing on the out-of-step detection process of the terminal device when the communication connection state is not out-of-step state, so that the communication connection state does not change or is delayed to out-of-step state. The out-of-step detection process is used to detect out-of-step in the communication link of the terminal device.

[0107] The communication link detection device 300 described above will be described in detail below:

[0108] In some embodiments, the non-out-of-sync state includes a connected state and a pre-out-of-sync state.

[0109] In some embodiments, the process delay processing module 303 includes:

[0110] The first processing submodule is configured to perform process delay processing on the first detection process in the out-of-synchronization detection process when the communication connection state is the connection state, so that the communication connection state does not change or is delayed to the pre-out-of-synchronization state, wherein the first detection process is the detection process corresponding to the terminal device in the connection state.

[0111] The second processing submodule is used to perform process delay processing on the second detection process in the out-of-synchronization detection process when the communication connection state is the pre-out-of-synchronization state, so that the communication connection state does not change or is delayed to the out-of-synchronization state, wherein the second detection process is the detection process corresponding to the terminal device in the pre-out-of-synchronization state.

[0112] In some embodiments, the first detection process includes:

[0113] Detect the communication link quality index value of the terminal device;

[0114] If the communication link quality index value is less than the first index threshold, a step loss indication is generated;

[0115] Report the loss-of-synchronization indication to the upper level;

[0116] Count the continuously reported steps loss indicators;

[0117] If the number of continuously reported out-of-sync indications reaches a first threshold, the communication connection state will be changed to the pre-out-of-sync state.

[0118] In some embodiments, the first processing submodule includes at least one of the following:

[0119] The first stop unit is used to stop detecting the communication link quality index value of the terminal device;

[0120] The second stopping unit is used to stop generating the out-of-step indication;

[0121] The third stopping unit is used to stop reporting the out-of-step indication to the upper layer.

[0122] The fourth stop unit is used to stop counting the continuously reported out-of-step indications.

[0123] In some embodiments, the first processing submodule further includes at least one of the following:

[0124] The first update unit is used to update the first indicator threshold to a second indicator threshold, so as to generate a step loss indication when the communication link quality indicator value is less than the second indicator threshold, wherein the second indicator threshold is less than the first indicator threshold.

[0125] The first counting unit is used to count the continuously generated out-of-step indicators after generating the out-of-step indicator, and to report the out-of-step indicator to the upper layer when the number of continuously generated out-of-step indicators reaches a second number threshold.

[0126] In some embodiments, the second detection process includes:

[0127] Start the first timer;

[0128] Within the first timing duration corresponding to the first timer, the communication link quality index value of the terminal device is detected;

[0129] If the communication link quality index value is greater than the third index threshold, a synchronization indication is generated;

[0130] Report the synchronization instruction to the upper level;

[0131] Count the continuously reported synchronization indications;

[0132] If the number of continuously reported synchronization indications does not reach the third quantity threshold within the first time interval, the communication connection status will be changed to the out-of-synchronization status.

[0133] In some embodiments, the second processing submodule includes:

[0134] The first restart unit is used to restart the first timer.

[0135] In some embodiments, the second processing submodule further includes at least one of the following:

[0136] The second restart unit is used to restart the first timer and count the number of consecutive restarts of the first timer. If the number of consecutive restarts of the first timer reaches a fourth threshold, the first timer will not be restarted.

[0137] The second update unit is used to update the third indicator threshold to a fourth indicator threshold, so as to generate a synchronization indication when the communication link quality indicator value is greater than the fourth indicator threshold, wherein the fourth indicator threshold is less than the third indicator threshold.

[0138] In some embodiments, the saturation state detection module 301 includes:

[0139] The flag detection submodule is used to detect the state of the saturation flag corresponding to the radio frequency amplifier in the terminal device. When the electrical parameter value of the first signal amplified by the radio frequency amplifier is greater than a preset electrical parameter threshold, the state of the saturation flag is triggered to be enabled.

[0140] The state determination submodule is used to determine that the radio frequency amplifier is in a saturated state when the state of the saturation flag bit is enabled.

[0141] Therefore, by detecting whether the RF amplifier in the terminal device is in a saturated state, it can be determined whether there is a strong interference source around the terminal device. If the RF amplifier is in a saturated state, indicating a strong interference source is present, and the terminal device's current communication connection state has not yet entered a non-out-of-synchronization state (i.e., it is in a non-out-of-synchronization state), the out-of-synchronization detection process in the terminal device is promptly delayed. This ensures that the terminal device's communication connection state remains unchanged or is delayed in changing to an out-of-synchronization state. In this way, even with strong interference sources in the vicinity, the terminal device can remain in a non-out-of-synchronization state for at least a period of time, thus preventing the easy triggering of the communication link re-establishment process. This effectively reduces device power consumption, lowers service latency, and improves service performance.

[0142] Figure 4 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application.

[0143] Electronic device 400 may include processor 401 and memory 402 storing computer program instructions.

[0144] Specifically, the processor 401 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0145] Memory 402 may include mass storage for data or instructions. For example, and not limitingly, memory 402 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 402 may include removable or non-removable (or fixed) media. Where appropriate, memory 402 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 402 is non-volatile solid-state memory.

[0146] In certain embodiments, the memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Thus, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this application.

[0147] The processor 401 reads and executes computer program instructions stored in the memory 402 to implement any of the communication link detection methods in the above embodiments.

[0148] In some examples, electronic device 400 may also include communication interface 403 and bus 410. For example, Figure 4 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 410 and complete communication with each other.

[0149] The communication interface 403 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0150] Bus 410 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not as a limitation, bus 410 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 410 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.

[0151] For example, the electronic device 400 can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc.

[0152] The electronic device 400 can execute the communication link detection method in the embodiments of this application, thereby achieving a combination Figure 1 and Figure 3 The described communication link detection method and apparatus.

[0153] Furthermore, in conjunction with the communication link detection methods in the above embodiments, this application embodiment can provide a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the communication link detection methods in the above embodiments. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, etc.

[0154] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0155] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0156] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0157] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0158] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. A communication link detection method, characterized in that, include: Detect whether the radio frequency amplifier in the terminal device is in a saturated state; When the radio frequency amplifier is in a saturated state, the communication connection status of the terminal device is obtained; When the communication connection state is in a non-out-of-step state, the out-of-step detection process of the terminal device is delayed to ensure that the communication connection state does not change or is delayed to an out-of-step state. The out-of-step detection process is used to detect out-of-step in the communication link of the terminal device. The non-out-of-step state includes the connection state and the pre-out-of-step state. When the communication connection state is the pre-out-of-synchronization state, the second detection process in the out-of-synchronization detection process is delayed to ensure that the communication connection state remains unchanged or is delayed to the out-of-synchronization state. The second detection process is the detection process corresponding to the terminal device in the pre-out-of-synchronization state. The process delay processing of the second detection process in the out-of-step detection process includes: restarting the first timer and counting the number of consecutive restarts of the first timer. If the number of consecutive restarts of the first timer reaches a fourth threshold, the first timer will not be restarted.

2. The method according to claim 1, characterized in that, When the communication connection state is not out of step, the out-of-step detection process of the terminal device is delayed to ensure that the communication connection state remains unchanged or is delayed to become out of step. The process further includes: when the communication connection state is the connected state, the first detection process in the out-of-step detection process is delayed to ensure that the communication connection state remains unchanged or is delayed to become the pre-out-of-step state, wherein the first detection process is the detection process corresponding to the terminal device in the connected state.

3. The method according to claim 2, characterized in that, The first detection process includes: Detect the communication link quality index value of the terminal device; If the communication link quality index value is less than the first index threshold, a step loss indication is generated; Report the loss-of-synchronization indication to the upper level; Count the continuously reported steps loss indicators; If the number of continuously reported out-of-step indications reaches a first threshold, the communication connection state will be changed to the pre-out-of-step state.

4. The method according to claim 3, characterized in that, The step of delaying the first detection process in the out-of-synchronization detection process to keep the communication connection state unchanged and change it to the pre-out-of-synchronization state includes at least one of the following: Stop detecting the communication link quality index values ​​of the terminal device; Stop generating the out-of-step indication; Stop reporting the out-of-synchronization indication to the upper layer; Stop counting the continuously reported out-of-step indications.

5. The method according to claim 3, characterized in that, The step of delaying the first detection process in the out-of-synchronization detection process to delay the change of the communication connection state to the pre-out-of-synchronization state includes at least one of the following: The first indicator threshold is updated to the second indicator threshold to generate a step loss indication when the communication link quality indicator value is less than the second indicator threshold, wherein the second indicator threshold is less than the first indicator threshold. After generating a step loss indication, the consecutively generated step loss indications are counted. When the number of consecutively generated step loss indications reaches a second threshold, the step loss indication is reported to the upper layer.

6. The method according to claim 2, characterized in that, The second detection process includes: Start the first timer; Within the first timing duration corresponding to the first timer, the communication link quality index value of the terminal device is detected; If the communication link quality index value is greater than the third index threshold, a synchronization indication is generated; Report the synchronization instruction to the upper level; Count the continuously reported synchronization indications; If the number of continuously reported synchronization indications does not reach the third quantity threshold within the first time interval, the communication connection status will be changed to the out-of-synchronization status.

7. The method according to claim 6, characterized in that, The step of delaying the second detection process in the out-of-synchronization detection process to keep the communication connection state unchanged from the out-of-synchronization state includes: Restart the first timer.

8. The method according to claim 6, characterized in that, The step of delaying the second detection process in the out-of-synchronization detection process to delay the change of the communication connection state to the out-of-synchronization state further includes: The third indicator threshold is updated to a fourth indicator threshold to generate a synchronization indication when the communication link quality indicator value is greater than the fourth indicator threshold, wherein the fourth indicator threshold is less than the third indicator threshold.

9. The method according to any one of claims 1-8, characterized in that, Whether the radio frequency amplifier in the detection terminal device is in a saturated state includes: The state of the saturation flag bit corresponding to the radio frequency amplifier in the terminal device is detected, wherein when the electrical parameter value of the first signal amplified by the radio frequency amplifier is greater than a preset electrical parameter threshold, the state of the saturation flag bit is triggered to be an enabled state. When the saturation flag is in the enabled state, the radio frequency amplifier is determined to be in a saturated state.

10. A communication link detection device, characterized in that, include: The saturation state detection module is used to detect whether the radio frequency amplifier in the terminal device is in a saturated state; A communication status acquisition module is used to acquire the communication connection status of the terminal device when the radio frequency amplifier is in a saturated state. A process delay processing module is used to delay the out-of-step detection process of the terminal device when the communication connection state is in a non-out-of-step state, so that the communication connection state remains unchanged or is delayed to an out-of-step state. The out-of-step detection process is used to detect out-of-step in the communication link of the terminal device. The non-out-of-step state includes a connection state and a pre-out-of-step state. When the communication connection state is in the pre-out-of-step state, the module delays the second detection process in the out-of-step detection process so that the communication connection state remains unchanged or is delayed to an out-of-step state. The second detection process is the detection process corresponding to the terminal device in the pre-out-of-step state. Delaying the second detection process in the out-of-step detection process includes: restarting a first timer and counting the number of consecutive restarts of the first timer. If the number of consecutive restarts of the first timer reaches a fourth threshold, the first timer is no longer restarted.

11. An electronic device, characterized in that, The device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the steps of the communication link detection method as described in any one of claims 1-9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the steps of the communication link detection method as described in any one of claims 1-9.