A method for registering a network and related equipment

By starting the registration process to the next cell immediately after the registration failure when the user equipment registers the LTE network, the timer times and interrupts the registration process, which solves the problem of long wait time after the registration failure by the user equipment registration failure, and improves the registration efficiency and user experience.

CN118201065BActive Publication Date: 2025-05-09HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410604222.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2025-05-09
Estimated Expiration
2044-05-15

AI Technical Summary

Technical Problem

When a user equipment connects to the LTE network, it needs to wait a long time to register with the next LTE cell after registration failure, resulting in a poor user experience.

Method used

After the user equipment fails to register with the first cell, the timer starts to start timing. When the device searches for the second cell before the timer timed out, it interrupts the timer timing and initiates network registration with the second cell. By setting the first preset time length is less than the timer value, the device is avoided from being judged as malicious registration in a short time after the last registration failure, and the registration success rate is improved.

Benefits of technology

The waiting time between multiple network registrations has been shortened, the efficiency of registering a network has been improved, and the user experience has been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118201065B_ABST
    Figure CN118201065B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a method for registering a network and related equipment. The method is applied to an electronic device. When the electronic device fails to register the network with the first cell, a timer is started to start timing, and the length of time that has passed since the failure to register with the first cell is recorded. When the electronic device searches for a second cell before the timer times out, the timing of the timer is interrupted, and network registration is initiated with the second cell. Through the above method, the electronic device does not need to wait until the timer times out before initiating the registration process with the second cell, which shortens the waiting time between multiple network registrations to a certain extent and improves the efficiency of network registration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method for registering a network and related equipment. Background Art

[0002] In the process of connecting a user device (such as a smart phone, smart watch, tablet computer, and laptop computer) to a Long Term Evolution (LTE) network, if the user device finds an LTE A cell and fails to register, when the user device searches for a suitable LTE B cell again, the user device needs to wait for a first time length before registering with the LTE B cell. The starting time point of the first time length is the time point when it is determined that the user device fails to register with the LTE A cell.

[0003] For users, they expect to quickly connect to the network and start using various services, and the registration process is one of the necessary steps to connect to the LTE network. If the registration process takes a long time, it may lead to a poor user experience. Summary of the invention

[0004] The method and related devices for registering a network provided in the present application are intended to solve the problem that it takes a long time for a user device to access the network, resulting in a poor user experience.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a method for registering a network, which is applied to an electronic device. When the electronic device fails to register the network with the first cell, a timer is started to start timing, and the length of time that has passed since the failure to register with the first cell is recorded. When the electronic device searches for a second cell before the timer times out, the timing of the timer is interrupted, and network registration is initiated with the second cell. Through the above method, the electronic device does not need to wait until the timer times out before initiating the registration process with the second cell, which shortens the waiting time between multiple network registrations to a certain extent and improves the efficiency of network registration.

[0007] In a possible implementation, the timer value of the timer is a first time length, that is, the timer count value is greater than or equal to the timer value, which means the timeout. If the count value of the timer is greater than or equal to the first preset time length when the second cell is searched, the timer is directly stopped, and network registration is initiated to the second cell. The first preset time length is less than the timer value of the timer. By setting the first preset time length as a restriction condition, the timer count must be greater than or equal to the timer value, and the second cell must be searched, before the timer is stopped and network registration is initiated to the second cell, so as to avoid the electronic device initiating network registration to the second cell within a short period of time after the last network registration failed and being judged as malicious registration, prevent registration failure, and improve the success rate of network registration. In addition, if the first preset time length is less than the first time length, it can also achieve the effect of shortening the waiting time between multiple network registrations and improving the efficiency of network registration.

[0008] In one possible implementation, the timer value of the timer is a first time length, that is, the timer times out when the count value of the timer is greater than or equal to the timer value. If the count value of the timer is less than the first preset time length when the second cell is searched, it is necessary to wait for the timer to count to the first preset time length, then stop the timer and initiate registration with the second cell. This prevents the electronic device from being judged as a malicious registration when initiating network registration with the second cell within a short period of time after the last network registration failed, prevents registration failures, and improves the success rate of network registration. In addition, if the first preset time length is less than the first time length, it can also achieve the effect of shortening the waiting time between multiple network registrations and improving the efficiency of network registration.

[0009] In a possible implementation, the timer value of the timer is the first time length, that is, the timer timeout occurs when the count value of the timer is greater than or equal to the timer value. If the count value of the timer is less than the first time length when the second cell is searched, that is, the timer has not timed out, the timer is directly stopped and network registration is initiated to the second cell. The interval between two adjacent network registration initiations is shortened, thereby shortening the time consumed by the electronic device to register the network and improving the user experience.

[0010] In a possible implementation, the timer may be a T3411 timer, and the timer value of the T3411 timer may be a first time length set by the network.

[0011] In a possible implementation, when the electronic device initiates network registration with the second cell, it also starts the T3410 timer for timing, and receives a registration failure message before the T3410 timer times out or after the T3410 timer times out, confirms that the registration with the second cell has failed, searches for other cells again and starts the timer for timing. The T3410 timer is used to record the length of time that the network registration takes. If a registration success message is received before the T3410 timer times out, it indicates that the network registration is successful; if a registration failure message is received before the T3410 timer times out, or the T3410 timer times out, it is determined that the network registration has failed, and the timer is started to search for other cells.

[0012] In a second aspect, the present application provides a method for registering a network, which is applied to an electronic device. When the electronic device fails to register the network with the first cell, a timer is started to start timing, and the length of time that has passed since the failure to register with the first cell is recorded. When the electronic device searches for a second cell before the timer times out, the timing of the timer is interrupted, and network registration is initiated with the second cell. The timer value of the timer is a private value of the electronic device, and the private value of the electronic device is less than the timer value of the timer specified by the network. By setting a private value of the electronic device that is less than the timer value specified by the network, when the timer times out, network registration is initiated with the second cell, the waiting time between multiple network registrations is shortened, and the efficiency of registering the network is improved.

[0013] In a possible implementation, if a second cell that meets the residency conditions is searched before the timer times out, network registration is initiated to the second cell after the timer times out. This prevents the electronic device from being judged as malicious registration when it initiates network registration to the second cell within a short period of time after the last network registration failed, prevents registration failure, and improves the success rate of network registration.

[0014] In a possible implementation manner, if the second cell is searched after the timer times out, network registration is initiated to the second cell after the second cell is searched.

[0015] In a third aspect, the present application provides an electronic device, including: a processor and a memory;

[0016] A memory storing instructions;

[0017] A processor is coupled to the memory, and when the program instructions stored in the memory are executed by the processor, the electronic device executes the method as described in any one of the first aspect or the second aspect.

[0018] In a fourth aspect, the present application provides a computer storage medium, comprising computer instructions, which, when executed on a mobile terminal, enable the electronic device to execute a method as described in any one of the first aspect or the second aspect.

[0019] In a fifth aspect, the present application provides a computer program product, comprising instructions; when the instructions are executed by the electronic device, the electronic device executes the method as described in any one of the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A schematic diagram of a registration network scenario provided in an embodiment of the present application;

[0021] Figure 2 A timing diagram of a registration network provided in an embodiment of the present application;

[0022] Figure 3 A software architecture diagram of an electronic device provided in an embodiment of the present application;

[0023] Figure 4 Another timing diagram of network registration provided in an embodiment of the present application;

[0024] Figure 5 A schematic diagram of an attachment process provided in an embodiment of the present application;

[0025] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0026] Figure 7 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The various embodiments disclosed in this application can be applied to electronic devices. In the embodiments of this application, the electronic device may also be referred to as User Equipment (UE). In some embodiments of this application, the UE may be a mobile phone, a tablet computer, a personal digital assistant (PDA), and a vehicle-mounted terminal device. In other embodiments of this application, the UE may also be some mobile sharing devices, such as shared bicycles, shared electric bicycles, and shared cars. The embodiments of this application do not impose any special restrictions on the specific form of the UE.

[0028] In order to enable those skilled in the art to more clearly understand the solution of the present application, the technical terms involved in the technical solution of the present application are first explained and introduced.

[0029] LTE is a high-speed wireless communication technology, also known as 4G technology. LTE is a technical standard proposed by the Third Generation Partnership Project (3GPP) to improve the speed and reliability of mobile networks. LTE is a new type of wireless communication technology that uses orthogonal frequency division multiplexing (OFDMA) multi-carrier technology to transmit data simultaneously on multiple frequency bands. LTE networks can support a variety of applications, such as video conferencing, online games, video streaming, and mobile Internet, with higher transmission rates and lower latency.

[0030] LTE cell refers to the base station coverage area in the LTE network. In the LTE network, each cell is managed and served by a base station (Evolved Node B, eNodeB). The base station is connected to the LTE core network and is responsible for communicating with terminal devices. Each cell has a unique identifier and can cover a specific geographical area.

[0031] Attach is the process of registering the UE in the LTE network before performing actual services. The UE can receive services from the LTE network only after the attachment is successful.

[0032] The T3410 timer is a normal control timer. The triggering condition of the T3410 timer is that the UE sends an attach request (Attach request). If the T3410 timer times out or the UE receives an attach reject message (Attach reject) before the timeout, it indicates that the attachment has failed and the T3411 timer is started; if the UE receives an attach accept message (Attach accept) before the T3410 timer times out, it indicates that the attachment is successful and the UE can use network services normally.

[0033] The T3411 timer is an abnormal control timer. The triggering condition of the T3411 timer is the timeout of the T3410 timer. If the UE searches for a new LTE cell during the timing of the T3411 timer, when the T3411 timer times out, the UE re-sends an attachment request to the new LTE cell and triggers the T3410 timer to start timing. If the UE still has not searched for a new LTE cell after the T3411 timer times out, the UE will directly send an attachment request to the new LTE cell after searching for the new LTE cell.

[0034] The following is an illustrative description of the application scenarios of the embodiments of the present application.

[0035] In a possible application scenario, the UE is a smartphone. In some scenarios susceptible to network interference, such as when flying or conducting precision experiments, the user needs to turn off the smartphone or adjust it to flight mode to disconnect the smartphone from the network. When the smartphone is turned on or exits flight mode, the smartphone needs to reconnect to the LTE network. The smartphone initiates the attachment process by scanning the surrounding LTE cells and selecting a suitable cell.

[0036] In another possible application scenario, the UE is a smartphone, and the user is using the smartphone to access the network for the first time, such as using a newly purchased smartphone. After the smartphone is turned on, it needs to establish a connection with the LTE network to perform network functions.

[0037] In another possible application scenario, the UE is a shared bicycle. When the shared bicycle is just put into offline use, it needs to be connected to the LTE network. After the shared bicycle is successfully connected to the LTE network, the shared bicycle can use various services provided by the LTE network, such as real-time location tracking, remote locking and unlocking, and fault diagnosis.

[0038] As an exemplary implementation process of UE connecting to the LTE network, after searching for a suitable LTE cell (LTE A cell), the UE sends an attachment request to the base station in the LTE A cell for network registration. If the UE receives an attachment rejection message from the base station or does not receive an attachment acceptance message from the base station within the first time length, it indicates that the UE has failed to attach to the LTEA cell and the UE has not successfully accessed the LTE network. The UE needs to search for other cells again. If the UE searches for another suitable LTE cell (LTE B cell), the timing starts from the last time the attachment failure was determined. After the first time length has passed, the UE sends an attachment request to the base station in the LTEB cell for network registration. Until the UE establishes a connection with a base station in a certain LTE cell and successfully accesses the LTE network.

