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

WO2019072156A1 - Apn information acquisition method, storage device and mobile terminal - Google Patents

Apn information acquisition method, storage device and mobile terminal Download PDF

Info

Publication number
WO2019072156A1
WO2019072156A1 PCT/CN2018/109412 CN2018109412W WO2019072156A1 WO 2019072156 A1 WO2019072156 A1 WO 2019072156A1 CN 2018109412 W CN2018109412 W CN 2018109412W WO 2019072156 A1 WO2019072156 A1 WO 2019072156A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
apn
data file
information
apn information
Prior art date
Application number
PCT/CN2018/109412
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 WO2019072156A1 publication Critical patent/WO2019072156A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/57Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set
    • H04M1/575Means for retrieving and displaying personal data about calling party
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • 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
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a method, a storage device, and a mobile terminal for acquiring APN information.
  • the APN Access Point Name
  • the mobile terminal needs to obtain the APN information of the network function.
  • APN information Most of the mobile terminals in the prior art obtain the APN information through the two methods. The first is to query the operator's APN information through the Internet, and then manually input to the mobile terminal; the second is to view other information having the APN information. The mobile terminal is then manually entered into the mobile terminal.
  • APN information on the network is out of date, invalid, and time-consuming and laborious, causing inconvenience to users.
  • APN information in the mobile terminal is not presented to the user, so even if other mobile terminals having the APN information are viewed, the required APN information cannot be obtained, which brings inconvenience to the user.
  • the technical problem to be solved by the present invention is to provide a method for acquiring APN information, a storage device, and a mobile terminal, which are related to the above-mentioned deficiencies of the prior art, and are intended to solve the problem in the prior art that different called parties cannot have different The calling number shows the behavior of the issue.
  • a method for obtaining APN information includes:
  • the first mobile terminal is a receiver of an APN data file
  • the second mobile terminal is a sender of an APN data file
  • the APN information required by the first mobile terminal exists in the second mobile terminal
  • the first mobile terminal sends a request for acquiring the APN information to the second mobile terminal;
  • the first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves it.
  • the method for obtaining APN information wherein the communication connection comprises: a Bluetooth connection, a WIFI connection, and an NFC connection.
  • the method for acquiring the APN information, where the request that the first mobile terminal sends the APN information to the second mobile terminal includes:
  • the first mobile terminal searches for a contact mode with the second mobile terminal according to an operation instruction of the user;
  • the first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
  • the method for acquiring APN information wherein the second mobile terminal receives the request, generates an APN data file that includes APN information required by the first mobile terminal from a local APN database, and sends the APN data file to the first mobile terminal.
  • the second mobile terminal receives the request, generates an APN data file that includes APN information required by the first mobile terminal from a local APN database, and sends the APN data file to the first mobile terminal.
  • the second mobile terminal searches for and matches from the local APN database according to the APN information required by the first mobile terminal, and generates an APN data file that includes the APN information required by the first mobile terminal;
  • the second mobile terminal sends the APN data file to the first mobile terminal.
  • the method for obtaining APN information wherein the second mobile terminal searches and matches from the local APN database according to the APN information required by the first mobile terminal, and generates APN information required by the first mobile terminal.
  • the APN data file specifically includes:
  • the second mobile terminal reads the APN information in the local APN database
  • the second mobile terminal sends the generated APN data file to the first mobile terminal.
  • the method for obtaining the APN information where the first mobile terminal receives the APN data file and imports it into the APN database of the first mobile terminal, and the saving specifically includes:
  • the XML format of the APN information is converted into a format saved by the APN in the first mobile terminal, and saved in the APN database of the first mobile terminal.
  • the method for obtaining the APN information where the first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves the following:
  • the first mobile terminal uses the APN information to re-configure the APN parameters and repair the network functions that cannot be used.
  • a storage device having stored thereon a plurality of instructions, wherein the instructions are adapted to be loaded and executed by a processor to implement the method of obtaining APN information as described in any of the above.
  • a mobile terminal comprising: a processor, a storage device communicatively coupled to the processor, the storage device being adapted to store a plurality of instructions; the processor being adapted to invoke an instruction in the storage device to perform an implementation The method for obtaining APN information according to any of the above.
  • the invention has the beneficial effects that the present invention can quickly obtain the correct APN information by sending a request for acquiring the APN information to other mobile terminals, so that the related network function of the mobile terminal can be normally used, which provides convenience for the user.
  • FIG. 1 is a flow chart of a first preferred embodiment of a method for obtaining APN information according to the present invention.
  • FIG. 2 is a functional block diagram of a preferred embodiment of the mobile terminal of the present invention.
  • APN Access Point Name, access point, referred to as APN.
  • the APN service is provided by the operator, and the mobile terminal can access different networks through different APNs to implement different network functions.
  • the operator is unable to provide the APN information of all the services in the process of deploying the network, the user may not have some APN configuration information of the operator in the mobile terminal.
  • a mobile terminal used by a certain user in China supports LTE Band 3 (Band 3 is a frequency band that most operators LTE will support), and then travel abroad or travel, you need to buy a local carrier.
  • the SIM card is used, the carrier also supports Band 3, and supports Ut interface and IMS. Then, if the user's mobile terminal does not preset the relevant APN information of the operator, the user cannot use some functions of the network, such as making an IMS call, performing supplementary service under LTE, and the like.
  • FIG. 1 is a flowchart of a first preferred embodiment of a method for obtaining APN information according to the present invention.
  • the method for obtaining the APN information specifically includes the following steps:
  • Step S100 The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
  • the step S100 specifically includes:
  • Step S101 The first mobile terminal receives the information feedback of the APN configuration error, and prompts through the prompt box.
  • Step S102 The first mobile terminal searches for a contact manner with the second mobile terminal according to an operation instruction of the user.
  • Step S103 The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
  • the required APN information is obtained by transmitting a request for acquiring APN information to other mobile terminals.
  • a first mobile terminal there are two terminals, a first mobile terminal and a second mobile terminal.
  • the second mobile terminal can perform the IMS service normally (capable of dialing the VoLTE phone), and the first mobile terminal cannot perform the VoLTE service, and prompts the user that there is no APN configuration information or a PDN connection error. Therefore, the first mobile terminal can acquire the required APN information from the second mobile terminal.
  • the first mobile terminal needs to establish a communication connection with the second mobile terminal in advance; and the first mobile terminal is used as a receiver of the APN data file, and the second mobile terminal is used as an APN data file.
  • the sender the second mobile terminal in the present invention must have the APN information required by the first mobile terminal.
  • the manner of the communication connection includes a Bluetooth connection, a WIFI connection, and an NFC connection.
  • the first mobile terminal When the first mobile terminal fails to perform a certain network function, the first mobile terminal receives the information feedback of the APN configuration error, and prompts the user through the prompt box, so that the user knows that the current mobile terminal lacks the APN of the network function. information.
  • the user may send a request for acquiring the APN information to the second mobile terminal having the APN information as needed.
  • the first mobile terminal searches for the contact manner of the second mobile terminal according to the operation instruction of the user, and then sends a request for acquiring the APN information to the second mobile terminal.
  • the first mobile terminal can send the request to the second mobile terminal in the form of a short message.
  • the first mobile terminal may also send a request for acquiring the APN information to the second mobile terminal through a social software such as WeChat or QQ, so that the user can more conveniently receive the request for acquiring the APN information.
  • Step S200 The second mobile terminal receives the request, and generates an APN data file that includes the APN information required by the first mobile terminal from the local APN database, and sends the data to the first mobile terminal.
  • the step S200 specifically includes:
  • Step S201 The second mobile terminal receives the request for acquiring the APN parameter sent by the first mobile terminal, and extracts the APN information required by the first mobile terminal from the request.
  • Step S202 The second mobile terminal searches for and matches from the local APN database according to the APN information required by the first mobile terminal, and generates an APN data file that includes the APN information required by the first mobile terminal.
  • Step S203 The second mobile terminal sends the APN data file to the first mobile terminal.
  • the second mobile terminal when the second mobile terminal receives the request for acquiring the APN parameter sent by the first mobile terminal, the request is read, and the APN information required by the first mobile terminal is extracted therefrom.
  • the second mobile terminal starts to read the local APN database, searches and matches the APN information required by the first mobile terminal with the local APN database, and finds the corresponding APN information.
  • the APN information is then generated into an APN data file and sent to the first mobile terminal.
  • the data format stored by the APN is also different.
  • the present invention needs to uniformly format the APN data file including the APN information. For XML. Specifically, after the second mobile terminal searches for the APN information required by the first mobile terminal from the local APN database, the data field of the APN information is converted into an attribute value of the XML, and an APN data file is generated.
  • the APN data file includes not only the APN information required by the first mobile terminal, but also the format is XML.
  • the second mobile terminal may send the APN data file containing the APN information to the first mobile terminal by means of Bluetooth, WiFi or NFC.
  • the second mobile terminal can also send the APN data file to the first mobile terminal through social software such as WeChat or QQ, so that the user can receive the APN data request more conveniently.
  • Step S300 The first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves it.
  • the step S300 specifically includes:
  • Step S301 The first mobile terminal receives an APN data file sent by the second mobile terminal.
  • Step S302 Read the APN data file, and obtain APN information from the APN data file.
  • step S303 the XML format of the APN information is converted into a format saved by the APN in the first mobile terminal, and saved in the APN database of the first mobile terminal.
  • the first mobile terminal after receiving the APN data file from the second mobile terminal, the first mobile terminal reads the APN data file, and extracts the required APN information. Because the format of the APN information saved in the first mobile terminal is not necessarily in the XML format, the APN information in the APN data file needs to be converted from the XML format to the format saved by the APN in the first mobile terminal, and then imported into the first mobile terminal. The pole is saved in the APN database. Thereby, the required APN information obtained by the first mobile terminal is obtained.
  • the first mobile terminal uses the APN information to re-configure the APN parameter to repair the unavailable network function. Therefore, the present invention can quickly obtain the required APN information from other mobile terminals, and realize point-to-point access to APN information, without the need for on-line query, and without cumbersome operations, which brings convenience to the user.
  • the present invention also discloses a mobile terminal.
  • the processor 10 includes a storage device (memory) 20 connected to the processor; wherein the processor 10 is configured to invoke program instructions in the storage device 20 to perform the foregoing implementation.
  • the method provided by the example for example:
  • Step S100 The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
  • Step S200 The second mobile terminal receives the request, and generates an APN data file that includes the APN information required by the first mobile terminal from the local APN database, and sends the data to the first mobile terminal.
  • Step S300 The first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves it.
  • the embodiment of the present invention further provides a storage device, where the storage device stores computer instructions, and the computer instructions cause the computer to execute the methods provided by the foregoing embodiments.
  • the present invention provides a method, a storage device, and a mobile terminal for acquiring APN information, including: a first mobile terminal sends a request for acquiring APN information to a second mobile terminal; and the second mobile terminal receives the request.
  • the invention can quickly obtain the correct APN information by sending a request for acquiring the APN information to other mobile terminals, so that the related network function of the mobile terminal can be normally used, which provides convenience for the user.

