CN107454640A - Network insertion switching method and Related product - Google Patents
Network insertion switching method and Related product Download PDFInfo
- Publication number
- CN107454640A CN107454640A CN201710877727.1A CN201710877727A CN107454640A CN 107454640 A CN107454640 A CN 107454640A CN 201710877727 A CN201710877727 A CN 201710877727A CN 107454640 A CN107454640 A CN 107454640A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- network access
- network
- wireless local
- local area
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000003780 insertion Methods 0.000 title abstract 6
- 230000037431 insertion Effects 0.000 title abstract 6
- 230000006870 function Effects 0.000 claims description 48
- 238000004891 communication Methods 0.000 claims description 27
- 238000010295 mobile communication Methods 0.000 claims description 25
- 230000015654 memory Effects 0.000 claims description 24
- 238000012545 processing Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 14
- 230000003247 decreasing effect Effects 0.000 claims description 6
- 238000001514 detection method Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 10
- 230000009286 beneficial effect Effects 0.000 description 7
- 230000002349 favourable effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/32—Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of network insertion switching method and Related product, including:Whether detection mobile terminal meets network insertion switching condition;When detecting that the mobile terminal meets the network insertion switching condition, switch the network insertion of the mobile terminal, and forbidden networks access handoff functionality in preset period of time.The embodiment of the present invention is advantageous to avoid mobile terminal from frequently carrying out network insertion switching in the case where the signal intensity of WLAN is unstable, is advantageous to be lifted the stability of mobile terminal network access.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a network access switching method and a related product.
Background
With the rapid development of smart phones, the smart phones become necessities of people, wherein the application of the wireless local area network becomes one of the applications unavailable for smart phones, and people search for wireless local area network signals which can be connected anytime and anywhere.
At present, a mobile phone can autonomously select a wireless local area network capable of being accessed for access, or switch to access a mobile communication network when the wireless local area network cannot be searched, but the situation that the wireless local area network signal is unstable can occur, so that the access of the mobile phone network is frequently switched, and the data connection is frequently interrupted.
Disclosure of Invention
The embodiment of the invention provides a network access switching method and a related product, which can avoid frequent network access switching of a mobile terminal under the condition of unstable signal intensity of a wireless local area network and are beneficial to improving the stability of network access of the mobile terminal.
In a first aspect, an embodiment of the present invention provides a network access handover method, where the method includes:
detecting whether the mobile terminal meets a network access switching condition;
and when detecting that the mobile terminal meets the network access switching condition, switching the network access of the mobile terminal, and forbidding a network access switching function in a preset time period.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal has a function of implementing a behavior of the mobile terminal in the method design of the first aspect. The above functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
The mobile terminal comprises a processing unit and a communication unit, wherein the processing unit is used for detecting whether the mobile terminal meets a network access switching condition; and the network access switching unit is used for switching the network access of the mobile terminal through the communication unit when the mobile terminal is detected to meet the network access switching condition, and forbidding the network access switching function in a preset time period.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including: a processor, memory, and one or more programs; the one or more programs are stored in the above memory and configured to be executed by the processor, the programs including instructions for performing the steps described in any of the methods of the first aspect of embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program specifically includes instructions for executing some or all of the steps described in any one of the methods according to the first aspect of the embodiments of the present invention, and the computer includes a mobile terminal.
In a fifth aspect, the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present invention. The computer program product may be a software installation package, said computer comprising a mobile terminal.
It can be seen that, in the embodiment of the present invention, the mobile terminal first detects whether the mobile terminal meets the network access switching condition, then, when it is detected that the mobile terminal meets the network access switching condition, the network access of the mobile terminal is switched, and the network access switching function is disabled within a preset time period. Therefore, when the mobile terminal detects that the network access switching condition is met, the network access of the mobile terminal is switched, the switching condition is a strict condition for enabling the mobile terminal to have stable data connection, the switching network is favorable for improving the stability of the network access of the mobile terminal when the network access condition is met, the network access switching function is forbidden after the switching, and the frequent network access switching of the mobile terminal under the condition that the signal intensity of a wireless local area network is unstable is favorably avoided.
Drawings
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a network access handover method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another network access handover method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another network access handover method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another network access handover method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like, which have wireless communication functions. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal. The following describes embodiments of the present invention in detail.
Referring to fig. 1, fig. 1 is a schematic flow chart of a network access handover method according to an embodiment of the present invention, where as shown in the figure, the network access handover method includes:
s101, a mobile terminal detects whether the mobile terminal meets a network access switching condition;
the network access switching condition may be a distance condition from a hotspot of the wlan, or a signal strength condition of the wlan or a mobile communication network, which is not limited herein, but the network access switching condition is a strict condition for enabling the mobile terminal to have stable data connection, where the strict condition for enabling the mobile terminal to have stable data connection is not only a condition for enabling the mobile terminal to access when scanning for the wlan, or a condition for disabling the mobile terminal when scanning for the wlan, and the wlan may access when providing stable data traffic for the mobile terminal, or a condition for disabling the mobile terminal when detecting that there is no stable data traffic when accessing the wlan.
The network access switching refers to access switching of network resources accessed by a mobile terminal, that is, whether the mobile terminal is accessed to a wireless local area network, a mobile communication network, or a mobile communication hotspot.
S102, when the mobile terminal detects that the mobile terminal meets the network access switching condition, switching the network access of the mobile terminal, and forbidding a network access switching function in a preset time period;
the switching of the network access of the mobile terminal may be switching of the mobile terminal from a mobile communication network to a wireless local area network, or switching of the mobile terminal from the wireless local area network to the mobile communication network.
The forbidding of the network access switching function in the preset time period is to forbid all operations related to the network access switching in the preset time period, and in order to ensure the stability of the network, it is not necessary to detect whether the mobile terminal meets the network access switching condition, and it is not necessary to perform scanning operation for the wireless local area network, and it is not necessary to perform network access switching.
And after the preset time period, the mobile terminal recovers and starts the network access switching function.
It can be seen that, in the embodiment of the present invention, the mobile terminal first detects whether the mobile terminal meets the network access switching condition, then, when it is detected that the mobile terminal meets the network access switching condition, the network access of the mobile terminal is switched, and the network access switching function is disabled within a preset time period. Therefore, when the mobile terminal detects that the network access switching condition is met, the network access of the mobile terminal is switched, the switching condition is a strict condition for enabling the mobile terminal to have stable data connection, the switching network is favorable for improving the stability of the network access of the mobile terminal when the network access condition is met, the network access switching function is forbidden after the switching, and the frequent network access switching of the mobile terminal under the condition that the signal intensity of a wireless local area network is unstable is favorably avoided.
In one possible example, before the detecting whether the mobile terminal satisfies the network access handover condition, the method further includes:
when detecting that a first wireless local area network is accessed, detecting first signal strength of the first wireless local area network;
when the first signal intensity is detected to be smaller than a first preset threshold value, acquiring a first position;
when the interruption of the access to the first wireless local area network is detected, acquiring a second position;
and determining a first reference area of the first wireless local area network by taking the first position as a circle center and the distance between the first position and the second position as a radius, wherein the first reference area is an effective coverage area of the first wireless local area network relative to the mobile terminal.
Wherein the first preset threshold is dynamic, that is, the first preset threshold changes during the process that the mobile terminal continuously accesses the first wireless local area network, and a trend of the change of the first preset threshold becomes smaller and smaller, for example, the first preset threshold may be-30 dbm, -35dbm, -40 dbm.
For example, when it is determined that the current signal strength of the first wireless local area network is-35 dbm smaller than the first preset threshold value of-30 dbm, determining that the position with the signal strength of-35 dbm is a first position, and updating the first preset threshold value of-35 dbm, in the process that the mobile terminal continuously accesses the first wireless local area network, if it is detected that the position with the signal strength of-40 dbm is smaller than the updated first preset threshold value, updating the first position as the position with the signal strength of-40 dbm, and updating the first preset threshold value of-40 dbm.
The first position is a central position of the first reference area of the first wireless local area network, that is, a position in the first reference area where the signal strength relative to the mobile terminal is strongest is a determined hotspot position of the first wireless local area network.
Wherein the first position and the second position are both position parameters, and the position parameters include three-dimensional coordinate parameters of the positions.
As can be seen, in this example, the mobile terminal determines the first reference area of the first wireless local area network relative to the mobile terminal according to the situation that the mobile terminal accesses the first wireless local area network and interrupts accessing the first wireless local area network, instead of enabling all the mobile terminals to have the same first reference area for the first wireless local area network, which is beneficial to improving the accuracy of the mobile terminal in acquiring the first reference area, and sets the dynamic first preset threshold, which is beneficial to further improving the accuracy of the first reference area.
In this possible example, the switching the network access of the mobile terminal when detecting that the mobile terminal satisfies the network access switching condition includes:
when the mobile terminal is detected to be transferred from a second reference area of the first wireless local area network to the first reference area, and a first distance between the mobile terminal and a signal source of the first wireless local area network is smaller than a second distance, switching network access of the mobile terminal to the first wireless local area network, wherein the second reference area is an area except the first reference area, and the second distance is a radius of the first reference area.
The first distance is a distance which can ensure that the data connection is stable after the mobile terminal is accessed into the first wireless local area network.
When the mobile terminal is transferred from a second reference area of the first wireless local area network to the first reference area, although the first reference area is an effective coverage area of the first wireless local area network, the mobile terminal does not perform an access control operation for the first wireless local area network, but performs an access control operation for the first wireless local area network when a signal source of the first wireless local area network is a first distance, and the first distance is smaller than the second distance.
And the signal source of the first wireless local area network is the determined circle center position of the first reference area.
When the mobile terminal is transferred from the second reference area of the first wireless local area network to the first reference area, the moving direction of the mobile terminal is the moving direction of the mobile terminal, that is, the mobile terminal is closer to the signal source of the first wireless local area network.
The mobile terminal may perform a network access handover operation at a first location among the plurality of locations, where the first location is a first distance from a signal source of the first wireless local area network in the first reference area.
When the mobile terminal is detected to be transferred from the second reference area of the first wireless local area network to the first reference area, the mobile terminal can predict a motion track according to motion acceleration and a motion direction, predict a position which is a first distance away from a signal source of the first wireless local area network in a position set forming the motion track according to the motion track, then predict a time node reaching the position, and perform network access switching operation when the predicted time node is reached.
The mobile terminal comprises an accelerometer and a gyroscope for acquiring motion acceleration and motion direction.
As can be seen, in this example, the mobile terminal does not immediately perform the access control operation for the first wireless local area network when reaching the first reference area, but performs the access control when the signal source of the first wireless local area network is a first distance, so as to avoid a situation that data connection is interrupted due to weak signal strength of the wireless local area network after the mobile terminal accesses the first wireless local area network quickly, which is beneficial to improving the stability of wireless data traffic of the mobile terminal.
In this possible example, the switching the network access of the mobile terminal when detecting that the mobile terminal satisfies the network access switching condition includes:
and when the mobile terminal is detected to move from the first reference area of the first wireless local area network to the second reference area and the third distance between the mobile terminal and the signal source of the first wireless local area network is smaller than the second distance, switching the network access of the mobile terminal into a mobile communication network.
The moving direction of the mobile terminal is from the first reference area to the second reference area, that is, the mobile terminal is farther from a signal source of the first wireless local area network.
And the third distance is a critical value of the mobile terminal in which the data connection in the first reference area is unstable.
The mobile terminal can predict the position of the mobile terminal, which is a third distance from a signal source of the first wireless local area network, in a position set forming the motion trail to the second reference area from the first reference area of the first wireless local area network according to the motion trail, then predict a time node reaching the position, and perform network access switching operation when the predicted time node is reached.
As can be seen, in this example, when the mobile terminal detects that the first reference area of the first wireless lan moves to the second reference area and the third distance from the signal source of the first wireless lan is smaller than the second distance, the mobile terminal switches the network access to the mobile communication network instead of performing the network access switching operation after the mobile terminal reaches the boundary of the first reference area, so as to avoid a situation that data connection is interrupted at the boundary of the first reference area due to weak signal strength of the first wireless lan and no active disconnection of the first wireless lan, which is beneficial to further improving the stability of data connection of the mobile terminal.
In one possible example, the switching the network access of the mobile terminal when detecting that the mobile terminal satisfies the network access switching condition includes:
when detecting that a plurality of groups of second signal strengths of a second wireless local area network acquired by the mobile terminal are in a decreasing trend and the plurality of groups of second signal strengths comprise at least one second signal strength of which the signal strength is smaller than a second preset threshold value, switching the network access of the mobile terminal to the second wireless local area network;
or,
and when detecting that the multiple groups of third signal strengths of the second wireless local area network acquired by the mobile terminal are in an increasing trend and the multiple groups of third signal strengths comprise at least one third signal strength of which the signal strength is greater than a third preset threshold value, switching the network access of the mobile terminal into a mobile communication network.
The second signal strength is smaller and smaller, which indicates that the second signal strength is stronger and stronger, and the second signal strength is larger and larger, which indicates that the second signal strength is weaker and weaker.
The mobile terminal moves from the edge of the second wireless local area network to the center of the second wireless local area network when the plurality of sets of second signal strengths of the second wireless local area network trend to be decreased, and the mobile terminal moves from the center of the second wireless local area network to the edge of the second wireless local area network when the plurality of sets of third signal strengths of the second wireless local area network trend to be increased.
It can be seen that, in this example, the mobile terminal detects a variation trend of the signal strength of the second wireless local area network, and determines the time for switching the network access according to the variation trend and the value of the signal strength, so as to avoid a situation that data connection is interrupted due to weak signal strength after the second wireless local area network is connected without considering a moving direction of the mobile terminal, and further improve stability of data connection of the mobile terminal.
In one possible example, before the detecting whether the mobile terminal satisfies the network access handover condition, the method further includes:
detecting a fourth signal strength of a third wireless local area network when detecting that the third wireless local area network is accessed;
when the fourth signal intensity is detected to be smaller than a fourth preset threshold value, acquiring a third position;
when detecting that the fourth signal intensity is greater than a fifth preset threshold value, acquiring a fourth position;
and determining a third reference area of the third wireless local area network by taking the third position as a center of a circle and the distance between the third position and the fourth position as a radius, wherein the third reference area is an effective coverage area of the third wireless local area network relative to the mobile terminal.
The fourth preset threshold is dynamic, that is, the fourth preset threshold changes in the process that the mobile terminal continuously accesses the third wireless local area network, and the change trend of the fourth preset threshold is smaller and smaller, which is the same as the first preset threshold.
The third position is a central position of the third reference area of the third wireless local area network, that is, a position in the third reference area where the signal strength relative to the mobile terminal is strongest is a determined hotspot position of the third wireless local area network.
And the third position and the fourth position are both position parameters, and the position parameters comprise three-dimensional coordinate parameters of the positions.
In this example, the mobile terminal determines, according to the signal strength of the third wireless local area network when the mobile terminal accesses the third wireless local area network, a smaller effective coverage area of the third wireless local area network relative to the mobile terminal itself, and determines the radius of the third reference area when the signal strength is greater than a fifth preset threshold, instead of determining the radius of the third reference area when the signal strength is not detected, which is beneficial to enabling the mobile terminal to obtain a fourth reference area with stable data connection, so that the mobile terminal can perform network access switching more accurately according to the reference area.
In this possible example, the switching the network access of the mobile terminal when detecting that the mobile terminal satisfies the network access switching condition includes:
when detecting that the mobile terminal is transferred from a fourth reference area of the third wireless local area network to the third reference area, switching the network access of the mobile terminal to the third wireless local area network, wherein the fourth reference area is an area except the third reference area;
or,
and when the mobile terminal is detected to be transferred from the third reference area of the third wireless local area network to the fourth reference area, switching the network access of the mobile terminal to a mobile communication network.
The mobile terminal can predict the time node of the mobile terminal transferred from the fourth reference area to the third reference area according to the motion trail, or predict the time node of the mobile terminal transferred from the third reference area to the fourth reference area according to the motion trail, when the predicted time node is reached, network access switching operation is carried out, the mobile terminal predicts the time node through the motion trail instead of determining through positioning, and therefore the mobile terminal is beneficial to improving the real-time performance of network access switching of the mobile terminal and reducing power consumption during positioning.
Therefore, in this example, the mobile terminal performs network access switching according to the effective coverage area of the third wireless local area network determined by the mobile terminal to have stable data connection, so that the situation that the signal of the third wireless local area network is weak at the edge of the effective area when the effective coverage area is large, and the data connection is interrupted although the third wireless local area network is connected is avoided, and the stability of the data connection of the mobile terminal is further improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of another network access handover method according to an embodiment of the present invention, where the network access handover method includes:
s201, when a mobile terminal accesses a first wireless local area network, detecting a first signal intensity of the first wireless local area network;
s202, when detecting that the first signal intensity is smaller than a first preset threshold value, the mobile terminal acquires a first position;
s203, when the mobile terminal detects that the access to the first wireless local area network is interrupted, a second position is obtained;
s204, the mobile terminal determines a first reference area of the first wireless local area network by taking the first position as a circle center and taking the distance between the first position and the second position as a radius;
the first reference area is an effective coverage area of the first wireless local area network relative to the mobile terminal.
S205, the mobile terminal detects whether the mobile terminal meets the network access switching condition;
s206, when the mobile terminal detects that the mobile terminal is transferred from a second reference area of the first wireless local area network to the first reference area and a first distance between the mobile terminal and a signal source of the first wireless local area network is smaller than a second distance, switching the network access of the mobile terminal to the first wireless local area network and forbidding a network access switching function in a preset time period;
wherein the second reference region is a region other than the first reference region, and the second distance is a radius of the first reference region.
S207, after the preset time period, when the mobile terminal detects that the mobile terminal moves from the first reference area to the second reference area of the first wireless lan, and a third distance between the mobile terminal and a signal source of the first wireless lan is smaller than the second distance, switching the network access of the mobile terminal to a mobile communication network, and disabling a network access switching function in the preset time period.
It can be seen that, in the embodiment of the present invention, the mobile terminal first detects whether the mobile terminal meets the network access switching condition, then, when it is detected that the mobile terminal meets the network access switching condition, the network access of the mobile terminal is switched, and the network access switching function is disabled within a preset time period. Therefore, when the mobile terminal detects that the network access switching condition is met, the network access of the mobile terminal is switched, the switching condition is a strict condition for enabling the mobile terminal to have stable data connection, the switching network is favorable for improving the stability of the network access of the mobile terminal when the network access condition is met, the network access switching function is forbidden after the switching, and the frequent network access switching of the mobile terminal under the condition that the signal intensity of a wireless local area network is unstable is favorably avoided.
In addition, the mobile terminal determines the first reference area of the first wireless local area network relative to the mobile terminal according to the condition that the mobile terminal accesses the first wireless local area network and interrupts the first wireless local area network, and therefore the accuracy of the mobile terminal in acquiring the first reference area is improved.
In addition, the mobile terminal does not immediately perform access control operation aiming at the first wireless local area network when reaching the first reference area, but performs access control when the signal source of the first wireless local area network is a first distance, thereby avoiding the situation that the data connection is interrupted due to the weak signal strength of the wireless local area network after the mobile terminal is accessed into the first wireless local area network quickly, and when the mobile terminal detects that the mobile terminal moves from the first reference area of the first wireless local area network to the second reference area and the third distance from the signal source of the first wireless local area network is less than the second distance, the mobile terminal switches the network access to the mobile communication network instead of performing network access switching operation after the mobile terminal reaches the boundary of the first reference area, thereby avoiding the situation that the signal strength of the first wireless local area network is weak at the boundary position of the first reference area, and the data connection interruption caused by actively disconnecting the first wireless local area network is avoided, so that the stability of the data connection of the mobile terminal is further improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another network access handover method according to an embodiment of the present invention, where the network access handover method includes:
s301, a mobile terminal detects whether the mobile terminal meets a network access switching condition;
s302, when the mobile terminal detects that multiple groups of acquired second signal intensities of a second wireless local area network are in a decreasing trend and the multiple groups of second signal intensities comprise at least one second signal intensity of which the signal intensity is smaller than a second preset threshold, switching the network access of the mobile terminal to the second wireless local area network, and forbidding a network access switching function in a preset time period;
and S303, after the preset time period, when the mobile terminal detects that multiple groups of third signal strengths of the second wireless local area network acquired by the mobile terminal are in an increasing trend and the multiple groups of third signal strengths comprise at least one third signal strength of which the signal strength is greater than a third preset threshold, switching the network access of the mobile terminal to a mobile communication network, and forbidding a network access switching function in the preset time period.
It can be seen that, in the embodiment of the present invention, the mobile terminal first detects whether the mobile terminal meets the network access switching condition, then, when it is detected that the mobile terminal meets the network access switching condition, the network access of the mobile terminal is switched, and the network access switching function is disabled within a preset time period. Therefore, when the mobile terminal detects that the network access switching condition is met, the network access of the mobile terminal is switched, the switching condition is a strict condition for enabling the mobile terminal to have stable data connection, the switching network is favorable for improving the stability of the network access of the mobile terminal when the network access condition is met, the network access switching function is forbidden after the switching, and the frequent network access switching of the mobile terminal under the condition that the signal intensity of a wireless local area network is unstable is favorably avoided.
In addition, the mobile terminal detects the change trend of the signal intensity of the second wireless local area network, and determines the time for switching the network access according to the change trend and the value of the signal intensity, so that the situation that the data connection is interrupted due to weak signal intensity after the second wireless local area network is connected under the condition that the moving direction of the mobile terminal is not considered is avoided, and the stability of the data connection of the mobile terminal is further improved.
Referring to fig. 4, fig. 4 is a schematic flow chart of another network access handover method according to an embodiment of the present invention, where the network access handover method includes:
s401, when the mobile terminal accesses a third wireless local area network, detecting a fourth signal intensity of the third wireless local area network;
s402, when detecting that the fourth signal intensity is smaller than a fourth preset threshold value, the mobile terminal acquires a third position;
s403, when detecting that the fourth signal intensity is greater than a fifth preset threshold value, the mobile terminal acquires a fourth position;
s404, the mobile terminal determines a third reference area of the third wireless local area network by taking the third position as a circle center and the distance between the third position and the fourth position as a radius;
wherein the third reference area is an effective coverage area of the third wireless local area network relative to the mobile terminal.
S405, the mobile terminal detects whether the mobile terminal meets the network access switching condition;
s406, when detecting that the mobile terminal is transferred from a fourth reference area of the third wireless local area network to the third reference area, the mobile terminal switches the network access of the mobile terminal to the third wireless local area network and disables a network access switching function in a preset time period;
wherein the fourth reference region is a region other than the third reference region.
S407, after the preset time period, when the mobile terminal detects that the mobile terminal is transferred from the third reference area to the fourth reference area of the third wlan, switching the network access of the mobile terminal to a mobile communication network, and disabling a network access switching function in the preset time period.
It can be seen that, in the embodiment of the present invention, the mobile terminal first detects whether the mobile terminal meets the network access switching condition, then, when it is detected that the mobile terminal meets the network access switching condition, the network access of the mobile terminal is switched, and the network access switching function is disabled within a preset time period. Therefore, when the mobile terminal detects that the network access switching condition is met, the network access of the mobile terminal is switched, the switching condition is a strict condition for enabling the mobile terminal to have stable data connection, the switching network is favorable for improving the stability of the network access of the mobile terminal when the network access condition is met, the network access switching function is forbidden after the switching, and the frequent network access switching of the mobile terminal under the condition that the signal intensity of a wireless local area network is unstable is favorably avoided.
In addition, the mobile terminal determines a smaller effective coverage area of the third wireless local area network relative to the mobile terminal according to the signal strength when the mobile terminal accesses the third wireless local area network, and determines the radius of the third reference area when the signal strength is greater than a fifth preset threshold value instead of determining the radius of the third reference area when the signal strength cannot be detected, so that the mobile terminal can acquire a fourth reference area with stable data connection, and the mobile terminal can perform network access switching more accurately according to the reference area.
In addition, the mobile terminal performs network access switching according to the effective coverage area of the third wireless local area network which is determined by the mobile terminal and has stable data connection, so that the situation that the signal of the third wireless local area network is weak at the edge part of the effective area when the effective coverage area is large, and the data connection is interrupted although the third wireless local area network is connected is avoided, and the stability of the data connection of the mobile terminal is further improved.
The above description has introduced the solution of the embodiment of the present invention mainly from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the present invention may perform the division of the functional units for the mobile terminal according to the method example described above, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In case of an integrated unit, fig. 5 shows a possible structural diagram of the mobile terminal involved in the above embodiment. The mobile terminal 500 includes: a processing unit 502 and a communication unit 503. Processing unit 502 is used to control and manage the actions of the mobile terminal, e.g., processing unit 502 is used to support the mobile terminal to perform steps S101 to S102 in fig. 1, steps S201 to 207 in fig. 2, steps S301 to S303 in fig. 3, and steps S401 to S407 in fig. 4, and/or other processes for the techniques described herein. The communication unit 503 is used to support communication between the mobile terminal and other devices, for example, a serving base station in a mobile communication network, or a wireless local area network hotspot. The mobile terminal may further include a storage unit 501 for storing program codes and data of the mobile terminal.
The processing Unit 502 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 503 may be a communication interface, a transceiver circuit, etc., wherein the communication interface is a generic term and may include one or more interfaces. The storage unit 501 may be a memory.
The processing unit 502 is configured to detect whether the mobile terminal meets a network access handover condition; and is configured to switch the network access of the mobile terminal through the communication unit 503 and disable the network access switching function within a preset time period when it is detected that the mobile terminal satisfies the network access switching condition.
In one possible example, before the processing unit 402 detects whether the mobile terminal satisfies the network access handover condition, it is further configured to: when detecting that a first wireless local area network is accessed, detecting first signal strength of the first wireless local area network; the first position is obtained when the first signal strength is detected to be smaller than a first preset threshold value; and for acquiring a second location when detecting an interruption of access to the first wireless local area network; and the first reference area is used for determining a first reference area of the first wireless local area network by taking the first position as a circle center and a distance between the first position and the second position as a radius, and the first reference area is an effective coverage area of the first wireless local area network relative to the mobile terminal.
In this possible example, in the aspect of switching the network access of the mobile terminal through the communication unit 503 when it is detected that the mobile terminal satisfies the network access switching condition, the processing unit 502 is specifically configured to: when it is detected that the mobile terminal is transferred from a second reference area of the first wireless local area network to the first reference area, and a first distance between the mobile terminal and a signal source of the first wireless local area network is smaller than a second distance, the communication unit 503 is used to switch the network access of the mobile terminal to the first wireless local area network, where the second reference area is an area other than the first reference area, and the second distance is a radius of the first reference area.
In this possible example, in the aspect of switching the network access of the mobile terminal through the communication unit 503 when it is detected that the mobile terminal satisfies the network access switching condition, the processing unit 502 is specifically configured to: when it is detected that the mobile terminal moves from the first reference area to the second reference area of the first wireless lan, and a third distance between the mobile terminal and a signal source of the first wireless lan is smaller than the second distance, the network access of the mobile terminal is switched to a mobile communication network through the communication unit 503.
In a possible example, in terms of the switching the network access of the mobile terminal when it is detected that the mobile terminal satisfies the network access switching condition, the processing unit 502 is specifically configured to: when it is detected that a plurality of groups of second signal strengths of a second wireless local area network acquired by the mobile terminal are in a decreasing trend and the plurality of groups of second signal strengths include at least one second signal strength of which the signal strength is smaller than a second preset threshold, switching the network access of the mobile terminal to the second wireless local area network through the communication unit 503; or, the network access of the mobile terminal is switched to the mobile communication network through the communication unit 503 when it is detected that multiple sets of third signal strengths of the second wireless local area network acquired by the mobile terminal are in an increasing trend and the multiple sets of third signal strengths include at least one third signal strength of which the signal strength is greater than a third preset threshold.
In one possible example, before the processing unit 502 detects whether the mobile terminal satisfies the network access handover condition, it is further configured to: detecting a fourth signal strength of a third wireless local area network when detecting that the third wireless local area network is accessed; and the controller is used for acquiring a third position when the fourth signal intensity is detected to be smaller than a fourth preset threshold value; and the fourth position is obtained when the fourth signal strength is detected to be greater than a fifth preset threshold value; and the third reference area is used for determining a third reference area of the third wireless local area network by taking the third position as a center of a circle and taking the distance between the third position and the fourth position as a radius, and the third reference area is an effective coverage area of the third wireless local area network relative to the mobile terminal.
In this possible example, in terms of switching the network access of the mobile terminal when it is detected that the mobile terminal satisfies the network access switching condition, the processing unit 502 is specifically configured to: when detecting that the mobile terminal is transferred from a fourth reference area of the third wireless local area network to the third reference area, switching the network access of the mobile terminal to the third wireless local area network through the communication unit 503, where the fourth reference area is an area other than the third reference area; or, when it is detected that the mobile terminal is transferred from the third reference area to the fourth reference area of the third wireless local area network, switching the network access of the mobile terminal to a mobile communication network through the communication unit 503.
It can be understood that the functions of each program module of the mobile terminal 500 in this embodiment may be specifically implemented according to the method in the method embodiment, and the specific implementation process may refer to the related description of the method embodiment, which is not described herein again.
Referring to fig. 6, in accordance with the embodiments shown in fig. 1 to fig. 4, fig. 6 is a mobile terminal according to an embodiment of the present invention, including: a processor, memory, a communication interface, and one or more programs; wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including instructions for performing the following steps;
detecting whether the mobile terminal meets a network access switching condition;
and when detecting that the mobile terminal meets the network access switching condition, switching the network access of the mobile terminal, and forbidding a network access switching function in a preset time period.
It can be seen that, in the embodiment of the present invention, the mobile terminal first detects whether the mobile terminal meets the network access switching condition, then, when it is detected that the mobile terminal meets the network access switching condition, the network access of the mobile terminal is switched, and the network access switching function is disabled within a preset time period. Therefore, when the mobile terminal detects that the network access switching condition is met, the network access of the mobile terminal is switched, the switching condition is a strict condition for enabling the mobile terminal to have stable data connection, the switching network is favorable for improving the stability of the network access of the mobile terminal when the network access condition is met, the network access switching function is forbidden after the switching, and the frequent network access switching of the mobile terminal under the condition that the signal intensity of a wireless local area network is unstable is favorably avoided.
In one possible example, the program further comprises instructions for performing the steps of: before the mobile terminal is detected to meet the network access switching condition, when the mobile terminal is detected to be accessed to a first wireless local area network, detecting the first signal intensity of the first wireless local area network; the first position is obtained when the first signal strength is detected to be smaller than a first preset threshold value; and for acquiring a second location when detecting an interruption of access to the first wireless local area network; and the first reference area is used for determining a first reference area of the first wireless local area network by taking the first position as a circle center and a distance between the first position and the second position as a radius, and the first reference area is an effective coverage area of the first wireless local area network relative to the mobile terminal.
In this possible example, in the aspect of switching the network access of the mobile terminal when it is detected that the mobile terminal satisfies the network access switching condition, the instructions in the program are specifically configured to perform the following steps: when the mobile terminal is detected to be transferred from a second reference area of the first wireless local area network to the first reference area, and a first distance between the mobile terminal and a signal source of the first wireless local area network is smaller than a second distance, switching network access of the mobile terminal to the first wireless local area network, wherein the second reference area is an area except the first reference area, and the second distance is a radius of the first reference area.
In this possible example, in the aspect of switching the network access of the mobile terminal when it is detected that the mobile terminal satisfies the network access switching condition, the instructions in the program are specifically configured to perform the following steps: and when the mobile terminal is detected to move from the first reference area of the first wireless local area network to the second reference area and the third distance between the mobile terminal and the signal source of the first wireless local area network is smaller than the second distance, switching the network access of the mobile terminal into a mobile communication network.
In one possible example, in the aspect of switching the network access of the mobile terminal when it is detected that the mobile terminal satisfies the network access switching condition, the instructions in the program are specifically configured to perform the following steps: when detecting that a plurality of groups of second signal strengths of a second wireless local area network acquired by the mobile terminal are in a decreasing trend and the plurality of groups of second signal strengths comprise at least one second signal strength of which the signal strength is smaller than a second preset threshold value, switching the network access of the mobile terminal to the second wireless local area network; or, the network access of the mobile terminal is switched to the mobile communication network when it is detected that multiple groups of third signal strengths of the second wireless local area network acquired by the mobile terminal are in an increasing trend and the multiple groups of third signal strengths include at least one third signal strength of which the signal strength is greater than a third preset threshold value.
In one possible example, the program further comprises instructions for performing the steps of: before the mobile terminal is detected to meet the network access switching condition, when the mobile terminal is detected to be accessed to a third wireless local area network, detecting the fourth signal intensity of the third wireless local area network; and the controller is used for acquiring a third position when the fourth signal intensity is detected to be smaller than a fourth preset threshold value; and the fourth position is obtained when the fourth signal strength is detected to be greater than a fifth preset threshold value; and the third reference area is used for determining a third reference area of the third wireless local area network by taking the third position as a center of a circle and taking the distance between the third position and the fourth position as a radius, and the third reference area is an effective coverage area of the third wireless local area network relative to the mobile terminal.
In this possible example, in the aspect of switching the network access of the mobile terminal when it is detected that the mobile terminal satisfies the network access switching condition, the instructions in the program are specifically configured to perform the following steps: when detecting that the mobile terminal is transferred from a fourth reference area of the third wireless local area network to the third reference area, switching the network access of the mobile terminal to the third wireless local area network, wherein the fourth reference area is an area except the third reference area; or, the network access of the mobile terminal is switched to a mobile communication network when the mobile terminal is detected to be transferred from the third reference area to the fourth reference area of the third wireless local area network.
As shown in fig. 7, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part in the embodiment of the present invention. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 7 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 7, the handset includes: a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wireless Fidelity (WiFi) module 970, a processor 980, and a power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 7:
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone (such as a first preset threshold or a second preset threshold, etc.), and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 930 may be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the cellular phone. In particular, the input unit 930 may include a fingerprint sensor 931 and other input devices 932. And a fingerprint sensor 931 which may collect fingerprint data of the user thereon. The input unit 930 may include other input devices 932 in addition to the fingerprint sensor 931. In particular, other input devices 932 may include, but are not limited to, one or more of a touch screen, physical keys, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display screen 941, and optionally, the display screen 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Although in fig. 7, the fingerprint sensor 931 and the display screen 941 are shown as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the fingerprint sensor 931 and the display screen 941 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 950, such as a proximity sensor, a light sensor, a motion sensor, and other sensors. Specifically, the proximity sensor may turn off the display screen 941 and/or the backlight when an object approaches, and the light sensor may include an ambient light sensor and a proximity sensor, where the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of ambient light. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and then processes the audio data by the audio data playing processor 980, and then sends the audio data to, for example, another mobile phone through the RF circuit 910, or plays the audio data to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 7 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor may not be integrated into the processor 980.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiments shown in fig. 1 to fig. 4, the method flows of the steps may be implemented based on the structure of the mobile phone.
In the embodiment shown in fig. 5, the functions of the units can be implemented based on the structure of the mobile phone.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the network access handover methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present invention also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform part or all of the steps of any one of the network access handover methods described in the above method embodiments, and the computer includes a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method for network access handover, comprising:
detecting whether the mobile terminal meets a network access switching condition;
and when detecting that the mobile terminal meets the network access switching condition, switching the network access of the mobile terminal, and forbidding a network access switching function in a preset time period.
2. The method of claim 1, wherein before the detecting whether the mobile terminal satisfies the network access handover condition, the method further comprises:
when detecting that a first wireless local area network is accessed, detecting first signal strength of the first wireless local area network;
when the first signal intensity is detected to be smaller than a first preset threshold value, acquiring a first position;
when the interruption of the access to the first wireless local area network is detected, acquiring a second position;
and determining a first reference area of the first wireless local area network by taking the first position as a circle center and the distance between the first position and the second position as a radius, wherein the first reference area is an effective coverage area of the first wireless local area network relative to the mobile terminal.
3. The method of claim 2, wherein the switching the network access of the mobile terminal when detecting that the mobile terminal satisfies the network access switching condition comprises:
when the mobile terminal is detected to be transferred from a second reference area of the first wireless local area network to the first reference area, and a first distance between the mobile terminal and a signal source of the first wireless local area network is smaller than a second distance, switching network access of the mobile terminal to the first wireless local area network, wherein the second reference area is an area except the first reference area, and the second distance is a radius of the first reference area.
4. The method according to claim 2 or 3, wherein the switching the network access of the mobile terminal when detecting that the mobile terminal satisfies the network access switching condition comprises:
and when the mobile terminal is detected to move from the first reference area of the first wireless local area network to the second reference area and the third distance between the mobile terminal and the signal source of the first wireless local area network is smaller than the second distance, switching the network access of the mobile terminal into a mobile communication network.
5. The method of claim 1, wherein the switching the network access of the mobile terminal when detecting that the mobile terminal satisfies the network access switching condition comprises:
when detecting that a plurality of groups of second signal strengths of a second wireless local area network acquired by the mobile terminal are in a decreasing trend and the plurality of groups of second signal strengths comprise at least one second signal strength of which the signal strength is smaller than a second preset threshold value, switching the network access of the mobile terminal to the second wireless local area network;
or,
and when detecting that the multiple groups of third signal strengths of the second wireless local area network acquired by the mobile terminal are in an increasing trend and the multiple groups of third signal strengths comprise at least one third signal strength of which the signal strength is greater than a third preset threshold value, switching the network access of the mobile terminal into a mobile communication network.
6. The method of claim 1, wherein before the detecting whether the mobile terminal satisfies the network access handover condition, the method further comprises:
detecting a fourth signal strength of a third wireless local area network when detecting that the third wireless local area network is accessed;
when the fourth signal intensity is detected to be smaller than a fourth preset threshold value, acquiring a third position;
when detecting that the fourth signal intensity is greater than a fifth preset threshold value, acquiring a fourth position;
and determining a third reference area of the third wireless local area network by taking the third position as a center of a circle and the distance between the third position and the fourth position as a radius, wherein the third reference area is an effective coverage area of the third wireless local area network relative to the mobile terminal.
7. The method of claim 6, wherein the switching the network access of the mobile terminal when detecting that the mobile terminal satisfies the network access switching condition comprises:
when detecting that the mobile terminal is transferred from a fourth reference area of the third wireless local area network to the third reference area, switching the network access of the mobile terminal to the third wireless local area network, wherein the fourth reference area is an area except the third reference area;
or,
and when the mobile terminal is detected to be transferred from the third reference area of the third wireless local area network to the fourth reference area, switching the network access of the mobile terminal to a mobile communication network.
8. A mobile terminal, characterized in that the mobile terminal comprises a processing unit and a communication unit,
the processing unit is used for detecting whether the mobile terminal meets the network access switching condition; and the network access switching unit is used for switching the network access of the mobile terminal through the communication unit when the mobile terminal is detected to meet the network access switching condition, and forbidding the network access switching function in a preset time period.
9. A mobile terminal, comprising: a processor, memory, and one or more programs; the one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method as described in any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of claims 1-7, the computer comprising a mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710877727.1A CN107454640A (en) | 2017-09-23 | 2017-09-23 | Network insertion switching method and Related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710877727.1A CN107454640A (en) | 2017-09-23 | 2017-09-23 | Network insertion switching method and Related product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107454640A true CN107454640A (en) | 2017-12-08 |
Family
ID=60497402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710877727.1A Pending CN107454640A (en) | 2017-09-23 | 2017-09-23 | Network insertion switching method and Related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107454640A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108184255A (en) * | 2018-01-16 | 2018-06-19 | 广东欧珀移动通信有限公司 | Switching method, device, storage medium and the terminal of network type |
CN112732215A (en) * | 2019-10-14 | 2021-04-30 | 瑞昱半导体股份有限公司 | Network data playing system and method |
CN113099436A (en) * | 2020-01-09 | 2021-07-09 | 深圳信可通讯技术有限公司 | Network processing method, device and computer readable medium |
CN115002849A (en) * | 2021-12-14 | 2022-09-02 | 荣耀终端有限公司 | Network switching method and terminal |
CN115696483A (en) * | 2021-07-30 | 2023-02-03 | 荣耀终端有限公司 | Network link switching method based on electronic equipment state and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102948220A (en) * | 2010-06-22 | 2013-02-27 | 瑞典爱立信有限公司 | Pre-emptive access network switching |
CN102958048A (en) * | 2011-08-26 | 2013-03-06 | 中国移动通信集团山东有限公司 | Method for optimal selection between WiFi (wireless fidelity) network and TD-SCDMA (time division-synchronous code division multiple access) network |
CN105873145A (en) * | 2016-05-31 | 2016-08-17 | 努比亚技术有限公司 | Method and device for achieving network type switching |
US9723520B1 (en) * | 2005-12-20 | 2017-08-01 | Microsoft Technology Licensing, Llc | Location based mode switching for dual mode mobile terminals |
CN107197489A (en) * | 2017-08-02 | 2017-09-22 | 广东欧珀移动通信有限公司 | Method for switching network, mobile terminal and computer-readable recording medium |
-
2017
- 2017-09-23 CN CN201710877727.1A patent/CN107454640A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9723520B1 (en) * | 2005-12-20 | 2017-08-01 | Microsoft Technology Licensing, Llc | Location based mode switching for dual mode mobile terminals |
CN102948220A (en) * | 2010-06-22 | 2013-02-27 | 瑞典爱立信有限公司 | Pre-emptive access network switching |
CN102958048A (en) * | 2011-08-26 | 2013-03-06 | 中国移动通信集团山东有限公司 | Method for optimal selection between WiFi (wireless fidelity) network and TD-SCDMA (time division-synchronous code division multiple access) network |
CN105873145A (en) * | 2016-05-31 | 2016-08-17 | 努比亚技术有限公司 | Method and device for achieving network type switching |
CN107197489A (en) * | 2017-08-02 | 2017-09-22 | 广东欧珀移动通信有限公司 | Method for switching network, mobile terminal and computer-readable recording medium |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108184255A (en) * | 2018-01-16 | 2018-06-19 | 广东欧珀移动通信有限公司 | Switching method, device, storage medium and the terminal of network type |
CN112732215A (en) * | 2019-10-14 | 2021-04-30 | 瑞昱半导体股份有限公司 | Network data playing system and method |
CN113099436A (en) * | 2020-01-09 | 2021-07-09 | 深圳信可通讯技术有限公司 | Network processing method, device and computer readable medium |
CN113099436B (en) * | 2020-01-09 | 2022-03-29 | 深圳信可通讯技术有限公司 | Network processing method, device and computer readable medium |
CN115696483A (en) * | 2021-07-30 | 2023-02-03 | 荣耀终端有限公司 | Network link switching method based on electronic equipment state and electronic equipment |
CN115696483B (en) * | 2021-07-30 | 2023-10-31 | 荣耀终端有限公司 | Network link switching method based on electronic equipment state and electronic equipment |
CN115002849A (en) * | 2021-12-14 | 2022-09-02 | 荣耀终端有限公司 | Network switching method and terminal |
CN115002849B (en) * | 2021-12-14 | 2023-02-24 | 荣耀终端有限公司 | Network switching method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106714250B (en) | Cell registration method and device and computer readable storage medium | |
CN107454640A (en) | Network insertion switching method and Related product | |
CN107770729B (en) | Signal intensity prompting method and related product | |
CN106851755B (en) | Cell registration method and device | |
US11224027B2 (en) | Cell registration method and device | |
CN111258407B (en) | Application function control method and related product | |
CN107071147B (en) | Parameter adjusting method and device | |
CN108966296B (en) | Signal prompting method, mobile terminal and computer readable storage medium | |
CN106845422B (en) | Fingerprint identification module, fingerprint identification method and mobile terminal | |
CN108429863B (en) | Method for switching antenna, mobile terminal and computer readable storage medium | |
CN108112028B (en) | Network searching method and equipment for international roaming | |
CN110933704B (en) | Network communication method, device, storage medium and electronic equipment | |
CN111050373A (en) | Cell reselection method, cell reselection device, electronic equipment and computer-readable storage medium | |
CN106961710B (en) | Network access method and terminal | |
CN106793010B (en) | Network access method and equipment | |
CN111698719A (en) | Measurement reporting control method and related product | |
CN107708071B (en) | Transmission power control method and related product | |
CN106604361B (en) | WiFi scanning method and mobile terminal | |
CN107889164B (en) | Wireless local area network distribution processing method and related product | |
CN107613537B (en) | Frequency control method for signal quality detection and related product | |
CN107220344B (en) | Document processing method and related product | |
CN106454799B (en) | Information processing method and device | |
CN112788703B (en) | Cell residence control method, terminal and storage medium | |
CN106802828A (en) | A kind of application data processing method and equipment | |
CN107580358B (en) | Network access method and related product |
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: 20171208 |