CN115087049A - Network switching method, device, terminal equipment and storage medium - Google Patents

Network switching method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN115087049A
CN115087049A CN202110261103.3A CN202110261103A CN115087049A CN 115087049 A CN115087049 A CN 115087049A CN 202110261103 A CN202110261103 A CN 202110261103A CN 115087049 A CN115087049 A CN 115087049A
Authority
CN
China
Prior art keywords
network
network connection
switching
equipment
network switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110261103.3A
Other languages
Chinese (zh)
Inventor
李小辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN202110261103.3A priority Critical patent/CN115087049A/en
Publication of CN115087049A publication Critical patent/CN115087049A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/26Reselection being triggered by specific parameters by agreed or negotiated communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a network switching method, a network switching device, terminal equipment and a storage medium. The method comprises the following steps: monitoring the network connection condition of the equipment under the condition that the equipment is connected with a first network, and determining whether network switching is performed currently according to the monitoring result; the monitoring result comprises a network connection state and/or network connection quality; and in the case of determining to perform network switching, closing the first network connection function of the device so as to connect the device to the second network. By adopting the method, whether the network switching is carried out or not can be determined according to the actual service support capability of the first network, so that the switching timeliness can be improved, and the service function of a user is prevented from being influenced. Meanwhile, network switching can be realized by controlling the on-off of the network connection function of the equipment, so that the switching timeliness is improved, and the influence on other equipment is reduced.

Description

