CN112689310A - Network switching method and device, computer equipment and storage medium - Google Patents

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

Info

Publication number
CN112689310A
CN112689310A CN202011423478.7A CN202011423478A CN112689310A CN 112689310 A CN112689310 A CN 112689310A CN 202011423478 A CN202011423478 A CN 202011423478A CN 112689310 A CN112689310 A CN 112689310A
Authority
CN
China
Prior art keywords
network
network system
switching
serving cell
ping
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.)
Granted
Application number
CN202011423478.7A
Other languages
Chinese (zh)
Other versions
CN112689310B (en
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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202011423478.7A priority Critical patent/CN112689310B/en
Publication of CN112689310A publication Critical patent/CN112689310A/en
Priority to PCT/CN2021/107075 priority patent/WO2022121315A1/en
Application granted granted Critical
Publication of CN112689310B publication Critical patent/CN112689310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application relates to a network switching method, a network switching device, computer equipment and a storage medium. The method comprises the following steps: acquiring an identifier of a serving cell, wherein the current network of the serving cell is a first network type; determining the number of ping-pong switching according to the identification of the serving cell; when the ping-pong switching times reach a set time, acquiring second network system information; and switching from the first network system to a second network system according to the second network system information. By adopting the method, the network delay can be reduced.

Description

Network switching method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network switching method and apparatus, a computer device, and a storage medium.
Background
With the development of communication technology, a technology of adopting a mobile terminal to carry out network connection appears, and the network connection technology enables the life of people to be more efficient and convenient, for example, people can receive and pay through a payment terminal, and the technology is very convenient and fast.
The existing mobile terminal supports multiple network systems, and the power consumption and the connection speed under different network systems are different. In the prior art, a mobile terminal preferentially resides in a network system with a higher level, such as a 4G network, according to the signal strength of the network system, so as to obtain a faster connection speed. For example, after a user initiates a payment service on a payment terminal, a mobile terminal is preferentially accessed to a 4G network (such as 4G LTE), transmits a service request message to an opposite-end background server on a network side, and after receiving the service request message, the server side responds to the service request message, and then normally performs a subsequent data interaction process and finally completes payment quickly.
However, when the current network handover method is used in some remote suburbs or areas with severe interference, the network signal is poor, so that the network delay is easy to occur when the user uses the mobile terminal.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a network handover method, apparatus, computer device and storage medium capable of reducing network delay.
A method of network handover, the method comprising:
acquiring an identifier of a serving cell, wherein the current network of the serving cell is a first network type;
determining the number of ping-pong switching according to the identification of the serving cell;
when the ping-pong switching times reach a set time, acquiring second network system information;
and switching from the first network system to a second network system according to the second network system information.
In one embodiment, the determining the number of ping-pong handovers according to the identity of the serving cell includes:
determining a switching path of the serving cell according to the identifier of the serving cell;
and judging whether the switching path is ping-pong switching or not, and determining the ping-pong switching times.
In one embodiment, the method further comprises:
acquiring a signal value of the serving cell;
determining a signal quality grade according to the signal value and a preset grade threshold value;
when the duration of the signal value at the set signal quality level is longer than the preset duration, acquiring second network system information; wherein the set signal quality level comprises a worst signal quality level;
and switching from the first network system to a second network system according to the second network system information.
In one embodiment, the method further comprises the following steps: the serving cell information includes a signal value of a serving cell; determining a signal quality grade according to the signal value and a preset grade threshold value;
when the signal quality is continuously at the set signal quality level, acquiring second network system information; wherein the set signal quality level comprises a first signal quality level, the first signal quality level identifying a worst signal quality;
and switching from the first network system to the second network system according to the acquired second network system information.
In one embodiment, further comprising:
and acquiring the identification and the signal value of the service cell every a preset period, and recording the identification and the signal value of the service cell.
In one embodiment, the preset duration is N times the preset period.
In an embodiment, after the obtaining the second network system information, the method further includes:
checking whether the second network standard is an unused network standard or not according to the stored used network standard;
according to the priority sequence of the second network standard in each network standard, checking whether the priority of the second network standard is prior to the first network standard;
and if the second network system is not used or the priority of the second network system is prior to the first network system, executing the step of switching from the first network system to the second network system according to the acquired second network system information.
A network switching apparatus, the apparatus comprising:
a cell information obtaining module, configured to obtain an identifier of a serving cell, where a current network of the serving cell is a first network type;
a ping-pong switching frequency determining module, configured to determine a ping-pong switching frequency according to the identifier of the serving cell;
the network system obtaining module is used for obtaining second network system information when the ping-pong switching times reach the set times;
and the network system switching module is used for switching from the first network system to the second network system according to the second network system information.
In one embodiment, the network format obtaining module further includes:
a switching path determining module, configured to determine a switching path of the serving cell according to the identifier of the serving cell;
and the switching frequency acquisition module is used for judging whether the switching path is ping-pong switching or not and determining the frequency of the ping-pong switching.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring an identifier of a serving cell, wherein the current network of the serving cell is a first network type;
determining the number of ping-pong switching according to the identification of the serving cell;
when the ping-pong switching times reach a set time, acquiring second network system information;
and switching from the first network system to a second network system according to the second network system information.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring an identifier of a serving cell, wherein the current network of the serving cell is a first network type;
determining the number of ping-pong switching according to the identification of the serving cell;
when the ping-pong switching times reach a set time, acquiring second network system information;
and switching from the first network system to a second network system according to the second network system information.
The network switching method, the device, the computer equipment and the storage medium acquire the identifier of the serving cell, wherein the current network of the serving cell is a first network type; determining the number of ping-pong switching according to the identification of the serving cell; when the ping-pong switching times reach the set times, acquiring second network system information; and switching from the first network system to the second network system according to the second network system information. When detecting that the mobile terminal has frequent ping-pong switching, the first network system is switched to the second network system, so that the situation that the communication quality of the mobile terminal is low due to frequent ping-pong switching is avoided, the mobile terminal can keep a good network communication state, and the network delay is reduced.
Drawings
FIG. 1 is a diagram of an exemplary network handover method;
FIG. 2 is a flow diagram illustrating a method for network handover in one embodiment;
FIG. 3 is a flow diagram illustrating the determination of ping-pong handover times in one embodiment;
fig. 4 is a schematic flowchart of a network format switching method in another embodiment;
FIG. 5 is a flow diagram illustrating a combination of two network handover methods in one embodiment;
FIG. 6 is a block diagram of a network switch device in one embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The network switching method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 and the base station 104 communicate via a network. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the base station 104 includes a plurality of sub-base stations, and each sub-base station corresponds to a serving cell. The terminal 102 accesses the network, that is, the terminal 102 is in communication connection with any one of the child stations, and the terminal 102 acquires the serving cell information of the child station to which the terminal is accessed. When a cell switch occurs, for example, the serving cell information acquired by the terminal changes from a1 to a2, which indicates that the terminal changes from the child base station corresponding to the serving cell a1 to the child base station corresponding to the access serving cell a 2.
In an embodiment, as shown in fig. 2, a network handover method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step S202, obtaining an identifier of a serving cell, wherein a current network of the serving cell is a first network type.
The serving cell is a cell to which the terminal is currently accessed for communication. A cell, also referred to as a cell, refers to an area covered by a base station or a part of a base station (e.g., a sector antenna) in a cellular mobile communication system, and within this area, a mobile terminal can reliably communicate with the base station through a radio channel. The identification of the service cell is the basis for the terminal to identify each service cell, and the unique corresponding service cell can be identified according to the identification of the service cell.
The terminal supports multiple network standards, that is, the terminal can communicate through multiple network standards, including but not limited to second generation GSM, TDMA and other digital mobile phones (2G), 2.5 th generation mobile communication technology GPRS, third generation mobile communication technology 3G, and fourth generation mobile communication technology 4G. The first network system is any one of the first network systems, and the second network system is other network systems different from the first network system. The first network system and the second network system are respectively used for distinguishing two different network system states before the network system of the terminal is switched. If the first network type is a network type before switching, such as 4G, relative to the changed second network type, and the second network type is a network type after switching, the second network type may be other network types except 4G, such as GPRS, 3G, 5G, and the like. Under the same network system, a plurality of different pieces of service cell information can be registered in different time periods.
Specifically, after the terminal is powered on, the terminal notices the first network type, and locally records and stores the service cell information under the currently registered network type.
And step S204, determining the ping-pong switching times according to the identification of the service cell.
In a wireless communication system, when a mobile terminal moves from one cell (i.e., a base station or the coverage area of a base station) to another cell, handover is performed between two different cells in order to ensure that user communication is not interrupted. The cell switching means that a serving cell accessed by a mobile terminal changes, and the serving cell accessed by the mobile terminal can be determined to change according to the change of the identifier of the serving cell. For example, the identity of the serving cell accessed by the mobile terminal changes from B1 to B2, and since identity B1 corresponds to serving cell a1, identity B2 corresponds to serving cell a 2. At this time, the identity changes from B1 to B2, which means that the serving cell changes from a1 to a 2. I.e. one cell handover occurs or is said to occur.
Ping-pong handover refers to a terminal switching back and forth between a currently camped serving cell and its neighboring cells. Ping-pong handover may be from a serving cell and back to the serving cell after handover to and from a neighboring cell. For example, the current serving cell is a1 and the neighboring cell a2, the handover from a1 to a2 is performed to a1, that is, a ping-pong handover occurs between the current serving cell a1 and the neighboring cell a2 (a1-a2-a1), and the handover from a1 to a2 to a1 to a2 is performed to a1, that is, it indicates that two ping-pong handovers occur between the current serving cell a1 and the neighboring cell a2 (a1-a2-a1-a2-a 1). Assuming that there is a neighboring cell A3, the handover occurs three times from the current serving cell a1 to a2 to A3 to a1, but no ping-pong handover occurs (a1-a2-A3-a 1).
When determining ping-pong handover according to the identity of the serving cell, the terminal records the number of ping-pong handover.
Step S206, when the ping-pong switching times reach the set times, acquiring second network system information.
Specifically, the set number is a maximum number of times that ping-pong handover occurs, which is set by the terminal. When the ping-pong switching frequency reaches the set frequency, the terminal judges that the ping-pong switching frequency is frequent, which causes unstable or interrupted signals and affects the terminal service. For example, in the payment service of the mobile terminal, when a user initiates a payment request, if frequent ping-pong switching occurs in the mobile terminal, which results in unstable or interrupted signals, the stability of a data link is greatly reduced, and the payment service request cannot be normally transmitted to an opposite-end server, which results in a payment failure and seriously affects the user experience. Thereby starting to acquire the second network system information.
Step S208, according to the second network system information, switching from the first network system to the second network system.
And in order to not influence the service of the mobile terminal, the terminal is switched from the first network system to the second network system according to the acquired information of the second network system.
The network switching method, the device, the computer equipment and the storage medium acquire the identifier of the serving cell, wherein the current network of the serving cell is a first network type; determining the number of ping-pong switching according to the identification of the serving cell; when the ping-pong switching times reach the set times, acquiring second network system information; and switching from the first network system to the second network system according to the second network system information. Namely, when detecting that the mobile terminal has frequent ping-pong switching, switching the first network system to the second network system. The communication quality reduction caused by frequent ping-pong switching is avoided, and the mobile terminal can keep a better network communication state, thereby reducing the network delay.
In an embodiment, as shown in fig. 3, the determining the number of ping-pong handovers according to the identity of the serving cell includes:
step S2042, determining the switching path of the service cell according to the identification of the service cell.
Specifically, the identifier of the serving cell may be identified and recorded by the terminal, and the record of the handover between serving cells may also be set in a self-defined manner through a window, where the record range threshold is a natural number. And the serving cell and the handover record between the serving cells are stored in a push manner. For example, if the input record range threshold is 3, the terminal may store the first 3 serving cells including the current serving cell and its handover records, e.g., A3 is the current serving cell, and go through the process of switching from a4 to a2 before A3 and then switching from a2 to a1 (a4-a2-a1-A3), if the record range threshold is set to 3, only the handover records of a2, a1, A3, and a2-a1-A3 are stored, and a4 will not be stored. The handover record of the serving cell is, for example, a handover from a2 to a1, and a1 to A3 (a2-a 1-A3).
Step S2044, determining whether the switching path is ping-pong switching, and determining the number of ping-pong switching.
Specifically, if it is monitored that the terminal switches back and forth between two serving cells according to the switching path, for example, if the terminal switches back and forth from one serving cell to another serving cell and finally returns to the serving cell from which the terminal started, it may be determined that ping-pong switching occurs. And at the set recording range threshold, recording once by the terminal every ping-pong switching, and accumulating the times of ping-pong switching so as to obtain the total times of ping-pong switching.
And comparing the total times of ping-pong switching and the set times of the terminal within the set recording range threshold, wherein if the ping-pong switching times is less than the set times, the terminal cannot acquire the second network system information. And when the ping-pong switching times reach the set times, the terminal starts to acquire the second network system information.
In this embodiment, the handover path of the serving cell is determined according to the serving cell identifier. And when the ping-pong handover is determined according to the handover path, determining the ping-pong handover times. And when the ping-pong switching times reach the set times, judging that frequent ping-pong switching occurs, and switching from the first network system to the second network system. The network system which frequently has ping-pong switching is switched to the network system which does not frequently have ping-pong switching, so that the mobile terminal can keep better network communication condition, and the network delay is reduced.
In one embodiment, as shown in fig. 4, the network handover method further includes: step S402, acquiring the signal value of the serving cell.
The Signal value of the serving cell is a specific value indicating the Signal of the serving cell, and includes various forms, such as LTE (4G network) primary Reference RSRP ((Reference Signal Receiving Power, which ranges from-140 to-44 db), WCDMA (3G network) Reference index being RSCP (Received Signal Channel Power, pilot Channel Signal Strength), GSM (2G network) Reference index being CSQ and RSSI (Received Signal Strength Indication).
And step S404, determining the signal quality grade according to the signal value and a preset grade threshold value.
Specifically, the preset level threshold is a basis for dividing the signal quality of the serving cell, and multiple level thresholds may be set, and during the division, the signal value of the serving cell is compared with the preset level threshold to determine the signal quality level. The signal quality of the current network can be distinguished according to the signal quality level. The higher the signal quality level, the better the signal quality is. In one embodiment, two level thresholds are provided and the signal value is compared to the level thresholds to determine three signal quality levels, a first signal quality level, a second signal quality level and a third signal quality level. The signal quality of the third signal quality level is the highest, the signal quality of the second signal quality level is the second highest, the signal quality of the first signal quality level is the worst, and at the moment, the first signal quality level is the worst signal quality level.
Step S406, when the duration of the signal value in the set signal quality level is longer than the preset duration, acquiring second network system information; wherein the set signal quality level comprises a worst signal quality level.
The preset time period is the longest time that the signal value can be continuously at the set signal quality level, for example, the set preset time period may be 20 seconds. And when the duration of the signal value of the serving cell in the set signal quality level is not longer than the preset duration, the terminal normally communicates under the signal value and acquires a new signal value of the serving cell. And when the duration of the signal value of the serving cell in the set signal quality level is longer than the preset duration, the terminal acquires second network system information.
Specifically, setting the signal quality level is that the signal quality is poor, which causes communication to be affected, and when the signal value of the serving cell is continuously in the set signal quality level, it indicates that the quality of the signal value of the serving cell is poor, which affects the completion of the terminal service. For example, in the payment service of the mobile terminal, when a user initiates a payment request, if the signal quality of the mobile terminal is poor, the payment service request cannot be normally or quickly transmitted to the opposite-end server, thereby causing a payment failure.
In order not to affect the service of the mobile terminal, the terminal will acquire the second network type. If the first signal quality grade and the second signal quality grade are both regarded as grades with poor signal quality, the signal value of the serving cell is continuously in the first signal quality grade, or continuously in the second signal quality grade, and when the continuous duration of the first signal quality grade or the second signal quality grade reaches the preset duration, the terminal is triggered to acquire the second network system.
Step S408, according to the obtained second network system information, switching from the first network system to the second network system.
Specifically, in the first network system, the trigger terminal is switched from the first network system to the second network system due to poor signal quality of the serving cell.
In this embodiment, the signal quality level is determined according to the signal value and a preset level threshold. And when the set signal quality grade is continuously in the set signal quality grade, acquiring second network system information, wherein the set signal quality grade comprises the worst signal quality grade. And switching from the first network system to the second network system according to the second network system information. And determining the signal quality grade of the serving cell according to the signal value of the serving cell, and determining that the signal quality grade of the serving cell is poor when the duration of the signal quality grade of the serving cell in the set signal quality grade (namely the signal quality grade is poor) is longer than the preset duration, so as to trigger the terminal to acquire the second network system according to the second network system information. The communication quality reduction caused by frequent ping-pong switching is avoided, and the mobile terminal can keep a better network communication state, thereby reducing the network delay.
In one embodiment, the network switching method further comprises: and acquiring the identification and the signal value of the service cell every a preset period, and recording the identification and the signal value of the service cell.
Specifically, the preset period takes a reporting period of the operating system as a preset period. And at a preset period, the terminal acquires the identification of the service cell and the signal value corresponding to the service cell at regular time and records the identification and the signal value of the service cell. For example, the preset period is 5 seconds, after the terminal acquires serving cell a1, the terminal waits for the preset period of 5 seconds to automatically acquire the next serving cell, and records the identifier and the signal value of the next serving cell.
In this embodiment, the identifier and the signal value of the serving cell are obtained every preset period and recorded, so that the serving cell is updated at regular time, and the terminal can judge whether cell handover occurs or not and judge frequent ping-pong handover more accurately.
In one embodiment, the network switching method further comprises: the preset duration is N times of the preset period.
Specifically, the preset duration is N times of the preset period, and N is a natural number. I.e. the preset duration may be the cumulative sum of N preset period durations. If N is 4, the preset duration is the sum of the durations of 4 preset periods, and when the signal values of the serving cell in 5 preset periods are all at the set signal quality level in 5 continuous preset periods, since the cumulative sum of the durations of 5 preset periods is greater than the sum of the durations of 4 preset periods (namely the preset duration), it can be determined that the signal value of the serving cell is poor, and the terminal acquires the second network system information.
In an embodiment, after the obtaining the second network system information, the method further includes: checking whether the second network standard is an unused network standard or not according to the stored used network standard; according to the priority sequence of the second network standard in each network standard, checking whether the priority of the second network standard is prior to the first network standard; and if the second network system is not used or the priority of the second network system is prior to the first network system, executing the step of switching from the first network system to the second network system according to the acquired second network system information.
Specifically, the used network standard is a network standard that has already been used and stored in the mobile terminal before the second network standard is acquired. When entering a scene of network system switching, the network system used by the first network system before switching is called a used network system. The unused network standard of the first network standard before switching is called as an unused network standard.
The step of checking whether the second network standard is a previously unused network standard means that whether the network standard corresponding to the second network standard is the same as a used network standard stored in the mobile terminal. For example, the 4G format is a used network format already stored in the mobile terminal, and at this time, it is checked whether the network format corresponding to the second network format is the 4G format. And comparing the second network system information with the stored used network system, and determining whether the mobile terminal uses the second network system before by comparing whether the second network system information is consistent with the stored used network system. Since the unused network format may be the best network format not utilized.
The default network configuration priority order of the mobile terminal is 5G, 4G, 3G and 2G from high to low, when frequent ping-pong switching occurs in a serving cell or a signal value of the serving cell is continuously at a set signal quality level for a long time, the higher the network configuration priority is, correspondingly, the higher the signal and efficiency of network communication are, the mobile terminal can be preferentially switched to a network system with a higher priority order rank.
If the second network system is not used previously, or the priority of the second network system is higher, the mobile terminal switches to the unused second network system, or switches to the second network system with higher priority. Thereby discovering or ensuring that the obtained second network standard is the optimal network standard.
And checking the passed second network type, namely the network type which is not used before and is obtained by the mobile terminal or the network type with the priority higher than that of the first network type. The second network system passes the verification, which indicates that the second network system is the current best network system, so that the mobile terminal switches the first network system which frequently undergoes ping-pong switching or the signal value of the serving cell is continuously at the set signal quality level to the second network system which passes the verification.
In this embodiment, the network standard that is not used before or the network standard with a higher priority is preferentially acquired, so that the acquired second network standard is the optimal network standard, and the mobile terminal is switched from the first network standard with unstable signals or poor signals to the second network standard, so that the mobile terminal can maintain a better network communication condition, and network delay is reduced.
In another embodiment, the stored used network types further include an initial network type before switching and a network type obtained after each switching before obtaining the optimal network type. The optimal network standard is the corresponding network standard when the mobile terminal is switched to the last second network standard, and the last second network standard can enable the mobile terminal to normally execute the service of the mobile terminal. The process of switching from the first network type cell to the second network type cell may occur for many times until the last second network type enables the mobile terminal to normally execute the network communication function, thereby realizing the service. That is, when the mobile terminal switches the first network standard to the second network standard for the first time, the obtained second network standard is not the best network standard, so the mobile terminal will continue to use the second network standard as the new first network standard, and repeatedly execute the steps of determining whether frequent ping-pong switching occurs in the serving cell or whether the signal value of the serving cell is continuously at the set signal level for a long time, until the mobile terminal obtains the network standard which can meet the normal service requirement, and the network standard at this time is the last second network standard.
In one embodiment, as shown in fig. 5, the network handover method further includes:
step S502, obtaining the identification of the service cell, wherein the current network of the service cell is the first network type.
Step S504, the switching path of the service cell is determined according to the identification of the service cell.
Step S506, determining whether the handover path is ping-pong handover.
If the switching path is determined to be ping-pong switching, step S508 is executed to determine the number of ping-pong switching.
When it is determined that the handover is not ping-pong handover according to the handover path, step S50 is executed to record the identifier and the signal value of the serving cell in the current preset period, and a new identifier and a new signal value of the serving cell are not obtained until the next preset period.
After step S508, step S510 is executed to check whether the ping-pong switching number reaches the set number. And when the ping-pong switching times reach the set times, executing step S52 to obtain second network system information.
Within the aforementioned threshold of the recording range, if the ping-pong handover frequency does not reach the set frequency, the terminal will determine that the ping-pong handover is not frequent, and will execute step S50 to record the identifier and the signal value of the serving cell in the current preset period, until the next preset period, the terminal will continue to acquire the identifier and the signal value of a new serving cell.
After step S510, step S52 is executed to switch from the first network standard to the second network standard according to the second network standard information.
Meanwhile, after step S50, step S512 is executed synchronously, and a signal quality level is determined according to the signal value and a preset level threshold.
Step S514, checking whether the duration of the signal value of the serving cell at the set signal quality level is greater than a preset duration.
When the duration of the signal value at the set signal quality level is longer than the preset duration, executing step S52 to obtain second network format information; wherein the set signal quality level comprises a worst signal quality level.
When the duration of the signal value at the set signal quality level is not longer than the preset duration, step S50 is executed to record the identifier and the signal value of the serving cell in the current preset period, and a new identifier and a new signal value of the serving cell are not obtained until the next preset period.
After step S52, step S54 is executed to switch from the first network standard to the second network standard according to the second network standard information.
In this embodiment, there are multiple channels for switching network systems, and the mobile terminal may determine whether to acquire the second network system information by determining whether the ping-pong switching frequency reaches a set frequency or whether the duration of the signal value at the set signal quality level is greater than a preset duration, so as to switch the first network system to the second network system. The mode of triggering the mobile terminal to acquire the second network system is more, the mobile terminal can conveniently and quickly realize the switching of the network systems, and the switching efficiency of the network systems is improved.
It should be understood that, although the steps in the flowcharts related to the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence 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 a part of the steps in each flowchart related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
In one embodiment, as shown in fig. 6, there is provided a network switching apparatus, including: a cell information obtaining module 602, a network type obtaining module 604, and a network type switching module 606, where:
a cell information obtaining module 602, configured to obtain an identifier of a serving cell, where a current network of the serving cell is a first network type.
A ping-pong handover number determining module 604, configured to determine a number of ping-pong handovers according to the identifier of the serving cell;
a network format obtaining module 606, configured to obtain second network format information when the ping-pong switching times reach a set number.
The network system switching module 608 is configured to switch from the first network system to the second network system according to the obtained second network system information.
In another embodiment, the network type obtaining module includes:
a switching path determining module, configured to determine a switching path of the serving cell according to the identifier of the serving cell;
and the switching frequency acquisition module is used for judging whether the switching path is ping-pong switching or not and determining the frequency of the ping-pong switching.
In one embodiment, a network switching apparatus includes:
the cell information acquisition module is also used for acquiring the signal value of the serving cell;
the signal quality grade determining module is used for determining the signal quality grade according to the signal value and a preset grade threshold value;
the network system obtaining module is further used for obtaining second network system information when the duration of the signal value in the set signal quality grade is longer than the preset duration; wherein the set signal quality level comprises a worst signal quality level;
and the network system switching module is used for switching from the first network system to the second network system according to the second network system information.
In one embodiment, the network type obtaining module further includes:
and the cell information recording module is used for acquiring the identification and the signal value of the service cell every a preset period and recording the identification and the signal value of the service cell.
In one embodiment, the network switching apparatus further includes: a network system information checking module for checking the network system information,
the network system information checking module is used for checking whether the second network system is an unused network system according to the stored used network system;
according to the priority sequence of the second network standard in each network standard, checking whether the priority of the second network standard is prior to the first network standard;
and if the second network system is not used or the priority of the second network system is prior to the first network system, executing the step of switching from the first network system to the second network system according to the acquired second network system information.
For the specific limitation of the network switching device, reference may be made to the above limitation of the network switching method, which is not described herein again. The modules in the network switching device can 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. 7. 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. 7 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, a computer device is provided, 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:
acquiring an identifier of a serving cell, wherein the current network of the serving cell is a first network type;
determining the number of ping-pong switching according to the identification of the serving cell;
when the ping-pong switching times reach a set time, acquiring second network system information;
and switching from the first network system to a second network system according to the second network system information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining a switching path of the serving cell according to the identifier of the serving cell;
and judging whether the switching path is ping-pong switching or not, and determining the ping-pong switching times.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a signal value of the serving cell;
determining a signal quality grade according to the signal value and a preset grade threshold value;
when the duration of the signal value at the set signal quality level is longer than the preset duration, acquiring second network system information; wherein the set signal quality level comprises a worst signal quality level;
and switching from the first network system to a second network system according to the second network system information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and acquiring the identification and the signal value of the service cell every a preset period, and recording the identification and the signal value of the service cell.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
after the obtaining of the second network system information, the method further includes:
checking whether the second network standard is an unused network standard or not according to the stored used network standard;
according to the priority sequence of the second network standard in each network standard, checking whether the priority of the second network standard is prior to the first network standard;
and if the second network system is not used or the priority of the second network system is prior to the first network system, executing the step of switching from the first network system to the second network system according to the acquired second network system information.
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:
acquiring an identifier of a serving cell, wherein the current network of the serving cell is a first network type;
determining the number of ping-pong switching according to the identification of the serving cell;
when the ping-pong switching times reach a set time, acquiring second network system information;
and switching from the first network system to a second network system according to the second network system information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a switching path of the serving cell according to the identifier of the serving cell;
and judging whether the switching path is ping-pong switching or not, and determining the ping-pong switching times.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a signal value of the serving cell;
determining a signal quality grade according to the signal value and a preset grade threshold value;
when the duration of the signal value at the set signal quality level is longer than the preset duration, acquiring second network system information; wherein the set signal quality level comprises a worst signal quality level;
and switching from the first network system to a second network system according to the second network system information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and acquiring the identification and the signal value of the service cell every a preset period, and recording the identification and the signal value of the service cell.
In one embodiment, the computer program when executed by the processor further performs the steps of:
after the obtaining of the second network system information, the method further includes:
checking whether the second network standard is an unused network standard or not according to the stored used network standard;
according to the priority sequence of the second network standard in each network standard, checking whether the priority of the second network standard is prior to the first network standard;
and if the second network system is not used or the priority of the second network system is prior to the first network system, executing the step of switching from the first network system to the second network system according to the acquired second network system information.
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 (10)

1. A method for network handover, the method comprising:
acquiring an identifier of a serving cell, wherein the current network of the serving cell is a first network type;
determining the number of ping-pong switching according to the identification of the serving cell;
when the ping-pong switching times reach a set time, acquiring second network system information;
and switching from the first network system to a second network system according to the second network system information.
2. The method of claim 1, wherein the determining the number of ping-pong handovers according to the identity of the serving cell comprises:
determining a switching path of the serving cell according to the identifier of the serving cell;
and judging whether the switching path is ping-pong switching or not, and determining the ping-pong switching times.
3. The method of claim 1, further comprising:
acquiring a signal value of the serving cell;
determining a signal quality grade according to the signal value and a preset grade threshold value;
when the duration of the signal value at the set signal quality level is longer than the preset duration, acquiring second network system information; wherein the set signal quality level comprises a worst signal quality level;
and switching from the first network system to a second network system according to the second network system information.
4. The method of claim 3, further comprising:
and acquiring the identification and the signal value of the service cell every a preset period, and recording the identification and the signal value of the service cell.
5. The method of claim 4, wherein the preset duration is N times the preset period.
6. The method according to any one of claims 1 to 5, further comprising, after the obtaining the second network format information:
checking whether the second network standard is an unused network standard or not according to the stored used network standard;
according to the priority sequence of the second network standard in each network standard, checking whether the priority of the second network standard is prior to the first network standard;
and if the second network system is not used or the priority of the second network system is prior to the first network system, executing the step of switching from the first network system to the second network system according to the acquired second network system information.
7. A network switching apparatus, the apparatus comprising:
a cell information obtaining module, configured to obtain an identifier of a serving cell, where a current network of the serving cell is a first network type;
a ping-pong switching frequency determining module, configured to determine a ping-pong switching frequency according to the identifier of the serving cell;
the network system obtaining module is used for obtaining second network system information when the ping-pong switching times reach the set times;
and the network system switching module is used for switching from the first network system to the second network system according to the second network system information.
8. The apparatus according to claim 7, wherein the network format obtaining module further comprises:
a switching path determining module, configured to determine a switching path of the serving cell according to the identifier of the serving cell;
and the switching frequency acquisition module is used for judging whether the switching path is ping-pong switching or not and determining the frequency of the ping-pong switching.
9. A computer 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 6.
10. 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 6.
CN202011423478.7A 2020-12-08 2020-12-08 Network switching method and device, computer equipment and storage medium Active CN112689310B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011423478.7A CN112689310B (en) 2020-12-08 2020-12-08 Network switching method and device, computer equipment and storage medium
PCT/CN2021/107075 WO2022121315A1 (en) 2020-12-08 2021-07-19 Network handover method and apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011423478.7A CN112689310B (en) 2020-12-08 2020-12-08 Network switching method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112689310A true CN112689310A (en) 2021-04-20
CN112689310B CN112689310B (en) 2022-11-15

Family

ID=75446368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011423478.7A Active CN112689310B (en) 2020-12-08 2020-12-08 Network switching method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN112689310B (en)
WO (1) WO2022121315A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473559A (en) * 2021-06-11 2021-10-01 青岛大学附属医院 Private network switching protection system and method based on 5G
CN113873629A (en) * 2021-12-01 2021-12-31 深圳市优克联新技术有限公司 Communication mode adjusting method and device, application terminal and storage medium
CN114501573A (en) * 2022-03-14 2022-05-13 北京小米移动软件有限公司 Cell switching method, device, equipment and storage medium
WO2022121315A1 (en) * 2020-12-08 2022-06-16 深圳市广和通无线股份有限公司 Network handover method and apparatus, computer device, and storage medium
CN114928866A (en) * 2022-05-31 2022-08-19 展讯半导体(成都)有限公司 Cell switching control method and communication device
WO2024045405A1 (en) * 2022-08-31 2024-03-07 上海移远通信技术股份有限公司 Network type switching method, terminal, server and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116090406B (en) * 2023-04-07 2023-07-14 湖南国科微电子股份有限公司 Random verification method and device for ping-pong configuration circuit, upper computer and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227705A (en) * 2007-01-17 2008-07-23 华为技术有限公司 System and method for switching terminal to macro cell and terminal, access node and gateway thereof
CN105517080A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network standard switching method and device and terminal
CN108650692A (en) * 2018-05-07 2018-10-12 广东小天才科技有限公司 A kind of method, apparatus and intelligent wearable device of network formats switching
CN111148166A (en) * 2019-03-14 2020-05-12 广东小天才科技有限公司 Network optimization method based on wearable device and wearable device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080096560A1 (en) * 2006-10-24 2008-04-24 Nortel Networks Limited System and method for ensuring handoffs across heterogeneous networks
CN112689310B (en) * 2020-12-08 2022-11-15 深圳市广和通无线股份有限公司 Network switching method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227705A (en) * 2007-01-17 2008-07-23 华为技术有限公司 System and method for switching terminal to macro cell and terminal, access node and gateway thereof
US20090275334A1 (en) * 2007-01-17 2009-11-05 Huawei Technologies Co., Ltd. Method, system, terminal, access node and gateway for handing over terminal to macrocell
CN105517080A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network standard switching method and device and terminal
CN108650692A (en) * 2018-05-07 2018-10-12 广东小天才科技有限公司 A kind of method, apparatus and intelligent wearable device of network formats switching
CN111148166A (en) * 2019-03-14 2020-05-12 广东小天才科技有限公司 Network optimization method based on wearable device and wearable device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MEDIATEK INC. / MARKO: "C1-205168 "Avoiding inter-system ping-pong due to redirection"", 《3GPP TSG-CT WG1 MEETING #125-E》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022121315A1 (en) * 2020-12-08 2022-06-16 深圳市广和通无线股份有限公司 Network handover method and apparatus, computer device, and storage medium
CN113473559A (en) * 2021-06-11 2021-10-01 青岛大学附属医院 Private network switching protection system and method based on 5G
CN113873629A (en) * 2021-12-01 2021-12-31 深圳市优克联新技术有限公司 Communication mode adjusting method and device, application terminal and storage medium
CN113873629B (en) * 2021-12-01 2022-04-29 深圳市优克联新技术有限公司 Communication mode adjusting method and device, application terminal and storage medium
CN114501573A (en) * 2022-03-14 2022-05-13 北京小米移动软件有限公司 Cell switching method, device, equipment and storage medium
CN114928866A (en) * 2022-05-31 2022-08-19 展讯半导体(成都)有限公司 Cell switching control method and communication device
WO2024045405A1 (en) * 2022-08-31 2024-03-07 上海移远通信技术股份有限公司 Network type switching method, terminal, server and storage medium

Also Published As

Publication number Publication date
CN112689310B (en) 2022-11-15
WO2022121315A1 (en) 2022-06-16

Similar Documents

Publication Publication Date Title
CN112689310B (en) Network switching method and device, computer equipment and storage medium
CN110557778B (en) Power consumption control method and device of terminal and storage medium
US9020499B2 (en) Fast cell selection in a mobile wireless device
US20130130698A1 (en) Indication of user equipment mobility state to enhance mobility and call performance
EP2679066B1 (en) Providing small cell information to user equipments in a heterogeneous network environment
CN104904260A (en) Systems and methods for controlling logging and reporting under constraints
CN107896380B (en) Network switching control method and device
CN109474949B (en) MDT measuring method and related equipment
CN102204344A (en) Method and terminal for avoiding cell pingpong reselection
CN111107579A (en) Network connection control method, device, terminal and storage medium
CN104270788B (en) A kind of method and apparatus of different system switching
US9313712B2 (en) Mobile apparatus and method
CN111405579A (en) Network optimization method and device, storage medium and electronic equipment
US20230262572A1 (en) Communication method and related device
CN113891371B (en) Frequency point measuring method and related product
JP7385059B2 (en) Wireless resource management measurement methods, terminal equipment and network equipment
US20210329519A1 (en) Cell Connection Processing Method and Mobile Terminal
CN114698035A (en) Neighbor cell measurement triggering method and device and computer readable storage medium
KR102265815B1 (en) 5G cell connection method according to battery discharge rate and terminal using the same
CN115088290A (en) Inter-radio access technology cell measurement
CN108495300B (en) Mobile network mode switching method, device, terminal and storage medium
US20230059448A1 (en) System and method for conditional handover by a user equipment in a 5g communication network
CN112997533A (en) Cell reselection processing method and device, mobile terminal and storage medium
CN113840313B (en) Network mode control method and device of mobile terminal and computer equipment
CN107896382B (en) Network switching control method and device

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
GR01 Patent grant
GR01 Patent grant