CN112492703A - Network connection management method, device, equipment and storage medium - Google Patents
Network connection management method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN112492703A CN112492703A CN202011278808.8A CN202011278808A CN112492703A CN 112492703 A CN112492703 A CN 112492703A CN 202011278808 A CN202011278808 A CN 202011278808A CN 112492703 A CN112492703 A CN 112492703A
- Authority
- CN
- China
- Prior art keywords
- link
- base station
- abnormal
- station information
- information
- 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
Links
- 238000007726 management method Methods 0.000 title claims description 25
- 230000002159 abnormal effect Effects 0.000 claims abstract description 111
- 230000005540 biological transmission Effects 0.000 claims abstract description 64
- 230000006855 networking Effects 0.000 claims abstract description 49
- 238000000034 method Methods 0.000 claims abstract description 33
- 230000009977 dual effect Effects 0.000 claims description 38
- 238000001514 detection method Methods 0.000 claims description 35
- 238000004891 communication Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/18—Management of setup rejection or failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present application relates to the field of networks, and in particular, to a method, an apparatus, a device, and a storage medium for managing network connection. The method comprises the following steps: establishing double links of a 4G link and a 5G link in a non-independent networking mode; and after the transmission performance of the 5G link is determined to be abnormal, searching the 4G base station again, and establishing independent 4G connection. The method and the device are used for solving the problem that a user can not surf the internet normally all the time after the transmission performance of the 5G link is abnormal due to double links established in a non-independent networking mode.
Description
Technical Field
The present application relates to the field of networks, and in particular, to a method, an apparatus, a device, and a storage medium for managing network connection.
Background
With the advent of the 5G era, networking mechanisms of 5G networks have also become an important issue. The networking mechanism of 5G mainly includes two forms, one is independent networking (sta, abbreviated as SA), and the other is Non-independent networking (Non sta, abbreviated as NSA). Due to the third Generation partnership Project (3rd Generation partnership Project, 3GPP for short), the 5G construction has earlier achieved the requirement of fast high speed in large bandwidth by the NSA networking mode. Where NSA refers to deployment of 5G networks using existing 4G infrastructure. The networking mode of NSA realizes networking rapidly in the form of double links of 4G link and 5G link, thereby greatly improving the networking speed and reducing the equipment cost.
In the prior art, the NSA networking mode successfully registers the 4G base station first to realize registration of the 5G base station, thereby realizing dual link. After the dual link of the 4G link and the 5G link is completed, the network side allocates a large proportion of uplink and downlink resources to the 5G link, and the mobile terminal transmits a large proportion of data through the 5G link. If the transmission performance of the 5G link is abnormal, the internet access rate is very low, and even the internet cannot be accessed. At present, the main processing mode is to disconnect the data connection and reestablish the data channel. However, generally, since the 4G base station in a certain area is unique, and the allocation principle of uplink and downlink resources does not change, even if the connection is reestablished, the user cannot normally surf the internet all the time.
Disclosure of Invention
The application provides a network connection management method, a network connection management device, a network connection management equipment and a network connection management storage medium, which are used for solving the problem that a user can not surf the internet normally all the time after the transmission performance of a 5G link is abnormal due to double links established in a non-independent networking mode.
In a first aspect, an embodiment of the present application provides a network connection management method, including: establishing double links of a 4G link and a 5G link in a non-independent networking mode; and after the transmission performance of the 5G link is determined to be abnormal, searching the 4G base station again, and establishing independent 4G connection.
Optionally, the determining that the transmission performance of the 5G link is abnormal includes: and detecting the transmission performance of the 5G link by taking a first preset time length as a period until the transmission performance of the 5G link is detected to be abnormal.
Optionally, after determining that the transmission performance of the 5G link is abnormal, the re-searching for the 4G base station further includes, before establishing the independent 4G connection: acquiring and recording abnormal 4G base station information corresponding to the double links; the re-searching for the 4G base station further includes, after establishing the independent 4G connection: acquiring current 4G base station information and current position information of the mobile terminal by taking a second preset time length as a period, and judging whether the coverage of a base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information and the current position information until the judgment result is yes; and establishing the dual link of the 4G link and the 5G link again in a non-independent networking mode.
Optionally, the obtaining, with a second preset duration as a period, current 4G base station information and current location information of the mobile terminal, and determining, according to the abnormal 4G base station information, the current 4G base station information, and the current location information, whether the coverage area of the base station signal corresponding to the abnormal 4G base station information is exceeded, until the determination result is yes, before re-establishing the dual link between the 4G link and the 5G link in the non-independent networking manner, further includes: and deleting the abnormal 4G base station information.
Optionally, before the establishing the dual link of the 4G link and the 5G link in the non-independent networking manner, the method further includes: acquiring the switch state of the 5G link connection switch; and determining that the switch state is an opening state.
Optionally, after determining that the transmission performance of the 5G link is abnormal, the re-searching for the 4G base station further includes, before establishing the independent 4G connection: closing a connection switch of the 5G link; the obtaining current 4G base station information and current position information of the mobile terminal with a second preset duration as a period, and determining whether the coverage area of the base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information and the current position information, until the determination result is yes, before re-establishing the dual link of the 4G link and the 5G link in a non-independent networking manner, the method further includes: and opening a connection switch of the 5G link.
Optionally, the determining that the transmission performance of the 5G link is abnormal includes: and determining that the transmission performance of the 5G link is abnormal through a preset performance detection mode, wherein the preset performance detection mode comprises at least one of domain name resolution, an address of an access-specified uniform resource positioning system, a statistical socket state and a statistical internet packet seeker delay.
In a second aspect, an embodiment of the present application provides a network connection management apparatus, including: the double-link module is used for establishing double links of the 4G link and the 5G link in a non-independent networking mode; and the processing module is used for searching the 4G base station again and establishing independent 4G connection after determining that the transmission performance of the 5G link is abnormal.
Optionally, the processing module is configured to detect the transmission performance of the 5G link with a first preset duration as a period until the transmission performance of the 5G link is detected to be abnormal.
Optionally, the processing module is further configured to, after the transmission performance of the 5G link is determined to be abnormal, re-search for the 4G base station, and before an independent 4G connection is established, obtain and record information of the abnormal 4G base station corresponding to the dual link; the 4G base station is searched again, after the independent 4G connection is established, current 4G base station information and current position information of the mobile terminal are obtained by taking a second preset time length as a period, and whether the coverage range of a base station signal corresponding to the abnormal 4G base station information is exceeded or not is judged according to the abnormal 4G base station information, the current 4G base station information and the current position information until the judgment result is yes; and establishing the dual link of the 4G link and the 5G link again in a non-independent networking mode.
Optionally, the processing module is further configured to obtain current 4G base station information and current location information of the mobile terminal with a second preset duration as a period, determine whether the coverage area of the base station signal corresponding to the abnormal 4G base station information is exceeded according to the abnormal 4G base station information, the current 4G base station information, and the current location information, until the determination result is yes, delete the abnormal 4G base station information before establishing the dual link of the 4G link and the 5G link in the non-independent networking manner again.
Optionally, the dual link module is further configured to obtain a switch state of the 5G link connection switch before the dual link of the 4G link and the 5G link is established in a non-independent networking manner; and determining that the switch state is an opening state.
Optionally, the processing module is further configured to, after the transmission performance of the 5G link is determined to be abnormal, re-search for the 4G base station, and before an independent 4G connection is established, close a connection switch of the 5G link; and acquiring current 4G base station information and current position information of the mobile terminal by taking a second preset time length as a period, judging whether the coverage range of a base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information and the current position information, and starting a connection switch of a 5G link before establishing double links of the 4G link and the 5G link in a non-independent networking mode until the judgment result is yes.
Optionally, the processing module is configured to determine that the transmission performance of the 5G link is abnormal through a preset performance detection manner, where the preset performance detection manner includes at least one of domain name resolution, an address of an access-specific uniform resource locator, a statistical socket state, and a statistical internet packet searchers delay.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; the memory for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the network connection management method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the network connection management method according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, after the double links are established in a non-independent networking mode, if the transmission performance of the 5G link is abnormal, the independent 4G connection is established. Therefore, the mode of the connection network of the mobile terminal can be switched quickly, the internet speed of the mobile terminal is guaranteed to maintain a normal level, and the internet experience of a user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram illustrating main flow steps of a network connection management method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of an option3x network structure provided in an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating specific steps of a network connection management method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a network connection management apparatus provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but not all 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.
The network connection management method provided by the embodiment of the application is mainly applied to the mobile terminal, and the mobile terminal cannot surf the internet normally after a problem occurs in the double links established in the non-independent networking mode. The mobile terminal may be one of various devices such as a smart phone, a tablet computer, a computer, and the like, and the scope of protection of the present application is not limited by the specific type of the mobile terminal.
In one embodiment, as shown in fig. 1, the network connection management method implements the following main process steps:
In one embodiment, Non Stand alone Networking (NSA) refers to deployment of a 5G network using existing 4G infrastructure. The double links formed by the non-independent networks are connected with various network structures, and commonly include Option 3(Option3), Option3a (Option3a) and Option3x (Option3 x). The main difference between different network structures is the connection mode between the network side and the base station, and the connection mode between the mobile terminal and the base station is basically the same. The scope of protection of the present application is not limited to the specific network architecture of the dual link.
In this embodiment, as shown in fig. 2, an Option3x is taken as an example to describe a dual-link network structure implemented in an NSA networking manner. In fig. 2, the dotted line represents a control plane, the solid line represents a user plane, the user plane refers to specific data required by a user, and the control plane refers to commands for management and scheduling. The 4G base station (Evolved NodeB, abbreviated eNB) serves as a dual-link master node to carry control plane and user plane data, the mobile terminal accesses a 4G Core network (Evolved Packet Core, abbreviated EPC) through the 4G eNB, and the 5G base station (gNodeB, abbreviated gNB) serves as an auxiliary node to carry user plane data. After the dual link is established, the user plane data is divided into two parts, the mobile terminal transmits the data with a large proportion through the 5G gNB, and the remaining data with a small proportion is transmitted through the 4G eNB.
In one embodiment, before establishing the dual link of the 4G link and the 5G link in a non-independent networking manner, the following process is required: acquiring the switch state of a 5G link connection switch; and determining the switch state as an opening state. If the switch state is the off state, the related operation of the double link is not performed.
In this embodiment, the switch state may be manually changed according to actual conditions and specific needs, for example, when the user charges are limited, the connection switch of the 5G link may be closed to select not to use the 5G network; the switch state can also be changed automatically according to the network state. The scope of protection of the present application is not limited in the manner of the modification of the switch state. By changing the on-off state of the 5G link connection switch, the network connection mode is diversified, the flexibility of network connection is improved, and better internet experience is provided for users.
And step 102, after the transmission performance of the 5G link is determined to be abnormal, searching the 4G base station again, and establishing independent 4G connection.
In one embodiment, when determining that the transmission performance of the 5G link is abnormal, the specific process is as follows: and detecting the transmission performance of the 5G link by taking the first preset duration as a period until the transmission performance of the 5G link is detected to be abnormal. That is, after the dual link is established, the cyclic detection is performed with the first preset duration as a period, and if the detection result is that the transmission performance of the 5G link is normal, the network connection of the dual link is continuously maintained; and if the detection result is that the transmission performance of the 5G link is abnormal, establishing the independent 4G connection.
In this embodiment, the timing of the first preset duration may be implemented in various ways, for example, by setting a timer, when it is determined that the transmission performance of the 5G link is normal, the first timer is started, and when the first timer is overtime, the detection of the transmission performance of the 5G link is performed next time. The first preset time length can be set according to actual conditions and specific needs, not only can be set manually, but also can be set automatically according to corresponding algorithms, and the protection range of the application is not limited by the setting mode and the implementation mode of the first preset time length.
In this embodiment, by setting the first preset duration, the cyclic detection of the transmission performance of the 5G link can be realized, and an abnormal condition of the dual link can be found in time, so that the network can be switched more timely, and a better internet experience can be provided for a user.
In one embodiment, when detecting the transmission performance of the 5G link, multiple preset performance detection modes may be used, which specifically include at least one of Domain Name System (DNS) resolution, access to a specified uniform resource locator (url) address, a statistical socket state (socket), and a statistical Internet Packet locator (Packet Internet Groper, Ping).
In this embodiment, the specific process of implementing DNS resolution detection is as follows: if the DNS resolution fails for more than a consecutive number a, it is determined that the 5G link is poor in transmission performance, where a is an integer greater than 1, a value of a is determined according to an actual situation and a specific need, and a protection range of the present application is not limited by the value of a.
The specific process of accessing the designated url to realize detection is as follows: and accessing the appointed url, and if the access fails and the reply of the network side is not obtained, judging that the 5G link has poor transmission performance.
The concrete process of realizing detection by counting socket states is as follows: if all the sockets cannot normally transmit data within a certain period of time or the sockets cannot establish connection, the 5G link is determined to have poor transmission performance.
The specific process of counting the Ping packet delay to realize detection comprises the following steps: if the Ping packet delay in a certain time period reaches more than B seconds, the 5G link is determined to be poor in transmission performance, wherein B is an integer larger than 1, the value of B is determined according to actual conditions and specific needs, and the protection range of the application is not limited by the value of B.
In this embodiment, according to actual conditions and specific needs, several of the above-mentioned preset performance detection modes may be selected to be combined to complete detection of transmission performance, and other detection modes capable of implementing related functions may also be selected. The principle of combination can be determined according to the actual use condition of various performance detection modes. For example, when the accuracy requirement of transmission performance detection is high, the detection can be realized by using a Ping packet delay counting mode, or can be simultaneously performed by using three modes of DNS analysis, designated url access and socket state counting, and the three detection results are integrated according to a preset rule to obtain a final detection result; when the accuracy requirement of transmission performance detection is general, DNS analysis and access to the designated url can be carried out simultaneously, and the two detection results are integrated according to a preset rule to obtain the final detection result. The protection scope of the present application is not limited by the implementation form of the transmission performance detection manner.
In one embodiment, after the transmission performance of the 5G link is determined to be abnormal, the 4G base station is searched again, and before the independent 4G connection is established, abnormal 4G base station information corresponding to the double links is obtained and recorded; searching the 4G base station again, after establishing the independent 4G connection, acquiring the current 4G base station information and the current position information of the mobile terminal by taking a second preset time length as a period, and judging whether the coverage range of the base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information and the current position information until the judgment result is yes; and establishing the dual link of the 4G link and the 5G link again in a non-independent networking mode.
In this embodiment, after the independent 4G connection is established, the current 4G base station information is cyclically searched with the second preset duration as a period, and if the mobile terminal is not in the base station signal coverage range corresponding to the abnormal 4G base station information, the dual link of the 5G network is immediately reestablished.
In this embodiment, the timing of the second preset time period may be implemented in various ways, for example, by setting a timer, starting the second timer after determining that the coverage of the base station signal corresponding to the abnormal 4G base station information is not exceeded, and judging whether the coverage of the base station signal corresponding to the abnormal 4G base station information is exceeded again when the second timer is overtime. The second preset time length can be set according to actual conditions and specific needs, not only can be set manually, but also can be set automatically according to corresponding algorithms, and the protection range of the application is not limited by the setting mode and the implementation mode of the second preset time length.
In this embodiment, by setting the second preset duration, the current 4G base station information is periodically and cyclically searched, and when the mobile terminal is not in the base station signal coverage range corresponding to the abnormal 4G base station information, a new 4G base station can be timely found to reconnect the 5G network more quickly, so that the user is prevented from being unable to complete double links again in time when reaching a new position, and the user experience is not affected.
In one embodiment, the 4G base station information includes coverage area information and signal strength information of the base station, and according to the abnormal 4G base station information and the current 4G base station information, in combination with the geographical location information of the mobile terminal, it can be quickly and accurately determined whether the mobile terminal currently exceeds the coverage area of the base station signal corresponding to the abnormal 4G base station information.
In one embodiment, the obtaining current 4G base station information and current location information of the mobile terminal with a second preset time period as a period, and determining whether the coverage of a base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information and the current location information, until the determination result is yes, before re-establishing a dual link of a 4G link and a 5G link in a non-independent networking manner, further includes: and deleting the abnormal 4G base station information.
In this embodiment, after exceeding the coverage area of the base station signal corresponding to the abnormal 4G base station information, the abnormal 4G base station information is deleted in time, and when the base station signal corresponding to the abnormal 4G base station information enters the coverage area of the base station signal corresponding to the abnormal 4G base station information again after a period of time, if the abnormal 5G link is recovered to be normal, the mobile terminal can complete the double link again.
In one embodiment, after determining that the transmission performance of the 5G link is abnormal, the 4G base station is searched again, and before establishing the independent 4G connection, the connection switch of the 5G link is closed. And acquiring current 4G base station information and current position information of the mobile terminal by taking a second preset time length as a period, judging whether the current 4G base station information and the current position information exceed a base station signal coverage range corresponding to the abnormal 4G base station information or not according to the abnormal 4G base station information, the current 4G base station information and the current position information, and starting a connection switch of the 5G link before establishing double links of the 4G link and the 5G link in a non-independent networking mode again until the judgment result is yes.
In this embodiment, the on-off state of the 5G link connection switch is changed in time, so that it can be avoided that the abnormal 4G base station continuously tries to complete double-link in the coverage area of the base station signal corresponding to the abnormal 4G base station information, unnecessary steps are omitted, energy is saved, and the use experience of a user is improved.
In one embodiment, as shown in fig. 3, the network connection management method implements the following specific process steps:
305, acquiring and recording abnormal 4G base station information corresponding to the double links;
in step 312, no double-linked correlation operation is performed.
In this embodiment, the sequence of step 305 and step 306 may be changed; the "delete abnormal 4G base station information" in step 310 and the "turn on 5G link connection switch" in step 311 may be exchanged. The process of realizing the network connection management method before and after the exchange has no obvious influence.
According to the network connection management method, after the double links are established in the non-independent networking mode, if the transmission performance of the 5G link is abnormal, the independent 4G connection is established. Therefore, the mode of the connection network of the mobile terminal can be switched quickly, the internet speed of the mobile terminal is guaranteed to maintain a normal level, and the internet experience of a user is improved. The acquisition of the on-off state that 5G link connection switch corresponds makes the form of network connection diversified, improves the flexibility of network connection, in time changes 5G link connection switch's on-off state, can avoid in the basic station signal coverage that unusual 4G basic station information corresponds, constantly tries to accomplish double-link through unusual 4G basic station, omits unnecessary step, and the energy can be saved improves user's use and experiences.
Meanwhile, the detection process is more flexible due to the detection modes of the transmission performance of various 5G links. And through setting the first preset duration, the cyclic detection of the transmission performance of the 5G link can be realized, and the abnormal condition of the double links can be found in time, so that the network can be switched more timely, and better internet experience can be provided for users. By setting the second preset time length, the current 4G base station information is periodically and circularly searched, and when the mobile terminal is not in the base station signal coverage range corresponding to the abnormal 4G base station information, a new 4G base station can be timely found to be quickly reconnected with the 5G network, so that the situation that when a user arrives at a new position, the user experience of the user is influenced because double links cannot be timely completed again is avoided.
Based on the same concept, embodiments of the present application provide a network connection management apparatus, and specific implementation of the apparatus may refer to descriptions in the method embodiment section, and repeated details are not repeated, as shown in fig. 4, the apparatus mainly includes:
a dual link module 401, configured to establish dual links of a 4G link and a 5G link in a non-independent networking manner;
and the processing module 402 is configured to re-search for the 4G base station and establish an independent 4G connection after determining that the transmission performance of the 5G link is abnormal.
In an embodiment, the processing module 402 is configured to detect the transmission performance of the 5G link with a first preset duration as a cycle until the transmission performance of the 5G link is detected to be abnormal.
In an embodiment, the processing module 402 is further configured to, after determining that the transmission performance of the 5G link is abnormal, re-search the 4G base station, and before establishing the independent 4G connection, obtain and record abnormal 4G base station information corresponding to the dual link; searching the 4G base station again, after establishing the independent 4G connection, acquiring the current 4G base station information and the current position information of the mobile terminal by taking a second preset time length as a period, and judging whether the coverage range of the base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information and the current position information until the judgment result is yes; and establishing the dual link of the 4G link and the 5G link again in a non-independent networking mode.
In an embodiment, the processing module 402 is further configured to obtain current 4G base station information and current location information of the mobile terminal with a second preset time as a period, determine whether the current 4G base station information and the current location information exceed a base station signal coverage range corresponding to the abnormal 4G base station information according to the abnormal 4G base station information, the current 4G base station information and the current location information, and delete the abnormal 4G base station information until the determination result is yes, and before the dual link of the 4G link and the 5G link is established again in a non-independent networking manner.
In an embodiment, the dual link module 401 is further configured to obtain a switch state of the 5G link connection switch before establishing a dual link between the 4G link and the 5G link in a non-independent networking manner; and determining the switch state as an opening state.
In an embodiment, the processing module 402 is further configured to, after determining that the transmission performance of the 5G link is abnormal, re-search the 4G base station, and close the connection switch of the 5G link before establishing the independent 4G connection; and acquiring current 4G base station information and current position information of the mobile terminal by taking a second preset time length as a period, judging whether the current 4G base station information and the current position information exceed a base station signal coverage range corresponding to the abnormal 4G base station information or not according to the abnormal 4G base station information, the current 4G base station information and the current position information, and starting a connection switch of the 5G link before establishing double links of the 4G link and the 5G link in a non-independent networking mode again until the judgment result is yes.
In an embodiment, the processing module 402 is configured to determine that the transmission performance of the 5G link is abnormal through a preset performance detection manner, where the preset performance detection manner includes at least one of domain name resolution, access to a specified uniform resource locator address, a statistical socket status, and a statistical internet packet searchers delay.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 5, the electronic device mainly includes: a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 are communicated with each other through the communication bus 504. Wherein, the memory 503 stores the program that can be executed by the processor 501, and the processor 501 executes the program stored in the memory 503, implementing the following steps: establishing double links of a 4G link and a 5G link in a non-independent networking mode; and after the transmission performance of the 5G link is determined to be abnormal, searching the 4G base station again, and establishing independent 4G connection. .
The communication bus 504 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 504 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The communication interface 502 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory 503 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor 501.
The Processor 501 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the network connection management method described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. 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 invention. Thus, the present invention 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 (16)
1. A network connection management method is applied to a mobile terminal and comprises the following steps:
establishing double links of a 4G link and a 5G link in a non-independent networking mode;
and after the transmission performance of the 5G link is determined to be abnormal, searching the 4G base station again, and establishing independent 4G connection.
2. The method according to claim 1, wherein the determining that the transmission performance of the 5G link is abnormal comprises:
and detecting the transmission performance of the 5G link by taking a first preset time length as a period until the transmission performance of the 5G link is detected to be abnormal.
3. The method according to claim 1, wherein after determining that the transmission performance of the 5G link is abnormal, the re-searching for the 4G base station before establishing the independent 4G connection further comprises:
acquiring and recording abnormal 4G base station information corresponding to the double links;
the re-searching for the 4G base station further includes, after establishing the independent 4G connection:
acquiring current 4G base station information and current position information of the mobile terminal by taking a second preset time length as a period, and judging whether the coverage of a base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information and the current position information until the judgment result is yes;
and establishing the dual link of the 4G link and the 5G link again in a non-independent networking mode.
4. The method according to claim 3, wherein the obtaining current 4G base station information and current location information of the mobile terminal with a second preset duration as a period, and determining whether the coverage of the base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information, and the current location information until the determination result is yes, further includes, before re-establishing dual links of a 4G link and a 5G link in a non-independent networking manner, further:
and deleting the abnormal 4G base station information.
5. The method according to claim 1, wherein before establishing the dual link between the 4G link and the 5G link by non-independent networking, the method further comprises:
acquiring the switch state of the 5G link connection switch;
and determining that the switch state is an opening state.
6. The method according to claim 3, wherein after determining that the transmission performance of the 5G link is abnormal, the re-searching for the 4G base station before establishing the independent 4G connection further comprises:
closing a connection switch of the 5G link;
the obtaining current 4G base station information and current position information of the mobile terminal with a second preset duration as a period, and determining whether the coverage area of the base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information and the current position information, until the determination result is yes, before re-establishing the dual link of the 4G link and the 5G link in a non-independent networking manner, the method further includes:
and opening a connection switch of the 5G link.
7. The method according to claim 1, wherein the determining that the transmission performance of the 5G link is abnormal comprises:
and determining that the transmission performance of the 5G link is abnormal through a preset performance detection mode, wherein the preset performance detection mode comprises at least one of domain name resolution, an address of an access-specified uniform resource positioning system, a statistical socket state and a statistical internet packet seeker delay.
8. A network connection management apparatus, comprising:
the double-link module is used for establishing double links of the 4G link and the 5G link in a non-independent networking mode;
and the processing module is used for searching the 4G base station again and establishing independent 4G connection after determining that the transmission performance of the 5G link is abnormal.
9. The apparatus according to claim 8, wherein the processing module is configured to detect the transmission performance of the 5G link with a first preset duration as a period until the transmission performance of the 5G link is detected to be abnormal.
10. The apparatus according to claim 8, wherein the processing module is further configured to, after the transmission performance of the 5G link is determined to be abnormal, re-search for the 4G base station, and before an independent 4G connection is established, obtain and record information of the abnormal 4G base station corresponding to the dual link; the 4G base station is searched again, after the independent 4G connection is established, current 4G base station information and current position information of the mobile terminal are obtained by taking a second preset time length as a period, and whether the coverage range of a base station signal corresponding to the abnormal 4G base station information is exceeded or not is judged according to the abnormal 4G base station information, the current 4G base station information and the current position information until the judgment result is yes; and establishing the dual link of the 4G link and the 5G link again in a non-independent networking mode.
11. The device of claim 10, wherein the processing module is further configured to obtain current 4G base station information and current location information of the mobile terminal in a period of a second preset duration, and determine whether the coverage area of the base station signal corresponding to the abnormal 4G base station information is exceeded according to the abnormal 4G base station information, the current 4G base station information, and the current location information, until a determination result is yes, delete the abnormal 4G base station information before establishing the dual link between the 4G link and the 5G link in a non-independent networking manner again.
12. The apparatus according to claim 8, wherein the dual link module is further configured to obtain a switch state of the 5G link connection switch before the dual link of the 4G link and the 5G link is established in the non-independent networking manner; and determining that the switch state is an opening state.
13. The apparatus according to claim 10, wherein the processing module is further configured to, after the determination that the transmission performance of the 5G link is abnormal, re-search for the 4G base station, and before establishing an independent 4G connection, close a connection switch of the 5G link; and acquiring current 4G base station information and current position information of the mobile terminal by taking a second preset time length as a period, judging whether the coverage range of a base station signal corresponding to the abnormal 4G base station information is exceeded or not according to the abnormal 4G base station information, the current 4G base station information and the current position information, and starting a connection switch of a 5G link before establishing double links of the 4G link and the 5G link in a non-independent networking mode until the judgment result is yes.
14. The apparatus according to claim 8, wherein the processing module is configured to determine that the transmission performance of the 5G link is abnormal through a preset performance detection manner, where the preset performance detection manner includes at least one of domain name resolution, access to a specified uniform resource locator address, a statistical socket status, and a statistical internet packet searchers delay.
15. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor, configured to execute the program stored in the memory, and implement the network connection management method according to any one of claims 1 to 7.
16. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the network connection management method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011278808.8A CN112492703B (en) | 2020-11-16 | 2020-11-16 | Network connection management method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011278808.8A CN112492703B (en) | 2020-11-16 | 2020-11-16 | Network connection management method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112492703A true CN112492703A (en) | 2021-03-12 |
CN112492703B CN112492703B (en) | 2023-01-13 |
Family
ID=74930931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011278808.8A Active CN112492703B (en) | 2020-11-16 | 2020-11-16 | Network connection management method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112492703B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200022200A1 (en) * | 2018-07-12 | 2020-01-16 | T-Mobile Usa, Inc. | System information handling for dual connectivity cellular systems |
CN110708733A (en) * | 2019-11-07 | 2020-01-17 | RealMe重庆移动通信有限公司 | Network connection control method and device, storage medium and electronic equipment |
CN110944369A (en) * | 2019-09-18 | 2020-03-31 | 华为技术有限公司 | Network switching method and terminal equipment |
US20200267069A1 (en) * | 2018-07-24 | 2020-08-20 | Hefei Xinsheng Optoelectronics Technology Co., Ltd. | Link switching method, link switching device, network communication system, and computer-readable storage medium |
CN111698772A (en) * | 2020-05-19 | 2020-09-22 | 宇龙计算机通信科技(深圳)有限公司 | Registration method and device of 5G system, storage medium and terminal |
CN111757555A (en) * | 2019-03-29 | 2020-10-09 | 电信科学技术研究院有限公司 | Connection processing method and device |
-
2020
- 2020-11-16 CN CN202011278808.8A patent/CN112492703B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200022200A1 (en) * | 2018-07-12 | 2020-01-16 | T-Mobile Usa, Inc. | System information handling for dual connectivity cellular systems |
US20200267069A1 (en) * | 2018-07-24 | 2020-08-20 | Hefei Xinsheng Optoelectronics Technology Co., Ltd. | Link switching method, link switching device, network communication system, and computer-readable storage medium |
CN111757555A (en) * | 2019-03-29 | 2020-10-09 | 电信科学技术研究院有限公司 | Connection processing method and device |
CN110944369A (en) * | 2019-09-18 | 2020-03-31 | 华为技术有限公司 | Network switching method and terminal equipment |
CN110708733A (en) * | 2019-11-07 | 2020-01-17 | RealMe重庆移动通信有限公司 | Network connection control method and device, storage medium and electronic equipment |
CN111698772A (en) * | 2020-05-19 | 2020-09-22 | 宇龙计算机通信科技(深圳)有限公司 | Registration method and device of 5G system, storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN112492703B (en) | 2023-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106102143B (en) | Application processing method and device | |
KR102058876B1 (en) | Method and apparatus for solving congestion situation in device to device communication | |
WO2020057177A1 (en) | Device behavior detection method, blocking processing method, medium and electronic device | |
KR101903533B1 (en) | Service quality index calculation method and calculation apparatus, and communications system | |
US11284347B2 (en) | Activation system information transmission method, apparatus, and device | |
US10321482B2 (en) | Method and device for processing carrier resource of unlicensed carrier and transmission node | |
RU2725174C1 (en) | Method of transmitting data, end device and network device | |
WO2016144518A1 (en) | Method and apparatus for fast communication of information during bluetooth discovery phase | |
JP2014510460A (en) | Method and apparatus for channel traffic congestion avoidance in a mobile communication system | |
US20150382173A1 (en) | Method and Apparatus for Detecting D2D Discovery Sequences, Method and Apparatus for Receiving D2D Data | |
KR101589862B1 (en) | Wireless scan and advertisement in electronic devices background | |
CN110830565A (en) | Resource downloading method, device, system, electronic equipment and storage medium | |
CA2946774A1 (en) | Wireless assistance method, apparatus, and system | |
CN110677684B (en) | Video processing method, video access method, distributed storage method and distributed video access system | |
EP2903344A1 (en) | Server device capable of analyzing communication behavior, control method for mobile terminal, and computer program | |
US11611973B2 (en) | User equipment uplink latency in wireless communications | |
US11622379B2 (en) | Enhancing triggered single user transmissions in WLAN networks | |
CN112492703B (en) | Network connection management method, device, equipment and storage medium | |
CN107548019B (en) | Method and device for processing network beacon in wireless sensor network | |
CN114244914B (en) | Internet of things protocol switching method and device, electronic equipment and storage medium | |
US10812601B2 (en) | Method and system for signaling and radio connection optimization over a cellular network | |
CN105515896B (en) | A kind of judgment method and device of mobile terminal network obstruction | |
CN105637973A (en) | Control method for wi-fi module and relevant device | |
CN117998659A (en) | Data transmission method, device, communication equipment and computer storage medium | |
US10111139B2 (en) | Offline-operable wireless network system and method for operating the same |
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 |