[0039] In the above process, even if the UE searches for a suitable LTE cell immediately after failing to register with the network, it cannot immediately send an attachment request to the base station of the LTE cell, and needs to wait for at least the first time length to re-initiate the registration process. For the user, if a single network registration fails, not only does it have to wait for at least two registration processes, but it also needs to wait for the first time length between each two registration processes. The registration time is long and the user experience is poor.

[0040] In order to solve the problem that UE needs to register multiple times to access the LTE network, resulting in a long network registration time and poor user experience, the embodiment of the present application provides a method for registering the network and related equipment, which is applied to electronic devices such as UE. If the electronic device searches for a suitable new LTE cell after the last network registration failure, it immediately sends an attachment request to the base station in the new LTE cell for registration without waiting for a long time, shortening the interval time between two adjacent initiations of the attachment process, thereby shortening the time consumed by the electronic device to register the network and improving the user experience.

[0041] As a possible implementation method, when the electronic device fails to register with the first LTE cell (also referred to as the first cell), the timer is started to start timing. If the electronic device searches for the second LTE cell (also referred to as the second cell), and the timer has not timed out when searching for the second LTE cell, the timer is directly stopped and network registration is initiated with the second cell. The timer value of the timer is the first time length, and the timer value can also be understood as the critical value of the timeout. If the count value of the timer reaches the timer value, the timer times out. Before the timer times out, the count value of the timer is less than the timer value.

[0042] like Figure 1 As shown, Figure 1 A scenario diagram of a registration network provided for an embodiment of the present application. In an embodiment of the present application, the first LTE cell and the second LTE cell are areas covered by two different base stations, and it is proposed that the first LTE cell and the second LTE cell are both LTE cells where the UE can reside, that is, both are LTE cells that meet the residency conditions. When the UE fails to connect to the base station of an LTE cell, it can search for another LTE cell and send an attachment request to the base station of the LTE cell. Each LTE cell has a certain coverage range and capacity, and there may be overlapping areas between different LTE cells, so that smooth switching can be achieved when the user moves with the UE, ensuring the communication quality and connection stability of the user during movement.

[0043] Next, combine Figure 1 The scenario shown is an exemplary description of the method for registering a network provided in an embodiment of the present application. Figure 2 As shown, Figure 2 A timing diagram of a registration network provided in an embodiment of the present application.

[0044] S201: The UE turns on or exits the flight mode and searches for an LTE cell.

[0045] When the UE is turned off, all functions of the UE are turned off, including wireless communication functions, so it cannot connect to any network. When the UE is in flight mode, the UE will actively turn off all wireless communication functions, including cellular networks (such as LTE, 3G, 2G), Wi-Fi and Bluetooth, etc., to avoid interference with aircraft equipment. Therefore, in both cases, the UE is usually unable to connect to any network, communicate or access the Internet. When the UE is turned on or exits flight mode, it is necessary to re-establish a communication connection with the network (such as an LTE network). It is understandable that when the UE first accesses the network, it is also necessary to establish a communication connection with the network.

[0046] The process of UE searching for LTE cells is the process of UE and LTE cells performing time and frequency synchronization, and UE detecting LTE cell identity information. Figure 6 The mobile communication module 140 or the wireless communication module 150 shown performs signal search, scans available frequency bands, and receives signals from surrounding LTE cells to determine the locations and signal qualities of LTE cells around the UE.

[0047] UE can perform cell search through multiple channels, including synchronization channel (Synchronization Channel, SCH), broadcast channel (BCH) and physical downlink control channel (PDCCH). Among them, the synchronization channel is divided into primary synchronization channel (PSCH) and secondary synchronization channel (SSCH), both of which are physical channels. The primary synchronization channel is used to synchronize the UE to the clock and frame structure of the LTE cell, so that the UE can accurately receive LTE signals and determine the identity of the LTE cell. The secondary synchronization channel is also a channel for UE synchronization. The secondary synchronization channel provides additional timing and frequency information to help the UE more accurately estimate the frequency offset and phase offset of the LTE signal so as to better receive the LTE signal under different conditions. The broadcast channel is used to broadcast LTE cell information to the UE, including information such as LTE cell frequency and LTE cell bandwidth. By receiving the information broadcasted by the broadcast channel, the device can understand the basic information of the LTE cell, so that it can start searching and synchronizing to the LTE network.

[0048] In one possible implementation, after the UE is turned on or exits flight mode, the UE scans the preset frequency point (the frequency point is the central frequency that the base station may use) to obtain the signal, and determines whether there is a potential LTE cell based on the obtained signal strength. When the UE receives a signal with a high signal strength at a certain frequency point, the primary synchronization signal (PSS) and the secondary synchronization signal (SSS) of the frequency point are decoded to obtain the clock of the LTE cell and the LTE cell identity. Then, the UE decodes the Master Information Block (MIB) in the broadcast channel to obtain the LTE cell frequency and LTE cell bandwidth. The UE obtains the control format indication (CFI) information through the Physical Control Format Indicator Channel (PCFICH), and determines the number of resource blocks occupied by the Physical Downlink Control Channel (PDCCH) based on the CFI information, and then searches for the physical downlink control channel and decodes the physical downlink control channel to obtain downlink control information (DCI), which includes information such as resource allocation, modulation and coding scheme, transmission power and uplink power control. If the Radio Network Temporary Identity (RNTI) of the system information broadcast is detected as SI-RNTI in the Cyclic Redundancy Check (CRC) of the physical downlink control channel, it means that the subsequent physical downlink shared channel (PDSCH) carries the system information block (SIB). The UE receives and decodes the SIB and reports it to the upper layer protocol stack. The UE continuously receives SIBs until it has collected enough SIBs to understand the information of the LTE cell and complete the cell search process.

[0049] S202: The UE searches for the first LTE cell.

[0050] The first LTE cell is a cell that meets the residency conditions. The residency conditions include: the public land mobile network (PLMN) identifier corresponding to the LTE cell is in the UE's pre-configured PLMN list; the LTE cell is not disabled in the LTE network; the LTE cell is not prohibited or unavailable in the tracking area to which it belongs; and the LTE cell meets the S criterion.

[0051] The S criterion is a cell residency criterion specified by the 3rd Generation Partnership Project (3GPP). The S criterion is a condition used to determine whether a UE should reside in a certain LTE cell. The S criterion requires that the condition for residing in an LTE cell is that Srxlev is greater than 0, that is, the Srxlev of the first LTE cell is greater than 0. The calculation method of Srxlev is as follows:

[0052] Srxlev = RSRP - (Qrxlevmin + Qhyst) - max ((Pmax - UE maximum uplink transmit power), 0);

[0053] Among them, RSRP is the Reference Signal Receiving Power of the LTE cell; Qrxlevmin is the lowest RSRP value that can be accepted by the LTE cell; Qhyst is the bias to prevent the ping-pong effect, which refers to the hysteresis bias value set to prevent the UE from frequently switching between cells; Pmax is the maximum uplink transmit power, which refers to the maximum uplink transmit power allowed by the UE in the LTE cell; the UE maximum uplink transmit power refers to the maximum uplink transmit power supported by the UE hardware. If the UE maximum uplink transmit power is less than Pmax, "max ((Pmax-UE maximum uplink transmit power), 0)" is Pmax and the UE maximum uplink transmit power; if the UE maximum uplink transmit power is greater than or equal to Pmax, "max ((Pmax-UE maximum uplink transmit power), 0)" is 0.

[0054] S203: The UE initiates an attach procedure to the first base station.

[0055] After the UE searches for a suitable LTE cell, that is, searches for the first LTE cell, the UE directly initiates an attachment process to the first base station in the first LTE cell. Attachment refers to the process of the UE registering with the LTE cell.

[0056] The implementation process of the UE initiating the attachment process to the first base station is shown in the following embodiment and will not be repeated here.

[0057] S204: The UE successfully establishes a network connection with the first base station.

[0058] In one possible implementation, the UE receives an attachment acceptance message fed back by the first base station within a first time length. The attachment acceptance message is a signaling message indicating a successful attachment during the UE attachment process, and is sent by the base station to the UE. After the UE initiates the attachment process, Attach Accept is a signal that the base station accepts the UE's attachment request. If the UE receives an attachment acceptance message fed back by the first base station within the first time length, it means that the UE has successfully established a network connection with the first base station. At this point, the UE can start using various services provided by the LTE network. The successful completion of the attachment process means that the UE now has a valid Evolved Packet System (EPS) session in the LTE network and can perform normal data communications. This also means that the UE can now be tracked and managed so that when there is downlink data transmission, the LTE network can find and transmit data to it. The first time length is the time limit for the attachment process specified by the LTE network.

[0059] In another possible implementation, the attach accept message carries configuration information, such as a temporary identity (Globally Unique Temporary Identity, GUTI) assigned by the base station to the UE, a tracking area identity list (Tracking Area Identity list, TAI list) where the UE is allowed to reside, and quality of service (Quality of Service, QoS) parameters, etc. After receiving the attach accept message fed back by the first base station, the UE can update the UE-related configuration according to the configuration information.

[0060] When the UE successfully establishes a network connection with the first base station, the UE accesses the LTE network and can use related network services.

[0061] S205: The UE fails to establish a network connection with the first base station.

[0062] In a possible implementation, the UE receives an attachment rejection message fed back by the first base station within the first time length. The attachment rejection message is a signaling message indicating an attachment failure during the UE attachment process, and is sent by the base station to the UE to indicate rejection of the UE's attachment request. After the UE initiates an attachment request, the base station (or LTE network) may be unable to accept the UE's attachment request due to some circumstances, and in this case, an attachment rejection message is sent to the UE.

[0063] In another possible implementation, the attachment rejection message carries relevant information of the rejection reason to inform the UE of the reason why the attachment request was rejected. These reasons may include, but are not limited to: authentication failure (when the UE's identity information cannot pass authentication or does not meet the expectations of the base station, the base station will reject the attachment request), service rejection (the base station may be temporarily unable to provide services due to some reasons, such as network congestion or maintenance, resulting in rejection of the UE's attachment request), UE capability unsupported (if the UE's capabilities cannot meet the requirements of the base station, such as not supporting specific functions or protocols, the base station may reject the attachment request) and security policy restrictions (the base station may reject the attachment request in certain situations based on security policy considerations).

[0064] In another possible implementation, the UE does not receive feedback from the first base station within the first time length. The first time length is the same as the first time length in the above embodiment, and the first time length is the limited time for the attachment process specified by the LTE network. When the time for the attachment process exceeds the first time length, it is considered that the attachment has failed. Even if the UE receives an attachment acceptance message sent by the first base station after exceeding the first time length, it will be considered that the network connection has failed to be established and step S206 will continue to be executed. By setting the first time length as a limitation, it is avoided that the UE waits for a long time for the feedback from the first base station, resulting in the overall network registration time being too long. When the time for the attachment process exceeds the first time length, it is directly determined that the network connection has failed, and the next network registration is performed as soon as possible, thereby shortening the overall network registration time, reducing the user waiting time, and improving the user experience.

[0065] When the UE fails to establish a network connection with the first base station, the UE continues to execute step S206 to search for an LTE cell again.

[0066] S206: The UE searches for LTE cells.

[0067] If the UE receives an attach rejection message fed back by the first base station within the first time length, or does not receive feedback from the first base station within the first time length, it indicates that the UE fails to connect to the first LTE cell, and the UE searches for other suitable LTE cells again. Step S206 can refer to the implementation process of searching for LTE cells in step S201.

[0068] S207: The UE searches for a second LTE cell.

[0069] The second LTE cell is a cell that meets the camping condition. For details, please refer to step S202.

[0070] S208: The UE initiates an attach procedure to the second base station.

[0071] The second base station is a base station in the second LTE cell. In the related art, after searching for the second LTE cell, the UE needs to wait for a long time before initiating an attachment process to the second base station. For example, after searching for the second LTE cell, the UE needs to wait for 15 seconds before initiating an attachment process.

[0072] In a possible implementation, after the UE searches for the second LTE cell, it does not need to wait, and can immediately initiate an attachment process to the second base station, thereby omitting the waiting time and increasing the frequency of UE attachment.

[0073] In another possible implementation, after waiting for the first preset time length since the last time the attachment failure was determined and the UE searches for the second LTE cell, the attachment process is sent to the second base station. The first preset time length is less than the first time length, and the first time length is the interval between the first time point and the second time point specified by the LTE network. The first time point is the time point when the Nth UE attachment failure to the LTE cell is determined, and the second time point is the time point when the N+1th UE initiates the attachment process to the LTE cell. The starting time points of the first time length and the first preset time length are both the time points when the last UE attachment failure to the LTE cell is determined. N is an integer greater than 0.

[0074] As an example, the first preset time length is set to 5 seconds, and the time point when the UE fails to attach to the first LTE cell is determined to be 12:11:05. If the UE searches for the second LTE cell at 12:11:07, it needs to wait until 12:11:10 to initiate the attachment process to the second LTE cell. If the UE searches for the second LTE cell at 12:11:12, it can directly initiate the attachment process to the second LTE cell at 12:11:12.

[0075] In the embodiment of the present application, by setting a first preset time length that is less than the first time length, the waiting time for the UE to initiate the attachment process can be shortened, thereby shortening the waiting time of the user. In addition, by setting the first preset time length, the UE is prevented from immediately initiating an attachment process to the searched second base station after failing to attach to the first base station, thereby avoiding being judged as malicious attachment or malicious registration by the LTE network.

[0076] For the implementation process of the UE initiating the attachment procedure to the second base station, reference may be made to step S203.

[0077] As shown in the above steps S201-S208, when the UE fails to attach to the first LTE cell, it continues to search for other suitable LTE cells, and after searching for a suitable second LTE cell, it immediately or after waiting for a short time initiates the attachment process to the second LTE cell to register with the network. There is no need to wait for a long time before sending an attachment request to the second LTE cell, which shortens the time interval between two adjacent attachment requests, effectively reducing the user's waiting time and improving the efficiency of network access.

[0078] For the UE in the above embodiment of the present application, the embodiment of the present application also provides a software architecture of the UE. Figure 3 As shown, Figure 3 A software architecture diagram of an electronic device provided in an embodiment of the present application.

[0079] The software architecture is divided into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In the embodiment of the present application, the software architecture can be divided into a non-access layer (NAS) and an access layer (AS).

[0080] The non-access layer includes the EPS Mobility Management (EMM) module, which includes the registration module, T3411 timer, and T3410 timer.

[0081] The access layer includes the Radio Resource Control (RRC) module.

[0082] The EMM module is an important part of the LTE network responsible for handling the functions and procedures related to mobility between the UE and the network. The EMM module is used to manage the UE's LTE cell search, LTE cell attachment, LTE cell reattachment, and UE location update and other mobility-related operations. EMM is a key component of the Evolved Packet System (EPS). Through the EMM module, users can achieve smooth communication and efficient network resource management in the LTE network.

[0083] EMM is used to manage the UE's network registration process, such as the initial attachment process and the subsequent reattachment process. When EMM searches for a suitable LTE cell, it sends an attachment request to the RRC module in the access layer. EMM is also used to handle the network connection continuity of the UE when switching between different cells. When the UE's location changes, the latest location information is notified to the LTE network. In addition, when the UE's capability information, such as supported algorithms, DRX paging cycle length, etc., changes, the LTE network is also notified through location updates.

[0084] The timing trigger condition of the T3411 timer (which may also be referred to as the timer in the embodiment of the present application) is that the T3410 timer times out or the EMM module receives an Attach reject during the period when the T3410 timer has not timed out. The T3411 timer is a timer used in the LTE network to control the waiting time of the UE in the Detach state (i.e., not connected to the network). When the UE is in the Detach state, the T3411 timer controls how long the UE attempts to reconnect to the network. In one implementation, the LTE network configures the timer value of the T3411 timer in the SIB to indicate how long the UE needs to wait after a failure to register with the network before trying to reconnect to the network, that is, the timer value of the T3411 timer is the first time length. When the timer value of the T3411 timer is equal to the first time length, it indicates that the T3411 timer has timed out.

[0085] In a possible implementation, the timer value of the T3411 timer may be set to a first time length, and the count value of the T3411 timer is used to record the time length that has passed since the last time the network registration failure was determined.

[0086] In another possible implementation, the timer value of the T3411 timer can be set to a private value of the electronic device, that is, a time length preset inside the electronic device. The private value of the electronic device is smaller than the timer value of the timer specified by the network, that is, the private value of the electronic device is smaller than the first time length.

[0087] The timing trigger condition of the T3410 timer is that the EMM module sends an Attach request to the RRC module.

[0088] When the EMM module sends an Attach request to the RRC module of the access layer, the T3410 timer starts timing. If the EMM module receives an Attach reject during the T3410 timer, the T3410 timer stops timing and is cleared, and the T3411 timer starts timing; if the EMM module receives an Attach accept during the T3410 timer, the T3410 timer stops timing and is cleared, and the T3411 timer does not take any action; if the T3410 timer times out, the T3410 timer stops timing and is cleared, and the T3411 timer starts timing. When the EMM module searches for a new LTE cell, it can directly send an Attach request to the RRC module and interrupt the T3411 timer directly through the registration module, and at the same time the T3410 timer starts timing; or, when the EMM module searches for a new LTE cell and the T3410 timer exceeds the first preset time length, it sends an Attach request to the RRC module and interrupts the T3411 timer through the registration module, and at the same time the T3410 timer starts timing.

[0089] The RRC module is used to receive the Attach accept sent by the EMM module and establish an RRC connection with the base station of the LTE cell. The RRC module ensures the effectiveness and reliability of the wireless link by managing the allocation and control of wireless resources, and provides a communication interface between the EMM module and the base station. As some examples, the RRC module is used to establish and release the connection between the UE and the base station; the RRC module is used to configure and manage the wireless resources of the UE in the LTE network, such as allocating frequency bands, adjusting transmission power, and setting transmission modes.

[0090] The registration module is used to receive an interrupt instruction sent by the EMM module, stop the timing of the T3411 timer and clear the T3411 timer. As an implementation method, after receiving the interrupt instruction, the registration module immediately stops the timing of the T3411 timer and clears the T3411 timer; as another implementation method, after receiving the interrupt instruction and determining that the timing of the T3411 timer is greater than or equal to the first preset time length, the registration module stops the timing of the T3411 timer and clears the T3411 timer.

[0091] Next, in conjunction with the software architecture provided in the embodiment of the present application, the above network registration method is described from the software level. Figure 4 As shown, Figure 4 Another timing diagram of network registration provided in an embodiment of the present application. In an embodiment of the present application, the timer value of the T3411 timer is a first time length.

[0092] S401: The EMM module searches for the first LTE cell.

[0093] When the UE needs to access the LTE network, the EMM module searches for surrounding LTE cells and determines whether the LTE cells meet the conditions according to the residence conditions. The first LTE cell meets the residence conditions.

[0094] S402: The EMM module sends an attach request to the RRC module, and the T3410 timer starts timing.

[0095] An Attach request is a message sent by a UE to a base station when it attempts to access an LTE network. The Attach request is used to request the establishment of a connection and complete the attachment process. The Attach request may include UE identification information (UE identification information is used to indicate a unique UE, and UE identification information may be, for example, an International Mobile User Identity or a Temporary Mobile User Identity) and LTE cell identification information (such as a Physical Cell Identity (PCI), a base station identifier (Cell Identifier, Cell ID)). The EMM module sends an Attach request to the RRC module, and establishes a connection with a base station in the LTE cell through the RRC module.

[0096] When the EMM module sends an Attach request to the RRC module, the T3410 timer in the EMM module starts counting and records the time consumed by the attachment process. The timer value of the T3410 timer is set according to the time limit of the attachment process. If the T3410 timer times out, it indicates that the attachment has failed.

[0097] S403: The RRC module initiates a network connection establishment process to the first base station.

[0098] After receiving the Attach request, the RRC module may send a request to the first base station to establish a connection according to the LTE cell identification information in the Attach request.

[0099] S404: The RRC module sends an attach receive message to the EMM module before the T3410 timer expires.

[0100] If the RRC module successfully establishes a network connection with the first base station before the T3410 timer expires, the RRC module feeds back an attachment reception message to the EMM module.

[0101] The Attach accept message is used to indicate the acceptance of the Attach request. By sending Attach accept to the EMM module, the EMM module is notified that the network connection has been successfully established. Attach accept can include EPS connection parameters (such as security parameters and QoS parameters), Temporary Mobile Subscriber Identity (TMSI), and EPS Mobility Management Entity (MME) address. TMSI is used to identify the UE in the subsequent communication process. TMSI is a temporary identifier that does not directly expose the user's true identity and can protect the user's privacy. The MME address is used to indicate which MME the UE needs to contact in the next communication. MME is the core network node responsible for managing user mobility in the LTE network.

[0102] Before the T3410 timer times out, it indicates that the time consumed by the current attachment process is still within the limited time. Therefore, before the T3410 timer times out, if the EMM module receives the Attach accept, it indicates that the attachment is successful and the UE achieves network registration.

[0103] S405: The RRC module sends an attach reject message to the EMM module before the T3410 timer expires.

[0104] If the RRC module fails to establish a network connection with the first base station before the T3410 timer expires, the RRC module feeds back an attach reject message to the EMM module.

[0105] The Attach reject message (Attach reject) is used to indicate that the Attach request was not accepted. By sending Attach reject to the EMM module, the EMM module is notified that the network connection was not successfully established. Attach reject can include a rejection reason to inform the EMM module why the connection request was rejected. By feeding back Attach reject to the EMM module through the RRC module, feedback can be provided to the UE in a timely manner so that the EMM module can take appropriate measures, such as trying to reconnect or contacting the network operator for support.

[0106] S406: The T3410 timer times out, the EMM module starts searching for the second LTE cell, and the T3411 timer starts timing.

[0107] After the T3410 timer times out, the attachment is considered to have failed, and the EMM starts searching for a second LTE cell. When the T3410 timer times out, the T3411 timer starts counting.

[0108] The above steps S404-S406 are three parallel situations and are not executed sequentially.

[0109] S407: The T3411 timer does not time out, and the EMM module searches for the second LTE cell.

[0110] If the second LTE cell is found before the T3411 timer expires, step S408 is performed. The second LTE cell is an LTE cell that meets the camping condition.

[0111] S408: The EMM module sends an attach request to the RRC module and interrupts the T3411 timer, and the T3410 timer starts timing.

[0112] After the EMM module searches for the second LTE cell, it sends an Attach request to the RRC module again, triggering the T3410 timer to start timing, and interrupts the timing of the T3411 timer through the registration module and clears it.

[0113] In a possible implementation, after the EMM module searches for the second LTE cell, it immediately sends an Attach request to the RRC module, uses the registration module to interrupt the timing of the T3411 timer and clear it to zero, and triggers the T3410 timer to start timing. There is no need to wait for the T3411 timer to time out before sending the Attach request to the RRC module, which shortens the waiting time and improves the registration efficiency.

[0114] In another possible implementation, when the EMM module searches for the second LTE cell, if the count value of the T3411 timer is greater than or equal to the first preset time length, an Attach request is sent to the RRC module, and the registration module is used to interrupt the timing of the T3411 timer and clear it. The first preset time length is less than the timer value of the T3411 timer.

[0115] In another possible implementation, when the EMM module searches for the second LTE cell, if the count value of the T3411 timer is less than the first preset time length, an Attach request is sent to the RRC module when the T3411 timer counts to the first preset time length, and the registration module is used to interrupt the timing of the T3411 timer and clear it to zero.

[0116] In the embodiment of the present application, after searching for the second LTE cell, wait for a short time before sending the Attach request to the RRC module, so as to avoid the RRC module establishing a network connection with the base station multiple times in a short period of time and being judged as a malicious registration by the LTE network. In addition, the first preset time length is less than the first time length. Compared with waiting until the T3411 timer times out before sending the Attach request, waiting only for the first preset time length can shorten the waiting time and improve the registration efficiency.

[0117] In another possible implementation, a preset timer with a timer value of a first preset time length may be set. The timer value of the T3411 timer is the first time length, and the first preset time length is less than the first time length. When executing step S406, the T3411 timer starts timing synchronously with the preset timer. When the preset timer times out and a second LTE cell is searched, the T3411 timer is interrupted and network registration is initiated to the second LTE cell.

[0118] As an example, when the second LTE cell is searched before the preset timer times out, it is necessary to wait until the preset timer times out before interrupting the T3411 timer and initiating network registration to the second LTE cell. As an example, if the second LTE cell is not searched before the preset timer times out, the second LTE cell will continue to be searched after the preset timer times out, and when the second LTE cell is searched, the T3411 timer will be interrupted and a network registration will be initiated to the second LTE cell.

[0119] It should be noted that in the embodiment described in step S408, the T3411 timer is in a non-timeout state.

[0120] S409: The T3411 timer times out, and the EMM module searches for the second LTE cell.

[0121] If the second LTE cell is found after the T3411 timer times out, step S410 is performed. The second LTE cell is an LTE cell that meets the camping condition.

[0122] S410: The EMM module sends an attach request to the RRC module, and the T3410 timer starts timing.

[0123] After the EMM module searches for the second LTE cell, it sends an Attach request to the RRC module, triggering the T3410 timer to start timing and clearing the T3411 timer.

[0124] The above steps S407-S408 and S409-S410 are two parallel situations and are not executed one after another.

[0125] If the RRC module receives the Attach request, it initiates a network connection establishment process to the second base station in the second LTE cell, and performs subsequent steps with reference to steps S404-S410.

[0126] Through the above steps S401-S410, when the RRC module fails to establish a connection with the base station for the first time, if the EMM module searches for other suitable LTE cells before the T3411 timer expires, the RRC module immediately initiates a network connection process to the base station of the LTE cell, or waits for a short time before initiating a network connection process to the base station of the LTE cell, thereby shortening the time interval between two adjacent attachment processes, improving network attachment efficiency, and enhancing user experience.

[0127] In another possible implementation, the EMM module can choose to use the timer value of the T3411 timer provided by the LTE network (i.e., set the timer value of the T3411 timer to the first time length) or use the timer value of the private T3411 timer inside the electronic device (i.e., set the timer value of the T3411 timer to the private value of the electronic device) through the settings in the non-volatile memory (NV). In an embodiment of the present application, the EMM module shortens the time interval for reconnecting to the network by adjusting the timer value of the T3411 timer to a private value of the electronic device that is less than the first time length, so as to provide a better user experience. If the EMM module adjusts the timer value of the T3411 timer to a private value of the electronic device that is less than the first time length, after executing the above step S407 to search for the second LTE cell, it can wait until the T3411 timer times out before sending an Attach request to the RRC module, which can also achieve the effect of shortening the network registration time.

[0128] As a possible implementation manner, if a second LTE cell that meets the residency conditions is searched before the T3411 timer times out, the network registration is initiated to the second cell after the T3411 timer times out.

[0129] As another possible implementation, if the T3411 timer times out, after searching for the second LTE cell, network registration is initiated with the second LTE cell.

[0130] Based on steps S203 and S403 in the above embodiment, the embodiment of the present application introduces the implementation process of the UE initiating an attachment process to the base station and the RRC module initiating a network connection establishment process in combination with the software structure. Figure 5 , Figure 5 A schematic diagram of an attachment process provided in an embodiment of the present application.

[0131] S501: The EMM module sends an attach request to the RRC module.

[0132] The Attach request is used to request to attach to the LTE network. The EMM module packages the UE identification information and the LTE cell identification information into an Attach request and sends it to the RRC module.

[0133] S502: The RRC module sends an RRC connection request message to the base station.

[0134] The RRC connection request message (RRC Connect request) includes the protocol version supported by the UE and UE identification information, etc. After the RRC module receives the attachment request from the EMM module, it encapsulates it into an RRC connection request message and sends the message to the base station through the physical layer to request to establish an RRC connection.

[0135] S503: The base station sends an RRC connection establishment message to the RRC module.

[0136] The RRC connection setup message (RRC Connect setup) includes the configuration parameters required to establish the RRC connection, such as the connection identifier, connection mode, etc. After the base station receives the RRC connection request message sent by the RRC module, the base station processes it according to the received request information, configures the corresponding wireless resources, and packages the relevant parameters for establishing the connection into an RRC connection setup message and sends it to the RRC module.

[0137] S504: The RRC module sends an RRC connection completion message to the base station.

[0138] The RRC connection complete message includes confirmation information and possible additional data, such as UE location information. After the RRC module receives the RRC connection establishment message from the base station, it verifies the relevant parameters and confirms that the connection is established correctly, and then packages the confirmation information into an RRC connection complete message and sends it to the base station.

[0139] S505: The base station sends an authentication request to the EMM module.

[0140] The authentication request (Auth request) includes the data required for identity authentication, such as random numbers. The base station sends an authentication request to the EMM module to authenticate the user. After the base station receives the RRC connection completion message sent by the EMM module, it starts to authenticate the UE. The base station generates a random number and packages it into an authentication request and sends it to the EMM module.

[0141] S506: The EMM module sends an authentication response message to the base station.

[0142] The authentication response message (Auth respond) includes a response to the random number, which is usually an encrypted result and is used to verify the identity of the UE. After the EMM module receives the authentication request from the base station, it processes the random number using algorithms such as the pre-shared key, generates a response and packages it into an authentication response message and sends it to the base station.

[0143] S507: The base station sends a UE capability query message to the RRC module.

[0144] The UE Capability Enquiry message is used to inquire about the capabilities of the UE. The base station sends a UE Capability Enquiry message to the RRC module to obtain the available functions of the UE. After the base station receives the identity authentication response from the UE and determines that the UE's identity is valid, the base station sends a UE Capability Enquiry message to the UE to request the UE's capability information.

[0145] S508: The RRC module sends UE capability information to the base station.

[0146] UE capability information (UECapability Information) includes UE functional information, such as supported LTE frequency bands, maximum transmission rate, supported coding and modulation methods, etc. After receiving the UE capability query message from the base station, the RRC module collects the UE's own capability information (such as supported frequency bands and maximum transmission rate, etc.), and packages it into UE capability information and sends it to the base station.

[0147] S509: The base station sends the network connection result to the RRC module.

[0148] The network connection result is used to indicate the result of the UE registering the network with the LTE cell. The network connection result is used to indicate that the UE successfully registers the network with the LTE cell, or to indicate that the UE fails to register the network with the LTE cell.

[0149] If the above steps S502-S508 are all executed successfully, the base station returns a network connection result indicating that the UE has successfully registered with the LTE cell network to the RRC module; if any of the above steps S502-S508 fails to be executed, the base station returns a network connection result indicating that the UE has failed to register with the LTE cell network to the RRC module.

[0150] S510: The RRC module sends an attach request reception message to the EMM module.

[0151] If the network connection result indicates that the UE has successfully registered with the LTE cell, the RRC module sends an attach request reception message to the EMM module to complete the network registration.

[0152] S511: The RRC module sends an attach request rejection message to the EMM module.

[0153] If the network connection result indicates that the UE fails to register the network with the LTE cell, the RRC module sends an attach request rejection message to the EMM module so that the EMM module continues to search for other LTE cells.

[0154] In one possible implementation, the base station and the RRC module exchange information based on a Side Message Channel (SMC). SMC is an auxiliary channel used to transmit additional management, control information or signaling. In an LTE network, the base station can use SMC to exchange some specific messages with the RRC module to achieve a more flexible and efficient communication process.

[0155] The present application does not impose any special restrictions on the specific form of the above-mentioned electronic device. In this embodiment, the structure of the electronic device can be as follows: Figure 6 As shown, Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0156] like Figure 6 As shown, the electronic device may include a processor 110 , an external memory interface 121 , an internal memory 120 , a subscriber identification module (SIM) card interface 130 , an antenna 1 , an antenna 2 , a mobile communication module 140 , and a wireless communication module 150 .

