Cell resident method, device, terminal and storage medium
By setting up multiple power amplifiers in terminal equipment and disabling abnormal frequency bands, the problem of insufficient signal and no service caused by abnormal PA is solved, and the communication service availability and maintenance cost of the terminal are improved.
Patent Information
- Application Number
- CN202111171973.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-08
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-10-08
AI Technical Summary
When the power amplifier (PA) is abnormal, the terminal equipment cannot output signals normally, resulting in silent calls and unavailable data services. Users need to replace the motherboard and repair it, which increases maintenance costs and shortens the life of the equipment.
By setting at least two PAs in the terminal equipment for signal amplification in different frequency bands, and determining the frequency band of the abnormal PA based on the signal transmission power, setting it as a prohibited frequency band, thereby staying in cells outside the prohibited frequency band to avoid signal transmission Insufficient power and long periods of no service.
It effectively avoids the weakening of signal transmission power caused by abnormal PA and the terminal being out of service for a long time, improves the availability of terminal communication services under abnormal PA conditions, and reduces maintenance costs.
Smart Images

Figure CN113873594B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a cell residency method, device, terminal and storage medium. Background Art
[0002] A power amplifier (PA) is a pre-amplifier circuit used by terminal equipment to amplify the voltage of small signals.
[0003] In the related art, when the PA is abnormal (such as aging, damage), the terminal resides in the frequency band corresponding to the abnormal PA, resulting in power failure, which results in silent calls and unavailability of basic functions such as data services. Faced with the above situation, users can only go to after-sales service to choose to replace the motherboard for repair. However, when users repair the abnormal PA by replacing the motherboard, it not only increases the maintenance cost, but also shortens the service life of the terminal. Summary of the invention
[0004] The embodiments of the present application provide a cell camping method, device, terminal and storage medium, which can prevent abnormal PA from causing insufficient terminal signal transmission power and thus affecting terminal services. The technical solution is as follows:
[0005] On the one hand, an embodiment of the present application provides a cell camping method, the method comprising:
[0006] Determine an abnormal PA based on signal transmission power, wherein at least two PAs are provided in the terminal, and different PAs are used to perform power amplification processing on signals in different frequency bands;
[0007] Determine the frequency band corresponding to the abnormal PA as a prohibited frequency band;
[0008] The terminal camps on a cell based on the forbidden frequency band, wherein the frequency band of the cell where the terminal camps does not belong to the forbidden frequency band.
[0009] On the other hand, an embodiment of the present application provides a cell resident device, the device comprising:
[0010] A first determination module is used to determine an abnormal PA based on signal transmission power, wherein at least two PAs are provided in the terminal, and different PAs are used to perform power amplification processing on signals of different frequency bands;
[0011] A second determination module, configured to determine the frequency band corresponding to the abnormal PA as a prohibited frequency band;
[0012] The cell camping module is used to camp on the cell based on the forbidden frequency band, wherein the frequency band of the cell where the terminal camps does not belong to the forbidden frequency band.
[0013] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the cell residence method as described in the above aspects.
[0014] On the other hand, an embodiment of the present application provides a computer-readable storage medium, in which at least one program code is stored, and the program code is loaded and executed by a processor to implement the cell residence method as described in the above aspects.
[0015] On the other hand, an embodiment of the present application provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the cell camping method provided in various optional implementations of the above aspects.
[0016] In the embodiment of the present application, the terminal determines the abnormal PA by the signal transmission power, and disables the frequency band corresponding to the abnormal PA, and then chooses to reside in a cell outside the disabled frequency band. On the one hand, the terminal determines the abnormal PA and disables the frequency band corresponding to the abnormal PA, which can avoid the situation where the terminal's signal transmission power is weakened due to the abnormal PA, and the network equipment cannot detect the terminal's signal for a long time; on the other hand, in order to avoid co-frequency interference, the operator will not only deploy a single frequency band in a certain area. Therefore, the terminal disables the frequency band corresponding to the abnormal PA and chooses to reside in a cell in other frequency bands, which can avoid the terminal being in a long-term out-of-service state due to the abnormal PA, and improve the availability of the terminal's communication service under PA abnormal conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be 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 creative work.
[0018] Figure 1 is a system architecture diagram of a communication system provided by an exemplary embodiment of the present application;
[0019] Figure 2 A flowchart of a cell camping method provided by an exemplary embodiment of the present application is shown;
[0020] Figure 3 A flowchart of a cell camping method provided by another exemplary embodiment of the present application is shown;
[0021] Figure 4 A schematic diagram of a process for updating the number of PA anomalies is shown in an exemplary embodiment of the present application;
[0022] Figure 5 A flowchart of an abnormal PA determination and reset process provided by an exemplary embodiment of the present application is shown;
[0023] Figure 6 A schematic diagram showing an abnormal PA determination and reset process provided by an exemplary embodiment of the present application is shown;
[0024] Figure 7 A flowchart of an abnormal PA determination process provided by another exemplary embodiment of the present application is shown;
[0025] Figure 8 A schematic diagram of a process of setting a historical abnormality flag for a PA is shown in an exemplary embodiment of the present application;
[0026] Fig. 9 A schematic diagram of a process of deleting a historical abnormal identification of a PA is shown in an exemplary embodiment of the present application;
[0027] Fig.10 A structural block diagram of a cell resident device provided by an embodiment of the present application is shown;
[0028] Fig.11 A schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0029] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0030] The cell camping method shown in this application is applied to Figure 1 In the communication system shown, the communication system includes a first terminal 11 , a network device 12 and a second terminal 13 .
[0031] The first terminal 11 and the second terminal 13 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, Internet of Things devices or other processing devices connected to a wireless modem, as well as various forms of user equipment, mobile stations (MS), terminals (terminal devices), etc. For the convenience of description, the above-mentioned devices are collectively referred to as terminals.
[0032] The network device 12 may be a base station, which is a device deployed in an access network to provide wireless communication functions for terminals. Base stations may include various forms of macro base stations, micro base stations, relay stations, access points, and the like. In systems using different wireless access technologies, the names of devices with base station functions may be different. For example, in LTE systems, they are called eNodeB or eNB; in 5G NR-U systems, they are called gNodeB or gNB. With the evolution of communication technology, the description of "base station" may change. For the convenience of the embodiments of the present application, the above-mentioned devices that provide wireless communication functions for terminals are collectively referred to as network devices.
[0033] The range covered by the signal of the network device 12 is called a cell, and the first terminal 11 and the second terminal 13 in the cell can communicate with the network device 12 through a wireless channel. In order to prevent co-frequency interference, operators will not deploy only a single frequency band cell in a certain area.
[0034] In the embodiment of the present application, the first terminal 11 and the network device 12, and the second terminal 13 and the network device 12 communicate with each other through some air interface technology, such as a Uu interface.
[0035] In some embodiments, the first terminal 11 and the second terminal 13 communicate with each other through a certain communication technology. Optionally, the first terminal 11 and the second terminal 13 can communicate with each other through Bluetooth or WiFi technology. Alternatively, the first terminal 11 and the second terminal 13 support device to device (D2D) communication, and the first terminal 11 and the second terminal 13 can communicate sidelink through the PC-5 interface. Among them, the sidelink communication is addressed through the source identifier and destination identifier of the Media Access Control (MAC) layer, that is, there is no need to establish a connection before communication.
[0036] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile Communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD) system, Advanced Long Term Evolution (LTE-A) system, New Radio (NR) system, NR system evolution system, LTE-based access to Unlicensed spectrum (LTE-U) system, NR-U system, Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, next generation communication system or other communication systems, etc.
[0037] Please refer to Figure 2 , which shows a flowchart of a cell camping method provided by an exemplary embodiment of the present application. In this embodiment, the method is used for Figure 1 Taking the terminal in the communication system as an example, the method includes:
[0038] Step 210: determining an abnormal PA based on the signal transmission power, wherein at least two PAs are provided in the terminal, and different PAs are used to perform power amplification processing on signals in different frequency bands.
[0039] A power amplifier (PA) is a pre-amplifier circuit used by a terminal to amplify the voltage of a small signal. Depending on the supported frequency band, the terminal will contain different types of PAs. The PA amplifies the signal power of the terminal and then sends it to the network device via the antenna, thereby enabling communication between the terminal and the network device. The terminal selects the corresponding PA for use according to the frequency band of the cell where it resides. If the PA of the corresponding frequency band is abnormal, the signal transmission power of the terminal will be weakened, and the network device will not be able to monitor the signal power emitted by the corresponding frequency band, resulting in the terminal being in a state of no service. Therefore, the signal transmission power can be monitored to determine whether the PA is normal.
[0040] In a possible implementation, the frequency band is divided into three frequency bands A, B, and C according to the frequency, and each frequency band corresponds to a corresponding PA. Each frequency band can be divided into a number of sub-frequency bands.
[0041] Exemplarily, as shown in Table 1, the frequency band is divided into a low frequency band, a medium and high frequency band, and a high frequency band according to the frequency. In Table 1, the terminal is provided with 4 PAs, namely, a low frequency PA, two medium and high frequency PA1 and PA2, and a high frequency PA, and each PA corresponds to a corresponding frequency band. The low frequency band, the medium and high frequency band, and the high frequency band are further divided into a number of sub-bands.
[0042] Table 1
[0043]
[0044] Step 220: determine the frequency band corresponding to the abnormal PA as a forbidden frequency band.
[0045] In a possible implementation, the terminal blacklists the frequency band corresponding to the abnormal PA, that is, determines it as a disabled frequency band, and the terminal will not reside in a cell with a disabled frequency band. In some embodiments, all frequency bands corresponding to the PA are determined as disabled frequency bands.
[0046] For example, in Table 1, when the low-frequency PA is determined to be an abnormal PA, the terminal determines all frequency bands NR, N28, LTE B5 / 8... corresponding to the low-frequency PA as disabled frequency bands, rather than disabling specific sub-bands in the low-frequency PA, such as disabling the NR frequency band.
[0047] Step 230: camp on a cell based on a prohibited frequency band, wherein the frequency band of the cell where the terminal camps does not belong to a prohibited frequency band.
[0048] In a possible implementation, in order to prevent problems such as co-channel interference, operators will not only deploy cells in a single frequency band in a certain area. Therefore, after determining that a PA is abnormal based on the signal transmission power and determining the frequency band corresponding to the abnormal PA as a disabled frequency band, the terminal will choose to reside in cells in other frequency bands to avoid the terminal being out of service for a long time, thereby affecting the normal operation of the terminal's basic user services.
[0049] In summary, in the embodiment of the present application, the terminal determines the abnormal PA by the signal transmission power, and disables the frequency band corresponding to the abnormal PA, and then chooses to reside in a cell outside the disabled frequency band. On the one hand, the terminal determines the abnormal PA and disables the frequency band corresponding to the abnormal PA, which can avoid the situation where the terminal's signal transmission power is weakened due to the abnormal PA, and the network equipment cannot detect the terminal's signal for a long time; on the other hand, in order to avoid co-frequency interference, the operator will not only deploy a single frequency band in a certain area. Therefore, the terminal disables the frequency band corresponding to the abnormal PA and chooses to reside in a cell in other frequency bands, which can avoid the terminal being in a no-service state for a long time due to the abnormal PA, and improve the availability of the terminal's communication service in the case of PA abnormality.
[0050] In the embodiment of the present application, the terminal determines the abnormal PA by comparing the actual signal transmission power with the target signal transmission power. In addition, since the terminal is equipped with multiple PAs, the terminal determines the frequency band of the cell where the terminal currently resides by the abnormal signal transmission power, determines the PA by the current frequency band, and then updates the abnormal number of the PA. Figure 3 , which shows a flowchart of a cell camping method provided by another exemplary embodiment of the present application.
[0051] Step 310, in response to the terminal being in a powered-on state, obtaining the actual signal transmission power according to a target period; or, in response to the terminal being in a powered-on and screen-on state, obtaining the actual signal transmission power according to a target period, wherein the terminal reduces the signal transmission power when the screen is off.
[0052] In a possible implementation, the terminal is in a powered-on state, and the actual signal transmission power is periodically obtained from the terminal log. The powered-on state of the terminal includes two situations: the terminal is in a screen-on state and the terminal is in a screen-off state.
[0053] In the above possible implementation, the terminal will reduce the actual signal transmission power when it is powered on and the screen is off, the purpose of which is to reduce the power consumption of the terminal and improve the endurance of the terminal. However, the reduction of the actual signal transmission power by the terminal will affect the accuracy of abnormal PA determination. Therefore, in order to improve the accuracy of abnormal PA determination, in another possible implementation, the terminal is powered on and the screen is on, and the actual signal transmission power of the terminal is periodically obtained from the terminal log. When the terminal is powered on and the screen is off, stop obtaining the actual signal transmission power of the terminal from the terminal log.
[0054] Optionally, the length of each cycle may be 2s, 3s, 4s, etc., which is not limited in the embodiments of the present application.
[0055] Step 320: In response to the power difference between the actual signal transmission power and the target signal transmission power being greater than the difference threshold, determine the current frequency band, where the current frequency band is the frequency band of the cell where the terminal currently resides.
[0056] In the embodiment of the present application, the target signal transmission power does not need to be measured, and is indicated by the network device according to relevant parameters such as path loss. In each target period, the terminal obtains the actual signal transmission power from the terminal log, calculates the difference between the actual signal transmission power and the target signal transmission power through the processor, and compares the difference with the difference threshold.
[0057] In a possible implementation, when the power difference between the actual signal transmission power and the target signal transmission power is greater than the difference threshold, indicating that the signal transmission power within the target period is abnormal, the terminal determines and records the frequency band of the current resident cell based on the signal transmission power.
[0058] In another possible implementation, when the power difference between the actual signal transmission power and the target signal transmission power is less than the difference threshold, indicating that the signal transmission power in the target period is normal, the terminal continues to monitor its actual signal transmission power.
[0059] Optionally, the difference threshold is a preset value, which may be 5dB, 10dB, or 15dB, which is not limited in the embodiment of the present application.
[0060] Step 330: Update the abnormal number of PAs corresponding to the current frequency band.
[0061] In a possible implementation, a counter is set corresponding to each PA in the terminal to update the number of abnormalities of the corresponding PA. In each target period, when the power difference between the actual signal transmission power and the target signal transmission power is greater than the difference threshold, the terminal determines and records the frequency band of the current resident cell based on the signal transmission power, determines its corresponding PA based on the frequency band, and the counter corresponding to the PA in the terminal is incremented by 1.
[0062] For example, Figure 4 As shown in Table 1, the low frequency PA 401, the medium and high frequency PA1 402, the medium and high frequency PA2 403 and the high frequency PA 404 are counter 405, counter 406, counter 407 and counter 408 respectively.
[0063] The target period is 2s, and the difference threshold is 5dB. In the first target period, the terminal obtains the actual signal transmission power from the terminal log, calculates the power difference between the actual signal transmission power of the terminal and the target signal transmission power through the processor, and compares the power difference with the difference threshold. If the power difference is greater than 5dB, the terminal signal transmission power is determined to be abnormal. If the power difference is less than 5dB, the terminal continues to obtain the actual signal transmission power from the terminal log in the next target period.
[0064] In the first target cycle, the power difference between the actual signal transmission power of the terminal and the target signal transmission power is greater than 5dB, and the terminal determines that its signal transmission power is abnormal. According to the abnormal signal transmission power, the current frequency band is determined to be N28. According to the current frequency band, the corresponding PA is determined to be low-frequency PA401, and the counter 405 corresponding to the low-frequency PA401 is updated to 1, and the counters corresponding to the other PAs are still 0. In the second target cycle, the terminal determines that the signal transmission power is abnormal, and according to the abnormal signal transmission power, the current frequency band is determined to be NR. According to the current frequency band, the corresponding PAs are determined to be low-frequency PA 401, medium-high frequency PA1 402, medium-high frequency PA2 403, and high-frequency PA 404. The counters 405 corresponding to the above PAs are updated to 2, counter 406 is updated to 1, counter 407 is updated to 1, and counter 408 is updated to 1. The abnormal times of the PA in the current frequency band are updated according to the above method. After several target cycles, the abnormal times corresponding to the low frequency PA 401, the medium and high frequency PA1 402, the medium and high frequency PA2 403, and the high frequency PA 404 are 1800, 1500, 300, and 2000, respectively.
[0065] Step 340, determining the abnormal PA based on the number of abnormalities.
[0066] In a possible manner, if the number of abnormalities of a PA reaches a specific value within a specified time period, the PA is determined to be an abnormal PA.
[0067] In a possible implementation manner, the cause of the abnormal PA may be PA hardware damage or PA transient failure.
[0068] Step 350: determine the frequency band corresponding to the abnormal PA as a forbidden frequency band.
[0069] Step 350 is the same as step 220, and will not be described in detail in the embodiment of the present application.
[0070] Step 360: Perform at least one of cell selection, cell reselection or cell switching based on the forbidden frequency band.
[0071] In the embodiment of the present application, after the current frequency band where the terminal is located is disabled due to PA abnormality, in order to ensure the normal use of basic services of the terminal, the terminal will select a cell in another frequency band to reside.
[0072] In a possible implementation, when the terminal performs cell selection, it first filters cells with frequencies in the prohibited frequency band, and then performs cell measurement on the filtered cells. If the cell measurement result of the cell meets the S criterion, the terminal successfully resides in the cell.
[0073] In another possible implementation, when the terminal performs cell reselection in an idle state, the terminal first filters the neighboring cells whose frequencies belong to the forbidden frequency band, and then performs cell measurement on the neighboring cells and the serving cell after the filtering. When the measurement result of the neighboring cell meets the R criterion, the terminal reselects from the current serving cell to the neighboring cell, thereby completing the cell reselection.
[0074] In another possible implementation, when the terminal performs a cell switching in a connected state, the terminal first filters the neighboring cells whose frequency bands belong to the prohibited frequency band, and then performs cell measurement on the neighboring cells and the serving cell after the filtering. When the measurement result meets the cell switching condition, the terminal reports the measurement result to the network device, and the network device switches the serving cell of the terminal based on the measurement result.
[0075] To summarize, in the embodiment of the present application, the terminal periodically obtains the actual signal transmission power when it is turned on and the screen is on, and determines the abnormal PA based on the difference between the actual signal transmission power and the target signal transmission power, thereby improving the accuracy of the abnormal PA determination; in addition, after the terminal disables all frequency bands corresponding to the abnormal PA, the terminal selects a cell in another frequency band for residence through at least one of cell selection, cell reselection or cell switching, thereby avoiding the terminal being in a no-service state for a long time due to the abnormal PA.
[0076] In a possible implementation, if the number of PA abnormalities reaches a threshold within a specified time period, the PA is determined to be an abnormal PA. When the user resets the terminal, the terminal resets the abnormal PA to normal and the terminal unbans the prohibited frequency band. Figure 5 , which shows a flowchart of an abnormal PA determination and reset process provided by another exemplary embodiment of the present application.
[0077] Step 510: Acquire the actual signal transmission power of the terminal.
[0078] For step 510, please refer to the implementation of step 310, which will not be described in detail in this embodiment of the present application.
[0079] Step 520: Update the number of abnormalities of the PA based on the actual signal transmission power and the target signal transmission power, where the target signal transmission power is indicated by the network device.
[0080] For step 520, please refer to the implementation of steps 320 to 330, and this embodiment of the present application will not be described in detail.
[0081] Step 530: Determine the PA whose abnormal number of occurrences in the first time period reaches a first number threshold as an abnormal PA.
[0082] In the embodiment of the present application, if the number of abnormalities of the PA reaches a first number threshold within a first time period, the terminal determines the PA as an abnormal PA.
[0083] Optionally, the first duration may be 24 hours, 12 hours, 8 hours, etc., which is not limited in the embodiment of the present application.
[0084] Optionally, the first number threshold may be 1800, 2000, or 2500, which is not limited in the embodiment of the present application.
[0085] In a possible implementation, after the terminal determines the abnormal PA, it will display target prompt information on the display screen interface to remind the user that there is an abnormal PA in the terminal, so that the user can quickly find the abnormal PA when repairing the terminal in the future, thereby reducing the user's repair costs.
[0086] Optionally, the target prompt information may be in the form of a reminder box, icon display, etc., which is not limited in the embodiment of the present application.
[0087] Step 540: In response to the reset condition being met, the abnormal PA is reset to a normal PA, and the forbidden frequency band is unbanned.
[0088] In the embodiment of the present application, the reset condition may be at least one of terminal restart, terminal power on / off, and SIM card hot swap, which is not limited in the embodiment of the present application.
[0089] Since the abnormal PA may return to normal in some cases (perhaps the abnormal PA is replaced or the abnormal PA automatically recovers from the abnormality), when the user performs any of the above reset conditions on the terminal, the terminal will unban the disabled frequency band and set the abnormal PA to a normal PA to avoid the corresponding frequency band being still in a disabled state when the abnormal PA returns to normal.
[0090] In a possible implementation manner, the terminal may remove the disabled frequency band from the terminal blacklist by performing the disabled frequency band unbanning processing. Subsequently, the terminal may normally reside in the cell corresponding to the frequency band.
[0091] In a possible implementation, setting an abnormal PA to normal may be that the terminal determines that the PA is an abnormal PA due to hardware damage, and after the terminal is reset, the abnormal PA does not return to normal, but the terminal defaults it to a normal state.
[0092] In another possible implementation, setting the abnormal PA to normal means that the PA hardware is not damaged, and the terminal determines it as an abnormal PA due to a temporary failure of the PA. After the terminal is reset, the abnormal PA returns to normal.
[0093] Exemplary, combined Figure 6 Table 1 and Table 2 illustrate the process of determining and resetting the abnormal PA. A terminal is provided with a low-frequency PA, a medium-high frequency PA1, a medium-high frequency PA2, and a high-frequency PA. Each PA corresponds to a corresponding counter for updating the number of abnormalities of the PA. Assume that the first duration is 24 hours and the first count threshold is 1800. The terminal obtains the actual signal transmission power from the terminal log every 2 seconds, calculates the power difference between the actual signal transmission power of the terminal and the target signal transmission power through the processor, compares the power difference with the difference threshold, and updates the number of abnormalities of the PA corresponding to the current frequency band. When 24 hours are reached, it can be seen from the counters corresponding to each PA that the number of abnormalities of the low-frequency PA is 1800, the number of abnormalities of the medium-high frequency PA1 is 1500, the number of abnormalities of the medium-high frequency PA2 is 300, and the number of abnormalities of the high-frequency PA is 1300. It can be seen that the number of abnormalities of the low-frequency PA reaches the first count threshold of 1800, so the terminal determines the low-frequency PA as an abnormal PA and disables all frequency bands corresponding to the low-frequency PA in Table 1. After the terminal is restarted, turned on and off, or the SIM card is hot-swapped, the terminal sets the low-frequency PA to a normal PA, unblocks all frequency bands corresponding to the low-frequency PA, and clears the counters corresponding to each PA.
[0094] In summary, in the embodiment of the present application, within the specified time, the number of PA abnormalities reaches the number threshold, the terminal determines the PA as an abnormal PA, and reminds the user of the abnormal PA in the form of target prompt information, so that the user can quickly find the abnormal PA when repairing the terminal in the future, thereby reducing the user's maintenance cost. In addition, when the reset condition is met, the terminal resets the abnormal PA to a normal PA and unbans the corresponding disabled frequency band to avoid the abnormal PA returning to normal, and its corresponding frequency band is still in a disabled state, thereby affecting the cell residence.
[0095] After the above terminal determines that the PA whose number of abnormalities reaches the first number threshold within the first time period is an abnormal PA, it does not mark the abnormal PA. After the terminal is reset, the terminal sets the abnormal PA to a normal PA, but the abnormal state of the PA is not really eliminated. The terminal needs to re-judge it, which may cause the terminal to fall into a state of no service again. Therefore, in another possible implementation method, the terminal marks the PA with an abnormal history. When the terminal needs to re-judge the abnormal PA, the judgment time can be shortened (the judgment process of the abnormal PA is simplified), thereby reducing the time the terminal falls into a state of no service. Please refer to Figure 7, which shows a flowchart of an abnormal PA determination process provided by another exemplary embodiment of the present application.
[0096] Step 710: Acquire the actual signal transmission power of the terminal.
[0097] For step 710, please refer to the implementation of step 310, which will not be described in detail in this embodiment of the present application.
[0098] Step 720: Update the number of abnormalities of the PA based on the actual signal transmission power and the target signal transmission power, where the target signal transmission power is indicated by the network device.
[0099] For step 720, please refer to the implementation of steps 320 to 330, which will not be described in detail in this embodiment of the present application.
[0100] Step 730, in response to PA not having a historical anomaly flag set, and the number of anomalies of PA within the second time period reaches a second number threshold, PA is determined to be an abnormal PA, and the historical anomaly flag is used to indicate that PA has an uneliminated historical anomaly; a historical anomaly flag is set for PA.
[0101] In a possible implementation, the terminal detects whether a historical abnormality flag is set for the PA while determining the number of abnormalities of the PA. The terminal determines that the historical abnormality flag is not set for the PA. Within the second time period, the number of abnormalities of the PA reaches a second number threshold. Then, the terminal determines that the PA is an abnormal PA and sets a historical abnormality flag for the PA.
[0102] Optionally, the second duration may be 12 hours, 20 hours, 24 hours, etc., which is not limited in the embodiment of the present application.
[0103] Optionally, the second numerical threshold may be 1500, 2000, or 2500. This embodiment of the present application does not limit this.
[0104] In a possible implementation, the historical abnormality identifier may be an identification code or identification code set on the PA, and this embodiment of the present application is not limited to this.
[0105] For example, Figure 8As shown in Table 1, the low-frequency PA, medium-high frequency PA1, medium-high frequency PA2 and high frequency PA set in a terminal do not have a historical abnormal flag set. The preset difference threshold is 10dB, the second count threshold is 1500, and the second time threshold is 12 hours. The terminal obtains the actual signal transmission power every 2s and calculates the difference between the actual signal transmission power and the target signal transmission power. When the difference between the actual signal transmission power and the target signal transmission power is greater than the difference threshold of 10dB, the signal transmission power is determined to be abnormal once. The current frequency band is determined according to the abnormal signal transmission power, and the number of PA abnormalities corresponding to the current frequency band is updated through the counters corresponding to the above PAs. When it reaches 12 hours, it can be seen from the counters corresponding to the above PAs that the number of abnormalities of the low-frequency PA is 1800, the number of abnormalities of the medium-high frequency PA1 is 1000, the number of abnormalities of the medium-high frequency PA2 is 300, and the number of abnormalities of the high-frequency PA is 1500. The number of abnormalities of the low-frequency PA and the number of abnormalities of the high-frequency PA reach the second count threshold of 1500, so the terminal determines the low-frequency PA and the high-frequency PA as abnormal PAs. The abnormal PA is set with an identification code, which is 1 bit long and is used to indicate the historical abnormal identification of the PA. After the terminal determines the low-frequency PA and the high-frequency PA as abnormal PAs, the identification codes of the low-frequency PA and the high-frequency PA are displayed as 1, indicating that the low-frequency PA and the high-frequency PA are set with historical abnormal identifications, and the medium-high frequency PA1 and the medium-high frequency PA2 are not set with historical abnormal identifications.
[0106] Step 740: In response to the PA being set with a historical abnormality flag and the number of abnormalities of the PA within the third time period reaching a third number threshold, the PA is determined to be an abnormal PA, and the third time period is less than the second time period.
[0107] In a possible implementation, if the terminal detects that a PA is set with a historical abnormality flag, the process of determining an abnormal PA can be simplified by shortening the time for determining the number of PA abnormalities, thereby reducing the amount of calculation of the terminal. Therefore, the third time length needs to be less than the second time length. For example, if the second time length is 12 hours, the third time length may be 10 hours, 8 hours, or 6 hours, etc., which is not limited in the embodiments of the present application.
[0108] In a possible implementation, the second digital threshold and the third digital threshold have no direct relationship, and the two may be the same or different. In addition, when the third duration is shortened, the third digital threshold corresponding to the third duration may decrease or remain unchanged.
[0109] Exemplarily, if the terminal detects that the identification code of the medium-high frequency PA1 and the high frequency PA is 1, it means that the medium-high frequency PA1 and the high frequency PA are set with a historical abnormal identification. Therefore, in order to reduce the calculation amount of the terminal and shorten the time for determining the number of PA abnormalities, the third time threshold is 6 hours compared with the second time threshold. The preset difference threshold is 10dB, and the third number threshold is 1000 times. The terminal obtains the actual signal transmission power from the terminal log every 2s, calculates the power difference between the actual signal transmission power of the terminal and the target signal transmission power through the processor, and the terminal compares the power difference with the difference threshold and updates the number of abnormalities of the PA corresponding to the current frequency band. When it reaches 6 hours, it can be seen from the counters corresponding to each PA that the number of abnormalities of the low-frequency PA is 900, the number of abnormalities of the medium-high frequency PA1 is 1000, the number of abnormalities of the medium-high frequency PA2 is 300, and the number of abnormalities of the high frequency PA is 1200. The number of abnormalities of the medium-high frequency PA1 and the number of abnormalities of the high frequency PA reach the third number threshold, and the terminal determines the medium-high frequency PA1 and the high frequency PA as abnormal PAs.
[0110] Step 750: In response to the reset condition being met, the abnormal PA is reset to a normal PA, and the forbidden frequency band is unbanned.
[0111] After the user resets the terminal, the terminal will unban the disabled frequency band and set the abnormal PA to a normal PA. The historical abnormal flag of the PA is still retained after the reset. When the terminal determines the abnormal PA again, when the terminal detects a PA with a historical abnormal flag set, the abnormal PA determination process can be simplified, thereby reducing the terminal's calculation workload.
[0112] For example, Figure 8 As shown, after the terminal is restarted, turned on and off, or the SIM card is hot-swapped, the terminal sets the low-frequency PA and high-frequency PA to normal PAs, and lifts the ban on all frequency bands corresponding to the low-frequency PA and high-frequency PA. However, the historical abnormal flags of the low-frequency PA and high-frequency PA are still retained, and the counters corresponding to each PA are cleared.
[0113] Step 760, in response to PA being set with a historical abnormality flag, and the number of abnormalities of PA within the second time period not reaching a fourth number threshold, the historical abnormality flag of PA is deleted, and the fourth number threshold is less than or equal to the second number threshold.
[0114] In the embodiment of the present application, the reasons for the PA abnormality may be: first, the PA hardware itself is damaged, resulting in the PA abnormality; second, the PA abnormality is caused by the temporary failure of the PA. Regardless of the reason for the PA abnormality, the terminal will set a historical abnormality flag for the PA when it detects the PA abnormality. However, the PA abnormality caused by the temporary failure of the PA will automatically recover after a period of time, and the above method will affect the accuracy of the terminal in determining the abnormal PA. Therefore, the fourth number threshold is preset in the embodiment of the present application.
[0115] In one possible implementation, the terminal detects that the PA is set with a historical abnormality flag, and the number of PA abnormalities within the second time period does not reach the fourth numerical threshold, which indicates that the PA has returned to normal (the PA abnormality may be caused by a temporary failure of the PA, or the abnormal PA has been replaced). At this time, the terminal deletes the historical abnormality flag of the PA.
[0116] For example, if the second number threshold is 1800, the fourth number threshold may be 1800, or may be 500, 400, etc., which is not limited in the embodiments of the present application.
[0117] For example, Fig. 9 As shown, the terminal detects that the low-frequency PA and the high-frequency PA are set with identification codes, indicating that the low-frequency PA and the high-frequency PA are set with historical abnormal identifications. As can be seen from the above, the second number threshold is 1500, the second time threshold is 12 hours, the difference threshold is 10dB, and the fourth number threshold is smaller than the second number threshold, so the fourth number threshold is 800. Within 12 hours, it can be seen from the counters corresponding to each PA that the number of abnormalities of the low-frequency PA is 1500, the number of abnormalities of the medium-high frequency PA1 is 1000, the number of abnormalities of the medium-high frequency PA2 is 800, and the number of abnormalities of the high-frequency PA is 700. The number of abnormalities of the high-frequency PA has not reached the fourth number threshold of 800, so it can be seen that the high-frequency PA has returned to normal, and the terminal deletes the historical abnormal identification of the high-frequency PA.
[0118] To sum up, in the embodiment of the present application, a historical abnormality flag is set for a PA with an abnormal history. When the terminal detects that the PA is set with a historical abnormality flag during the process of determining the abnormal PA, the process of the terminal determining the abnormal PA is simplified and the calculation amount of the terminal is reduced.
[0119] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0120] Please refer to Fig.10 , which shows a structural block diagram of a cell resident device provided by an embodiment of the present application. The device has the function of implementing the above method embodiment performed by the first terminal, and the function can be implemented by hardware or by hardware executing corresponding software. Fig.10 As shown, the device may include:
[0121] A first determination module 1001 is configured to determine an abnormal PA based on signal transmission power, wherein at least two PAs are provided in the terminal, and different PAs are used to perform power amplification processing on signals of different frequency bands;
[0122] A second determining module 1002 is used to determine the frequency band corresponding to the abnormal PA as a prohibited frequency band;
[0123] The cell camping module 1003 is configured to camp on a cell based on the forbidden frequency band, wherein the frequency band of the cell where the terminal camps does not belong to the forbidden frequency band.
[0124] Optionally, the first determining module 1001 includes:
[0125] An acquisition unit, configured to acquire an actual signal transmission power of the terminal;
[0126] An updating unit, configured to update the number of abnormalities of the PA based on the actual signal transmission power and the target signal transmission power, wherein the target signal transmission power is indicated by the network device;
[0127] A determining unit is used to determine the abnormal PA based on the abnormal number of times.
[0128] Optionally, the updating unit is used to:
[0129] In response to a power difference between the actual signal transmission power and the target signal transmission power being greater than a difference threshold, determining a current frequency band, where the current frequency band is a frequency band of a cell in which the terminal currently resides;
[0130] The abnormal number of times the PA corresponds to the current frequency band is updated.
[0131] Optionally, the determining unit is used to:
[0132] The PA whose abnormal number of times within the first time period reaches the first number threshold is determined as the abnormal PA.
[0133] Optionally, the device further includes a first resetting module, configured to:
[0134] In response to satisfying a reset condition, resetting the abnormal PA to a normal PA, and performing a ban-free process on the banned frequency band;
[0135] The reset condition includes at least one of terminal restart, terminal power on / off, and SIM card hot swap.
[0136] Optionally, the determining unit is used to:
[0137] In response to the PA not having a historical abnormality flag set, and the number of abnormalities of the PA within a second time period reaching a second number threshold, the PA is determined as the abnormal PA, and the historical abnormality flag is used to indicate that the PA has an uneliminated historical abnormality; the historical abnormality flag is set for the PA;
[0138] In response to the PA being set with the historical abnormality flag, and the number of abnormal times of the PA within a third time period reaching a third number threshold, the PA is determined as the abnormal PA, and the third time period is less than the second time period.
[0139] Optionally, the device further includes a second resetting module, configured to:
[0140] In response to satisfying a reset condition, resetting the abnormal PA to a normal PA, and performing a ban-free process on the banned frequency band;
[0141] Among them, the historical abnormal flag of the PA is retained after the reset, and the reset condition includes at least one of terminal restart, terminal power on and off, and SIM card hot plugging.
[0142] Optionally, the device further comprises a deletion module, configured to:
[0143] In response to PA being set with the historical abnormality flag, and the number of abnormalities of the PA within the second time period not reaching a fourth number threshold, deleting the historical abnormality flag of the PA, and the fourth number threshold is less than or equal to the second number threshold.
[0144] Optionally, the acquiring unit is used to:
[0145] In response to the terminal being in a powered-on state, acquiring the actual signal transmission power according to a target period; or,
[0146] In response to the terminal being powered on and the screen on, the actual signal transmission power is obtained according to a target period, wherein the terminal reduces the signal transmission power when the screen is off.
[0147] Optionally, the cell resident module 1003 is configured to:
[0148] At least one of cell selection, cell reselection or cell switching is performed based on the forbidden frequency band.
[0149] Optionally, after determining the abnormal PA based on the signal transmission power, the device further includes:
[0150] The display module is used to display target prompt information, where the target prompt information is used to prompt the abnormal PA that has an abnormality.
[0151] In the embodiment of the present application, the terminal determines the abnormal PA by the signal transmission power, and disables the frequency band corresponding to the abnormal PA, and then chooses to reside in a cell outside the disabled frequency band. On the one hand, the terminal determines the abnormal PA and disables the frequency band corresponding to the abnormal PA, which can avoid the situation where the terminal's signal transmission power is weakened due to the abnormal PA, and the network equipment cannot detect the terminal's signal for a long time; on the other hand, in order to avoid co-frequency interference, the operator will not only deploy a single frequency band in a certain area. Therefore, the terminal disables the frequency band corresponding to the abnormal PA and chooses to reside in a cell in other frequency bands, which can avoid the terminal being in a long-term out-of-service state due to the abnormal PA, and improve the availability of the terminal's communication service under PA abnormal conditions.
[0152] Fig.11 A schematic diagram of the structure of a terminal (a first terminal or a second terminal) provided by an exemplary embodiment of the present application is shown. The terminal includes: a processor 1101, a receiver 1102, a transmitter 1103, a memory 1104 and a bus 1105.
[0153] The processor 1101 includes one or more processing cores. The processor 1101 executes various functional applications and information processing by running software programs and modules.
[0154] The receiver 1102 and the transmitter 1103 may be implemented as a communication component, which may be a communication chip.
[0155] The memory 1104 is connected to the processor 1101 via a bus 1105 .
[0156] The memory 1104 may be used to store at least one instruction, and the processor 1101 may be used to execute the at least one instruction to implement each step in the above method embodiment.
[0157] In addition, the memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof. The volatile or non-volatile storage device includes but is not limited to: a magnetic disk or an optical disk, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a static random access memory (SRAM), a read-only memory (ROM), a magnetic memory, a flash memory, and a programmable read-only memory (PROM).
[0158] An embodiment of the present application further provides a computer-readable storage medium, which stores at least one program code, and the program code is loaded and executed by a processor to implement the cell residency method described in the above embodiments.
[0159] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the cell camping method provided in various optional implementations of the above aspects.
[0160] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.
[0161] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A cell residence method, characterized in that: The method comprises: Obtain the actual signal transmission power of the terminal; In response to a power difference between the actual signal transmission power and the target signal transmission power being greater than a difference threshold, determining a current frequency band, wherein the current frequency band is a frequency band of a cell in which the terminal is currently stationed, and the target signal transmission power is indicated by a network device, wherein at least two PAs are provided in the terminal, and different PAs are used to perform power amplification processing on signals in different frequency bands; Update the number of abnormalities of the PA corresponding to the current frequency band; determining an abnormal PA based on the number of abnormalities; Determine the frequency band corresponding to the abnormal PA as a prohibited frequency band; The terminal camps on a cell based on the forbidden frequency band, wherein the frequency band of the cell where the terminal camps does not belong to the forbidden frequency band.
2. The method according to claim 1, characterized in that The determining the abnormal PA based on the abnormal number includes: The PA whose abnormal number of times within the first time period reaches the first number threshold is determined as the abnormal PA.
3. The method according to claim 2, characterized in that The method further comprises: In response to satisfying a reset condition, resetting the abnormal PA to a normal PA, and performing a ban-free process on the banned frequency band; The reset condition includes at least one of terminal restart, terminal power on / off, and SIM card hot swap.
4. The method according to claim 1, characterized in that: The determining the abnormal PA based on the abnormal number includes: In response to the PA not having a historical abnormality flag set, and the number of abnormalities of the PA within a second time period reaching a second number threshold, the PA is determined as the abnormal PA, and the historical abnormality flag is used to indicate that the PA has an uneliminated historical abnormality; the historical abnormality flag is set for the PA; In response to the PA being set with the historical abnormality flag, and the number of abnormal times of the PA within a third time period reaching a third number threshold, the PA is determined as the abnormal PA, and the third time period is less than the second time period.
5. The method according to claim 4, characterized in that The method further comprises: In response to satisfying a reset condition, resetting the abnormal PA to a normal PA, and performing a ban-free process on the banned frequency band; Among them, the historical abnormal flag of the PA is retained after the reset, and the reset condition includes at least one of terminal restart, terminal power on and off, and SIM card hot plugging.
6. The method according to claim 4, characterized in that The method further comprises: In response to PA being set with the historical abnormality flag, and the number of abnormalities of the PA within the second time period not reaching a fourth number threshold, deleting the historical abnormality flag of the PA, and the fourth number threshold is less than or equal to the second number threshold.
7. The method according to claim 1, characterized in that The obtaining of the actual signal transmission power of the terminal includes: In response to the terminal being in a powered-on state, acquiring the actual signal transmission power according to a target period; or, In response to the terminal being powered on and the screen on, the actual signal transmission power is obtained according to a target period, wherein the terminal reduces the signal transmission power when the screen is off.
8. The method according to any one of claims 1 to 7, characterized in that: The performing cell camping based on the forbidden frequency band includes: At least one of cell selection, cell reselection or cell switching is performed based on the forbidden frequency band.
9. The method according to any one of claims 1 to 7, characterized in that: After determining the abnormal PA based on the abnormal number, the method further includes: Target prompt information is displayed, where the target prompt information is used to prompt the abnormal PA that has an abnormality.
10. A cell resident device, characterized in that: The device comprises: The first determination module includes an acquisition unit, configured to acquire an actual signal transmission power of the terminal; an updating unit, configured to determine a current frequency band in response to a power difference between the actual signal transmission power and the target signal transmission power being greater than a difference threshold, wherein the current frequency band is a frequency band of a cell in which the terminal is currently stationed, and the target signal transmission power is indicated by a network device, wherein at least two PAs are provided in the terminal, and different PAs are used to perform power amplification processing on signals of different frequency bands; Also used to update the number of abnormalities of the PA corresponding to the current frequency band; a determining unit, configured to determine an abnormal PA based on the number of abnormalities; A second determination module is used to determine the frequency band corresponding to the abnormal PA as a prohibited frequency band; The cell camping module is used to camp on the cell based on the forbidden frequency band, wherein the frequency band of the cell where the terminal camps does not belong to the forbidden frequency band.
11. A terminal, characterized in that: The terminal includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the cell residency method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: At least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by the processor to implement the cell residence method according to any one of claims 1 to 9.
13. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed by a processor, the cell camping method according to any one of claims 1 to 9 is implemented.