Landscapes

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

Abstract

Provided in the present invention are an APN information acquisition method, storage device and mobile terminal. The method comprises: a first mobile terminal sends a request for acquiring the APN information to a second mobile terminal; the second mobile terminal receives the request, generates an APN data file that comprises the APN information required by the first mobile terminal in a local APN database, and sends the file to the first mobile terminal; and the first mobile terminal receives the APN data file, imports the file into the APN database of the first mobile terminal, and saves the file. With the present invention, correct APN information can be quickly obtained by sending a request for acquiring the APN information to other mobile terminals, so that related network function of the mobile terminal can be normally used, which is convenient to a user.

Description

一种获取APN信息的方法、存储设备及移动终端Method, storage device and mobile terminal for acquiring APN information 技术领域Technical field
本发明涉及移动终端技术领域,具体涉及一种主获取APN信息的方法、存储设备及移动终端。The present invention relates to the field of mobile terminal technologies, and in particular, to a method, a storage device, and a mobile terminal for acquiring APN information.
背景技术Background technique
随着移动终端的快速普及,移动终端已经成为人们日常生活中必不可少的生产、娱乐、沟通工具,移动终端给人们的生活带来了太多的便利。With the rapid spread of mobile terminals, mobile terminals have become an indispensable production, entertainment, and communication tool in people's daily lives, and mobile terminals have brought too much convenience to people's lives.
在移动终端的使用过程中,经常会出现APN(Access Point Name,接入点)配置信息错误或者APN信息不存在的情况,导致移动终端的某些网络功能无法使用。此时移动终端就需要获取该网络功能的APN信息。During the use of the mobile terminal, the APN (Access Point Name) configuration information is incorrect or the APN information does not exist. As a result, some network functions of the mobile terminal cannot be used. At this point, the mobile terminal needs to obtain the APN information of the network function.
现有技术中的移动终端大多是通过这两种方法获取到APN信息,第一是通过上网查询运营商的APN信息,然后手动输入到移动终端中;第二是通过查看具有此APN信息的其它移动终端,然后手动输入到移动终端中。但是网络上的很多APN信息是过期的、无效的,且费时费力,给用户带来了不便。而且,移动终端中的很多APN信息并不向用户呈现,因此即便查看具有此APN信息的其它移动终端,也仍然无法获取所需要的APN信息,给用户带来了不便。Most of the mobile terminals in the prior art obtain the APN information through the two methods. The first is to query the operator's APN information through the Internet, and then manually input to the mobile terminal; the second is to view other information having the APN information. The mobile terminal is then manually entered into the mobile terminal. However, many APN information on the network is out of date, invalid, and time-consuming and laborious, causing inconvenience to users. Moreover, many APN information in the mobile terminal is not presented to the user, so even if other mobile terminals having the APN information are viewed, the required APN information cannot be obtained, which brings inconvenience to the user.
因此,现有技术还有待于改进和发展。Therefore, the prior art has yet to be improved and developed.
发明内容Summary of the invention
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种获取APN信息的方法、存储设备及移动终端,旨在解决现有技术中对于不同的被叫方,无法拥有不同的主叫号码显示行为的问题。The technical problem to be solved by the present invention is to provide a method for acquiring APN information, a storage device, and a mobile terminal, which are related to the above-mentioned deficiencies of the prior art, and are intended to solve the problem in the prior art that different called parties cannot have different The calling number shows the behavior of the issue.
本发明解决技术问题所采用的技术方案如下:The technical solution adopted by the present invention to solve the technical problem is as follows:
一种获取APN信息的方法,其中,所述方法包括:A method for obtaining APN information, wherein the method includes:
预先将所述第一移动终端与第二移动终端建立通信连接;且所述第一移动终端作为APN数据文件的接收方,所述第二移动终端作为APN数据文件的发送方;Establishing a communication connection between the first mobile terminal and the second mobile terminal in advance; and the first mobile terminal is a receiver of an APN data file, and the second mobile terminal is a sender of an APN data file;
所述第二移动终端中存在第一移动终端所需要的APN信息;The APN information required by the first mobile terminal exists in the second mobile terminal;
第一移动终端向第二移动终端发送获取APN信息的请求;The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal;
第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送;Receiving, by the second mobile terminal, the APN data file that includes the APN information required by the first mobile terminal from the local APN database, and sending the data to the first mobile terminal;
第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存。The first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves it.
所述的获取APN信息的方法,其中,所述通信连接包括:蓝牙连接、WIFI连接以及NFC连接。The method for obtaining APN information, wherein the communication connection comprises: a Bluetooth connection, a WIFI connection, and an NFC connection.
所述的获取APN信息的方法,其中,所述第一移动终端向第二移动终端发送获取APN信息的请求具体包括:And the method for acquiring the APN information, where the request that the first mobile terminal sends the APN information to the second mobile terminal includes:
所述第一移动终端接收到APN配置错误的信息反馈,并通过提示框进行提示;Receiving, by the first mobile terminal, information feedback of an APN configuration error, and prompting by using a prompt box;
所述第一移动终端根据用户的操作指令,查找与第二移动终端的联系方式;The first mobile terminal searches for a contact mode with the second mobile terminal according to an operation instruction of the user;
所述第一移动终端向第二移动终端发送获取APN信息的请求。The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
所述的获取APN信息的方法,其中,所述第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送具体包括:The method for acquiring APN information, wherein the second mobile terminal receives the request, generates an APN data file that includes APN information required by the first mobile terminal from a local APN database, and sends the APN data file to the first mobile terminal. Specifically include:
所述第二移动终端接收到第一移动终端发送的获取APN参数的请求,并从所述请求中提取出所述第一移动终端所需要的APN信息;Receiving, by the second mobile terminal, a request for acquiring an APN parameter sent by the first mobile terminal, and extracting, from the request, the APN information required by the first mobile terminal;
所述第二移动终端根据所述第一移动终端所需要的APN信息从本地APN数据库中查找与匹配,并生成包含第一移动终端所需要的APN信息的APN数据文件;The second mobile terminal searches for and matches from the local APN database according to the APN information required by the first mobile terminal, and generates an APN data file that includes the APN information required by the first mobile terminal;
所述第二移动终端将所述APN数据文件向第一移动终端发送。The second mobile terminal sends the APN data file to the first mobile terminal.
所述的获取APN信息的方法,其中,所述第二移动终端根据所述第一移动终端所需要的APN信息从本地APN数据库中查找与匹配,并生成包含第一移动终端所需要的APN信息的APN数据文件具体包括:The method for obtaining APN information, wherein the second mobile terminal searches and matches from the local APN database according to the APN information required by the first mobile terminal, and generates APN information required by the first mobile terminal. The APN data file specifically includes:
所述第二移动终端读取本地APN数据库中的APN信息;The second mobile terminal reads the APN information in the local APN database;
将所述第一移动终端所需要的APN信息与本地APN数据库进行匹配,查找出对应的APN信息;Matching the APN information required by the first mobile terminal with the local APN database to find the corresponding APN information;
将查找出的APN信息的数据域转换为XML的属性值,并生成APN数据文件;Converting the data field of the found APN information into an attribute value of the XML, and generating an APN data file;
所述第二移动终端将生成的APN数据文件向第一移动终端发送。The second mobile terminal sends the generated APN data file to the first mobile terminal.
所述的获取APN信息的方法,其中,所述第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存具体包括:And the method for obtaining the APN information, where the first mobile terminal receives the APN data file and imports it into the APN database of the first mobile terminal, and the saving specifically includes:
所述第一移动终端接收到所述第二移动终端发送来的APN数据文件;Receiving, by the first mobile terminal, an APN data file sent by the second mobile terminal;
读取所述APN数据文件,并从所述APN数据文件中获取APN信息;Reading the APN data file, and acquiring APN information from the APN data file;
将所述APN信息的XML格式转换为第一移动终端中APN保存的格式,并保存至第一移动终端的APN数据库中。The XML format of the APN information is converted into a format saved by the APN in the first mobile terminal, and saved in the APN database of the first mobile terminal.
所述的获取APN信息的方法,其中,所述第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存之后还包括:And the method for obtaining the APN information, where the first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves the following:
所述第一移动终端使用所述APN信息,重新进行APN参数配置,修复无法使用的网络功能。The first mobile terminal uses the APN information to re-configure the APN parameters and repair the network functions that cannot be used.
一种存储设备,其上存储有多条指令,其中,所述指令适于由处理器加载 并执行,以实现上述任一项所述的获取APN信息的方法。A storage device having stored thereon a plurality of instructions, wherein the instructions are adapted to be loaded and executed by a processor to implement the method of obtaining APN information as described in any of the above.
一种移动终端,其中,包括:处理器、与处理器通信连接的存储设备,所述存储设备适于存储多条指令;所述处理器适于调用所述存储设备中的指令,以执行实现上述任一项所述的获取APN信息的方法。A mobile terminal, comprising: a processor, a storage device communicatively coupled to the processor, the storage device being adapted to store a plurality of instructions; the processor being adapted to invoke an instruction in the storage device to perform an implementation The method for obtaining APN information according to any of the above.
本发明的有益效果:本发明通过向其他移动终端发送获取APN信息的请求,从而快速获取正确的APN信息,使得移动终端的相关网络功能可以正常使用,给用户提供了方便。The invention has the beneficial effects that the present invention can quickly obtain the correct APN information by sending a request for acquiring the APN information to other mobile terminals, so that the related network function of the mobile terminal can be normally used, which provides convenience for the user.
附图说明DRAWINGS
图1是本发明的获取APN信息的方法的第一较佳实施例的流程图。1 is a flow chart of a first preferred embodiment of a method for obtaining APN information according to the present invention.
图2是本发明的移动终端的较佳实施例的功能原理框图。2 is a functional block diagram of a preferred embodiment of the mobile terminal of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
APN:Access Point Name,接入点,简称APN。APN业务由运营商提供,移动终端可以通过不同的APN接入不同的网络中,实现不同的网络功能。由于运营商在部署网络的过程中,无法一次性提供所有业务的APN信息,因此用户拿到移动终端后,移动终端中可能没有运营商的部分APN配置信息,会导致部分业务无法正常使用。就比如中国的某一用户使用的移动终端支持LTE的Band 3(Band 3是大多数运营商LTE都会支持的一个频段),然后去国外旅游或者出差,就需要买一张当地的一家运营商的SIM卡来使用,该运营商也支持Band 3,以及支持Ut接口和IMS等。那么,如果该用户的移动终端中没有预置该运营商的相关APN信息,则用户无法使用该网络的部分功能,比如打IMS电话,在LTE下进行补充业务等。APN: Access Point Name, access point, referred to as APN. The APN service is provided by the operator, and the mobile terminal can access different networks through different APNs to implement different network functions. As the operator is unable to provide the APN information of all the services in the process of deploying the network, the user may not have some APN configuration information of the operator in the mobile terminal. For example, a mobile terminal used by a certain user in China supports LTE Band 3 (Band 3 is a frequency band that most operators LTE will support), and then travel abroad or travel, you need to buy a local carrier. The SIM card is used, the carrier also supports Band 3, and supports Ut interface and IMS. Then, if the user's mobile terminal does not preset the relevant APN information of the operator, the user cannot use some functions of the network, such as making an IMS call, performing supplementary service under LTE, and the like.
因此,本发明提供一种获取APN信息的方法,如图1所示,图1为本发明的获取APN信息的方法的第一较佳实施例的流程图。所述获取APN信息的方法具体包括如下步骤:Therefore, the present invention provides a method for acquiring APN information. As shown in FIG. 1, FIG. 1 is a flowchart of a first preferred embodiment of a method for obtaining APN information according to the present invention. The method for obtaining the APN information specifically includes the following steps:
步骤S100、第一移动终端向第二移动终端发送获取APN信息的请求。Step S100: The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
较佳地,所述步骤S100具体包括:Preferably, the step S100 specifically includes:
步骤S101、所述第一移动终端接收到APN配置错误的信息反馈,并通过提示框进行提示;Step S101: The first mobile terminal receives the information feedback of the APN configuration error, and prompts through the prompt box.
步骤S102、所述第一移动终端根据用户的操作指令,查找与第二移动终端的联系方式;Step S102: The first mobile terminal searches for a contact manner with the second mobile terminal according to an operation instruction of the user.
步骤S103、所述第一移动终端向第二移动终端发送获取APN信息的请求。Step S103: The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
具体实施时,本发明中是通过向其他移动终端发送获取APN信息的请求,从而获取所需要的APN信息。例如有两个终端,第一移动终端和第二移动终端。第二移动终端可以正常进行IMS业务(能够拨打VoLTE电话),而第一移动终端无法进行VoLTE业务,并向用户提示没有APN配置信息或者PDN连接错误。因此,第一移动终端就可从第二移动终端获取到所需要的APN信息。In a specific implementation, in the present invention, the required APN information is obtained by transmitting a request for acquiring APN information to other mobile terminals. For example, there are two terminals, a first mobile terminal and a second mobile terminal. The second mobile terminal can perform the IMS service normally (capable of dialing the VoLTE phone), and the first mobile terminal cannot perform the VoLTE service, and prompts the user that there is no APN configuration information or a PDN connection error. Therefore, the first mobile terminal can acquire the required APN information from the second mobile terminal.
较佳地,本发明中需要预先将所述第一移动终端与第二移动终端建立通信连接;且所述第一移动终端作为APN数据文件的接收方,所述第二移动终端作为APN数据文件的发送方。当然,本发明中的第二移动终端中必须具有第一移动终端所需要的APN信息。所述通信连接的方式包括蓝牙连接、WIFI连接以及NFC连接。Preferably, in the present invention, the first mobile terminal needs to establish a communication connection with the second mobile terminal in advance; and the first mobile terminal is used as a receiver of the APN data file, and the second mobile terminal is used as an APN data file. The sender. Of course, the second mobile terminal in the present invention must have the APN information required by the first mobile terminal. The manner of the communication connection includes a Bluetooth connection, a WIFI connection, and an NFC connection.
当第一移动终端运行某一网络功能失败时,第一移动终端接收到APN配置错误的信息反馈,并通过提示框向用户进行提示,以使用户知晓当前第一移动终端缺少该网络功能的APN信息。此时用户可根据需要,向具有该APN信息的第二移动终端发送获取APN信息的请求。具体地,第一移动终端根据用户的操作指令,查找第二移动终端的联系方式,然后向第二移动终端发送获取APN信息的请求。较佳地,第一移动终端可通过短信的形式将请求向第二移动终端发送。第一移动终端也可通过微信或者QQ这种社交软件向第二移动终端发送获取APN信息的请求,以便用户更方便的接收获取APN信息的请求。When the first mobile terminal fails to perform a certain network function, the first mobile terminal receives the information feedback of the APN configuration error, and prompts the user through the prompt box, so that the user knows that the current mobile terminal lacks the APN of the network function. information. At this time, the user may send a request for acquiring the APN information to the second mobile terminal having the APN information as needed. Specifically, the first mobile terminal searches for the contact manner of the second mobile terminal according to the operation instruction of the user, and then sends a request for acquiring the APN information to the second mobile terminal. Preferably, the first mobile terminal can send the request to the second mobile terminal in the form of a short message. The first mobile terminal may also send a request for acquiring the APN information to the second mobile terminal through a social software such as WeChat or QQ, so that the user can more conveniently receive the request for acquiring the APN information.
步骤S200、第二移动终端接收所述请求,从本地APN数据库中生成包含 第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送。Step S200: The second mobile terminal receives the request, and generates an APN data file that includes the APN information required by the first mobile terminal from the local APN database, and sends the data to the first mobile terminal.
较佳地,所述步骤S200具体包括:Preferably, the step S200 specifically includes:
步骤S201、所述第二移动终端接收到第一移动终端发送的获取APN参数的请求,并从所述请求中提取出所述第一移动终端所需要的APN信息;Step S201: The second mobile terminal receives the request for acquiring the APN parameter sent by the first mobile terminal, and extracts the APN information required by the first mobile terminal from the request.
步骤S202、所述第二移动终端根据所述第一移动终端所需要的APN信息从本地APN数据库中查找与匹配,并生成包含第一移动终端所需要的APN信息的APN数据文件;Step S202: The second mobile terminal searches for and matches from the local APN database according to the APN information required by the first mobile terminal, and generates an APN data file that includes the APN information required by the first mobile terminal.
步骤S203、所述第二移动终端将所述APN数据文件向第一移动终端发送。Step S203: The second mobile terminal sends the APN data file to the first mobile terminal.
具体实施时,当第二移动终端接收到第一移动终端发送的获取APN参数的请求时,读取所述请求,并从中提取出第一移动终端所需要的APN信息。第二移动终端开始读取本地APN数据库,将第一移动终端所需要的APN信息与本地APN数据库进行查找与匹配,找出对应的APN信息。之后将该APN信息生成一APN数据文件,向第一移动终端发送。In a specific implementation, when the second mobile terminal receives the request for acquiring the APN parameter sent by the first mobile terminal, the request is read, and the APN information required by the first mobile terminal is extracted therefrom. The second mobile terminal starts to read the local APN database, searches and matches the APN information required by the first mobile terminal with the local APN database, and finds the corresponding APN information. The APN information is then generated into an APN data file and sent to the first mobile terminal.
较佳地,由于不同的移动终端的OS(操作系统)可能不一样,因此APN存储的数据格式也会不同,为了使APN数据文件安全发送,本发明需要将包含APN信息的APN数据文件统一格式为XML。具体地,在第二移动终端从本地APN数据库中查找到第一移动终端所需要的APN信息之后,将该APN信息的数据域转换为XML的属性值,并生成APN数据文件。由此,所述APN数据文件中不仅包含了第一移动终端所需要的APN信息,并且格式为XML。Preferably, since the OS (operating system) of different mobile terminals may be different, the data format stored by the APN is also different. In order to securely transmit the APN data file, the present invention needs to uniformly format the APN data file including the APN information. For XML. Specifically, after the second mobile terminal searches for the APN information required by the first mobile terminal from the local APN database, the data field of the APN information is converted into an attribute value of the XML, and an APN data file is generated. Thus, the APN data file includes not only the APN information required by the first mobile terminal, but also the format is XML.
进一步较佳地,所述第二移动终端可通过蓝牙、WiFi或者NFC的方式将包含APN信息的APN数据文件发送给第一移动终端。当然,第二移动终端也可通过微信或者QQ这种社交软件向第一移动终端发送,从而实现远程发送APN数据文件,以便用户更方便的接收获取APN信息的请求。Further preferably, the second mobile terminal may send the APN data file containing the APN information to the first mobile terminal by means of Bluetooth, WiFi or NFC. Of course, the second mobile terminal can also send the APN data file to the first mobile terminal through social software such as WeChat or QQ, so that the user can receive the APN data request more conveniently.
步骤S300、第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存。Step S300: The first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves it.
较佳地,所述步骤S300具体包括:Preferably, the step S300 specifically includes:
步骤S301、所述第一移动终端接收到所述第二移动终端发送来的APN数据文件;Step S301: The first mobile terminal receives an APN data file sent by the second mobile terminal.
步骤S302、读取所述APN数据文件,并从所述APN数据文件中获取APN信息;Step S302: Read the APN data file, and obtain APN information from the APN data file.
步骤S303、将所述APN信息的XML格式转换为第一移动终端中APN保存的格式,并保存至第一移动终端的APN数据库中。In step S303, the XML format of the APN information is converted into a format saved by the APN in the first mobile terminal, and saved in the APN database of the first mobile terminal.
具体实施时,所述第一移动终端接收到来自第二移动终端的APN数据文件之后,读取所述APN数据文件,并提取所需要的APN信息。由于所述第一移动终端中的APN信息保存的格式未必是XML格式,因此需要将APN数据文件中APN信息从XML格式转换为第一移动终端中APN保存的格式,然后再导入第一移动终端杆的APN数据库中并保存。由此,使得第一移动终端获的所需要的APN信息。In a specific implementation, after receiving the APN data file from the second mobile terminal, the first mobile terminal reads the APN data file, and extracts the required APN information. Because the format of the APN information saved in the first mobile terminal is not necessarily in the XML format, the APN information in the APN data file needs to be converted from the XML format to the format saved by the APN in the first mobile terminal, and then imported into the first mobile terminal. The pole is saved in the APN database. Thereby, the required APN information obtained by the first mobile terminal is obtained.
较佳地,当第一移动终端获取到所需要的APN信息之后,所述第一移动终端使用所述APN信息,重新进行APN参数配置,修复无法使用的网络功能。由此看来,本发明能够从其他移动终端快速获取所需要的APN信息,实现点对点的获取APN信息,无需上网查询,也无需繁琐的操作,给用户带来了方便。Preferably, after the first mobile terminal obtains the required APN information, the first mobile terminal uses the APN information to re-configure the APN parameter to repair the unavailable network function. Therefore, the present invention can quickly obtain the required APN information from other mobile terminals, and realize point-to-point access to APN information, without the need for on-line query, and without cumbersome operations, which brings convenience to the user.
基于上述实施例,本发明还公开了一种移动终端。如图2示,包括:处理器(processor)10、与处理器连接的存储设备(memory)20;其中,所述处理器10用于调用所述存储设备20中的程序指令,以执行上述实施例所提供的方法,例如执行:Based on the above embodiments, the present invention also discloses a mobile terminal. As shown in FIG. 2, the processor 10 includes a storage device (memory) 20 connected to the processor; wherein the processor 10 is configured to invoke program instructions in the storage device 20 to perform the foregoing implementation. The method provided by the example, for example:
步骤S100、第一移动终端向第二移动终端发送获取APN信息的请求;Step S100: The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
步骤S200、第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送;Step S200: The second mobile terminal receives the request, and generates an APN data file that includes the APN information required by the first mobile terminal from the local APN database, and sends the data to the first mobile terminal.
步骤S300、第一移动终端接收所述APN数据文件,导入第一移动终端的 APN数据库中并保存。Step S300: The first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves it.
本发明实施例还提供一种存储设备,所述存储设备上存储计算机指令,所述计算机指令使计算机执行上述各实施例所提供的方法。The embodiment of the present invention further provides a storage device, where the storage device stores computer instructions, and the computer instructions cause the computer to execute the methods provided by the foregoing embodiments.
综上所述,本发明提供的一种获取APN信息的方法、存储设备及移动终端,方法包括:第一移动终端向第二移动终端发送获取APN信息的请求;第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送;第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存。本发明通过向其他移动终端发送获取APN信息的请求,从而快速获取正确的APN信息,使得移动终端的相关网络功能可以正常使用,给用户提供了方便。In summary, the present invention provides a method, a storage device, and a mobile terminal for acquiring APN information, including: a first mobile terminal sends a request for acquiring APN information to a second mobile terminal; and the second mobile terminal receives the request. Generating an APN data file containing the APN information required by the first mobile terminal from the local APN database, and transmitting the APN data file to the first mobile terminal; the first mobile terminal receiving the APN data file and importing it into the APN database of the first mobile terminal And save. The invention can quickly obtain the correct APN information by sending a request for acquiring the APN information to other mobile terminals, so that the related network function of the mobile terminal can be normally used, which provides convenience for the user.
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It is to be understood that the application of the present invention is not limited to the above-described examples, and those skilled in the art can make modifications and changes in accordance with the above description, all of which are within the scope of the appended claims.

