Network access method and device, electronic equipment, storage medium and program product

By introducing a target real-time clock into the terminal device, the problem of low network access reliability caused by sleep state in 5G networks with reduced performance is solved, and the stability of timely signal measurement and network switching is improved.

CN122002433APending Publication Date: 2026-05-08CHENGDU TD TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHENGDU TD TECH LTD
Filing Date
2024-11-05
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In 5G networks with reduced performance, the reliability of network access for terminal devices is low, especially when insufficient signal measurement during sleep mode leads to access failure.

Method used

By introducing a target real-time clock into the terminal device, different cycles are created based on the current network type to wake up the device for signal measurement and prevent the device from entering sleep mode, ensuring timely signal measurement and network switching.

Benefits of technology

It improves the reliability of network access, avoids access failures caused by sleep mode, and enhances the accuracy and stability of network switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122002433A_ABST
    Figure CN122002433A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a network access method and device, electronic equipment, a storage medium and a program product. The method comprises the following steps: determining a current network type of a current cell when terminal equipment accesses the current cell; creating a target real-time clock according to the current network type; waking up the terminal equipment according to the target real-time clock, and performing signal measurement on the current cell to obtain a first measurement result; and accessing the terminal device to a target cell according to the first measurement result, the network type of the target cell being different from the current network type. According to the scheme, the terminal equipment can be awakened on time for network access through the real-time clock which is not influenced by dormancy, so that network access failure caused by dormancy of the terminal equipment is avoided, and the reliability of network access is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a network access method, apparatus, electronic device, storage medium, and program product. Background Technology

[0002] With the rapid development of communication technology, 5G communication technology offers significant improvements compared to 4G, such as substantial increases in data transmission rate, latency, and connection density, thereby effectively enhancing communication quality. 5G Reduced Capability (Redcap) networks can meet the communication needs of low-cost, small-size, and low-power applications.

[0003] In practical applications, due to the inherent limitations of 5G networks, which have reduced performance, the communication quality of 5G networks is inferior to that of 4G networks in some regions or environments. To ensure that terminal devices can communicate normally, it is necessary to switch the network accessed by the device according to the specific usage scenario.

[0004] However, network access may fail, affecting the communication of terminal devices. Summary of the Invention

[0005] This application provides network access methods, devices, electronic devices, storage media, and program products to improve the reliability of network access.

[0006] In a first aspect, embodiments of this application provide a network access method, comprising: when a terminal device accesses a current cell, determining the current network type of the current cell; creating a target real-time clock according to the current network type; waking up the terminal device according to the target real-time clock, performing signal measurement on the current cell, and obtaining a first measurement result; and accessing the terminal device to a target cell according to the first measurement result, wherein the network type of the target cell is different from the current network type.

[0007] In one possible implementation, the current network type includes either a 5G degraded performance type or a 4G type; creating a target real-time clock based on the current network type includes: obtaining the target network time of the current cell and performing time synchronization based on the target network time; if the current network type is a 5G degraded performance type, then creating a first real-time clock; if the current network type is a 4G type, then creating a second real-time clock, wherein the period corresponding to the first real-time clock is different from the period corresponding to the second real-time clock; confirming that the target real-time clock includes either the first real-time clock or the second real-time clock.

[0008] In one possible implementation, connecting the terminal device to the target cell based on the first measurement result includes: if the first measurement result is less than a first threshold, determining the current communication state of the terminal device, wherein the current communication state is either connected or idle; and when the current communication state is idle, setting the capability of the current network type of the terminal device to a disabled state, and controlling the terminal device to connect to the target cell.

[0009] In one possible implementation, the method further includes: acquiring the current communication status of the terminal device at preset intervals; if the current communication status acquired for the first consecutive number of times is in a connected state, then recreating the target real-time clock.

[0010] In one possible implementation, the current network type is a 5G degraded performance type; the method further includes: if access to the target cell fails, then perform preset processing until the number of failures is greater than or equal to the second number, and create a third real-time clock, wherein the third real-time clock is used to control the terminal device to be prohibited from accessing the target cell before the period corresponding to the third real-time clock times out; wherein the preset processing includes: recording the number of failures, waking up the terminal device according to the target real-time clock, performing signal measurement, obtaining a first measurement result, and accessing the terminal device to the target cell according to the first measurement result.

[0011] In one possible implementation, the current network type is 4G; after accessing the target cell, the method further includes: performing signal measurement on the target cell to obtain a second measurement result; if the second measurement result is greater than a second threshold, then the terminal device is accessed to the current cell, where the second threshold is greater than a first threshold.

[0012] In one possible implementation, after waking the terminal device according to the target real-time clock, the method further includes: setting a target lock to prevent the terminal device from entering a sleep state before completing signal measurement; and releasing the target lock after completing signal measurement to allow the terminal device to return to the sleep state.

[0013] Secondly, embodiments of this application provide a network access device, comprising: a determining module, configured to determine the current network type of the current cell when a terminal device accesses the current cell; a creating module, configured to create a target real-time clock according to the current network type; a measuring module, configured to wake up the terminal device according to the target real-time clock, perform signal measurement on the current cell, and obtain a first measurement result; and an access module, configured to connect the terminal device to the target cell according to the first measurement result, wherein the network type of the target cell is different from the current network type.

[0014] In one possible implementation, the current network type includes either a 5G degraded performance type or a 4G type; the creation module is specifically configured to obtain the target network time of the current cell and perform time synchronization based on the target network time; the creation module is further configured to create a first real-time clock if the current network type is a 5G degraded performance type; the creation module is further configured to create a second real-time clock if the current network type is a 4G type, wherein the period corresponding to the first real-time clock is different from the period corresponding to the second real-time clock; the creation module is further configured to determine whether the target real-time clock includes the first real-time clock or the second real-time clock.

[0015] In one possible implementation, the device further includes: a control module, configured to determine the current communication state of the terminal device if the first measurement result is less than a first threshold, wherein the current communication state is a connected state or an idle state; the control module is further configured to disable the capability of the current network type of the terminal device when the current communication state is the idle state, and control the terminal device to access the target cell.

[0016] In one possible implementation, the device further includes: a judgment module, configured to acquire the current communication status of the terminal device at preset intervals; the judgment module is further configured to recreate the target real-time clock if the current communication status acquired for the first consecutive number of times is in a connected state.

[0017] In one possible implementation, the current network type is a 5G degraded performance type; the device further includes: a first execution module, configured to execute preset processing if access to the target cell fails, until the number of failures is greater than or equal to the second number, and create a third real-time clock, wherein the third real-time clock is used to control the terminal device to be prohibited from accessing the target cell before the period corresponding to the third real-time clock times out; wherein the preset processing includes: recording the number of failures, waking up the terminal device according to the target real-time clock, performing signal measurement, obtaining a first measurement result, and accessing the terminal device to the target cell according to the first measurement result.

[0018] In one possible implementation, the current network type is 4G; the device further includes: a second execution module, configured to perform signal measurement on the target cell to obtain a second measurement result; the second execution module is further configured to connect the terminal device to the current cell if the second measurement result is greater than a second threshold, wherein the second threshold is greater than a first threshold.

[0019] In one possible implementation, the device further includes: a setting module for setting a target lock, the target lock being used to prevent the terminal device from entering a sleep state before completing signal measurement; the setting module is also used to release the target lock after completing signal measurement, so that the terminal device returns to a sleep state.

[0020] Thirdly, embodiments of this application provide a network access device, including: a memory and a processor;

[0021] The memory stores computer-executed instructions;

[0022] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0023] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0024] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0025] The network access method, apparatus, electronic device, storage medium, and program product provided in this application include: when a terminal device accesses a current cell, determining the current network type of the current cell; creating a target real-time clock based on the current network type; waking up the terminal device according to the target real-time clock, performing signal measurement on the current cell, and obtaining a first measurement result; and connecting the terminal device to a target cell based on the first measurement result, wherein the network type of the target cell is different from the current network type. This solution, by using a real-time clock unaffected by sleep mode, can wake up the terminal device on time for network access, avoiding network access failure due to terminal device sleep mode, thereby improving the reliability of network access. Attached Figure Description

