CN109963311B - Network switching method, system, network switching equipment and storage medium - Google Patents

Network switching method, system, network switching equipment and storage medium Download PDF

Info

Publication number
CN109963311B
CN109963311B CN201711428410.6A CN201711428410A CN109963311B CN 109963311 B CN109963311 B CN 109963311B CN 201711428410 A CN201711428410 A CN 201711428410A CN 109963311 B CN109963311 B CN 109963311B
Authority
CN
China
Prior art keywords
network
operator
switching
operator network
speed
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.)
Active
Application number
CN201711428410.6A
Other languages
Chinese (zh)
Other versions
CN109963311A (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.)
Feihu Information Technology Tianjin Co Ltd
Original Assignee
Feihu Information Technology Tianjin 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 Feihu Information Technology Tianjin Co Ltd filed Critical Feihu Information Technology Tianjin Co Ltd
Priority to CN201711428410.6A priority Critical patent/CN109963311B/en
Publication of CN109963311A publication Critical patent/CN109963311A/en
Application granted granted Critical
Publication of CN109963311B publication Critical patent/CN109963311B/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
    • 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
    • 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
    • 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

Abstract

The application discloses a network switching method, a system, a network switching device and a storage medium, wherein the network switching method judges whether network switching is needed by comparing the network speed of an operator network used by the network switching device with a preset threshold value, when the network speed of the operator network used by the network switching device is not more than the preset threshold value, the operator network to be switched is determined according to the acquired received signal intensity parameters of other operator networks except the operator network used by the network switching device, and finally the operator network used by the network switching device is switched to the operator network to be switched so as to realize the purpose of switching the operator network with higher network speed in the operator network accessed by the network switching device to the operator network used by the network switching device, thereby, the network speed of the operator network used by the network conversion device can be kept above a preset threshold.

Description