Network switching method, device, terminal equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network switching method, an apparatus, a terminal device, and a storage medium.
Background
With the rise of 5G (5th Generation Mobile Networks) technology, 5G has currently entered daily life and provided high-rate communication for various aspects. When a 5G communication system is established, an SA (stand-alone) mode and an NSA (Non-stand-alone) mode can be adopted, and in the NSA networking mode, the framework of option3 is currently popular. In the option3 family of networking schemes, an LTE (Long Term Evolution) core network is used, and a 4G (4th Generation Mobile Communication Technology, fourth Generation Mobile Communication Technology) base station is used as a primary base station, and a 5G base station is used as a secondary base station. At this time, if the terminal device wants to register the NSA 5G, the terminal device must first register the LTE network, and then add a 5G cell by the LTE network, so as to achieve the purpose of registering the NSA 5G, and after registration, the terminal device is respectively connected to LTE and NR (New Radio, New air interface), that is, EN-DC (EUTRA-NR Dual Connection).
In the networking mode, switching operation cannot be directly realized between the SA network and the NSA network, and the SA network can only be switched to the LTE network first, and then the LTE network adds the 5G cell to complete switching from the SA network to the NSA network. However, the current network switching method depends on the measurement event of the network configuration, and has the problem of poor switching timeliness, which easily causes the limitation of the user service function.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a network switching method, device, terminal device and storage medium capable of switching networks in time.
In order to achieve the above object, in a first aspect, an embodiment of the present application provides a network handover method, where the method includes: monitoring the network connection condition of the equipment under the condition that the equipment is connected with a first network, and determining whether network switching is performed currently according to the monitoring result; the monitoring result comprises a network connection state and/or network connection quality; and in the case of determining to perform network switching, closing the first network connection function of the device so as to connect the device to the second network.
In one embodiment, the step of monitoring the network connectivity of the device and determining whether to perform network handover currently according to the network connectivity state includes: adopting a test website to carry out connectivity test, and determining a network communication state according to the result of the connectivity test; and if the network connection state indicates that the network is not connected, performing network switching.
In one embodiment, the number of test web sites is at least three; adopting a testing website to carry out connectivity test, and determining a network connectivity state according to a result of the connectivity test, wherein the step comprises the following steps: and respectively carrying out connectivity test on each test website, and if the equipment is not successfully connected with any test website within the preset connection duration, determining that the network connection state is a disconnected state.
In one embodiment, the step of monitoring the network connectivity of the device and determining whether to perform network handover currently according to the network connection quality includes: and acquiring network connection parameters of the equipment, and determining whether to perform network switching according to the network connection parameters.
In one embodiment, the network connection parameter includes the accumulated data traffic of the device within a preset statistical time duration; the step of determining whether to perform network switching according to the network connection parameters comprises the following steps: and under the condition that the accumulated data flow is smaller than a preset flow threshold, performing network switching.
In one embodiment, the network connection parameters include reference signal received power and signal to noise ratio; the step of determining whether to perform network switching according to the network connection parameters comprises the following steps: and if the reference signal receiving power is smaller than a preset power threshold value or the signal-to-noise ratio is smaller than a preset signal-to-noise ratio threshold value, performing network switching.
In one embodiment, the step of monitoring the network connectivity of the device and determining whether to perform network handover currently according to the network connection quality includes: and monitoring the abnormal condition of the first network, determining the network connection quality according to the abnormal condition, and determining whether to perform network switching based on the network connection quality.
In one embodiment, after the step of turning off the first network connection function of the device to connect the device to the second network, the method further includes: and starting the first network connection function to connect the equipment to the first network under the condition that the closing duration of the first network connection function is greater than the preset forbidden duration.
In one embodiment, the first network is a 5G SA network and the second network is a 5G NSA network.
In a second aspect, an embodiment of the present application provides a network switching apparatus, which includes a network monitoring module and a network switching module. The network monitoring module is used for monitoring the network connection condition of the equipment under the condition that the equipment is connected with a first network, and determining whether network switching is performed currently or not according to the monitoring result; wherein, the monitoring result comprises a network connection state and/or a network connection quality; and the network switching module is used for closing the first network connection function of the equipment under the condition of determining to perform network switching so as to connect the equipment to the second network.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of any one of the network handover methods when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the network handover methods described above.
According to the network switching method, the device, the terminal equipment and the storage medium, under the condition that the equipment is connected with the first network, the network connection condition of the equipment is monitored, whether the network switching is carried out currently or not is determined according to the network connection state and/or the network connection quality, so that whether the first network has the problems of abnormal internet surfing or network congestion and the like can be judged, whether the network switching is carried out or not is determined according to the actual service support capacity of the first network, the timeliness of switching can be further improved, and the service function of a user is prevented from being influenced. Under the condition that the network switching is determined, the first network connection function of the equipment is closed so that the equipment is connected to the second network, the network switching can be realized by controlling the on-off of the network connection function of the equipment, and the influence on other equipment is reduced while the switching timeliness is improved.
Drawings
FIG. 1 is a diagram of an exemplary network handover method;
FIG. 2 is a first flowchart of a network handover method according to an embodiment;
FIG. 3 is a flow diagram illustrating the step of determining whether to perform a network handover in one embodiment;
FIG. 4 is a second flowchart of a network handover method according to an embodiment;
FIG. 5 is a block diagram of a network switch device according to an embodiment;
fig. 6 is an internal configuration diagram of a terminal device in one embodiment.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth to provide a thorough understanding of the present application, and in the drawings, various embodiments of the present application are presented. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. This application is capable of implementation in many other ways than those herein described and of similar modifications by one of ordinary skill in the art without departing from the spirit and scope of the present application and is therefore not limited to the specific embodiments disclosed below.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
As the background art, the prior art has the problem of untimely network switching, which easily causes the limitation of the service function of the user. Taking the handover between the SA network and the LTE network as an example, the handover between the two networks depends on a Measurement Event (Measurement Event) configured by the networks, and finally, an Inter-Radio Access Technology (Inter-Radio Access Technology) operation from the SA network to the LTE network is realized through a handover (handover) or reselection (reselection) process. However, the inventor researches and discovers that the switching mode takes indexes of signals, noise and the like of the SA network and the LTE network as switching standards, and does not consider the actual service support capability of the SA network. When the SA network has a good signal condition but the service support has a problem, which results in that the related services (such as making a call, surfing the internet, sending a short message, etc.) cannot be completely provided, the conventional technology cannot be switched to the LTE/NSA network in time, which causes limitation of the service function of the user in the SA network and affects the user experience.
Based on this, it is necessary to provide a network switching method, apparatus, terminal device and computer readable storage medium, which can improve the timeliness of switching and reduce the influence on other devices by determining whether to perform network switching according to the actual service support capability of the first network. In some embodiments, the present application may monitor the situation of the device accessing the internet through the cellular network within a certain period of time, and further determine whether the current connection network has network anomaly or network congestion, so as to improve the monitoring speed and further improve the timeliness of handover.
The network switching method provided in the present application may be applied to an application environment shown in fig. 1, please refer to fig. 1, where the terminal device 102 communicates with the network device 104 through a communication network, and optionally, the terminal device 102 may further be connected to the auxiliary electronic device 106. The terminal device 102 may support multiple communication networks, for example, may support a 2G network, a 3G network, a 4G network, and a 5G network, and complete each terminal service (such as call, surfing the internet, sending and receiving short messages, etc.) through the communication network connected thereto. Taking a 5G network as an example, the terminal device 102 may perform 5G communication through the first 5G network or the second 5G network, and if the current connection network is the first 5G network and the network connectivity state and/or the network connection quality of the terminal device 102 in the first 5G network satisfy the network switching condition, the current connection network of the terminal device 102 may be switched to the second 5G network, so as to complete the terminal service through the second 5G network. Wherein the first 5G network may be an SA network, the second 5G network may be an NSA network, and the terminal device 102 and the auxiliary electronic device 106 may be, but are not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices.
In one embodiment, as shown in fig. 2, a network handover method is provided, and the method is described by taking the application of the method to the terminal device in fig. 1 as an example, and the device of each embodiment described below may be understood as the present device, i.e., the terminal device itself. It is understood that the method is also applicable to auxiliary electronic devices, and is also applicable to communication systems comprising terminal devices and auxiliary electronic devices, and is implemented through interaction of the terminal devices and the auxiliary electronic devices. When the method is applied to an auxiliary electronic device or a communication system, the devices in the embodiments described below may be understood as terminal devices. In this embodiment, the method includes the steps of:
step 210, monitoring the network connection condition of the device under the condition that the device is connected with the first network, and determining whether to perform network switching currently according to the monitoring result; the monitoring results include network connectivity status and/or network connection quality.
The device network connectivity condition may be a connection condition between the terminal device and the internet in the first network, including but not limited to an internet access condition (e.g., whether the terminal device can access the internet, an internet access speed), signal quality, and the like. The network switching may be understood as switching a currently connected network of the terminal device from one communication network to another different communication network, and it should be noted that the network before switching and the network after switching may be networks under the same communication system, or networks under different communication systems, for example, both may be 5G networks, or one of them is a 5G network, and the other is a 4G network. The network connection state is used for indicating the connection state between the terminal equipment and the internet, and can be determined according to whether the first network can completely provide internet access service for the equipment. Further, the network connection state may include a connection state and a disconnection state, and when the first network is capable of providing a complete internet service for the terminal device, the terminal device is in the connection state, otherwise, the terminal device is in the disconnection state. The network connection quality is the connection quality between the terminal device and the internet in the first network, and may be represented by parameter information such as signal quality and network connection parameters, or may be represented by quality levels.
Specifically, the terminal device monitors the network connectivity of the device when the current connection network of the device is the first network, so as to obtain the network connectivity state and/or the network connection quality. Through the network connection condition and/or the network connection quality, the terminal device can determine whether the device is connected with the internet through the first network currently, and whether the first network has the problems of internet access abnormity or network congestion and the like, and accordingly determine whether the network needs to be switched.
And step 220, under the condition that the network switching is determined, closing the first network connection function of the equipment so as to connect the equipment to the second network.
The first network connection function is a function that the terminal device is connected with the first network, and the terminal device cannot be connected with the first network when the first network connection function is closed. The second network is different from the first network, and further, the first network may be a first 5G network and the second network may be a second 5G network.
Specifically, if it is determined that the current connection network needs to be switched, the terminal device may close the first network connection function of the terminal device, and after the first network connection function is closed, the terminal device may search for a new network and connect to the second network, so that the current connection network may be switched from the first network to the second network, thereby implementing network switching. Taking the first network as a 5G SA network and the second network as a 5G NSA network as an example, when the networks are switched, the terminal device may close the SA network connection function (i.e., disable SA network) of the terminal device, and at this time, the terminal device searches for the network again and registers in the LTE network, and further registers in the NSA network, thereby implementing the switching from the SA network to the NSA network. Under the NSA network, the terminal equipment is in double connection of the LTE network and the NSA network, so that a stable and reliable internet access service can be provided for a user by utilizing a mature network technology.
In the network switching method, under the condition that the terminal equipment is connected with the first network, the terminal equipment monitors the network connection condition of the equipment, and determines whether to carry out network switching currently according to the network connection state and/or the network connection quality, so that whether the first network has the problems of abnormal internet surfing or network congestion and the like can be judged, whether to carry out network switching is determined according to the actual service support capacity of the first network, the timeliness of switching can be further improved, and the service function of a user is prevented from being influenced. Under the condition that the network switching is determined, the terminal equipment closes the first network connection function of the equipment so as to be connected to a second network, so that the network switching can be realized by controlling the opening and closing of the network connection function of the equipment, and further, the influence on other equipment (such as a base station and other terminal equipment) is reduced while the switching timeliness is improved.
In one embodiment, as shown in fig. 3, the step of monitoring the network connectivity of the device and determining whether to perform network handover currently according to the network connectivity state includes:
step 310, adopting a testing website to carry out connectivity testing, and determining a network connectivity state according to a result of the connectivity testing;
and step 320, if the network connection state is a disconnection state, performing network switching.
The testing website is a website for performing connectivity testing, and the number of the testing websites can be one or more. The testing website can be a stable website of the server, so that the influence of server side abnormality on the connectivity test is eliminated, and the accuracy of the connectivity test is improved. In one embodiment, the test web site may be selected from commonly used access web sites.
Specifically, the terminal device may perform connectivity test on the test website in the background, and it can be understood that the connectivity test may be implemented by using a test method of any mode and any principle in the prior art, which is not specifically limited by the present application, and only needs to be able to determine the network connectivity state of the terminal device by using the test method. In one example, the connectivity test may be implemented by ping, and if the terminal device can ping the test website, the network connectivity status is determined to be a connected status, otherwise, the network connectivity status is determined to be a disconnected status. In another example, the connectivity test may be implemented by website login, and if the terminal device can successfully log in the test website, the network connectivity state is determined to be a connected state, otherwise, the network connectivity state is determined to be a disconnected state.
If the network connection state is not connected, the terminal device cannot be connected with the internet through the first network, and therefore network switching is required to connect the terminal device to the second network and realize internet surfing services through the second network.
In this embodiment, the terminal device performs connectivity test by using the test website to determine the network connectivity state of the device, and performs network switching when the network is not connected, so that the device is applicable to any internet access scene, and further improves the timeliness of switching, reduces the complexity of implementation, and avoids increasing the load of the terminal device and affecting the performance of the terminal device.
In one embodiment, the number of test web sites may be at least three. Adopting a test website to carry out connectivity test, and determining a network connection state according to the result of the connectivity test, wherein the steps comprise: and respectively carrying out connectivity test on each test website, and if the equipment is not successfully connected with any test website within the preset connection duration, determining that the network connection state is a disconnected state.
The preset connection duration can be determined according to factors such as the type of the terminal device, the hardware configuration of the terminal device, the communication network supported by the terminal device, the accuracy of the connection test and the like, and the preset connection duration is not particularly limited and only needs to accurately reflect the network connection state.
Specifically, when testing, the terminal device may respectively test each testing website, and if each testing website is not detected successfully continuously within a preset connection duration, it may be determined that the first network has a problem of network anomaly or network congestion at that time, and determine the network connection state as a non-connection state, otherwise, determine the network connection state as a connection state. For example, when the preset connection duration is 30 seconds, if the terminal device is not successfully connected to any test website within 30 seconds, it may be determined that the terminal device is in a disconnected state at this time. It should be noted that the connectivity test of each test website may be performed in parallel, or may be performed sequentially according to a preset sequence, which is not specifically limited in this application. In one embodiment, each testing site can be tested in parallel to shorten the testing time and further improve the timeliness of switching.
In the embodiment, the connectivity test is carried out by adopting not less than 3 test websites, so that the test effectiveness can be ensured.
In one embodiment, the step of monitoring the network connectivity of the device and determining whether to perform network handover currently according to the network connection quality includes: and acquiring network connection parameters of the equipment, and determining whether to perform network switching according to the network connection parameters.
It is to be understood that the network connection parameter may include one or more parameters, each of which may be used to directly or indirectly reflect the network connection Quality of the terminal device, and may be, for example, any one or any combination of Reference Signal Received Power (RSRP), Reference Signal Received Quality (RSRQ), Signal to Interference plus Noise Ratio (SINR), Signal to Interference Noise Ratio (SNR), Signal Noise Ratio (SNR), and cumulative data traffic.
After obtaining the network connection parameters of the terminal device, the terminal device may determine whether to perform network handover according to the network connection parameters, for example, the terminal device may determine according to a comparison result between the network connection parameters and a preset value, or according to a comparison result between the current network connection parameters and historical network connection parameters, or process the network connection parameters through a preset calculation formula or a preset quality determination model, and determine whether to perform network handover according to a processing result. Therefore, the actual service support capability of the first network can be identified, and the network switching is carried out according to the actual service support capability, so that the timeliness of the network switching is improved.
In one embodiment, the network connection parameters include cumulative data traffic for the device over a preset statistical duration. The step of determining whether to perform network switching according to the network connection parameters comprises the following steps: and under the condition that the accumulated data flow is smaller than a preset flow threshold, performing network switching.
The preset statistical duration and the preset flow threshold may be adjusted according to actual conditions, for example, determined according to the type of the terminal device, the hardware configuration of the terminal device, the communication network supported by the terminal device, the current service type of the terminal device, the monitoring efficiency, and other factors. The present application is not particularly limited, and only needs to reflect the network connection quality more accurately.
Specifically, the terminal device may count the accumulated data traffic of the device within a preset time period, and determine whether the accumulated data traffic is smaller than a preset traffic threshold. If so, it can be considered that the internet speed of the first network is slower and the network connection quality is poor, so that network switching is required. If the accumulated data flow is greater than or equal to the preset flow threshold, the accumulated data flow of the equipment in the next preset time can be repeatedly counted, whether the next accumulated data flow is smaller than the preset flow threshold or not is judged, and the steps are repeated.
Further, before counting the accumulated data traffic, the terminal device may also monitor the current service of the device. And under the condition that the current service is a large-flow service (such as online video/online network/live broadcast/online game/download and the like), dynamically calculating the accumulated data flow within the preset time length.
In this embodiment, the terminal device performs statistics on the accumulated data traffic of the terminal device within the preset statistical duration, and determines whether to perform network switching according to a comparison result between the accumulated data traffic and the preset traffic threshold, so as to identify the actual service support capability of the first network, and perform network switching according to the actual service support capability, thereby improving timeliness of network switching.
In one embodiment, the network connection parameters include reference signal received power and signal to noise ratio. The step of determining whether to perform network switching according to the network connection parameters comprises the following steps: and if the reference signal receiving power is smaller than a preset power threshold value or the signal-to-noise ratio is smaller than a preset signal-to-noise ratio threshold value, performing network switching.
The preset power threshold and the preset signal-to-noise ratio threshold may be adjusted according to actual conditions, for example, determined according to the type of the terminal device, the hardware configuration of the terminal device, the communication network supported by the terminal device, the current service type of the terminal device, the monitoring efficiency, and other factors. The present application is not particularly limited, and only needs to reflect the network connection quality more accurately.
Specifically, when the reference signal received power of the first network is smaller than a preset power threshold, or the signal-to-noise ratio is smaller than a preset signal-to-noise ratio threshold, network switching can be performed; when the reference signal receiving power of the first network is larger than or equal to a preset power threshold value and the signal-to-noise ratio is larger than or equal to a preset signal-to-noise ratio threshold value, the current reference signal receiving power and the signal-to-noise ratio of the first network can be continuously monitored.
Although the first network may also automatically trigger NR to LTE IRAT when it is in weak signal, sometimes the handover threshold configured by the network is set very low, which makes it difficult to satisfy the handover condition and fail to switch the network in time. In this embodiment, the received power of the reference signal is compared with the preset power threshold, and the signal-to-noise ratio is compared with the preset signal-to-noise ratio threshold, so that the problem of untimely handover can be solved, and the timeliness of network handover can be further improved.
In one embodiment, the step of monitoring the network connectivity of the device and determining whether to perform network handover currently according to the network connection quality includes: and monitoring the abnormal condition of the first network, determining the network connection quality according to the abnormal condition, and determining whether to perform network switching based on the network connection quality.
Specifically, the terminal device may include a modem, and the terminal device may monitor an abnormal condition of the first network through the modem, and if it is monitored that an abnormal condition affecting internet access exists in the current first network, for example, Radio Link Failure (Radio Link Failure) frequently occurs in the first network, or when the current connection network is frequently switched between the first network and the second network, the first network connection function may be turned off to perform network switching. Therefore, the network communication state and the actual service support capability of the first network can be identified, and network switching is performed according to the network communication state and the actual service support capability, so that the timeliness of network switching is improved.
In one embodiment, after the step of turning off the first network connection function of the device to connect the device to the second network, the method further comprises: and under the condition that the closing duration of the first network connection function is longer than the preset disabling duration, starting the first network connection function (namely, enabling the first network) to enable the equipment to be connected to the first network again, so that the equipment can be re-accessed into the first network, and the network support capability of the equipment is enriched. The preset forbidding time is used for controlling the time for closing the SA network connection function, and the specific value of the preset forbidding time can be adjusted according to actual conditions, for example, the preset forbidding time is determined according to factors such as the type of the terminal device, the hardware configuration of the terminal device, the communication network supported by the terminal device, the use habits of the user, and the historical geographic location of the user.
To facilitate understanding of the aspects of the present application, a specific example will be described below. Referring to fig. 4, an internet access monitoring module and an SA switching module may be defined in the terminal device, and the two modules may be implemented by software programming. The network switching method specifically comprises the following steps:
step S402, the online monitoring module runs a network monitoring main program;
step S404, when monitoring that the device has a relevant service using a large flow at present, the online monitoring module dynamically calculates the accumulated data flow within time T1 (namely within a preset statistical duration);
step S406, the Internet surfing monitoring module judges whether the accumulated data traffic is smaller than a preset traffic threshold value, if so, the step S416 is skipped, and if not, the step S404 is skipped;
step S408, the online monitoring module monitors signal indexes RSRP and SNR of the SA network;
step S410, the online monitoring module judges whether the RSRP is smaller than a preset power threshold (r) or whether the signal-to-noise ratio is smaller than a preset signal-to-noise ratio threshold (S), if so, the step S416 is skipped, and if not, the step S408 is skipped;
step S412, the Internet access monitoring module selects 3 commonly used stable websites for connectivity test;
step S414, the internet access monitoring module determines whether 3 websites are continuously unavailable within time T2 (i.e. within a preset connection duration), if so, the step S416 is skipped, and if not, the step S412 is skipped;
step S416, the online monitoring module calls an SA switching module;
step S418, the network switching module closes the SA network connection function (disable SA network);
step S420, the network switching module starts a timer; the timer is used for controlling the time length for closing the SA network connection function;
step S422, the network switching module searches for the network and switches to the NSA mode for standby;
step S424, the network switching module determines whether the timer is overtime, if yes, the step S426 is skipped to;
step S426, the network switching module starts the SA network connection function (Enable SA network);
in step S428, the network switch module switches to SA mode standby.
In this embodiment, the situation that a user surfs the internet through the SA network within a certain period of time is monitored, and then whether the current connection network has the problem of abnormal internet surfing or network congestion is judged, when the current SA network is judged to have abnormal internet surfing or network congestion, the SA network connection function is temporarily closed, the closing duration of the SA network connection function can be controlled by a defined timer, and the SA network is switched back when the timer is overtime, so that the terminal device can be registered in the LTE network and switched to the NSA network, and under the NSA network, the terminal device is in double connection of the LTE network and the NSA network, and further, a mature network technology can be used for providing stable and reliable internet surfing services for the user.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a network switching apparatus 500, including: a network monitoring module 510 and a network switching module 520, wherein:
a network monitoring module 510, configured to monitor a network connectivity condition of the device when the device is connected to the first network, and determine whether to perform network switching currently according to a monitoring result; the monitoring result comprises a network connection state and/or network connection quality;
a network switching module 520, configured to, in a case that it is determined to perform network switching, close the first network connection function of the device, so as to connect the device to the second network.
In one embodiment, the network monitoring module 510 includes a network connectivity status determination unit and a handover determination unit. The network connection state determining unit is used for performing connectivity test by adopting the test website and determining the network connection state according to the result of the connectivity test. The switching determining unit is used for switching the network under the condition that the network connection state is the disconnection state.
In one embodiment, the number of test web sites is at least three. The network connection state determining unit is further configured to perform connectivity tests on the test websites respectively, and determine that the network connection state is a disconnected state if the device is not successfully connected with any of the test websites within a preset connection duration.
In one embodiment, the network monitoring module 510 includes a network connection parameter determining unit, which is configured to obtain a network connection parameter of the device and determine whether to perform network handover according to the network connection parameter.
In one embodiment, the network connection parameters include cumulative data traffic for the device over a preset statistical duration. The network connection parameter determining unit is further configured to perform network switching when the accumulated data traffic is smaller than a preset traffic threshold.
In one embodiment, the network connection parameters include reference signal received power and signal to noise ratio. The network connection parameter determining unit is further configured to perform network handover when the received power of the reference signal is smaller than a preset power threshold, or the signal-to-noise ratio is smaller than a preset signal-to-noise ratio threshold.
In one embodiment, the network monitoring module 510 includes a first network monitoring unit configured to monitor an abnormal condition of the first network, determine a network connection quality according to the abnormal condition, and determine whether to perform a network handover based on the network connection quality.
In one embodiment, the network switching module 520 is further configured to activate the first network connection function to connect the device to the first network if the shutdown duration of the first network connection function is longer than the preset disabled duration.
In one embodiment, the first network is a 5G SA network and the second network is a 5G NSA network.
For specific limitations of the network handover apparatus 500, reference may be made to the above limitations of the network handover method, which is not described herein again. The modules in the network switching apparatus 500 may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a network handover method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a terminal device comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: monitoring the network connection condition of the equipment under the condition that the equipment is connected with a first network, and determining whether network switching is performed currently according to the monitoring result; the monitoring result comprises a network connection state and/or network connection quality; and in the case of determining to perform network switching, closing the first network connection function of the device so as to connect the device to the second network.
In one embodiment, the processor, when executing the computer program, further performs the steps of: adopting a test website to carry out connectivity test, and determining a network communication state according to the result of the connectivity test; and if the network connection state is the disconnection state, performing network switching.
In one embodiment, the number of test web sites is at least three. The processor when executing the computer program further realizes the following steps: and respectively carrying out connectivity test on each test website, and if the equipment is not successfully connected with any test website within the preset connection duration, determining that the network connection state is a disconnected state.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and acquiring network connection parameters of the equipment, and determining whether to perform network switching according to the network connection parameters.
In one embodiment, the network connection parameters include cumulative data traffic for the device over a preset statistical duration. The processor, when executing the computer program, further performs the steps of: and under the condition that the accumulated data flow is smaller than a preset flow threshold, performing network switching.
In one embodiment, the network connection parameters include reference signal received power and signal to noise ratio. The processor, when executing the computer program, further performs the steps of: and if the reference signal receiving power is smaller than a preset power threshold value or the signal-to-noise ratio is smaller than a preset signal-to-noise ratio threshold value, performing network switching.
In one embodiment, the processor when executing the computer program further performs the steps of: and monitoring the abnormal condition of the first network, determining the network connection quality according to the abnormal condition, and determining whether to perform network switching based on the network connection quality.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and starting the first network connection function to connect the equipment to the first network under the condition that the closing duration of the first network connection function is greater than the preset forbidden duration.
In one embodiment, the first network is a 5G SA network and the second network is a 5G NSA network.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: monitoring the network connection condition of the equipment under the condition that the equipment is connected with a first network, and determining whether network switching is performed currently according to the monitoring result; the monitoring result comprises a network connection state and/or network connection quality; and in the case of determining to perform network switching, closing the first network connection function of the device so as to connect the device to the second network.
In one embodiment, the computer program when executed by the processor further performs the steps of: adopting a test website to carry out connectivity test, and determining a network communication state according to the result of the connectivity test; and if the network connection state is the disconnection state, performing network switching.
In one embodiment, the number of test web sites is at least three. The computer program when executed by the processor further realizes the steps of: and respectively carrying out connectivity test on each test website, and if the equipment is not successfully connected with any test website within preset connection duration, determining that the network connection state is a non-connection state.
In one embodiment, the computer program when executed by the processor further performs the steps of: and acquiring network connection parameters of the equipment, and determining whether to perform network switching according to the network connection parameters.
In one embodiment, the network connection parameters include cumulative data traffic for the device over a preset statistical duration. The computer program when executed by the processor further realizes the steps of: and under the condition that the accumulated data flow is smaller than a preset flow threshold, performing network switching.
In one embodiment, the network connection parameters include reference signal received power and signal to noise ratio. The computer program when executed by the processor further realizes the steps of: and if the reference signal receiving power is smaller than a preset power threshold value or the signal-to-noise ratio is smaller than a preset signal-to-noise ratio threshold value, performing network switching.
In one embodiment, the computer program when executed by the processor further performs the steps of: and monitoring the abnormal condition of the first network, determining the network connection quality according to the abnormal condition, and determining whether to perform network switching based on the network connection quality.
In one embodiment, the computer program when executed by the processor further performs the steps of: and starting the first network connection function to connect the equipment to the first network under the condition that the closing duration of the first network connection function is greater than the preset forbidden duration.
In one embodiment, the computer program when executed by the processor further performs the steps of: the first network is a 5G SA network and the second network is a 5G NSA network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method for network handover, the method comprising:
monitoring the network connection condition of the equipment under the condition that the equipment is connected with a first network, and determining whether network switching is performed currently according to the monitoring result; the monitoring result comprises a network connection state and/or network connection quality;
and in the case of determining to perform network switching, closing the first network connection function of the device so as to connect the device to the second network.
2. The network switching method according to claim 1, wherein the step of monitoring the network connectivity of the device and determining whether to perform the network switching currently according to the network connectivity comprises:
adopting a testing website to carry out connectivity test, and determining the network connectivity state according to the result of the connectivity test;
and if the network connection state is a disconnection state, performing network switching.
3. The network switching method according to claim 2, wherein the number of the test web addresses is at least three;
adopting a test website to carry out connectivity test, and determining the network connectivity state according to the result of the connectivity test, wherein the steps comprise:
and respectively carrying out connectivity test on each test website, and if the equipment is not successfully connected with any test website within a preset connection duration, determining that the network connection state is a disconnected state.
4. The network switching method according to claim 1, wherein the step of monitoring the device network connectivity and determining whether to perform network switching currently according to the network connection quality comprises:
and acquiring network connection parameters of the equipment, and determining whether to perform network switching according to the network connection parameters.
5. The network switching method according to claim 4, wherein the network connection parameter comprises an accumulated data traffic of the device within a preset statistical duration;
the step of determining whether to perform network switching according to the network connection parameters comprises the following steps:
and performing network switching under the condition that the accumulated data traffic is smaller than a preset traffic threshold.
6. The network handover method of claim 4, wherein the network connection parameters comprise a reference signal received power and a signal-to-noise ratio;
the step of determining whether to perform network switching according to the network connection parameters comprises the following steps:
and if the reference signal receiving power is smaller than a preset power threshold value or the signal-to-noise ratio is smaller than a preset signal-to-noise ratio threshold value, performing network switching.
7. The network switching method according to claim 1, wherein the step of monitoring the device network connectivity and determining whether to perform network switching currently according to the network connection quality comprises:
and monitoring the abnormal condition of the first network, determining the network connection quality according to the abnormal condition, and determining whether to perform network switching based on the network connection quality.
8. The network switching method according to any one of claims 1 to 7, wherein after the step of turning off the first network connection function of the device to connect the device to the second network, further comprising:
and starting the first network connection function to enable the equipment to be connected to the first network under the condition that the closing duration of the first network connection function is longer than the preset forbidden duration.
9. A network switching apparatus, the apparatus comprising:
the network monitoring module is used for monitoring the network connection condition of the equipment under the condition that the equipment is connected with a first network and determining whether network switching is carried out currently according to the monitoring result; the monitoring result comprises a network connection state and/or network connection quality;
and the network switching module is used for closing the first network connection function of the equipment under the condition of determining to perform network switching so as to connect the equipment to the second network.
10. A terminal device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202110261103.3A 2021-03-10 2021-03-10 Network switching method, device, terminal equipment and storage medium Pending CN115087049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110261103.3A CN115087049A (en) 2021-03-10 2021-03-10 Network switching method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110261103.3A CN115087049A (en) 2021-03-10 2021-03-10 Network switching method, device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115087049A true CN115087049A (en) 2022-09-20

