Network access method and device, electronic equipment and storage medium

By switching the SIM card of the 5G terminal to the public network SIM card and reading PLMN information, it is preferred to access the 5G public network. If it is not accessible, it will be connected to the 4G public network, which solves the problem that 5G terminals cannot flexibly select the network and improves the user experience.

CN120238988APending Publication Date: 2025-07-01CHENGDU TD TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311873005.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

Existing 5G terminals cannot flexibly select networks, resulting in poor user experience and being unable to adaptively select 5G public or 4G public networks.

Method used

By switching the SIM card of the 5G terminal to the public network SIM card, reading the public network SIM card information, and after confirming that the PLMN is a public network PLMN, priority will be made to search and access the 5G public network. If it is not accessible, access will be connected to the 4G public network, and adaptive switching will be performed by periodically measuring the signal strength.

Benefits of technology

It realizes adaptive connections of 5G terminals to networks with better signal strength, reduces the possibility of network interruption and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120238988A_ABST
    Figure CN120238988A_ABST
Patent Text Reader

Abstract

The invention provides a network access method and device, electronic equipment and a storage medium. The method is applied to a 5G terminal, and comprises the following steps: switching an SIM of the 5G terminal to a public network SIM card and reading public network SIM card information; determining that the PLMN of the public network SIM card is a public network PLMN; searching and accessing a 5G public network; and if the 5G public network is not searched or cannot be accessed, searching and accessing a 4G public network. According to the method provided by the invention, adaptive switching between the 5G public network and the 4G network is realized, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technologies, and in particular, to a network access method, apparatus, electronic device, and storage medium. Background Art

[0002] The fifth-generation mobile communication technology (5G), as a new generation of wireless communication technology of the 3rd Generation Partnership Project (3GPP), has the characteristics of high speed, low latency, and large capacity, and is playing an increasingly important role.

[0003] Currently, 5G terminals can support access to 4G private networks and 5G / 4G public networks, and conduct services through 4G private networks or 5G / 4G public networks. To improve the network coverage of 5G terminals, an external power amplifier is usually added to 5G terminals to increase the maximum transmission power of the terminals, thereby achieving the effect of improving coverage.

[0004] However, since different network coverages are used in the private network mode and the public network mode, and existing 5G terminals cannot flexibly select networks, the development of 5G terminals is restricted. Summary of the Invention

[0005] The present application provides a network access method, apparatus, electronic device, and storage medium to solve the problem that existing 5G terminals cannot flexibly select networks.

[0006] In a first aspect, the present application provides a network access method applied to a 5G terminal. The method includes:

[0007] Switch the subscriber identity module (SIM) of the 5G terminal to a public network SIM card and read the public network SIM card information;

[0008] Determine that the public land mobile network (PLMN) of the public network SIM card is the public network PLMN;

[0009] Search for and access the 5G public network;

[0010] If the 5G public network cannot be searched for or accessed, search for and access the 4G public network.

[0011] In some embodiments, after searching for and accessing the 5G public network, it further includes:

[0012] Periodically measure the reference signal receiving power (RSRP) of the 5G public network service cell signal;

[0013] If the RSRP of the downlink 5G public network service cell signal is less than the RSRP threshold of the 5G public network, trigger a handover to the 4G public network.

[0014] In some embodiments, searching for and accessing the 5G public network includes:

[0015] Search for and access the 5G public network in the Standalone (SA) mode;

[0016] If the 5G public network in the SA mode cannot be searched for or accessed, search for and access the 5G public network in the Non-Standalone (NSA) mode.

[0017] In some embodiments, after searching for and accessing the 4G public network, it further includes:

[0018] Periodically measure the RSRP of the 4G public network service cell signal;

[0019] If the RSRP of the downlink 4G public network service cell signal is less than the RSRP threshold of the 4G public network, trigger a handover to the 5G public network.

[0020] In some embodiments, before switching the subscriber identity module (SIM) card of the 5G terminal to the public network SIM card and reading the public network SIM card information, it further includes:

[0021] Switch the SIM card of the 5G terminal to the private network SIM card and read the private network SIM card information;

[0022] When it is determined that the private network SIM card information cannot be read, or when the Public Land Mobile Network (PLMN) of the private network SIM card is the public network PLMN, switch the SIM card of the 5G terminal to the public network SIM card.

[0023] In some embodiments, after switching the SIM card of the 5G terminal to the private network SIM card and reading the private network SIM card information, it further includes:

