WO2020038076A1 - Network switching method and apparatus, terminal and storage medium - Google Patents

Network switching method and apparatus, terminal and storage medium Download PDF

Info

Publication number
WO2020038076A1
WO2020038076A1 PCT/CN2019/090733 CN2019090733W WO2020038076A1 WO 2020038076 A1 WO2020038076 A1 WO 2020038076A1 CN 2019090733 W CN2019090733 W CN 2019090733W WO 2020038076 A1 WO2020038076 A1 WO 2020038076A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
location information
terminal
switching
current location
Prior art date
Application number
PCT/CN2019/090733
Other languages
French (fr)
Chinese (zh)
Inventor
王斌
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020038076A1 publication Critical patent/WO2020038076A1/en

Links

Images

Classifications

    • 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
    • H04W36/322Reselection being triggered by specific parameters by location or mobility data, e.g. speed data by location data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/00837Determination of triggering parameters for hand-off
    • H04W36/008375Determination of triggering parameters for hand-off based on historical data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Definitions

  • the present application relates to the field of communication technology, but is not limited to the field of communication technology, and in particular, to a method, a device, a terminal, and a computer storage medium for network switching.
  • Networks of different standards may have different network qualities in different places. For example, in a certain area, network A can work normally, but network B has poor network quality and often drops. However, in the neighboring areas, the opposite is true. Network B can be used normally, while network A has poor network quality. Unless the terminal is replaced with a card in each area, users can only choose network A or network B individually, and endure the difference in network quality caused by the same mobile network in different places.
  • ESIM embedded Subscriber Identification Module
  • the current network switching technology can use manual user-based switching, or use roaming-based selection.
  • the switching efficiency is low.
  • it only saves network costs. There is a high probability that the network to which you are switching will have poor network quality.
  • the embodiments of the present application provide a network switching method and device.
  • an embodiment of the present application provides a network switching method, where the method includes:
  • the network switching rule includes the correspondence between the location information and the network parameter, and the network parameter includes the historical network quality Network quality parameters and network identification parameters determined by the data;
  • an embodiment of the present application provides a network switching device, where the device includes:
  • a data collection and processing module configured to detect current location information of the terminal
  • the network decision and determination module is configured to match with the network switching rule according to the current location information, and determine a target network parameter whose matching network quality meets a set condition.
  • the network switching rule includes a correspondence relationship between the location information and the network parameter.
  • the network parameters include network quality parameters and network identification parameters determined based on historical network quality data;
  • the network switching management module is configured to find a corresponding profile according to a network identification parameter in the target network parameters, and switch the current network to a network corresponding to the profile.
  • an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory for storing a computer program capable of running on the processor;
  • the processor When the processor is configured to run the computer program, the network switching method provided by any embodiment of the present application.
  • an embodiment of the present application provides a computer storage medium.
  • the computer-readable storage medium stores a computer program, and the computer program implements the network switching method provided by any embodiment of the present application when the computer program is executed by a processor. A step of.
  • the network switching method, device, terminal and computer storage medium provided in the embodiments of the present application include: detecting the current location information of the terminal; matching the network location rule with the current location information to determine that the matching network quality matches Setting a target network parameter of conditions, the network switching rule includes a correspondence between location information and network parameters, and the network parameters include network quality parameters and network identification parameters determined based on historical network quality data; according to the target network parameters, The network identification parameter searches for a corresponding profile, and switches the current network to a network corresponding to the profile.
  • the handover rule predicts the network quality in advance and automatically switches to the optimal network at the current location, which can improve the network quality of the terminal at the current location and improve the user experience without adding hardware equipment.
  • FIG. 1 is a schematic structural diagram of storing multiple sets of profiles in ESIM according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a network handover method according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a network switching device according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a network distributed data collection method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of content of a network distribution database in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a network switching device according to another embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a network switching method in another embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • the network switching mentioned in the embodiments of the present application refers to switching from the network of one operator to the network of another operator.
  • an ESIM terminal is used as an example.
  • ESIM is an embedded SIM that is built into the terminal and is not removable.
  • the user signs a contract with the carrier and can download the corresponding ESIM profile file from the carrier.
  • the terminal You can access the network through the activated profile file.
  • an ESIM card can contain multiple different profiles. Among them, a profile file is equivalent to a virtual SIM card, and a profile file corresponds to an operator-specific number.
  • Profile file parameters usually include MCC (Mobile Country Code), MNC (Mobile Network Code), EID (EUICC-ID), ICCID (Integrate Circuit Card Identity), IC card identification code), IMSI (International Mobile Subscriber Identity), PIN (Personal Identification Number), MDN (Mobile Directory Number, mobile phone number) and other data.
  • MCC Mobile Country Code
  • MNC Mobile Network Code
  • EID EUICC-ID
  • ICCID Intelligent Circuit Card Identity
  • IC card identification code IMSI (International Mobile Subscriber Identity), PIN (Personal Identification Number)
  • IMSI International Mobile Subscriber Identity
  • PIN Personal Identification Number
  • MDN Mobile Directory Number, mobile phone number
  • An embodiment of the present application provides a network switching method.
  • the network switching method may be applied to a terminal, and the terminal may be an Internet of Things device, a mobile terminal, a tablet computer, and a smart wearable device with communication functions.
  • the network switching method includes the following steps:
  • Step 201 Detect current location information of the terminal
  • the current location information of the terminal refers to information related to the geographical position of the terminal, such as cell base station information and satellite navigation system positioning information, that is, GPS information.
  • the position information may also include height measurement information. For example, in a shopping mall or other building, an indoor positioning system may be used to perform height measurement to determine the specific floor position in the building.
  • Step 202 Match the network switching rules with the current location information to determine the target network parameters that match the network quality that meets the set conditions.
  • the network switching rules include the correspondence between location information and network parameters.
  • the network parameters include Network quality parameters and network identification parameters determined by historical network quality data;
  • network quality parameters refer to related parameters used to characterize network signal quality.
  • Network quality parameters are determined based on historical network quality data.
  • Network quality data includes but is not limited to: signal strength, frequency of dropped networks, number of failures, type of failure, network Rate, etc.
  • the network quality parameter determined based on the historical network quality data refers to a parameter determined according to the historical network quality data corresponding to the destination location, and determines the quality of the network quality of the destination location.
  • the network identification parameter refers to a network identification used to characterize an operator's network identity, including a 3-digit MCC and a 2- to 3-digit MNC.
  • the network identification of China Mobile's GSM network is "46000”
  • the network identification of China Unicom's GSM network is "46001”
  • the network identification of China Telecom's CDMA network is "46003”.
  • the network quality meeting the set conditions may mean that the network quality is relatively optimal, or that the network quality is better than a preset condition parameter.
  • the terminal sets a network switching rule including a network quality parameter and a network identification parameter determined based on historical network quality data, and matches the network switching rule according to the current location, so as to determine the optimal network quality corresponding to the current location that meets the set conditions.
  • the internet It should be noted that the current location information and the location information in the network switching rule are not required to be completely the same, and a certain range of errors is allowed.
  • Step 203 Find the corresponding profile according to the network identification parameter in the target network parameters, and switch the current network to the network corresponding to the profile.
  • the target network parameter refers to a network with a relatively optimal network quality corresponding to the current location.
  • the current network connected to the terminal When the current network connected to the terminal is inconsistent with the network corresponding to the target network parameter, it switches to the operator network corresponding to the target network parameter.
  • the terminal may also collect network quality data of the currently connected network. If the network quality does not reach a preset condition, then switch to another operator network and judge again that the network quality has not reached When the conditions are preset, switch to the next operator network again until the network quality of all the operator networks is compared, and an operator network with a relatively good network quality is selected.
  • a terminal user likes to play on a fixed line in a certain area.
  • the terminal has contracted with operator network A and operator network B.
  • the terminal uses network A by default.
  • network A When traveling for the first time, the user found that when driving the car to the first area, network A experienced a network failure, such as a worsened network signal, dropped network, etc., and then triggered the terminal's network data collection function, and the terminal switched the network to network B.
  • the network works normally and collects the network data of network B.
  • network B has a network failure, such as a limited network speed.
  • the terminal can switch the network to network A, and the network works normally.
  • the terminal collects the network quality data of the network A and the network B corresponding to the first area and the second area respectively, and obtains the correspondence between the location information of the first area and the second area and the network quality parameters of the network A and network B. Get the network switching rules.
  • the terminal matches the network switching rule according to the location information of the first area, determines that the network quality of the network B in the first area is better, and the terminal automatically switches to the network B.
  • the terminal can collect network quality data corresponding to different historical location information in real time to enrich network switching rules. By setting this network switching rule, the terminal can automatically trigger the ESIM network switching process based on real-time location information, find the optimal network, and improve the network quality used by users.
  • the current location information is matched with the network switching rule determined based on the historical network quality data to determine a destination network that meets the preset conditions, and find the corresponding profile of the terminal according to the destination network.
  • the terminal network switches to the destination network corresponding to the profile, so that the terminal can predict the optimal network quality in advance based on the network switching rules formed by historical network quality data, and automatically switch to the optimal network at the current location ,
  • the network quality of the terminal at the current location can be improved without increasing hardware equipment, and the user experience can be improved.
  • the network switching method further includes: detecting current time information of the terminal; step 202, matching the network switching rule with the current location information according to the current location information, and determining that the matched network quality meets the set conditions Target network parameters, the network switching rule includes a correspondence between location information and network parameters, and the network parameters include network quality parameters and network identification parameters determined based on historical network quality data, including:
  • the network switching rule includes location information, time information, and network parameters
  • the network parameters include network quality parameters and network identification parameters determined based on network quality data corresponding to historical time.
  • different time periods can be distinguished, network quality data of different time periods can be collected at the same location, and the terminal sets a network switching rule for determining a destination network parameter based on the network quality data corresponding to the historical time.
  • the network switching rules are matched according to the current time and location, so that the network quality corresponding to the current time and location can be determined to meet the set optimal network.
  • an ESIM terminal user likes to hang out in a shopping mall all day long.
  • the ESIM terminal signs up with network A and network B.
  • the terminal uses network A by default when it is turned on.
  • the first time period is from 8 am to 10 am.
  • On the 5th floor of the mall the terminal network A is working normally.
  • the second time period is from 10 am to 12 am.
  • the traffic on the 5th floor of the mall is increasing, and the terminal network A appears.
  • Faults such as limited network speed, collect network quality data of network A, while the terminal network is switched to network B, network B works normally, and collect network quality data of network B; 12 to 2 pm is the third time period, the mall The number of users using network B increased on the fifth floor.
  • the network quality data of network B is collected.
  • the terminal switches to network A, collects the network quality data of network A, and compares the quality data of network A and network B. Then select network A with better network quality.
  • the terminal can use the GPS system to determine that the user is in the mall, and can also use the WiFi system to determine that the user is on the 5th floor of the mall. In this way, the terminal collects network quality data of the network A and network B corresponding to the first time period, the second time period, and the third time period of the same location, and obtains the first time period, the second time period, and the third time period of the same location. Correspondence with quality parameters of network A and network B to obtain network switching rules.
  • the terminal matched the network switching rules with the location information according to the first time period, and determined that the network B network quality was better in the first time period at the location.
  • the terminal automatically switches to network B.
  • the network quality parameters are differentiated according to time periods. For the network quality data corresponding to different time periods at the same location, determining the network with the best network quality at the same location in different time periods is equivalent to In locations with large differences in network quality in different time periods, such as shopping malls and hospitals with large human traffic, the conditions for network switching can be further refined, the accuracy of network switching can be improved, and the user experience can be improved.
  • the method before the matching with the network switching rule according to the current location information, the method further includes: detecting network quality data corresponding to the current location information; and combining the current location information and the current time information. And the network quality data is stored in a network distribution database, and a network switching rule is created or updated based on the network distribution database.
  • the network quality data refers to related parameters that characterize the network quality of the current terminal connected to the network.
  • the network distribution database refers to a database of network parameters classified by location information and time information.
  • the terminal storing the current location information, the current time information, and the network quality data in a network distribution database refers to searching for the location information corresponding to the current location information and the time information corresponding to the current time information in the network distribution database.
  • Update network quality data to network quality data corresponding to location information and time information in a network distribution database, or add current location information, current time information, and network quality data to the network distribution database, and add the increased current location Information, current time information, and network quality are stored in association.
  • Creating a network switching rule based on a network distribution database refers to creating a correspondence between time information, location information, and network parameters based on the newly added location information, time information, and network quality data of the network distribution database. Therefore, the network switching method provided in the embodiment of the present application can form a network distribution database by intelligently collecting historical network quality data and corresponding time information and location information, and can be obtained and updated in real time by intelligent learning analysis based on the network distribution database.
  • a network switching rule reflecting the quality of the network corresponding to the current location and time, wherein updating the network switching rule refers to re-determining the time information, the network quality data corresponding to the updated time information and location information in the network distribution database, Network quality parameters corresponding to the location information.
  • the network operator network A and the network operator network B are covered.
  • the user terminal is connected to network A by default when starting up. Due to the imperfect infrastructure of the operator's network A in this cell, network A has a network failure, while the operator's network B has the perfect infrastructure and the network B's network quality is better.
  • the network quality data of the network A and the network B during the time period, and the correspondence relationship between the position and the network quality parameters of the network A and the network B during the time period is obtained, and the network switching rule is determined.
  • the handover procedure is automatically triggered, and the terminal network switches to network B.
  • the operator of network A adds infrastructure, and the network quality of network A is significantly improved, which is better than that of network B.
  • the terminal collects the network quality data of network A, updates it to the network distribution database, and again obtains the corresponding relationship between the location and the network quality parameters of network A and network B during this time period, and determines the new Network switching rules.
  • the handover procedure is automatically triggered, and the terminal network is still connected to the network A.
  • the terminal collects network quality data of the current network, updates it to a network distribution database, and corrects the network switching rule through real-time updating of the network distribution database.
  • the terminal can accurately calculate the network switching rule based on the modification Perform network switching or predict network quality changes in advance to further ensure the accuracy of network switching.
  • storing the current location information, the current time information, and the network quality data in a network distribution database, and creating or updating a network switching rule based on the network distribution database includes: The location information, the current time information, and the network quality data are stored in a network distribution database on the server side, and the server is sent to create or update a network switching rule based on the network distribution database.
  • the network distribution database where the current location information, the current time information, and the network quality data are stored in the server means that the network distribution database is located on the server, and multiple terminals upload the time information and location collected by the server to the server.
  • the information and network quality data form a large network distribution database and are stored on the server; or a single terminal packages the network quality data of the current location collected by the terminal within the current time period and sends it to the server's network distribution database, and updates the corresponding network distribution database.
  • the receiving server sends to create or update a network switching rule based on the network distribution database means that the server creates or updates the corresponding relationship between time, location, and network quality parameters, that is, the network switching rule according to the content of the network distribution database. It describes the corresponding network handover rule sent by the server when the terminal is located at the current position at the current time.
  • the server establishes a network switching rule for the area at that time according to the network distribution database, and determines that the terminal located at the location at that time should be connected to the network B.
  • the terminal supports the function of synchronizing server data and defaults to connect to network A. After entering the area during a certain period of time, the terminal synchronizes the server's network distribution database and network switching rules, automatically triggers the network switching process, and the network switches to network B.
  • the terminal sends the collected network distribution data including time to the server, and can also receive the network switching rules sent by the server, thereby effectively saving a large amount of historical data containing time information, and the server can also accept other terminals
  • the related historical data sent can enrich the content of the network distribution database.
  • the formed network switching rules are more accurate, so that it can accurately determine that the network quality at a certain location is better for a certain period of time, thereby improving the network quality of the terminal. .
  • storing the current location information and the network quality data in a network distribution database, and creating or updating a network switching rule based on the network distribution database includes: storing the current location information and the network location data.
  • the network quality data is stored in the network distribution database of the server, and the server sends a network switching rule based on the network distribution database to be created or updated.
  • the terminal storing the current location information and the network quality data in the network distribution database of the server means that the server creates or updates the correspondence relationship between the location and the network quality parameter, that is, the network switching rule according to the content of the network distribution database.
  • Creating a network switching rule based on the network distribution database refers to: creating a correspondence between the location information and the network parameters according to the newly added location information and network quality data of the network distribution database.
  • Updating the network switching rule based on the network distribution database refers to re-determining the correspondence between the location information and the network parameters according to the network quality data corresponding to the updated time information and location information in the network distribution database.
  • the server establishes a network switching rule for the area according to the network distribution database, and determines that the terminal located at the location should be connected to the network B.
  • the terminal supports the function of synchronizing server data and connects to network A by default. After the terminal enters the area again, the terminal synchronizes the server's network distribution database and network switching rules, automatically triggers the network switching process, and the terminal connects the network to network B.
  • the terminal sends the collected network distribution data including time to the server, and can also receive network switching rules sent by the server, thereby effectively saving a large amount of historical data, forming a rich network distribution database, and constantly updating. Network switching rules, thereby improving the network quality of the terminal. At the same time, even if the terminal is damaged, the network distribution database and network switching rules can be downloaded from the server.
  • the searching for a corresponding profile according to the network identification parameter in the target network parameter and switching the current network to the network corresponding to the profile includes: according to the network identification parameter in the target network parameter, Query the profile corresponding to the network identification parameter; according to a preset network search list, the terminal switches to the network corresponding to the profile, and the network search list includes at least the public land mobile corresponding to the profile in the terminal Network PLMN.
  • the terminal may preset a network search list of multiple profiles, and the network search list is a profile historical network search record, which mainly includes parameters of Public Land Mobile Network (PLMN), such as MCC, MNC, and frequency. Point information, etc.
  • PLMN Public Land Mobile Network
  • MCC Mobile Communications
  • MNC Mobile Network Controller
  • Point information etc.
  • the network switching method may further include: in step 201, detecting the current location information of the terminal includes: acquiring a set planned route, and determining the terminal according to the set planned route According to the location information, a network switching rule is matched to determine a target network parameter whose matching network quality meets a set condition. In this way, it is possible to plan in advance the network to be connected by the terminals along the specified route. This method saves traffic, saves time, and improves network switching efficiency.
  • a network switching device is also provided.
  • the device includes a data collection processing module 301, a network switching decision and determination module 302, and a network switching management module 303.
  • the data acquisition processing module 301 is configured to detect current location information of the terminal
  • the network handover decision and determination module 302 is configured to match the network handover rules with the current location information to determine the target network parameters that match the network quality that meets the set conditions.
  • the network handover rules include location information and network parameters.
  • the network parameters include network quality parameters and network identification parameters determined based on historical network quality data;
  • the network switching management module 303 is configured to find a corresponding profile according to a network identification parameter in the target network parameters, and switch the current network to a network corresponding to the profile.
  • the data acquisition processing module 301 is configured to detect current time information of the terminal
  • the network switching decision and determination module 302 is configured to match a network switching rule with the current location information to determine a target network parameter in which a network quality meets a set condition within a time period corresponding to the current time information.
  • the network switching rule includes a correspondence between location information and time information and network parameters.
  • the network parameters include determining network quality parameters and network identification parameters based on network quality data corresponding to historical time.
  • the data acquisition processing module 301 is configured to detect network quality data corresponding to the current location information; and store the current location information, the current time information, and the network quality data on a network Distributed database
  • the network switching decision and determination module 302 is configured to create or update a network switching rule based on the network distribution database.
  • the data collection and processing module 301 is configured to store the current location information, the current time information, and the network quality data in a network distribution database on the server side, and receive the server side based on the sending The network distribution database creates or updates network switching rules.
  • the data collection processing module 301 is configured to detect network quality data corresponding to the current location information; store the current location information and the network quality data in a network distribution database;
  • the network switching decision and determination module 302 is configured to create or update a network switching rule based on the network distribution database.
  • the data collection and processing module 301 is configured to store the current location information and the network quality data in a network distribution database on the server side, and receive the server side to create or update based on the network distribution database. Network switching rules.
  • the network switching management module 303 is configured to query a profile corresponding to the network identification parameter according to a network identification parameter in the target network parameter; according to a preset network search list, the The terminal switches to the network corresponding to the profile, and the network search list includes at least the profile in the terminal corresponding to a commonly used public land mobile network PLMN.
  • the network distribution data collection is further described. Please refer to FIG. 4 for the specific implementation method of the network distribution data collection process.
  • the specific steps include:
  • Step 401 detecting an instruction to activate a profile on the ESIM card, activating the profile, and accessing a corresponding network;
  • the profile may be configured by the user by default or selected by the user from the profile list through LPA (Local Profile Assistant).
  • LPA Local Profile Assistant
  • Step 402 Determine whether the network distribution data corresponding to the profile is synchronized. If you choose to synchronize the network distribution database, receive the entry information of the network distribution database corresponding to all profiles on the ESIM card sent by the server;
  • the entry information content 500 of the network distribution database includes at least: an entry index 501, a network identifier 502, a location information 503, a communication failure type 504, a time information of a failure 505, and a number of occurrences of each failure 506.
  • the network identifier 502 is the MCC and MNC parameters of the network;
  • the location information 503 includes at least cell information and GPS information;
  • the communication failure type 504 included in the network distribution data includes at least call drop, limited network speed, and poor signal quality.
  • the signal quality parameters include signal strength, network rate, and the like.
  • Step 403 Start a network collection service process, which is responsible for collecting network distribution data.
  • the network distribution data includes location information, time information, network identification, and network quality data.
  • Step 404 a network communication failure is detected
  • Step 405 Write the current network distribution data into the local network distribution database, where the network distribution data includes the MCC and MNC of the network identifier, the signal quality parameters, the identity of the cell base station, time information, and geographic location information.
  • Step 406 write the cause of the communication failure and the number of occurrences of the failure into the network distribution database
  • Step 407 Obtain an instruction to adopt a server data collection mode, and package the collected updated entry information and send it to the network distributed data collection server;
  • Step 408 After receiving the data, the server performs classification and storage according to a rule, which may be a network identifier or location information.
  • a rule which may be a network identifier or location information.
  • the background server extracts the network distribution characteristics of each operator through big data processing, screens and processes the locations and times that can easily reproduce the communication failure, and forms a network distribution database that is uniformly managed in the background. According to the terminal's continuous collection of network data, the entry information of the network distribution database is constantly created or updated.
  • the terminal collects network distribution data of the terminal, matches network switching rules established based on the network distribution database, finds a destination network, and finally activates a profile corresponding to the destination network to switch the terminal to the destination network.
  • the device realizes the function of automatically switching networks and improves the network quality used by the terminal.
  • a network switching device is also provided.
  • the device further includes a network switching setting module 304 and a network switching display module 305.
  • the network switching setting module 304 is used to set whether to enable the network switching function and select a mode for use of a database.
  • the database usage mode includes a local mode and a server mode.
  • the local collection mode refers to a single terminal collecting network distribution data and creating or updating a local network distribution database.
  • the server acquisition mode means that after each terminal collects network distribution data, it uploads to the server and creates or updates a network distribution database in the server. If the terminal uses the local mode for network switching, the network distribution data collected by the terminal is used to determine the network switching rules and the network switching is performed; if the terminal uses the server mode, the network distribution data collected by the background server is used to determine the network. Switching rules for network switching. At the same time, it is also necessary to choose whether to receive updated network distribution data pushed by the server and whether to report the network distribution data collected by the terminal.
  • the network switching display module 305 is configured to select a network switching mode and prompt switching information.
  • the network switching mode can be set to automatic mode and manual mode.
  • the network switching decision and determination module 302 finds the target network, if the user selects the automatic mode, the network switching process is automatically triggered, and a message will be displayed on the network switching display module 305.
  • the network switching display module 305 displays an option of whether to perform a network switching and a fault type.
  • the network switching setting module 304 is used to set the local mode and the server mode, so that the user can freely choose whether to upload network distribution data, which can better protect the data privacy of the user.
  • the network switching display module 305 is used to display the prompt information to allow the user to freely judge whether to switch the network and improve the user experience.
  • a terminal with an ESIM module is used to automatically switch the network.
  • the use of the network distribution database uses the server mode and the automatic switching mode is used as an example. Please refer to FIG.
  • the steps for switching include:
  • Step 701 Detect an instruction to activate a profile on the ESIM card, activate the profile, and access the corresponding network;
  • the profile may be configured by the user by default or selected by the user from the profile list through LPA (Local Profile Assistant).
  • LPA Local Profile Assistant
  • Step 702 Determine whether to synchronize the network distribution data of the profile. If the server mode is selected, if the terminal chooses to synchronize the network distribution database, the terminal receives the entry information of all the profiles on the ESIM card corresponding to the network distribution database;
  • Step 703 If the local mode is selected, the local network distribution database is enabled by default;
  • Step 704 Enter the network switching decision and decision service
  • Step 705 Read the activated profile network distribution database and load it into the determination service process
  • Step 706 Periodic detection and matching are performed in the determination service process. When it is determined that the current location of the user terminal matches the corresponding network distribution data rule, the terminal network switching function is triggered;
  • step 707 the network rules are matched, and conditions such as network identification, location information, and time information may be used to match the network switching rules to find the destination network.
  • the terminal may adopt periodic detection and matching of network switching rules, or may match network switching rules every time a new location is reached.
  • the network switching rule is a decision database trained by a machine learning method according to a network distribution database, and is modified according to current network quality data.
  • the matching may be based on the current network identifier and location information, or the location information and time information, or the current network identifier, location information, and time information.
  • the matching algorithm can be a matching rule algorithm or an intelligent learning algorithm.
  • Step 708 After finding the destination network, select a network switching mode and prompt for switching information.
  • Step 709 After the network switching mode is selected, search the corresponding profile in the terminal according to the destination network, deactivate the currently activated profile and activate the destination profile, and switch the current network to the network corresponding to the profile to be activated.
  • Step 710 Optimize the handover process.
  • the terminal can preset a network search list of multiple profiles, and when searching the corresponding network according to the profile, match the network search list to speed up the process of searching the network;
  • step 711 the handover process is completed, and it is prompted that the handover is complete.
  • the terminal successfully switched to the destination network.
  • the terminal obtains a network distribution database by selecting a local mode or a server mode, creates or updates a network switching rule based on the network distribution database, uses location information to match the network switching rule, determines the destination network, and intelligently determines the optimal network ; In order to speed up the network switching process, according to the preset network search list, the profile quickly matches the network.
  • the terminal 800 includes at least one processor 801 and at least one memory 805.
  • the memory 805 includes a computer program capable of running on the processor 801.
  • the processor 801 executes a method for network switching, and the method includes Detecting the current location information of the terminal; matching the network location rule with the current location information to determine a target network parameter that matches the network quality that meets the set conditions, and the network switching rule includes the correspondence between the location information and the network parameter
  • the network parameter includes a network quality parameter and a network identification parameter determined based on historical network quality data; searching for a corresponding profile according to the network identification parameter in the target network parameter, and switching the current network to a network corresponding to the profile.
  • the processor 801 is further configured to, when running the computer program, execute: detecting current time information of the terminal; matching with a network switching rule according to the current location information, and determining that the matched network quality meets a set condition Target network parameters, the network switching rule includes a correspondence between location information and network parameters, and the network parameters include network quality parameters and network identification parameters determined based on historical network quality data, including: switching with the network according to the current location information Matching rules to determine target network parameters whose network quality meets a set condition within a time period corresponding to the current time information, the network switching rule includes a correspondence between location information and time information and network parameters, and the network parameters include The network quality parameters and network identification parameters determined by the network quality data corresponding to the historical time.
  • the processor 801 is further configured to, when running the computer program, execute: before the matching with the network switching rule according to the current location information, the method further includes: detecting network quality data corresponding to the current location information;
  • the current location information, the current time information, and the network quality data are stored in a network distribution database, and a network switching rule is created or updated based on the network distribution database.
  • the processor 801 is further configured to, when running the computer program, execute: storing the current location information, the current time information, and the network quality data in a network distribution database, and creating the network distribution database based on the network distribution database. Or updating a network switching rule, comprising: storing the current location information, the current time information, and the network quality data in a network distribution database on a server, and receiving a server sending to create or update a network switching based on the network distribution database rule.
  • the processor 801 is further configured to, when running the computer program, execute: storing the current location information and the network quality data in a network distribution database, and creating or updating a network switching rule based on the network distribution database,
  • the method includes: storing the current location information and the network quality data in a network distribution database of a server, and receiving a server sending to create or update a network switching rule based on the network distribution database.
  • the processor 801 is further configured to, when running the computer program, execute: searching for a corresponding profile according to a network identification parameter in the target network parameter, and switching a current network to a network corresponding to the profile, including: according to the The network identification parameter in the target network parameter queries a profile corresponding to the network identification parameter; according to a preset network search list, the terminal switches to a network corresponding to the profile, and the network search list includes at least the The profile in the terminal corresponds to the commonly used public land mobile network PLMN.
  • the terminal 800 further includes a communication bus 802, a user interface 803, an external communication interface 804, and an ESIM module 806.
  • the communication bus 802 is configured to implement connection and communication between these components.
  • the user interface 803 may include a display screen
  • the external communication interface 804 may include a standard wired interface and a wireless interface
  • the ESIM module 806 is configured to implement the use of the terminal 800. Writing of carrier network information.
  • a computer storage medium stores a computer program, and when the computer program is executed by a processor, implements steps of a network switching method provided by any embodiment of the present application. .
  • a physical component may have multiple functions, or a function or step may be performed by cooperation of several physical components.
  • Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit .
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage medium includes volatile and non-volatile implemented in any method or technology used to store information such as computer-readable instructions, data structures, program modules or other data. Removable, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer.
  • a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium .

Abstract

Disclosed are a network switching method and apparatus, a terminal and a computer storage medium. The method comprises: detecting the current position information of a terminal; performing matching according to the current position information and a network switching rule, and determining a target network parameter, the matched network quality of which meets a set condition, wherein the network switching rule comprises a correlation between position information and network parameters, and the network parameters comprise network quality parameters determined based on historical network quality data, and network identification parameters; and finding the corresponding user profile according to a network identification parameter in the target network parameter, and switching the current network to a network corresponding to the profile.

Description

网络切换的方法、装置、终端及存储介质Method, device, terminal and storage medium for network switching
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201810949202.9、申请日为2018年08月20日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with an application number of 201810949202.9 and an application date of August 20, 2018, and claims the priority of the Chinese patent application. The entire content of this Chinese patent application is incorporated herein by reference.
技术领域Technical field
本申请涉及通信技术领域但不限于通信技术领域,尤其涉及一种网络切换的方法、装置、终端及计算机存储介质。The present application relates to the field of communication technology, but is not limited to the field of communication technology, and in particular, to a method, a device, a terminal, and a computer storage medium for network switching.
背景技术Background technique
不同制式的网络在不同的地方可能会存在网络质量不同,比如在某地区,A网络能正常使用,B网络却网络质量差、经常掉线。然而在相邻地区恰恰相反,B网络能正常使用,而A网络的网络质量差。除非每到一地区将终端换卡,否则用户只能单独选择A网络或者B网络,忍受同一个移动网络在不同地方带来的网络质量差异。Networks of different standards may have different network qualities in different places. For example, in a certain area, network A can work normally, but network B has poor network quality and often drops. However, in the neighboring areas, the opposite is true. Network B can be used normally, while network A has poor network quality. Unless the terminal is replaced with a card in each area, users can only choose network A or network B individually, and endure the difference in network quality caused by the same mobile network in different places.
随着技术发展,带有双卡的终端出现,用户无需卸载终端的SIM卡就可以根据双卡的服务,用户进行手动切换网络,来减少由于单一网络在不同地区带来的网络质量问题。现在,ESIM(Embedded Subscriber Identification Module,嵌入式用户识别模块)技术出现了,它具有一卡多号的优点,通过配置Profile文件,终端根据用户手动选择或者根据当前漫游状态切换到对应的网络。With the development of technology, terminals with dual cards appear. Users do not need to uninstall the SIM card of the terminal, and users can manually switch networks according to the service of the dual card to reduce network quality problems caused by a single network in different regions. Now, ESIM (Embedded Subscriber Identification Module) technology has appeared. It has the advantage of one card and multiple numbers. By configuring a profile, the terminal manually selects according to the user or switches to the corresponding network according to the current roaming status.
然而,目前网络切换技术可以采用基于用户手动切换,或者采用基于漫游状态的选择,通过用户手动选择进行网络切换时,切换效率低;根据漫游状态进行网络切换时,仅仅是节约了网络费用,所切换至的网络很大概率会出现网络质量不佳的情况。However, the current network switching technology can use manual user-based switching, or use roaming-based selection. When the user manually selects the network switching, the switching efficiency is low. When performing network switching based on the roaming status, it only saves network costs. There is a high probability that the network to which you are switching will have poor network quality.
发明内容Summary of the Invention
本申请实施例提供一种网络切换方法、装置。The embodiments of the present application provide a network switching method and device.
本申请实施例的技术方案是这样实现的:The technical solution of the embodiment of the present application is implemented as follows:
第一方面,本申请实施例提供一种网络切换方法,所述方法包括:In a first aspect, an embodiment of the present application provides a network switching method, where the method includes:
检测所述终端的当前位置信息;Detecting current location information of the terminal;
根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数;Matching the current location information with a network switching rule to determine a target network parameter that matches the network quality that meets the set conditions, the network switching rule includes the correspondence between the location information and the network parameter, and the network parameter includes the historical network quality Network quality parameters and network identification parameters determined by the data;
根据所述目标网络参数中的网络标识参数查找对应的用户配置文件(profile),将当前网络切换到所述profile对应的网络。Searching for a corresponding user profile according to a network identification parameter in the target network parameter, and switching the current network to a network corresponding to the profile.
第二方面,本申请实施例提供一种网络切换装置,所述装置包括:In a second aspect, an embodiment of the present application provides a network switching device, where the device includes:
数据采集处理模块,配置为检测所述终端的当前位置信息;A data collection and processing module configured to detect current location information of the terminal;
网络决策及判定模块,配置为根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数;The network decision and determination module is configured to match with the network switching rule according to the current location information, and determine a target network parameter whose matching network quality meets a set condition. The network switching rule includes a correspondence relationship between the location information and the network parameter. The network parameters include network quality parameters and network identification parameters determined based on historical network quality data;
网络切换管理模块,配置为根据所述目标网络参数中的网络标识参数查找对应的profile,将当前网络切换到所述profile对应的网络。The network switching management module is configured to find a corresponding profile according to a network identification parameter in the target network parameters, and switch the current network to a network corresponding to the profile.
第三方面,本申请实施例提供一种终端,所述终端包括处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,According to a third aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory for storing a computer program capable of running on the processor;
所述处理器配置为运行所述计算机程序时,本申请任一实施例所提供的网络切换方法。When the processor is configured to run the computer program, the network switching method provided by any embodiment of the present application.
第四方面,本申请实施例提供一种计算机存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现本申 请任一实施例所提供的网络切换方法的步骤。According to a fourth aspect, an embodiment of the present application provides a computer storage medium. The computer-readable storage medium stores a computer program, and the computer program implements the network switching method provided by any embodiment of the present application when the computer program is executed by a processor. A step of.
本申请实施例提供的网络切换方法、装置、终端及计算机存储介质,该方法包括:检测所述终端的当前位置信息;根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数;根据所述目标网络参数中的网络标识参数查找对应的profile,将当前网络切换到所述profile对应的网络。通过设置包括基于历史网络质量数据确定的网络切换规则,根据当前位置匹配网络切换规则,从而寻找到网络质量符合设定条件的最优网络,进而所述终端能够基于历史网络质量数据所形成的网络切换规则对网络质量提前进行预判,自动切换到当前位置最优网络,无需增加硬件设备就能提高所述终端在当前位置的网络质量,改善用户体验。The network switching method, device, terminal and computer storage medium provided in the embodiments of the present application include: detecting the current location information of the terminal; matching the network location rule with the current location information to determine that the matching network quality matches Setting a target network parameter of conditions, the network switching rule includes a correspondence between location information and network parameters, and the network parameters include network quality parameters and network identification parameters determined based on historical network quality data; according to the target network parameters, The network identification parameter searches for a corresponding profile, and switches the current network to a network corresponding to the profile. By setting a network switching rule that is determined based on historical network quality data and matching the network switching rule according to the current location, an optimal network with a network quality that meets the set conditions is found, and the terminal can then form a network based on historical network quality data The handover rule predicts the network quality in advance and automatically switches to the optimal network at the current location, which can improve the network quality of the terminal at the current location and improve the user experience without adding hardware equipment.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请一实施例中ESIM中贮存多套profile的结构示意图;FIG. 1 is a schematic structural diagram of storing multiple sets of profiles in ESIM according to an embodiment of the present application; FIG.
图2为本申请一实施例中网络切换方法的流程示意图;2 is a schematic flowchart of a network handover method according to an embodiment of the present application;
图3为本申请一实施例中网络切换装置的组成示意图;FIG. 3 is a schematic diagram of a network switching device according to an embodiment of the present application; FIG.
图4为本申请一实施例中网络分布数据采集方法的流程示意图;4 is a schematic flowchart of a network distributed data collection method according to an embodiment of the present application;
图5为本申请一实施例中网络分布数据库的内容示意图;FIG. 5 is a schematic diagram of content of a network distribution database in an embodiment of the present application; FIG.
图6为本申请另一实施例中网络切换装置的组成示意图;FIG. 6 is a schematic structural diagram of a network switching device according to another embodiment of the present application; FIG.
图7为本申请另一实施例中网络切换方法的流程示意图;7 is a schematic flowchart of a network switching method in another embodiment of the present application;
图8为本申请一实施例中终端的结构示意图。FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本 申请实施例中的附图,对具体技术方案做进一步详细描述。以下实施例用于说明本申请公开,但不用来限制本申请公开的范围。To make the objectives, technical solutions, and advantages of the embodiments of the application clearer, the specific technical solutions will be described in further detail below with reference to the accompanying drawings in the embodiments of the application. The following examples are used to illustrate the disclosure of the application, but are not intended to limit the scope of the disclosure.
在此需要说明的是,本申请实施例所说的网络切换是指从一个运营商网络切换到另外一个运营商的网络。在本申请的一个具体实施例中以ESIM的终端为例。It should be noted here that the network switching mentioned in the embodiments of the present application refers to switching from the network of one operator to the network of another operator. In a specific embodiment of the present application, an ESIM terminal is used as an example.
ESIM是一种嵌入式的SIM,内置于终端中,不可拆卸,当用户想使用某家运营商网络时,用户与该运营商签约,即可从该运营商下载相应的ESIM的Profile文件,终端通过激活的Profile文件即可接入网络,如图1所示一张ESIM卡中可含有多个不同的profile。其中,Profile文件相当于一张虚拟SIM卡,一个profile文件对应一个运营商特定的号码。Profile文件参数通常包括MCC(Mobile Country Code,移动用户所属国家码)、MNC(Mobile Network Code,移动网号码)、EID(EUICC-ID,嵌入式通用集成识别码)、ICCID(Integrate circuit card identity,集成电路卡识别码)、IMSI(International Mobile Subscriber Identity,国际移动用户识别码)、以及PIN(Personal Identification Number,个人识别码)、MDN(Mobile Directory Number,手机号码)等数据。需要说明的是,当该网络切换方法应用于其它多号终端,如双卡终端或多卡终端时,其与ESIM卡的主要不同在于,理论上,一个Profile文件的功能分别对应一个实体SIM卡的功能。ESIM is an embedded SIM that is built into the terminal and is not removable. When a user wants to use a carrier ’s network, the user signs a contract with the carrier and can download the corresponding ESIM profile file from the carrier. The terminal You can access the network through the activated profile file. As shown in Figure 1, an ESIM card can contain multiple different profiles. Among them, a profile file is equivalent to a virtual SIM card, and a profile file corresponds to an operator-specific number. Profile file parameters usually include MCC (Mobile Country Code), MNC (Mobile Network Code), EID (EUICC-ID), ICCID (Integrate Circuit Card Identity), IC card identification code), IMSI (International Mobile Subscriber Identity), PIN (Personal Identification Number), MDN (Mobile Directory Number, mobile phone number) and other data. It should be noted that when the network switching method is applied to other multi-number terminals, such as dual-card terminals or multi-card terminals, the main difference from the ESIM card is that, in theory, the function of a profile file corresponds to a physical SIM card, respectively. Functions.
本申请实施例一方面提供一种网络切换方法,该网络切换方法可以应用于终端,所述终端可以是物联网设备、移动终端、平板电脑以及智能穿戴设备等具有通信功能的设备等。请参阅图2,该网络切换方法包括如下步骤:An embodiment of the present application provides a network switching method. The network switching method may be applied to a terminal, and the terminal may be an Internet of Things device, a mobile terminal, a tablet computer, and a smart wearable device with communication functions. Referring to FIG. 2, the network switching method includes the following steps:
步骤201,检测所述终端的当前位置信息;Step 201: Detect current location information of the terminal;
其中,所述终端的当前位置信息是指用于表征终端的地理位置相关的信息,如小区基站信息、卫星导航系统定位信息,即GPS信息等。位置信 息还可以包括高度测量信息,例如在商场或者其他建筑物中,可以使用室内定位系统进行高度测量,确定在建筑物中具体的楼层位置。The current location information of the terminal refers to information related to the geographical position of the terminal, such as cell base station information and satellite navigation system positioning information, that is, GPS information. The position information may also include height measurement information. For example, in a shopping mall or other building, an indoor positioning system may be used to perform height measurement to determine the specific floor position in the building.
步骤202,根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数;Step 202: Match the network switching rules with the current location information to determine the target network parameters that match the network quality that meets the set conditions. The network switching rules include the correspondence between location information and network parameters. The network parameters include Network quality parameters and network identification parameters determined by historical network quality data;
其中,网络质量参数是指用于表征网络信号质量的相关参数,网络质量参数根据历史网络质量数据进行确定,网络质量数据包括但不限于:信号强度、掉网频率、故障次数、故障类型、网络速率等。基于历史网络质量数据确定的网络质量参数是指根据目的位置对应的历史网络质量数据进行统计,确定的表征该目的位置的网络质量好坏的参数。网络标识参数是指用于表征运营商网络身份的网络标识,包括3位数字的MCC和2至3位数字的MNC。例如中国移动GSM网络的网络标识为“46000”,中国联通GSM网络的网络标识为“46001”,中国电信CDMA网络的网络标识“46003”。网络质量符合设定条件可以是指网络质量相对最优、或者说网络质量优于预设的条件参数。这里,终端通过设置包括基于历史网络质量数据确定的网络质量参数和网络标识参数的网络切换规则,根据当前位置匹配网络切换规则,从而可以确定与当前位置对应的网络质量符合设定条件的最优网络。需要说明的是,所述当前位置信息与网络切换规则中的位置信息并不要求完全相同,允许存在一定范围的误差。Among them, network quality parameters refer to related parameters used to characterize network signal quality. Network quality parameters are determined based on historical network quality data. Network quality data includes but is not limited to: signal strength, frequency of dropped networks, number of failures, type of failure, network Rate, etc. The network quality parameter determined based on the historical network quality data refers to a parameter determined according to the historical network quality data corresponding to the destination location, and determines the quality of the network quality of the destination location. The network identification parameter refers to a network identification used to characterize an operator's network identity, including a 3-digit MCC and a 2- to 3-digit MNC. For example, the network identification of China Mobile's GSM network is "46000", the network identification of China Unicom's GSM network is "46001", and the network identification of China Telecom's CDMA network is "46003". The network quality meeting the set conditions may mean that the network quality is relatively optimal, or that the network quality is better than a preset condition parameter. Here, the terminal sets a network switching rule including a network quality parameter and a network identification parameter determined based on historical network quality data, and matches the network switching rule according to the current location, so as to determine the optimal network quality corresponding to the current location that meets the set conditions. The internet. It should be noted that the current location information and the location information in the network switching rule are not required to be completely the same, and a certain range of errors is allowed.
步骤203,根据所述目标网络参数中的网络标识参数查找对应的profile,将当前网络切换到所述profile对应的网络。Step 203: Find the corresponding profile according to the network identification parameter in the target network parameters, and switch the current network to the network corresponding to the profile.
这里,目标网络参数是指与当前位置对应的网络质量相对最优的网络,当终端所连接的当前网络与所述目标网络参数对应的网络不一致,则切换到该目标网络参数对应的运营商网络上,确保终端能够根据当前位置自动 选择匹配的网络质量最优的网络。其中,若当前位置信息为新的位置信息,终端还可以采集当前所连接网络的网络质量数据,若网络质量未达到预设条件,则切换到另外的运营商网络,并再次判断网络质量未达到预设条件时,再次切换到下一运营商网络,直至将所有的运营商网络的网络质量进行比较,选择网络质量相对较好的运营商网络。Here, the target network parameter refers to a network with a relatively optimal network quality corresponding to the current location. When the current network connected to the terminal is inconsistent with the network corresponding to the target network parameter, it switches to the operator network corresponding to the target network parameter. To ensure that the terminal can automatically select the matching network with the best network quality according to the current location. Wherein, if the current location information is new location information, the terminal may also collect network quality data of the currently connected network. If the network quality does not reach a preset condition, then switch to another operator network and judge again that the network quality has not reached When the conditions are preset, switch to the next operator network again until the network quality of all the operator networks is compared, and an operator network with a relatively good network quality is selected.
例如,某个终端用户喜欢在某个地区的固定线路上进行游玩,该终端签约了运营商网络A与运营商网络B,终端默认使用网络A。首次出游的时候,用户发现将车开到第一区域时,网络A出现网络故障,例如网络信号变差,掉网等情况,然后触发终端的网络数据采集功能,同时终端将网络切换到网络B,该网络工作正常,采集网络B的网络数据;然而,在第二区域,网络B出现网络故障,例如网速受限等情况,同样终端可以将网络切换到网络A,该网络工作正常。如此,终端分别采集第一区域和第二区域对应的网络A和网络B的网络质量数据,得到第一区域和第二区域两个位置信息与网络A和网络B的网络质量参数的对应关系,得到网络切换规则。当该终端用户再次来到第一区域,所述终端根据第一区域位置信息匹配网络切换规则,确定在第一区域的网络B网络质量较优,所述终端自动切换到网络B。与此同理,终端可以实时采集不同历史位置信息所对应的网络质量数据,丰富网络切换规则。通过设置该网络切换规则,终端可以根据实时的位置信息,自动触发ESIM网络切换流程,找到最优网络,提高了用户使用的网络质量。For example, a terminal user likes to play on a fixed line in a certain area. The terminal has contracted with operator network A and operator network B. The terminal uses network A by default. When traveling for the first time, the user found that when driving the car to the first area, network A experienced a network failure, such as a worsened network signal, dropped network, etc., and then triggered the terminal's network data collection function, and the terminal switched the network to network B. The network works normally and collects the network data of network B. However, in the second area, network B has a network failure, such as a limited network speed. Similarly, the terminal can switch the network to network A, and the network works normally. In this way, the terminal collects the network quality data of the network A and the network B corresponding to the first area and the second area respectively, and obtains the correspondence between the location information of the first area and the second area and the network quality parameters of the network A and network B. Get the network switching rules. When the terminal user comes to the first area again, the terminal matches the network switching rule according to the location information of the first area, determines that the network quality of the network B in the first area is better, and the terminal automatically switches to the network B. In the same way, the terminal can collect network quality data corresponding to different historical location information in real time to enrich network switching rules. By setting this network switching rule, the terminal can automatically trigger the ESIM network switching process based on real-time location information, find the optimal network, and improve the network quality used by users.
在本申请实施例所提供的网络切换方法中,通过当前位置信息匹配根据历史网络质量数据确定的网络切换规则,决策出符合预设条件的目的网络,根据目的网络查找所述终端相对应的profile,所述终端网络切换到该profile对应的目的网络,从而实现所述终端能基于历史网络质量数据所形成的网络切换规则对网络质量提前预判最优网络,并且自动切换到当前位 置最优网络,无需增加硬件设备就能提高所述终端在当前位置的网络质量,改善用户体验。In the network switching method provided in the embodiment of the present application, the current location information is matched with the network switching rule determined based on the historical network quality data to determine a destination network that meets the preset conditions, and find the corresponding profile of the terminal according to the destination network. The terminal network switches to the destination network corresponding to the profile, so that the terminal can predict the optimal network quality in advance based on the network switching rules formed by historical network quality data, and automatically switch to the optimal network at the current location , The network quality of the terminal at the current location can be improved without increasing hardware equipment, and the user experience can be improved.
在一个实施例中,该网络切换方法还包括:检测所述终端的当前时间信息;步骤202,所述根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数,包括:In one embodiment, the network switching method further includes: detecting current time information of the terminal; step 202, matching the network switching rule with the current location information according to the current location information, and determining that the matched network quality meets the set conditions Target network parameters, the network switching rule includes a correspondence between location information and network parameters, and the network parameters include network quality parameters and network identification parameters determined based on historical network quality data, including:
根据所述当前位置信息与网络切换规则进行匹配,确定与所述当前时间信息对应的时间段内网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息和时间信息与网络参数对应关系,所述网络参数包括基于历史时间所对应网络质量数据确定的网络质量参数和网络标识参数。Matching the current location information with a network switching rule to determine a target network parameter whose network quality meets a set condition within a time period corresponding to the current time information, the network switching rule including location information, time information, and network parameters Correspondence, the network parameters include network quality parameters and network identification parameters determined based on network quality data corresponding to historical time.
其中,可以区分设置不同的时间段,在同一位置采集各个不同的时间段的网络质量数据,终端设置基于历史时间所对应网络质量数据确定目的网络参数的网络切换规则。根据当前时间和位置匹配网络切换规则,从而可以确定与当前时间和位置对应的网络质量符合设定的最优网络。Among them, different time periods can be distinguished, network quality data of different time periods can be collected at the same location, and the terminal sets a network switching rule for determining a destination network parameter based on the network quality data corresponding to the historical time. The network switching rules are matched according to the current time and location, so that the network quality corresponding to the current time and location can be determined to meet the set optimal network.
例如,ESIM终端用户喜欢在一整天都在某个商场闲逛,该ESIM终端签约网络A和网络B,该终端默认开机时使用网络A。早上八点到十点为第一时间段,在商场第5楼时,该终端网络A正常工作;上午十点到十二点为第二时间段,商场5楼人流增多,该终端网络A出现故障例如网速受限,采集网络A的网络质量数据,同时终端网络切换至网络B,网络B正常工作,采集网络B的网络质量数据;下午十二点到两点为第三时间段,商场5楼使用网络B的用户增多,网络B出现故障例如掉话,采集网络B的网络质量数据,该终端切换至网络A,采集网络A的网络质量数据,比较网络A和网络B的质量数据,再选取网络质量较好的网络A。这里,终 端可以利用GPS系统确定用户在该商场,还可以利用WiFi系统确定用户在该商场第5楼。如此,终端分别采集同一位置第一时间段、第二时间段以及第三时间段对应的网络A和网络B的网络质量数据,得到同一位置第一时间段、第二时间段以及第三时间段与网络A和网络B的质量参数的对应关系,得到网络切换规则。当该终端用户再在早上9点来到该商场5楼,所述终端根据第一时间段与位置信息匹配网络切换规则,确定在该位置第一时间段内网络B网络质量较优,所述终端自动切换到网络B。For example, an ESIM terminal user likes to hang out in a shopping mall all day long. The ESIM terminal signs up with network A and network B. The terminal uses network A by default when it is turned on. The first time period is from 8 am to 10 am. On the 5th floor of the mall, the terminal network A is working normally. The second time period is from 10 am to 12 am. The traffic on the 5th floor of the mall is increasing, and the terminal network A appears. Faults such as limited network speed, collect network quality data of network A, while the terminal network is switched to network B, network B works normally, and collect network quality data of network B; 12 to 2 pm is the third time period, the mall The number of users using network B increased on the fifth floor. If network B fails, such as dropped calls, the network quality data of network B is collected. The terminal switches to network A, collects the network quality data of network A, and compares the quality data of network A and network B. Then select network A with better network quality. Here, the terminal can use the GPS system to determine that the user is in the mall, and can also use the WiFi system to determine that the user is on the 5th floor of the mall. In this way, the terminal collects network quality data of the network A and network B corresponding to the first time period, the second time period, and the third time period of the same location, and obtains the first time period, the second time period, and the third time period of the same location. Correspondence with quality parameters of network A and network B to obtain network switching rules. When the end user came to the 5th floor of the mall again at 9 am, the terminal matched the network switching rules with the location information according to the first time period, and determined that the network B network quality was better in the first time period at the location. The terminal automatically switches to network B.
在上述发明实施例中,网络质量参数根据时间段进行了区分,针对于同一位置的不同时间段对应的网络质量数据,确定同一位置在不同时间段所对应的网络质量最优的网络,相当于在不同时间段内网络质量差异较大的位置,如人流量较大的商场、医院等而言,能进一步精确网络切换的条件,提高网络切换的准确率,提高用户体验。In the above embodiment of the invention, the network quality parameters are differentiated according to time periods. For the network quality data corresponding to different time periods at the same location, determining the network with the best network quality at the same location in different time periods is equivalent to In locations with large differences in network quality in different time periods, such as shopping malls and hospitals with large human traffic, the conditions for network switching can be further refined, the accuracy of network switching can be improved, and the user experience can be improved.
在一个实施例中,所述根据所述当前位置信息与网络切换规则进行匹配之前,还包括:检测与所述当前位置信息对应的网络质量数据;将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则。In an embodiment, before the matching with the network switching rule according to the current location information, the method further includes: detecting network quality data corresponding to the current location information; and combining the current location information and the current time information. And the network quality data is stored in a network distribution database, and a network switching rule is created or updated based on the network distribution database.
这里,网络质量数据是指表征当前终端连接网络的网络质量的相关参数。网络分布数据库是指按位置信息和时间信息分类的网络参数的数据库。终端将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至网络分布数据库是指:在网络分布数据库中查找与当前位置信息对应的位置信息以及与当前时间信息对应的时间信息,将网络质量数据更新到网络分布数据库中位置信息与时间信息相对应的网络质量数据,或者在网络分布数据库中增加当前位置信息、当前时间信息以及网络质量数据,并将所述增加的当前位置信息、当前时间信息以及网络质量数量进行关联存储。基于网络分布数据库创建网络切换规则是指:根据网络分布数据库新增的 位置信息、时间信息及网络质量数据,创建时间信息、位置信息以及网络参数的对应关系。因此,本申请实施例所提供的网络切换方法,可以通过智能收集历史网络质量数据以及对应的时间信息、位置信息,形成网络分布数据库,可以基于网络分布数据库通过智能学习分析能够得到并实时更新用于反映当前位置、时间所对应网络的质量的网络切换规则,其中,更新网络切换规则是指根据网络分布数据库中更新时间信息和位置信息所对应的网络质量数据,重新确定与所述时间信息、位置信息对应的网络质量参数。Here, the network quality data refers to related parameters that characterize the network quality of the current terminal connected to the network. The network distribution database refers to a database of network parameters classified by location information and time information. The terminal storing the current location information, the current time information, and the network quality data in a network distribution database refers to searching for the location information corresponding to the current location information and the time information corresponding to the current time information in the network distribution database. Update network quality data to network quality data corresponding to location information and time information in a network distribution database, or add current location information, current time information, and network quality data to the network distribution database, and add the increased current location Information, current time information, and network quality are stored in association. Creating a network switching rule based on a network distribution database refers to creating a correspondence between time information, location information, and network parameters based on the newly added location information, time information, and network quality data of the network distribution database. Therefore, the network switching method provided in the embodiment of the present application can form a network distribution database by intelligently collecting historical network quality data and corresponding time information and location information, and can be obtained and updated in real time by intelligent learning analysis based on the network distribution database. A network switching rule reflecting the quality of the network corresponding to the current location and time, wherein updating the network switching rule refers to re-determining the time information, the network quality data corresponding to the updated time information and location information in the network distribution database, Network quality parameters corresponding to the location information.
例如,在某新建小区某时段,覆盖网络运营商网络A和网络运营商网络B。用户终端开机默认连接网络A,由于在该小区运营商网络A基础设施不完善,导致网络A出现网络故障,而运营商网络B基础设施完善,网络B网络质量较优,终端采集在该小区该时段网络A和网络B的网络质量数据,得到该时间段内该位置与网络A和网络B的网络质量参数对应关系,确定网络切换规则。当用户再次在特定时段来到这个小区,自动触发切换流程,所述终端网络切换到网络B。但是,网络A的运营商为改变这个小区网络A的网络质量,增设基础设施,网络A的网络质量有明显提高,优于网络B。当用户再次在某时段来到该小区,终端采集网络A的网络质量数据,更新至网络分布数据库中,再次得到该时间段内该位置与网络A和网络B的网络质量参数对应关系,确定新的网络切换规则。当用户再次在特定时段来到这个小区,自动触发切换流程,所述终端网络还是连接网络A。For example, during a certain period of time in a newly built cell, the network operator network A and the network operator network B are covered. The user terminal is connected to network A by default when starting up. Due to the imperfect infrastructure of the operator's network A in this cell, network A has a network failure, while the operator's network B has the perfect infrastructure and the network B's network quality is better. The network quality data of the network A and the network B during the time period, and the correspondence relationship between the position and the network quality parameters of the network A and the network B during the time period is obtained, and the network switching rule is determined. When the user comes to this cell again in a certain period of time, the handover procedure is automatically triggered, and the terminal network switches to network B. However, in order to change the network quality of the community network A, the operator of network A adds infrastructure, and the network quality of network A is significantly improved, which is better than that of network B. When the user comes to the cell again in a certain period of time, the terminal collects the network quality data of network A, updates it to the network distribution database, and again obtains the corresponding relationship between the location and the network quality parameters of network A and network B during this time period, and determines the new Network switching rules. When the user comes to this cell again in a certain period of time, the handover procedure is automatically triggered, and the terminal network is still connected to the network A.
在上述发明实施例中,所述终端通过采集当前网络的网络质量数据,更新至网络分布数据库,通过网络分布数据库的实时更新,对网络切换规则进行修正,终端能够基于修正后的网络切换规则准确进行网络切换或者提前预判网络质量的变化,进一步确保网络切换的准确率。In the above-mentioned embodiment of the invention, the terminal collects network quality data of the current network, updates it to a network distribution database, and corrects the network switching rule through real-time updating of the network distribution database. The terminal can accurately calculate the network switching rule based on the modification Perform network switching or predict network quality changes in advance to further ensure the accuracy of network switching.
在一个实施例中所述将所述当前位置信息、所述当前时间信息及所述 网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则,包括:将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至服务端的网络分布数据库,并接收服务端发送基于所述网络分布数据库创建或更新网络切换规则。In one embodiment, storing the current location information, the current time information, and the network quality data in a network distribution database, and creating or updating a network switching rule based on the network distribution database includes: The location information, the current time information, and the network quality data are stored in a network distribution database on the server side, and the server is sent to create or update a network switching rule based on the network distribution database.
这里,所述当前位置信息、所述当前时间信息及所述网络质量数据存储至服务端的网络分布数据库是指网络分布数据库位于服务端,由多个终端向服务端上传各自采集的时间信息、位置信息以及网络质量数据形成大型的网络分布数据库,并存储在服务端;或者单个终端将当前时间段内终端采集当前位置的网络质量数据打包发送到服务器的网络分布数据库中,更新网络分布数据库相应的内容。所述接收服务端发送基于所述网络分布数据库创建或更新网络切换规则是指:服务端根据网络分布数据库的内容,创建或者更新时间、位置以及网络质量参数的对应关系即网络切换规则,当所述终端在当前时间位于当前位置时接收服务器发送的对应的网络切换规则。Here, the network distribution database where the current location information, the current time information, and the network quality data are stored in the server means that the network distribution database is located on the server, and multiple terminals upload the time information and location collected by the server to the server. The information and network quality data form a large network distribution database and are stored on the server; or a single terminal packages the network quality data of the current location collected by the terminal within the current time period and sends it to the server's network distribution database, and updates the corresponding network distribution database. content. The receiving server sends to create or update a network switching rule based on the network distribution database means that the server creates or updates the corresponding relationship between time, location, and network quality parameters, that is, the network switching rule according to the content of the network distribution database. It describes the corresponding network handover rule sent by the server when the terminal is located at the current position at the current time.
例如,某地区某个大型的商场或者广场,有很多人都特别喜欢去。存在多个运营商的网络覆盖。比如运营商网络A和运营商网络B。在下午某个时间段时,该区域出现大部分终端使用网络A,导致网络A出现拥堵现象,终端使用时出现网络故障,例如掉话、网速变慢等情况,然而网络B并未出现此种情况。在该时段时部分用户采集了该区域网络A和网络B的网络分布数据,并将该区域的位置信息、时间信息以及网络质量数据打包发送给服务器,服务器将该数据包进行解析,将解析内容相应的存储和归类到网络分布数据库,服务器根据网络分布数据库确立该区域在该时间的网络切换规则,确定在该时间位于该位置的终端应该连接网络B。终端支持同步服务端数据的功能且默认开机连接网络A,在在特定时段进入该区域后,该终端同步服务端的网络分布数据库和网络切换规则,自动触发网 络切换流程,网络切换到网络B。For example, in a large shopping mall or square in a certain area, many people especially like to go. There are network coverage of multiple operators. For example, operator network A and operator network B. At a certain time in the afternoon, most terminals in this area use Network A, causing congestion in Network A, and network failures during terminal use, such as dropped calls and slower network speeds, but this does not occur in Network B. Situation. During this period, some users collected the network distribution data of network A and network B in the area, and sent the location information, time information, and network quality data of the area to the server. The server parsed the data packet and analyzed the content. Correspondingly, it is stored and classified into the network distribution database. The server establishes a network switching rule for the area at that time according to the network distribution database, and determines that the terminal located at the location at that time should be connected to the network B. The terminal supports the function of synchronizing server data and defaults to connect to network A. After entering the area during a certain period of time, the terminal synchronizes the server's network distribution database and network switching rules, automatically triggers the network switching process, and the network switches to network B.
在上述发明实施例中,终端将采集到包含时间的网络分布数据发送至服务器,也能接收服务器发送的网络切换规则,从而有效地大量保存包含时间信息的历史数据,并且服务器还可以接受其他终端发送的相关历史数据,能丰富网络分布数据库内容,通过大量数据支持,使得形成的网络切换规则更加准确,从而能精确决策出某段时间某个位置的网络质量较优,进而提高终端的网络质量。In the above embodiment of the invention, the terminal sends the collected network distribution data including time to the server, and can also receive the network switching rules sent by the server, thereby effectively saving a large amount of historical data containing time information, and the server can also accept other terminals The related historical data sent can enrich the content of the network distribution database. With the support of a large amount of data, the formed network switching rules are more accurate, so that it can accurately determine that the network quality at a certain location is better for a certain period of time, thereby improving the network quality of the terminal. .
在一个实施例中,所述将所述当前位置信息及所述网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则,包括:将所述当前位置信息及所述网络质量数据存储至服务端的网络分布数据库,并接收服务端发送基于所述网络分布数据库创建或更新网络切换规则。In one embodiment, storing the current location information and the network quality data in a network distribution database, and creating or updating a network switching rule based on the network distribution database includes: storing the current location information and the network location data. The network quality data is stored in the network distribution database of the server, and the server sends a network switching rule based on the network distribution database to be created or updated.
终端将所述当前位置信息及所述网络质量数据存储至服务端的网络分布数据库是指:服务端根据网络分布数据库的内容,创建或者更新位置以及网络质量参数的对应关系即网络切换规则。当所述终端位于当前位置时接收服务器发送的对应的网络切换规则。基于网络分布数据库创建网络切换规则是指:根据网络分布数据库新增的位置信息和网络质量数据,创建位置信息和网络参数的对应关系。基于网络分布数据库更新网络切换规则是指根据网络分布数据库中更新时间信息和位置信息所对应的网络质量数据,重新确定位置信息和网络参数的对应关系。The terminal storing the current location information and the network quality data in the network distribution database of the server means that the server creates or updates the correspondence relationship between the location and the network quality parameter, that is, the network switching rule according to the content of the network distribution database. Receiving the corresponding network switching rule sent by the server when the terminal is located at the current position. Creating a network switching rule based on the network distribution database refers to: creating a correspondence between the location information and the network parameters according to the newly added location information and network quality data of the network distribution database. Updating the network switching rule based on the network distribution database refers to re-determining the correspondence between the location information and the network parameters according to the network quality data corresponding to the updated time information and location information in the network distribution database.
例如,某地区某个大型的商场或者广场,有很多人都特别喜欢去。存在多个运营商的网络覆盖。比如运营商网络A和运营商网络B。该区域出现大部分终端使用网络A,少部分终端使用网络B,导致网络A出现拥堵现象,终端使用时出现网络故障,例如掉话、网速变慢等情况,然而网络B并未出现此种情况。用户分别采集了该区域网络A和网络B的网络分布数 据,并将该区域的位置信息以及网络质量数据打包发送给服务器,服务器将该数据包进行解析,将解析内容相应的存储和归类到网络分布数据库,服务器根据网络分布数据库确立该区域的网络切换规则,确定位于该位置的终端应该连接网络B。终端支持同步服务端数据的功能且默认开机连接网络A,在终端再次进入该区域后,该终端同步服务端的网络分布数据库和网络切换规则,自动触发网络切换流程,终端连接网络切换到网络B。For example, in a large shopping mall or square in a certain area, many people especially like to go. There are network coverage of multiple operators. For example, operator network A and operator network B. Most of the terminals in this area use Network A, and a small number of terminals use Network B, resulting in network A congestion. When the terminal is in use, there is a network failure, such as dropped calls and slow Internet speeds. However, this does not happen on Network B. Happening. The user collected the network distribution data of network A and network B in the area, and sent the location information and network quality data of the area to the server. The server parsed the data packet, and stored and classified the analysis content accordingly. A network distribution database. The server establishes a network switching rule for the area according to the network distribution database, and determines that the terminal located at the location should be connected to the network B. The terminal supports the function of synchronizing server data and connects to network A by default. After the terminal enters the area again, the terminal synchronizes the server's network distribution database and network switching rules, automatically triggers the network switching process, and the terminal connects the network to network B.
在上述发明实施例中,所述终端将采集到包含时间的网络分布数据发送至服务器,也能接收服务器发送的网络切换规则,从而有效地大量保存历史数据,形成丰富的网络分布数据库,不断更新网络切换规则,进而提高终端的网络质量。同时,即使该终端损坏,也能从服务器中下载网络分布数据库及网络切换规则。In the above-mentioned embodiment of the invention, the terminal sends the collected network distribution data including time to the server, and can also receive network switching rules sent by the server, thereby effectively saving a large amount of historical data, forming a rich network distribution database, and constantly updating. Network switching rules, thereby improving the network quality of the terminal. At the same time, even if the terminal is damaged, the network distribution database and network switching rules can be downloaded from the server.
在一个实施例中,所述根据所述目标网络参数中的网络标识参数查找对应的profile,将当前网络切换到所述profile对应的网络,包括:根据所述目标网络参数中的网络标识参数,查询与所述网络标识参数相对应的profile;根据预置的搜网列表,所述终端切换到所述profile对应的网络,所述搜网列表至少包括所述终端中profile对应常用的公共陆地移动网络PLMN。In one embodiment, the searching for a corresponding profile according to the network identification parameter in the target network parameter and switching the current network to the network corresponding to the profile includes: according to the network identification parameter in the target network parameter, Query the profile corresponding to the network identification parameter; according to a preset network search list, the terminal switches to the network corresponding to the profile, and the network search list includes at least the public land mobile corresponding to the profile in the terminal Network PLMN.
其中,所述终端可预置多个profile的搜网列表,所述搜网列表即profile历史搜网记录,主要包括PLMN(Public Land Mobile Network,公共陆地移动网络)参数,例如MCC、MNC以及频点信息等。在根据激活的profile查找相应的网络时,匹配预置的搜网列表,可以提升找网速度。The terminal may preset a network search list of multiple profiles, and the network search list is a profile historical network search record, which mainly includes parameters of Public Land Mobile Network (PLMN), such as MCC, MNC, and frequency. Point information, etc. When searching the corresponding network according to the activated profile, matching the preset network search list can increase the speed of network search.
在一个实施例中,所述网络切换方法还可以包括:在所述步骤201,检测所述终端的当前位置信息包括:获取设定的规划路线,根据所述设定的规划路线确定所述终端的位置信息;根据所述位置信息匹配网络切换规则,确定匹配网络质量符合设定条件的目标网络参数。如此,可以提前规划出 指定路线中终端沿途所需连接网络。该方法节约了流量,节约了时间,提高了网络切换效率。In one embodiment, the network switching method may further include: in step 201, detecting the current location information of the terminal includes: acquiring a set planned route, and determining the terminal according to the set planned route According to the location information, a network switching rule is matched to determine a target network parameter whose matching network quality meets a set condition. In this way, it is possible to plan in advance the network to be connected by the terminals along the specified route. This method saves traffic, saves time, and improves network switching efficiency.
发明实施例另一方面,还提供一种网络切换装置,请参阅图3,所述装置包括数据采集处理模块301、网络切换决策及判定模块302、以及网络切换管理模块303,其中,In another aspect of the embodiments of the present invention, a network switching device is also provided. Referring to FIG. 3, the device includes a data collection processing module 301, a network switching decision and determination module 302, and a network switching management module 303.
所述数据采集处理模块301,配置为检测所述终端的当前位置信息;The data acquisition processing module 301 is configured to detect current location information of the terminal;
所述网络切换决策及判定模块302,配置为根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数;The network handover decision and determination module 302 is configured to match the network handover rules with the current location information to determine the target network parameters that match the network quality that meets the set conditions. The network handover rules include location information and network parameters. Correspondence, the network parameters include network quality parameters and network identification parameters determined based on historical network quality data;
所述网络切换管理模块303,配置为根据所述目标网络参数中的网络标识参数查找对应的profile,将当前网络切换到所述profile对应的网络。The network switching management module 303 is configured to find a corresponding profile according to a network identification parameter in the target network parameters, and switch the current network to a network corresponding to the profile.
在一个实施例中,所述数据采集处理模块301,配置为检测所述终端的当前时间信息;In one embodiment, the data acquisition processing module 301 is configured to detect current time information of the terminal;
所述网络切换决策及判定模块302,配置为根据所述当前位置信息与网络切换规则进行匹配,确定与所述当前时间信息对应的时间段内网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息和时间信息与网络参数对应关系,所述网络参数包括基于历史时间所对应网络质量数据确定网络质量参数和网络标识参数。The network switching decision and determination module 302 is configured to match a network switching rule with the current location information to determine a target network parameter in which a network quality meets a set condition within a time period corresponding to the current time information. The network switching rule includes a correspondence between location information and time information and network parameters. The network parameters include determining network quality parameters and network identification parameters based on network quality data corresponding to historical time.
在一个实施例中,所述数据采集处理模块301,配置为检测与所述当前位置信息对应的网络质量数据;将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至网络分布数据库;In one embodiment, the data acquisition processing module 301 is configured to detect network quality data corresponding to the current location information; and store the current location information, the current time information, and the network quality data on a network Distributed database
所述网络切换决策及判定模块302,配置为基于所述网络分布数据库创建或更新网络切换规则。The network switching decision and determination module 302 is configured to create or update a network switching rule based on the network distribution database.
在一个实施例中,所述数据采集处理模块301,配置为将所述当前位置 信息、所述当前时间信息及所述网络质量数据存储至服务端的网络分布数据库,并接收服务端发送基于所述网络分布数据库创建或更新网络切换规则。In one embodiment, the data collection and processing module 301 is configured to store the current location information, the current time information, and the network quality data in a network distribution database on the server side, and receive the server side based on the sending The network distribution database creates or updates network switching rules.
在一个实施例中,所述数据采集处理模块301,配置为检测与所述当前位置信息对应的网络质量数据;将所述当前位置信息及所述网络质量数据存储至网络分布数据库;In one embodiment, the data collection processing module 301 is configured to detect network quality data corresponding to the current location information; store the current location information and the network quality data in a network distribution database;
所述网络切换决策及判定模块302,配置为基于所述网络分布数据库创建或更新网络切换规则。The network switching decision and determination module 302 is configured to create or update a network switching rule based on the network distribution database.
在一个实施例中,所述数据采集处理模块301,配置为将所述当前位置信息及所述网络质量数据存储至服务端的网络分布数据库,并接收服务端发送基于所述网络分布数据库创建或更新网络切换规则。In one embodiment, the data collection and processing module 301 is configured to store the current location information and the network quality data in a network distribution database on the server side, and receive the server side to create or update based on the network distribution database. Network switching rules.
在一个实施例中,所述网络切换管理模块303,配置为根据所述目标网络参数中的网络标识参数,查询与所述网络标识参数相对应的profile;根据预置的搜网列表,所述终端切换到所述profile对应的网络,所述搜网列表至少包括所述终端中profile对应常用的公共陆地移动网络PLMN。In one embodiment, the network switching management module 303 is configured to query a profile corresponding to the network identification parameter according to a network identification parameter in the target network parameter; according to a preset network search list, the The terminal switches to the network corresponding to the profile, and the network search list includes at least the profile in the terminal corresponding to a commonly used public land mobile network PLMN.
为能够理解对网络分布数据采集的工作流程,以服务器采集模式为例,对网络分布数据采集进行进一步描述,请结合图4,为网络分布数据采集流程具体实现方法,具体步骤包括:In order to understand the work flow of network distributed data collection, taking server acquisition mode as an example, the network distribution data collection is further described. Please refer to FIG. 4 for the specific implementation method of the network distribution data collection process. The specific steps include:
步骤401,检测到激活ESIM卡上一个profile的指令,激活profile,接入对应的网络;Step 401, detecting an instruction to activate a profile on the ESIM card, activating the profile, and accessing a corresponding network;
其中,profile可以为用户默认配置或者用户通过LPA(Local Profile Assistant,本地配置文件助理)从profile列表中选择的。Among them, the profile may be configured by the user by default or selected by the user from the profile list through LPA (Local Profile Assistant).
步骤402,判断是否同步profile对应的网络分布数据。若选择同步网络分布数据库,接收服务器发送的ESIM卡上所有profile对应网络分布数据库的条目信息;Step 402: Determine whether the network distribution data corresponding to the profile is synchronized. If you choose to synchronize the network distribution database, receive the entry information of the network distribution database corresponding to all profiles on the ESIM card sent by the server;
其中,请参阅图5,所述网络分布数据库的条目信息内容500至少包括:条目索引501、网络标识502、位置信息503、通讯故障类型504、发生故障的时间信息505、以及各故障发生的次数506。具体地,网络标识502为网络的MCC和MNC参数;位置信息503至少包括小区信息及GPS信息;网络分布数据包含的通讯故障类型504至少包括掉话、网速受限、信号质量差等故障。Among them, please refer to FIG. 5. The entry information content 500 of the network distribution database includes at least: an entry index 501, a network identifier 502, a location information 503, a communication failure type 504, a time information of a failure 505, and a number of occurrences of each failure 506. Specifically, the network identifier 502 is the MCC and MNC parameters of the network; the location information 503 includes at least cell information and GPS information; and the communication failure type 504 included in the network distribution data includes at least call drop, limited network speed, and poor signal quality.
这里需要说明的是网络通讯故障类型通常通过信号质量参数来判断。所述信号质量参数包括信号强度、网络速率等。What needs to be explained here is that the type of network communication fault is usually judged by the signal quality parameters. The signal quality parameters include signal strength, network rate, and the like.
步骤403,启动网络采集服务进程,负责收集网络分布数据;Step 403: Start a network collection service process, which is responsible for collecting network distribution data.
这里,所述网络分布数据包括位置信息、时间信息、网络标识以及网络质量数据等。Here, the network distribution data includes location information, time information, network identification, and network quality data.
步骤404,检测到网络通讯故障;Step 404, a network communication failure is detected;
步骤405,将当前网络分布数据相应的写入本地网络分布数据库,所述网络分布数据包括网络标识的MCC和MNC、信号质量参数、小区基站的标识、时间信息以及地理位置信息等;Step 405: Write the current network distribution data into the local network distribution database, where the network distribution data includes the MCC and MNC of the network identifier, the signal quality parameters, the identity of the cell base station, time information, and geographic location information.
步骤406,将通讯故障原因及故障发生的次数,写入网络分布数据库;Step 406, write the cause of the communication failure and the number of occurrences of the failure into the network distribution database;
这里需要说明的是,故障发生的次数应该累加到原有故障发生的次数上。What needs to be explained here is that the number of failures should be added to the number of original failures.
步骤407,获取采用服务器采集数据模式的指令,将收集的更新条目信息,打包发送给网络分布数据采集服务器;Step 407: Obtain an instruction to adopt a server data collection mode, and package the collected updated entry information and send it to the network distributed data collection server;
步骤408,服务器收到数据后进行按照规则进行归类和存贮,所述规则可以为网络标识或者位置信息。Step 408: After receiving the data, the server performs classification and storage according to a rule, which may be a network identifier or location information.
具体地,后台服务器通过大数据处理,提炼出各个运营商网络分布特点,筛选和处理容易重现通讯故障的位置和时间,形成后台统一管理的网络分布数据库。根据终端不断采集网络数据,不断地创建或更新网络分布 数据库的条目信息。Specifically, the background server extracts the network distribution characteristics of each operator through big data processing, screens and processes the locations and times that can easily reproduce the communication failure, and forms a network distribution database that is uniformly managed in the background. According to the terminal's continuous collection of network data, the entry information of the network distribution database is constantly created or updated.
本申请实施例中,所述终端通过采集终端的网络分布数据,再匹配基于网络分布数据库建立的网络切换规则,寻找出目的网络,最后激活目的网络对应的profile,将该终端切换到目的网络。该装置实现了自动切换网络的功能,提高了终端使用的网络质量。In the embodiment of the present application, the terminal collects network distribution data of the terminal, matches network switching rules established based on the network distribution database, finds a destination network, and finally activates a profile corresponding to the destination network to switch the terminal to the destination network. The device realizes the function of automatically switching networks and improves the network quality used by the terminal.
本申请实施例另一方面,还提供一种网络切换装置,请参阅图6,所述装置还包括网络切换设置模块304以及网络切换显示模块305,其中,In another aspect of the embodiments of the present application, a network switching device is also provided. Referring to FIG. 6, the device further includes a network switching setting module 304 and a network switching display module 305.
网络切换设置模块304,用于设置是否启用网络切换功能,以及数据库的使用选择哪种模式。The network switching setting module 304 is used to set whether to enable the network switching function and select a mode for use of a database.
具体地,数据库的使用模式有本地模式和服务器模式,所述本地采集模式是指单个终端采集网络分布数据,创建或更新本地网络分布数据库。所述服务器采集模式是指各个终端采集网络分布数据之后,上传到服务器,创建或更新服务器中的网络分布数据库。若所述终端采用本地模式进行网络切换,即采用该终端收集的网络分布数据,确定网络切换规则,进行网络切换;若所述终端采用服务器模式,即采用后台服务器收集的网络分布数据,确定网络切换规则,进行网络切换,同时还需选择是否接收服务器推送的更新网络分布数据,以及是否上报该终端收集的网络分布数据。Specifically, the database usage mode includes a local mode and a server mode. The local collection mode refers to a single terminal collecting network distribution data and creating or updating a local network distribution database. The server acquisition mode means that after each terminal collects network distribution data, it uploads to the server and creates or updates a network distribution database in the server. If the terminal uses the local mode for network switching, the network distribution data collected by the terminal is used to determine the network switching rules and the network switching is performed; if the terminal uses the server mode, the network distribution data collected by the background server is used to determine the network. Switching rules for network switching. At the same time, it is also necessary to choose whether to receive updated network distribution data pushed by the server and whether to report the network distribution data collected by the terminal.
网络切换显示模块305,用于选择网络切换模式,提示切换信息。The network switching display module 305 is configured to select a network switching mode and prompt switching information.
其中,网络切换模式可以设置为自动模式和手动模式,当网络切换决策及判定模块302查找出目标网络,若用户选择自动模式,则自动触发网络切换流程,网络切换显示模块305上会有提示信息;若用户选择手动模式,则每次是否触发网络切换流程需要根据用户选择来进行,网络切换显示模块305显示是否进行网络切换的选项以及故障类型。Among them, the network switching mode can be set to automatic mode and manual mode. When the network switching decision and determination module 302 finds the target network, if the user selects the automatic mode, the network switching process is automatically triggered, and a message will be displayed on the network switching display module 305. If the user selects the manual mode, whether the network switching process is triggered every time needs to be performed according to the user selection, and the network switching display module 305 displays an option of whether to perform a network switching and a fault type.
本申请上述实施例中,通过采用网络切换设置模块304设置本地模式和服务器模式,让用户自由选择是否上传网络分布数据,能更好的保护用 户的数据隐私。采用网络切换显示模块305,显示提示信息让用户自由判断是否切换网络,提高用户体验。In the above embodiment of the present application, the network switching setting module 304 is used to set the local mode and the server mode, so that the user can freely choose whether to upload network distribution data, which can better protect the data privacy of the user. The network switching display module 305 is used to display the prompt information to allow the user to freely judge whether to switch the network and improve the user experience.
为了能够对本申请实施例所提供的网络切换方法的理解,以具有ESIM模块的终端自动切换网络,网络分布数据库的使用采用服务器模式,采用自动切换模式为例,请参阅图7,在终端实现网络切换的步骤包括:In order to understand the network switching method provided by the embodiment of the present application, a terminal with an ESIM module is used to automatically switch the network. The use of the network distribution database uses the server mode and the automatic switching mode is used as an example. Please refer to FIG. The steps for switching include:
步骤701,检测到激活ESIM卡上一个profile的指令,激活profile,接入对应的网络;Step 701: Detect an instruction to activate a profile on the ESIM card, activate the profile, and access the corresponding network;
其中,profile可以为用户默认配置或者用户通过LPA(Local Profile Assistant,本地配置文件助理)从profile列表中选择的。Among them, the profile may be configured by the user by default or selected by the user from the profile list through LPA (Local Profile Assistant).
步骤702,判断是否同步profile的网络分布数据。若选择服务器模式,所述终端若选择同步网络分布数据库,接收服务器发送的ESIM卡上所有profile对应网络分布数据库的条目信息;Step 702: Determine whether to synchronize the network distribution data of the profile. If the server mode is selected, if the terminal chooses to synchronize the network distribution database, the terminal receives the entry information of all the profiles on the ESIM card corresponding to the network distribution database;
步骤703,若选择本地模式,则默认启用本地网络分布数据库;Step 703: If the local mode is selected, the local network distribution database is enabled by default;
步骤704,进入网络切换决策及判定服务;Step 704: Enter the network switching decision and decision service;
步骤705,读取激活的Profile网络分布数据库,并加载到判定服务进程,;Step 705: Read the activated profile network distribution database and load it into the determination service process;
步骤706,在判定服务进程中进行周期性的检测和匹配,当判定用户终端的当前位置和对应的网络分布数据规则匹配时,触发终端网络切换功能;Step 706: Periodic detection and matching are performed in the determination service process. When it is determined that the current location of the user terminal matches the corresponding network distribution data rule, the terminal network switching function is triggered;
步骤707,匹配网络规则,可采用网络标识、位置信息以及时间信息等条件匹配网络切换规则,查找到目的网络。In step 707, the network rules are matched, and conditions such as network identification, location information, and time information may be used to match the network switching rules to find the destination network.
这里,考虑到终端的工作效率与性能问题,所述终端可采用周期性检测和匹配网络切换规则,也可采用每到一个新位置就匹配网络切换规则。所述网络切换规则是根据网络分布数据库采用机器学习的方法训练出来的决策库,同时根据当前网络质量数据进行修正。所述匹配除了可以按照位置信息来匹配,也可以是根据当前网络标识与位置信息共同匹配,又可以 是根据位置信息与时间信息来匹配,又可以是当前网络标识、位置信息与时间信息来匹配。匹配算法可以采用匹配规则算法或者智能学习算法。Here, in consideration of the working efficiency and performance issues of the terminal, the terminal may adopt periodic detection and matching of network switching rules, or may match network switching rules every time a new location is reached. The network switching rule is a decision database trained by a machine learning method according to a network distribution database, and is modified according to current network quality data. In addition to matching according to the location information, the matching may be based on the current network identifier and location information, or the location information and time information, or the current network identifier, location information, and time information. . The matching algorithm can be a matching rule algorithm or an intelligent learning algorithm.
步骤708,查找到目的网络之后,,选择网络切换模式,并提示切换信息。Step 708: After finding the destination network, select a network switching mode and prompt for switching information.
步骤709,选定网络切换模式后,,根据目的网络查找所述终端中对应的profile,将当前激活的profile去激活以及激活目的profile,将当前网络切换到待激活profile对应的网络。Step 709: After the network switching mode is selected, search the corresponding profile in the terminal according to the destination network, deactivate the currently activated profile and activate the destination profile, and switch the current network to the network corresponding to the profile to be activated.
步骤710,切换过程优化。为了提升找网速度,终端可以预置多个Profile的搜网列表,在根据profile查找对应的网络时,匹配搜网列表,加速搜网的过程;Step 710: Optimize the handover process. In order to improve the speed of searching the network, the terminal can preset a network search list of multiple profiles, and when searching the corresponding network according to the profile, match the network search list to speed up the process of searching the network;
步骤711,切换过程完成,提示切换完成。终端的成功切换到目的网络上。In step 711, the handover process is completed, and it is prompted that the handover is complete. The terminal successfully switched to the destination network.
本申请实施中,终端通过选择本地模式或者服务器模式,获取网络分布数据库,基于网络分布数据库,创建或更新网络切换规则,采用位置信息匹配网络切换规则,确定目的网络,从而智能判断出最优网络;为加快网络切换过程,根据预置搜网列表,profile快速匹配网络。In the implementation of this application, the terminal obtains a network distribution database by selecting a local mode or a server mode, creates or updates a network switching rule based on the network distribution database, uses location information to match the network switching rule, determines the destination network, and intelligently determines the optimal network ; In order to speed up the network switching process, according to the preset network search list, the profile quickly matches the network.
本申请实施例另一方面,还提供一种终端,请参阅图8,所述终端800至少包括至少一个处理器801和至少一个存储器805。其中,所述存储器805包括用于存储能够在处理器801上运行的计算机程序,其中,所述处理器801用于运行所述计算机程序时,执行:一种网络切换的方法,所述方法包括:检测所述终端的当前位置信息;根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数;根据所述目标网络参数中的网络标识参数查找对应的profile,将当前网络切换到所述 profile对应的网络。In another aspect of the embodiments of the present application, a terminal is also provided. Referring to FIG. 8, the terminal 800 includes at least one processor 801 and at least one memory 805. The memory 805 includes a computer program capable of running on the processor 801. When the processor 801 is used to run the computer program, the memory 805 executes a method for network switching, and the method includes Detecting the current location information of the terminal; matching the network location rule with the current location information to determine a target network parameter that matches the network quality that meets the set conditions, and the network switching rule includes the correspondence between the location information and the network parameter The network parameter includes a network quality parameter and a network identification parameter determined based on historical network quality data; searching for a corresponding profile according to the network identification parameter in the target network parameter, and switching the current network to a network corresponding to the profile.
所述处理器801还用于运行所述计算机程序时,执行:检测所述终端的当前时间信息;所述根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数,包括:根据所述当前位置信息与网络切换规则进行匹配,确定与所述当前时间信息对应的时间段内网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息和时间信息与网络参数对应关系,所述网络参数包括基于历史时间所对应网络质量数据确定的网络质量参数和网络标识参数。The processor 801 is further configured to, when running the computer program, execute: detecting current time information of the terminal; matching with a network switching rule according to the current location information, and determining that the matched network quality meets a set condition Target network parameters, the network switching rule includes a correspondence between location information and network parameters, and the network parameters include network quality parameters and network identification parameters determined based on historical network quality data, including: switching with the network according to the current location information Matching rules to determine target network parameters whose network quality meets a set condition within a time period corresponding to the current time information, the network switching rule includes a correspondence between location information and time information and network parameters, and the network parameters include The network quality parameters and network identification parameters determined by the network quality data corresponding to the historical time.
所述处理器801还用于运行所述计算机程序时,执行:所述根据所述当前位置信息与网络切换规则进行匹配之前,还包括:检测与所述当前位置信息对应的网络质量数据;将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则。The processor 801 is further configured to, when running the computer program, execute: before the matching with the network switching rule according to the current location information, the method further includes: detecting network quality data corresponding to the current location information; The current location information, the current time information, and the network quality data are stored in a network distribution database, and a network switching rule is created or updated based on the network distribution database.
所述处理器801还用于运行所述计算机程序时,执行:所述将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则,包括:将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至服务端的网络分布数据库,并接收服务端发送基于所述网络分布数据库创建或更新网络切换规则。The processor 801 is further configured to, when running the computer program, execute: storing the current location information, the current time information, and the network quality data in a network distribution database, and creating the network distribution database based on the network distribution database. Or updating a network switching rule, comprising: storing the current location information, the current time information, and the network quality data in a network distribution database on a server, and receiving a server sending to create or update a network switching based on the network distribution database rule.
所述处理器801还用于运行所述计算机程序时,执行:所述将所述当前位置信息及所述网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则,包括:将所述当前位置信息及所述网络质量数据存储至服务端的网络分布数据库,并接收服务端发送基于所述 网络分布数据库创建或更新网络切换规则。The processor 801 is further configured to, when running the computer program, execute: storing the current location information and the network quality data in a network distribution database, and creating or updating a network switching rule based on the network distribution database, The method includes: storing the current location information and the network quality data in a network distribution database of a server, and receiving a server sending to create or update a network switching rule based on the network distribution database.
所述处理器801还用于运行所述计算机程序时,执行:根据所述目标网络参数中的网络标识参数查找对应的profile,将当前网络切换到所述profile对应的网络,包括:根据所述目标网络参数中的网络标识参数,查询与所述网络标识参数相对应的profile;根据预置的搜网列表,所述终端切换到所述profile对应的网络,所述搜网列表至少包括所述终端中profile对应常用的公共陆地移动网络PLMN。The processor 801 is further configured to, when running the computer program, execute: searching for a corresponding profile according to a network identification parameter in the target network parameter, and switching a current network to a network corresponding to the profile, including: according to the The network identification parameter in the target network parameter queries a profile corresponding to the network identification parameter; according to a preset network search list, the terminal switches to a network corresponding to the profile, and the network search list includes at least the The profile in the terminal corresponds to the commonly used public land mobile network PLMN.
可选的,所述终端800还包括通信总线802、用户接口803、外部通信接口804以及ESIM模块806。其中,通信总线802配置为实现这些组件之间的连接通信,用户接口803可以包括显示屏,外部通信接口804可以包括标准的有线接口和无线接口,ESIM模块806配置为实现所述终端800的所用运营商网络信息的写入。Optionally, the terminal 800 further includes a communication bus 802, a user interface 803, an external communication interface 804, and an ESIM module 806. The communication bus 802 is configured to implement connection and communication between these components. The user interface 803 may include a display screen, the external communication interface 804 may include a standard wired interface and a wireless interface, and the ESIM module 806 is configured to implement the use of the terminal 800. Writing of carrier network information.
本申请实施例再一方面,还提供一种计算机存储介质,所述计算机存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现本申请任一实施例提供的网络切换方法的步骤。In another aspect of the embodiments of the present application, a computer storage medium is also provided. The computer storage medium stores a computer program, and when the computer program is executed by a processor, implements steps of a network switching method provided by any embodiment of the present application. .
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of the present application is only for the purpose of describing specific embodiments, and is not intended to limit the present application. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。Those of ordinary skill in the art can understand that all or some of the steps, systems, and functional modules / units in the devices disclosed in the methods above can be implemented as software, firmware, hardware, and appropriate combinations thereof.
在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应In the hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond
于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。For the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by cooperation of several physical components. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile implemented in any method or technology used to store information such as computer-readable instructions, data structures, program modules or other data. Removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围以准。The above is only a specific implementation of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the protection scope of this application. The protection scope of this application shall be subject to the protection scope of the claims.