Family

ID=83240371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110261103.3A Pending CN115087049A (en) 2021-03-10 2021-03-10 Network switching method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115087049A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104684046A (en) * 2013-11-27 2015-06-03 重庆重邮信科通信技术有限公司 A network searching method and terminal
US20150350933A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Wireless Link Quality Monitoring
US20160088678A1 (en) * 2014-09-23 2016-03-24 Telefonaktiebolaget L M Ericsson (Publ) Network initiated evolved packet core (epc) and ip multimedia subsystem (ims) network usage optimization algorithm for lte capable smartphones connected to wireless lan (wi-fi) network
CN106465236A (en) * 2014-04-15 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Network searching method and network searching device, and terminal
US20190053115A1 (en) * 2017-08-09 2019-02-14 Qualcomm Incorporated Methods and apparatus for mitigating co-existence issues in communcation systems
CN110621049A (en) * 2018-06-19 2019-12-27 中国移动通信有限公司研究院 Communication method and device of dual-mode terminal and dual-mode terminal
WO2020010595A1 (en) * 2018-07-13 2020-01-16 华为技术有限公司 Method for selecting nsa and sa networking modes and terminal device
CN110708738A (en) * 2019-09-29 2020-01-17 维沃移动通信有限公司 Network information processing method and terminal equipment
CN111093235A (en) * 2019-11-05 2020-05-01 珠海格力电器股份有限公司 Network switching method, equipment and storage medium
CN111586782A (en) * 2020-05-25 2020-08-25 维沃移动通信有限公司 Network connection method and device
CN111836324A (en) * 2020-09-08 2020-10-27 珠海格力电器股份有限公司 Network switching method and device
CN111885678A (en) * 2020-07-30 2020-11-03 广东小天才科技有限公司 Data processing method, terminal device and medium for uplink exception
CN112218347A (en) * 2020-09-27 2021-01-12 Oppo(重庆)智能科技有限公司 Method and device for inhibiting inter-system ping-pong, terminal equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104684046A (en) * 2013-11-27 2015-06-03 重庆重邮信科通信技术有限公司 A network searching method and terminal
CN106465236A (en) * 2014-04-15 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Network searching method and network searching device, and terminal
US20150350933A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Wireless Link Quality Monitoring
US20160088678A1 (en) * 2014-09-23 2016-03-24 Telefonaktiebolaget L M Ericsson (Publ) Network initiated evolved packet core (epc) and ip multimedia subsystem (ims) network usage optimization algorithm for lte capable smartphones connected to wireless lan (wi-fi) network
US20190053115A1 (en) * 2017-08-09 2019-02-14 Qualcomm Incorporated Methods and apparatus for mitigating co-existence issues in communcation systems
CN110621049A (en) * 2018-06-19 2019-12-27 中国移动通信有限公司研究院 Communication method and device of dual-mode terminal and dual-mode terminal
WO2020010595A1 (en) * 2018-07-13 2020-01-16 华为技术有限公司 Method for selecting nsa and sa networking modes and terminal device
CN110708738A (en) * 2019-09-29 2020-01-17 维沃移动通信有限公司 Network information processing method and terminal equipment
CN111093235A (en) * 2019-11-05 2020-05-01 珠海格力电器股份有限公司 Network switching method, equipment and storage medium
CN111586782A (en) * 2020-05-25 2020-08-25 维沃移动通信有限公司 Network connection method and device
CN111885678A (en) * 2020-07-30 2020-11-03 广东小天才科技有限公司 Data processing method, terminal device and medium for uplink exception
CN111836324A (en) * 2020-09-08 2020-10-27 珠海格力电器股份有限公司 Network switching method and device
CN112218347A (en) * 2020-09-27 2021-01-12 Oppo(重庆)智能科技有限公司 Method and device for inhibiting inter-system ping-pong, terminal equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZTE等: ""R2-1702832 Consideration on RRC functions and procedures"", 3GPP TSG_RAN\\WG2_RL2 *

Similar Documents

Publication Publication Date Title
US9591558B2 (en) Smart connection manager
US9591497B2 (en) Wireless link quality monitoring
CN106102143B (en) Application processing method and device
US9049650B2 (en) Methods and apparatus for selecting an inter-radio access technology for an electronic device
US9661563B1 (en) Efficient searching for communications networks
CN112689310B (en) Network switching method and device, computer equipment and storage medium
WO2022143520A1 (en) Cell switching method and apparatus, and user equipment
KR20120006461A (en) Method and apparatus for handling measurement configuration and logging in a wireless communication system
JP2014209802A (en) Communication system, information collection control device, information collection control program and information measurement control method
CN110418388B (en) Cell reselection control method and device and mobile terminal
KR20140112331A (en) Communication Connection Control Method And Electronic Device Supporting the same
CN111405579A (en) Network optimization method and device, storage medium and electronic equipment
US20230276324A1 (en) Cell Reselection-Related Information Associated with Network Slice or Closed Access Group For Wireless Networks
WO2024088234A1 (en) Terminal network scheduling method and apparatus, electronic device, and readable storage medium
CN112333762B (en) Network registration method and device
CN115088290A (en) Inter-radio access technology cell measurement
CN115087049A (en) Network switching method, device, terminal equipment and storage medium
KR101993778B1 (en) Apparatus and Method for Displaying Indicator According to Interwork Network
CN112399515B (en) Communication processing method and device
CN113038506A (en) Measuring method and device
KR20100087464A (en) Method and apparatus for cell selection
JP2013201656A (en) Mobile terminal device
CN113645675A (en) Non-independent networking NSA mode communication method and device and electronic equipment
US20240224088A1 (en) Systems, apparatuses, and methods for network analysis
EP4376466A1 (en) Radio resource management measurement processing method and apparatus, and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination