WO2016184203A1 - 一种数据网络自适应选择的方法及装置 - Google Patents

一种数据网络自适应选择的方法及装置 Download PDF

Info

Publication number
WO2016184203A1
WO2016184203A1 PCT/CN2016/074353 CN2016074353W WO2016184203A1 WO 2016184203 A1 WO2016184203 A1 WO 2016184203A1 CN 2016074353 W CN2016074353 W CN 2016074353W WO 2016184203 A1 WO2016184203 A1 WO 2016184203A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network
data network
data
apns
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/074353
Other languages
English (en)
French (fr)
Inventor
李希鹏
李艳芳
孙庚茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to EP16795690.3A priority Critical patent/EP3367731B1/en
Publication of WO2016184203A1 publication Critical patent/WO2016184203A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04W—WIRELESS COMMUNICATION NETWORKS
    • H04W48/00—Access restriction; Network selection; Access point selection
    • H04W48/17—Selecting a data network PoA [Point of Attachment]
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04W—WIRELESS COMMUNICATION NETWORKS
    • H04W48/00—Access restriction; Network selection; Access point selection
    • H04W48/16—Discovering, processing access restriction or access information
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04W—WIRELESS COMMUNICATION NETWORKS
    • H04W48/00—Access restriction; Network selection; Access point selection
    • H04W48/20—Selecting an access point
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04W—WIRELESS COMMUNICATION NETWORKS
    • H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02—Terminal devices
    • H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present application relates to, but is not limited to, the field of communication technologies, and in particular, to a method and apparatus for adaptive selection of a data network.
  • DSDS Dual SIM Dual Standby
  • GSM Global System for Mobile Communication
  • CDMA Code Division Multiple Access, Code division multiple access
  • dual card dual standby mobile phone can use the mobile phone number of two CDMA networks at the same time.
  • APN Access Point Name
  • MTK low-end platform
  • the embodiment of the invention provides a method and a device for adaptively selecting a data network, which can solve the problem that a multi-card terminal user needs to select and set an APN to access the Internet by himself in the prior art.
  • Embodiments of the present invention provide a method for adaptive selection of a data network, including the following steps:
  • the terminal After the terminal is powered on, the terminal uses the identification information of each user identification card to find an APN that enables the terminal to successfully establish a data network service from the APN list database in the terminal;
  • the terminal respectively uses the found APN as a parameter to initiate a network use request to the network server;
  • the data service is selected from a data network with the highest network speed from all data networks.
  • the foregoing method further includes:
  • the terminal finds a group of APNs to enable the terminal to successfully establish a data network service
  • the data network corresponding to the group of APNs is selected to use the data service.
  • the identification information of each user identification card corresponds to one or more groups of APNs;
  • the APN list database in the terminal includes one or more groups of APNs, and each group of APNs corresponds to one operator's network parameters. .
  • the using the identifier information of each user identification card to find an APN that enables the terminal to successfully establish a data network service from the APN list database in the terminal includes:
  • the terminal uses the identification information of each user identification card to search for a corresponding group or groups of APNs from the APN list database in the terminal;
  • the terminal initiates a request for establishing a data service to the network by using a group of APNs in a polling manner according to the found one or more groups of APNs, and searches for an APN that enables the terminal to successfully establish a data network service.
  • the data network with the highest network speed is selected from all data networks to use the number According to the business:
  • the terminal After the terminal finds that at least two sets of APNs enable the terminal to successfully establish a data network service, the terminal tests the network speed of the data network in which the terminal successfully establishes the data network service;
  • the terminal selects a data network with the highest network speed to use the data service according to the network speed test result of the data network that successfully establishes the data network service.
  • testing, by the network speed of the data network that successfully establishes the data network service includes:
  • the network speed of the data network successfully registered by each user identification card is calculated.
  • the embodiment of the invention further provides an apparatus for adaptive selection of a data network, comprising:
  • the search module is configured to: after the terminal is powered on, use the identification information of each user identification card to search for an APN that successfully establishes a data network service from the APN list database in the terminal, and use the found APN as a parameter, respectively. Initiating a network usage request to the web server;
  • the data network selection module is configured to: when the discovery module finds at least two sets of APNs to enable the terminal to successfully establish a data network service, select a data network with the highest network speed from all data networks to use the data service.
  • the data network selection module is further configured to: when the discovery module finds a group of APNs to enable the terminal to successfully establish a data network service, the data network corresponding to the group of APNs is used to use the data service.
  • the identification information of each user identification card corresponds to one or more groups of APNs;
  • the APN list database in the terminal includes one or more groups of APNs, and each group of APNs corresponds to one operator's network parameters. .
  • the searching module includes:
  • the searching unit is configured to: use the identification information of each user identification card, search for a corresponding one or more groups of APNs from the APN list database in the terminal, and use a polling manner according to the found one or more groups of APNs. Finding an APN that enables the terminal to successfully establish a data network service in the one or more groups of APNs.
  • an embodiment of the present invention further provides a terminal that supports at least two user identification cards, including: a display and a processor, where the processor is configured to: after the display display terminal is powered on, use identification information of each user identification card. Searching for the APN that enables the terminal to successfully establish the data network service from the APN list database in the terminal; respectively, using the found APN as a parameter to initiate a network use request to the network server; and when at least two sets of APNs are found, the terminal successfully establishes the data network service. After that, the data service is used to select the data network with the highest speed from all data networks.
  • an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, the method for implementing adaptive selection of the data network when the computer executable instructions are executed.
  • the dual card simultaneously adaptively polls the APN
  • the dual card performs APN registration and tests the network rate
  • the dual card dynamically switches the data network according to the network rate.
  • FIG. 1 is a flowchart of a method for adaptive selection of a data network according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of an apparatus for adaptively selecting a data network according to an embodiment of the present invention
  • FIG. 3 is a block diagram of a terminal supporting mobile data services according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a polling operation supporting a mobile data service according to an embodiment of the present invention
  • FIG. 5 is a flowchart 1 of a network adaptive handover operation supporting a mobile data service according to an embodiment of the present invention
  • FIG. 6 is a second flowchart of a network adaptive handover operation supporting mobile data services according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a network speed test operation for supporting a mobile data service according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for adaptive selection of a data network according to an embodiment of the present invention. As shown in FIG. 1, the method provided in this embodiment includes the following steps:
  • Step S101 After the device is powered on, the terminal uses the identification information of each user identification card to search for an APN that enables the terminal to successfully establish a data network service from the APN list database in the terminal.
  • Step S102 The terminal respectively uses the found APN as a parameter to initiate a network use request to the network server.
  • Step S103 After the terminal finds that at least two sets of APNs enable the terminal to successfully establish a data network service, the data service is selected from a data network with the highest network speed from all data networks.
  • the method further includes: when the terminal discovers a group of APNs to enable the terminal to successfully establish a data network service, the data network corresponding to the group of APNs is used to use the data service.
  • the identification information of each user identification card corresponds to one or more groups of APNs; the APN list database in the terminal includes one or more groups of APNs, and each group of APNs corresponds to one operator's network parameters.
  • the APN for obtaining the data network service by the terminal from the APN list database in the terminal by using the identifier information of each user identification card includes: the terminal uses the identification information of each user identification card, and the APN in the terminal Searching for a corresponding group or groups of APNs in the list database; the terminal initiates a request for establishing a data service to the network by using a group of APNs as a parameter according to the found one or more groups of APNs, and searching for the terminal to successfully establish data.
  • APN for network services includes: the terminal uses the identification information of each user identification card, and the APN in the terminal Searching for a corresponding group or groups of APNs in the list database; the terminal initiates a request for establishing a data service to the network by using a group of APNs as a parameter according to the found one or more groups of APNs, and searching for the terminal to successfully establish data.
  • APN for network services includes: the terminal uses the identification information of each user identification card, and the APN in the
  • the data service that uses the data network with the highest network speed from all the data networks to use the data service includes: when the terminal finds at least two sets of APNs to enable the terminal to successfully establish the data network service, the data network of the data network service is successfully established for the terminal.
  • the network speed is tested; the terminal selects a data network with the highest network speed to use the data service according to the network speed test result of the data network that successfully establishes the data network service.
  • the network speed of the data network for successfully establishing the data network service by the terminal includes: collecting network traffic of the maximum support capability of the current data network within a preset time period; using the time period and the network Traffic, calculate the network speed of the data network that each user ID card successfully registers.
  • FIG. 2 is a structural diagram of an apparatus for adaptively selecting a data network according to an embodiment of the present invention.
  • the apparatus provided in this embodiment includes: a lookup module 201 and a data network selection module 202.
  • the searching module 201 is configured to: after the terminal is powered on, use the identification information of each user identification card to search for an APN that successfully establishes a data network service from the APN list database in the terminal, and utilize the found APN respectively.
  • a network usage request is initiated to the network server.
  • the data network selection module 202 is configured to: when the discovery module 201 finds at least two sets of APNs to enable the terminal to successfully establish a data network service, the network speed is selected from all the data networks. A data network to use data services.
  • the data network selection module 202 is further configured to: when the discovery module 201 finds a group of APNs to enable the terminal to successfully establish a data network service, the data network corresponding to the group of APNs is used to use the data service.
  • the identification information of each user identification card corresponds to one or more groups of APNs; the APN list database in the terminal includes one or more groups of APNs, and each group of APNs corresponds to one operator's network parameters.
  • the searching module 201 includes: a searching unit, configured to: use the identification information of each user identification card to search for a corresponding group or groups of APNs from the APN list database in the terminal, and according to the found group Or a plurality of groups of APNs, searching for the APNs that enable the terminal to successfully establish data network services in the one or more groups of APNs by means of a polling manner.
  • a searching unit configured to: use the identification information of each user identification card to search for a corresponding group or groups of APNs from the APN list database in the terminal, and according to the found group Or a plurality of groups of APNs, searching for the APNs that enable the terminal to successfully establish data network services in the one or more groups of APNs by means of a polling manner.
  • FIG. 3 is a schematic diagram of a terminal frame supporting mobile data services according to an embodiment of the present invention.
  • the system for supporting the mobile data service provided by the embodiment includes: a terminal supporting a dual user identification card (SIM (Subscriber Identity Module) card, etc.), and at least two user identification cards (such as SIM card 1, SIM card 2), APN list.
  • SIM Subscriber Identity Module
  • APN list is one or more groups of APNs preset in the terminal. Each group of APNs corresponds to one operator's network parameters, and the APN list database is pre-stored in the storage unit of the terminal.
  • the network supported by the terminal may include, but is not limited to, 2G, 3G, 4G, and the like.
  • both the SIM card 1 and the SIM card 2 can support the use of data services such as 2G, 3G, and 4G.
  • the user identification card includes, but is not limited to, a current mainstream user identification card such as a SIM card, a USIM (Universal Subscriber Identity Module) card, a UIM (User Identify Module) card, and the like.
  • FIG. 4 is a flowchart of a polling operation supporting a mobile data service according to an embodiment of the present invention.
  • the identification information of the inserted SIM card in the terminal including the MCC (Mobile Country Code), MNC (Mobile Network Code), etc.
  • the search is performed in the APN list database in the terminal as a keyword variable, and the manner of searching may include polling in a fixed or unfixed time period.
  • the polling operation is performed in a more common fixed time period manner, for example, 20 seconds.
  • the polling operation once a group of APNs that can use the data service is successfully found, it is set as the default APN of the Internet access, and the polling is stopped; if the APN that can use the data service is not found in the polling Then, the polling failure status is reported, and the terminal system is notified that there is currently no APN available for using the data service.
  • FIG. 5 is a flowchart 1 of a network adaptive handover operation supporting a mobile data service according to an embodiment of the present invention.
  • the terminal first starts the APN polling operation by using the SIM card 1.
  • the SIM card 1 successfully finds a group of APNs that can use the data service
  • the terminal ends the APN round of the card.
  • the inquiry operation proceeds to the next operation; if the SIM card 1 does not find a group of APNs that can use the data service after the polling ends, the terminal ends the APN polling operation of the card and proceeds to the next operation.
  • the terminal After the previous operation, the terminal starts the APN polling operation by using the SIM card 2.
  • the terminal ends the APN polling operation of the card and proceeds to the next operation; if polling After the SIM card 2 does not find a group of APNs that can use the data service, the terminal ends the APN polling operation of the card and proceeds to the next operation.
  • the processing ends; if the polling result is that the dual network card cannot use the data network, the processing ends; if the polling result is that only one card can use the data network, the terminal selects the card to use the data network, and the processing ends; if polling As a result, if both cards can use the data network, proceed to the next step.
  • the terminal system After the previous operation, the terminal system periodically performs network speed test on the networks registered by the two SIM cards, records the network speed value, and periodically updates the network speed value; the terminal judges the network speed values of the two SIM cards. Select a card with a high speed to use the network data.
  • the terminal inserts the dual SIM card to boot, when the SIM card 1 (or the SIM card 2) successfully finds a group of APNs that can use the data service, the APN polling operation of the card is ended, and the data is used by the card. The internet. Thereafter, the system performs a network speed test on the network registered by the card. And record the speed value. At the same time, the SIM card 2 (or SIM card 1) continues to perform the polling operation. If a set of APNs that can use the data service is successfully found, the APN polling operation of the card is ended, and the data network is used by the card. Thereafter, the system performs a network speed test on the network registered with the card and records the speed value. At this time, the terminal judges the network speed values of the two SIM cards, and selects a card with a high speed to use the network data.
  • FIG. 6 is a second flowchart of a network adaptive handover operation supporting a mobile data service according to an embodiment of the present invention.
  • the terminal supports dual 4G cards to use the data network at the same time.
  • the dual card starts the APN polling operation at the same time.
  • the SIM card 1 or the SIM card 2 successfully finds a group of APNs that can use the data service
  • the APN polling operation of the card ends, and the user uses the APN polling operation.
  • the card uses the data network, and the system performs a network speed test on the data network registered by the SIM card, and records the speed value.
  • the processing ends; if the polling result is that only one card can use the data network, the terminal selects the card to use the data network, and the processing ends; if the polling result is two cards Both can use the data network, the system performs network speed test on the data network registered by the two SIM cards, and records the speed value. According to the speed measurement result, the size of the network speed value corresponding to the two cards is judged, and a card with a high speed is selected to use the network data.
  • FIG. 7 is a flowchart of a network speed test operation for supporting a mobile data service according to an embodiment of the present invention.
  • the terminal system presets a time period variable and a network address for video download.
  • the terminal determines whether the current data network is available, and if available, starts the speed measurement operation.
  • the terminal starts to access the network address of the video download and performs a download operation from the address.
  • the terminal determines whether the relevant data is collected and records successfully. If successful, the network speed value is calculated by dividing the recorded interval network data flow value by the preset time period variable.
  • the unit time period value is preset, and then during the period from the beginning to the end of the time period, the network traffic is used with the maximum support capacity of the current network, and finally the traffic value counted in the time period is divided by the unit time period. Value, and calculate the current network traffic speed value. That is, the method for determining the network speed by the terminal system can be described in two parts: preset data and speed measurement process.
  • the preset data may include: a time period variable, a network test resource address, and the like.
  • the time period variable can determine the start and end time points of the speed measurement process; the network test resource address is to meet the test reach As a result of the period, the network address is preset, the terminal accesses the address at the beginning of the test, and maximizes the use of network data. Its purpose is to obtain the maximum value of network data transmission.
  • the speed measurement process may include: the terminal system starts to perform the maximized network data use operation at a predetermined time point, and ends after the preset time period, and records the network traffic value generated by the terminal during the recording period, and the value and the time period variable are used. Calculate the network speed value.
  • the terminal system can periodically perform the speed measurement operation of the terminal and continuously update the network speed value.
  • the network speed variable may be collected in a real-time or interval time manner, and the speed variable may be dynamically updated according to the latest collected data value.
  • the data networks corresponding to the SIM card 1 and the SIM card 2 can work simultaneously or at different times.
  • the scope protected by the present application includes, but is not limited to, a terminal supporting dual cards, and may also include a multi-card mobile phone, or a multi-card terminal or the like.
  • the embodiment of the present invention Based on the terminal supporting the dual 4G SIM card technology, the embodiment of the present invention implements dual-card simultaneous polling of the APN for the increasingly perfect mobile 4G network technology, and tests the network rate in real time.
  • the embodiment of the invention effectively implements the function of dynamically adaptively switching according to the network rate when the dual SIM card is connected to the Internet, and provides a better mobile Internet user experience.
  • an embodiment of the present invention further provides a terminal that supports at least two user identification cards, including: a display and a processor, where the processor is configured to: after the display display terminal is powered on, use identification information of each user identification card. Searching for the APN that enables the terminal to successfully establish the data network service from the APN list database in the terminal; respectively, using the found APN as a parameter to initiate a network use request to the network server; and when at least two sets of APNs are found, the terminal successfully establishes the data network service. After that, the data service is used to select the data network with the highest speed from all data networks.
  • an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, the method for implementing adaptive selection of the data network when the computer executable instructions are executed.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • This application is not limited to any specific combination of hardware and software.
  • the embodiment of the invention provides a method and a device for adaptively selecting a data network.
  • the dual card Based on the terminal supporting the dual 4G SIM card technology, the dual card simultaneously polls the APN and tests the network rate in real time, thereby effectively implementing the dual SIM.
  • the card When the card is online, it can dynamically adapt to the network rate according to the network rate, providing a better mobile Internet user experience.