Claims (10)

  1. 一种网络切换的方法,应用于终端,所述方法包括:A network switching method is applied to a terminal, and the method includes:
    检测所述终端的当前位置信息;Detecting current location information of the terminal;
    根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数;Matching the current location information with a network switching rule to determine a target network parameter that matches the network quality that meets the set conditions, the network switching rule includes the correspondence between the location information and the network parameter, and the network parameter includes the historical network quality Network quality parameters and network identification parameters determined by the data;
    根据所述目标网络参数中的网络标识参数查找对应的用户配置文件profile,将当前网络切换到所述profile对应的网络。Searching for a corresponding user profile according to a network identification parameter in the target network parameters, and switching the current network to a network corresponding to the profile.
  2. 如权利要求1所述方法,其中,所述方法还包括:The method of claim 1, further comprising:
    检测所述终端的当前时间信息;Detecting current time information of the terminal;
    所述根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数,包括:Matching the network switching rule with the current location information to determine a target network parameter matching the network quality that meets the set conditions; the network switching rule includes a correspondence between the location information and the network parameter; The network quality parameters and network identification parameters determined by the network quality data include:
    根据所述当前位置信息与网络切换规则进行匹配,确定与所述当前时间信息对应的时间段内网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息和时间信息与网络参数对应关系,所述网络参数包括基于历史时间所对应网络质量数据确定的网络质量参数和网络标识参数。Matching the current location information with a network switching rule to determine a target network parameter whose network quality meets a set condition within a time period corresponding to the current time information, the network switching rule including location information, time information, and network parameters Correspondence, the network parameters include network quality parameters and network identification parameters determined based on network quality data corresponding to historical time.
  3. 如权利要求2所述方法,其中,所述根据所述当前位置信息与网络切换规则进行匹配之前,还包括:The method according to claim 2, wherein before the matching with a network switching rule according to the current location information, further comprising:
    检测与所述当前位置信息对应的网络质量数据;Detecting network quality data corresponding to the current location information;
    将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则。Storing the current location information, the current time information, and the network quality data in a network distribution database, and creating or updating a network switching rule based on the network distribution database.
  4. 如权利要求3所述方法,其中,所述将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则,包括:The method according to claim 3, wherein said storing the current location information, the current time information, and the network quality data to a network distribution database, and creating or updating a network switching rule based on the network distribution database, comprises: :
    将所述当前位置信息、所述当前时间信息及所述网络质量数据存储至服务端的网络分布数据库,并接收服务端发送基于所述网络分布数据库创建或更新网络切换规则。Storing the current location information, the current time information, and the network quality data in a network distribution database on a server side, and receiving a server end to send to create or update a network switching rule based on the network distribution database.
  5. 如权利要1所述方法,其中,所述根据所述当前位置信息与网络切换规则进行匹配之前,还包括:The method according to claim 1, wherein before the matching with a network switching rule according to the current location information, further comprising:
    检测与所述当前位置信息对应的网络质量数据;Detecting network quality data corresponding to the current location information;
    将所述当前位置信息及所述网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则。Storing the current location information and the network quality data in a network distribution database, and creating or updating a network switching rule based on the network distribution database.
  6. 如权利要求5所述方法,其中,所述将所述当前位置信息及所述网络质量数据存储至网络分布数据库,基于所述网络分布数据库创建或更新网络切换规则,包括:The method according to claim 5, wherein storing the current location information and the network quality data in a network distribution database and creating or updating a network switching rule based on the network distribution database comprises:
    将所述当前位置信息及所述网络质量数据存储至服务端的网络分布数据库,并接收服务端发送基于所述网络分布数据库创建或更新网络切换规则。Storing the current location information and the network quality data in a network distribution database of a server, and receiving a server sending to create or update a network switching rule based on the network distribution database.
  7. 如权利要求1所述方法,其中,所述根据所述目标网络参数中的网络标识参数查找对应的profile,将当前网络切换到所述profile对应的网络,,包括:The method according to claim 1, wherein said searching for a corresponding profile according to a network identification parameter in said target network parameters, and switching a current network to a network corresponding to said profile comprises:
    根据所述目标网络参数中的网络标识参数,查询与所述网络标识参数相对应的profile;Querying a profile corresponding to the network identification parameter according to the network identification parameter in the target network parameter;
    根据预置的搜网列表,所述终端切换到所述profile对应的网络,所述搜网列表至少包括所述终端中profile对应常用的公共陆地移动网络PLMN。According to a preset network search list, the terminal switches to a network corresponding to the profile, and the network search list includes at least the terminal in the terminal corresponding to a commonly used public land mobile network PLMN.
  8. 一种网络切换的装置,所述装置包括:A network switching device, the device includes:
    数据采集处理模块,配置为检测所述终端的当前位置信息;A data collection and processing module configured to detect current location information of the terminal;
    网络决策及判定模块,配置为根据所述当前位置信息与网络切换规则进行匹配,确定匹配的网络质量符合设定条件的目标网络参数,所述网络切换规则包括位置信息与网络参数对应关系,所述网络参数包括基于历史网络质量数据确定的网络质量参数和网络标识参数;The network decision and determination module is configured to match with the network switching rule according to the current location information, and determine a target network parameter whose matching network quality meets a set condition. The network switching rule includes a correspondence relationship between the location information and the network parameter. The network parameters include network quality parameters and network identification parameters determined based on historical network quality data;
    网络切换管理,配置为根据所述目标网络参数中的网络标识参数查找对应的profile,将当前网络切换到所述profile对应的网络。Network switching management is configured to find a corresponding profile according to a network identification parameter in the target network parameters, and switch the current network to a network corresponding to the profile.
  9. 一种终端,其中,所述终端包括处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,A terminal, wherein the terminal includes a processor and a memory for storing a computer program capable of running on the processor; wherein,
    所述处理器配置为运行所述计算机程序时,执行权利要求1至7中任一项所述网络切换方法。When the processor is configured to execute the computer program, the processor performs the network switching method according to any one of claims 1 to 7.
  10. 一种计算机存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一所述网络切换方法的步骤。A computer storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the network switching method according to any one of claims 1 to 7 are implemented.
PCT/CN2019/090733 2018-08-20 2019-06-11 Network switching method and apparatus, terminal and storage medium WO2020038076A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810949202.9A CN110856225A (en) 2018-08-20 2018-08-20 Network switching method, device, terminal and storage medium
CN201810949202.9 2018-08-20

Publications (1)

Publication Number Publication Date
WO2020038076A1 true WO2020038076A1 (en) 2020-02-27

Family

ID=69592370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/090733 WO2020038076A1 (en) 2018-08-20 2019-06-11 Network switching method and apparatus, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN110856225A (en)
WO (1) WO2020038076A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4145911A4 (en) * 2020-04-28 2023-12-06 Samsung Electronics Co., Ltd. Electronic device supporting plurality of sims and operating method therefor

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20205232A1 (en) * 2020-03-04 2021-09-05 Nokia Solutions & Networks Oy Machine learning based handover parameter optimization
CN111510909B (en) * 2020-03-10 2023-03-10 深圳市广和通无线股份有限公司 Communication module configuration processing method and device, computer equipment and storage medium
CN111404773B (en) * 2020-03-10 2023-03-17 深信服科技股份有限公司 Network quality monitoring method and device, electronic equipment and storage medium
CN112954754B (en) * 2020-06-23 2024-02-02 浙江凡可信息科技有限公司 Information extraction method of information extraction system based on 5G network
CN111491036A (en) * 2020-06-28 2020-08-04 深圳杰睿联科技有限公司 Internet of things equipment and communication method thereof
CN113891246B (en) * 2020-07-01 2023-03-24 华为技术有限公司 Network access equipment switching method for user equipment
CN112261640B (en) * 2020-09-29 2024-03-15 深圳市广和通无线股份有限公司 Method and device for eliminating SIM card firmware miscwitch, electronic equipment and storage medium
CN112311860A (en) * 2020-10-20 2021-02-02 大唐微电子技术有限公司 Internet of things terminal access device, network access method and Internet of things terminal
CN112672418B (en) * 2020-12-03 2024-03-12 江苏林洋能源股份有限公司 Method for self-registration between ammeter and master station through carrier concentrator
CN113079471B (en) * 2021-04-16 2022-11-11 北京云迹科技股份有限公司 Robot network communication method and related equipment
CN113347675B (en) * 2021-05-14 2022-02-18 华中科技大学 Network switching method and network switching device
CN113645566B (en) * 2021-07-09 2024-03-19 美智纵横科技有限责任公司 Robot network switching method, device and storage medium
CN113747347B (en) * 2021-07-26 2023-04-07 荣耀终端有限公司 Electronic equipment, internet card switching method thereof and readable medium
CN113709665A (en) * 2021-08-30 2021-11-26 Oppo广东移动通信有限公司 Network connection method, device, storage medium and electronic equipment
CN113992578B (en) * 2021-09-09 2023-11-03 新华三大数据技术有限公司 Method, device, equipment and storage medium for switching servers of cloud desktop terminal
CN114143251B (en) * 2021-12-08 2023-10-13 北京天融信网络安全技术有限公司 Intelligent routing method, intelligent routing device, electronic equipment and computer readable storage medium
CN114286404B (en) * 2021-12-18 2023-03-17 珠海格力电器股份有限公司 Multi-operator signal transmission control method, system and device
CN114339721A (en) * 2021-12-28 2022-04-12 武汉天喻信息产业股份有限公司 eSIM card number management method, storage medium, electronic device and apparatus
CN114585037B (en) * 2022-04-12 2024-02-27 深圳市锐尔觅移动通信有限公司 Network type switching method and device, terminal equipment and computer readable medium
CN114786227A (en) * 2022-04-21 2022-07-22 中国第一汽车股份有限公司 Network switching method, device, equipment and storage medium
CN115087060A (en) * 2022-06-13 2022-09-20 多利购科技(广州)有限公司 Intelligent shopping cart network switching method, system, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282701A (en) * 2015-09-06 2016-01-27 深圳优克云联科技有限公司 Distribution method, device and system of subscriber identity module cards
CN106604258A (en) * 2016-12-20 2017-04-26 深圳市优克联新技术有限公司 User identity identification card switching method and apparatus
WO2017128947A1 (en) * 2016-01-30 2017-08-03 华为技术有限公司 Method and system for evaluating network service quality, and network device
US20180020100A1 (en) * 2016-07-14 2018-01-18 Sensorise Digital Services Pvt. Ltd. Method and system to control expense and usage of subscriptions in a mobile device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2481254B (en) * 2010-06-18 2017-07-12 Skype Determining network quality
US9219991B2 (en) * 2012-07-06 2015-12-22 Neutronic Perpetual Innovations, Llc. System and method for mobile data expansion
CN105519200B (en) * 2013-05-14 2019-06-11 华为技术有限公司 A kind of method and apparatus of network selection
KR102248694B1 (en) * 2014-12-02 2021-05-07 삼성전자주식회사 Method for managing profile and electronic device supporting thereof
US20160295544A1 (en) * 2015-03-31 2016-10-06 Globetouch, Inc. Enhanced cloud sim
US20180146361A1 (en) * 2016-11-21 2018-05-24 Globetouch, Inc. Enhanced local data services
CN107484213B (en) * 2017-08-25 2021-03-02 歌尔科技有限公司 Network switching method based on ESIM card, intelligent terminal and server
CN107959951A (en) * 2017-12-15 2018-04-24 恒宝股份有限公司 ESIM cards, automatic switchover eSIM cards configuration file method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282701A (en) * 2015-09-06 2016-01-27 深圳优克云联科技有限公司 Distribution method, device and system of subscriber identity module cards
WO2017128947A1 (en) * 2016-01-30 2017-08-03 华为技术有限公司 Method and system for evaluating network service quality, and network device
US20180020100A1 (en) * 2016-07-14 2018-01-18 Sensorise Digital Services Pvt. Ltd. Method and system to control expense and usage of subscriptions in a mobile device
CN106604258A (en) * 2016-12-20 2017-04-26 深圳市优克联新技术有限公司 User identity identification card switching method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4145911A4 (en) * 2020-04-28 2023-12-06 Samsung Electronics Co., Ltd. Electronic device supporting plurality of sims and operating method therefor

Also Published As

Publication number Publication date
CN110856225A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
WO2020038076A1 (en) Network switching method and apparatus, terminal and storage medium
EP2555547A1 (en) Method and apparatus for switching IMSI
US8644857B2 (en) Method, device and system for implementing location-based service
CN102598802B (en) For accessing the apparatus and method of network in wireless terminal
US10104588B2 (en) Method for automatically switching an LBS-based wireless data network and mobile terminal
CN102118839B (en) PLMN (Public Land Mobile Network) network selecting method of multimode terminal
CN115484659A (en) Network access control method and device, computer readable medium and electronic equipment
CN110401943B (en) Mobile terminal network-residing method, device, server and storage medium
CN104285470B (en) Make it possible to improve method, computer program product and the device of the switching in mobile communications network
EP2421302A1 (en) Core network selection in a shared radio access network
WO2016101547A1 (en) Access processing method and device
RU2011106124A (en) IMPROVEMENT OF THE CHOICE OF PREFERRED SYSTEMS FOR MULTI-MODE WIRELESS SYSTEMS
JP2009542060A (en) Hot spot location database system, mobile terminal for use in such a system, and method for creating, maintaining and updating such a system
KR20190002645A (en) Network search method and terminal device
US10652892B2 (en) System and method for improved band-channel scanning and network switching
WO2015073752A2 (en) User-specific point-of-sale network recommendations based on connection quality data
WO2017080623A1 (en) Visited plmn (vplmn) selection for roaming subscribers
EP2874420A1 (en) Selecting imsi and provider operator based on preferences stored in a sim
CN110611946B (en) Method for accessing terminal to mobile communication network and terminal
CN103945433A (en) Method and device for determining area with weak network coverage
US8538454B2 (en) Customized location area paging
CN113630831B (en) Cell fallback method, terminal and network side equipment
FI126445B (en) Server and mobile device for optimal radio technology
CN110191201B (en) Method, device and equipment for displaying cell alias and computer storage medium
CN113709844A (en) Network searching method, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19851351

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 30/06/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19851351

Country of ref document: EP

Kind code of ref document: A1