[0024] When the PLMN of the private network SIM card is the private network PLMN, search for the 4G private network;

[0025] When the 4G private network is searched for and the RSRP of the downlink 4G private network service cell signal is greater than the sum of the RSRP threshold of the 4G private network and the offset threshold, access the 4G private network.

[0026] In some embodiments, the method further includes:

[0027] It is determined that the 4G private network cannot be searched, or the RSRP of the downlink 4G private network serving cell signal is less than the RSRP threshold of the 4G private network, and the SIM card of the 5G terminal is switched to the public network SIM card.

[0028] In some embodiments, the method further includes:

[0029] Periodically measure the RSRP of the 4G private network serving cell signal;

[0030] If the RSRP of the downlink 4G private network serving cell signal is greater than the sum of the RSRP threshold and the offset threshold of the 4G private network, trigger the handover to the 4G private network.

[0031] In a second aspect, the present application provides a network access device, including:

[0032] A switching module, configured to switch the subscriber identification module (SIM) card of the 5G terminal to the public network SIM card and read the public network SIM card information;

[0033] A determination module, configured to determine that the public land mobile network (PLMN) of the public network SIM card is the public network PLMN;

[0034] A search module, configured to search for and access the 5G public network;

[0035] The search module is further configured to, if the 5G public network cannot be searched for or accessed, search for and access the 4G public network.

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

[0037] The memory is used to store a computer program; the processor is used to execute the computer program stored in the memory to implement the network access method in the first aspect and any one of the embodiments of the first aspect.

[0038] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the network access method in the first aspect and any one of the embodiments of the first aspect is implemented.

[0039] In a fifth aspect, the present application provides a computer program product, the computer program product includes a computer program, and when the computer program is executed by a processor, the network access method in the first aspect and any one of the embodiments of the first aspect is implemented.

[0040] The network access method, device, electronic device, and storage medium provided by this application switch the SIM card of the 5G terminal to a public network SIM card and read the public network SIM card information. When it is determined that the PLMN of the public network SIM card is the public network PLMN, search for and access the 5G public network; if the 5G public network cannot be searched for or accessed, search for and access the 4G public network means, realizing the adaptive switching between the 5G public network and the 4G network, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in this application or the prior art, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are some embodiments of this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0042] Figure 1 FIG. is a schematic diagram of a scenario for a 5G terminal to access the network provided by an embodiment of this application;

[0043] Figure 2 FIG. is a flowchart of a network access method provided by an embodiment of this application;

[0044] Figure 3 FIG. is a flowchart of another network access method provided by an embodiment of this application;

[0045] Figure 4 FIG. is a schematic structural diagram of a network access device provided by an embodiment of this application;

[0046] Figure 5 FIG. is a schematic hardware structure diagram of an electronic device provided by an embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0047] To make the objectives, technical solutions, and advantages of this application clearer, the following will clearly and completely describe the technical solutions in this application with reference to the drawings in this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in this application belong to the scope of protection of this application.

[0048] Depending on the context, as used herein, the word "if" can be interpreted as "when" or "upon" or "in response to determining".

[0049] It should be understood that the terms "comprising" and "including" indicate the presence of features, steps, operations, elements, components, items, categories, and / or groups, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, categories, and / or groups.

[0050] The terms "or" and "and / or" are interpreted inclusively and mean either any one or any combination. Thus, "A, B, and / or C" means "any one of the following: A; B; C; A and B; A and C; B and C; A, B, and C". An exception to this definition occurs only when the combination of elements, functions, steps, or operations is inherently mutually exclusive in some way.

[0051] As a new generation of wireless communication technology of 3GPP, 5G has the characteristics of high speed, low latency, large capacity, etc., and is being rapidly deployed and applied at home and abroad. 5G is playing an increasingly important role in various fields. In order to improve the network coverage of 5G terminals, an external power amplifier can be added to the terminal. The external power amplifier can increase the maximum transmission power of the terminal, thereby achieving the effect of improving coverage. In special industries, such as power, government affairs and other scenarios, 5G terminals have different network channels to carry, and the ways of conducting business are generally divided into two forms. One is to rely on the industry's own dedicated 4G network and conduct business through the dedicated network wireless resources. The other is to rely on the public network wireless resources of the operator network such as 5G / 4G and carry business on the public network.

[0052] As Figure 1 shown, the current 5G terminal can support access to 4G private networks and 5G / 4G public networks. The terminal can conduct business through the private network or the public network. However, since the private network mode and the public network mode use different network coverages, how the terminal specifically selects the private network or the public network needs to be selected based on comprehensive indicators such as the signal strength of the private and public networks and the service quality.

[0053] Currently, 5G terminals can support 4G private network and 5G / 4G public network frequency bands, but they cannot access the private network and the public network simultaneously at the same time. Moreover, the support of 5G terminals for flexibly and automatically selecting and accessing 4G private networks or 5G / 4G public networks is poor, and they cannot adaptively select 5G public networks or 4G public networks, resulting in a poor user experience for the terminal.

[0054] In view of the above problems, the present application proposes a network access method, device, electronic device, and storage medium. In this method, when a 5G terminal accesses a 5G public network or a 4G public network, according to the priority order, it first searches for the 5G public network, and when it cannot access the 5G public network, it searches for the 4G public network, so that the 5G terminal can connect to the network with high signal strength as much as possible, realizing the adaptive connection of the terminal to the 5G public network and the 4G public network.

[0055] The technical solution of the present application will be described in detail below with specific embodiments. The following several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0056] In the present application, a 5G terminal is used as the execution subject to execute the network access method of the following embodiments. Specifically, the execution subject may be a hardware device of a 5G terminal, or a software application in the 5G terminal that implements the following embodiments, or a computer-readable storage medium installed with the software application that implements the following embodiments, or the code of the software application that implements the following embodiments.

[0057] Figure 2 The flowchart of a network access method provided by an embodiment of the present application is shown. As Figure 2 shown, with a 5G terminal as the execution subject, the method of this embodiment may include the following steps:

[0058] S101. Switch the SIM card of the 5G terminal to a public network SIM card and read the public network SIM card information.

[0059] S102. Determine that the PLMN of the public network SIM card is the public network PLMN.

[0060] S103. Search for and access the 5G public network.

[0061] S104. If the 5G public network cannot be searched for or accessed, search for and access the 4G public network.

[0062] In this embodiment, the 5G terminal may be a smart phone, a tablet computer, a notebook computer, etc.

[0063] The 5G terminal switches the SIM card to the public network SIM card through a hardware circuit and reads the public network SIM card information. When the PLMN of the public network SIM card is the public network PLMN, it indicates that the 5G terminal can access the public network. In this embodiment, access to the 5G public network is preferentially attempted. If access fails, the 4G public network is accessed.

[0064] The network access method provided by this embodiment searches for and accesses the network in the order of network access priorities, enabling the terminal to connect to a network with better signal strength and reducing the possibility of network interruption during the use of the network by the terminal.

[0065] Figure 3 The flowchart of another network access method provided by an embodiment of the present application is shown. As Figure 3 shown, with a 5G terminal as the execution subject, the method of this embodiment may include the following steps:

[0066] S201. Trigger network access.

[0067] In this embodiment, when the 5G terminal turns on the network access switch, network access is triggered. If the 5G terminal has turned on the network access switch before power-on or restart, network access is immediately triggered after the 5G terminal is powered on or restarted.

[0068] S202. Switch the SIM card of the 5G terminal to the private network SIM card and read the information of the private network SIM card.

[0069] Specifically, the 5G terminal switches the SIM card to the private network SIM card through the hardware circuit and reads the information of the private network SIM card. The information of the private network SIM card includes PLMN.

[0070] S203. Determine whether the information of the private network SIM card cannot be read, or whether the PLMN of the private network SIM card is the public network PLMN.

[0071] If the information of the private network SIM card cannot be read, or if the PLMN of the private network SIM card is the public network PLMN, then step S208 is executed. If the information of the private network SIM card can be read and the PLMN of the private network SIM card is the private network PLMN, then step S204 is executed.

[0072] S204. Search for the 4G private network.

[0073] The 5G terminal searches for the 4G private network signal according to the read information of the private network SIM card.

[0074] S205. Determine whether the 4G private network is successfully searched and accessed.

[0075] When the 4G private network is searched and the RSRP of the downlink 4G private network service cell signal is greater than the sum of the RSRP threshold and the offset threshold of the 4G private network, the 4G private network is accessed.

[0076] If the 4G private network cannot be searched, or if the RSRP of the downlink 4G private network service cell signal is less than the RSRP threshold of the 4G private network, the SIM card of the 5G terminal is switched to the public network SIM card, and step S208 is executed.

[0077] Among them, the value range of the RSRP threshold of the 4G private network is (-140 to -90) dbm, for example, it can be -120 dbm. The value range of the offset threshold is (1 to 20) db, for example, 10 db.