Landscapes

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

Abstract

一种数据网络自适应选择的方法,包括以下步骤:终端在开机后,利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN;终端分别利用查找到的APN作为参数,向网络服务器发起网络使用请求;当终端在发现至少两组APN使终端成功建立数据网络业务后,从所有数据网络中选用网速最高的一个数据网络来使用数据业务。上述方法实现了当用户正在使用的数据网络出现问题时,自动切换到备用的数据网络并继续当前的数据业务的功能,可以提供更好的移动上网体验。

Description

一种数据网络自适应选择的方法及装置 技术领域
本申请涉及但不限于通信技术领域,特别涉及一种数据网络自适应选择的方法及装置。
背景技术
DSDS(Dual SIM Dual Standby,双卡双待)是现在手机行业的新名词,双卡双待指手机可以插入两张手机卡,而且能同时待机。简单地说,消费者使用GSM(Global System for Mobile Communication,全球移动通信系统)双卡双待手机,可以在一部手机上同时使用两个GSM网络的手机号,使用CDMA(Code Division Multiple Access,码分多址),双卡双待手机可以同时使用两个CDMA网络的手机号。
在现有技术中,双卡双待主要是用于第三代移动通信技术(3G)手机,而随着第四代移动通信技术(4G)手机方案的成熟,DSDS技术在基于4G网络基础上会有更多的应用和功能出现,一方面是因为4G网络带宽可达150M,这就给采用4G技术奠定了坚实的基础。可以预见,我们将会站在4G这个巨人的肩膀上,为用户提供更多更好的、意想不到的新式上网体验。
由于4G移动网络在全球目前尚处于大规模建网阶段,对于双4G这种创新的技术来说,还没有大量出现和流行起来。但我们可以预见在不久的将来4G网络会极大地改变人类的移动数据应用的现状。
双卡手机出现的时间不长,早期大概3、4年前在手机平台上还基本不支持。APN(Access Point Name,接入点名称)指一种网络接入技术,是手机上网时必须配置的一个参数,它决定了手机通过哪种接入方式来访问网络。目前市场上主流的双卡手机在同一时间只能支持一张卡上网,另一张卡只能使用第二代手机通信技术(2G)网络,即只能打电话。所以对于目前市场上主流的双卡手机,APN检索也只在一张卡上进行。此外,对于一些低端平台如MTK,没有APN自动选择机制,也就是说大部分时间用户需要自己去选 择并设定APN来上网。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种数据网络自适应选择的方法及装置,能够解决现有技术中多卡终端用户需要自己去选择并设定APN来上网的问题。
本发明实施例提供了一种数据网络自适应选择的方法,包括以下步骤:
终端在开机后,利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN;
终端分别利用查找到的APN作为参数,向网络服务器发起网络使用请求;
当终端在发现至少两组APN使终端成功建立数据网络业务后,从所有数据网络中选用网速最高的一个数据网络来使用数据业务。
可选地,上述方法还包括:
当终端在发现一组APN使终端成功建立数据网络业务时,则选用该组APN对应的数据网络来使用数据业务。
可选地,所述每个用户识别卡的标识信息对应一组或多组APN;所述终端中的APN列表数据库中包括一组或多组APN,且每组APN对应一个运营商的网络参数。
可选地,所述利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN包括:
终端利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找对应的一组或多组APN;
终端根据查找到的一组或多组APN,通过轮询方式以每组APN为参数向网络发起数据业务建立的请求,查找使终端成功建立数据网络业务的APN。
可选地,所述从所有数据网络中选用网速最高的一个数据网络来使用数 据业务包括:
当终端在发现至少两组APN使终端成功建立数据网络业务后,对终端成功建立数据网络业务的数据网络的网速进行测试;
终端根据成功建立数据网络业务的数据网络的网速测试结果,选用网速最高的一个数据网络来使用数据业务。
可选地,所述对终端成功建立数据网络业务的数据网络的网速进行测试包括:
在预设的时间段内,统计当前数据网络的最大支持能力的网络流量;
利用所述时间段和所述网络流量,计算每个用户识别卡成功注册的数据网络的网速。
本发明实施例还提供了一种数据网络自适应选择的装置,包括:
查找模块,设置为:在终端开机后,利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN,以及分别利用查找到的APN作为参数,向网络服务器发起网络使用请求;
数据网络选择模块,设置为:当所述查找模块在发现至少两组APN使终端成功建立数据网络业务后,从所有数据网络中选用网速最高的一个数据网络来使用数据业务。
可选地,所述数据网络选择模块还设置为:当所述查找模块在发现一组APN使终端成功建立数据网络业务时,则选用该组APN对应的数据网络来使用数据业务。
可选地,所述每个用户识别卡的标识信息对应一组或多组APN;所述终端中的APN列表数据库中包括一组或多组APN,且每组APN对应一个运营商的网络参数。
可选地,所述查找模块包括:
查找单元,设置为:利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找对应的一组或多组APN,以及根据查找到的一组或多组APN,通过轮询方式在所述一组或多组APN中查找使终端成功建立数据网络业务的APN。
此外,本发明实施例还提供一种支持至少两个用户识别卡的终端,包括:显示器以及处理器,所述处理器设置为:在显示器显示终端开机后,利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN;分别利用查找到的APN作为参数,向网络服务器发起网络使用请求;当发现至少两组APN使终端成功建立数据网络业务后,从所有数据网络中选用网速最高的一个数据网络来使用数据业务。
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述数据网络自适应选择的方法。
与现有技术相比较,本发明实施例的有益效果在于:
1、双卡同时自适应轮询APN;
2、双卡进行APN注册,并测试网络速率;
3、双卡动态根据网络速率自适应切换数据网络。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1是本发明实施例提供的一种数据网络自适应选择的方法流程图;
图2是本发明实施例提供的一种数据网络自适应选择的装置结构图;
图3是本发明实施例提供的支持移动数据业务的终端框架图;
图4是本发明实施例提供的支持移动数据业务的轮询操作流程图;
图5是本发明实施例提供的支持移动数据业务的网络自适应切换操作的流程图一;
图6是本发明实施例提供的支持移动数据业务的网络自适应切换操作的流程图二;
图7是本发明实施例提供的支持移动数据业务的网速测试操作流程图。
本发明的实施方式
以下结合附图对本发明优选实施例进行详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本申请,并不用于限定本申请。
图1是本发明实施例提供的一种数据网络自适应选择的方法流程图。如图1所示,本实施例提供的方法包括以下步骤:
步骤S101:终端在开机后,利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN;
步骤S102:终端分别利用查找到的APN作为参数,向网络服务器发起网络使用请求;
步骤S103:当终端在发现至少两组APN使终端成功建立数据网络业务后,从所有数据网络中选用网速最高的一个数据网络来使用数据业务。
在本发明实施例中,上述方法还包括:当终端在发现一组APN使终端成功建立数据网络业务时,则选用该组APN对应的数据网络来使用数据业务。
其中,所述每个用户识别卡的标识信息对应一组或多组APN;所述终端中的APN列表数据库中包括一组或多组APN,且每组APN对应一个运营商的网络参数。
其中,所述利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN包括:终端利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找对应的一组或多组APN;终端根据查找到的一组或多组APN,通过轮询方式以每组APN为参数向网络发起数据业务建立的请求,查找使终端成功建立数据网络业务的APN。
其中,所述从所有数据网络中选用网速最高的一个数据网络来使用数据业务包括:当终端在发现至少两组APN使终端成功建立数据网络业务后,对终端成功建立数据网络业务的数据网络的网速进行测试;终端根据成功建立数据网络业务的数据网络的网速测试结果,选用网速最高的一个数据网络来使用数据业务。其中,所述对终端成功建立数据网络业务的数据网络的网速进行测试包括:在预设的时间段内,统计当前数据网络的最大支持能力的网络流量;利用所述时间段和所述网络流量,计算每个用户识别卡成功注册的数据网络的网速。
图2是本发明实施例提供的一种数据网络自适应选择的装置结构图。如图2所示,本实施例提供的装置包括:查找模块201和数据网络选择模块202。所述查找模块201,设置为:在终端开机后,利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN,以及分别利用查找到的APN作为参数,向网络服务器发起网络使用请求;所述数据网络选择模块202,设置为:当查找模块201在发现至少两组APN使终端成功建立数据网络业务后,从所有数据网络中选用网速最高的一个数据网络来使用数据业务。
其中,所述数据网络选择模块202还设置为:当查找模块201在发现一组APN使终端成功建立数据网络业务时,则选用该组APN对应的数据网络来使用数据业务。
其中,所述每个用户识别卡的标识信息对应一组或多组APN;所述终端中的APN列表数据库中包括一组或多组APN,且每组APN对应一个运营商的网络参数。
其中,所述查找模块201包括:查找单元,设置为:利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找对应的一组或多组APN,以及根据查找到的一组或多组APN,通过轮询方式在所述一组或多组APN中查找使终端成功建立数据网络业务的APN。
图3是本发明实施例提供的支持移动数据业务的终端框架图。如图3所示,本实施例提供的支持移动数据业务的系统包括:支持双用户识别卡(SIM(Subscriber Identity Module,用户身份识别模块)卡等)槽的终端、至少两个用户识别卡(如SIM卡1、SIM卡2)、APN列表。其中,APN列表是终端中预置的一组或多组APN,每组APN对应一个运营商的网络参数,APN列表数据库在终端的存储单元中预先存储。其中,终端支持的网络可包括但不限于:2G、3G、4G等。其中,SIM卡1和SIM卡2都可支持2G、3G、4G等数据业务的使用。其中,所述用户识别卡包括但不限于目前主流的用户识别卡如:SIM卡、USIM(Universal Subscriber Identity Module,全球用户识别卡)卡、UIM(User Identify Module,用户识别模块)卡等。
图4是本发明实施例提供的支持移动数据业务的轮询操作流程图。如图 4所示,终端开机后,首先读取出终端中已插入的SIM卡的标识信息,包括MCC(Mobile Country Code,移动国家码)、MNC(Mobile Network Code,移动网络码)等,读取成功后,以此为关键词变量在终端中的APN列表数据库中进行查找,查找的方式可包括以固定或不固定的时间周期进行轮询。于此,以较常见的固定时间周期方式来进行轮询操作,固定时间例如为20秒。在轮询操作过程中,一旦成功找到了一组可以使用数据业务的APN后,就将其设定为默认上网的APN,并停止轮询;如果在轮询中未找到可以使用数据业务的APN,则将轮询失败状态进行上报,通知终端系统目前无可用于使用数据业务的APN。
图5是本发明实施例提供的支持移动数据业务的网络自适应切换操作的流程图一。如图5所示,终端插入双SIM卡开机后,首先终端使用SIM卡1开始APN的轮询操作,当SIM卡1成功找到一组可以使用数据业务的APN时,终端结束此卡的APN轮询操作进入下一步操作;如果轮询结束后SIM卡1未找到一组可以使用数据业务的APN时,则终端结束此卡的APN轮询操作进入下一步操作。
接上一步操作,终端使用SIM卡2开始APN的轮询操作,当SIM卡2成功找到一组可以使用数据业务的APN时,终端结束此卡的APN轮询操作进入下一步操作;如果轮询结束后SIM卡2未找到一组可以使用数据业务的APN时,则终端结束此卡的APN轮询操作进入下一步操作。
接上一步操作,如果轮询结果为双卡都无法使用数据网络,处理结束;如果轮询结果为只有一张卡可以使用数据网络,则终端选择此卡使用数据网络,处理结束;如果轮询结果为两张卡都可以使用数据网络,则进入下一步操作。
接上一步操作,终端系统周期性分别对两张SIM卡所注册的网络进行网络速度测试,记录网络速度值,并可周期性更新网络速度值;终端对两张SIM卡的网络速度值进行判断,选择速度高的一张卡来使用网络数据。
也就是说,终端插入双SIM卡开机后,当SIM卡1(或SIM卡2)成功找到一组可以使用数据业务的APN时,则结束此卡的APN轮询操作,并使用此卡使用数据网络。此后,系统对此卡所注册的网络进行网络速度测试, 并记录速度值。同时,SIM卡2(或SIM卡1)继续执行轮询操作,如果成功找到一组可以使用数据业务的APN时,则结束此卡的APN轮询操作,并使用此卡使用数据网络。此后,系统对此卡所注册的网络进行网络速度测试,并记录速度值。此时,终端对两张SIM卡的网络速度值进行判断,并选择速度高的一张卡来使用网络数据。
图6是本发明实施例提供的支持移动数据业务的网络自适应切换操作的流程图二。如图6所示,终端支持双4G卡可同时使用数据网络。终端插入双SIM卡开机后,双卡同时开始APN轮询操作,当SIM卡1或SIM卡2成功找到一组可以使用数据业务的APN时,则结束此卡的APN轮询操作,并使用此卡使用数据网络,系统对此SIM卡所注册的数据网络进行网速测试,并记录速度值。如果轮询结果为双卡都无法使用数据网络,处理结束;如果轮询结果为只有一张卡可以使用数据网络,则终端选择此卡使用数据网络,处理结束;如果轮询结果为两张卡都可以使用数据网络,系统对两张SIM卡所注册的数据网络进行网速测试,并记录速度值。并根据测速结果对两张卡所对应的网络速度值的大小进行判断,并选择速度高的一张卡来使用网络数据。
图7是本发明实施例提供的支持移动数据业务的网速测试操作流程图。如图7所示,终端系统预置一个时间段变量,以及一个视频下载的网络地址。终端判断当前数据网络是否可用,如果可用,则开始测速操作。首先,终端开始访问视频下载的网络地址,并从该地址进行下载操作。并记录在一个时间段变量内的网络数据使用情况。在一个时间段变量内需要保证网络访问保持最大值,不会中断。之后,终端判断相关数据是否都采集并记录成功,如果成功,以所记录的区间网络数据流量值除以预设的时间段变量计算出网络速度值。
也就是说,首先预设单位时间段值,然后在该时间段开始到结束过程中,以当前网络的最大支持能力来使用网络流量,最后通过时间段内统计出的流量值除以单位时间段值,而计算出当前网络的流量速度值。即终端系统确定网络速度的方法可分两个部分进行描述:预置数据和测速过程。
预置数据可包括:时间段变量、网络测试资源地址等。时间段变量可以确定测速过程的开始和结束时间点;网络测试资源地址是为满足测试达到预 期的结果而预先设定的网络地址,测试开始时终端访问该地址,并进行最大化的网络数据使用操作。其目的是获得网络数据传输的最大值。
测速过程可包括:终端系统在预定的时间点,开始进行最大化的网络数据使用操作,并持续预置的时间段后结束,记录期间终端产生的网络流量值,以此值和时间段变量来计算网络速度值。
可选地,终端系统可周期性进行终端的测速操作,并不断更新网络速度值。系统对SIM卡所注册的网络进行网络速度测试时,可采用实时或间隔时段等方式采集网络速度变量,并可根据最新的采集数据值动态更新速度变量。当终端使用数据网络时,SIM卡1和SIM卡2所对应的数据网络可同时工作,也可不同时工作。本申请所保护的范围包括但不限于支持双卡的终端,也可包括多卡手机,或多卡终端等。
综上所述,本发明实施例具有以下技术效果:
本发明实施例以支持双4G SIM卡技术的终端为基础,针对日益完善的移动4G网络技术,实现了双卡同时轮询APN,并实时测试网络速率。本发明实施例有效实现了双SIM卡上网时能够根据网络速率动态自适应切换的功能,提供了更好的移动上网用户体验。
此外,本发明实施例还提供一种支持至少两个用户识别卡的终端,包括:显示器以及处理器,所述处理器设置为:在显示器显示终端开机后,利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN;分别利用查找到的APN作为参数,向网络服务器发起网络使用请求;当发现至少两组APN使终端成功建立数据网络业务后,从所有数据网络中选用网速最高的一个数据网络来使用数据业务。
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述数据网络自适应选择的方法。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分 步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。
尽管上文对本申请进行了详细说明,但是本申请不限于此,本技术领域技术人员可以根据本申请的原理进行各种修改。因此,凡按照本申请原理所作的修改,都应当理解为落入本申请的保护范围。
工业实用性
本发明实施例提供一种数据网络自适应选择的方法及装置,以支持双4G SIM卡技术的终端为基础,实现了双卡同时轮询APN,并实时测试网络速率,从而有效实现了双SIM卡上网时能够根据网络速率动态自适应切换的功能,提供了更好的移动上网用户体验。

