[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109219046A - Method for switching network and device - Google Patents

Method for switching network and device Download PDF

Info

Publication number
CN109219046A
CN109219046A CN201811167081.9A CN201811167081A CN109219046A CN 109219046 A CN109219046 A CN 109219046A CN 201811167081 A CN201811167081 A CN 201811167081A CN 109219046 A CN109219046 A CN 109219046A
Authority
CN
China
Prior art keywords
network
base station
terminal
priority
connection request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811167081.9A
Other languages
Chinese (zh)
Inventor
王文治
王源野
赵文东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201811167081.9A priority Critical patent/CN109219046A/en
Publication of CN109219046A publication Critical patent/CN109219046A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • H04W36/0094Definition of hand-off measurement parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface

Landscapes

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

Abstract

The present invention provides a kind of method for switching network and device, and this method may include: to search for the base station of the second network in terminal communication abnormality under first network;Wherein, the first network is second generation mobile communication technical specification 2G network, and second network is narrowband Internet of Things NB-IoT network;Alternatively, the first network is NB-IoT network, second network is 2G network;The first connection request is sent to the base station, wherein includes terminal iidentification in first connection request, so that terminal iidentification described in the base station stored;Authentication process is carried out with the base station, to carry out network communication with the base station.When this programme changes to solve network environment locating for terminal, the problem of network locating for terminal is likely to occur exception, and then terminal not can be carried out communication.

Description

Method for switching network and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of method for switching network and device.
Background technique
With the development of communication technology, second generation mobile communication technical specification (2-Generation wireless is provided Telephone technology, abbreviation 2G) communication network technology and narrowband Internet of Things (Narrow Band Internet of Things, abbreviation NB-IOT) communication network technology.Wherein, NB-IOT communication network technology is emerging technology of Internet of things, because of it Have the characteristics that covering is wide, connection is more, rate is fast, at low cost, low in energy consumption and framework is excellent etc..
In the prior art, bimodulus mould group is provided in terminal.The bimodulus mould group of the card of 2G number and terminal can be connected, To which terminal can be communicated under 2G network;Alternatively, the bimodulus mould group of the card of Internet of Things number and terminal is connected, thus Terminal can be communicated under NB-IOT network.
However in the prior art, when the network environment locating for the terminal changes, network locating for terminal may There is exception, and then terminal not can be carried out communication.For example, the bimodulus mould group of the card of 2G number and terminal is connected, terminal is in 2G It communicating under network, when 2G network is abnormal or after terminal is mobile, terminal cannot connect to 2G network, into And terminal cannot be communicated again.
Summary of the invention
The present invention provides a kind of method for switching network and device, changed to solve network environment locating for terminal When, the problem of network locating for terminal is likely to occur exception, and then terminal not can be carried out communication.
In a first aspect, the present invention provides a kind of method for switching network, comprising:
In terminal communication abnormality under first network, the base station of the second network is searched for;Wherein, the first network is 2G Network, second network are NB-IoT network;Alternatively, the first network is NB-IoT network, second network is 2G Network;
The first connection request is sent to the base station, wherein includes terminal iidentification in first connection request, so that institute State terminal iidentification described in base station stored;
Authentication process is carried out with the base station, to carry out network communication with the base station.
Further, when the first network is 2G network, the terminal iidentification is 2G number;
When the first network is NB-IoT network, the terminal iidentification is Internet of Things number.
Further, the method, further includes:
In terminal communication abnormality under first network, search for the second network base station, wherein the second network it is excellent First grade is higher than the priority of first network;
It is determining there are when the base station of second network, is sending the second connection request to the base station of second network, In second connection request include terminal iidentification so that terminal iidentification described in the base station stored of second network after with institute It states terminal and carries out network communication;
When determining the base station that second network is not present, the base station of first network is searched for;
If it is determined that third connection request is sent to the base station of the first network there are the base station of the first network, with Network communication is carried out with the base station of the first network.
Further, the method, further includes:
In terminal communication abnormality under first network, the base station of first network and the base station of the second network are searched for;
If it is determined that simultaneously scan for the base station of first network and the base station of the second network, then according to pre-set priority relationship, The base station for selecting priority high, the priority are that the priority of the base station of first network is higher than the preferential of the base station of the second network Grade, alternatively, the priority of the base station of the second network is higher than the priority of the base station of first network;
The base station high to the priority sends the 4th connection request, to carry out network with the high base station of the priority Communication.
Second aspect, the present invention provides a kind of method for switching network, comprising:
Receive the first connection request that terminal is sent, wherein it include terminal iidentification in first connection request, described the One connection request, which is searched for by the terminal under first network when communication abnormality after the base station of the second network, to be issued;It is described First network is 2G network, and second network is NB-IoT network;Alternatively, the first network is NB-IoT network, it is described Second network is 2G network;
Store the terminal iidentification;
Authentication process is carried out with the terminal, to carry out network communication with the terminal.
The third aspect, the present invention provide a kind of network switching device, comprising:
First search unit, for searching for the base station of the second network in terminal communication abnormality under first network;Its In, the first network is 2G network, and second network is NB-IoT network;Alternatively, the first network is NB-IoT net Network, second network are 2G network;
First transmission unit, for sending the first connection request to the base station, wherein wrapped in first connection request Terminal iidentification is included, so that terminal iidentification described in the base station stored;
Processing unit, for carrying out authentication process with the base station, to carry out network communication with the base station.
Further, when the first network is 2G network, the terminal iidentification is 2G number;
When the first network is NB-IoT network, the terminal iidentification is Internet of Things number.
Further, described device, further includes:
Second search unit, for searching for the base station of the second network in terminal communication abnormality under first network, Wherein, the priority of the second network is higher than the priority of first network;
Second transmission unit, for determining there are when the base station of second network, to the base station of second network The second connection request is sent, includes terminal iidentification in second connection request, so that the base station stored institute of second network It states terminal iidentification and carries out network communication with the terminal later;
Third search unit, for searching for the base station of first network when determining the base station that second network is not present;
Third transmission unit, for if it is determined that being sent out there are the base station of the first network to the base station of the first network Third connection request is sent, to carry out network communication with the base station of the first network.
Further, described device, further includes:
4th search unit, for searching for the base station of first network in terminal communication abnormality under first network With the base station of the second network;
Selecting unit, for if it is determined that simultaneously scanning for the base station of first network and the base station of the second network, then according to pre- Setting priority relationship, the base station for selecting priority high, the priority are that the priority of the base station of first network is higher than the second net The priority of the base station of network, alternatively, the priority of the base station of the second network is higher than the priority of the base station of first network;
4th transmission unit sends the 4th connection request for the base station high to the priority, with the priority High base station carries out network communication.
Fourth aspect, the present invention provide a kind of network switching device, comprising:
Receiving unit, for receiving the first connection request of terminal transmission, wherein include eventually in first connection request End mark, first connection request are that the terminal is searched under first network when communication abnormality after the base station of the second network It is issued;The first network is 2G network, and second network is NB-IoT network;Alternatively, the first network is NB- IoT network, second network are 2G network;
Storage unit, for storing the terminal iidentification;
Processing unit, for carrying out authentication process with the terminal, to carry out network communication with the terminal.
5th aspect, the present invention provide a kind of terminal, comprising: processor, memory and computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor with reality Either existing first aspect method.
6th aspect, the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, the meter Calculation machine program is executed by processor to realize either first aspect method.
7th aspect, the present invention provide a kind of base station, comprising: processor, memory and computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor with reality The method of existing second aspect.
Eighth aspect, the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, the meter Calculation machine program is executed by processor the method to realize second aspect.
The present invention provides a kind of method for switching network and devices, when terminal communication abnormality under first network, to The base station of two networks scans for, and then includes the first connection request of terminal iidentification to base station transmission, so that base station is connecing After receiving the first connection request, the terminal iidentification is stored, to carry out authentication process, so that terminal realizes the network with the base station Communication, wherein first network is 2G network, and the second network is NB-IoT network;Alternatively, first network is NB-IoT network, the Two networks are 2G network.Terminal has switched to the second network from first network as a result, can carry out positive normal open by the second network Letter, when solving that the network environment locating for the terminal changes in the prior art, network locating for terminal is likely to occur The problem of abnormal, and then terminal not can be carried out communication.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart for the method for switching network that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of method for switching network provided by Embodiment 2 of the present invention;
Fig. 3 is the flow chart for the method for switching network that the embodiment of the present invention three provides;
Fig. 4 is the flow chart for the method for switching network that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the network switching device that the embodiment of the present invention five provides;
Fig. 6 is the structural schematic diagram for the network switching device that the embodiment of the present invention six provides;
Fig. 7 is the structural schematic diagram for the network switching device that the embodiment of the present invention seven provides;
Fig. 8 is the structural schematic diagram for the network switching device that the embodiment of the present invention eight provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Currently, the bimodulus mould group being arranged in terminal can either support 2G network, and it can support NB-IOT network.Work as terminal When the card of middle insertion 2G number, the bimodulus mould group in terminal can establish connection with the base station of 2G network, to realize communication function;When When being inserted into the card of Internet of Things number in terminal, the bimodulus mould group in terminal can establish connection with the base station of NB-IOT network, with reality Existing communication function.
Fig. 1 is the flow chart for the method for switching network that the embodiment of the present invention one provides, as shown in Figure 1, this method comprises:
Step 101: in terminal communication abnormality under first network, searching for the base station of the second network;Wherein, described first Network is 2G network, and second network is NB-IoT network;Alternatively, the first network be NB-IoT network, described second Network is 2G network.
In the present embodiment, terminal communication abnormality under first network, it may be possible to since first network failure causes , either, terminal is moved, and there is no caused by first network etc. in locating area after mobile.
For example, scene 1 is that " terminal of the card of insertion Internet of Things number is in 2G network and NB-IOT network all exists Area, and the bimodulus mould group being arranged in terminal has connected NB-IOT network, it is assumed that occurs through NB-IOT network after a period of time Failure ", then being directed to this scene, when NB-IOT network breaks down, the bimodulus mould group being arranged in terminal will be unable to reconnect To NB-IOT network, terminal communication occurs abnormal.For guarantee terminal can normal communication, next can search for can in this area The base station of the 2G network of connection is established with bimodulus mould group.
Scene 2 is that " terminal of the card of insertion 2G number is moved to the area B from the area A, wherein 2G network, the area B are only existed in the area A In only exist NB-IOT network ", for this scene, the bimodulus mould group being arranged in terminal can be connected to 2G network at the area A, but After being moved to the area B, terminal communication occurs abnormal.So for guarantee terminal can normal communication, can search for can be with bimodulus in the area B Mould group establishes the base station of the NB-IOT network of connection.
Above-mentioned is exemplary and provides two scenes, and non exhaustive, including but not limited to above-mentioned two scene.
Step 102: sending the first connection request to the base station, wherein include terminal mark in first connection request Know, so that terminal iidentification described in the base station stored.
Wherein, when first network is 2G network, terminal iidentification is 2G number;When first network is NB-IoT network, terminal It is identified as Internet of Things number.
In the present embodiment, by taking above-mentioned scene 1 as an example, terminal can establish the 2G of connection searching with bimodulus mould group When the base station of network, the first connection request can be sent to the base station of the 2G network, wherein include the end in first connection request Internet of Things number possessed by holding, so that the base station stored of the 2G network Internet of Things number, specifically, storage location can be Home location register (Home Location Register, abbreviation HLR).
By taking above-mentioned scene 2 as an example, terminal can establish the base station of the NB-IOT network of connection searching with bimodulus group When, another first connection request can be sent to the base station of the NB-IOT network, wherein include the end in first connection request 2G number used in holding, so that the base station stored of the NB-IOT network 2G number, specifically, storage location can be Internet of Things Net dedicated home location register (M-Home Location Register, abbreviation M-HLR).
Wherein, HLR stores all in letters such as location information, business datum, the account managements of HLR signing mobile subscriber Breath, and the inquiry and modification to customer position information can be provided in real time, and realize all kinds of business operations, including location updating, The mobile management of user in mobile radio communication is completed in call treatment, authentication and supplementary service etc..
Step 103: authentication process is carried out with the base station, to carry out network communication with the base station.
In the present embodiment, after carrying out authentication process according to terminal iidentification and base station, that is, imparting terminal connection To the permission of corresponding base station, so as to carry out network communication with base station.
The embodiment of the invention provides a kind of method for switching network, when terminal communication abnormality under first network, to The base station of two networks scans for, and then includes the first connection request of terminal iidentification to base station transmission, so that base station is connecing After receiving the first connection request, the terminal iidentification is stored, to carry out authentication process, so that terminal realizes the network with the base station Communication, wherein first network is 2G network, and the second network is NB-IoT network;Alternatively, first network is NB-IoT network, the Two networks are 2G network.Terminal has switched to the second network from first network as a result, can carry out positive normal open by the second network Letter, when solving that the network environment locating for the terminal changes in the prior art, network locating for terminal is likely to occur The problem of abnormal, and then terminal not can be carried out communication.
Fig. 2 is the flow chart of method for switching network provided by Embodiment 2 of the present invention, as shown in Fig. 2, this method can wrap It includes:
Step 201: in terminal communication abnormality under first network, searching for the base station of the second network, wherein second The priority of network is higher than the priority of first network.
In the present embodiment, the priority of 2G network and NB-IOT network can be configured according to actual needs, Bu Guokao Considering NB-IOT network has the characteristics that covering is wide, connection is more, rate is fast, at low cost, low in energy consumption and framework is excellent etc., may be configured as The priority of NB-IOT network is higher than the priority of 2G network.For example, scene 3 is that " terminal of the card of insertion 2G number is from C Area is moved to the area D, wherein 2G network is only existed in the area C, there are 2G networks and NB-IOT network in the area D ", for this scene, terminal The bimodulus mould group of middle setting can be connected to 2G network at the area A, then terminal can be according to pre-set when being moved to the area B Priority, the base station of first search NB-IOT network do not search NB-IOT if the NB-IOT network in the area D breaks down The base station of network then searches again for the base station of 2G network.
Above-mentioned is exemplary and provides a scene, and non exhaustive, including but not limited to above-mentioned scene.
In the present embodiment, also settable frequency threshold value either time threshold, for example, in the base of search NB-IOT network When standing, if searching times have reached preset frequency threshold value, but do not search the base station of NB-IOT network also, then next search The base station of rope 2G network, either, search time has reached time threshold, but does not search the base station of NB-IOT network yet, Then next search for the base station of 2G network.Frequency threshold value and time threshold can be set according to actual needs, wherein number threshold Value can also be 1.
Step 202: determining there are when the base station of second network, sending second to the base station of second network and connect Request is connect, includes terminal iidentification in second connection request, so that terminal iidentification described in the base station stored of second network Network communication is carried out with the terminal later.
In the present embodiment, by taking scene 3 as an example, when terminal searching is to can establish connection with the bimodulus mould group being provided with NB-IOT network base station when, will stop search, namely do not search again for the base station of 2G network, and to the base station of NB-IOT network Send the second connection request, wherein include 2G number possessed by the terminal in second connection request, so that NB-IOT network Base station the number is stored into M-HLR, with realize communication.
Step 203: when determining the base station that second network is not present, searching for the base station of first network.
In the present embodiment, when the NB-IOT network in the area D breaks down, when not searching the base station of NB-IOT network, For guarantee terminal can normal communication, then search again for the base station of 2G network.
Step 204: if it is determined that sending third connection to the base station of the first network there are the base station of the first network Request, to carry out network communication with the base station of the first network.
In the present embodiment, it if the base station of 2G network can be searched in the area D, is directly sent to it the second connection and asks It asks, with the connection between the base station for the 2G network establishing the bimodulus mould group being arranged in terminal and searching, if do not searched successfully Rope then can re-execute the steps 201 after some time has elapsed to the base station of 2G network.
The embodiment of the present invention, can be according to pre-set 2G at the base station of the base station and NB-IOT network of searching for 2G network The priority of network and NB-IOT network selects priority is high preferentially to scan for, if being successfully searched base station, terminal Carry out network communication with the base station, and it is no longer low to priority scan for, to reduce the treatment process of terminal, improve The processing capacity of terminal.
Fig. 3 is the flow chart for the method for switching network that the embodiment of the present invention three provides, as shown in figure 3, this method can wrap It includes:
Step 301: in terminal communication abnormality under first network, searching for base station and the second network of first network Base station.
In the present embodiment, equally by taking the scene 3 in embodiment two as an example, in search base station, in addition to according to priority Mode preferentially select one scan for it is outer, can also the base station of base station and NB-IOT network to 2G network search simultaneously Rope.
Step 302: if it is determined that simultaneously scanning for the base station of first network and the base station of the second network, then according to default preferential Grade relationship, the base station for selecting priority high, the priority are that the priority of the base station of first network is higher than the base of the second network The priority stood, alternatively, the priority of the base station of the second network is higher than the priority of the base station of first network.
In the present embodiment, priority can be preset for the base station of two networks, specifically, may be configured as 2G network Base station priority be higher than NB-IOT network base station priority, may be alternatively provided as the priority of the base station of NB-IOT network Higher than the priority of the base station of 2G network.Specific facilities can carry out according to actual needs, it is contemplated that NB-IOT network Have the characteristics that covering is wide, connection is more, rate is fast, at low cost, low in energy consumption and framework is excellent etc., may be configured as NB-IOT under normal conditions The priority of the base station of network is higher than the priority of the base station of 2G network, in this way, as the base station and the NB- that simultaneously scan for 2G network When the base station of IOT network, then the base station of NB-IOT network is preferentially selected, then executes step 303, the i.e. base to NB-IOT network It stands and sends the 4th connection request.
Step 303: the base station high to the priority sends the 4th connection request, with the base station high with the priority Carry out network communication.
The embodiment of the present invention is scanned for simultaneously by the base station of base station and NB-IOT network to 2G network, is searched when simultaneously It, can be according to the base station of the priority and NB-IOT network of the base station of pre-set 2G network when rope is to the base station of two networks Priority, the high base station of preferential attachment priority, for example, the base station of preferential attachment NB-IOT network, can make terminal generate Lower power consumption etc..In addition, when one of network breaks down, can also be simultaneously scanned for another by simultaneously scanning for The base station of a network spends the time to scan for, so that terminal realizes communication as early as possible without being used in.
In addition, for example, scene 4 is that " terminal of the card of insertion 2G number is located at the area E, wherein the area E is between moment t It is only covered with 2G network, but is again covered with NB-IOT network after t, and the also non-logout of 2G network ", it, can be pre- for this scene First Ct value is set in the terminal, then the base station of the search NB-IOT network of terminal periodic is (since NB-IOT network has Have the features such as low-power consumption, connection is more, can preferentially select the network to be attached under normal conditions), when being successfully searched, to this Base station sends the 5th connection request, to store the 2G number in the base station of NB-IOT network, to carry out authentication process, realize from 2G network switching is to NB-IOT network.
Fig. 4 is the method for switching network that the embodiment of the present invention four provides, as shown in figure 4, this method may include:
Step 401: receiving the first connection request that terminal is sent, wherein include terminal mark in first connection request Know, first connection request is sent out after searching for the base station of the second network when communication abnormality under first network by the terminal Out;The first network is 2G network, and second network is NB-IoT network;Alternatively, the first network is NB-IoT Network, second network are 2G network;
Step 402: storing the terminal iidentification;
Step 403: authentication process is carried out with the terminal, to carry out network communication with the terminal.
The embodiment of the invention provides a kind of method for switching network, when terminal communication abnormality under first network, to The base station of two networks scans for, and then includes the first connection request of terminal iidentification to base station transmission, so that base station is connecing After receiving the first connection request, the terminal iidentification is stored, to carry out authentication process, so that terminal realizes the network with the base station Communication, wherein first network is 2G network, and the second network is NB-IoT network;Alternatively, first network is NB-IoT network, the Two networks are 2G network.Terminal has switched to the second network from first network as a result, can carry out positive normal open by the second network Letter, when solving that the network environment locating for the terminal changes in the prior art, network locating for terminal is likely to occur The problem of abnormal, and then terminal not can be carried out communication.
Fig. 5 is the structural schematic diagram for the network switching device that the embodiment of the present invention five provides, as shown in Figure 5, comprising:
First search unit 501, for searching for the base station of the second network in terminal communication abnormality under first network; Wherein, the first network is 2G network, and second network is NB-IoT network;Alternatively, the first network is NB-IoT Network, second network are 2G network;
First transmission unit 502, for sending the first connection request to the base station, wherein first connection request In include terminal iidentification so that terminal iidentification described in the base station stored;
Processing unit 503, for carrying out authentication process with the base station, to carry out network communication with the base station.
Wherein, when the first network is 2G network, the terminal iidentification is 2G number;The first network is NB-IoT When network, the terminal iidentification is Internet of Things number.
In the present embodiment, the network switching that the embodiment of the present invention one provides can be performed in the network switching device of the present embodiment Method, realization principle is similar, and details are not described herein again.
The embodiment of the present invention is searched when terminal communication abnormality under first network by the base station to the second network Rope, then to base station send include terminal iidentification the first connection request so that base station receive the first connection request it Afterwards, the terminal iidentification is stored, to carry out authentication process, so that terminal realizes the network communication with the base station, wherein first network For 2G network, the second network is NB-IoT network;Alternatively, first network is NB-IoT network, the second network is 2G network.By This, terminal has switched to the second network from first network, can carry out normal communication by the second network, solve in the prior art When the network environment locating for the terminal changes, network locating for terminal is likely to occur exception, and then terminal cannot be into The problem of row communication.
Fig. 6 is the structural schematic diagram for the network switching device that the embodiment of the present invention six provides, on the basis of embodiment five, As shown in fig. 6, described device, further includes:
Second search unit 601, for searching for the base of the second network in terminal communication abnormality under first network It stands, wherein the priority of the second network is higher than the priority of first network;
Second transmission unit 602, for determining there are when the base station of second network, to the base of second network It stands and sends the second connection request, include terminal iidentification in second connection request, so that the base station stored of second network Network communication is carried out with the terminal after the terminal iidentification;
Third search unit 603, for searching for the base of first network when determining the base station that second network is not present It stands;
Third transmission unit 604, for if it is determined that there are the base station of the first network, to the base station of the first network Third connection request is sent, to carry out network communication with the base station of the first network.
In the present embodiment, network switching provided by Embodiment 2 of the present invention can be performed in the network switching device of the present embodiment Method, realization principle is similar, and details are not described herein again.
The embodiment of the present invention, can be according to pre-set 2G at the base station of the base station and NB-IOT network of searching for 2G network The priority of network and NB-IOT network selects priority is high preferentially to scan for, if being successfully searched base station, terminal Carry out network communication with the base station, and it is no longer low to priority scan for, to reduce the treatment process of terminal, improve The processing capacity of terminal.
Fig. 7 is the structural schematic diagram for the network switching device that the embodiment of the present invention seven provides, on the basis of embodiment five, As shown in fig. 7, described device, further includes:
4th search unit 701, for searching for the base of first network in terminal communication abnormality under first network It stands and the base station of the second network;
Selecting unit 702, for if it is determined that simultaneously scan for the base station of first network and the base station of the second network, then basis Pre-set priority relationship, the base station for selecting priority high, the priority are that the priority of the base station of first network is higher than second The priority of the base station of network, alternatively, the priority of the base station of the second network is higher than the priority of the base station of first network;
4th transmission unit 703 sends connection request for the base station high to the priority, high with the priority Base station carry out network communication.
In the present embodiment, the network switching that the embodiment of the present invention three provides can be performed in the network switching device of the present embodiment Method, realization principle is similar, and details are not described herein again.
The embodiment of the present invention is scanned for simultaneously by the base station of base station and NB-IOT network to 2G network, is searched when simultaneously It, can be according to the base station of the priority and NB-IOT network of the base station of pre-set 2G network when rope is to the base station of two networks Priority, the high base station of preferential attachment priority, for example, the base station of preferential attachment NB-IOT network, can make terminal generate Lower power consumption etc..In addition, when one of network breaks down, can also be simultaneously scanned for another by simultaneously scanning for The base station of a network spends the time to scan for, so that terminal realizes communication as early as possible without being used in.
Fig. 8 is the structural schematic diagram for the network switching device that the embodiment of the present invention eight provides, as shown in Figure 8, comprising:
Receiving unit 801, for receiving the first connection request of terminal transmission, wherein wrapped in first connection request Terminal iidentification is included, first connection request is the terminal searches for the second network under first network base station when communication abnormality It is issued later;The first network is 2G network, and second network is NB-IoT network;Alternatively, the first network For NB-IoT network, second network is 2G network;
Storage unit 802, for storing the terminal iidentification;
Processing unit 803, for carrying out authentication process with the terminal, to carry out network communication with the terminal.
In the present embodiment, the network switching that the embodiment of the present invention four provides can be performed in the network switching device of the present embodiment Method, realization principle is similar, and details are not described herein again.
The embodiment of the present invention is searched when terminal communication abnormality under first network by the base station to the second network Rope, then to base station send include terminal iidentification the first connection request so that base station receive the first connection request it Afterwards, the terminal iidentification is stored, to carry out authentication process, so that terminal realizes the network communication with the base station, wherein first network For 2G network, the second network is NB-IoT network;Alternatively, first network is NB-IoT network, the second network is 2G network.By This, terminal has switched to the second network from first network, can carry out normal communication by the second network, solve in the prior art When the network environment locating for the terminal changes, network locating for terminal is likely to occur exception, and then terminal cannot be into The problem of row communication.
The embodiment of the invention provides a kind of terminals, comprising: processor, memory and computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor with reality Current embodiment one to any offer of embodiment three method.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter The method that calculation machine program is executed by processor to realize embodiment one to any offer of embodiment three.
The embodiment of the invention provides a kind of base stations, comprising: processor, memory and computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor with reality The method that current embodiment four provides.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter The method that calculation machine program is executed by processor to realize the offer of embodiment five.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claims System.

Claims (14)

1. a kind of method for switching network characterized by comprising
In terminal communication abnormality under first network, the base station of the second network is searched for;Wherein, the first network is the second generation Mobile communication technical specification 2G network, second network are narrowband Internet of Things NB-IoT network;Alternatively, the first network is NB-IoT network, second network are 2G network;
The first connection request is sent to the base station, wherein includes terminal iidentification in first connection request, so that the base It stands and stores the terminal iidentification;
Authentication process is carried out with the base station, to carry out network communication with the base station.
2. the method according to claim 1, wherein the first network be 2G network when, the terminal iidentification For 2G number;
When the first network is NB-IoT network, the terminal iidentification is Internet of Things number.
3. the method according to claim 1, wherein the method, further includes:
In terminal communication abnormality under first network, the base station of the second network is searched for, wherein the priority of the second network Higher than the priority of first network;
It is determining there are when the base station of second network, is sending the second connection request to the base station of second network, it is described In second connection request include terminal iidentification so that terminal iidentification described in the base station stored of second network after with the end End carries out network communication;
When determining the base station that second network is not present, the base station of first network is searched for;
If it is determined that there are the base station of the first network, send third connection request to the base station of the first network, with institute The base station for stating first network carries out network communication.
4. the method according to claim 1, wherein the method, further includes:
In terminal communication abnormality under first network, the base station of first network and the base station of the second network are searched for;
If it is determined that simultaneously scanning for the base station of first network and the base station of the second network, then according to pre-set priority relationship, selection The high base station of priority, the priority are the priority that the priority of the base station of first network is higher than the base station of the second network, Alternatively, the priority of the base station of the second network is higher than the priority of the base station of first network;
The base station high to the priority sends the 4th connection request, to carry out network communication with the high base station of the priority.
5. a kind of method for switching network characterized by comprising
Receive the first connection request that terminal is sent, wherein include terminal iidentification in first connection request, described first connects It connects request and is searched for when communication abnormality under first network by the terminal after the base station of the second network and issued;Described first Network is second generation mobile communication technical specification 2G network, and second network is narrowband Internet of Things NB-IoT network;Alternatively, institute Stating first network is NB-IoT network, and second network is 2G network;
Store the terminal iidentification;
Authentication process is carried out with the terminal, to carry out network communication with the terminal.
6. a kind of network switching device characterized by comprising
First search unit, for searching for the base station of the second network in terminal communication abnormality under first network;Wherein, institute Stating first network is second generation mobile communication technical specification 2G network, and second network is narrowband Internet of Things NB-IoT network; Alternatively, the first network is NB-IoT network, second network is 2G network;
First transmission unit, for sending the first connection request to the base station, wherein include eventually in first connection request End mark, so that terminal iidentification described in the base station stored;
Processing unit, for carrying out authentication process with the base station, to carry out network communication with the base station.
7. device according to claim 6, which is characterized in that when the first network is 2G network, the terminal iidentification For 2G number;
When the first network is NB-IoT network, the terminal iidentification is Internet of Things number.
8. device according to claim 6, which is characterized in that described device, further includes:
Second search unit, for searching for the base station of the second network in terminal communication abnormality under first network, In, the priority of the second network is higher than the priority of first network;
Second transmission unit is sent for determining there are when the base station of second network to the base station of second network Second connection request includes terminal iidentification in second connection request, so that described in the base station stored of second network eventually Network communication is carried out with the terminal after the mark of end;
Third search unit, for searching for the base station of first network when determining the base station that second network is not present;
Third transmission unit sends the to the base station of the first network for if it is determined that there are the base station of the first network Three connection requests, to carry out network communication with the base station of the first network.
9. device according to claim 6, which is characterized in that described device, further includes:
4th search unit searches for the base station and the of first network in terminal communication abnormality under first network The base station of two networks;
Selecting unit, for if it is determined that simultaneously scanning for the base station of first network and the base station of the second network, then basis to be preset excellent First grade relationship, the base station for selecting priority high, the priority are that the priority of the base station of first network is higher than the second network The priority of base station, alternatively, the priority of the base station of the second network is higher than the priority of the base station of first network;
4th transmission unit sends the 4th connection request, for the base station high to the priority with high with the priority Base station carries out network communication.
10. a kind of network switching device characterized by comprising
Receiving unit, for receiving the first connection request of terminal transmission, wherein include terminal mark in first connection request Know, first connection request is sent out after searching for the base station of the second network when communication abnormality under first network by the terminal Out;The first network is second generation mobile communication technical specification 2G network, and second network is narrowband Internet of Things NB- IoT network;Alternatively, the first network is NB-IoT network, second network is 2G network;
Storage unit, for storing the terminal iidentification;
Processing unit, for carrying out authentication process with the terminal, to carry out network communication with the terminal.
11. a kind of terminal characterized by comprising processor, memory and computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor to realize such as The described in any item methods of claim 1-4.
12. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program It is executed by processor to realize method according to any of claims 1-4.
13. a kind of base station characterized by comprising processor, memory and computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor to realize such as Method described in claim 5.
14. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program It is executed by processor to realize method as claimed in claim 5.
CN201811167081.9A 2018-10-08 2018-10-08 Method for switching network and device Pending CN109219046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811167081.9A CN109219046A (en) 2018-10-08 2018-10-08 Method for switching network and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811167081.9A CN109219046A (en) 2018-10-08 2018-10-08 Method for switching network and device

Publications (1)

Publication Number Publication Date
CN109219046A true CN109219046A (en) 2019-01-15

Family

ID=64983067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811167081.9A Pending CN109219046A (en) 2018-10-08 2018-10-08 Method for switching network and device

Country Status (1)

Country Link
CN (1) CN109219046A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381438A (en) * 2019-07-30 2019-10-25 深圳市优创亿科技有限公司 Support localization method, device, computer equipment and the storage medium of dual-mode network
WO2021184368A1 (en) * 2020-03-20 2021-09-23 北京小米移动软件有限公司 Method and apparatus for transmitting data, communication device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917425A (en) * 2012-11-15 2013-02-06 中国联合网络通信集团有限公司 Operator network switching method and device
CN102917426A (en) * 2012-11-15 2013-02-06 中国联合网络通信集团有限公司 Operator network switching method and device for IOT (Internal of Things) terminal
CN106714134A (en) * 2016-12-21 2017-05-24 深圳众思科技有限公司 Network search method and apparatus of mobile terminal, and mobile terminal
CN106792957A (en) * 2017-03-13 2017-05-31 贵州财富之舟科技有限公司 The method for switching network and system of NB IoT terminals
CN106878929A (en) * 2017-03-13 2017-06-20 贵州财富之舟科技有限公司 The communication handover method and system of NB IoT equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917425A (en) * 2012-11-15 2013-02-06 中国联合网络通信集团有限公司 Operator network switching method and device
CN102917426A (en) * 2012-11-15 2013-02-06 中国联合网络通信集团有限公司 Operator network switching method and device for IOT (Internal of Things) terminal
CN106714134A (en) * 2016-12-21 2017-05-24 深圳众思科技有限公司 Network search method and apparatus of mobile terminal, and mobile terminal
CN106792957A (en) * 2017-03-13 2017-05-31 贵州财富之舟科技有限公司 The method for switching network and system of NB IoT terminals
CN106878929A (en) * 2017-03-13 2017-06-20 贵州财富之舟科技有限公司 The communication handover method and system of NB IoT equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381438A (en) * 2019-07-30 2019-10-25 深圳市优创亿科技有限公司 Support localization method, device, computer equipment and the storage medium of dual-mode network
WO2021184368A1 (en) * 2020-03-20 2021-09-23 北京小米移动软件有限公司 Method and apparatus for transmitting data, communication device and storage medium

Similar Documents

Publication Publication Date Title
IL271041B (en) Wireless communication method, network device, and terminal device
CN106171019B (en) Determine the method, apparatus, terminal and server of terminal roaming status
CN103327644A (en) Method and equipment for wireless connection
CN104902524A (en) Method for terminal to automatically switch data link and terminal
CN109275162A (en) Connection control method, base station, user equipment and mobile management entity
CN109168171B (en) Configuration information acquisition method, device, equipment and system
CN105828402A (en) Blind redirection method, core network and base station
CN106713522A (en) Wireless fidelity (Wi-Fi) connection method and mobile terminal
CN101540969B (en) Method for realizing number carried in short message system and device thereof
CN105430636A (en) SIM card management method and system
CN103841625A (en) WLAN access method and WLAN access device
CN111093182B (en) Network optimal resource selection system for CPE (customer premises equipment)
CN109219046A (en) Method for switching network and device
CN108093404A (en) A kind of information processing method and device
CN101959148A (en) Redirection method, base station and terminal
CN104468962A (en) Call request processing method and electronic devices
CN103634877B (en) Without the management method of access point in the network of access controller and access point apparatus
CN111132256B (en) User terminal access method, initial mobile management entity and base station
CN105188041B (en) Call transferring method and home gateway based on fixed-line telephone
CN112770370B (en) Method and device for intelligent equipment to access network and intelligent equipment
CN107018088B (en) Transmission link selection method and device
CN103476077B (en) Network attached method and equipment
CN103888923A (en) Call proceeding method, system and device applied to virtual private mobile network
CN104254063B (en) Cut-in method, system and the terminal of optimum roaming list are updated based on WIFI
CN110278592A (en) A kind of data communications method, terminal and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190115