Network access mode switching methods, devices, storage media and electronic equipment
By configuring preset parameter values in the terminal device to control the timer, the problems of 4G network access failure and excessive power consumption caused by poor signal were solved, and stable communication and energy-saving network access mode switching were achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-06
- Publication Date
- 2026-03-10
AI Technical Summary
When the terminal device has a poor signal, it cannot access the 4G network, resulting in voice service failure, and frequent attempts to access the 4G network lead to excessive power consumption.
The timer is controlled by configuring preset parameter values. When the timer is triggered and the preset parameter values meet the activation conditions, the 4G access mode is unblocked, allowing the terminal device to access the 4G network. The timer is also reset when necessary to avoid frequent access attempts.
It avoids voice service failures and reduces the power consumption of terminal devices, ensuring normal communication even in poor signal conditions.
Smart Images

Figure CN115707048B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, in particular to a network access mode switching method, a network access mode switching device, a computer readable storage medium and an electronic device. BACKGROUND
[0002] A user can use a terminal device to communicate with a base station, wherein the base station can be a 4G base station or a 5G base station. If the terminal device can establish a connection with the 5G base station, the terminal device can use the 5G network to realize communication. If the terminal device establishes a connection with the 4G base station, the terminal device can use the 4G network to realize communication.
[0003] However, in actual application, the 5G network itself does not support voice service (i.e., VoLTE service), and the voice service needs to be realized by falling back to the 4G network according to the Evolved Packet System Fallback (EPS Fallback) mode. Based on the fact that the terminal device accesses the 4G network, if the terminal device is in a poor signal area and cannot connect to the 4G network multiple times, a disable timer will be triggered to start timing. During the timing process, the terminal device disables the 4G network and searches for the 5G network. After the terminal device searches for and accesses the 5G network, the terminal device can perform the voice service according to the Evolved Packet System Fallback (EPS Fallback) mode.
[0004] During the process in which the terminal device disables the 4G network and does not search for the 5G network, the terminal device searches for the 2G / 3G network. If the search fails, the voice service will fail.
[0005] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present application, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY
[0006] The present application aims to provide a network access mode switching method, a network access mode switching device, a computer readable storage medium and an electronic device. The preset parameter value configured in the terminal device can be used to control the timer. When the timer is triggered to take effect but the preset parameter value meets the enablement condition, the disablement of the 4G access mode can be removed, so that the terminal device can access the 4G network based on the 4G access mode, thereby avoiding the problem of voice service failure caused by the inability to access any network.
[0007] Other characteristics and advantages of the present application will become apparent from the following detailed description, or will be learned by practice of the present application.
[0008] According to an aspect of the present application, a network access mode switching method is provided, applied to a terminal device, the method comprising:
[0009] When the timer corresponding to the 4G access mode is triggered, the 4G access mode is disabled;
[0010] If it is detected that the preset parameter value in the terminal device meets the effective condition, the timer is disabled and the 4G access mode is started.
[0011] In an exemplary embodiment of the present application, after the 4G access mode is disabled and before it is detected that the preset parameter value in the terminal device meets the effective condition, the method further comprises:
[0012] sending a first registration message to the 5G base station, so that the 5G base station forwards the first registration message to a 5G mobile management network element; wherein the first registration message is used to indicate that the terminal device does not support the 4G access mode;
[0013] receiving a first feedback message sent by the 5G mobile management network element; wherein the first feedback message is used to indicate that the voice service corresponding to the 3GPP protocol is not supported;
[0014] disabling the 5G access mode and querying the 2G network and the 3G network;
[0015] If the query fails, the 5G access mode is started and the preset parameter value is determined.
[0016] In an exemplary embodiment of the present application, after the 4G access mode is started, the method further comprises:
[0017] sending a second registration message to the 5G base station, so that the 5G base station forwards the second registration message to the 5G mobile management network element; wherein the second registration message is used to indicate that the terminal device supports the 4G access mode;
[0018] receiving a second feedback message sent by the 5G mobile management network element; wherein the second feedback message is used to indicate that the voice service corresponding to the 3GPP protocol is supported.
[0019] In an exemplary embodiment of the present application, the method further comprises:
[0020] When it is detected that the preset parameter value is equal to a first numerical value, it is determined that the preset parameter value meets the effective condition;
[0021] When it is detected that the preset parameter value is equal to a second numerical value, it is determined that the preset parameter value does not meet the effective condition.
[0022] In an exemplary embodiment of the present application, after the 4G access mode is started, the method further comprises:
[0023] If the 4G network is switched to the 5G network, the preset parameter value is reset from the first value to the second value.
[0024] In an example embodiment of the present application, before the preset parameter value in the terminal device is detected to satisfy the taking effect condition, the method further includes:
[0025] querying the preset parameter stored in the terminal device to obtain the preset parameter value corresponding to the preset parameter.
[0026] In an example embodiment of the present application, after the timer is disabled, the method further includes:
[0027] When the timer is triggered again, the disable duration corresponding to the timer is reset to the preset value, and the timer is counted based on the reset timer.
[0028] If it is detected that the preset parameter value does not satisfy the taking effect condition, the 4G access mode is disabled until the cumulative counting duration reaches the threshold.
[0029] According to an aspect of the present application, a network access mode switching device is provided, comprising:
[0030] The disabling unit is configured to disable the 4G access mode when the timer corresponding to the 4G access mode is triggered to take effect.
[0031] The disabling unit is further configured to disable the timer when it is detected that the preset parameter value in the terminal device satisfies the taking effect condition.
[0032] The starting unit is configured to start the 4G access mode.
[0033] In an example embodiment of the present application, the device further includes:
[0034] The message sending unit is configured to send a first registration message to the 5G base station after the 4G access mode is disabled by the disabling unit, and before it is detected that the preset parameter value in the terminal device satisfies the taking effect condition, so that the 5G base station forwards the first registration message to the 5G mobile management network element; wherein the first registration message is used to represent that the terminal device does not support the 4G access mode.
[0035] The message receiving unit is configured to receive a first feedback message sent by the 5G mobile management network element; wherein the first feedback message is used to indicate that the voice service corresponding to the 3GPP protocol is not supported.
[0036] The disabling unit is further configured to disable the 5G access mode.
[0037] The querying unit is configured to query the 2G network and the 3G network.
[0038] The starting unit is further configured to start the 5G access mode and determine the preset parameter value when the query unit fails to query.
[0039] In an example embodiment of the present application, the message sending unit is further configured to send a second registration message to the 5G base station after the starting unit starts the 4G access mode, so that the 5G base station forwards the second registration message to the 5G mobile management network element; and the second registration message is used to indicate that the terminal device supports the 4G access mode.
[0040] The message receiving unit is further configured to receive a second feedback message sent by the 5G mobile management network element, and the second feedback message is used to indicate that the voice service corresponding to the 3GPP protocol is supported.
[0041] In an example embodiment of the present application, the device further comprises:
[0042] The effective determination unit is configured to determine that the preset parameter value meets the effective condition when it is detected that the preset parameter value is equal to the first value, and determine that the preset parameter value does not meet the effective condition when it is detected that the preset parameter value is equal to the second value.
[0043] In an example embodiment of the present application, the device further comprises:
[0044] The resetting unit is configured to reset the preset parameter value from the first value to the second value if the terminal device is switched from the 4G network to the 5G network after the starting unit starts the 4G access mode.
[0045] In an example embodiment of the present application, the device further comprises:
[0046] The obtaining unit is configured to obtain the preset parameter value corresponding to the preset parameter by querying the preset parameter stored in the terminal device before the disabling unit detects that the preset parameter value in the terminal device meets the effective condition.
[0047] In an example embodiment of the present application, the resetting unit is further configured to reset the disabled time length of the timer to the preset value and count based on the reset timer when the timer is triggered again after the disabling unit disables the timer.
[0048] The disabling unit is further configured to disable the 4G access mode until the accumulated counting time length reaches the threshold value when it is detected that the preset parameter value does not meet the effective condition.
[0049] According to an aspect of the present application, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the method of any one of the above by executing the executable instructions.
[0050] According to an aspect of the present application, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the method of any one of the above.
[0051] According to an aspect of the present application, a computer program product or a computer program is provided, and the computer program product or the computer program comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the method provided in the various optional implementation manners described above.
[0052] The exemplary embodiments of the present application can have the following partial or all beneficial effects:
[0053] The network access mode switching method provided by the example embodiment of the present application, specifically, when the timer corresponding to the 4G access mode is triggered to take effect, the terminal device can disable the 4G access mode; when it is detected that the preset parameter value in the terminal device satisfies the taking effect condition, the timer is disabled and the 4G access mode is started. According to the above scheme description, in one aspect of the present application, the preset parameter value configured in the terminal device can be used to control the timer. When the timer is triggered to take effect but the preset parameter value satisfies the taking effect condition, the 4G access mode can be disabled, so that the terminal device can access the 4G network based on the 4G access mode, and the problem of voice service failure caused by the inability to access any network can be avoided. In another aspect of the present application, the 4G access mode can be disabled in time based on the preset parameter value that takes effect, and the problem of excessive power consumption caused by the terminal device frequently attempting to access the 4G network due to access failure can be avoided.
[0054] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS
[0055] The drawings incorporated into the specification and forming a part of the specification, show embodiments consistent with the present application, and together with the specification, serve to explain the principles of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0056] Figure 1 The structure schematic diagram of a computer system of a terminal device suitable for implementing the embodiments of the present application is shown;
[0057] Figure 2 The flowchart of the network access mode switching method according to one embodiment of the present application is schematically shown;
[0058] Figure 3 a flow chart of a network access mode switching method according to another embodiment of the present application is schematically shown;
[0059] Figure 4 a sequence diagram of a network access mode switching method according to an embodiment of the present application is schematically shown;
[0060] Figure 5 a structural block diagram of a network access mode switching apparatus according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0061] Example implementations will now be described more fully with reference to the accompanying drawings. Example implementations can be implemented in any
[0062] Moreover, the drawings represent a simplified schematic illustration of the application and are not necessarily to scale. Identical reference numerals in different drawings denote the same or similar components. Repetitive description of like elements employed in the different drawings can be omitted for sake of brevity. Some of the block diagrams shown in the drawings are functional entities that do not necessarily have to correspond to physically or logically independent entities. These functional entities can be implemented in software, or in one or more hardware modules or integrated circuits, or in different network and / or processor apparatuses and / or microcontroller apparatuses.
[0063] Figure 1 A structural schematic diagram of a computer system of a terminal device suitable for implementing embodiments of the present application is shown.
[0064] It should be noted that, Figure 1 The computer system 100 of the terminal device shown is only an example and should not impose any limitation on the functions and scope of use of embodiments of the present application.
[0065] As Figure 1As shown, the computer system 100 includes a central processing unit (CPU) 101 which can perform various appropriate actions and processes in accordance with programs stored in a read only memory (ROM) 102 or programs loaded from a storage section 108 into a random access memory (RAM) 103. In the RAM 103, various programs and data required for the operation of the system are also stored. The CPU 101, the ROM 102, and the RAM 103 are connected to each other through a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.
[0066] Connected to the I / O interface 105 are an input section 106 including a keyboard, a mouse, etc.; an output section 107 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 108 including a hard disk, etc.; and a communication section 109 including a network interface card such as a LAN card, a modem, etc. The communication section 109 performs communication processing via a network such as the Internet. A drive 110 is also connected to the I / O interface 105 as necessary. A removable recording medium 111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 110 as necessary, so that a computer program read therefrom is installed into the storage section 108 as necessary.
[0067] In particular, according to embodiments of the present application, the processes described below with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for executing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 109, and / or installed from the removable recording medium 111. When the computer program is executed by the central processing unit (CPU) 101, various functions defined in the methods and apparatuses of the present application are performed.
[0068] When network coverage or configuration is abnormal, a terminal device usually cannot normally camp on an LTE (Long Term Evolution) network. For example, under a certain LTE cell, the terminal initiates Attach camping or Tracking Area Update (TAU), and during the random access process, a certain msg message (such as msg2) cannot be received, which may affect the terminal to normally camp on the LTE network. For another example, after establishing a Radio Resource Control (RRC) connection through random access, the LTE network does not continue to initiate subsequent operations such as authentication, but directly releases the RRC connection, which may affect the terminal to normally camp on the LTE network. If the terminal repeatedly initiates Attach or TAU because of the above abnormal situations, and the number of failures reaches 5 times, the 4G access mode corresponding timer will be started under the condition of meeting the starting condition. After the 4G access mode corresponding timer is started, only the LTE network can be restored after the timer expires. Before the timer expires, the terminal device cannot perform voice services, which causes many inconveniences to users.
[0069] To solve this problem, based on the terminal device system shown in Figure 1 The embodiment of the present application discloses a network access mode switching method. As shown in Figure 2 The network access mode switching method can be applied to a terminal device, which includes steps S210-S220.
[0070] Step S210: When the 4G access mode corresponding timer is triggered, disable the 4G access mode.
[0071] Step S220: If it is detected that the preset parameter value in the terminal device meets the effective condition, disable the timer and start the 4G access mode.
[0072] It should be noted that the technical solution of the present application can be applied to various communication systems, such as Global System for Mobile Communication (GSM), Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA), General Packet Radio Service (GPRS), Long Term Evolution (LTE), etc.
[0073] The above steps of the present example embodiment are described in more detail as follows.
[0074] Before step S210, the terminal device can receive a system version update request, and when the terminal device detects an acceptance operation, the terminal device can respond to the system version update request, so as to update the system version of the terminal device. The updated system version includes a configured preset parameter (EnableT3402EarlyStop). The preset parameter (EnableT3402EarlyStop) can include multiple states, and the multiple states can be represented by different preset parameter values. The present application does not limit the types of states.
[0075] Preferably, the preset parameter (EnableT3402EarlyStop) can include two states, i.e., an effective state and a disabled state. The effective state can be represented by a first value (e.g., 1), and the disabled state can be represented by a second value (e.g., 2). Based on this, the above method further includes: when it is detected that the preset parameter value is equal to the first value, it is determined that the preset parameter value satisfies the effective condition; and when it is detected that the preset parameter value is equal to the second value, it is determined that the preset parameter value does not satisfy the effective condition. It should be noted that the preset parameter value can be set by an operator.
[0076] Based on this, step S210 can be performed. In step S210, the timer corresponding to the 4G access mode can be represented as a T3402 timer, the counting manner of the T3402 timer is countdown, the T3402 timer corresponds to a preset time length (e.g., 12 min), and when the timer is triggered to be effective, the terminal device can disable the 4G access mode (S1-mode) of the terminal device. The terminal device after disabling the 4G access mode does not have 4G access capability (E-UTRA capability).
[0077] Before step S220 detects that the preset parameter value in the terminal device satisfies the effective condition, the above method further includes: querying a preset parameter (EnableT3402EarlyStop) stored in the terminal device to obtain a preset parameter value corresponding to the preset parameter (EnableT3402EarlyStop). The preset parameter (EnableT3402EarlyStop) is stored in a mobile device (Mobile Equipment, ME) or a universal subscriber identity module (USIM) of the terminal device.
[0078] Then, step S220 can be executed. In step S220, if a preset parameter value (e.g., 1 or 0) in the terminal device is detected to meet the activation condition, the activation condition can be represented by a numerical value (e.g., 1). When the preset parameter value is consistent with the numerical value in the activation condition, it can be determined that the preset parameter value meets the activation condition. When the preset parameter value meets the activation condition, the terminal device can disable the timer and start the 4G access mode. After the 4G access mode is started, the terminal device has 4G access capability (E-UTRA capability).
[0079] Furthermore, after disabling the timer, the above method also includes: when the timer is triggered again, resetting the corresponding disable duration to a preset value (e.g., 12 minutes) and timing based on the reset timer; if the preset parameter value is detected as not meeting the effective conditions, disabling the 4G access mode until the accumulated timing duration reaches the threshold. Specifically, timing based on the reset timer is implemented by counting down the preset value based on the timer.
[0080] It is evident that implementation Figure 2 The method shown can unblock the 4G access mode, allowing terminal devices to access the 4G network and avoiding voice service failures due to the inability to access any network. Furthermore, it can promptly unblock the 4G access mode based on effective preset parameter values, preventing excessive power consumption caused by frequent attempts to access the 4G network due to access failures.
[0081] exist Figure 2 On the basis of, such as Figure 3 As shown, another method for switching network access modes can be implemented, specifically including steps S310 to S380.
[0082] Step S310: When the timer corresponding to the 4G access mode is triggered, disable the 4G access mode.
[0083] Step S320: Send a first registration message to the 5G base station so that the 5G base station forwards the first registration message to the 5G mobile management network element; wherein, the first registration message is used to indicate that the terminal device does not support the 4G access mode.
[0084] Step S330: Receive a first feedback message sent by the 5G mobile management network element; wherein the first feedback message is used to indicate that voice services corresponding to the 3GPP protocol are not supported.
[0085] Step S340: Disable 5G access mode and query 2G and 3G networks.
[0086] Step S350: If the query fails, start the 5G access mode and determine the preset parameter values.
[0087] Step S360: If the preset parameter value in the terminal device is detected to meet the effective conditions, then the timer is disabled and the 4G access mode is started.
[0088] Step S370: Send a second registration message to the 5G base station so that the 5G base station forwards the second registration message to the 5G mobile management network element; wherein, the second registration message is used to indicate that the terminal device supports 4G access mode.
[0089] Step S380: Receive a second feedback message sent by the 5G mobile management network element; wherein the second feedback message is used to indicate support for voice services corresponding to the 3GPP protocol.
[0090] The steps described above in this example implementation will now be explained in more detail.
[0091] Specifically, a 5G base station (gNB) can act as a relay station to forward messages from terminal devices to the 5G mobile management network (MLM). The 5G MLM element belongs to the 5G core network. When the timer corresponding to the 4G access mode is triggered, the 4G access mode can be disabled, and registration with the 5G network can begin. The 5G MLM element can send a first feedback message to the terminal device indicating that it does not support voice services corresponding to the 3GPP protocol; that is, EPS Fallback cannot be implemented at present. Based on this, the terminal device can search for 2G and 3G networks. If no 2G or 3G network is found, the 5G access mode (N1-mode) can be restarted, and the preset parameter value can be checked to see if it is the first value (e.g., 1). If it is, the preset parameter value is deemed to meet the activation condition. This allows the timer to be disabled and the 4G access mode to be started, enabling access to the 4G network.
[0092] Furthermore, the 3GPP protocol in step S380 above is used to characterize a wireless communication industry standard. Following step S380, the process may further include: after switching from a 4G network to a 5G network, resetting the preset parameter value from a first value (e.g., 1) to a second value (e.g., 0). If the preset parameter value = 0, it indicates that the preset parameter is temporarily invalid.
[0093] It is evident that implementation Figure 3 The method shown can unblock the 4G access mode, allowing terminal devices to access the 4G network and avoiding voice service failures due to the inability to access any network. Furthermore, it can promptly unblock the 4G access mode based on effective preset parameter values, preventing excessive power consumption caused by frequent attempts to access the 4G network due to access failures.
[0094] exist Figure 3 On the basis of, such as Figure 4 As shown, parallel network access mode switching methods can be implemented. One scheme includes step S410, and the other scheme includes steps S421 to S427.
[0095] Step S410: When the timer corresponding to the 4G access mode is triggered, the terminal device (UE) disables the 4G access mode. If the preset parameter value in the terminal device is detected to meet the activation condition, the timer is disabled and the 4G access mode is started.
[0096] Step S421: When the timer corresponding to the 4G access mode is triggered, the terminal device (UE) disables the 4G access mode and sends a first registration message to the RAN network element; wherein, the first registration message is used to indicate that the terminal device does not support the 4G access mode.
[0097] Step S422: The RAN network element forwards the first registration message.
[0098] Step S423: The AMF network element sends a first feedback message to indicate that it does not support the voice service corresponding to the 3GPP protocol.
[0099] Step S424: The terminal device (UE) disables the 5G access mode and queries the 2G and 3G networks. If the query fails, the 5G access mode is enabled and the preset parameter value is determined. If the preset parameter value in the terminal device is detected to meet the effective conditions, the timer is disabled and the 4G access mode is enabled.
[0100] Step S425: The terminal device (UE) sends a second registration message to the RAN network element.
[0101] Step S426: The RAN network element forwards the second registration message.
[0102] Step S427: The AMF network element sends a second feedback message to indicate support for the voice service corresponding to the 3GPP protocol.
[0103] The steps described above in this example implementation will now be explained in more detail.
[0104] In one embodiment, for step S410, when the T3402 timer corresponding to the 4G access mode is triggered to be effective, the terminal device (User Equipment, UE) can disable S1-mode, if it is detected that "EnableT3402EarlyStop" = 1 in the terminal device, then disable the T3402 timer and start S1-mode, so that the terminal device (UE) can establish a connection with the E-UTRA (Evolved UMTS Terrestrial Radio Access Network) network element, and then based on the E-UTRA network element and the MME (Mobility Management Entity) network element to carry out the session message transmission based on the 4G network, so as to complete the voice service. Wherein, the E-UTRAN is an evolved UMTS terrestrial radio access network, that is, the mobile communication wireless network in LTE, and the MME is a key control node of the 3GPP protocol LTE access network, responsible for the positioning of the idle mode terminal device (UE), paging process, relay, and can also be represented as a 4G mobility management entity.
[0105] In another embodiment, for steps S421-S427, the terminal device (UE) can disable the S1-mode when the T3402 timer corresponding to the S1-mode is triggered to expire, and send a first registration message to the RAN network element (corresponding to the 5G base station described above) appearing as a radio access network entity, the first registration message can also be represented as a 5G MM capability information element, which contains the specific content "S1 mode not supported", so that the first registration message is used to represent that the terminal device does not support the 4G access mode. Further, the RAN network element can forward the first registration message to the AMF network element for implementing the mobility management function after receiving the first registration message. The AMF network element can generate a corresponding first feedback message and feed back to the terminal device (UE) after receiving the first registration message, and the first feedback message can contain specific characters representing that the voice service based on the 3GPP protocol is not supported. Based on this, the terminal device (UE) can disable the 5G access mode (N1-mode), and query the 2G network and the 3G network, if the query fails, it means that there is no network element related to the 2G network and the 3G network set up by the operator nearby, then the terminal device (UE) can restart the N1-mode and determine the preset parameter value, if the preset parameter value is 1, disable the T3402 timer and start the S1-mode. Further, the terminal device (UE) can send a second registration message to the RAN network element again, the second registration message can also be represented as a 5G MM capability information element, which contains the specific content "S1 mode supported", so that the second registration message is used to represent that the terminal device supports the 4G access mode. The RAN network element can forward the second registration message to the AMF network element after receiving the second registration message, and the AMF network element can generate a corresponding second feedback message and feed back to the terminal device (UE) after receiving the second registration message. Based on this, the terminal device (UE) can establish a connection with the E-UTRA (Evolved UMTS Terrestrial Radio Access Network) network element, and then perform session message transmission based on the 4G network based on the E-UTRA network element and the MME (Mobility Management Entity) network element, thereby completing the voice service.
[0106] It should be noted that in Figure 4 , the RAN network element and the AMF network element belong to the 5G network element, and the E-UTRA network element and the MME network element belong to the 4G network element.
[0107] It can be seen that the implementation Figure 4The method shown can unblock the 4G access mode, allowing terminal devices to access the 4G network and avoiding voice service failures due to the inability to access any network. Furthermore, it can promptly unblock the 4G access mode based on effective preset parameter values, preventing excessive power consumption caused by frequent attempts to access the 4G network due to access failures.
[0108] like Figure 5 As shown, Figure 5 What is achieved is with Figure 2 A corresponding network access mode switching device is provided. This network access mode switching device 500 includes a disabling unit 501 and a enabling unit 502.
[0109] The disabling unit 501 is used to disable the 4G access mode when the timer corresponding to the 4G access mode is triggered.
[0110] The disabling unit 501 is also used to disable the timer when it is detected that the preset parameter value in the terminal device meets the effective conditions;
[0111] The startup unit 502 is used to start the 4G access mode.
[0112] It is evident that implementation Figure 5 The device shown can unblock the 4G access mode, allowing terminal devices to access the 4G network and avoiding voice service failures due to the inability to access any network. Furthermore, it can promptly unblock the 4G access mode based on effective preset parameter values, preventing excessive power consumption caused by frequent attempts to access the 4G network due to access failures.
[0113] In one exemplary embodiment of this application, the above-described apparatus further includes:
[0114] The message sending unit (not shown) is used to send a first registration message to the 5G base station after the disabling unit 501 disables the 4G access mode and before the preset parameter value in the terminal device is detected to meet the effective conditions, so that the 5G base station forwards the first registration message to the 5G mobile management network element; wherein, the first registration message is used to indicate that the terminal device does not support the 4G access mode.
[0115] A message receiving unit (not shown) is used to receive a first feedback message sent by a 5G mobile management network element; wherein the first feedback message is used to indicate that voice services corresponding to the 3GPP protocol are not supported;
[0116] The disabling unit 501 is also used to disable the 5G access mode;
[0117] The query unit (not shown) is used to query 2G and 3G networks;
[0118] The starting unit 502 is further configured to start the 5G access mode and determine the preset parameter value after the query unit fails to query.
[0119] In an example embodiment of the present application, the message sending unit is further configured to send a second registration message to the 5G base station after the starting unit 502 starts the 4G access mode, so that the 5G base station forwards the second registration message to the 5G mobile management network element; wherein the second registration message is used to indicate that the terminal device supports the 4G access mode.
[0120] The message receiving unit is further configured to receive a second feedback message sent by the 5G mobile management network element; wherein the second feedback message is used to indicate that the voice service corresponding to the 3GPP protocol is supported.
[0121] In an example embodiment of the present application, the above device further comprises:
[0122] The effective determination unit (not shown in the figure) is configured to determine that the preset parameter value meets the effective condition when it is detected that the preset parameter value is equal to the first numerical value; and determine that the preset parameter value does not meet the effective condition when it is detected that the preset parameter value is equal to the second numerical value.
[0123] In an example embodiment of the present application, the above device further comprises:
[0124] The resetting unit (not shown in the figure) is configured to reset the preset parameter value from the first numerical value to the second numerical value if the 4G network is switched to the 5G network after the starting unit 502 starts the 4G access mode.
[0125] In an example embodiment of the present application, the above device further comprises:
[0126] The acquisition unit (not shown in the figure) is configured to acquire the preset parameter value corresponding to the preset parameter by querying the preset parameter stored in the terminal device before the disabling unit 501 detects that the preset parameter value in the terminal device meets the effective condition.
[0127] In an example embodiment of the present application, the resetting unit is further configured to reset the disabled time length of the timer to the preset value and count based on the reset timer when the timer is triggered again after the disabling unit 501 disables the timer.
[0128] The disabling unit 501 is further configured to disable the 4G access mode until the cumulative counting time length reaches the threshold value when it is detected that the preset parameter value does not meet the effective condition.
[0129] It should be noted that although several modules or units of the device for action execution are mentioned in the foregoing detailed description, such division is not mandatory. Indeed, according to an embodiment of the application, the features and functionalities of two or more of the modules or units described above can be embodied in one module or unit. Conversely, the features and functionalities of one module or unit described above can be further divided into a plurality of modules or units.
[0130] Since the various functional modules of the network access mode switching apparatus of the example embodiments of the present application correspond to the steps of the example embodiments of the network access mode switching method described above, for details not disclosed in the apparatus embodiments of the present application, please refer to the above-mentioned network access mode switching method embodiments of the present application.
[0131] As another aspect, the present application also provides a computer readable medium, which can be contained in the electronic device described in the above embodiments; or can exist independently without being assembled into the electronic device. The above computer readable medium carries one or more programs, which, when executed by the electronic device, enable the electronic device to implement the method described in the above embodiments.
[0132] It should be noted that computer-readable media in this disclosure can be computer-readable storage media, computer-readable signal media or any combination thereof. Computer-readable storage media can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the above. More specific examples of computer-readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this disclosure, computer-readable storage media can be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus or device. In this disclosure, a computer-readable signal medium can include a computer-readable storage medium in baseband or propagated as a carrier wave in a propagated data signal, which can contain or store a program for use by or in connection with an instruction execution system, apparatus or device. The propagated data signal can take any of a variety of forms, including but not limited to electro-magnetic, optical, or any suitable combination thereof. Computer-readable signal media can be any computer-readable medium that is not a computer-readable storage medium, and that can communicate, propagate or transport a program for use by or in connection with an instruction execution system, apparatus or device. Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the above.
[0133] The flow diagrams and block diagrams in the drawings are illustrations of possible architectures, functions, and operations of systems, methods, and computer program products in accordance with various embodiments of the present application. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or combinations of special purpose hardware and computer instructions.
[0134] The units described in the embodiments of the present application can be implemented by software, or by hardware, or by a combination of software and hardware. The units described can also be located in a single processor. In some cases, the names of the units do not constitute a limitation on the units themselves.
[0135] Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the present application cover any and all variations of the application that come within the scope of the present application, along with all equivalents and alternatives to the features described herein. It is intended that the description and examples be considered exemplary only, with the true scope and spirit of the application being indicated by the following claims.
[0136] It is to be understood that the application is not limited to the precise details of design and construction described herein and illustrated in the drawings. Various modifications and changes can be made within the scope of the application. The scope of the application is limited only by the claims that follow.
Claims
1. A network access mode switching method, characterized in that, The method is applied to a terminal device, and comprises: when a timer corresponding to a 4G access mode is triggered, disabling the 4G access mode; sending a first registration message to a 5G base station, so that the 5G base station forwards the first registration message to a 5G mobile management network element; wherein the first registration message is used to represent that the terminal device does not support the 4G access mode; receiving a first feedback message sent by the 5G mobile management network element; wherein the first feedback message is used to represent that a voice service corresponding to a 3GPP protocol is not supported; disabling a 5G access mode, and querying a 2G network and a 3G network; if the querying fails, starting the 5G access mode and determining a preset parameter value; if it is detected that the preset parameter value in the terminal device meets an effective condition, disabling the timer and starting the 4G access mode.
2. The method of claim 1, wherein, after starting the 4G access mode, the method further comprises: sending a second registration message to the 5G base station, so that the 5G base station forwards the second registration message to the 5G mobile management network element; wherein the second registration message is used to represent that the terminal device supports the 4G access mode; receiving a second feedback message sent by the 5G mobile management network element; wherein the second feedback message is used to represent that the voice service corresponding to the 3GPP protocol is supported.
3. The method of claim 1, wherein, the method further comprises: when it is detected that the preset parameter value is equal to a first numerical value, determining that the preset parameter value meets the effective condition; when it is detected that the preset parameter value is equal to a second numerical value, determining that the preset parameter value does not meet the effective condition.
4. The method of claim 3, wherein, after starting the 4G access mode, the method further comprises: if the 4G network is switched to a 5G network, resetting the preset parameter value from the first numerical value to the second numerical value.
5. The method of claim 1, wherein, before detecting that the preset parameter value in the terminal device meets the effective condition, the method further comprises: inquiring a preset parameter stored in the terminal device, and obtaining the preset parameter value corresponding to the preset parameter.
6. The method of claim 1, wherein, after disabling the timer, the method further comprises: when the timer is triggered again, resetting a disabling duration corresponding to the timer to a preset value and timing based on the reset timer; if it is detected that the preset parameter value does not meet the effective condition, disabling the 4G access mode until a cumulative timing duration reaches a threshold value.
7. A network access mode switching apparatus, characterized by comprising: comprise: a disabling unit, configured to disable a 4G access mode when a timer corresponding to the 4G access mode is triggered; the disabling unit is configured to send a first registration message to a 5G base station, so that the 5G base station forwards the first registration message to a 5G mobile management network element; wherein the first registration message is used to represent that a terminal device does not support the 4G access mode; receive a first feedback message sent by the 5G mobile management network element; wherein the first feedback message is used to represent that a voice service corresponding to a 3GPP protocol is not supported; disable a 5G access mode, and query a 2G network and a 3G network; if the querying fails, start the 5G access mode and determine a preset parameter value; The disabling unit is further configured to disable the timer when it is detected that the preset parameter value in the terminal device meets an effective condition. The starting unit is configured to start the 4G access mode.
8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the method of any one of claims 1-6.
9. An electronic device, comprising: Comprise: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the method of any one of claims 1-6 by executing the executable instructions.
Citation Information
Patent Citations
Access barring and radio resource control connection in new radio to long-term evolution voice fallback
US20200260504A1