CN109548103B - Method and apparatus for switching networks - Google Patents

Method and apparatus for switching networks Download PDF

Info

Publication number
CN109548103B
CN109548103B CN201811554044.3A CN201811554044A CN109548103B CN 109548103 B CN109548103 B CN 109548103B CN 201811554044 A CN201811554044 A CN 201811554044A CN 109548103 B CN109548103 B CN 109548103B
Authority
CN
China
Prior art keywords
network
quality score
mobile device
target mobile
currently used
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811554044.3A
Other languages
Chinese (zh)
Other versions
CN109548103A (en
Inventor
吴培希
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shangxiang Network Technology Co ltd
Original Assignee
Shanghai Shangxiang Network Technology 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 Shanghai Shangxiang Network Technology Co ltd filed Critical Shanghai Shangxiang Network Technology Co ltd
Priority to CN201811554044.3A priority Critical patent/CN109548103B/en
Publication of CN109548103A publication Critical patent/CN109548103A/en
Application granted granted Critical
Publication of CN109548103B publication Critical patent/CN109548103B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application discloses a method and a device for switching networks. One embodiment of the method comprises: determining a quality score of a network currently used by the target mobile equipment, wherein the quality score is used for representing the quality degree of the network currently used by the target mobile equipment; in response to determining that the quality score is less than a preset quality score threshold and in response to determining that the target mobile device currently has a switchable network, switching the network currently used by the target mobile device to a switchable network, wherein the quality score of the switchable network is greater than the quality score threshold. According to the embodiment, the quality of the network currently used by the mobile equipment is analyzed by the server, so that when the quality of the network currently used by the mobile equipment is poor and a switchable network with better quality is available, the network currently used by the mobile equipment is switched, and the mobile equipment can continuously access the network with better quality.

Description

Method and apparatus for switching networks
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for switching networks.
Background
With the rapid development of mobile terminal technology, more and more terminal applications emerge. The functions provided by the terminal applications are more and more abundant, and convenience is provided for the life of users. Consequently, users are using mobile devices for longer and longer periods of time.
The operation of most of the functions provided by a mobile device must be premised on the mobile device having access to available networks (both data networks and wireless networks). Different environments, and different mobile devices, etc. may have different accessible networks and signal strengths of accessible networks, etc.
The quality of the network accessed by the mobile device is good and bad, which directly affects the user experience. Almost all mobile devices today support both data and wireless networks. Therefore, when the quality of the currently used network is poor, handover to another unused network may be considered.
At present, a common way of switching networks is to scan the signal strength of each network connectable nearby by a mobile device, and then to select whether to turn off the currently used network and turn on another network to be switched.
Disclosure of Invention
The embodiment of the application provides a method and a device for switching networks.
In a first aspect, an embodiment of the present application provides a method for switching a network, where the method includes: determining a quality score of a network currently used by the target mobile equipment, wherein the quality score is used for representing the quality degree of the network currently used by the target mobile equipment; in response to determining that the quality score is less than a preset quality score threshold and in response to determining that the target mobile device currently has a switchable network, switching the network currently used by the target mobile device to a switchable network, wherein the quality score of the switchable network is greater than the quality score threshold.
In a second aspect, an embodiment of the present application provides an apparatus for switching a network, where the apparatus includes: the determining device is configured to determine a quality score of a network currently used by the target mobile device, wherein the quality score is used for representing the quality degree of the network currently used by the target mobile device; a switching device configured to switch a network currently used by the target mobile device to a switchable network in response to determining that the quality score is less than a preset quality score threshold and in response to determining that the target mobile device currently has a switchable network, wherein the quality score of the switchable network is greater than the quality score threshold.
In a third aspect, an embodiment of the present application provides a server, where the server includes: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which, when executed by a processor, implements the method as described in any implementation manner of the first aspect.
According to the method and the device for switching the network, the quality score of the network currently used by the target mobile equipment is determined, wherein the quality score is used for expressing the quality degree of the network currently used by the target mobile equipment; and in response to the fact that the quality score is smaller than a preset quality score threshold value and in response to the fact that the target mobile device currently has a switchable network, switching the network currently used by the target mobile device into the switchable network, wherein the quality score of the switchable network is larger than the quality score threshold value, so that the quality of the network currently used by the mobile device is analyzed by a service end, and when the network currently used by the mobile device is poor in quality and has the switchable network with better quality, the network currently used by the mobile device is switched, so that the mobile device can be continuously accessed into the network with better quality. Compared with the existing network to be switched selected by the user, the method has the advantages that the signal intensity of each connectable network is obtained by scanning the mobile equipment, the situation that the signal intensity of the network which is not started can not be scanned due to the fact that the user does not start the data network and the wireless network is effectively avoided, and the switching efficiency of the mobile equipment for executing network switching is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for switching networks, according to the present application;
FIG. 3 is a flow diagram of yet another embodiment of a method for switching networks according to the present application;
FIG. 4 is a schematic diagram of an application scenario of a method for switching networks according to an embodiment of the present application;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for switching networks in accordance with the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary architecture 100 to which embodiments of the method for switching networks or the apparatus for switching networks of the present application may be applied.
As shown in fig. 1, system architecture 100 may include mobile devices 101, 102, 103, network 104, and server 105. Network 104 is the medium used to provide communication links between mobile devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The mobile devices 101, 102, 103 interact with a server 105 over a network 104 to receive or send messages and the like. The mobile devices 101, 102, 103 may have a client application installed thereon. Such as applications for network detection, network management, network control, etc.
The mobile devices 101, 102, 103 may be hardware or software. When the mobile devices 101, 102, 103 are hardware, they may be various electronic devices that support access to the internet, including but not limited to smartphones, tablets, e-book readers, laptop portable computers, desktop computers, and the like. When the mobile devices 101, 102, 103 are software, they may be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a backend server providing support for applications installed on the mobile devices 101, 102, 103 for network detection, network management, network control, and so on. The back-end server may determine a quality score of a network currently used by the mobile device, and switch the network currently used by the mobile device to a switchable network when the quality score of the network currently used by the mobile device is low and the switchable network has high quality.
It should be noted that the method for switching networks provided in the embodiment of the present application is generally performed by the server 105, and accordingly, the apparatus for switching networks is generally disposed in the server 105.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of mobile devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of mobile devices, networks, and servers, as desired for an implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for switching networks in accordance with the present application is shown. The method for switching networks comprises the following steps:
step 201, determining the quality score of the network currently used by the target mobile device.
In this embodiment, the executing entity (such as the server 105 shown in fig. 1) of the method for switching networks may determine the quality of the network currently used by the target mobile device. The target mobile device may be a mobile device in communication connection with the execution main body. The target mobile device may also be pre-specified by a technician.
Wherein the quality score can be used to indicate how good or bad the quality of the network currently used by the target mobile device is. A higher quality score may indicate a better quality of the corresponding network. It should be understood that the form of the quality score can be various and flexibly set.
As an example, the quality score may be a specific numerical value. For example, the quality score may be set to range from 0 to 100 (including 0 and 100). A quality score of 0 indicates the worst quality of the network and a quality score of 100 indicates the best quality of the network.
As an example, the quality score may also be a preset rating. For example, a quality score of A, B, C, D, E may be set to five levels. The quality of the corresponding network gets better and better in the order of the grades a to E.
In some optional implementations of this embodiment, the quality score of the network currently used by the target mobile device may be determined by:
step one, network attribute information of a network currently used by a target mobile device is obtained.
In this step, the network attribute information may be used to represent an attribute value of a target attribute of a network currently used by the target mobile device. Wherein the target attribute may be an attribute of the network that is specified in advance by a technician. The target attribute may also be an attribute of a network currently used by the target mobile device, which can be acquired by the execution subject.
In some optional implementations of this embodiment, the target attribute may include at least one of: network type, network operator, network performance, and remaining traffic of the network package. The network types may include data networks and wireless networks, among others. The network performance may include at least one of: network bandwidth, bandwidth delay product, network speed, network delay. Wherein the network speed may include at least one of: maximum network speed, minimum network speed, average network speed.
The network operator may include mobile, connected, telecommunication, etc., among others. The network formats may include 4G (the 4th Generation Mobile communication technology, fourth Generation Mobile communication technology), 3G (the 3th Generation Mobile communication technology, third Generation Mobile communication technology), GSM (Global System for Mobile communication), CDMA (Code Division Multiple Access), and the like.
It should be understood that the target properties of the network actually needed to be known may be different in different application scenarios or different service requirements. Any of the above network attributes may be used, or a combination of multiple network attributes may be used.
Alternatively, the application installed in the target mobile device and supported by the execution main body may obtain the network attribute information of the network currently used by the target mobile device, and send the network attribute information to the execution main body.
Alternatively, some network monitoring applications installed in the target mobile device may detect and display network attribute information of the network currently used by the target mobile device to the user. The network property information detected by the network detection application may then be uploaded to the execution agent by the user via the mobile device used.
And step two, determining the quality score of the network currently used by the target mobile equipment according to the network attribute information.
In this step, a preset quality score corresponding to the acquired network attribute information may be acquired. And then determining the obtained quality score as the quality score of the network currently used by the target mobile equipment.
Specifically, a correspondence table of the network attribute information and the quality score may be set in advance. In this correspondence table, the value range of the attribute value of each target attribute represented by the network attribute information corresponding to the networks with different quality scores can be represented. At this time, the quality score corresponding to the value range in which the attribute value of each target attribute represented by the network attribute information of the network currently used by the target mobile device is located may be searched in the correspondence table.
Optionally, the quality score of the network currently used by the target mobile device may be determined by using some existing open-source network quality analysis methods or a third-party network quality analysis platform by using the acquired network attribute information.
Optionally, a corresponding weight may be preset for each target attribute indicated by the network attribute information, and a weighted sum of attribute values of each target attribute may be used as the quality score. At this time, after obtaining the network attribute information of the network currently used by the target mobile device, a weighted sum of the attribute values of the respective target attributes indicated by the obtained network attribute information may be calculated as a quality score of the network currently used by the target mobile device.
The weight of each target attribute may be set by a technician according to historical experience, or may be determined by statistical analysis of historical data, or the like.
As an example, the weight of each target attribute may be determined by:
step one, a data set to be analyzed is obtained. The data to be analyzed in the data set to be analyzed comprises an attribute value of a target attribute of the network indicated by the network attribute information and a quality score of the network. The data to be analyzed can be constructed and labeled by technicians, and can also be obtained from other third-party data sources.
And step two, determining a curve equation between the target attribute indicated by the network attribute information and the quality score of the network by using a curve fitting method according to the data set to be analyzed.
And step three, determining the coefficient corresponding to each target attribute in the obtained curve equation as the weight corresponding to each target attribute. Specifically, an example is illustrated: it is assumed that the target attribute indicated by the network attribute information includes a network speed and a network bandwidth. Where the network speed is denoted by "S" and the network bandwidth by "W". The quality score is denoted by "Q". The curve equation between the network speed and the network bandwidth and the quality score obtained by using the curve fitting method is as follows: q ═ AS + BW. Then "a" may be determined as a weight of the network speed and "B" as a weight of the network bandwidth.
In some optional implementations of this embodiment, the quality score of the network currently used by the target mobile device may also be determined by:
step one, acquiring current position information of target mobile equipment.
In this step, the location information may be used to indicate the current location of the target mobile device. Specifically, the current location information of the target mobile device may be acquired based on a Positioning technology such as a GPS (Global Positioning System).
The representation mode of the position information can be flexibly set. For example, the location information may include at least one of: geographical location information, network location information. Wherein the geographical location information may include at least one of: latitude and longitude information and altitude information. The network location information may include at least one of: hotspot information and base station information. Wherein the hotspot information may be used to represent connectable hotspots around the current location of the target mobile device. The base station information is used to indicate surrounding base stations of the current location of the target mobile device.
And step two, searching a corresponding relation table of the preset position information and the quality scores of the networks at the position indicated by the position information, and determining the quality score of the network currently used by the target mobile equipment.
In this step, it is possible to count the networks that have appeared at the positions indicated by the position information and the historical average quality scores of the networks, thereby establishing a correspondence table of the position information and the quality scores of the networks at the positions indicated by the position information.
As an example, at location "a" there is a data network 1 and a data network 2, and a wireless network 3 and a wireless network 4. A correspondence table may be established for storing the quality scores of each of the data network 1, the data network 2, the wireless network 3, and the wireless network 4 at the position "a".
In some optional implementation manners of this embodiment, an application installed on the target mobile device and supported by the execution main body may also analyze a quality score of a network currently used by the target mobile device, and then send the quality score to the execution main body.
Step 202, in response to determining that the quality score is smaller than a preset quality score threshold and in response to determining that the target mobile device currently has a switchable network, switching the network currently used by the target mobile device to the switchable network.
In this embodiment, the quality score threshold may be preset by a technician. It should be appreciated that the quality score of the switchable network should be at least greater than the quality score threshold. When the quality score of the switchable network is less than the quality score threshold, then there is no need to switch networks.
Alternatively, the unused network to which the target mobile device is currently connectable may be obtained first. A quality score for the unused network to which the target mobile device is currently connected may then be determined. And then, selecting the unused network with the quality score larger than the quality score threshold value as the switchable network. It should be understood that when the quality score of more than one unused network is greater than the quality score threshold, the network with the largest quality score may be selected as the switchable network, the wireless network may be preferentially selected as the switchable network, or one of the networks may be randomly selected as the switchable network.
For the method for determining the quality score of the unused network, reference may be made to the method for determining the quality score of the network currently used by the target mobile terminal device in step 201.
In the method provided by the above embodiment of the present application, when the quality of the network currently used by the target mobile device is poor, and the target mobile device has other networks with better quality, the network currently used by the target mobile device is switched to the other networks with better quality. Since the whole process is analyzed and network switching is executed by the server, the method is helpful for reducing the operation burden of the user, and the process that the mobile device inquires the signal intensity of each other network which is currently connected, and then the user manually closes the currently used network and opens other connectable networks is omitted, thereby improving the efficiency of network switching.
With further reference to fig. 3, a flow 300 of yet another embodiment of a method for switching networks is shown. The process 300 of the method for switching networks includes the following steps:
in step 301, a quality score of a network currently used by a target mobile device is determined.
The specific execution process of step 301 may refer to the related description of step 201 in the corresponding embodiment of fig. 2, and is not repeated herein.
Step 302, in response to determining that the quality score is smaller than a preset quality score threshold, acquiring location information of a target mobile device; and determining the switchable network currently possessed by the target mobile equipment according to the position information.
In this step, the location information may be used to indicate the current location of the target mobile device.
Optionally, the location information may comprise at least one of: latitude and longitude information and altitude information.
In some optional implementations of this embodiment, the determination of the switchable network currently possessed by the target mobile device may be made by:
step one, network identification of an unused network which can be connected at the current position of the target mobile equipment is obtained as target network identification.
Wherein the network identification may be used to identify the network. The form of the network identifier can be flexibly set according to a specific application scenario or service requirement. For example, the network identification may be a name displayed by the network on the client. Also for example, the network identification may be an IP (Internet Protocol) address of the network. Also for example, the network identification may be the network attribute information mentioned above.
Alternatively, the network identifier of an unused network connectable to the target mobile device at the current location may be acquired by an application installed on the target mobile device and supported by the execution principal and transmitted to the execution principal.
And step two, acquiring a preset network identification set corresponding to the position information. Wherein the quality score of the network indicated by the network identifier in the network identifier set at the position indicated by the position information is greater than the quality score threshold value.
It should be appreciated that the quality score is an indication of how good or bad the network quality is. Only networks with quality scores greater than a quality score threshold may be considered switchable networks. Otherwise, the network currently used by the mobile device is switched to another network with the same quality and poor quality, so that poor use experience is easily brought to the user.
In some optional implementation manners of this embodiment, the network identifier set corresponding to the location information may be determined by: network identifications and quality scores of networks used by at least one historical user at the location indicated by the location information are obtained. And determining a network identification set according to the acquired network identification and quality score of the network used by at least one historical user.
Specifically, the execution subject may receive and store a network identifier of a network transmitted by a client application installed on each mobile device to which the execution subject is communicatively connected. The quality scores for the various networks may be determined and stored in various manners as previously described. And then selecting the network identifiers with the corresponding quality scores larger than the quality score threshold value to form a network identifier set.
And step three, in response to the fact that the target network identification belongs to the network identification set, determining the network indicated by the target network identification as the switchable network currently owned by the target mobile equipment.
In some optional implementation manners of this embodiment, conditions (for example, value ranges of attribute values of each target attribute indicated by the network attribute information, and the like) that need to be satisfied by the network attribute information of the network whose quality score is greater than the quality score threshold at the position indicated by the position information and the position information may be set in advance. At this time, the network attribute information of each network that is not currently used by the target mobile device may be obtained first, and then it may be determined whether the network attribute information meets a preset condition. And then selecting the unused network with the corresponding network attribute information meeting the conditions as a switchable network.
Whether to switch networks is further illustrated below with examples of some scenarios:
example one, if the network to which the mobile device is currently connected is hotspot 1, and the current location is at location "L1". At location "L1", the quality score for the mobile 4G network is greater than the quality score threshold, and the quality score for the connected 4G network and hotspot 1 is less than the quality score threshold. Then, if the user corresponding to the mobile device is a user of mobile 4G, that is, the mobile device may access the mobile 4G network, the mobile device may be handed over from the hotspot 1 to the 4G network. If the user corresponding to the mobile device is a user of the unicom 4G, that is, the mobile device can access the user of the unicom 4G but cannot access the mobile 4G network, the mobile device may still continue to connect to the hotspot 1 without performing network switching.
Example two, if the network to which the mobile device is currently connected is hotspot 2, and the current location is at location "L2". At location "L2," the quality score for the mobile 4G network is greater than the quality score threshold, while the quality score for the mobile 3G network is less than the quality score threshold. Then, if the user corresponding to the mobile device is a user of mobile 4G, that is, the mobile device may access the mobile 4G network, the mobile device may be handed over from the hotspot 2 to the 4G network. If the user corresponding to the mobile device is a mobile 3G user, that is, the mobile device may access the mobile 3G network but cannot access the mobile 4G network, the mobile device may still continue to connect to the hotspot 2 without performing network handover.
In the third example, if the user corresponding to the mobile device is a dual-card dual-standby user, that is, the user is both a unicom 3G user and a mobile 4G user. The mobile device is currently accessing a connected 3G network and the current location is at location "L3". At location "L3," the quality score of the mobile 4G network is greater than the quality score threshold, while the quality score of the unicom 3G network is less than the quality score threshold. Then the mobile device may be handed over from the unicom 3G network to the mobile 4G network at this point.
Example four, if the network that the mobile device is currently accessing is hotspot 3, and the current location is at location "L4". At location "L4", the quality score of the mobile 4G network is greater than the score threshold. If the remaining flow of the package of mobile 4G caused by the user corresponding to the mobile device is greater than the preset flow threshold, the mobile device may be switched from the hotspot 3 to the mobile 4G network. If the remaining flow of the mobile 4G package caused by the user corresponding to the mobile device is smaller than the preset flow threshold, the mobile device may continue to access the hotspot 3.
It can also be seen from the above example that in an actual application scenario, since there are many attributes of the network that can be considered, it is possible to flexibly set which attributes can be specifically considered and determined according to actual product requirements.
Step 303, switching the network currently used by the target mobile device to a switchable network.
With continued reference to fig. 4, fig. 4 is a schematic diagram 400 of an application scenario of the method for switching networks according to the present embodiment. In the application scenario of fig. 4, a mobile device 401 used by a user has "application a" 402 installed thereon. Application a 402 may obtain the wire speed 403 of the network currently used by mobile device 401. As shown in the figure, the network currently used by mobile device 401 is a 4G network.
Then, the executing entity may look up the quality score corresponding to the wire speed 403 in the wire speed and quality score correspondence table 404 as the quality score of the network currently used by the mobile device 401. As shown at reference numeral 405, the network currently used by mobile device 401 has a quality score of 30.
As shown at reference numeral 406, the quality score threshold is 50. Since the quality score of the network currently used by mobile device 401 is less than the quality score threshold. Thus, handover of the network currently used by mobile device 401 may be considered.
At this time, as shown by reference numeral 407 in the figure, the current location information of the mobile device 401 may be acquired as L2 by the "application a" 402. Then, the switchable network at the location information L2, including both the data network 2 and the hotspot 2, can be searched from the location information and switchable network correspondence table 408.
As indicated by reference numeral 409 in the figure, it may be detected by "application a" that the network to which mobile device 401 is currently connected includes hotspot 2. Thus, hotspot 2, which may be identified as the current switched network of mobile device 401 (as indicated by reference numeral 410) may be determined. Then, the executing entity may switch the current 4G network of the mobile device 401 to the network of the hotspot 2.
It should be appreciated that the above is only one example of a simple application scenario. In practice, as described above, there are many attributes of the network that can be considered. Whether the corresponding network can be a switchable network is determined according to various attributes.
As can be seen from fig. 3, compared with the embodiment corresponding to fig. 2, the process 300 of the method for switching networks in this embodiment highlights that it is possible to determine whether the target mobile device currently has a switchable network according to the current location information of the target mobile device and the pre-established correspondence between the location information and the switchable network, and perform network switching on the target mobile device when the target mobile device currently has the switchable network. Therefore, the scheme described in the embodiment can avoid the situation that the target mobile terminal has an available network with better quality, but uses another network with poorer quality because the use is not started. Meanwhile, the method can also avoid the situation that the target mobile terminal is frequently switched when the target mobile terminal has no available network with better quality, thereby being beneficial to improving the network experience of users.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for switching a network, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the apparatus 500 for switching a network provided by the present embodiment includes a determining unit 501 and a switching unit 502. The determining unit 501 is configured to determine a quality score of a network currently used by the target mobile device, where the quality score is used to indicate a quality degree of the network currently used by the target mobile device; a switching unit 502 configured to switch a network currently used by the target mobile device to a switchable network in response to determining that the quality score is less than a preset quality score threshold and in response to determining that the target mobile device currently has a switchable network, wherein the quality score of the switchable network is greater than the quality score threshold.
In the present embodiment, in the apparatus 500 for switching a network: the specific processing of the determining unit 501 and the switching unit 502 and the technical effects thereof can refer to the related descriptions of step 201 and step 202 in the corresponding embodiment of fig. 2, which are not repeated herein.
The apparatus provided by the foregoing embodiment of the present application determines, by the determining unit, a quality score of a network currently used by the target mobile device, where the quality score is used to indicate a quality degree of the network currently used by the target mobile device; the switching unit switches the network currently used by the target mobile equipment into the switchable network in response to the fact that the quality score is smaller than the preset quality score threshold value and in response to the fact that the target mobile equipment currently has the switchable network, wherein the quality score of the switchable network is larger than the quality score threshold value, so that the quality of the network currently used by the mobile equipment is analyzed by the service end, when the quality of the network currently used by the mobile equipment is poor and the switchable network with better quality is provided, the network currently used by the mobile equipment is switched, and therefore the mobile equipment can be continuously accessed into the network with better quality. Compared with the prior art that the user determines the switchable network according to the signal intensity of the scanned network, the method effectively avoids the situation that the signal intensity of the network which is not started can not be scanned due to the fact that the user does not start the data network and the wireless network, and therefore the switching efficiency of the mobile equipment for executing network switching is improved.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing a server according to embodiments of the present application. The server shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a determination unit and a switching unit. Where the names of these elements do not in some cases constitute a limitation on the elements themselves, for example, the determining unit may also be described as a "unit that determines a quality score for the network currently used by the target mobile device, where the quality score is used to indicate how good or bad the quality of the network currently used by the target mobile device".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the server described in the above embodiments; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: determining a quality score of a network currently used by the target mobile equipment, wherein the quality score is used for representing the quality degree of the network currently used by the target mobile equipment; in response to determining that the quality score is less than a preset quality score threshold and in response to determining that the target mobile device currently has a switchable network, switching the network currently used by the target mobile device to a switchable network, wherein the quality score of the switchable network is greater than the quality score threshold.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (8)

1. A method for switching networks is applied to a server and comprises the following steps:
determining a quality score of a network currently used by a target mobile device, wherein the network currently used by the target mobile device comprises a data network or a wireless network, and the quality score is used for representing the quality degree of the network currently used by the target mobile device;
in response to determining that the quality score is less than a preset quality score threshold and in response to determining that the target mobile device currently has a switchable network, wherein the switchable network comprises a data network and/or a wireless network, the quality score of the switchable network is greater than the quality score threshold, switching to the switchable network comprising networks that the target mobile device is connectable at a current location and that at least one historical user uses at the location;
the switchable network is determined by the steps of:
acquiring position information of the target mobile equipment, wherein the position information is used for representing the current position of the target mobile equipment;
determining a switchable network currently possessed by the target mobile equipment according to the position information;
the determining the switchable network currently possessed by the target mobile equipment according to the position information comprises the following steps:
acquiring a network identifier of an unused network connectable to the target mobile device at a current location as a target network identifier;
acquiring a preset network identification set corresponding to the position information, wherein the quality score of a network indicated by a network identification in the network identification set at a position indicated by the position information is greater than the quality score threshold;
in response to determining that the target network identification belongs to the set of network identifications, determining a network indicated by the target network identification as a switchable network currently possessed by the target mobile device.
2. The method of claim 1, wherein the determining a quality score for a network currently used by the target mobile device comprises:
acquiring network attribute information of a network currently used by the target mobile equipment, wherein the network attribute information is used for representing an attribute value of a target attribute of the network currently used by the target mobile equipment;
and determining the quality score of the network currently used by the target mobile equipment according to the network attribute information.
3. The method of claim 2, wherein said determining a quality score for a network currently used by the target mobile device based on the network attribute information comprises:
acquiring a preset quality score corresponding to the network attribute information;
and determining the obtained quality score as the quality score of the network currently used by the target mobile equipment.
4. The method of claim 2, wherein the target attribute comprises at least one of: the network type comprises a data network and a wireless network, and the network performance comprises at least one of the following: network bandwidth, bandwidth delay product, network speed, network delay.
5. The method of claim 1, wherein the location information comprises at least one of: geographical location information, network location information, wherein the geographical location information includes at least one of: latitude and longitude information, altitude information, and network location information including at least one of: the mobile terminal comprises hotspot information and base station information, wherein the hotspot information is used for representing connectable hotspots around the current position of the target mobile device, and the base station information is used for representing base stations around the current position of the target mobile device.
6. The method of claim 1, wherein the preset set of network identifiers corresponding to the location information is determined by:
obtaining a network identification and a quality score of a network used by at least one historical user at a position indicated by the position information;
and determining the network identification set according to the acquired network identification and quality score of the network used by at least one historical user.
7. A server, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
8. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN201811554044.3A 2018-12-19 2018-12-19 Method and apparatus for switching networks Active CN109548103B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811554044.3A CN109548103B (en) 2018-12-19 2018-12-19 Method and apparatus for switching networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811554044.3A CN109548103B (en) 2018-12-19 2018-12-19 Method and apparatus for switching networks

Publications (2)

Publication Number Publication Date
CN109548103A CN109548103A (en) 2019-03-29
CN109548103B true CN109548103B (en) 2022-05-20

Family

ID=65855686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811554044.3A Active CN109548103B (en) 2018-12-19 2018-12-19 Method and apparatus for switching networks

Country Status (1)

Country Link
CN (1) CN109548103B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278071B (en) * 2020-02-27 2022-04-22 中国联合网络通信集团有限公司 Personal hotspot opening method and system
CN111404773B (en) * 2020-03-10 2023-03-17 深信服科技股份有限公司 Network quality monitoring method and device, electronic equipment and storage medium
CN111770437A (en) * 2020-06-09 2020-10-13 Oppo广东移动通信有限公司 Method and device for determining data card, terminal and storage medium
CN113825170A (en) * 2020-11-24 2021-12-21 北京沃东天骏信息技术有限公司 Method and apparatus for determining network channel
CN115243330A (en) * 2021-04-25 2022-10-25 中国联合网络通信集团有限公司 Method, terminal and storage medium for automatically switching WiFi and cellular network
CN113709665A (en) * 2021-08-30 2021-11-26 Oppo广东移动通信有限公司 Network connection method, device, storage medium and electronic equipment
CN113992292A (en) * 2021-10-26 2022-01-28 广州小鹏汽车科技有限公司 Radio station switching method, device, equipment and storage medium
CN114585037B (en) * 2022-04-12 2024-02-27 深圳市锐尔觅移动通信有限公司 Network type switching method and device, terminal equipment and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104704880A (en) * 2012-10-02 2015-06-10 阿尔卡特朗讯 A proactive, location-based trigger for handover and redirection procedures
CN106714251A (en) * 2017-01-24 2017-05-24 维沃移动通信有限公司 Network connection method and mobile terminal
CN107241782A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for network access, mobile terminal and computer-readable recording medium
CN107534884A (en) * 2015-08-12 2018-01-02 谷歌有限责任公司 Quality based on available network switches between networks
CN108668333A (en) * 2018-07-09 2018-10-16 深圳市优克联新技术有限公司 A kind of switching method and system of mobile network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013187813A1 (en) * 2012-06-13 2013-12-19 Telefonaktiebolaget L M Ericsson (Publ) Handover prediction using historical data
US9622124B2 (en) * 2014-07-10 2017-04-11 Viavi Solutions Uk Limited Techniques for improved allocation of network resources using geolocation and handover management
CN105050118A (en) * 2015-07-31 2015-11-11 腾讯科技(深圳)有限公司 Wi-Fi hotspot connecting method and device
CN107241771A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN109040958A (en) * 2018-08-16 2018-12-18 Oppo广东移动通信有限公司 Method for connecting network, device, electronic equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104704880A (en) * 2012-10-02 2015-06-10 阿尔卡特朗讯 A proactive, location-based trigger for handover and redirection procedures
CN107534884A (en) * 2015-08-12 2018-01-02 谷歌有限责任公司 Quality based on available network switches between networks
CN106714251A (en) * 2017-01-24 2017-05-24 维沃移动通信有限公司 Network connection method and mobile terminal
CN107241782A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for network access, mobile terminal and computer-readable recording medium
CN108668333A (en) * 2018-07-09 2018-10-16 深圳市优克联新技术有限公司 A kind of switching method and system of mobile network

Also Published As

Publication number Publication date
CN109548103A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109548103B (en) Method and apparatus for switching networks
US11700540B2 (en) Method and device for monitoring network data
US10652813B2 (en) Slice management system and slice management method
CN109089261B (en) Method, apparatus, computer device and storage medium for wireless roaming triggering
CN108900388B (en) Method, apparatus, and medium for monitoring network quality
CN105517080B (en) A kind of network formats switching method, device and terminal
US11838381B2 (en) Device cross-area access method, electronic device, and non-transitory computer-readable storage medium
CN114302426B (en) Method, device, medium and electronic equipment for controlling service quality in heterogeneous network
CN113014681A (en) Network card binding method and device of multi-network card server, electronic equipment and storage medium
CN107949019B (en) Load balancing method of wireless access point
CN112152879B (en) Network quality determination method, device, electronic equipment and readable storage medium
CN111432453B (en) Communication channel determination method, device and equipment
CN113727399A (en) Target cell determination method and device
US10111120B2 (en) Apparatus and method for diagnosing anomaly in mobile communication network
CN115114141A (en) Method, device and equipment for testing performance of application program and storage medium
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN113079551B (en) Method and device for determining access cell in mobile communication, terminal and non-transitory storage medium
CN113613239B (en) Network mode switching method, network mode switching device, medium, and electronic device
CN105245739A (en) Method and system for assisting telephone customer service
EP3579616A1 (en) Switching method, apparatus and system
CN109819482A (en) A kind of data processing method and device
KR102112627B1 (en) Apparatus and Method for Displaying Indicator According to Interwork Network
CN109688432B (en) Information transmission method, device and system
CN112153679A (en) Network switching method and device
CN112437479B (en) Hotspot connection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210406

Address after: 200131 Zone E, 9th floor, No.1 Lane 666, zhangheng Road, Pudong New Area pilot Free Trade Zone, Shanghai

Applicant after: Shanghai Shangxiang Network Technology Co.,Ltd.

Address before: 312599 Affiliated Building B-2, 3rd Floor, Jiayi Plaza, 127 Renmin East Road, Nanming Street, Xinchang County, Shaoxing City, Zhejiang Province

Applicant before: LIANSHANG (XINCHANG) NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant