Network switching method and device of terminal, electronic equipment and storage medium
By obtaining network connection information and parameters after the terminal is powered on and performing network switching processing, the problem of network switching failure is solved, efficiency and user experience are improved, and resource loss is reduced.
Patent Information
- Application Number
- CN202410473194.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-19
- Publication Date
- 2025-10-24
AI Technical Summary
In the prior art, if the network cell that sends the network switching request is not configured with the RedCap feature, the network switching will fail, affecting the network switching efficiency and increasing resource loss, thereby reducing the user's network experience.
After the terminal to be switched is powered on, the network connection information is obtained. If it is a non-5G network cell, the network access parameters and environmental network information are obtained, and network switching is performed based on this information, including determining the network type and adjusting the access parameters for switching.
It improves the efficiency of network switching, reduces resource loss, enhances the user's network experience, avoids the ping-pong phenomenon caused by invalid switching, and ensures network continuity.
Smart Images

Figure CN120835344A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network, and particularly relates to a network switching method and device of a terminal, an electronic device and a storage medium. BACKGROUND
[0002] With the rapid development of 5G communication technology, the demand for lower cost, lower power consumption and lower complexity of 5G deployment in industrial internet and other application scenarios is increasingly strong. Therefore, 3GPP proposes 5G RedCap technology in R17 protocol. The technology relies on the implementation of terminals and base stations, that is, both sides must be configured with RedCap features.
[0003] In the prior art, if a terminal receives a network switching request sent by a network cell, the terminal performs network switching processing.
[0004] However, if the network cell sending the network switching request is not configured with RedCap features, the result of the network switching processing is a switching failure, thereby affecting the efficiency of the network switching method, increasing the resource consumption of network switching, and affecting the network use experience of users. SUMMARY
[0005] The embodiments of the present application provide a network switching method and device of a terminal, an electronic device and a storage medium, to improve the efficiency of network switching, reduce the resource consumption of network switching, and improve the network use experience of users.
[0006] In a first aspect, the embodiments of the present application provide a network switching method of a terminal, comprising:
[0007] After a to-be-switched terminal is powered on, network connection information of the to-be-switched terminal is acquired; wherein the network connection information comprises: being connected to a 5G network cell and being connected to a non-5G network cell;
[0008] If the network connection information of the to-be-switched terminal is the to-be-connected non-5G network cell, network access parameters and environmental network information of the to-be-switched terminal are acquired; wherein the network access parameters indicate the parameters of the access network supported by the terminal; and the environmental network information indicates the network basic information of the network cell in the area range where the to-be-switched terminal is located;
[0009] According to the acquired network access parameters and environmental network information, network switching processing is performed.
[0010] In a possible implementation, the network basic information represents a network type of a network cell; and the network switching processing is performed according to the obtained network access parameter and the environment network information, including: determining the network type of the network cell in the region where the terminal to be switched is located according to the environment network information; determining a network cell to be switched according to the network type of the network cell in the region where the terminal to be switched is located; and adjusting the network access parameter of the terminal to be switched according to the network type of the network cell to be switched, so as to perform the network switching processing.
[0011] In a possible implementation, the network type includes the 5G network cell and the non-5G network cell; and the network cell to be switched is determined according to the network type of the network cell in the region where the terminal to be switched is located, including: if there is a network cell with the network type of the 5G network cell in the region where the terminal to be switched is located, one of the network cells with the network type of the 5G network cell is determined as the network cell to be switched; and if there is no network cell with the network type of the 5G network cell in the region where the terminal to be switched is located, the connected network cell is determined as the network cell to be switched; wherein the connected network cell is the connected network cell represented by the network connection information.
[0012] In a possible implementation, the network access parameter includes a first network access parameter and a second network access parameter; the first network access parameter indicates that the terminal supports an access network of an LTE network; and the second network access parameter indicates that the terminal supports an access network of a 5G network and an LTE network; and the network access parameter of the terminal to be switched is adjusted according to the network type of the network cell to be switched, so as to perform the network switching processing, including: if the network type of the network cell to be switched is the 5G network cell, the network access parameter of the terminal to be switched is adjusted to the second network access parameter, so as to perform the network switching processing; and if the network type of the network cell to be switched is the non-5G network cell, the network access parameter of the terminal to be switched is adjusted to the first network access parameter, so as to perform the network switching processing.
[0013] In a possible implementation, if the network type of the network cell to be switched is the 5G network cell, the network access parameter of the terminal to be switched is adjusted to the second network access parameter, so as to perform the network switching processing, including: if the network type of the network cell to be switched is the 5G network cell, the network access parameter of the terminal to be switched is adjusted to the second network access parameter, and a network switching request sent by the network cell to be switched is received; and the terminal to be switched is connected according to the received network switching request, so as to complete the network switching processing.
[0014] In a possible implementation, the network basic information further indicates network signal strength of the network cells; if there is a network cell of the network type of 5G network cell in a region range where the terminal to be switched is located, one of the network cells of the network type of 5G network cell is determined as the network cell to be switched, including: obtaining the network signal strength of each network cell of the network type of 5G network cell, and determining the network cell of the network type of 5G network cell with the strongest network signal strength as the network cell to be switched.
[0015] In a possible implementation, if there is no network cell of the network type of 5G network cell in a region range where the terminal to be switched is located, after the connected network cell is determined as the network cell to be switched, the method further includes: obtaining a preset network switching period; and re-obtaining the network access parameter and the environmental network information of the terminal to be switched according to the preset network switching period.
[0016] In a possible implementation, the environmental network information of the terminal to be switched is obtained by using a frequency sweeping technology, and the frequency sweeping technology indicates that the network basic information of the network cells in a region range where the terminal to be switched is located is scanned and processed.
[0017] In a second aspect, an embodiment of the present application provides a network switching device of a terminal, including:
[0018] A first obtaining module is configured to obtain network connection information of a terminal to be switched after the terminal to be switched is powered on, wherein the network connection information includes: a 5G network cell connected and a non-5G network cell connected.
[0019] A second obtaining module is configured to obtain network access parameter and environmental network information of the terminal to be switched if the network connection information of the terminal to be switched is the non-5G network cell connected, wherein the network access parameter indicates the parameter of the network accessed by the terminal, and the environmental network information indicates network basic information of network cells in a region range where the terminal to be switched is located.
[0020] A switching module is configured to perform network switching processing according to the obtained network access parameter and environmental network information.
[0021] In one possible embodiment, the switching module includes: a first determination unit, used to determine the network type of the network cell within the area where the terminal to be switched is located based on the environmental network information; a second determination unit, used to determine the network cell to be switched based on the network type of the network cell within the area where the terminal to be switched is located; and a switching unit, used to adjust the network access parameters of the terminal to be switched based on the network type of the network cell to be switched to perform network switching processing.
[0022] In one possible implementation, the network type includes: the 5G network cell and the non-5G network cell; the second determination unit includes: a first determination subunit, for determining one of the network cells with a network type of 5G network cell as the network cell to be switched if there is a network cell with a network type of 5G network cell within the area where the terminal to be switched is located; a second determination subunit, for determining a connected network cell as the network cell to be switched if there is no network cell with a network type of 5G network cell within the area where the terminal to be switched is located; wherein the connected network cell is the connected network cell represented by the network connection information.
[0023] In one possible implementation, the network access parameters include: a first network access parameter and a second network access parameter; the first network access parameter indicates that the access network supported by the terminal is an LTE network; the second network access parameter indicates that the access network supported by the terminal is a 5G network and an LTE network; the switching unit includes: a first switching subunit, for adjusting the network access parameters of the terminal to be switched to the second network access parameters if the network type of the network cell to be switched is the 5G network cell, so as to perform network switching processing; a second switching subunit, for adjusting the network access parameters of the terminal to be switched to the first network access parameters if the network type of the network cell to be switched is the non-5G network cell, so as to perform network switching processing.
[0024] In one possible embodiment, the first switching subunit is specifically used to adjust the network access parameters of the terminal to be switched to the second network access parameters if the network type of the network cell to be switched is the 5G network cell, and receive a network switching request sent by the network cell to be switched; and connect to the terminal to be switched according to the received network switching request to complete the network switching process.
[0025] In a possible implementation, the network basic information further represents network signal strengths of the network cells; and the first determining sub-unit is specifically configured to acquire the network signal strengths of the network cells of the network type of 5G, and determine the network cell of the network type of 5G with the strongest network signal strength as the network cell to be switched.
[0026] In a possible implementation, the second determining unit further includes an acquiring sub-unit configured to acquire a preset network switching period, and re-acquire the network access parameters and the environmental network information of the terminal to be switched according to the preset network switching period.
[0027] In a possible implementation, the second acquiring unit is specifically configured to acquire the environmental network information of the terminal to be switched based on a sweep frequency technology; and the sweep frequency technology represents a scanning process on the network basic information of the network cells in the area where the terminal to be switched is located.
[0028] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0029] The memory stores computer execution instructions.
[0030] The processor executes the computer execution instructions stored in the memory, so that the processor executes the first aspect and / or various possible implementation manners of the first aspect.
[0031] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by a processor to implement the first aspect and / or various possible implementation manners of the first aspect.
[0032] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, and the computer program is executed by a processor to implement the first aspect and / or various possible implementation manners of the first aspect.
[0033] The terminal network switching method, device, electronic equipment and storage medium provided by the embodiments of the present application, by obtaining the network connection information of the terminal to be switched after the terminal to be switched is powered on and started, if the network connection information of the terminal to be switched is connected to a non-5G network cell, obtaining the network access parameter and environmental network information of the terminal to be switched, and performing network switching processing according to the obtained network access parameter and environmental network information, wherein whether network switching is needed is preliminarily determined according to the network connection information of the terminal to be switched, and in the case that the network connection information is connected to a non-5G network cell, the network switching processing is performed by obtaining the network access parameter and environmental network information of the terminal to be switched, which can improve the efficiency of network switching, reduce the resource loss of network switching, and improve the network use experience of users. BRIEF DESCRIPTION OF DRAWINGS
[0034] The accompanying drawings, which are incorporated herein and constitute part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.
[0035] Figure 1 Flowchart of the terminal network switching method provided by the present application Figure One
[0036] Figure 2 Flowchart of the terminal network switching method provided by the present application Figure Two
[0037] Figure 3 Structure diagram of the terminal network switching device provided by the present application
[0038] Figure 4 Structure diagram of the electronic equipment provided by the present application
[0039] The above drawings have shown the specific embodiments of the present application, which will be described in more detail hereinafter. These drawings and the written description are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0040] The exemplary embodiments will be described in detail herein with reference to the attached drawings. When the description below refers to accompanying drawings, unless otherwise noted, the same numbers in different drawings refer to the same or similar elements. The implementations described in the following exemplary embodiments are not meant to represent all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the appended claims.
[0041] In the prior art, if a terminal receives a network switching request sent by a network cell, the terminal performs network switching processing. However, if the network cell sending the network switching request is not configured with RedCap characteristics, the result of the network switching processing is a switching failure, thereby affecting the efficiency of the network switching method and increasing resource waste.
[0042] The present application obtains network connection information of a terminal to be switched after the terminal to be switched is powered on and booted. If the network connection information of the terminal to be switched is connected to a non-5G network cell, the network access parameters and environmental network information of the terminal to be switched are obtained. Network switching processing is performed according to the obtained network access parameters and environmental network information. The network switching processing is initially determined according to the network connection information of the terminal to be switched. In the case of network connection information connected to a non-5G network cell, the network switching processing is performed by obtaining the network access parameters and environmental network information of the terminal to be switched. The efficiency of network switching can be improved, resource waste of network switching can be reduced, and the network use experience of users can be improved.
[0043] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0044] Figure 1 Flowchart of the network switching method of the terminal provided by the present application Figure One The execution subject is a terminal or a network switching device of the terminal, which can be implemented by software, hardware, or a combination of software and hardware.
[0045] As shown in Figure 1 The network switching method of the terminal provided by the present application includes:
[0046] Step S101, after a terminal to be switched is powered on and booted, obtaining network connection information of the terminal to be switched.
[0047] Specifically, after the to-be-switched terminal is powered on, network connection information of the to-be-switched terminal can be acquired, wherein the to-be-switched terminal refers to a terminal configured with a reduced capability (RedCap) technology, and specifically, if the terminal is configured with the RedCap technology, network switching processing can be performed according to a network switching request sent by a network cell. The network connection information represents information of a network cell to which the terminal has connected, wherein the network connection information includes: having connected to a 5G network cell and having connected to a non-5G network cell. The 5G network cell refers to a network cell configured with the RedCap technology, and the non-5G network cell refers to a network cell not configured with the RedCap technology. Specifically, if the network connection information is having connected to the 5G network cell, it indicates that the terminal has registered in a New Radio (NR) network, and if the network connection information is having connected to the non-5G network cell, it indicates that the terminal has registered in a non-NR network, for example, a Long Term Evolution (LET) network.
[0048] In the present application, the process of connecting the to-be-switched terminal to the network cell is not limited, and optionally, after the to-be-switched terminal is powered on, connection requests sent by each network cell in the area range where the to-be-switched terminal is located can be received, and then the to-be-connected cell can be determined according to the connection requests sent by each network cell, and the determined to-be-connected cell is further connected.
[0049] In step S102, if the network connection information of the to-be-switched terminal is having connected to the non-5G network cell, the network access parameter and the environmental network information of the to-be-switched terminal are acquired.
[0050] Specifically, if the network connection information of the to-be-switched terminal acquired in step S101 is having connected to the non-5G network cell, the network access parameter and the environmental network information of the to-be-switched terminal are acquired. The network access parameter indicates the access network parameter supported by the terminal. Specifically, when the access network parameter supported by the terminal and the network cell to be accessed or switched do not match, the terminal cannot access the network cell to be accessed, or cannot be switched to the network cell to be switched. The environmental network information indicates the network basic information of the network cell in the area range where the to-be-switched terminal is located. The area range where the to-be-switched terminal is located refers to the maximum area range where the to-be-switched terminal can connect to the network, and the network cell in the area range where the to-be-switched terminal is located refers to one or more network cells in the maximum area range where the to-be-switched terminal can connect to the network. The network basic information refers to the basic information of the network cell, for example, network type information of the network cell, signal strength information of the network cell for the terminal to be accessed, and the like.
[0051] The application does not limit the manner of obtaining the network access parameters and the environment network information of the terminal to be switched, and the environment network information of the terminal to be switched can be obtained based on a frequency sweeping technology.
[0052] Optionally, if the network connection information of the terminal to be switched is connected to a 5G network cell, the network connection state of the terminal to be switched is maintained, and the switching is not performed.
[0053] In step S103, network switching processing is performed according to the obtained network access parameters and environment network information.
[0054] Specifically, if the network connection information of the terminal to be switched is connected to a non-5G network cell, after obtaining the network access parameters and the environment network information of the terminal to be switched, network switching processing is performed according to the obtained network access parameters and environment network information, so that the terminal to be switched is connected to a more matched network cell. The application does not limit the network switching processing according to the obtained network access parameters and environment network information, and the network type of the network cell in the region where the terminal to be switched is located can be determined according to the environment network information. Then, the network type of the network cell to be switched is determined according to the network type of the network cell in the region where the terminal to be switched is located. Then, the network access parameters of the terminal to be switched are adjusted according to the network type of the network cell to be switched, so as to perform network switching processing.
[0055] The network switching method of the terminal provided by the application can improve the efficiency of network switching, reduce the resource consumption of network switching, and improve the network use experience of users.
[0056] In a possible embodiment, the acquiring the environment network information of the terminal to be switched can comprise: acquiring the environment network information of the terminal to be switched based on a sweep frequency technology. The sweep frequency technology represents scanning network basic information of network cells in a region range where the terminal to be switched is located. Specifically, the sweep frequency technology can be deployed in a bottom protocol stack in advance. When the environment network information of the terminal to be switched is acquired, a sweep frequency instruction can be issued to the bottom protocol stack based on an application layer, so that the bottom protocol stack notifies a physical layer (PHY) of a sweep frequency request through a radio resource control (RRC) layer. The physical layer (PHY) specifically scans network cells in the environment, i.e., in the region range where the terminal to be switched is located, and reports the scanning result to the radio resource control (RRC) layer. The radio resource control (RRC) layer marks the RedCap attribute of the network cells at this time, obtains the scanning result that marks the RedCap attribute of the network cells, i.e., the network basic information of the network cells, and synchronizes the network basic information of the network cells to the application layer. Optionally, the issuing period of the sweep frequency instruction can be set in advance, so that the environment network information of the terminal to be switched is acquired periodically, to ensure the real-time performance of acquiring the environment network information of the terminal to be switched based on the sweep frequency technology, and further improve the accuracy of network switching.
[0057] Figure 2 Flowchart of the network switching method of the terminal provided in the present application Figure Two , the network switching method of the terminal provided in the present application comprises: Figure 1 Based on the embodiment shown in the foregoing description, the present embodiment further describes the process of performing network switching processing according to the acquired network access parameter and environment network information.
[0058] As shown in the foregoing description, the network switching processing according to the acquired network access parameter and environment network information comprises: Figure 2
[0059] Step S201: determining the network type of the network cells in the region range where the terminal to be switched is located according to the environment network information.
[0060] Specifically, the network type of the network cells in the region range where the terminal to be switched is located can be determined according to the environment network information. The environment network information indicates the network basic information of the network cells in the region range where the terminal to be switched is located, and the network basic information represents the network type of the network cells. Specifically, after the network basic information of the network cells in the region range where the terminal to be switched is located, which is indicated by the environment network information of the terminal to be switched, is acquired, the network type of the network cells in the region range where the terminal to be switched is located can be extracted from the network basic information of the network cells, to obtain the network type of the network cells in the region range where the terminal to be switched is located.
[0061] Step S202: Determine the network cell to be switched according to the network type of the network cell within the area where the terminal to be switched is located.
[0062] Specifically, after determining the network type of the network cell within the area where the terminal to be switched is located based on the environmental network information, the network cell to be switched can be determined based on the network type of the network cell within the area where the terminal to be switched is located. The network cell to be switched refers to the network cell to which the terminal to be switched will switch. If the network cell to be switched is a network cell to which the terminal to be switched is currently connected, the terminal to be switched does not currently perform network switching processing.
[0063] As described in step S201, the basic network information represents the network type of the network cell. Optionally, the network type includes: 5G network cell and non-5G network cell. As described in step S101, the 5G network cell refers to a network cell configured with the reduced functionality technology RedCap, and the non-5G network cell refers to a network cell not configured with the reduced functionality technology RedCap.
[0064] Optionally, if the network types include: 5G network cells and non-5G network cells, the network cell to be switched is determined according to the network type of the network cells within the area where the terminal to be switched is located, including: if there is a network cell with a network type of 5G network cell within the area where the terminal to be switched is located, then one of the network cells with a network type of 5G network cell is determined as the network cell to be switched. Wherein, if there is only one network cell with a network type of 5G network cell within the area where the terminal to be switched is located, then the network cell can be determined as the network cell to be switched, wherein, if there are multiple network cells with a network type of 5G network cell within the area where the terminal to be switched is located, then the network cell to be switched can be determined according to the network signal strength of the network cells with each network type of 5G network cell. Wherein, the present application does not limit the process of determining the network cell to be switched according to the network signal strength of the network cells with each network type of 5G network cell. Optionally, the network signal strength of the network cells with each network type of 5G network cell can be obtained, and the network cell with the network type of 5G network cell with the strongest network signal strength can be determined as the network cell to be switched. Among them, this application does not limit the process of obtaining the network signal strength of each network cell whose network type is a 5G network cell. Optionally, if the network basic information also represents the network signal strength of the network cell, the network signal strength of the represented network cell can be extracted from the network basic information of the network cell whose network type is a 5G network cell.
[0065] Optionally, if the network types include: 5G network cells and non-5G network cells, the network cell to be switched is determined according to the network types of the network cells in the region range where the terminal to be switched is located, including: if there is no network cell with a network type of a 5G network cell in the region range where the terminal to be switched is located, the connected network cell is determined as the network cell to be switched. The connected network cell is the connected network cell represented by the network connection information. The description of the network connection information can refer to the description in step S101, and will not be repeated here.
[0066] If there is no network cell with a network type of a 5G network cell in the region range where the terminal to be switched is located, the preset network switching period can be obtained. The network access parameters and the environmental network information of the terminal to be switched are reacquired according to the preset network switching period, so as to re-determine the network cell to be switched according to the network types of the network cells in the region range where the terminal to be switched is located. The preset network switching period is set according to user demand, and when it is confirmed that there is no network cell with a network type of a 5G network cell in the region range where the terminal to be switched is located, the time period for reacquiring the network access parameters and the environmental network information of the terminal to be switched. Optionally, if the user's demand for network switching of the terminal is high, a shorter network switching period can be set, that is, after it is determined that there is no network cell with a network type of a 5G network cell in the region range where the terminal to be switched is located, the network access parameters and the environmental network information of the terminal to be switched are reacquired after a shorter time, so as to acquire the network cell with a network type of a 5G network cell in the region range where the terminal to be switched is located in time, that is, to determine the network cell to be switched with a network type of a 5G network cell in time. Optionally, if the user's demand for network switching of the terminal is low, a longer network switching period can be set, that is, after it is determined that there is no network cell with a network type of a 5G network cell in the region range where the terminal to be switched is located, the network access parameters and the environmental network information of the terminal to be switched are reacquired after a longer time, so as to save resource consumption.
[0067] In step S203, the network access parameters of the terminal to be switched are adjusted according to the network type of the network cell to be switched, so as to perform network switching processing.
[0068] Specifically, after the network cell to be switched is determined according to the network types of the network cells in the region range where the terminal to be switched is located, the network access parameters of the terminal to be switched are adjusted according to the network type of the network cell to be switched, so as to perform network switching processing.
[0069] If the network type of the network cell to be switched is a non-5G network cell, i.e., the network cell to be switched is a network cell to which the terminal to be switched is connected, the terminal to be switched does not currently perform the network switching process, as described in step S202.
[0070] The network access parameter of the terminal to be switched is adjusted according to the network type of the network cell to be switched, and the network switching process is performed. The network access parameter includes a first network access parameter and a second network access parameter. The first network access parameter indicates that the terminal supports an LTE network. The second network access parameter indicates that the terminal supports a 5G network and an LTE network. Specifically, as described in step S102, if the network access parameter of the terminal to be accessed is the first network parameter, the configuration of the network cell of the terminal to be accessed enables the terminal to access an LTE network. If the network access parameter of the terminal to be accessed is the second network parameter, the configuration of the network cell of the terminal to be accessed enables the terminal to access a 5G network and an LTE network.
[0071] Optionally, if the network access parameter includes a first network access parameter and a second network access parameter, the network access parameter of the terminal to be switched is adjusted according to the network type of the network cell to be switched, and the network switching process is performed. If the network type of the network cell to be switched is a 5G network cell, the network access parameter of the terminal to be switched is adjusted to the second network access parameter, and the network switching process is performed. Specifically, if the current network access parameter of the terminal to be switched is the second network access parameter, it does not need to be adjusted. If the current network access parameter of the terminal to be switched is the first network access parameter, the network access parameter of the terminal to be accessed can be adjusted to the second network access parameter, and the network switching process is performed. The process of adjusting the network access parameter of the terminal to be switched is not limited, and the network access parameter of the terminal to be switched can be adjusted based on an AT instruction.
[0072] In the process of adjusting the network access parameter of the terminal to be switched to the second network access parameter to perform the network switching process, if the network type of the network cell to be switched is a 5G network cell, the network access parameter of the terminal to be switched is adjusted to the second network access parameter. Optionally, if the network type of the network cell to be switched is a 5G network cell, the network access parameter of the terminal to be switched is adjusted to the second network access parameter, and a network switching request sent by the network cell to be switched is received. Then, according to the received network switching request, the terminal to be switched is connected to complete the network switching process. The network switching request is an instruction sent by the network cell to indicate the terminal to be switched to perform the network switching. The network switching exists when the terminal to be switched is connected to a network cell of a non-5G network, and one or more of the abnormal situations such as terminal service load balancing exception, service coverage exception, service link exception, etc. exist. The terminal to be switched only receives the network switching request sent by the network cell to be switched, which can effectively avoid the ping-pong phenomenon caused by invalid switching, reduce the resource consumption of network switching, ensure the continuity of the network, and improve the user's network use experience.
[0073] Optionally, if the network access parameter includes the first network access parameter and the second network access parameter, the network access parameter of the terminal to be switched is adjusted according to the network type of the network cell to be switched to perform the network switching process, including: if the network type of the network cell to be switched is a non-5G network cell, the network access parameter of the terminal to be switched is adjusted to the first network access parameter to perform the network switching process. If the network type of the network cell to be switched is a non-5G network cell, as described above, the terminal to be switched does not currently perform the network switching process. At this time, if the current network access parameter of the terminal to be switched is the first network access parameter, it does not need to be adjusted, and if the current network access parameter of the terminal to be switched is the second network access parameter, the network access parameter of the terminal to be switched is adjusted to the first network access parameter to ensure that the terminal to be switched is stably connected to the non-5G network cell, avoid switching to other network cells, and perform the network switching process provided by the present application, for example: obtaining a preset network switching period, and according to the preset network switching period, reacquiring the network access parameter of the terminal to be switched and the environmental network information, to re-determine the network cell to be switched according to the network type of the network cell in the area range where the terminal to be switched is located, and further adjust the network access parameter of the terminal to be switched according to the network type of the network cell to be switched to perform the network switching process.
[0074] The embodiment provided in the application provides a network switching process according to the obtained network access parameter and environmental network information. The network type of the network cell in the region range where the terminal to be switched is located is determined according to the environmental network information. The network cell to be switched is determined according to the network type of the network cell in the region range where the terminal to be switched is located. The network access parameter of the terminal to be switched is adjusted according to the network type of the network cell to be switched, so as to perform the network switching process. The network type of the network cell in the region range where the terminal to be switched is located is determined, so that the ping-pong phenomenon caused by invalid switching can be effectively avoided, the resource consumption of network switching is reduced, the continuity of the network is ensured, and the network use experience of the user is improved.
[0075] Figure 3 The structure diagram of the network switching device of the terminal provided in the application is shown in FIG. 1. Figure 3 The network switching device 30 of the terminal provided in the embodiment includes a first obtaining module 301, a second obtaining module 302, and a switching module 303.
[0076] The first obtaining module 301 is configured to obtain the network connection information of the terminal to be switched after the terminal to be switched is powered on; the network connection information includes: being connected to a 5G network cell and being connected to a non-5G network cell.
[0077] The second obtaining module 302 is configured to obtain the network access parameter and the environmental network information of the terminal to be switched if the network connection information of the terminal to be switched is being connected to a non-5G network cell; the network access parameter indicates the access network parameter supported by the terminal; the environmental network information indicates the network basic information of the network cell in the region range where the terminal to be switched is located.
[0078] The switching module 303 is configured to perform network switching processing according to the obtained network access parameter and environmental network information.
[0079] In a possible implementation manner, the switching module 303 includes a first determining unit 304 (not shown in the figure) configured to determine the network type of the network cell in the region range where the terminal to be switched is located according to the environmental network information; a second determining unit 305 (not shown in the figure) configured to determine the network cell to be switched according to the network type of the network cell in the region range where the terminal to be switched is located; and a switching unit configured to adjust the network access parameter of the terminal to be switched according to the network type of the network cell to be switched, so as to perform the network switching processing.
[0080] In a possible implementation, the network types include: 5G network cells and non-5G network cells; the second determining unit 305 (not shown in the figure) includes: a first determining sub-unit 306 (not shown in the figure), configured to: if there is a network cell of the network type of 5G network cell in the area where the terminal to be switched is located, determine one of the network cells of the network type of 5G network cell as the network cell to be switched; and a second determining sub-unit 307 (not shown in the figure), configured to: if there is no network cell of the network type of 5G network cell in the area where the terminal to be switched is located, determine the connected network cell as the network cell to be switched; wherein the connected network cell is the connected network cell represented by the network connection information.
[0081] In a possible implementation, the network access parameters include: first network access parameters and second network access parameters; the first network access parameters indicate that the terminal supports an access network of an LTE network; the second network access parameters indicate that the terminal supports an access network of a 5G network and an LTE network; and the switching module 303 includes: a first switching unit 308 (not shown in the figure), configured to: if the network type of the network cell to be switched is a 5G network cell, adjust the network access parameters of the terminal to be switched to the second network access parameters, to perform network switching processing; and a second switching unit 309 (not shown in the figure), configured to: if the network type of the network cell to be switched is a non-5G network cell, adjust the network access parameters of the terminal to be switched to the first network access parameters, to perform network switching processing.
[0082] In a possible implementation, the first switching unit 308 (not shown in the figure) is specifically configured to: if the network type of the network cell to be switched is a 5G network cell, adjust the network access parameters of the terminal to be switched to the second network access parameters, and receive a network switching request sent by the network cell to be switched; and connect to the terminal to be switched according to the received network switching request, to complete network switching processing.
[0083] In a possible implementation, the network basic information further represents network signal strengths of the network cells; and the first determining sub-unit 306 (not shown in the figure) is specifically configured to: obtain the network signal strengths of the network cells of the network type of 5G network cell, and determine the network cell of the network type of 5G network cell with the strongest network signal strength as the network cell to be switched.
[0084] In a possible implementation, the second determining unit 305 (not shown in the figure) further includes: an obtaining sub-unit, configured to: obtain a preset network switching period; and according to the preset network switching period, re-obtain the network access parameters of the terminal to be switched and the environmental network information.
[0085] In a possible implementation, the second acquisition module 302 is further specifically configured to acquire the environmental network information of the terminal to be switched based on a frequency sweeping technology; wherein the frequency sweeping technology represents scanning and processing network infrastructure information of network cells in a region range where the terminal to be switched is located.
[0086] The network switching of the terminal provided in this embodiment can perform the method provided in the method embodiments, and has similar implementation principles and technical effects. Details are not described herein again.
[0087] Figure 4 A structural schematic diagram of an electronic device provided in this application is shown in FIG. 4. As shown in FIG. 4, the electronic device 40 provided in this embodiment includes at least one processor 401 and a memory 402. Optionally, the device 40 further includes a communication component 403. The processor 401, the memory 402 and the communication component 403 are connected through a bus 404. Figure 4
[0088] In the implementation process, the at least one processor 401 executes the computer execution instructions stored in the memory 402, so that the at least one processor 401 performs the method described above.
[0089] The specific implementation process of the processor 401 can refer to the method embodiments described above, and has similar implementation principles and technical effects. Details are not described herein again.
[0090] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the application can be directly embodied as execution completed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
[0091] The memory can include a random access memory (RAM), and can also include a non-volatile memory (NVM), for example, at least one disk memory.
[0092] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.
[0093] The present application also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method described above.
[0094] The present application also provides a computer readable storage medium, which stores computer execution instructions, and when a processor executes the computer execution instructions, the method described above is implemented.
[0095] The readable storage medium described above can be implemented by any type of volatile or non-volatile storage device or their combination, 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 storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0096] An exemplary readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium, and can write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the device.
[0097] The division of units is only a logical functional division, and in actual implementation, there can be another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0098] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0099] In addition, each functional unit in various embodiments of the application can be integrated into one processing unit, or each unit can exist physically, or two or more units can be integrated into one unit.
[0100] If the function is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the various embodiment methods of the application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0101] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware. The aforementioned program can be stored in a computer readable storage medium. The program executes to perform the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, and various media that can store program codes.
[0102] Finally, it should be noted that those skilled in the art, after considering the specification and practicing the application disclosed herein, will easily think of other embodiments of the application. The application is intended to cover any variations, uses, or adaptations of the application that follow the general principles of the application and include common knowledge or conventional technical means in the art that are not disclosed by the application, and is not limited to the precise structure described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the application is only limited by the appended claims.
Claims
1. A network handover method of a terminal, the method comprising: The application is applied to a terminal or a network switching device of a terminal, and comprises: After a terminal to be switched on is powered on, network connection information of the terminal to be switched is acquired; wherein the network connection information comprises: a 5G network cell connected and a non-5G network cell connected; If the network connection information of the terminal to be switched is the non-5G network cell connected, network access parameters and environmental network information of the terminal to be switched are acquired; wherein the network access parameters indicate parameters of an access network supported by the terminal; the environmental network information indicates network basic information of network cells in a region range where the terminal to be switched is located; According to the acquired network access parameters and environmental network information, network switching processing is performed.
2. The method of claim 1, wherein, The network basic information represents a network type of a network cell; according to the acquired network access parameters and environmental network information, network switching processing is performed, which comprises: According to the environmental network information, a network type of a network cell in a region range where the terminal to be switched is located is determined; According to the network type of the network cell in the region range where the terminal to be switched is located, a network cell to be switched is determined; According to the network type of the network cell to be switched, the network access parameters of the terminal to be switched are adjusted to perform network switching processing.
3. The method of claim 2, wherein, The network type comprises: the 5G network cell and the non-5G network cell; according to the network type of the network cell in the region range where the terminal to be switched is located, the network cell to be switched is determined, which comprises: If there is a network cell with a network type of 5G network cell in the region range where the terminal to be switched is located, one of the network cells with the network type of 5G network cell is determined as the network cell to be switched; If there is no network cell with a network type of 5G network cell in the region range where the terminal to be switched is located, a connected network cell is determined as the network cell to be switched; wherein the connected network cell is the connected network cell represented by the network connection information.
4. The method of claim 3, wherein, The network access parameters comprise: first network access parameters and second network access parameters; the first network access parameters indicate that an access network supported by the terminal is an LTE network; the second network access parameters indicate that an access network supported by the terminal is a 5G network and an LTE network; according to the network type of the network cell to be switched, the network access parameters of the terminal to be switched are adjusted to perform network switching processing, which comprises: If the network type of the network cell to be switched is the 5G network cell, the network access parameters of the terminal to be switched are adjusted to the second network access parameters to perform network switching processing; If the network type of the network cell to be switched is the non-5G network cell, the network access parameters of the terminal to be switched are adjusted to the first network access parameters to perform network switching processing.
5. The method of claim 4, wherein, If the network type of the network cell to be switched is the 5G network cell, the network access parameters of the terminal to be switched are adjusted to the second network access parameters to perform network switching processing, which comprises: If the network type of the network cell to be switched is the 5G network cell, the network access parameter of the terminal to be switched is adjusted to the second network access parameter, and a network switching request sent by the network cell to be switched is received; According to the received network switching request, the terminal to be switched is connected to complete the network switching process.
6. The method of claim 3, wherein, The network basic information also represents the network signal strength of the network cell; if there is a network cell of the 5G network cell type in the area range where the terminal to be switched is located, one of the network cells of the 5G network cell type is determined as the network cell to be switched, comprising: Obtain the network signal strength of each network cell of the 5G network cell type, and determine the network cell of the 5G network cell type with the strongest network signal strength as the network cell to be switched.
7. The method according to any one of claims 3 to 6, characterized in that If there is no network cell of the 5G network cell type in the area range where the terminal to be switched is located, after the connected network cell is determined as the network cell to be switched, further comprising: Obtain a preset network switching period; According to the preset network switching period, the network access parameter and the environment network information of the terminal to be switched are reacquired.
8. The method of claim 7, wherein, Obtain the environment network information of the terminal to be switched, comprising: Obtain the environment network information of the terminal to be switched based on the frequency sweeping technology; wherein the frequency sweeping technology represents scanning the network basic information of the network cell in the area range where the terminal to be switched is located.
9. A network switching apparatus of a terminal, characterized by comprising: Comprising: The first obtaining module is used for obtaining the network connection information of the terminal to be switched after the terminal to be switched is powered on; wherein the network connection information comprises: connected in the 5G network cell, and connected in the non-5G network cell; The second obtaining module is used for obtaining the network access parameter and the environment network information of the terminal to be switched if the network connection information of the terminal to be switched is the connected non-5G network cell; wherein the network access parameter indicates the parameter of the access network supported by the terminal; the environment network information indicates the network basic information of the network cell in the area range where the terminal to be switched is located; The switching module is used for performing network switching process according to the obtained network access parameter and environment network information.
10. An electronic device, comprising: Comprising: Memory, processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory, so that the processor executes the method of any one of claims 1-8.
11. A computer readable storage medium, characterized in that, The computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by the processor to implement the method of any one of claims 1-8.
12. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-8.
Citation Information
Patent Citations
Network switching method and device and storage medium
CN111093235A
Method for registering from 4G to 5G, mobile terminal and readable storage medium
CN114258005A
RedCap terminal and switching control method thereof
CN117336802A