Network switching method, system, network switching equipment and storage medium
Technical Field
The present application relates to the field of computer application technologies, and in particular, to a network switching method, a network switching system, a network switching device, and a storage medium.
Background
With the continuous expansion of operator networks, some applications with higher requirements on network speed, such as network live broadcast, online video, online television live broadcast, etc., are also emerging, and these applications require that the network speed of the operator network for users to use is greater than the network speed defined in the minimum transmission requirements of video data corresponding to the applications, so that normal transmission of the video data can be ensured.
However, the network speed of the operator network used by the user is affected by various factors, for example, when there are many users using the same operator network in the same area and the load is large, the network speed that the user can actually use in the area is often much lower than the network speed claimed by the operator, which may cause some applications having a high requirement on the network speed to have a poor video data transmission condition.
Disclosure of Invention
In order to solve the above technical problem, the present application provides a network switching method, a system, a network switching device, and a storage medium, so as to achieve the purpose of maintaining the network speed of the operator network used by the network switching device above a preset threshold.
In order to achieve the technical purpose, the embodiment of the application provides the following technical scheme:
a network switching method is applied to a network conversion device with a plurality of physical channels, wherein each physical channel is used for accessing a network signal of one operator network, and the network signal transmitted by each physical channel corresponds to a different operator network, and the network switching method comprises the following steps:
acquiring the network speed of an operator network used by the network conversion equipment;
acquiring received signal strength parameters of other operator networks except the operator network used by the network conversion equipment;
judging whether the network speed of the operator network used by the network conversion equipment is greater than a preset threshold value, if not, determining the operator network to be converted according to the received signal strength parameters of other operator networks except the operator network used by the network conversion equipment;
and switching the operator network used by the network conversion equipment to the operator network to be converted.
Optionally, before determining whether the network speed of the operator network used by the network conversion device is greater than a preset threshold, the method further includes:
acquiring the memory use condition of an operator network system used by network conversion equipment, wherein the memory use condition of the operator network system used by the network conversion equipment indicates that the transmission buffer area of the operator network system occupies a memory;
the switching the operator network used by the network conversion device to the operator network to be converted comprises:
determining a network switching moment according to the network speed of the operator network used by the network switching equipment and the occupied memory of the sending buffer area of the operator network system used by the network switching equipment;
and switching the operator network used by the network switching equipment to the operator network to be switched at the network switching moment.
Optionally, the determining a network switching time according to the network speed of the operator network used by the network switching device and the occupied memory of the transmission buffer of the operator network system used by the network switching device includes:
calculating the sending time according to the occupied memory of the sending buffer area of the network conversion equipment and the network speed of the operator network used by the network conversion equipment;
and summing the sending time and the current time to obtain a summation result, and taking the summation result as the network switching time.
Optionally, the determining, according to the received signal strength parameter of the other operator networks except the operator network used by the network conversion device, the operator network to be converted includes:
and taking the operator network with the maximum value of the received signal strength parameter in other operator networks except the operator network used by the network conversion equipment as the operator network to be converted.
A network switching system applied to a network switching device having a plurality of physical channels, each of the physical channels being used for accessing a network signal of one operator network, and the network signal transmitted by each of the physical channels corresponding to a different operator network, the network switching system comprising:
a network speed obtaining module, configured to obtain a network speed of an operator network used by the network conversion device;
a signal strength acquisition module, configured to acquire received signal strength parameters of other operator networks except for the operator network used by the network switching device;
a network switching determining module, configured to determine whether a network speed of an operator network used by the network switching device is greater than a preset threshold, and if not, determine an operator network to be switched according to a received signal strength parameter of an operator network other than the operator network used by the network switching device; and the network switching module is used for switching the operator network used by the network conversion equipment into the operator network to be converted.
Optionally, the method further includes: a state obtaining module, configured to obtain a memory usage situation of an operator network system used by a network conversion device, where the memory usage situation of the operator network system used by the network conversion device indicates that a transmission buffer of the operator network system occupies a memory;
the network switching module is specifically configured to determine a network switching time according to a network speed of an operator network used by the network switching device and an occupied memory of a transmission buffer of an operator network system used by the network switching device; and switching the operator network used by the network switching equipment to the operator network to be switched at the network switching moment.
Optionally, the network switching module is specifically configured to calculate a sending time according to an occupied memory of a sending buffer of the network switching device and a network speed of an operator network used by the network switching device, sum the sending time and a current time to obtain a sum result, and use the sum result as a network switching time; and switching the operator network used by the network switching equipment to the operator network to be switched at the network switching moment.
Optionally, the network switching determining module is specifically configured to use, as the to-be-converted operator network, an operator network with a largest value of the received signal strength parameter in other operator networks except the operator network used by the network conversion device.
A network switching device comprising: a memory and a processor;
the memory is configured to store program code, and the processor is configured to invoke the program code, which is configured to perform any of the network handover methods described above.
A storage medium having stored thereon program code which, when executed, implements a network handover method as defined in any one of the above.
It can be known from the foregoing technical solutions that embodiments of the present application provide a network switching method, a system, and a network switching device, where the network switching method determines whether a network switching is required by comparing a network speed of an operator network used by the network switching device with a preset threshold, determines an operator network to be switched according to an acquired received signal strength parameter of an operator network other than the operator network used by the network switching device when the network speed of the operator network used by the network switching device is not greater than the preset threshold, and finally switches the operator network used by the network switching device to the operator network to be switched, so as to achieve a purpose of switching an operator network with a higher network speed in the operator network to which the network switching device is accessed to the operator network used by the network switching device, thereby, the network speed of the operator network used by the network conversion device can be kept above a preset threshold.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a network handover method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a network handover method according to another embodiment of the present application;
fig. 3 is a flowchart illustrating a network handover method according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a network handover system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a network handover system according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
An embodiment of the present application provides a network switching method, as shown in fig. 1, which is applied to a network conversion device having a plurality of physical channels, where each physical channel is used to access a network signal of an operator network, and a network signal transmitted by each physical channel corresponds to a different operator network, where the network switching method includes:
s101: acquiring the network speed of an operator network used by the network conversion equipment;
the network conversion apparatus is an apparatus for providing a network service for converting a network signal (3G or 4G signal) of a used operator network into a wireless (Wi-Fi) signal. Since the operator category of the domestic network mainly includes three types, i.e., mobile, internet and telecommunications, the number of physical channels of the physical channel of the network switching device is usually three.
In the actual using process, the network conversion device only uses one operator network, that is, only converts the network signal of one operator network in the network signals provided by the accessed operator network into a wireless signal; after the network switching device is restarted, the network switching device may select one of the multiple operator networks for access, and the manner of selecting the operator network for use by the network switching device among the multiple operator networks may be, but is not limited to: the method comprises the following steps of selecting any one of an operator network with which the network conversion equipment is firstly connected, selecting the operator network with the largest value of a signal intensity parameter in the operator network with which the network conversion equipment is connected, and randomly selecting the operator network with which the network conversion equipment is connected.
S102: acquiring received signal strength parameters of other operator networks except the operator network used by the network conversion equipment;
the received signal strength parameter may be used to determine a link quality of a connection established between the operator network and the network switching device, for example, the received signal strength parameter may reflect a network speed of the operator network accessed through the physical channel to a certain extent, and therefore, the received signal strength parameter may be used as a basis for network switching of the network switching device.
In practical applications, the Received signal strength parameter may be a Received Signal Strength Indication (RSSI) parameter Received by the network switching device. The RSSI parameter is an optional parameter of the wireless transmission layer of the network switching device, and certainly, other parameters that can reflect the network speed of the operator network may also be used as the received signal strength parameter, which is not limited in this application.
S103: judging whether the network speed of the operator network used by the network conversion equipment is greater than a preset threshold value, if not, determining the operator network to be converted according to the received signal strength parameters of other operator networks except the operator network used by the network conversion equipment;
for different application scenarios, the actual value of the preset threshold is different, for example, for an individual user using live webcast application and for an enterprise user providing big data download service, the value of the preset threshold in the two application scenarios is necessarily different;
however, even for the same application scenario, the value of the preset threshold may be different, for example, for a user who uses the webcast application, when the user selects standard definition image quality or high definition image quality to perform webcast, the value of the preset threshold may be different. Therefore, the specific value range of the preset threshold may vary greatly according to different application scenarios and different application scenario parameters, and the specific value of the preset threshold is not limited in the present application, and is specifically determined according to actual situations.
In one embodiment of the present application, one possible way to determine the operator network to be converted is to: and taking the operator network with the maximum value of the received signal strength parameter in other operator networks except the operator network used by the network conversion equipment as the operator network to be converted.
It can be understood that, the larger the value of the received signal strength parameter of the operator network that establishes the connection with the network switching device is, the faster the network speed of the operator network is, therefore, in this embodiment, when the network speed of the operator network used by the network switching device is smaller than the preset threshold, the operator network with the largest value of the received signal strength parameter in other operator networks is taken as the operator network to be switched, so that after network switching is performed, the network speed of the operator network used by the network switching device is greater than the network speeds of the other operator networks, so that the network switching device can use the maximum network speed in all the operator networks corresponding to the network switching device.
S104: and switching the operator network used by the network conversion equipment to the operator network to be converted.
In an actual application process, after the operator network used by the network conversion device is switched to the operator network to be converted, the step of obtaining the network speed of the operator network used by the network conversion device needs to be returned to monitor the network speed of the switched operator network in real time, and step S103 is continuously executed to determine whether the network speed of the switched operator network is greater than a preset threshold, and when the network speed of the switched operator network is determined to be not greater than the preset threshold, network switching still needs to be performed again to continuously monitor the network speed of the operator network used by the network conversion device.
As can be seen from the above technical solution, the network switching method determines whether network switching is required by comparing the network speed of the operator network used by the network switching device with a preset threshold, when the network speed of the operator network used by the network conversion device is not greater than the preset threshold, determining the operator network to be converted according to the acquired received signal strength parameters of other operator networks except the operator network used by the network conversion equipment, finally switching the operator network used by the network conversion equipment to the operator network to be converted, so as to realize the purpose of switching the operator network with higher network speed in the operator network accessed by the network conversion equipment into the operator network used by the network conversion equipment, thereby, the network speed of the operator network used by the network conversion device can be kept above a preset threshold.
The points to be explained here are: the establishment of the connection between the operator network and the network conversion device is mainly based on a User Datagram Protocol (UDP) or a Transmission Control Protocol (TCP), and the network conversion device is connected with the operator network based on the UDP, and the connection is directly disconnected to establish a new connection in the process of network switching; for the network switching device which establishes connection with the operator network based on the TCP protocol, when switching the used operator network, the usage of the operator network system needs to be considered, the network switching time is determined according to the usage of the operator network system, and the switching is performed at the network switching time. As shown in fig. 2, which shows a flowchart of another network handover method provided in the embodiment of the present application, and illustrates a possible way of determining a network handover time, the method may include the following steps:
s201: acquiring the network speed of an operator network used by the network conversion equipment;
s202: acquiring received signal strength parameters of other operator networks except the operator network used by the network conversion equipment;
s203: acquiring the memory use condition of an operator network system used by network conversion equipment, wherein the memory use condition of the operator network system used by the network conversion equipment indicates that the transmission buffer area of the operator network system occupies a memory;
in the case where the connection between the network conversion apparatus and the carrier network is established based on the TCP protocol, the carrier network establishing the connection based on the TCP protocol transmits data, a set of data is constituted by a plurality of TCP data packets, the group of data is transmitted by determining the physical channel corresponding to the operator network used by the network conversion device according to the routing table except for the first data packet, other packets in the group of data may unconditionally follow the physical channel selected by the first packet, and, therefore, after the network conversion device uses a physical channel corresponding to the operator network for data transmission, one or more groups of data are stored in a transmission buffer of the operator network system, the sending buffer area is a part of the memory of the operator network system and is used for storing one or more groups of data before being sent to the network conversion equipment; the memory occupied by one or more groups of data stored in the sending buffer area is called the occupied memory of the sending buffer area.
S204: judging whether the network speed of the operator network used by the network conversion equipment is greater than a preset threshold value, if not, determining the network conversion moment according to the network speed of the operator network used by the network conversion equipment and the occupied memory of the sending buffer area of the operator network system used by the network conversion equipment;
s205: and switching the operator network used by the network switching equipment to the operator network to be switched at the network switching moment. Wherein S204 and S205 show the procedure of switching the operator network used by the network conversion device to the operator network to be converted in S104.
It can be found from the explanation of the occupied memory of the transmission buffer of the operator network system used by the network conversion device that when the network conversion device establishing connection with the operator network based on the TCP protocol performs network switching, it needs to consider the data in the occupied memory of the transmission buffer of the operator network system in use, that is, after the data transmission in the occupied memory of the transmission buffer of the operator network system used by the network conversion device is completed, the connection with the operator network is disconnected, and then the network switching is performed When the current network speed of the network is transmitted, the network switching is carried out at the network switching time, so that the phenomenon that the data being transmitted is lost can be avoided.
In an embodiment of the present application, a specific process for determining a network transition time is provided, and as shown in fig. 3, the process for determining the network transition time may include:
s2041: calculating the sending time according to the occupied memory of the sending buffer area of the network conversion equipment and the network speed of the operator network used by the network conversion equipment;
s2042: and summing the sending time and the current time to obtain a summation result, and taking the summation result as the network switching time.
It should be noted that the network speed of the operator network used in the calculation process of the sending time may be an instantaneous network speed at a time when the network speed of the operator network used by the network conversion device is less than or equal to a preset threshold, an average network speed in a previous period of time when the network speed of the operator network used by the network conversion device is less than or equal to the preset threshold, an average network speed in a subsequent period of time when the network speed of the operator network used by the network conversion device is less than or equal to the preset threshold, or an average network speed in a total duration of the operator network used by the network conversion device. The present application does not limit this, which is determined by the actual situation.
After the network speed of the operator network used by the network conversion device is determined, the sending time may be obtained by dividing the occupied memory of the sending buffer of the network conversion device by the determined network speed of the operator network used by the network conversion device. For example, assuming that the network speed of the operator network used by the network switching device is 1Mb/s, and the occupied memory of the transmission buffer of the network switching device is 1.5Mb, the transmission time is (1.5Mb/1 Mb/s) ═ 1.5 s.
The network switching system provided in the embodiments of the present application is described below, and the network switching system described below and the network switching method described above may be referred to correspondingly.
Correspondingly, an embodiment of the present application further provides a network switching system, as shown in fig. 4, which is applied to a network conversion device having a plurality of physical channels, where each physical channel is used to access a network signal of one operator network, and a network signal transmitted by each physical channel corresponds to a different operator network, and the network switching system includes:
a network speed obtaining module 100, configured to obtain a network speed of an operator network used by the network switching device;
a signal strength obtaining module 200, configured to obtain received signal strength parameters of other operator networks except for the operator network used by the network switching device;
a network switching determining module 300, configured to determine whether a network speed of an operator network used by the network switching device is greater than a preset threshold, and if not, determine an operator network to be switched according to a received signal strength parameter of an operator network other than the operator network used by the network switching device; and the network switching module is used for switching the operator network used by the network conversion equipment into the operator network to be converted.
The network conversion apparatus is an apparatus for providing a network service for converting a network signal (3G or 4G signal) of a used operator network into a wireless (Wi-Fi) signal. Since the operator category of the domestic network mainly includes three types, i.e., mobile, internet and telecommunications, the number of physical channels of the physical channel of the network switching device is usually three.
In the actual using process, the network conversion device only uses one operator network, that is, only converts the network signal of one operator network in the network signals provided by the accessed operator network into a wireless signal; after the network switching device is restarted, the network switching device may select one of the multiple operator networks for access, and the manner of selecting the operator network for use by the network switching device among the multiple operator networks may be, but is not limited to: the method comprises the following steps of selecting any one of an operator network with which the network conversion equipment is firstly connected, selecting the operator network with the largest value of a signal intensity parameter in the operator network with which the network conversion equipment is connected, and randomly selecting the operator network with which the network conversion equipment is connected.
The received signal strength parameter may be used to determine a link quality of a connection established between the operator network and the network switching device, for example, the received signal strength parameter may reflect a network speed of the operator network accessed through the physical channel to a certain extent, and therefore, the received signal strength parameter may be used as a basis for network switching of the network switching device.
In practical applications, the Received signal strength parameter may be a Received Signal Strength Indication (RSSI) parameter Received by the network switching device. The RSSI parameter is an optional parameter of the wireless transmission layer of the network switching device, and certainly, other parameters that can reflect the network speed of the operator network may also be used as the received signal strength parameter, which is not limited in this application.
For different application scenarios, the actual value of the preset threshold is different, for example, for an individual user using live webcast application and for an enterprise user providing big data download service, the value of the preset threshold in the two application scenarios is necessarily different;
however, even for the same application scenario, the value of the preset threshold may be different, for example, for a user who uses the webcast application, when the user selects standard definition image quality or high definition image quality to perform webcast, the value of the preset threshold may be different. Therefore, the specific value range of the preset threshold may vary greatly according to different application scenarios and different application scenario parameters, and the specific value of the preset threshold is not limited in the present application, and is specifically determined according to actual situations.
In one embodiment of the present application, the network handover determination module 300 determines that one possible way to switch the operator network is to: and taking the operator network with the maximum value of the received signal strength parameter in other operator networks except the operator network used by the network conversion equipment as the operator network to be converted.
It can be understood that, the larger the value of the received signal strength parameter of the operator network that establishes the connection with the network switching device is, the faster the network speed of the operator network is, therefore, in this embodiment, when the network speed of the operator network used by the network switching device is smaller than the preset threshold, the operator network with the largest value of the received signal strength parameter in other operator networks is taken as the operator network to be switched, so that after network switching is performed, the network speed of the operator network used by the network switching device is greater than the network speeds of the other operator networks, so that the network switching device can use the maximum network speed in all the operator networks corresponding to the network switching device.
In an actual application process, after the operator network used by the network conversion device is switched to the operator network to be converted, the network speed acquisition module 100 needs to be triggered back to monitor the network speed of the switched operator network in real time, and the network switching determination module 300 is continuously executed to determine whether the network speed of the switched operator network is greater than a preset threshold, and when the network speed of the switched operator network is determined not to be greater than the preset threshold, network switching still needs to be performed again to continuously monitor the network speed of the operator network used by the network conversion device.
The points to be explained here are: the establishment of the connection between the operator network and the network conversion device is mainly based on a User Datagram Protocol (UDP) or a Transmission Control Protocol (TCP), and the network conversion device is connected with the operator network based on the UDP, and the connection is directly disconnected to establish a new connection in the process of network switching; for the network switching device which establishes connection with the operator network based on the TCP protocol, when switching the used operator network, the usage of the operator network system needs to be considered, the network switching time is determined according to the usage of the operator network system, and the switching is performed at the network switching time. Therefore, as shown in fig. 5, the network switching system further includes: a state obtaining module 400, configured to obtain a memory usage of an operator network system used by a network switching device, where the memory usage of the operator network system used by the network switching device indicates that a transmission buffer of the operator network system occupies a memory;
the network switching module 300 is specifically configured to determine a network switching time according to a network speed of an operator network used by the network switching device and an occupied memory of a transmission buffer of an operator network system used by the network switching device; and switching the operator network used by the network switching equipment to the operator network to be switched at the network switching moment.
In the case where the connection between the network conversion apparatus and the carrier network is established based on the TCP protocol, the carrier network establishing the connection based on the TCP protocol transmits data, a set of data is constituted by a plurality of TCP data packets, the group of data is transmitted by determining the physical channel corresponding to the operator network used by the network conversion device according to the routing table except for the first data packet, other packets in the group of data may unconditionally follow the physical channel selected by the first packet, and, therefore, after the network conversion device uses a physical channel corresponding to the operator network for data transmission, one or more groups of data are stored in a transmission buffer of the operator network system, the sending buffer area is a part of the memory of the operator network system and is used for storing one or more groups of data before being sent to the network conversion equipment; the memory occupied by one or more groups of data stored in the sending buffer area is called the occupied memory of the sending buffer area.
It can be found from the explanation of the occupied memory of the transmission buffer of the operator network system used by the network conversion device that when the network conversion device establishing connection with the operator network based on the TCP protocol performs network switching, it needs to consider the data in the occupied memory of the transmission buffer of the operator network system in use, that is, after the data transmission in the occupied memory of the transmission buffer of the operator network system used by the network conversion device is completed, the connection with the operator network is disconnected, and then the network switching is performed When the current network speed of the network is transmitted, the network switching is carried out at the network switching time, so that the phenomenon that the data being transmitted is lost can be avoided.
Specifically, the network switching module is specifically configured to calculate a sending time according to an occupied memory of a sending buffer of the network switching device and a network speed of an operator network used by the network switching device, sum the sending time and a current time to obtain a sum result, and use the sum result as a network switching time; and switching the operator network used by the network switching equipment to the operator network to be switched at the network switching moment.
It should be noted that the network speed of the operator network used in the calculation process of the sending time may be an instantaneous network speed at a time when the network speed of the operator network used by the network conversion device is less than or equal to a preset threshold, an average network speed in a previous period of time when the network speed of the operator network used by the network conversion device is less than or equal to the preset threshold, an average network speed in a subsequent period of time when the network speed of the operator network used by the network conversion device is less than or equal to the preset threshold, or an average network speed in a total duration of the operator network used by the network conversion device. The present application does not limit this, which is determined by the actual situation.
After the network speed of the operator network used by the network conversion device is determined, the sending time may be obtained by dividing the occupied memory of the sending buffer of the network conversion device by the determined network speed of the operator network used by the network conversion device. For example, assuming that the network speed of the operator network used by the network switching device is 1Mb/s, and the occupied memory of the transmission buffer of the network switching device is 1.5Mb, the transmission time is (1.5Mb/1 Mb/s) ═ 1.5 s.
Correspondingly, an embodiment of the present application further provides a network switching device, including: a memory and a processor;
the memory is used for storing program codes, the processor is used for calling the program codes, and the program codes are used for executing the network switching method of any one of the above embodiments.
Correspondingly, an embodiment of the present application further provides a storage medium, where the storage medium stores a program code, and the program code implements the network handover method according to any of the above embodiments when executed.
To sum up, the embodiment of the present application provides a network switching method, a system, and a network switching device, wherein the network switching method determines whether network switching is required by comparing a network speed of an operator network used by the network switching device with a preset threshold, determines an operator network to be switched according to an acquired received signal strength parameter of an operator network other than the operator network used by the network switching device when the network speed of the operator network used by the network switching device is not greater than the preset threshold, and finally switches the operator network used by the network switching device to the operator network to be switched, so as to achieve a purpose of switching the operator network with a higher network speed in the operator network to which the network switching device is accessed to the operator network used by the network switching device, thereby, the network speed of the operator network used by the network conversion device can be kept above a preset threshold.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (4)

1. A network switching method is applied to a network switching device with a plurality of physical channels, wherein each physical channel is used for accessing a network signal of one operator network, and the network signal transmitted by each physical channel corresponds to a different operator network, and the network switching method comprises the following steps:
acquiring the network speed of an operator network used by the network conversion equipment;
acquiring received signal strength parameters of other operator networks except the operator network used by the network conversion equipment;
acquiring the memory use condition of an operator network system used by network conversion equipment, wherein the memory use condition of the operator network system used by the network conversion equipment indicates that the transmission buffer area of the operator network system occupies a memory;
judging whether the network speed of the operator network used by the network conversion equipment is greater than a preset threshold value, if not, determining the operator network to be converted according to the received signal strength parameters of other operator networks except the operator network used by the network conversion equipment, wherein the steps comprise: taking the operator network with the maximum value of the received signal strength parameter in other operator networks except the operator network used by the network conversion equipment as the operator network to be converted;
switching the operator network used by the network conversion device to the operator network to be converted, including:
determining a network switching moment according to the network speed of the operator network used by the network switching equipment and the occupied memory of the sending buffer area of the operator network system used by the network switching equipment;
switching the operator network used by the network switching equipment to an operator network to be switched at the network switching moment;
wherein the determining a network switching time according to the network speed of the operator network used by the network switching device and the occupied memory of the transmission buffer of the operator network system used by the network switching device comprises:
calculating the sending time according to the occupied memory of the sending buffer area of the network conversion equipment and the network speed of the operator network used by the network conversion equipment;
and summing the sending time and the current time to obtain a summation result, and taking the summation result as the network switching time.
2. A network switching system applied to a network switching device having a plurality of physical channels, wherein each physical channel is used for accessing a network signal of one operator network, and the network signal transmitted by each physical channel corresponds to a different operator network, the network switching system comprising:
a network speed obtaining module, configured to obtain a network speed of an operator network used by the network conversion device;
a signal strength acquisition module, configured to acquire received signal strength parameters of other operator networks except for the operator network used by the network switching device;
a state obtaining module, configured to obtain a memory usage situation of an operator network system used by a network conversion device, where the memory usage situation of the operator network system used by the network conversion device indicates that a transmission buffer of the operator network system occupies a memory;
a network switching determining module, configured to determine whether a network speed of an operator network used by the network switching device is greater than a preset threshold, and if not, take an operator network with a largest value of a received signal strength parameter in other operator networks except the operator network used by the network switching device as an operator network to be switched;
a network switching module, configured to switch the operator network used by the network conversion device to the operator network to be converted, and specifically configured to determine a network conversion time according to a network speed of the operator network used by the network conversion device and an occupied memory of a transmission buffer of an operator network system used by the network conversion device; switching the operator network used by the network switching equipment to an operator network to be switched at the network switching moment;
the network switching module is specifically configured to calculate a sending time according to an occupied memory of a sending buffer of the network switching device and a network speed of an operator network used by the network switching device, sum the sending time and a current time to obtain a sum result, and use the sum result as a network switching time; and switching the operator network used by the network switching equipment to the operator network to be switched at the network switching moment.
3. A network switching device, comprising: a memory and a processor;
the memory is configured to store program code, and the processor is configured to invoke the program code, the program code configured to perform the network handover method of claim 1.
4. A computer-readable storage medium, characterized in that the storage medium has stored thereon a program code, which when executed, implements the network switching method of claim 1.
CN201711428410.6A 2017-12-26 2017-12-26 Network switching method, system, network switching equipment and storage medium Active CN109963311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711428410.6A CN109963311B (en) 2017-12-26 2017-12-26 Network switching method, system, network switching equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711428410.6A CN109963311B (en) 2017-12-26 2017-12-26 Network switching method, system, network switching equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109963311A CN109963311A (en) 2019-07-02
CN109963311B true CN109963311B (en) 2021-09-17