Claims (11)

  1. 一种数据网络自适应选择的方法,包括以下步骤:
    终端在开机后,利用每个用户识别卡的标识信息,从终端中的接入点名称APN列表数据库中查找使终端成功建立数据网络业务的APN;
    终端分别利用查找到的APN作为参数,向网络服务器发起网络使用请求;
    当终端在发现至少两组APN使终端成功建立数据网络业务后,从所有数据网络中选用网速最高的一个数据网络来使用数据业务。
  2. 根据权利要求1所述的方法,所述方法还包括:
    当终端在发现一组APN使终端成功建立数据网络业务时,则选用该组APN对应的数据网络来使用数据业务。
  3. 根据权利要求1所述的方法,其中,所述每个用户识别卡的标识信息对应一组或多组APN;所述终端中的APN列表数据库中包括一组或多组APN,且每组APN对应一个运营商的网络参数。
  4. 根据权利要求3所述的方法,其中,所述利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找使终端成功建立数据网络业务的APN包括:
    终端利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找对应的一组或多组APN;
    终端根据查找到的一组或多组APN,通过轮询方式以每组APN为参数向网络发起数据业务建立的请求,查找使终端成功建立数据网络业务的APN。
  5. 根据权利要求4所述的方法,其中,所述从所有数据网络中选用网速最高的一个数据网络来使用数据业务包括:
    当终端在发现至少两组APN使终端成功建立数据网络业务后,对终端成功建立数据网络业务的数据网络的网速进行测试;
    终端根据成功建立数据网络业务的数据网络的网速测试结果,选用网速最高的一个数据网络来使用数据业务。
  6. 根据权利要求5所述的方法,其中,所述对终端成功建立数据网络业务的数据网络的网速进行测试包括:
    在预设的时间段内,统计当前数据网络的最大支持能力的网络流量;
    利用所述时间段和所述网络流量,计算每个用户识别卡成功注册的数据网络的网速。
  7. 一种数据网络自适应选择的装置,包括:
    查找模块,设置为:在终端开机后,利用每个用户识别卡的标识信息,从终端中的接入点名称APN列表数据库中查找使终端成功建立数据网络业务的APN,以及分别利用查找到的APN作为参数,向网络服务器发起网络使用请求;
    数据网络选择模块,设置为:当所述查找模块在发现至少两组APN使终端成功建立数据网络业务后,从所有数据网络中选用网速最高的一个数据网络来使用数据业务。
  8. 根据权利要求7所述的装置,其中,所述数据网络选择模块还设置为:当所述查找模块在发现一组APN使终端成功建立数据网络业务时,选用该组APN对应的数据网络来使用数据业务。
  9. 根据权利要求7所述的装置,其中,所述每个用户识别卡的标识信息对应一组或多组APN;所述终端中的APN列表数据库中包括一组或多组APN,且每组APN对应一个运营商的网络参数。
  10. 根据权利要求9所述的装置,其中,所述查找模块包括:
    查找单元,设置为:利用每个用户识别卡的标识信息,从终端中的APN列表数据库中查找对应的一组或多组APN,以及根据查找到的一组或多组APN,通过轮询方式在所述一组或多组APN中查找使终端成功建立数据网络业务的APN。
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现权利要求1至6任一项所述的数据网络自适应选择的方法。
PCT/CN2016/074353 2015-10-20 2016-02-23 一种数据网络自适应选择的方法及装置 Ceased WO2016184203A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP16795690.3A EP3367731B1 (en) 2015-10-20 2016-02-23 Method and device for adaptive selection of data network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510686180.8 2015-10-20
CN201510686180.8A CN106604358B (zh) 2015-10-20 2015-10-20 一种数据网络自适应选择的方法及装置