[0157] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0158] The present application also provides an electronic device, including a memory and a processor, wherein:

[0159] A memory storing instructions; a processor, the processor and the memory are coupled, when the program instructions stored in the memory are executed by the processor, the electronic device executes the method for registering a network described in any of the above embodiments.

[0160] In the embodiment of the present application, the electronic device can be Figure 7 The smartwatch, smartphone, foldable phone, tablet, laptop and shared bicycle shown in the video.

[0161] The embodiment of the present application also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on a terminal, the terminal executes the above-mentioned related method steps to implement the method of registering a network in the above-mentioned embodiment.

[0162] The embodiment of the present application further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the method for registering a network in the above-mentioned embodiment.

[0163] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory so that the chip executes the method of registering a network in the above-mentioned method embodiments.

[0164] Among them, the terminal, computer storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0165] The terms "first", "second", "third", etc. in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.

[0166] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0167] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0168] The technical solution of this embodiment, 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, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, etc., various media that can store program codes.

[0169] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for registering a network, characterized in that: Applied to electronic equipment, the method comprises: When network registration with the first cell fails, starting a T3411 timer for timing; a timer value of the T3411 timer is a first time length; and a timer value of the T3411 timer is specified by the LTE network; If a second cell meeting the camping condition is searched, the count value of the T3411 timer is greater than or equal to the first preset time length, and the count value of the T3411 timer is less than the first time length, the T3411 timer is stopped and network registration is initiated to the second cell, and the first preset time length is less than the first time length; If the count value of the T3411 timer is less than the first preset time length when the second cell is searched, wait until the count of the T3411 timer reaches the first preset time length, stop the T3411 timer and initiate network registration with the second cell.

2. The method according to claim 1, characterized in that While stopping the T3411 timer and initiating network registration for the second cell, the method further includes: The T3410 timer is started for timing, and a registration failure message is received before the T3410 timer times out or after the T3410 timer times out, the T3411 timer is started for timing.

3. An electronic device, comprising: A memory storing instructions; A processor is coupled to the memory, and when the program instructions stored in the memory are executed by the processor, the electronic device executes the method for registering a network as claimed in claim 1 or 2.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the electronic device, the method for registering a network as claimed in claim 1 or 2 is implemented.

Citation Information

Patent Citations

  • Method, device and system for accessing mobile terminal to LTE network

    CN114071643A

  • Method and device for recovering call service

    CN116800722A