Family

ID=67021723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711428410.6A Active CN109963311B (en) 2017-12-26 2017-12-26 Network switching method, system, network switching equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109963311B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637921B (en) * 2020-12-21 2021-09-03 广西东信易联科技有限公司 Distributed wireless CPE (customer premises equipment) system capable of switching network based on LoRa (Long Range)
CN115002859B (en) * 2022-06-28 2023-10-03 亿航智能设备(广州)有限公司 Method, equipment and storage medium for switching operator network of aircraft

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895995A (en) * 2004-06-02 2010-11-24 高通股份有限公司 Method and apparatus for scheduling in a wireless network
CN106507419A (en) * 2016-12-07 2017-03-15 广东欧珀移动通信有限公司 The method and device of connection Wi-Fi hotspot

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8548475B2 (en) * 2011-08-17 2013-10-01 Apple Inc. Method for optimizing power consumption in wireless devices using data rate efficiency factor
CN107241770A (en) * 2017-05-16 2017-10-10 北京小米移动软件有限公司 Method for connecting network and device
CN107277878B (en) * 2017-08-08 2019-03-29 Oppo广东移动通信有限公司 Method for switching network, device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895995A (en) * 2004-06-02 2010-11-24 高通股份有限公司 Method and apparatus for scheduling in a wireless network
CN106507419A (en) * 2016-12-07 2017-03-15 广东欧珀移动通信有限公司 The method and device of connection Wi-Fi hotspot