[0078] S206. Periodically detect whether the 4G private network signal is poor or there is no signal.

[0079] Specifically, the RSRP of the 4G private network service cell signal is measured periodically. If the RSRP of the downlink 4G private network service cell signal is less than the RSRP threshold of the 4G private network, it can be considered that the 4G private network signal is poor, and step S208 is executed to switch to the public network.

[0080] Among them, the cycle duration can be set to 1 to 600 s. For example, it is detected every 30 s.

[0081] If the RSRP of the downlink 4G private network service cell signal is greater than the sum of the 4G private network's RSRP threshold and the bias threshold, it is considered that the 4G private network signal is good, and step S207 is executed.

[0082] S207: Continue to camp on the private network.

[0083] S208: Switch the SIM card of the 5G terminal to the public network SIM card and read the public network SIM card information.

[0084] Specifically, the 5G terminal switches the SIM card to the public network SIM card through the hardware circuit and reads the public network SIM card information.

[0085] S209: Determine whether the public network SIM card information cannot be read, or the PLMN of the public network SIM card is the private network PLMN.

[0086] When the PLMN of the public network SIM card is the public network PLMN, it indicates that the 5G terminal can access the public network. If the public network SIM card information can be read and the PLMN of the public network SIM card is the public network PLMN, step S210 is executed. Otherwise, step S214 is executed.

[0087] S210: Search for and access the 5G public network; if the 5G public network cannot be searched for or accessed, search for and access the 4G public network.

[0088] Among them, searching for and accessing the 5G public network includes: searching for and accessing the 5G public network in the Standalone (SA) mode; if the 5G public network in the SA mode cannot be searched for or accessed, search for and access the 5G public network in the Non-Standalone (NSA) mode.

[0089] Specifically, the physical layer of the 5G terminal switches to the 5G mode and preferentially searches for the 5G public network in the SA mode. If the search is unsuccessful, continue to search for the 5G public network in the NSA mode. If the 5G terminal is a 5G Reduced Capability (Redcap) terminal, only search for the 5G public network in the SA mode.

[0090] If the 5G public network cannot be searched for and successfully accessed, switch the physical layer of the 5G terminal to the 4G mode and continue to search for and access the 4G public network.

[0091] S211: Determine whether neither the 5G public network nor the 4G public network can be searched for and successfully accessed.

[0092] If neither the 5G public network nor the 4G public network can be accessed, step S202 is executed; if the 5G public network or the 4G public network is accessed, step S212 is executed.

[0093] S212. Periodically detect whether the 4G private network signal is good.

[0094] Specifically, periodically measure the RSRP of the 4G private network serving cell signal. If the RSRP of the downlink 4G private network serving cell signal is less than the RSRP threshold of the 4G private network, it indicates that the 4G private network signal is poor, and step S213 is executed.

[0095] If the RSRP of the downlink 4G private network serving cell signal is greater than the sum of the RSRP threshold and the offset threshold of the 4G private network, it indicates that the 4G private network signal is good, trigger the handover to the 4G private network, and execute step S202.

[0096] The specific implementation method of the 4G private network handover can be:

[0097] The 5G terminal actively stops the current data transmission service or waits for the data transmission service to end, then searches for the 4G private network signal and measures the RSRP of the 4G private network.

[0098] Alternatively, the 5G terminal does not need to actively stop the current data transmission service or wait for the data transmission service to end. It uses the 5G public network or the 4G public network for inter-frequency measurement GAP, searches for the 4G private network signal, and measures the 4G private network RSRP. In addition, the 4G private network frequency band can be specified to speed up the search speed of the 4G private network and reduce the service interruption time.

[0099] If the 5G terminal is in the 5G public network, when searching for the 4G private network signal, the terminal physical layer needs to switch to the 4G mode to search for the 4G private network; if the 5G terminal is in the 4G public network, there is no need to perform a 5G / 4G mode switch and it can directly search for the 4G private network.

[0100] S213. Continue to camp on the public network and adaptively switch between the 5G public network and the 4G public network.

[0101] Specifically, when the 5G terminal is in the 5G public network or the 4G public network, if the network-initiated handover cannot be performed between the 5G public network and the 4G public network due to network configuration problems, the following processing can be performed.

[0102] If the 5G terminal is in the 5G public network, the terminal periodically measures the RSRP of the 5G public network serving cell signal; if the RSRP of the downlink 5G public network serving cell signal is less than the RSRP threshold of the 5G public network, trigger the handover to the 4G public network.