[0026] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0027] Figure 1 This is a schematic diagram illustrating an application scenario of a network access method provided in an embodiment of this application.

[0028] Figure 2 A flowchart illustrating a network access method provided in an embodiment of this application;

[0029] Figure 3 A flowchart illustrating a network access method provided in an embodiment of this application;

[0030] Figure 4 A schematic diagram of the target cell for access provided in an embodiment of this application;

[0031] Figure 5 This is a schematic diagram illustrating access failure handling provided in an embodiment of this application;

[0032] Figure 6 A schematic diagram of the network access process provided in an embodiment of this application;

[0033] Figure 7 This is a schematic diagram of the structure of a network access device provided in an embodiment of this application;

[0034] Figure 8 This is a schematic diagram of the structure of a network access device provided in an embodiment of this application;

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

[0036] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0037] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0038] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use, processing, transmission, provision, disclosure, and application of the relevant data all comply with the relevant laws, regulations, and standards of the relevant countries and regions, have taken necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation portals for users to choose to authorize or refuse.

[0039] Furthermore, the technical solution involved in this application, which involves big data analysis of user information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.) and the use of artificial intelligence technology for automated decision-making, and makes decisions that have a significant impact on personal rights based on the results of automated decision-making, provides users with corresponding operation entry points for users to choose to agree to or reject the results of automated decision-making; if the user chooses to reject, the process will proceed to the expert decision-making process.

[0040] It should be noted that the network access method, apparatus, electronic device, storage medium, and program product of this application can be used in the field of communication technology, or in any field other than communication technology. The application field of the network access method, apparatus, electronic device, storage medium, and program product of this application is not limited.

[0041] Figure 1 This is a schematic diagram of an application scenario for a network access method provided in an embodiment of this application. Taking the scenario shown in the figure as an example: Terminal device 101 accesses the cell of network device 102, and terminal device 101 communicates through the signal provided by network device 102.

[0042] For example, the 5G network communication standard was defined in Release 15 (R15) and Release 16 (R16) of the Third Generation Partnership Project (3GPP). The R15 / R16 5G network standard is not suitable for application scenarios requiring low cost, small size, and low power consumption. Therefore, Release 17 defines New Radio (NR) low-complexity, low-cost terminals (i.e., RedCapUE), which, compared to the R15 / R16 5G network standard, reduces the cost, complexity, and power consumption of terminal devices by reducing bandwidth, using multiple antennas and MIMO, and improving modulation. 5G Redcap terminal devices (hereinafter referred to as terminal devices) simultaneously support both R17 5G Redcap networks and 4G networks, allowing terminal devices to access the appropriate network based on their actual usage scenario.

[0043] In related technologies, terminal devices determine whether to connect to other cells based on the signal quality provided by the current cell. For example, if a terminal device is currently connected to a 5G network with degraded performance, and the poor signal quality of the 5G network is affecting the terminal device's normal communication, then the terminal device will connect to a 4G cell to improve signal quality.

[0044] For example, the terminal device periodically triggers signal measurements and determines whether to access other cells based on the signal measurement results.

[0045] In practical applications, to reduce the power consumption of terminal devices, a sleep mechanism is set up. After a period of no service, the terminal device's application will stop working, enter a sleep state, and suspend its processes. When in sleep state, failure to trigger signal measurements according to the predetermined cycle leads to network access failure, resulting in low network access reliability. Manually triggering signal measurements periodically would increase labor costs.

[0046] The network access method provided in this application is intended to solve the above-mentioned technical problems of the prior art.

[0047] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0048] Figure 2 This is a flowchart illustrating a network access method provided in an embodiment of this application. The method includes the following steps:

[0049] S201. When a terminal device accesses the current cell, determine the current network type of the current cell.

[0050] The terminal device in this application is a 5G degraded performance terminal device. The current network type can be a 5G degraded performance network or a 4G network.