Also Published As

Publication number Publication date
CN109963311A (en) 2019-07-02

Similar Documents

Publication Publication Date Title
US9807653B2 (en) Device and method for basic service set transition management
CN108347357B (en) Data communication method, application client, acceleration node server and system
US20140198657A1 (en) Method, device, and base station for transmitting data, device, and base station
US20230156522A1 (en) Predictive user plane function (upf) load balancing based on network data analytics
CN105828378B (en) A kind of Wireless Fidelity WIFI connection methods and terminal device
CN111510922B (en) Wireless network access control method, device and system
US20160330135A1 (en) Node distribution method and control center
CN109963311B (en) Network switching method, system, network switching equipment and storage medium
CN111294870A (en) Voice service switching method, device and storage medium
CN103262611A (en) Gateway relocation control method in mobile communication system, and control device
US20160182313A1 (en) Service offloading method, device, and system
CN112492631A (en) Switching method and device
US9974063B2 (en) Radio network control method and radio network controller
CN109525811B (en) Method and equipment for monitoring video
CN106101468B (en) Method and device for determining transmission link
CN106027599B (en) Data transmission channel establishing method, system and server
CN109963312A (en) A kind of method for switching network, system, link switch equipment and storage medium
CN105792388A (en) Local area network connection system and method
CN105682161B (en) Network connection device and method
CN109905901B (en) Network selection method and device and computer readable storage medium
CN109819482B (en) Data processing method and device
CN108243464B (en) VoLTE service shunting processing method and device
CN106231618B (en) A kind of method and device sending encoding and decoding renegotiation request
CN114844960A (en) Data transmission method and related equipment
US9635586B2 (en) Method and apparatus for using call admission control for client balancing

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