Network selection method, device and storage medium based on cellular network
Patent Information
- Application Number
- CN202311788208.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2043-12-22
AI Technical Summary
[0003]由于蜂窝网络的广覆盖特性、相关设备的更新迭代、以及蜂窝专网的布设等等因素,会造成网络复杂多样,很容易出现各种各样的问题导致网络注册异常或使得注册的小区不是理想网络环境的小区等
[0017]上述方案,通过对搜索到的当前网络小区进行网络注册处理,得到在当前网络小区的注册结果;若注册结果为失败,则表征当前网络小区不能正常使用,对当前网络小区进行屏蔽处理以免干扰到后续的网络使用过程;若注册结果为成功,则表征当前网络小区能够正常使用,对当前网络小区进行网络检测以判断当前网络小区的网络是否能够满足使用需求;若网络检测结果为可用,则锁定当前网络小区以防止切换到其它网络小区,由此能够实现自适应地选择网络,提高在使用蜂窝网络过程中的稳定性。
Smart Images

Figure CN117939556B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data communication technology, and in particular to a network selection method, device and storage medium based on cellular networks. Background Technology
[0002] With the development and popularization of cellular network technology, and the flexible and convenient deployment of cellular devices with low hardware dependence, there are more and more devices based on cellular networks.
[0003] Due to the wide coverage of cellular networks, the upgrading of related equipment, and the deployment of private cellular networks, the networks become complex and diverse, which can easily lead to various problems such as abnormal network registration or registration in a cell that is not in an ideal network environment.
[0004] While current cellular modules are diverse and widely used, current network strategies have low versatility, making it difficult to adaptively select networks for the application scenarios of various devices. Summary of the Invention
[0005] This application provides at least one network selection method, apparatus, device, and computer-readable storage medium based on cellular networks.
[0006] The first aspect of this application provides a network selection method based on a cellular network, comprising: performing network registration processing based on a searched current network cell to obtain a registration result; in response to the registration result being a failure, blocking the current network cell; in response to the registration result being a success, performing network detection on the current network cell to obtain a network detection result for the current network cell; and if the network detection result is available, locking the current network cell.
[0007] In one embodiment, the step of performing network detection on the current network cell to obtain the network detection result of the current network cell includes: performing bandwidth measurement on the current network cell based on a preset number of measurements to obtain a plurality of current cell bandwidths of the current network cell; determining current cell bandwidths less than a preset bandwidth threshold as abnormal bandwidths, and determining current cell bandwidths greater than or equal to the bandwidth threshold as normal bandwidths; if the ratio between the number of abnormal bandwidths and the preset number of measurements is greater than a preset abnormal frequency threshold, then determining the network detection result as unusable; if the ratio between the number of abnormal bandwidths and the preset number of measurements is less than or equal to the abnormal frequency threshold, then determining the network detection result as usable.
[0008] In one embodiment, the step of measuring the bandwidth of the current network cell based on a preset number of measurements to obtain a plurality of current cell bandwidths of the current network cell includes: acquiring the signal power and / or signal-to-noise ratio of the current network cell; if the signal power is less than a preset drop threshold and / or the signal-to-noise ratio is less than the drop threshold, increasing the preset number of measurements to obtain a target number of measurements; performing bandwidth measurements on the current network cell for the target number of measurements to obtain a plurality of current cell bandwidths of the current network cell, wherein the number of current cell bandwidths corresponds to the number of the target number of measurements.
[0009] In one embodiment, after the step of determining that the network detection result is available if the ratio between the number of abnormal bandwidths and the preset number of measurements is less than or equal to the abnormal frequency threshold, the method further includes: obtaining the handover frequency of switching network cells when the network detection result is available within a preset time period; locking the current network cell if the handover frequency is greater than a preset handover frequency threshold; and continuously measuring the bandwidth of the current network cell if the handover frequency is less than or equal to the handover frequency threshold.
[0010] In one embodiment, after the step of blocking the current network cell in response to the registration result failure, the method further includes: determining whether other searched network cells are available; if available, performing network registration processing based on the other network cells to obtain other registration results; if unavailable, determining whether there are candidate network cells among the other network cells with an evaluation type of weak network status; if so, determining a target network cell among the candidate network cells; performing network detection on the target network cell to obtain a target network detection result for the target network cell; if the target network detection result is available, locking the target network cell.
[0011] In one embodiment, the step of determining the target network cell among the candidate network cells includes: obtaining the bandwidth of the candidate network cells; if there are at least two candidate network cells with different bandwidths, selecting the network cell with the largest bandwidth among the candidate network cells as the target network cell; if the bandwidths of all candidate network cells are the same, selecting any one of the candidate network cells as the target network cell.
[0012] In one embodiment, the step of performing network detection on the target network cell to obtain the target network detection result of the target network cell includes: acquiring the target signal power and / or target signal-to-noise ratio of the target network cell; if the target signal power is greater than the acquired re-detection threshold and / or the target signal-to-noise ratio is greater than the re-detection threshold, then updating the evaluation type of the target network cell to unknown network state; and performing bandwidth measurement on the target network cell to obtain the target network detection result.
[0013] In one embodiment, the method further includes: selecting the maximum power and the minimum power of the signal power of the target network cell; and performing data processing on the maximum power and the minimum power based on a Gaussian distribution to obtain a re-detection threshold for the target network cell.
[0014] A second aspect of this application provides a network selection device based on a cellular network, comprising: a network registration module for performing network registration processing based on a currently searched network cell to obtain a registration result; a blocking module for blocking the current network cell in response to a registration failure; a network detection module for performing network detection on the current network cell in response to a successful registration result to obtain a network detection result for the current network cell; and a locking module for locking the current network cell if the network detection result is available.
[0015] A third aspect of this application provides an electronic device, including a memory and a processor, wherein the processor is configured to execute program instructions stored in the memory to implement the aforementioned cellular network selection method.
[0016] The fourth aspect of this application provides a computer-readable storage medium having program instructions stored thereon, which, when executed by a processor, implement the above-described network selection method based on a cellular network.
[0017] The above scheme performs network registration processing on the searched current network cell to obtain the registration result of the current network cell. If the registration result fails, it indicates that the current network cell cannot be used normally, and the current network cell is blocked to avoid interfering with the subsequent network usage process. If the registration result is successful, it indicates that the current network cell can be used normally, and the current network cell is tested to determine whether the network of the current network cell can meet the usage requirements. If the network test result is available, the current network cell is locked to prevent switching to other network cells. This enables adaptive network selection and improves the stability during the use of cellular networks.
[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this application. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.
[0020] Figure 1 This is a flowchart illustrating an exemplary embodiment of the network selection method based on cellular networks according to this application; Figure 2 This is a block diagram illustrating a cellular network selection device in an exemplary embodiment of this application; Figure 3 This is a schematic diagram of the structure of an embodiment of the electronic device of this application; Figure 4 This is a schematic diagram of the structure of an embodiment of the computer-readable storage medium of this application. Detailed Implementation
[0021] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0022] In the following description, specific details such as particular system architectures, interfaces, and technologies are presented for illustrative purposes rather than for limiting purposes, in order to provide a thorough understanding of this application.
[0023] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. Furthermore, "many" in this document means two or more. Moreover, the term "at least one" in this document means any combination of at least two of any one or more of a plurality of objects. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0024] To facilitate understanding, the problem scenarios that this application can solve are illustrated below. With the development and popularization of cellular network technology, coupled with the flexible and convenient deployment of cellular terminals and their low hardware dependence, video security devices that transmit video streams via cellular networks are becoming increasingly common. Due to the wide coverage of cellular networks, the upgrading and iteration of network equipment, the deployment of private cellular networks, and other factors, networks become complex and diverse, easily leading to various network problems. These mainly manifest as: inability to register with the network; frequent switching between network cells; and registering with a network cell that is not the target network cell. Among these problems, the following are the most typical: a. Inappropriate base station deployment and configuration cause terminals to constantly switch between two network cells. For example, the signal of a high-priority cell is poor, while the signal of a low-priority cell is good. The signal difference between the two cells hovers around a set threshold, triggering frequent network switching.
[0025] b. Inappropriate base station deployment and configuration cause the terminal to register in a cell that is not the intended target cell. This situation mostly occurs in environments where the target cell has a private network, such as the presence of a non-target cell with a stronger signal or higher priority, which may affect the terminal's registration in the target cell.
[0026] c. Interference from other non-target network types can cause terminal registration failures. For example, China Telecom's 4G network typically uses SRLTE (which simultaneously registers for CDMA and LTE). Because CDMA is currently being phased out, it's common for the network configuration to support SRLTE while CDMA registration fails, preventing LTE registration and hindering the process.
[0027] Because cellular modules are used in a variety of products and have a wide range of applications, their network strategies focus more on versatility, making it difficult to achieve compatibility with special network environments. This is especially true for common cellular-based video security devices, which frequently encounter problems in private network environments.
[0028] Please see Figure 1 , Figure 1 This is a flowchart illustrating an exemplary embodiment of the network selection method based on a cellular network according to this application. Specifically, the method provided in this application can be applied to a cellular network-based terminal device, and may include the following steps: Step S110: Perform network registration processing based on the searched current network cell to obtain the registration result.
[0029] A cell, also known as a cellular cell, refers to the area covered by one base station or part of a base station (fan antenna) in a cellular mobile communication system, within which mobile stations (terminal devices) can reliably communicate with the base station via a wireless channel.
[0030] Specifically, when a terminal device uses a cellular network, the cellular module needs to be activated. Then, the terminal device will perform network search and network registration based on the acquired network policy. Only after successful network registration can the cellular network be used. The network policy can be a preset general policy or a policy that has been adjusted to a certain extent; this is not limited here. In addition to network registration, the network registration process also includes network dialing, which is a process well known to those skilled in the art and will not be described in detail here.
[0031] Furthermore, before executing step S110, the network standard of the terminal device can be limited. For example, if the terminal device's cellular module is a 4G module, then the terminal device is limited to searching only for 4G networks; if the terminal device's cellular module is a 5G module, then the terminal device is limited to searching for both 4G and / or 5G networks. It should be noted that because video security equipment involves large amounts of data and has high bandwidth requirements, it is generally suitable for the use cases of such devices using 4G and / or 5G networks. Networks below 3G are difficult to meet the data transmission bandwidth requirements of video security equipment. Moreover, these devices typically do not have a CS domain requirement; in special cases where there is a need for phone calls and SMS messages, enabling VoLTE can also meet the requirements. Limiting the network standard during the network search process can effectively avoid the impact of 2G and 3G networks on the normal network registration of terminal devices due to unreasonable network deployment or incomplete network decommissioning.
[0032] It should be noted that during the network registration process, the terminal device records and evaluates the network cells it registers. The recorded information includes the network cell's PCI (Physical Cell Identifier), frequency, RSRP (Reference Signal Receiving Power), and SINR (Signal to Interference plus Noise Ratio). The evaluation types include unknown network status, successful registration and dialing, failed registration or dialing, and weak network status.
[0033] It should also be noted that for network cells that terminal devices have not registered with, their evaluation type can be set to unknown by default. If the registration and dialing of the network cell are successful, the evaluation type can be updated to dialed. If the registration or dialing of the network cell fails, the evaluation type can be updated to failed. In addition, if the registration and dialing of the network cell are successful, after updating the evaluation type to dialed, it is necessary to determine whether the bandwidth of the current network cell meets the requirements based on RSRP. If it does not meet the requirements, the evaluation type should be updated to weak. If it meets the requirements, the evaluation type should remain dialed. Alternatively, after the registration and dialing of the network cell are successful, it is necessary to determine whether the bandwidth of the current network cell meets the network requirements based on RSRP. If it does not meet the requirements, the evaluation type should be updated to weak. If it meets the requirements, the evaluation type should be updated to dialed.
[0034] In step S120, in response to the registration failure, the current network cell is blocked.
[0035] Based on the preceding steps, it can be understood that if network registration in the current network cell fails, it indicates that the current network cell is unavailable to the terminal device to which this method is applied. To prevent the current network cell from continuing to cause network interference to the terminal device, the current network cell is blocked. This blocking can involve blocking the frequency of the current network cell, preventing the terminal device from preferentially connecting to that network cell.
[0036] It should be noted that after blocking the current network cell, other network cells can still be searched for for network registration; if the current network cell was locked before blocking it, the locked status of the current network cell can be lifted before blocking it.
[0037] In step S130, in response to the successful registration result, network detection is performed on the current network cell to obtain the network detection result of the current network cell.
[0038] Based on the steps outlined above, if the network registration in the current network cell is successful, further network testing is required to determine whether the network in the current network cell meets the network requirements. This network testing includes bandwidth measurement and stability testing.
[0039] For example, for bandwidth measurement, whether the bandwidth of the current network cell meets the bandwidth requirements can be reflected by detecting the transport block size (TB Size) on the bandwidth of the current network cell. The transport block size can be calculated based on the modulation and coding scheme (MCS) and the number of resource blocks (RBs) in the cellular network.
[0040] It should be noted that judging solely based on TB Size is rather one-sided. Bandwidth resources are only allocated when the terminal device transmits services. Therefore, when there is only control plane data and no user plane services, the terminal will not be allocated resources, and a specific TB Size value cannot be obtained. Therefore, the bandwidth measurement process in this application can refer to RSRP and SINR in addition to detecting TB Size.
[0041] For example, after successful registration and dialing, the RSRP and SINR of the current network cell are recorded. If the terminal device starts using services, the bandwidth value of the current network cell is obtained (e.g., the average bandwidth of the current network cell over a period of time). If the bandwidth value of the current network cell is less than a preset bandwidth threshold, it indicates that the bandwidth of the current network cell is abnormal. The bandwidth of the current network cell is statistically analyzed N times (N is a positive integer). If the frequency of bandwidth abnormalities in the N statistics is greater than the preset abnormal frequency threshold, it can be determined that the bandwidth of the current network cell does not meet the requirements. Then, it is determined whether the current RSRP and / or SINR are lower than the preset decrease threshold. If so, it indicates that the current network cell may have experienced some accidental factor that causes the bandwidth to not meet the requirements, such as the presence of external objects blocking the signal. To avoid such accidental short-term factors, the network detection test cycle can be extended to improve the accuracy of the test.
[0042] Step S140: If the network detection result is available, then lock the current network cell.
[0043] In conjunction with the steps described above, if the network detection result is available, it means that the bandwidth of the current network cell meets the network requirements of the terminal device. For example, if TB Size, RSRP, and SINR all meet their respective threshold requirements, then the current network cell is locked and used as the target cell for the terminal device to access the network. This prevents the terminal device from being interfered with by other network cells and from switching to other network cells at a certain time, thus improving the stability of the terminal device during network use.
[0044] As can be seen, this application performs network registration processing on the currently searched network cell to obtain the registration result in the current network cell; if the registration result fails, it indicates that the current network cell cannot be used normally, and the current network cell is blocked to avoid interfering with the subsequent network usage process; if the registration result is successful, it indicates that the current network cell can be used normally, and network detection is performed on the current network cell to determine whether the network of the current network cell can meet the usage requirements; if the network detection result is available, the current network cell is locked to prevent switching to other network cells, thereby achieving adaptive network selection and improving the stability during the use of cellular networks.
[0045] Based on the above embodiments, this application embodiment describes the steps of performing network detection on the current network cell to obtain the network detection result of the current network cell. Specifically, the method of this embodiment includes the following steps: The bandwidth of the current network cell is measured based on a preset number of measurements to obtain several current cell bandwidths. Current cell bandwidths less than a preset bandwidth threshold are identified as abnormal bandwidths, and current cell bandwidths greater than or equal to the bandwidth threshold are identified as normal bandwidths. If the ratio between the number of abnormal bandwidths and the preset number of measurements is greater than a preset abnormal frequency threshold, the network detection result is determined to be unusable. If the ratio between the number of abnormal bandwidths and the preset number of measurements is less than or equal to the abnormal frequency threshold, the network detection result is determined to be usable.
[0046] Referring to the foregoing embodiments, if registration in the current network cell is successful, network testing of the current network cell is required, including bandwidth measurement.
[0047] For example, bandwidth measurements are performed on the current network cell a preset number of times to obtain several current cell bandwidths of the current network cell. The number of current cell bandwidths obtained corresponds to the preset number of measurements. It should be noted that among the multiple current cell bandwidths of the current network cell, there may be bandwidths with the same or different bandwidth values.
[0048] Furthermore, a bandwidth threshold can be preset according to bandwidth requirements. The current cell bandwidth is compared with the bandwidth threshold. Current cell bandwidth less than the bandwidth threshold is determined as abnormal bandwidth, and current cell bandwidth greater than or equal to the bandwidth threshold is determined as normal bandwidth. If the ratio between the number of abnormal bandwidths and the preset number of measurements is greater than the preset abnormal frequency threshold (equivalent to the frequency of abnormal bandwidth occurrence in the measurement period corresponding to the preset number of measurements being greater than the abnormal frequency threshold), the network detection result is determined to be unusable. If the ratio between the number of abnormal bandwidths and the preset number of measurements is less than or equal to the abnormal frequency threshold (equivalent to the frequency of abnormal bandwidth occurrence in the measurement period corresponding to the preset number of measurements being less than or equal to the abnormal frequency threshold), the network detection result is determined to be usable.
[0049] It should also be noted that if registration is successful but the network test result is unavailable, it indicates that the current network cell may have problems such as weak signal and low network speed. Therefore, the evaluation type of the network cell can be updated to weak. If registration is successful and the network test result is available, the evaluation type of the network cell can be updated to dialed.
[0050] Based on the above embodiments, this application embodiment describes the steps of measuring the bandwidth of the current network cell based on a preset number of measurements to obtain several current cell bandwidths. Specifically, the method of this embodiment includes the following steps: Obtain the signal power and / or signal-to-noise ratio of the current network cell; if the signal power is less than the preset drop threshold and / or the signal-to-noise ratio is less than the drop threshold, increase the preset number of measurements to obtain the target number of measurements; perform bandwidth measurement on the current network cell for the target number of measurements to obtain several current cell bandwidths, and the number of current cell bandwidths corresponds to the number of target measurement times.
[0051] In conjunction with the foregoing embodiments, bandwidth measurement may be affected by accidental factors such as obstruction of external objects under certain special circumstances. Therefore, in addition to the method of detecting the bandwidth value, the presence of such influence can also be determined by obtaining the signal power RSRP and / or signal-to-noise ratio SINR of the current network cell. That is, it is equivalent to determining whether the bandwidth anomaly is caused by a decrease in signal power and / or signal-to-noise ratio.
[0052] It should be noted that the method in this embodiment can be performed after the network detection result is determined to be unusable, in order to determine whether the reason for the unusability of the network detection result is affected by the signal power and / or signal-to-noise ratio; if the network detection result is usable, the determination process in this embodiment can be skipped.
[0053] There can be one or more drop thresholds (for example, two, i.e., signal power and signal-to-noise ratio each have their own corresponding drop thresholds).
[0054] For example, the signal power can be compared with the corresponding drop threshold, and the signal-to-noise ratio (SNR) can be compared with the corresponding drop threshold. If the signal power is less than the drop threshold and / or the SNR is less than the drop threshold, it indicates that the bandwidth anomaly may be caused by a decrease in signal power and / or SNR. Therefore, to avoid the influence of random factors, the preset number of measurements is increased (equivalent to extending the measurement period) to obtain the target number of measurements. The bandwidth of the current network cell is measured for the target number of measurements to obtain several current cell bandwidths of the current network cell. The number of current cell bandwidths at this time corresponds to the target number of measurements. Then, it is determined whether the frequency of anomalies in the current cell bandwidth obtained based on the target number of measurements is greater than the anomaly frequency threshold to determine the network detection result, which has greater accuracy and reliability.
[0055] Furthermore, if the network detection result obtained from the bandwidth measurement based on the target number of measurements is usable, then the bandwidth is continued to be detected; if the network detection result is unusable, then the evaluation type of the network cell is updated to weak.
[0056] It should also be noted that if the signal power is greater than or equal to the drop threshold and / or the signal-to-noise ratio is greater than or equal to the drop threshold, the abnormal bandwidth may not be caused by the drop in signal power and / or signal-to-noise ratio. Therefore, without increasing the number of measurements, the network detection result can be directly determined as unusable, and the evaluation type of the network cell can be updated to weak.
[0057] Optionally, in addition to directly comparing the signal power and / or signal-to-noise ratio with the corresponding drop threshold, this application can also record the change (such as the drop) in signal power and / or signal-to-noise ratio over a period of time in the abnormal bandwidth, and compare the drop in signal power and / or signal-to-noise ratio over a period of time with the corresponding drop threshold to determine whether it is necessary to increase the number of measurements.
[0058] Based on the above embodiments, this application embodiment describes the steps following the determination that the network detection result is usable if the ratio between the number of abnormal bandwidths and the preset number of measurements is less than or equal to an abnormal frequency threshold. Specifically, the method of this embodiment includes the following steps: The system obtains the switching frequency of network cells when the network detection result is available within a preset time period. If the switching frequency is greater than the preset switching frequency threshold, the current network cell is locked. If the switching frequency is less than or equal to the switching frequency threshold, the bandwidth of the current network cell is continuously measured.
[0059] As can be seen from the foregoing embodiments, when using a cellular network, the terminal device is easily affected by different network cells, causing the terminal device to frequently switch between network cells, which makes the terminal device unstable when using the cellular network. The network detection of this application can include bandwidth measurement and stability detection. This embodiment describes the process of stability detection.
[0060] Specifically, the switching frequency of network cell handover events is determined within a preset time period when the terminal device connects to a network cell whose network detection result is available. It is understood that if the network detection result of a network cell is available, the terminal device should usually switch network cells very rarely. Therefore, if the switching frequency is greater than the preset switching frequency threshold, the terminal device needs to lock the current network cell to prevent the terminal device from frequently switching between multiple network cells, and can continue to detect the current network cell. If the switching frequency is less than or equal to the switching frequency threshold, there is no need to lock the network cell, and bandwidth measurement of the network cell is maintained. If the network cell has abnormal bandwidth, the corresponding steps are performed in the same way as in the aforementioned embodiments.
[0061] Based on the above embodiments, this application embodiment describes the steps following the blocking of the current network cell in response to a registration failure. Specifically, the method of this embodiment includes the following steps: Determine if other searched network cells are available; if available, perform network registration based on other network cells to obtain other registration results; if unavailable, determine if there are candidate network cells among other network cells with a weak network status evaluation type; if so, identify the target network cell among the candidate network cells; perform network detection on the target network cell to obtain the target network detection result of the target network cell; if the target network detection result is available, lock the target network cell.
[0062] The foregoing embodiments described the conditions under which registration in the current network cell was successful. This embodiment describes the conditions under which registration in the current network cell failed.
[0063] For example, if registration with the current network cell fails, the current network cell can be blocked to prevent the terminal device from actively connecting to it, saving time spent by the terminal device attempting to connect to the network. Afterward, the terminal device searches for other network cells and determines whether the found network cells are available. The availability of a network cell can be determined based on its evaluation type: available network cells are evaluated as "dialed" or "unknown," while unavailable network cells are evaluated as "failed" or "weak."
[0064] Furthermore, network registration processing is performed on other available network cells to obtain corresponding registration results. Accordingly, based on the description of registration results in the foregoing embodiments, corresponding operations are performed according to other registration results, including but not limited to: blocking other network cells in response to other registration results being unsuccessful; performing network detection on other network cells in response to other registration results being successful to obtain network detection results for other network cells; and locking other network cells if the network detection result is available.
[0065] It should also be noted that if no usable network cell is found among other network cells, the system checks if there are candidate network cells with a weak network status. If so, a network cell is selected from the weak candidate network cells as the target network cell (if the target network cell is blocked, the blocking is lifted). Network detection is performed on the target network cell to obtain the target network detection result. If the target network detection result is usable, the target network cell is locked so that the terminal device can choose a secondary weak network to solve the network problem in an environment where no network meets the requirements. If no candidate network cell with a weak network status is found among other network cells, the network connection process of the device terminal is directly terminated (if the terminal device has a display function, it can display that no network is currently available), and the frequency blocking of the previous network cell can be lifted, the cellular module is restored to the default state, and the adaptive network selection process ends.
[0066] Based on the above embodiments, this application embodiment describes the steps for determining a target network cell among candidate network cells. Specifically, the method of this embodiment includes the following steps: Obtain the bandwidth of the candidate network cells; if there are at least two candidate network cells with different bandwidths, select the network cell with the largest bandwidth among the candidate network cells as the target network cell; if the bandwidths of all candidate network cells are the same, select any one of the candidate network cells as the target network cell.
[0067] Referring to the foregoing embodiments, if at least two candidate network cells with different bandwidths are found among multiple candidate network cells, the network cell with the largest bandwidth among the candidate network cells is locked as the target network cell. If the target network cell is blocked, the blocking is canceled. At the same time, network detection of adjacent network cells can be maintained to determine whether the network of adjacent network cells has improved. If the bandwidth of each candidate network cell is the same among multiple candidate network cells, any one of the candidate network cells can be selected as the target network cell.
[0068] Based on the above embodiments, this application embodiment describes the steps of obtaining target network detection results for a target network cell by performing network detection on the target network cell. Specifically, the method of this embodiment includes the following steps: Obtain the target signal power and / or target signal-to-noise ratio of the target network cell; if the target signal power is greater than the obtained re-detection threshold and / or the target signal-to-noise ratio is greater than the re-detection threshold, update the evaluation type of the target network cell to unknown network status; perform bandwidth measurement on the target network cell to obtain the target network detection result.
[0069] Referring to the foregoing embodiments, the target network cell is determined from the candidate network cells with an evaluation type of weak. Therefore, after determining the target network cell, it is necessary to re-detect the target network cell.
[0070] Specifically, the target signal power (RSRP) and / or target signal-to-noise ratio (SINR) of the target network cell are obtained. If the target signal power is greater than the obtained re-detection threshold and / or the target SINR is greater than the re-detection threshold (the comparison process with the re-detection threshold can be referred to the description of the comparison process with the decrease threshold in the previous embodiment, which will not be repeated here), then the evaluation type of the target network cell is updated from weak to unknown to indicate that the network of the target network cell may have improved. Then, bandwidth measurement is performed on the target network cell to obtain the corresponding target network detection result. Among them, after updating the evaluation type of the target network cell from weak to unknown, if the network cell is in a blocked state, the blocking can be canceled and the previous bandwidth measurement records of the network cell can be cleared.
[0071] It should also be noted that if the APN or dialing parameters of a network cell change, the locking and blocking status of the corresponding network cell can be canceled, the network cell list can be cleared, the current adaptive network selection process can be ended, and network selection can be restarted.
[0072] Based on the above embodiments, the embodiments of this application may further include the following steps: The maximum and minimum power of the signal power of the target network cell are selected; the maximum and minimum power are processed based on Gaussian distribution to obtain the re-detection threshold of the target network cell.
[0073] In conjunction with the foregoing embodiments, there may be one or more re-detection thresholds, and different target network cells may have different re-detection thresholds.
[0074] For example, the re-detection threshold corresponding to the signal power can be determined by the maximum and minimum power of the signal power in the target network cell, and the determination process includes, but is not limited to, the following methods: The maximum power of RSRP is Its value in dBm is The minimum power of RSRP is Its value in dBm is The difference between the maximum power and the minimum power is e. The relationship between e and the re-detection threshold can be seen in Table 1.
[0075]
[0076] Specifically, in determining the retest threshold, according to the definition of variance, when the upper and lower limits are known, the variance is maximized when all data are the upper and lower limits and the number is exactly half. In the absence of available prior information, random statistical data are typically processed as Gaussian distributed data, and the standard deviation can be obtained from the scaling of the variance mentioned earlier. In a Gaussian distribution, The confidence level is 99.9936%. Therefore, RSRP is greater than [a certain value]. The probability is less than 7%; after scaling, the RSRP appears to be greater than... The probability is even lower, so it can be used This serves as the re-detection threshold. However, RSRP is typically measured in dBm; therefore, RSRP values in dBm are... After data format conversion based on dBm units, it can be known that ,but ,because yes The corresponding value in dBm units yes The corresponding value in dBm is... ;so And because ,in It is the RSRP threshold. yes Value in dBm units ,so The following tables, Tables 2 and 3, can be determined through calculation:
[0077] Table 2 Table 3
[0078] Therefore, as shown in Tables 2 and 3, when e=1 in Table 2, its corresponding value is approximately 1.776; while in Table 3, the value greater than 1.776 is 1.995, and its corresponding... =3, therefore, the re-detection threshold in Table 1 is 3. +3dBm.
[0079] It should be further noted that the entity executing the cellular network selection method can be a cellular network selection device. For example, the cellular network selection method can be executed by a terminal device, a server, or other processing devices. The terminal device can be a user equipment (UE), computer, mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, in-vehicle device, wearable device, etc. In some possible implementations, the cellular network selection method can be implemented by a processor calling computer-readable instructions stored in memory.
[0080] Figure 2 This is a block diagram illustrating a cellular network selection device according to an exemplary embodiment of this application. Figure 2 As shown, this exemplary cellular network selection device 200 includes: a network registration module 210, a shielding module 220, a network detection module 230, and a locking module 240. Specifically: The network registration module 210 is used to perform network registration processing based on the searched current network cell and obtain the registration result.
[0081] The blocking module 220 is used to block the current network cell in response to a registration failure.
[0082] The network detection module 230 is used to perform network detection on the current network cell in response to a successful registration result, and obtain the network detection result of the current network cell.
[0083] The locking module 240 is used to lock the current network cell if the network detection result is available.
[0084] In this exemplary cellular network selection device, a registration result is obtained by performing network registration processing on the searched current network cell. If the registration result fails, it indicates that the current network cell cannot be used normally, and the current network cell is blocked to avoid interfering with the subsequent network usage process. If the registration result is successful, it indicates that the current network cell can be used normally, and network detection is performed on the current network cell to determine whether the network of the current network cell can meet the usage requirements. If the network detection result is available, the current network cell is locked to prevent switching to other network cells. This enables adaptive network selection and improves the stability during the use of the cellular network.
[0085] The functions of each module can be found in the description of the network selection method based on cellular networks in the foregoing embodiments, and will not be repeated here.
[0086] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of an embodiment of the electronic device of this application. The electronic device 300 includes a memory 301 and a processor 302. The processor 302 is used to execute program instructions stored in the memory 301 to implement the steps in any of the above-described embodiments of the network selection method based on a cellular network. In a specific implementation scenario, the electronic device 300 may include, but is not limited to, a microcomputer or a server. In addition, the electronic device 300 may also include mobile devices such as laptops and tablets, which are not limited here.
[0087] Specifically, processor 302 controls itself and memory 301 to implement the steps in any of the above-described embodiments of the network selection method based on cellular networks. Processor 302 may also be referred to as a CPU (Central Processing Unit). Processor 302 may be an integrated circuit chip with signal processing capabilities. Processor 302 may also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or any conventional processor. Furthermore, processor 302 may be implemented using integrated circuit chips.
[0088] The above scheme performs network registration processing on the searched current network cell to obtain the registration result of the current network cell. If the registration result fails, it indicates that the current network cell cannot be used normally, and the current network cell is blocked to avoid interfering with the subsequent network usage process. If the registration result is successful, it indicates that the current network cell can be used normally, and the current network cell is tested to determine whether the network of the current network cell can meet the usage requirements. If the network test result is available, the current network cell is locked to prevent switching to other network cells. This enables adaptive network selection and improves the stability during the use of cellular networks.
[0089] Please see Figure 4 , Figure 4This is a schematic diagram of a computer-readable storage medium according to an embodiment of the present application. The computer-readable storage medium 410 stores program instructions 411 that can be executed by a processor. The program instructions 411 are used to implement the steps in any of the above embodiments of the network selection method based on a cellular network.
[0090] The above scheme performs network registration processing on the searched current network cell to obtain the registration result of the current network cell. If the registration result fails, it indicates that the current network cell cannot be used normally, and the current network cell is blocked to avoid interfering with the subsequent network usage process. If the registration result is successful, it indicates that the current network cell can be used normally, and the current network cell is tested to determine whether the network of the current network cell can meet the usage requirements. If the network test result is available, the current network cell is locked to prevent switching to other network cells. This enables adaptive network selection and improves the stability during the use of cellular networks.
[0091] In some embodiments, the functions or modules of the apparatus provided in this disclosure can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0092] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.
[0093] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus implementations described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0094] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A network selection method based on cellular networks, characterized in that, The method includes: Based on the currently searched network cells, network registration is performed to obtain the registration result; In response to the registration failure, the current network cell is blocked. In response to the successful registration result, network detection is performed on the current network cell to obtain the network detection result of the current network cell; The step of performing network detection on the current network cell to obtain the network detection result of the current network cell includes: performing bandwidth measurement on the current network cell based on a preset number of measurements to obtain a plurality of current cell bandwidths of the current network cell; determining current cell bandwidths less than a preset bandwidth threshold as abnormal bandwidths; if the ratio between the number of abnormal bandwidths and the preset number of measurements is greater than a preset abnormal frequency threshold, then determining the network detection result as unusable; if the ratio between the number of abnormal bandwidths and the preset number of measurements is less than or equal to the abnormal frequency threshold, then determining the network detection result as usable. If the network detection result is available, then the current network cell is locked.
2. The method according to claim 1, characterized in that, The step of performing network detection on the current network cell and obtaining the network detection result of the current network cell includes: The current cell bandwidth that is greater than or equal to the bandwidth threshold is determined to be normal bandwidth.
3. The method according to claim 1, characterized in that, The step of measuring the bandwidth of the current network cell based on a preset number of measurements to obtain several current cell bandwidths includes: Obtain the signal power and / or signal-to-noise ratio of the current network cell; If the signal power is less than a preset drop threshold and / or the signal-to-noise ratio is less than the drop threshold, then the preset number of measurements is increased to obtain the target number of measurements; The bandwidth of the current network cell is measured for the target number of times to obtain several current cell bandwidths of the current network cell, and the number of current cell bandwidths corresponds to the number of target measurement times.
4. The method according to claim 1, characterized in that, After the step of determining that the network detection result is usable if the ratio between the number of abnormal bandwidths and the preset number of measurements is less than or equal to the abnormal frequency threshold, the method further includes: Obtain the handover frequency of the network cell when the network detection result is available within a preset time period; If the handover frequency is greater than a preset handover frequency threshold, then the current network cell is locked. If the handover frequency is less than or equal to the handover frequency threshold, then the bandwidth of the current network cell is continuously measured.
5. The method according to claim 1, characterized in that, After the step of blocking the current network cell in response to the registration result failure, the method further includes: Determine whether other network cells found are available; If available, network registration is performed based on the other network cells to obtain other registration results; If unavailable, determine whether there are candidate network cells among the other network cells whose evaluation type is weak network state; If it exists, then determine the target network cell from the candidate network cells; Perform network detection on the target network cell to obtain the target network detection result of the target network cell; If the target network detection result is available, then the target network cell is locked.
6. The method according to claim 5, characterized in that, The step of determining the target network cell among the candidate network cells includes: Obtain the bandwidth of the candidate network cell; If there are at least two candidate network cells with different bandwidths, the network cell with the largest bandwidth among the candidate network cells is selected as the target network cell. If all candidate network cells have the same bandwidth, then any one of the candidate network cells is selected as the target network cell.
7. The method according to claim 5, characterized in that, The step of performing network detection on the target network cell to obtain the target network detection result of the target network cell includes: Obtain the target signal power and / or target signal-to-noise ratio of the target network cell; If the target signal power is greater than the obtained re-detection threshold and / or the target signal-to-noise ratio is greater than the re-detection threshold, then the evaluation type of the target network cell is updated to unknown network status. The bandwidth of the target network cell is measured to obtain the target network detection result.
8. The method according to claim 7, characterized in that, The method further includes: Select the maximum and minimum power of the signal power of the target network cell; The re-detection threshold of the target network cell is obtained by processing the maximum power and the minimum power based on the Gaussian distribution.
9. An electronic device, characterized in that, The method includes a memory and a processor, the processor being configured to execute program instructions stored in the memory to implement the method according to any one of claims 1 to 8.
10. A computer-readable storage medium having program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, they implement the method described in any one of claims 1 to 8.
Citation Information
Patent Citations
Communication processing method and apparatus, mobile terminal and storage medium
CN112806073A
Cell switching control method and device and terminal equipment
CN114554559A