Claims (20)

  1. 一种获取APN信息的方法,其中,所述方法包括:A method for obtaining APN information, wherein the method includes:
    预先将所述第一移动终端与第二移动终端建立通信连接;且所述第一移动终端作为APN数据文件的接收方,所述第二移动终端作为APN数据文件的发送方;Establishing a communication connection between the first mobile terminal and the second mobile terminal in advance; and the first mobile terminal is a receiver of an APN data file, and the second mobile terminal is a sender of an APN data file;
    所述第二移动终端中存在第一移动终端所需要的APN信息;The APN information required by the first mobile terminal exists in the second mobile terminal;
    第一移动终端向第二移动终端发送获取APN信息的请求;The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal;
    第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送;Receiving, by the second mobile terminal, the APN data file that includes the APN information required by the first mobile terminal from the local APN database, and sending the data to the first mobile terminal;
    第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存。The first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves it.
  2. 根据权利要求1所述的获取APN信息的方法,其中,所述通信连接包括:蓝牙连接、WIFI连接以及NFC连接。The method for obtaining APN information according to claim 1, wherein the communication connection comprises: a Bluetooth connection, a WIFI connection, and an NFC connection.
  3. 根据权利要求1所述的获取APN信息的方法,其中,所述第一移动终端向第二移动终端发送获取APN信息的请求具体包括:The method for obtaining APN information according to claim 1, wherein the request for the first mobile terminal to send the APN information to the second mobile terminal specifically includes:
    所述第一移动终端接收到APN配置错误的信息反馈,并通过提示框进行提示;Receiving, by the first mobile terminal, information feedback of an APN configuration error, and prompting by using a prompt box;
    所述第一移动终端根据用户的操作指令,查找与第二移动终端的联系方式;The first mobile terminal searches for a contact mode with the second mobile terminal according to an operation instruction of the user;
    所述第一移动终端向第二移动终端发送获取APN信息的请求。The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
  4. 根据权利要求1所述的获取APN信息的方法,其中,所述第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送具体包括:The method for obtaining APN information according to claim 1, wherein the second mobile terminal receives the request, and generates an APN data file including APN information required by the first mobile terminal from a local APN database, and A mobile terminal sends specifics including:
    所述第二移动终端接收到第一移动终端发送的获取APN参数的请求,并 从所述请求中提取出所述第一移动终端所需要的APN信息;Receiving, by the second mobile terminal, a request for acquiring an APN parameter sent by the first mobile terminal, and extracting, from the request, the APN information required by the first mobile terminal;
    所述第二移动终端根据所述第一移动终端所需要的APN信息从本地APN数据库中查找与匹配,并生成包含第一移动终端所需要的APN信息的APN数据文件;The second mobile terminal searches for and matches from the local APN database according to the APN information required by the first mobile terminal, and generates an APN data file that includes the APN information required by the first mobile terminal;
    所述第二移动终端将所述APN数据文件向第一移动终端发送。The second mobile terminal sends the APN data file to the first mobile terminal.
  5. 根据权利要求4所述的获取APN信息的方法,其中,所述第二移动终端根据所述第一移动终端所需要的APN信息从本地APN数据库中查找与匹配,并生成包含第一移动终端所需要的APN信息的APN数据文件具体包括:The method for obtaining APN information according to claim 4, wherein the second mobile terminal searches and matches from the local APN database according to the APN information required by the first mobile terminal, and generates a first mobile terminal. The APN data file of the required APN information specifically includes:
    所述第二移动终端读取本地APN数据库中的APN信息;The second mobile terminal reads the APN information in the local APN database;
    将所述第一移动终端所需要的APN信息与本地APN数据库进行匹配,查找出对应的APN信息;Matching the APN information required by the first mobile terminal with the local APN database to find the corresponding APN information;
    将查找出的APN信息的数据域转换为XML的属性值,并生成APN数据文件;Converting the data field of the found APN information into an attribute value of the XML, and generating an APN data file;
    所述第二移动终端将生成的APN数据文件向第一移动终端发送。The second mobile terminal sends the generated APN data file to the first mobile terminal.
  6. 根据权利要求1所述的获取APN信息的方法,其中,所述第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存具体包括:The method for obtaining APN information according to claim 1, wherein the receiving, by the first mobile terminal, the APN data file into the APN database of the first mobile terminal and saving specifically includes:
    所述第一移动终端接收到所述第二移动终端发送来的APN数据文件;Receiving, by the first mobile terminal, an APN data file sent by the second mobile terminal;
    读取所述APN数据文件,并从所述APN数据文件中获取APN信息;Reading the APN data file, and acquiring APN information from the APN data file;
    将所述APN信息的XML格式转换为第一移动终端中APN保存的格式,并保存至第一移动终端的APN数据库中。The XML format of the APN information is converted into a format saved by the APN in the first mobile terminal, and saved in the APN database of the first mobile terminal.
  7. 根据权利要求1所述的获取APN信息的方法,其中,所述第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存之后还包括:The method for obtaining APN information according to claim 1, wherein the first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves the following:
    所述第一移动终端使用所述APN信息,重新进行APN参数配置,修复无法使用的网络功能。The first mobile terminal uses the APN information to re-configure the APN parameters and repair the network functions that cannot be used.
  8. 一种存储设备,其上存储有多条指令,其中,所述指令适于由处理器加载并执行,以实现获取APN信息的方法,所述方法包括:A storage device having stored thereon a plurality of instructions, wherein the instructions are adapted to be loaded and executed by a processor to implement a method for obtaining APN information, the method comprising:
    第一移动终端向第二移动终端发送获取APN信息的请求;The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal;
    第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送;Receiving, by the second mobile terminal, the APN data file that includes the APN information required by the first mobile terminal from the local APN database, and sending the data to the first mobile terminal;
    第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存。The first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves it.
  9. 根据权利要求8所述的存储设备,其中,所述第一移动终端向第二移动终端发送获取APN信息的请求之前还包括:The storage device of claim 8, wherein the sending, by the first mobile terminal, the request for acquiring the APN information to the second mobile terminal further comprises:
    预先将所述第一移动终端与第二移动终端建立通信连接;且所述第一移动终端作为APN数据文件的接收方,所述第二移动终端作为APN数据文件的发送方;Establishing a communication connection between the first mobile terminal and the second mobile terminal in advance; and the first mobile terminal is a receiver of an APN data file, and the second mobile terminal is a sender of an APN data file;
    所述第二移动终端中存在第一移动终端所需要的APN信息。The APN information required by the first mobile terminal exists in the second mobile terminal.
  10. 根据权利要求9所述的存储设备,其中,所述通信连接包括:蓝牙连接、WIFI连接以及NFC连接。The storage device of claim 9, wherein the communication connection comprises: a Bluetooth connection, a WIFI connection, and an NFC connection.
  11. 根据权利要求8所述的存储设备,其中,所述第一移动终端向第二移动终端发送获取APN信息的请求具体包括:The storage device according to claim 8, wherein the request for the first mobile terminal to send the APN information to the second mobile terminal specifically includes:
    所述第一移动终端接收到APN配置错误的信息反馈,并通过提示框进行提示;Receiving, by the first mobile terminal, information feedback of an APN configuration error, and prompting by using a prompt box;
    所述第一移动终端根据用户的操作指令,查找与第二移动终端的联系方式;The first mobile terminal searches for a contact mode with the second mobile terminal according to an operation instruction of the user;
    所述第一移动终端向第二移动终端发送获取APN信息的请求。The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
  12. 根据权利要求8所述的存储设备,其中,所述第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送具体包括:The storage device according to claim 8, wherein the second mobile terminal receives the request, generates an APN data file including APN information required by the first mobile terminal from the local APN database, and sends the APN data file to the first mobile terminal. The delivery details include:
    所述第二移动终端接收到第一移动终端发送的获取APN参数的请求,并从所述请求中提取出所述第一移动终端所需要的APN信息;Receiving, by the second mobile terminal, a request for acquiring an APN parameter sent by the first mobile terminal, and extracting, from the request, the APN information required by the first mobile terminal;
    所述第二移动终端根据所述第一移动终端所需要的APN信息从本地APN数据库中查找与匹配,并生成包含第一移动终端所需要的APN信息的APN数据文件;The second mobile terminal searches for and matches from the local APN database according to the APN information required by the first mobile terminal, and generates an APN data file that includes the APN information required by the first mobile terminal;
    所述第二移动终端将所述APN数据文件向第一移动终端发送。The second mobile terminal sends the APN data file to the first mobile terminal.
  13. 根据权利要求12所述的存储设备,其中,所述第二移动终端根据所述第一移动终端所需要的APN信息从本地APN数据库中查找与匹配,并生成包含第一移动终端所需要的APN信息的APN数据文件具体包括:The storage device according to claim 12, wherein the second mobile terminal searches and matches from the local APN database according to the APN information required by the first mobile terminal, and generates an APN required by the first mobile terminal. The APN data file of the information specifically includes:
    所述第二移动终端读取本地APN数据库中的APN信息;The second mobile terminal reads the APN information in the local APN database;
    将所述第一移动终端所需要的APN信息与本地APN数据库进行匹配,查找出对应的APN信息;Matching the APN information required by the first mobile terminal with the local APN database to find the corresponding APN information;
    将查找出的APN信息的数据域转换为XML的属性值,并生成APN数据文件;Converting the data field of the found APN information into an attribute value of the XML, and generating an APN data file;
    所述第二移动终端将生成的APN数据文件向第一移动终端发送。The second mobile terminal sends the generated APN data file to the first mobile terminal.
  14. 根据权利要求8所述的存储设备,其中,所述第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存具体包括:The storage device of claim 8, wherein the receiving, by the first mobile terminal, the APN data file into the APN database of the first mobile terminal and saving specifically comprises:
    所述第一移动终端接收到所述第二移动终端发送来的APN数据文件;Receiving, by the first mobile terminal, an APN data file sent by the second mobile terminal;
    读取所述APN数据文件,并从所述APN数据文件中获取APN信息;Reading the APN data file, and acquiring APN information from the APN data file;
    将所述APN信息的XML格式转换为第一移动终端中APN保存的格式,并保存至第一移动终端的APN数据库中。The XML format of the APN information is converted into a format saved by the APN in the first mobile terminal, and saved in the APN database of the first mobile terminal.
  15. 根据权利要求8所述的存储设备,其中,所述第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存之后还包括:The storage device of claim 8, wherein the receiving, by the first mobile terminal, the APN data file, after being imported into the APN database of the first mobile terminal and saving, further comprises:
    所述第一移动终端使用所述APN信息,重新进行APN参数配置,修复无法使用的网络功能。The first mobile terminal uses the APN information to re-configure the APN parameters and repair the network functions that cannot be used.
  16. 一种移动终端,其中,包括:处理器、与处理器通信连接的存储设备,所述存储设备适于存储多条指令;所述处理器适于调用所述存储设备中的指令,以执行实现获取APN信息的方法,所述方法包括:A mobile terminal, comprising: a processor, a storage device communicatively coupled to the processor, the storage device being adapted to store a plurality of instructions; the processor being adapted to invoke an instruction in the storage device to perform an implementation A method for obtaining APN information, the method comprising:
    第一移动终端向第二移动终端发送获取APN信息的请求;The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal;
    第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送;Receiving, by the second mobile terminal, the APN data file that includes the APN information required by the first mobile terminal from the local APN database, and sending the data to the first mobile terminal;
    第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存。The first mobile terminal receives the APN data file, imports it into the APN database of the first mobile terminal, and saves it.
  17. 根据权利要求16所述的移动终端,其中,所述第一移动终端向第二移动终端发送获取APN信息的请求之前还包括:The mobile terminal according to claim 16, wherein the first mobile terminal further includes: before transmitting, by the second mobile terminal, the request for acquiring the APN information:
    预先将所述第一移动终端与第二移动终端建立通信连接;且所述第一移动终端作为APN数据文件的接收方,所述第二移动终端作为APN数据文件的发送方;Establishing a communication connection between the first mobile terminal and the second mobile terminal in advance; and the first mobile terminal is a receiver of an APN data file, and the second mobile terminal is a sender of an APN data file;
    所述第二移动终端中存在第一移动终端所需要的APN信息。The APN information required by the first mobile terminal exists in the second mobile terminal.
  18. 根据权利要求16所述的移动终端,其中,所述第一移动终端向第二移动终端发送获取APN信息的请求具体包括:The mobile terminal according to claim 16, wherein the request for the first mobile terminal to send the APN information to the second mobile terminal specifically includes:
    所述第一移动终端接收到APN配置错误的信息反馈,并通过提示框进行提示;Receiving, by the first mobile terminal, information feedback of an APN configuration error, and prompting by using a prompt box;
    所述第一移动终端根据用户的操作指令,查找与第二移动终端的联系方式;The first mobile terminal searches for a contact mode with the second mobile terminal according to an operation instruction of the user;
    所述第一移动终端向第二移动终端发送获取APN信息的请求。The first mobile terminal sends a request for acquiring the APN information to the second mobile terminal.
  19. 根据权利要求16所述的移动终端,其中,所述第二移动终端接收所述请求,从本地APN数据库中生成包含第一移动终端所需要的APN信息的APN数据文件,并向第一移动终端发送具体包括:The mobile terminal according to claim 16, wherein the second mobile terminal receives the request, generates an APN data file including APN information required by the first mobile terminal from the local APN database, and sends the APN data file to the first mobile terminal. The delivery details include:
    所述第二移动终端接收到第一移动终端发送的获取APN参数的请求,并从所述请求中提取出所述第一移动终端所需要的APN信息;Receiving, by the second mobile terminal, a request for acquiring an APN parameter sent by the first mobile terminal, and extracting, from the request, the APN information required by the first mobile terminal;
    所述第二移动终端根据所述第一移动终端所需要的APN信息从本地APN数据库中查找与匹配,并生成包含第一移动终端所需要的APN信息的APN数据文件;The second mobile terminal searches for and matches from the local APN database according to the APN information required by the first mobile terminal, and generates an APN data file that includes the APN information required by the first mobile terminal;
    所述第二移动终端将所述APN数据文件向第一移动终端发送。The second mobile terminal sends the APN data file to the first mobile terminal.
  20. 根据权利要求16所述的移动终端,其中,所述第一移动终端接收所述APN数据文件,导入第一移动终端的APN数据库中并保存具体包括:The mobile terminal according to claim 16, wherein the receiving, by the first mobile terminal, the APN data file, and importing into the APN database of the first mobile terminal, and saving specifically includes:
    所述第一移动终端接收到所述第二移动终端发送来的APN数据文件;Receiving, by the first mobile terminal, an APN data file sent by the second mobile terminal;
    读取所述APN数据文件,并从所述APN数据文件中获取APN信息;Reading the APN data file, and acquiring APN information from the APN data file;
    将所述APN信息的XML格式转换为第一移动终端中APN保存的格式,并保存至第一移动终端的APN数据库中。The XML format of the APN information is converted into a format saved by the APN in the first mobile terminal, and saved in the APN database of the first mobile terminal.
PCT/CN2018/109412 2017-10-09 2018-10-09 Apn information acquisition method, storage device and mobile terminal WO2019072156A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710930505.1 2017-10-09
CN201710930505.1A CN107888746A (en) 2017-10-09 2017-10-09 A kind of method, storage device and mobile terminal for obtaining APN information

Publications (1)

Publication Number Publication Date
WO2019072156A1 true WO2019072156A1 (en) 2019-04-18

Family

ID=61781179

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/109412 WO2019072156A1 (en) 2017-10-09 2018-10-09 Apn information acquisition method, storage device and mobile terminal

Country Status (2)

Country Link
CN (1) CN107888746A (en)
WO (1) WO2019072156A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888746A (en) * 2017-10-09 2018-04-06 惠州Tcl移动通信有限公司 A kind of method, storage device and mobile terminal for obtaining APN information
WO2020124528A1 (en) * 2018-12-21 2020-06-25 深圳市元征科技股份有限公司 On-board device access point apn configuration method, terminal and computer medium
CN114641063B (en) * 2020-11-30 2024-10-01 展讯半导体(南京)有限公司 Method, equipment, system and storage medium for service access

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404861A (en) * 2011-06-30 2012-04-04 华为终端有限公司 Method for controlling user to access network and portable WIFI hotspot device
WO2012068821A1 (en) * 2010-11-25 2012-05-31 中兴通讯股份有限公司 Mobile terminal, system and method for realizing access point name setting
CN105338596A (en) * 2015-11-17 2016-02-17 小米科技有限责任公司 Data service establishing method and device
CN107888746A (en) * 2017-10-09 2018-04-06 惠州Tcl移动通信有限公司 A kind of method, storage device and mobile terminal for obtaining APN information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906092A (en) * 2014-03-28 2014-07-02 宇龙计算机通信科技(深圳)有限公司 Method and device for updating access point information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012068821A1 (en) * 2010-11-25 2012-05-31 中兴通讯股份有限公司 Mobile terminal, system and method for realizing access point name setting
CN102404861A (en) * 2011-06-30 2012-04-04 华为终端有限公司 Method for controlling user to access network and portable WIFI hotspot device
CN105338596A (en) * 2015-11-17 2016-02-17 小米科技有限责任公司 Data service establishing method and device
CN107888746A (en) * 2017-10-09 2018-04-06 惠州Tcl移动通信有限公司 A kind of method, storage device and mobile terminal for obtaining APN information

Also Published As

Publication number Publication date
CN107888746A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
KR101802264B1 (en) Method for sharing virtual sim card by multiple terminals, terminals, server, and system
WO2013139283A1 (en) Method and terminal for loading configuration information of mobile network operator
WO2018192554A1 (en) Ims parameter configuration method, system and mobile terminal
US20150207774A1 (en) Method and System of APP for Obtaining MAC Address of Terminal
WO2019072156A1 (en) Apn information acquisition method, storage device and mobile terminal
CN102187714A (en) Method, equipment and communication system for mobile terminal accessing to a wireless network
TW201340672A (en) Mobile communication termination and management method of telephone numbers
WO2017166619A1 (en) Method and apparatus for determining emergency communication numbers, and electronic device
WO2014101477A1 (en) Near field communication method and device
WO2015184924A1 (en) Method for implementing remote assistance between terminals, service assistance server and device
WO2013182135A2 (en) Method, device and terminal for mobile terminals to exchange user information
WO2012100454A1 (en) Mobile terminal and parameter setting method thereof
WO2017128538A1 (en) Network search control method and device
WO2017166744A1 (en) Membership service data interaction method and apparatus for mobile terminal, and electronic device
CN103338313A (en) Method and device for processing telephone numbers
CN104038921A (en) Method and system for theme interaction between mobile terminals
CN107426090B (en) Information processing method, device, medium, electronic device, server and system
CN110493771B (en) Data network connection method, device, storage medium and terminal equipment
WO2019061116A1 (en) Terminal pairing method, server and terminal
CN109525469B (en) Networking method of intelligent household equipment and intelligent household equipment
CN107391170A (en) Support multivariant upgrade method, device and computer equipment
CN106452902A (en) Realization method for communication mode selection function
WO2019134575A1 (en) Address book contact updating method, device, apparatus, and storage medium
CN107124760B (en) APN information collection and synchronization method, terminal device and storage medium
CN109446428A (en) A kind of specification management system and method

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18865923

Country of ref document: EP

Kind code of ref document: A1