Publications (1)

Publication Number Publication Date
WO2016184203A1 true WO2016184203A1 (zh) 2016-11-24

Family

ID=57319393

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074353 Ceased WO2016184203A1 (zh) 2015-10-20 2016-02-23 一种数据网络自适应选择的方法及装置

Country Status (3)

Country Link
EP (1) EP3367731B1 (zh)
CN (1) CN106604358B (zh)
WO (1) WO2016184203A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804307A (zh) * 2018-04-19 2018-11-13 北京炎黄盈动科技发展有限责任公司 流程自动化测试方法及装置
WO2020077509A1 (zh) * 2018-10-15 2020-04-23 华为技术有限公司 一种终端配置方法及装置
CN113078921A (zh) * 2021-03-01 2021-07-06 北京小米移动软件有限公司 数据处理方法、装置以及存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602665B (zh) * 2019-08-12 2021-12-17 深圳市优克联新技术有限公司 一种基于通信凭证共享服务的共享服务指标的确定方法
WO2022213283A1 (zh) * 2021-04-06 2022-10-13 深圳传音控股股份有限公司 处理方法、终端设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754324A (zh) * 2009-12-23 2010-06-23 中兴通讯股份有限公司 无线网络接入方法及驱动装置
CN101909326A (zh) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 一种接入点的选择方法及装置
CN103118398A (zh) * 2011-11-16 2013-05-22 三星电子株式会社 便携式终端中的数据通信装置及其方法
WO2013188530A1 (en) * 2012-06-15 2013-12-19 Qualcomm Incorporated Attach apn list for performing lte attach
CN104703254A (zh) * 2013-12-06 2015-06-10 中国移动通信集团公司 一种网络接入方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1761089A1 (en) * 2005-09-05 2007-03-07 LG Electronics Inc. Network selection for a multimode terminal
US8825106B2 (en) * 2011-10-25 2014-09-02 At&T Intellectual Property I, L.P. Intelligent roaming and interworking
CN104519553B (zh) * 2013-10-08 2020-06-19 深圳富泰宏精密工业有限公司 接入点选取系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754324A (zh) * 2009-12-23 2010-06-23 中兴通讯股份有限公司 无线网络接入方法及驱动装置
CN101909326A (zh) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 一种接入点的选择方法及装置
CN103118398A (zh) * 2011-11-16 2013-05-22 三星电子株式会社 便携式终端中的数据通信装置及其方法
WO2013188530A1 (en) * 2012-06-15 2013-12-19 Qualcomm Incorporated Attach apn list for performing lte attach
CN104703254A (zh) * 2013-12-06 2015-06-10 中国移动通信集团公司 一种网络接入方法及装置

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804307A (zh) * 2018-04-19 2018-11-13 北京炎黄盈动科技发展有限责任公司 流程自动化测试方法及装置
CN108804307B (zh) * 2018-04-19 2022-04-08 北京炎黄盈动科技发展有限责任公司 流程自动化测试方法及装置
WO2020077509A1 (zh) * 2018-10-15 2020-04-23 华为技术有限公司 一种终端配置方法及装置
US11985730B2 (en) 2018-10-15 2024-05-14 Huawei Technologies Co., Ltd. Terminal configuration method and apparatus
CN113078921A (zh) * 2021-03-01 2021-07-06 北京小米移动软件有限公司 数据处理方法、装置以及存储介质