[0103] If the 5G terminal is in the 4G public network, the terminal periodically measures the RSRP of the 4G public network serving cell signal; if the RSRP of the downlink 4G public network serving cell signal is less than the RSRP threshold of the 4G public network, trigger the handover to the 5G public network.

[0104] If the 5G terminal is in the 4G public network, the terminal can also periodically measure the RSRP of the 5G public network serving cell signal; if the RSRP of the downlink 5G public network serving cell signal is greater than the sum of the RSRP threshold and the offset threshold of the 5G public network, a handover to the 5G public network is triggered.

[0105] Among them, the value range of the RSRP threshold of the 5G public network is (-140~-90) dbm, for example, it can be -110 dbm; the value range of the offset threshold is (1~20) db, for example, 10 db.

[0106] When searching for the 5G public network signal, the 5G terminal can actively stop the current data transmission service or search after waiting for the data transmission service to end, or it can also not stop the current data transmission service or wait for the data transmission service to end, and directly use the 4G public network inter-frequency measurement GAP to search for the 5G public network signal.

[0107] S214. Stop accessing the network.

[0108] In the network access method provided in this embodiment, the 5G terminal can flexibly select to access the network with better signal strength and perform adaptive handovers between the 4G private network, the 5G public network, and the 4G public network, improving the user's experience of the integration of private and public networks.

[0109] Figure 4 The following shows a schematic structural diagram of a network access device provided in an embodiment of the present application, as Figure 4 shown, the network access device 10 in this embodiment is used to implement the operations corresponding to the 5G terminal in any of the above method embodiments. The network access device 10 in this embodiment includes:

[0110] A switching module 11, configured to switch the user identification card SIM of the 5G terminal to a public network SIM card and read the public network SIM card information;

[0111] A determination module 12, configured to determine that the public land mobile network PLMN of the public network SIM card is the public network PLMN;

[0112] A search module 13, configured to search for and access the 5G public network;

[0113] The search module 13 is further configured to, if the 5G public network is not searched for or cannot be accessed, search for and access the 4G public network.

[0114] The network access device 10 provided in the embodiment of the present application can execute the above method embodiment. For its specific implementation principle and technical effects, reference can be made to the above method embodiment, and details are not described herein again.

[0115] Figure 5 The following shows a schematic hardware structure diagram of an electronic device provided in an embodiment of the present application. As Figure 5As shown, the electronic device 20 is used to implement the operations corresponding to the 5G terminal in any of the above method embodiments. The electronic device 20 in this embodiment may include: a memory 21, a processor 22, and a communication interface 24.

[0116] The memory 21 is used to store computer programs. The memory 21 may include a high-speed random access memory (Random Access Memory, RAM), and may also include non-volatile storage (Non-Volatile Memory, NVM), such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disc, etc.

[0117] The processor 22 is used to execute the computer programs stored in the memory to implement the network access method in the above embodiments. For specific details, please refer to the relevant descriptions in the foregoing method embodiments. The processor 22 may be a central processing unit (Central Processing Unit, CPU), or may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly implemented by the execution of the hardware processor, or can be implemented by the combination of the hardware and software modules in the processor.

[0118] Optionally, the memory 21 may be either independent or integrated with the processor 22.

[0119] When the memory 21 is a device independent of the processor 22, the electronic device 20 may further include a bus 23. The bus 23 is used to connect the memory 21 and the processor 22. The bus 23 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0120] The communication interface 24 may be connected to the processor 22 through the bus 23. The processor 22 may control the communication interface 24 to implement the functions of receiving and sending signals.

[0121] The electronic device 20 provided in this embodiment can be used to execute the above network access method, and its implementation manner and technical effects are similar, which will not be elaborated here in this embodiment.

[0122] This application also provides a computer-readable storage medium. A computer program / instructions is stored in the computer-readable storage medium, and when the computer program / instructions are executed by a processor, they are used to implement the methods provided by the above various embodiments.

[0123] Among them, the computer-readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, the computer-readable storage medium is coupled to the processor, so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can be located in an Application Specific Integrated Circuits (ASIC). In addition, the ASIC can be located in the user equipment. Of course, the processor and the computer-readable storage medium can also exist as discrete components in the communication device.

[0124] Specifically, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically-Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable read-only memory (PROM), Read-Only Memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disc. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0125] The present application also provides a computer program product, which includes computer programs / instructions stored in a computer-readable storage medium. At least one processor of the device can read the computer programs / instructions from the computer-readable storage medium, and the execution of the computer programs / instructions by the at least one processor enables the device to implement the methods provided by the above various embodiments.

[0126] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or modules can be in electrical, mechanical or other forms.

[0127] Among them, each module can be physically separated. For example, it can be installed at different positions of one device, or installed on different devices, or distributed to multiple network units, or distributed to multiple processors. Each module can also be integrated together. For example, it can be installed in the same device, or integrated in a set of code. Each module can exist in the form of hardware, or can also exist in the form of software, or can also be implemented in the form of software plus hardware. The present application can select some or all of the modules according to actual needs to achieve the purpose of the solution of this embodiment.

[0128] It should be understood that although the steps in the flowcharts in the above embodiments are displayed in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and they can be executed in other orders. Moreover, at least a part of the steps in the figure can include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same moment, but can be executed at different moments, and their execution order is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

[0129] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Moreover, the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or reject.

[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, rather than to limit them. Although the technical solutions of this application have been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A network access method, characterized in that, The method is applied to a 5G terminal, and the method includes: Switch the subscriber identity module (SIM) card of the 5G terminal to a public network SIM card and read the information of the public network SIM card; Determine that the public land mobile network (PLMN) of the public network SIM card is the public network PLMN; Search for and access the 5G public network; If the 5G public network cannot be searched for or accessed, search for and access the 4G public network.

2. The method according to claim 1, wherein After searching for and accessing the 5G public network, it further includes: Periodically measure the reference signal received power (RSRP) of the 5G public network serving cell signal; If the RSRP of the downlink 5G public network serving cell signal is less than the RSRP threshold of the 5G public network, trigger a handover to the 4G public network.

3. The method according to claim 1, wherein The searching for and accessing the 5G public network includes: Search for and access the 5G public network in the stand-alone networking (SA) mode; If the 5G public network in the SA mode cannot be searched for or accessed, search for and access the 5G public network in the non-stand-alone networking (NSA) mode.

4. The method according to claim 1, wherein After searching for and accessing the 4G public network, it further includes: Periodically measure the RSRP of the 4G public network serving cell signal; If the RSRP of the downlink 4G public network serving cell signal is less than the RSRP threshold of the 4G public network, trigger a handover to the 5G public network.

5. The method according to claim 1, characterized in that, Before switching the SIM card of the 5G terminal to the public network SIM card and reading the information of the public network SIM card, it further includes: Switch the SIM card of the 5G terminal to a private network SIM card and read the information of the private network SIM card; When it is determined that the information of the private network SIM card cannot be read, or the PLMN of the private network SIM card is the public network PLMN, switch the SIM card of the 5G terminal to the public network SIM card.

6. The method according to claim 5, characterized in that After switching the SIM card of the 5G terminal to the private network SIM card and reading the information of the private network SIM card, it further includes: When the PLMN of the private network SIM card is the private network PLMN, search for the 4G private network; When the 4G private network is searched for and the RSRP of the downlink 4G private network serving cell signal is greater than the sum of the RSRP threshold of the 4G private network and the offset threshold, access the 4G private network.

7. The method according to claim 6, wherein The method further includes: When it is determined that the 4G private network cannot be searched for, or the RSRP of the downlink 4G private network serving cell signal is less than the RSRP threshold of the 4G private network, switch the SIM card of the 5G terminal to the public network SIM card.

8. The method according to claim 1, wherein The method further includes: Periodically measure the RSRP of the 4G private network serving cell signal; If the RSRP of the downlink 4G private network serving cell signal is greater than the sum of the RSRP threshold of the 4G private network and the offset threshold, trigger a handover to the 4G private network.

9. A network access device, characterized in that, The device includes: A switching module, configured to switch the subscriber identity module (SIM) card of the 5G terminal to a public network SIM card and read the information of the public network SIM card; A determination module, configured to determine that the public land mobile network (PLMN) of the public network SIM card is the public network PLMN; A search module, configured to search for and access the 5G public network; The search module is further configured to search for and access the 4G public network if the 5G public network cannot be searched for or accessed.

10. An electronic device, characterized in that, The device includes: a memory and a processor; The memory is used to store a computer program; The processor is used to execute the computer program stored in the memory, so as to implement the network access method according to any one of claims 1-8.

11. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, it is used to implement the network access method according to any one of claims 1-8.

12. A computer program product, characterized in that, The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the network access method according to any one of claims 1-8.