[0051] For example, after a terminal device accesses the current cell, it obtains information about the current cell from the network device corresponding to that cell, such as the cell identifier or frequency band. The terminal device then determines the current network type supported by the current cell based on this information.

[0052] S202. Create a target real-time clock based on the current network type.

[0053] A real-time clock (RTC) is a circuit module used to record the current moment. A real-time clock can continuously record the current moment, maintaining accuracy even when the main power supply is disconnected. A real-time clock can be synchronized with an external time source to ensure accuracy.

[0054] Optionally, the target period can be determined based on the current network type, and a target real-time clock can be created based on the target period.

[0055] Optionally, the target period can be determined based on the usage scenario of the terminal device. For example, if the terminal device has high requirements for signal quality, the target period can be shorter, thereby shortening the signal measurement cycle and enabling timely access to other cells when the signal quality of the current cell is poor.

[0056] With the example of a scenario, the target real-time clock can issue an alert at target intervals. Since the target real-time clock is not affected by the terminal device's sleep state, it can issue alerts accurately.

[0057] S203. Wake up the terminal device according to the target real-time clock, perform signal measurement on the current cell, and obtain the first measurement result.

[0058] For example, the first measurement result is used to represent the signal quality of the current cell.

[0059] Optionally, if the terminal device is in a working state, the signal measurement is triggered according to the period of the target real-time clock, and there is no need to perform a wake-up action.

[0060] With the example of the scenario, since the target real-time clock is not affected by the terminal device's sleep state, the terminal device can be accurately woken up according to the target cycle.

[0061] Optionally, the first signal quality parameter can be the Reference Signal Received Power (RSRP) or the Signal-to-Interference-plus-Noise Ratio (SINR).

[0062] S204. Based on the first measurement result, connect the terminal device to the target cell.

[0063] The target cell's network type is different from the current network type.

[0064] With scenario examples, for network access of the same network type, the network device can execute the command directly without additional processing by the terminal device. For network access of different network types, the terminal device executes the command based on the first measurement result, combined with the execution by the network device, thus avoiding compatibility issues between different network types.

[0065] The network access method provided in this application, when a terminal device accesses the current cell, determines the current network type of the current cell; creates a target real-time clock based on the current network type; wakes up the terminal device according to the target real-time clock, performs signal measurement on the current cell, and obtains a first measurement result; and connects the terminal device to the target cell, whose network type is different from the current network type, based on the first measurement result. This solution, by using a real-time clock unaffected by sleep mode, can wake up the terminal device on time for network access, avoiding network access failures caused by the terminal device being in sleep mode, thereby improving the reliability of network access.

[0066] Based on any of the above embodiments, the following, in conjunction with Figure 3 This section provides a detailed explanation of the network access process.

[0067] Figure 3 This is a flowchart illustrating a network access method provided in an embodiment of this application. Figure 3 As shown, the method includes:

[0068] S301. When a terminal device accesses the current cell, determine the current network type of the current cell.

[0069] It should be noted that the execution process of S301 is the same as that of S201, and will not be repeated here.

[0070] S302. Create a target real-time clock based on the current network type.

[0071] One feasible implementation method is to create a target real-time clock as follows: obtain the target network time of the current cell and perform time synchronization based on the target network time; if the current network type is 5G with reduced performance, then create a first real-time clock; if the current network type is 4G, then create a second real-time clock, the period corresponding to the first real-time clock is different from the period corresponding to the second real-time clock; confirm that the target real-time clock includes either the first real-time clock or the second real-time clock.

[0072] The current network types include 5G with reduced performance or 4G.

[0073] For example, time synchronization may include: sending a time synchronization request to the network device corresponding to the current cell; receiving a time synchronization response returned by the network device, the synchronization response including the current network time; and synchronizing the internal clock of the terminal device with the received network time to complete the time synchronization.

[0074] With the help of scenario examples, time synchronization is used to ensure that the time of the terminal device is consistent with the network time, and the target real-time clock created on this basis is also consistent with the network time.