Also Published As

Publication number Publication date
EP3367731B1 (en) 2020-07-01
EP3367731A4 (en) 2018-10-31
EP3367731A1 (en) 2018-08-29
CN106604358B (zh) 2020-06-30
CN106604358A (zh) 2017-04-26

Similar Documents

Publication Publication Date Title
EP3751909B1 (en) Upf selection method and device
CN104869615B (zh) 一种网络接入方法及移动通信终端
JP6009594B2 (ja) より速いサービス取得のための好ましいplmnリスト
JP2022065111A (ja) モビリティ管理方法、装置及びシステム
CN103648146B (zh) 终端选网方法及终端
US10149206B2 (en) Automatic data link switching method for terminal, and terminal
EP2434830A1 (en) Adaptive data communication control method and portable device for supporting the same
US20170164270A1 (en) Method for selecting public land mobile network plmn, and apparatus and device thereof
US20120264444A1 (en) Method, device and mobile terminal for switching network connection automatically
EP2706787A1 (en) Method and device for automatic dialling of access point
EP3881574A1 (en) Methods and apparatuses for network function selection in 5g for a user
CN106604358B (zh) 一种数据网络自适应选择的方法及装置
JP2023520378A (ja) Pduセッションの確立のための方法および装置
WO2014166185A1 (zh) 一种移动终端自动找网的方法及移动终端
WO2012068821A1 (zh) 一种移动终端及实现接入点名称设置的系统和方法
CN109275162A (zh) 接入控制方法、基站、用户设备和移动管理实体
TW201129166A (en) Method and apparatus for unifying different multi-mode system selection frameworks
WO2015106525A1 (zh) 一种选网方法和装置
CN101296454A (zh) 多模移动终端的网络注册方法和装置
US9860177B2 (en) Managing network load using device application programs
WO2016184202A1 (zh) 一种apn选择方法及装置
WO2017197757A1 (zh) 一种apn分配方法、装置及终端
WO2016169311A1 (zh) 一种实现选卡的方法和装置
CN107682855A (zh) 一种国际漫游搜网的方法及装置
WO2014071774A1 (zh) 终端注册的方法和终端

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: 16795690

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016795690

Country of ref document: EP