[0075] With the help of scenario examples, it can be seen that the application scenarios of 5G networks with reduced performance are different from those of 4G networks. By setting the corresponding real-time clock, the application scenarios can be adapted.

[0076] In this feasible implementation, time synchronization ensures consistency of time, thereby improving the accuracy of the target real-time clock.

[0077] S303. Wake up the terminal device according to the target real-time clock, perform signal measurement on the current cell, and obtain the first measurement result.

[0078] One feasible implementation method, after waking up the terminal device according to the target real-time clock, further includes: setting a target lock, which is used to prevent the terminal device from entering a sleep state before completing the signal measurement; and releasing the target lock after completing the signal measurement to allow the terminal device to return to the sleep state.

[0079] For example, by setting a target lock, it is ensured that the terminal device will not automatically enter sleep mode during signal measurement due to low power management or other reasons. After the signal measurement is completed, the target lock is released, and the terminal device can enter sleep mode normally.

[0080] In this feasible implementation, a target lock prevents the terminal device from entering a sleep state before completing signal measurement, thereby ensuring the integrity and accuracy of the signal measurement.

[0081] S304. If the first measurement result is less than the first threshold, then determine the current communication status of the terminal device.

[0082] The current communication state is either connected or idle.

[0083] Optionally, there can be one or more first measurement results. If there are multiple first measurement results, the current communication state of the terminal device is determined when all of the multiple first measurement results are less than the first threshold.

[0084] Optionally, multiple first measurement results can be obtained through periodic measurements. For example, the RSRP of the current cell can be measured three times at 2-second intervals to obtain three first measurement results.

[0085] With the example of the scenario, if the first measurement result is less than the first threshold, it means that the current signal quality of the terminal device is poor and needs to access other cells to improve the signal quality.

[0086] With the example of the scenario, when the terminal device is performing data transmission, the current communication state is connected; when the terminal device is not performing data transmission, the current communication state is idle.

[0087] S305. When the current communication state is idle, set the current network type capability of the terminal device to disabled state, and control the terminal device to access the target cell.

[0088] For example, if the current communication state is idle, it means there is no data transmission at present, and performing network access will not affect the communication of the terminal device, so network switching can be performed directly. If the current communication state is connected, monitoring continues until the communication state becomes idle, indicating that the terminal device has completed data transmission, and performing network access at this time will not affect the communication of the terminal device.

[0089] Optionally, if the current communication state is connected, the communication state is monitored again after a first delay to avoid increasing the power consumption of the terminal device due to frequent determination of the communication state.

[0090] Optionally, once data transmission is complete, the network device may decide to release the connection resources of the terminal device and switch the terminal device to an idle state. In this case, the network device will send an RRC state change notification to the terminal device, and upon receiving the notification, the terminal device will update its own RRC state to idle.

[0091] Below, in conjunction with Figure 4 The target cell for access is described.

[0092] Figure 4 This is a schematic diagram of the target cell for access provided in an embodiment of this application. Figure 4 As shown, a first measurement result is obtained through signal measurement, and the signal quality is determined by comparing the first measurement result with a first threshold. If the signal quality is poor, the current communication state of the terminal device is determined. If the current communication state is idle, the device accesses the target cell.

[0093] To illustrate with a scenario example, if the current cell's network type is 5G with reduced performance, and the target cell's network type is 4G, then the 5G performance reduction capability is disabled, thereby enabling access to the 4G network cell. The reverse is also true.

[0094] One feasible implementation method for network access includes: acquiring the current communication status of the terminal device at preset intervals; if the current communication status acquired for the first consecutive time is in a connected state, then recreating the target real-time clock.

[0095] With the illustration of a scenario, an existing target real-time clock may experience time drift or error accumulation during continuous operation, especially over long periods. Recreating a new real-time clock and resynchronizing it, unaffected by the existing target clock, improves the accuracy of the real-time clock.

[0096] Optionally, a second delay can be made before recreating the target real-time clock to avoid increased power consumption of the terminal device due to frequent operation of the real-time clock.

[0097] In this feasible implementation, by recreating the target real-time clock, the time information of the target clock can be reset, thereby reducing errors and improving the accuracy of the real-time clock.

[0098] One feasible implementation method is as follows: the current network type is 5G with reduced performance; the network access method further includes: if access to the target cell fails, a preset process is executed until the number of failures is greater than or equal to the second number, and a third real-time clock is created. The third real-time clock is used to control the terminal device to be prohibited from accessing the target cell before the period corresponding to the third real-time clock expires; wherein, the preset process includes: recording the number of failures, waking up the terminal device according to the target real-time clock, performing signal measurement, obtaining a first measurement result, and accessing the terminal device to the target cell according to the first measurement result.

[0099] Based on the scenario example, the current network type is 5G (with reduced performance), and the target network type is 4G. If accessing a 4G cell fails, it needs to re-access a 5G cell. After re-accessing a 5G cell, it continues to attempt to access a 4G cell. If the number of failed 4G cell access attempts is too high, to avoid increasing the terminal device's power consumption due to repeated 4G cell access attempts, 4G cell access is prohibited.

[0100] Below, in conjunction with Figure 5 Explanation of how to handle access failures.

[0101] Figure 5 This is a schematic diagram illustrating access failure handling provided in an embodiment of this application. Figure 5 As shown, when accessing a 4G cell fails, the number of failures is recorded. If the number of failures is greater than or equal to the second failure count, a third real-time clock is created. If the number of failures is less than the second failure count, the 4G cell access attempt is retried.

[0102] For example, the third real-time clock corresponds to a duration during which access to the target 4G cell is prohibited.

[0103] In this feasible implementation, controlling the number of times the device accesses the 4G cell in a second loop can avoid increasing the power consumption of the terminal device due to infinitely looping the access to the cell.

[0104] One feasible implementation method is as follows: the current network type is 4G; after accessing the target cell, the method further includes: performing signal measurement on the target cell to obtain a second measurement result; if the second measurement result is greater than a second threshold, then the terminal device is accessed to the current cell, where the second threshold is greater than a first threshold.

[0105] Optionally, the second threshold is the sum of the first threshold and the offset value.

[0106] The offset value is used to prevent the ping-pong effect, which is the frequent switching of terminal devices between the current cell and the target cell.

[0107] For example, while 5G networks with reduced performance typically offer higher data transmission rates and lower latency, they may also be more susceptible to environmental factors, leading to signal fluctuations. Therefore, when a terminal device connects to a 5G network with reduced performance, it may frequently fall back to the 4G network due to brief signal fluctuations.

[0108] With a scenario example, after accessing a 5G cell, the device will only camp on the 5G cell if the second measurement result of the 5G cell is greater than the second threshold. By using a larger second threshold, the stringency of camping on the 5G cell can be increased, thus ensuring that the terminal device camps on the 5G cell with better signal quality and avoids frequent fallbacks to the 4G network due to environmental factors.

[0109] In this feasible implementation, a larger second threshold is used to prevent terminal devices from frequently falling back to the 4G network, thereby improving the stability of the network connection.

[0110] The following example illustrates the complete network access process.

[0111] Below, in conjunction with Figure 6 The network access process is explained.

[0112] Figure 6 This is a schematic diagram illustrating the network access process provided in an embodiment of this application. Figure 6 As shown, the first step determines the network type of the current cell accessed by the terminal device. If the network type is 5G (degraded performance), a first real-time clock is created, and a first measurement result is triggered based on the first real-time clock. If the network type is 4G, a second real-time clock is created, and a first measurement result is triggered based on the second real-time clock. If the first measurement result is less than a first threshold, it is determined whether the terminal device is in an idle state. If it is not in an idle state, network switching is not performed. If it is in an idle state, network switching is performed. If the switching is successful, the first step is executed repeatedly. If the switching fails, the number of failures is recorded. If the number of failures is not greater than the second count, the first step is executed repeatedly. If the number of failures is greater than the second count, cell switching is prohibited by a third real-time clock. The first step is executed repeatedly until the third clock times out.

[0113] Figure 7 This is a schematic diagram of the structure of a network access device provided in an embodiment of this application. Figure 7 As shown, the network access device 70 may include: a determination module 71, a creation module 72, a measurement module 73, and an access module 74, wherein,

[0114] The determination module 71 is used to determine the current network type of the current cell when the terminal device accesses the current cell.

[0115] Create module 72 to create a target real-time clock based on the current network type.

[0116] The measurement module 73 is used to wake up the terminal device according to the target real-time clock, perform signal measurement on the current cell, and obtain the first measurement result.

[0117] Access module 74 is used to connect the terminal device to the target cell based on the first measurement result. The network type of the target cell is different from the current network type.

[0118] Optionally, module 71 can be executed. Figure 2 S201 in the embodiment.

[0119] Optionally, module 72 can be created and executed. Figure 2 S202 in the embodiment.

[0120] Optionally, the measurement module 73 can perform... Figure 2 S203 in the embodiment.

[0121] Optionally, access module 74 can execute Figure 2 S204 in the embodiment.

[0122] It should be noted that the network access device shown in the embodiments of this application can execute the technical solutions shown in the above method embodiments, and its implementation principle and beneficial effects are similar, so they will not be described again here.

[0123] In one possible implementation, the current network type includes either a 5G degraded type or a 4G type; module 72 is specifically used for:

[0124] Obtain the target network time for the current cell and perform time synchronization based on the target network time;

[0125] If the current network type is 5G with reduced performance, then create the first real-time clock;

[0126] If the current network type is 4G, then a second real-time clock is created. The period corresponding to the first real-time clock is different from the period corresponding to the second real-time clock.

[0127] The target real-time clock includes either a first real-time clock or a second real-time clock.

[0128] Figure 8 This is a schematic diagram of the structure of a network access device provided in an embodiment of this application. Figure 7 Based on the illustrated embodiments, as Figure 8 As shown, the network access device 80 further includes: a control module 75, a judgment module 76, a first execution module 77, a second execution module 78, and a setting module 79, wherein...

[0129] Control module 75 is used for:

[0130] If the first measurement result is less than the first threshold, the current communication state of the terminal device is determined, which is either connected or idle.

[0131] When the current communication state is idle, the terminal device's current network type capability is disabled, and the terminal device is controlled to access the target cell.

[0132] Module 76 is used for:

[0133] The current communication status of the terminal device is obtained at preset intervals;

[0134] If the current communication state obtained for the first consecutive counts is always in the connected state, then the target real-time clock is recreated.

[0135] The current network type is 5G, which reduces performance; the first execution module 77 is used for:

[0136] If access to the target cell fails, a preset process is executed until the number of failures is greater than or equal to the second number. A third real-time clock is then created. The third real-time clock is used to control the terminal device to prevent access to the target cell before the period corresponding to the third real-time clock expires.

[0137] The preset processing includes: recording the number of failures, waking up the terminal device according to the target real-time clock, performing signal measurement, obtaining the first measurement result, and connecting the terminal device to the target cell according to the first measurement result.

[0138] The current network type is 4G; the second execution module 78 is used for:

[0139] Signal measurements were performed on the target cell to obtain the second measurement result;

[0140] If the second measurement result is greater than the second threshold, the terminal device will be connected to the current cell, where the second threshold is greater than the first threshold.

[0141] Module 79 is configured for:

[0142] Set a target lock to prevent the terminal device from entering a sleep state before completing signal measurement;

[0143] After completing the signal measurement, release the target lock to allow the terminal device to return to sleep mode.

[0144] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, such as... Figure 9 As shown, the electronic device includes:

[0145] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, memory 292, and communication interface 293 can communicate with each other via the bus 294. The communication interface 293 can be used for information transmission. The processor 291 can invoke logical instructions stored in the memory 292 to execute the methods of the above embodiments.

[0146] Furthermore, the logic instructions in the aforementioned memory 292 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.

[0147] The memory 292, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, thereby implementing the methods in the above-described method embodiments.

[0148] The memory 292 may include a program storage area and a data storage area. The program storage area may store the operating system and application programs required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 292 may include high-speed random access memory and may also include non-volatile memory.

[0149] This application provides a non-transitory computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods described in the foregoing embodiments.

[0150] This application provides a computer program product, including a computer program that, when executed by a processor, implements the method as described in the foregoing embodiments.

[0151] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.

[0152] It should be further noted that although the steps in the flowchart are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0153] It should be understood that the above-described device embodiments are merely illustrative, and the device of this application can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units, modules, or components may be combined, or integrated into another system, or some features may be ignored or not executed.

[0154] Furthermore, unless otherwise specified, the functional units / modules in the various embodiments of this application can be integrated into one unit / module, or each unit / module can exist physically separately, or two or more units / modules can be integrated together. The integrated units / modules described above can be implemented in hardware or as software program modules.

[0155] When the integrated unit / module is implemented in hardware, the hardware can be digital circuits, analog circuits, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. The processor can be any suitable hardware processor, such as CPU, GPU, FPGA, DSP, and ASIC. The storage unit can be any suitable magnetic or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.

[0156] If the integrated unit / module is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). 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 memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0157] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.

[0158] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0159] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A network access method, characterized in that, include: When a terminal device accesses the current cell, the current network type of the current cell is determined; Create a target real-time clock based on the current network type; The terminal device is woken up according to the target real-time clock to perform signal measurement on the current cell and obtain a first measurement result; Based on the first measurement result, the terminal device is connected to the target cell, and the network type of the target cell is different from the current network type.

2. The method according to claim 1, characterized in that, The current network type includes either 5G with reduced performance or 4G; based on the current network type, a target real-time clock is created, including: Obtain the target network time of the current cell, and perform time synchronization based on the target network time; If the current network type is 5G with reduced performance, then create the first real-time clock; If the current network type is 4G, then a second real-time clock is created, and the period corresponding to the first real-time clock is different from the period corresponding to the second real-time clock. The target real-time clock includes either the first real-time clock or the second real-time clock.

3. The method according to claim 2, characterized in that, Based on the first measurement result, connecting the terminal device to the target cell includes: If the first measurement result is less than the first threshold, the current communication state of the terminal device is determined, and the current communication state is either connected or idle. When the current communication state is the idle state, the capability of the current network type of the terminal device is set to the disabled state, and the terminal device is controlled to access the target cell.

4. The method according to claim 3, characterized in that, The method further includes: The current communication status of the terminal device is acquired at preset intervals; If the current communication state obtained for the first consecutive counts is always in the connected state, then the target real-time clock is recreated.

5. The method according to any one of claims 2-4, characterized in that, The current network type is a 5G degraded performance type; the method further includes: If access to the target cell fails, a preset process is executed until the number of failures is greater than or equal to the second number. A third real-time clock is then created. The third real-time clock is used to control the terminal device to prevent access to the target cell before the period corresponding to the third real-time clock expires. The preset processing includes: recording the number of failures, waking up the terminal device according to the target real-time clock, performing signal measurement, obtaining a first measurement result, and connecting the terminal device to the target cell according to the first measurement result.

6. The method according to any one of claims 2-4, characterized in that, The current network type is 4G. After accessing the target cell, the following is also included: Signal measurements are performed on the target cell to obtain a second measurement result; If the second measurement result is greater than the second threshold, then the terminal device is connected to the current cell, where the second threshold is greater than the first threshold.

7. The method according to any one of claims 1-6, characterized in that, After waking up the terminal device according to the target real-time clock, the method further includes: A target lock is set to prevent the terminal device from entering a sleep state before completing signal measurement; After completing the signal measurement, the target lock is released to allow the terminal device to return to sleep mode.

8. A network access device, characterized in that, include: The determination module is used to determine the current network type of the current cell when the terminal device accesses the current cell; A module is created to create a target real-time clock based on the current network type. The measurement module is used to wake up the terminal device according to the target real-time clock, perform signal measurement on the current cell, and obtain a first measurement result; The access module is used to connect the terminal device to the target cell based on the first measurement result, wherein the network type of the target cell is different from the current network type.

9. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.