WO2021042893A1 - 接入点名称配置方法、装置及可读存储介质 - Google Patents

接入点名称配置方法、装置及可读存储介质 Download PDF

Info

Publication number
WO2021042893A1
WO2021042893A1 PCT/CN2020/103437 CN2020103437W WO2021042893A1 WO 2021042893 A1 WO2021042893 A1 WO 2021042893A1 CN 2020103437 W CN2020103437 W CN 2020103437W WO 2021042893 A1 WO2021042893 A1 WO 2021042893A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
network
terminal
candidate
type
Prior art date
Application number
PCT/CN2020/103437
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to JP2021570236A priority Critical patent/JP7481369B2/ja
Priority to EP20860048.6A priority patent/EP4027706A4/en
Priority to US17/442,879 priority patent/US20220191170A1/en
Publication of WO2021042893A1 publication Critical patent/WO2021042893A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/17Selecting a data network PoA [Point of Attachment]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/30Types of network names
    • H04L2101/35Types of network names containing special prefixes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/30Types of network names
    • H04L2101/375Access point names [APN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present disclosure relates to the field of communication technology.
  • APN Access Point Name
  • APN refers to a network access technology. It is a parameter that the terminal must configure when surfing the Internet. It determines the access method through which the terminal accesses the network. In the terminal, only after the APN parameters are correctly configured, can it access the wireless data network operated by the mobile operator, and the APN configuration information of different operators is not the same. Because under the 4G (4th Generation Mobile Communication Technology) network, the Internet (Internet) type APN is the only one, and there are currently fewer terminals that support 5G technology. Operators are targeting terminals that support 5G technology.
  • An aspect of the embodiments of the present disclosure provides an APN configuration method, including: the terminal determines the APN classification of the candidate APN, and the APN classification includes the use of the APN in the 5G network, or the use of the APN in the non-5G network; the terminal determines the terminal's configuration parameters according to its own configuration parameters.
  • Network mode includes support for 5G network or not support for 5G network; and according to whether the APN classification matches the network mode, the terminal determines whether to perform network access based on the alternative APN.
  • an APN configuration device including: a memory, a processor, and an APN configuration program stored in the memory and capable of running on the processor.
  • the APN configuration program is executed by the processor to implement the above APN configuration At least one step of the method.
  • Another aspect of the embodiments of the present disclosure provides a computer-readable storage medium on which an APN configuration program is stored, and when the APN configuration program is executed by a processor, at least one step of the foregoing APN configuration method is implemented.
  • FIG. 1 is a schematic structural diagram of a hardware operating environment of an APN configuration method provided by an embodiment of the present disclosure.
  • FIG. 2 is a schematic flowchart of an APN configuration method provided by an embodiment of the disclosure.
  • FIG. 3 is a schematic flowchart of another APN configuration method provided by an embodiment of the disclosure.
  • Fig. 4 is a schematic flow diagram of another APN configuration method provided by an embodiment of the disclosure.
  • FIG. 1 it is a schematic structural diagram of the hardware operating environment of the APN configuration method provided by the embodiments of the present disclosure.
  • the hardware structure shown in Figure 1 can be included in a terminal.
  • the terminal can be a PC (Personal Computer), or a smart phone, a tablet, an e-book reader, or MP3 (Moving Picture Experts Group Audio Layer III). , Motion Picture Experts compress standard audio layer 3) Players, MP4 (Moving Picture Experts Group Audio Layer IV, Motion Picture Experts compress standard audio layer 4) Players, portable computers and other portable terminal devices with display functions.
  • the terminal may include a processor 1001, such as a CPU (Central Processing Unit, central processing unit), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 can be configured to realize the communication connection between these components.
  • the user interface 1003 may include a display screen (Display), and an input unit, such as a keyboard (Keyboard).
  • the user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may include a standard wired interface and a wireless interface (such as a Wi-Fi (mobile hotspot) interface).
  • the memory 1005 may be a high-speed RAM memory; it may also be a stable memory (Non-Volatile Memory), for example, a disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
  • the terminal may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a Wi-Fi module, and so on.
  • the sensor may include a light sensor, a motion sensor, and/or other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor; among them, based on the ambient light sensor, the terminal can adjust the brightness of the display screen according to the brightness of the ambient light; based on the proximity sensor, the terminal can turn off the display and the display when the terminal is moved to the ear. / Or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture applications (such as horizontal and vertical screen switching, related Games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.
  • terminal posture applications such as horizontal and vertical screen switching, related Games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.
  • the portable terminal device can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be repeated here.
  • terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine some components, or arrange different components.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a network operation control application program.
  • the network interface 1004 can be mainly configured to connect to a back-end server and perform data communication with the back-end server; the user interface 1003 can be mainly configured to connect to a client (user side) and perform data communication with the client
  • the processor 1001 can be configured to call the network operation control application stored in the memory 1005, and perform the following operations: determine the APN classification of the candidate APN, the APN classification includes 5G network using APN, or non-5G network using APN; according to Its own configuration parameters determine the network mode of the terminal.
  • the network mode includes 5G network support or not support 5G network; and according to whether the APN classification matches the network mode, it is determined whether to perform network access based on the alternative APN.
  • the processor 1001 may call a network operation control application program stored in the memory 1005, and also perform the following operations: based on the candidate APN, test the average network speed of the network corresponding to the candidate APN; and, respond to Determine that the average network speed is not less than the set network speed threshold, determine that the candidate APN is the 5G network using APN; in response to determining that the average network speed is less than the set network speed threshold, determine that the candidate APN is the non-5G network using APN.
  • the processor 1001 may call the network operation control application stored in the memory 1005, and also perform the following operations: determine the candidate based on the parameter information of the candidate APN
  • the APN type of the APN is the network type; wherein, the parameter information of the candidate APN includes operator identification information, MCC (Mobile Country Code), MNC (Mobile Network Code, mobile network number), and/or APN type.
  • APN type can include network type, or MMS type.
  • the processor 1001 may call the network operation control application stored in the memory 1005, and also perform the following operations: send parameter information of the candidate APN To the network side, the network side determines that the candidate APN is valid; and, based on the received information that is fed back from the network side and used to characterize the validity of the candidate APN, it is determined that the candidate APN is valid.
  • the processor 1001 may call the network operation control application stored in the memory 1005, and also perform the following operations: read the user identification card to obtain the operator identification Information, MCC, and MNC; and, according to the operator identification information, MCC, and MNC, search the APN database to obtain the corresponding APN list; wherein, the APN list includes at least the candidate APN, and the candidate APN and the candidate APN are stored correspondingly Parameter information.
  • the processor 1001 may call the network operation control application stored in the memory 1005, and also perform the following operations: determine that it is in the APN list, The number of valid APNs whose APN type is the network type is greater than 1.
  • the processor 1001 may call a network operation control application stored in the memory 1005, and also perform the following operations: in response to determining that the APN of the candidate APN is classified as a 5G network using APN, and the network mode of the terminal is Does not support 5G networks, and does not perform network access based on alternative APNs.
  • the configuration parameters of the terminal may include: network mode setting parameters, model type parameters, and/or IMEI (International Mobile Equipment Identity, International Mobile Equipment Identity).
  • the embodiment of the present disclosure also provides an APN configuration method. As shown in FIG. 2, it is a schematic flow chart of the APN configuration method provided by the embodiment of the disclosure. The method may include step S21 to step S23.
  • step S21 the terminal determines the APN classification of the candidate APN, and the APN classification includes 5G network using APN, or non-5G network using APN.
  • the terminal determining the APN classification of the candidate APN may specifically include: based on the candidate APN, the terminal tests the average network speed of the network corresponding to the candidate APN; and, in response to determining that the average network speed is not less than the set With the fixed network speed threshold, the terminal determines that the candidate APN is the APN used by the 5G network; in response to determining that the average network speed is less than the set network speed threshold, the terminal determines that the candidate APN is the APN used by the non-5G network.
  • the method may further include: based on the parameter information of the candidate APN, the terminal determines that the APN type of the candidate APN is the network type.
  • the parameter information of the candidate APN may include operator identification information, MCC, MNC, and/or APN type.
  • APN type includes network type, or MMS type.
  • the method may further include: the terminal sends parameter information of the candidate APN to the network side, so that the network side determines that the candidate APN is valid And, the terminal determines that the candidate APN is valid based on the information that is used to characterize the validity of the candidate APN that is fed back from the network side received.
  • step S22 the terminal determines the network mode of the terminal according to its own configuration parameters, the network mode includes supporting 5G network or not supporting 5G network.
  • the configuration parameters of the terminal may include: network mode setting parameters, model type parameters, and/or IMEI.
  • step S23 according to whether the APN classification matches the network mode, the terminal determines whether to perform network access based on the candidate APN.
  • the terminal determines whether to perform network access based on the candidate APN, which may specifically include: in response to determining that the APN of the candidate APN is classified as a 5G network using APN, and the network The mode is not supporting 5G networks, and the terminal does not perform network access based on the alternative APN; in response to determining that the APN of the alternative APN is classified as a 5G network using APN, and the network mode is supporting 5G networks, the terminal can perform network access based on the alternative APN Or the terminal may not perform network access based on the candidate APN; in response to determining that the APN of the candidate APN is classified as a non-5G network using APN, the terminal may perform network access based on the candidate APN, or the terminal may not be based on the candidate APN Perform network access.
  • the method may further include: reading the preset identification parameters in the user identification card, and searching the APN database corresponding to the preset identification parameters according to the preset mapping relationship List.
  • the preset identification parameters in the user identification card may include operator identification information, MCC, and/or MNC.
  • the APN list includes at least the candidate APN, and the candidate APN and the parameter information of the candidate APN are correspondingly stored.
  • the method may further include: the terminal determines that the number of APNs in the APN list that is valid and the APN type is the network type is greater than 1. .
  • the APN configuration method can obtain the APN list according to preset identification parameters, and can determine the APN classification of each candidate APN in the APN list, that is, determine that each candidate APN is 5G
  • the network uses APN, or the non-5G network uses APN; and the terminal’s network mode is determined according to the configuration parameters of the terminal, that is, the terminal supports 5G network or does not support 5G network; thus, when the terminal chooses 5G or non-5G network APN for networking Pre-judgment information has been added, which reduces the possibility of misuse of 5G network APN for terminals that do not support 5G.
  • the APN used by the 5G network can also be set as a non-configurable APN, so that the terminal can exclude the APN used by the 5G network, so that the configuration method is suitable for terminals that do not support 5G in various networking scenarios. Effective networking operations can be carried out, which improves user experience.
  • the APN configuration method can be applied to an APN configuration system, and the APN configuration system can include a terminal, an APN database, and a user identification card.
  • the terminal receives the network access instruction, confirms the user identification card for networking operation in the terminal, and reads the preset identification parameters in the user identification card.
  • the user identification card may be a Subscriber Identification Module (SIM) card, a Universal Subscriber Identity Module (UISM) card, a User Identity Module (UIM) card, and so on.
  • the preset identification parameters may include at least MCC and MNC.
  • the terminal searches the APN database in the terminal for the APN list corresponding to the preset identification parameters in the user identification card.
  • the preset mapping relationship may be the name information and type information of one or more APNs corresponding to one MCC and one MNC.
  • the APN list may be the associated storage of the name information, type information, operator name, etc. of the APN.
  • the terminal reads that the MCC in the SIM card is 825, which represents the mobile country code of China; the MNC information is 02, and 02 represents the mobile network code of China Mobile.
  • the preset mapping relationship there are three APNs corresponding to MCC of 02 and MNC of 825 in the APN database stored in the terminal.
  • the names of the above three APNs are omiga_5G, omiga, and omiga_mms, which correspond to the names of the above three APNs.
  • the APN type is default (the default networkable type, that is, the APN type is the network type), default supl (the default mobile network type that can be networked and supports A-GPS customization, that is, the APN type is the network type), and mms (that is, the APN type is MMS type).
  • the terminal can obtain the configuration parameters of the device, so as to determine whether the network mode of the terminal supports 5G.
  • the configuration parameter of the terminal may be the IMEI number segment of the terminal, the network mode configuration information of the terminal, chip type or model information, etc.
  • the terminal can obtain the model information of the terminal and search for the network types supported by the model, thereby determining whether the terminal supports the 5G network mode.
  • the terminal determines that the APN is classified as the APN of the 5G network using APN among all the candidate APNs through a preset rule.
  • the preset rule may be to determine that the APN of the candidate APN is classified as a 5G network using APN by determining that a 5G keyword exists in the name information of the candidate APN.
  • the mobile network capability reference value of the candidate APN can be obtained, and the average network speed reference value in the mobile network capability reference value can be used to determine whether the APN classification of the candidate APN is an APN used by the 5G network; for example, the average network speed reference If the value falls in the 5G section, it is determined that the APN of the candidate APN is classified as 5G network using APN, and the average network speed reference value does not fall in the 5G section, then it is determined that the APN of the candidate APN is classified as non-5G network using APN.
  • the name information of multiple APNs found according to the preset mapping relationship may be referred to as an APN name information group.
  • the mobile network capability reference value is the Internet access capability reference value or the average network speed reference value obtained by the terminal polling multiple APNs in the APN list.
  • the terminal can use the 5G keyword in the APN name information group or the APN classification of each APN to determine whether there is a 5G network using APN in the APN list. .
  • the terminal may also set the candidate APN as a non-configurable APN after determining that the APN of the candidate APN is classified as a 5G network using APN, and the network mode of the terminal is not supporting the 5G network.
  • the terminal chooses an APN to connect to the network, it will not choose this alternative APN.
  • the terminal can add non-configurable name identification characters to the name field of this alternative APN to include the APNs with non-configurable name identification characters in the non-configurable APN list; or after the terminal receives the APN error message, list this APN Enter the non-configurable APN list, and when it is determined that there is a 5G network APN in the candidate APN, send an APN error message to the terminal.
  • the APN configuration method provided by the embodiment of the present disclosure can read the preset identification parameters in the user identification card, and according to the preset mapping relationship, search the APN database corresponding to the preset identification parameters in the APN database; obtain the configuration parameters of the terminal , And determine whether the terminal’s network mode supports 5G based on the configuration parameters; if the terminal’s network mode does not support 5G, it will not use the APN classified as a 5G network. Use the APN of the APN to perform network access; you can also set the 5G network APN to not Configure APN.
  • the terminal can exclude the 5G network APN, so that the configuration method is suitable for those that do not support 5G.
  • the terminal can perform effective networking operations in a variety of networking scenarios, improving the user experience, thereby solving the problem of abnormal Internet access in terminals that do not support 5G when there are 5G and other APNs at the same time.
  • step S23 may specifically include step S31 to step S33.
  • step S31 if the network mode of the terminal does not support 5G, the name information corresponding to each APN in the APN list is obtained.
  • step S32 it is determined whether a 5G keyword exists in the plurality of name information.
  • the terminal acquires the name information groups of multiple APNs from the acquired APN list, and displays the name information in the above-mentioned name information. Look for 5G keywords in the group.
  • step S33 if there are 5G keywords in the multiple name information, it is determined in the APN list according to the 5G keywords that the APN is classified as the APN of the 5G network using the APN.
  • the terminal can directly determine that the candidate APN corresponding to the 5G keyword is used by the 5G network based on the 5G keyword.
  • APN For example, if the terminal obtains a name information group containing three APN name information of omiga_5G, omiga, and omiga_mms, and finds that omiga_5G in the above three name information has 5G keywords, the terminal directly determines the candidate APN named omiga_5G as The 5G network uses APN.
  • the method may further include step S50 and step S60.
  • step S50 an APN is determined in the APN list after removing the non-configurable APN (that is, the APN classified as the APN used by the 5G network) as the first target APN.
  • step S60 APN parameter configuration is performed on the terminal according to the first target APN, so that the terminal connects to the first target network based on the first target APN.
  • the terminal that does not support the 5G network in the network mode excludes the APN used by the 5G network from the APN list
  • one APN is determined among the remaining network type APNs and is used as the first target APN.
  • the terminal connects to the corresponding first target network based on the first target APN.
  • the first target APN refers to an APN selected when the terminal itself does not support the 5G network mode and the 5G network APN is removed, and the first target network is the mobile data network corresponding to this APN.
  • the determined first target network is a 4G network APN named omiga
  • the terminal connects to the corresponding 4G network based on this APN.
  • the APN configuration method if the network mode of the terminal does not support 5G, the name information corresponding to each APN in the APN list is obtained, and it is determined whether there is a 5G keyword in the obtained name information; If there is a 5G keyword in the name information, the APN is determined in the APN list according to the 5G keyword to be classified as the APN of the 5G network using the APN. Determine an APN in the APN list except the non-configurable APN as the first target APN; and configure the APN parameter of the terminal according to the first target APN, so that the terminal connects to the first target network based on the first target APN.
  • the terminal can directly determine whether the corresponding APN is a 5G network APN based on the 5G keywords, eliminating the need for intermediate judgment steps, and improving the networking efficiency; by excluding 5G One of the APNs of the network type after the network APN is selected for mobile network connection, which prevents the terminal that does not support 5G from misusing the 5G network APN for networking and causes abnormal conditions, and improves the user experience.
  • step S32 the method may further include step S34 and step S35.
  • step S34 if there are no 5G keywords in the multiple name information, the number of APNs whose APN type is the network type containing the default networkable keyword in the APN list is obtained, and it is determined whether the number of APNs of the network type is unique.
  • step S35 if the number of APNs of the network type is not unique, a polling operation is performed on the APNs of the network type in the APN list to obtain the mobile network capability reference value of the APNs of each network type, and according to the APN of each network type The mobile network capability reference value determines the APN classification of the APN of each network type.
  • the terminal if it does not find a 5G keyword in the above-mentioned multiple name information, it acquires the APN type information group corresponding to the above-mentioned multiple name information from the acquired APN list.
  • the terminal searches for the default networkable keyword in the above type information group, and uses the candidate APN corresponding to the type information containing the default networkable keyword as the APN of the network type.
  • the default networkable keyword is default, which represents the default networkable type APN, which is used to access the Internet type mobile Internet. Therefore, the APN type is the network type meaning that the APN can access the Internet type mobile Internet.
  • the terminal determines whether the number of APNs of the corresponding network type is unique according to the number of type information containing the default keyword. If the APN containing the default keyword is not unique, that is, the number of APNs of the above network types is not unique, the terminal polls the APNs of each network type to obtain the mobile network capability reference value of the APN of each network type. Among them, the mobile network capability reference value includes the Internet access capability reference value, average network speed, and so on. After obtaining the mobile network capability reference value of the APN of each network type, the terminal determines the APN classification information of the APN of each network type.
  • the APN type corresponding to the 4G network APN contains the defaul keyword.
  • the 5G network APN type is also set to include the defaul keyword, if two types of information containing the defaul keyword appear in the corresponding APN type information in the APN of the same operator in the same country, it can be determined that the APN is certain Use APN for 5G networks.
  • the terminal in order to obtain the reference value of the Internet access capability of the APN of each network type, the terminal sets a timer and performs a polling operation for the APN of the network type. In each polling cycle, the terminal reports the APN parameter information corresponding to the network type entering the polling state to the mobile network, and determines the reference value of the Internet access capability corresponding to the APN of each network type according to the network return value.
  • the terminal in order to obtain the average network speed reference value of each network type APN, performs network connection and network data packet transmission for each network type APN within a specified or conditionally determined idle time period. Operation, calculate the maximum average transmission network speed value of the data network corresponding to each network type APN, including but not limited to upload and download network speed values.
  • the specific calculation method may include the terminal downloading or uploading the data packet on the fixed website link, and calculating the data packet size transmitted in a unit time; or the terminal reading the dynamic or historical value of the data packet size change in the fixed website link.
  • the terminal determines the standard classification interval of the APN classification according to the requirements of the mobile data packet transmission rate protocol specified in the 5G or 4G related protocols.
  • the APN of the omiga-5g network type corresponds to a network speed of 1000M
  • this rate falls within the standard classification interval of the 5G network mode, so the APN classification of this APN can be determined as the 5G network using APN.
  • the number of APNs of the network type that contains the default networkable keyword in the APN list is obtained, and the number of APNs of the network type is determined Is it unique; if the number of APNs of the network type is not unique, poll the APNs of the network type in the APN list to obtain the mobile network capability reference value of each network type APN, and obtain the mobile network capability reference value of each network type according to the mobile network capability reference value from each
  • the APN used by the 5G network is determined from the APN of the network type.
  • the classification information enables the terminal to determine and exclude the 5G network APN even when there is no 5G keyword, which reduces the possibility of misuse of the 5G network APN by the terminal that does not support 5G; in addition, by excluding the 5G network APN
  • One APN is selected for mobile network connection among the APNs of various network types, which avoids the abnormal situation caused by the misuse of the 5G network APN for networking by the terminal that does not support 5G, and improves the user experience.
  • the method may further include steps a to f.
  • step a if the network mode of the terminal supports the 5G network, the number of APNs of the network type that contains the default networkable keyword in the APN list is obtained, and it is determined whether the number of APNs of the network type is unique.
  • step b if the number of APNs of the network type is unique, go to step c; otherwise, go to step d.
  • step c the only APN containing the default networkable keyword is used as the second target APN, and the APN parameter configuration of the terminal is performed according to the second target APN, so that the terminal connects to the second target network based on the second target APN.
  • the terminal obtains the type information group of each APN in the APN list, and finds the type information group that contains the default networkable keyword default Type information.
  • the terminal takes the APN corresponding to the type information containing the default networkable keyword default as the APN of the network type, and judges whether the number of APNs of the network type is unique. If the number of APNs of the network type is unique, the terminal uses the unique APN of the network type as the second target APN, and connects to the corresponding second target network based on the second target APN configuration parameters.
  • the second target APN refers to the only APN when the terminal itself supports the 5G network mode and there is only one networkable APN, and the second target network is the mobile data network corresponding to this unique APN.
  • step d a polling operation is performed on the APN of the network type, and the mobile network capability reference value of the APN of each network type is obtained.
  • step e the APN of the network type with the fastest current network speed is determined as the third target APN according to the reference value of the Internet access capability or the average network speed in the mobile network capability reference values of the APNs of each network type.
  • step f APN parameter configuration is performed on the terminal according to the third target APN, so that the terminal connects to the third target network based on the third target APN.
  • the terminal polls the APNs of multiple network types to obtain the Internet access of the APNs of each network type.
  • Ability reference value, average network speed reference value and other mobile network capacity reference values, and according to the mobile capacity reference value of each network type APN determine the APN with the fastest network speed in the current network environment.
  • the terminal uses this APN as the third target APN, performs parameter configuration based on the third target APN, and connects to the third target network corresponding to the third target parameter.
  • the third target APN refers to the APN with the fastest network speed in the current network environment when the terminal itself supports the 5G network mode and the APN that can be networked is not unique.
  • the third target network corresponds to this APN.
  • Mobile data network Mobile data network.
  • the APN configuration method may further include step g and step h.
  • step g in response to determining that the network mode of the terminal is not supporting the 5G network, it is determined in the APN list that the APN is classified as an APN that uses the APN for the 5G network.
  • step h a non-configurable identification field is added to the name information corresponding to the APN classified as the APN used by the 5G network to set the APN used by the 5G network as a non-configurable APN.
  • the terminal determines the APN used by the 5G network in the APN list according to the acquired APN classification information of each APN. In the case that the terminal does not support the 5G network, the terminal is in the APN list. In the name information corresponding to the APN used by the 5G network, add an identification field indicating that the APN is a 5G network APN, so that the terminal can directly determine and exclude it based on the name information The APN used by this 5G network.
  • the APN configuration method if the network mode of the terminal supports 5G, the number of APNs of the network type that contains the default networkable keyword in the APN list is obtained, and it is determined whether the number of APNs of the network type is unique; if If the number of APNs of the network type is unique, the unique APN containing the default networkable keyword is used as the second target APN; and the APN parameter configuration of the terminal is performed according to the second target APN, so that the terminal can connect to the second target APN based on the second target APN.
  • Target network if the network mode of the terminal supports 5G, the number of APNs of the network type that contains the default networkable keyword in the APN list is obtained, and it is determined whether the number of APNs of the network type is unique; if If the number of APNs of the network type is unique, the unique APN containing the default networkable keyword is used as the second target APN; and the APN parameter configuration of the terminal is performed according to the second target APN, so that the terminal
  • the number of APNs of the network type is not unique, poll the APNs of each network type, and obtain the mobile network capability reference value of each network type APN; according to the Internet access in the mobile network capability reference value of each network type APN Ability reference value or average network speed, determine the APN of the network type with the fastest current network speed as the third target APN; and configure the APN parameters of the terminal according to the third target APN so that the terminal can connect to the third target network based on the third target APN .
  • the network mode of the terminal is not supporting 5G networks, determine the APN used by the 5G network in the APN list, and add a non-configurable identification field to the name information of the APN used by the 5G network to use the 5G network.
  • the APN is set to a non-configurable APN.
  • a non-configurable identification field is added to the name information that has been determined to be the 5G network APN, so that the terminal does not need to judge the APN during the subsequent networking process, which improves the networking efficiency.
  • the embodiment of the present disclosure further provides a computer-readable storage medium on which an APN configuration program is stored.
  • the APN configuration program is executed by a processor, at least one step of the APN configuration method provided by the embodiment of the present disclosure is implemented.
  • the method implemented when the APN configuration program is executed reference may be made to the related description of the APN configuration method in the embodiments of the present disclosure, which will not be repeated here.
  • the embodiment of the present disclosure also provides an APN configuration device, including: a processor, a memory, and an APN configuration program stored in the memory and running on the processor.
  • the APN configuration program is executed by the processor, the APN configuration program is implemented At least one step of the APN configuration method.
  • the technical solution of the present disclosure essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • a storage medium such as ROM/RAM
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

本公开提供一种接入点名称APN配置方法、装置及可读存储介质。该APN配置方法包括:终端确定备选APN的APN分类,APN分类包括5G网络使用APN,或非5G网络使用APN;终端根据自身的配置参数,确定终端的网络模式,网络模式包括支持5G网络,或不支持5G网络;以及,根据APN分类与网络模式是否匹配,终端确定是否基于备选APN执行网络接入。

Description

接入点名称配置方法、装置及可读存储介质 技术领域
本公开涉及通信技术领域。
背景技术
随着5G技术(5th Generation Mobile Networks,第五代移动通信技术)的快速发展与建设,近年来支持5G技术的终端保持着快速增加的趋势。APN(Access Point Name,接入点名称)指一种网络接入技术,是终端上网时必须配置的一个参数,它决定了终端通过何种接入方式来访问网络。在终端中,只有正确配置APN参数后,才可以接入移动运营商经营的无线数据网络,且不同的运营商的APN配置信息也不尽相同。由于在4G(4th Generation Mobile Communication Technology,第四代移动通信技术)网络下,Internet(互联网)类型的APN是唯一的,且目前支持5G技术的终端也比较少,运营商针对支持5G技术的终端制定专用的5G网络APN,以供特定机型或特定批次支持5G技术的终端使用。然而5G网络目前处于建设初期,运营商难以全面考虑新5G网络APN的制定对现有不支持5G技术的终端在使用移动数据网络过程中所带来的影响,从而导致了在同时存在5G和非5G网络APN的情况下,不支持5G的移动终端存在上网异常的问题。
上述内容仅用于辅助理解本公开的技术方案,并不代表承认上述内容是现有技术。
发明内容
本公开实施例的一个方面提供一种APN配置方法,包括:终端确定备选APN的APN分类,APN分类包括5G网络使用APN,或非5G网络使用APN;终端根据自身的配置参数,确定终端的网络模式,网 络模式包括支持5G网络,或不支持5G网络;以及根据APN分类与网络模式是否匹配,终端确定是否基于备选APN执行网络接入。
本公开实施例的另一方面提供一种APN配置装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的APN配置程序,APN配置程序被处理器执行时实现上述APN配置方法的至少一个步骤。
本公开实施例的再一方面提供一种计算机可读存储介质,其上存储有APN配置程序,APN配置程序被处理器执行时实现上述APN配置方法的至少一个步骤。
附图说明
图1是本公开实施例提供的APN配置方法的硬件运行环境的一种结构示意图。
图2为本公开实施例提供的APN配置方法的一种流程示意图。
图3为本公开实施例提供的APN配置方法的另一种流程示意图。
图4为本公开实施例提供的APN配置方法的再一种流程示意图。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。
如图1所示,其为本公开实施例提供的APN配置方法的硬件运行环境的一种结构示意图。
图1所示的硬件结构可以包括在一个终端中,该终端可以是PC(Personal Computer,个人计算机),也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、便携计算机等具有显示功能的可移动式终端设备。
如图1所示,该终端可以包括:处理器1001,例如CPU(Central  Processing Unit,中央处理器),通信总线1002,用户接口1003,网络接口1004,以及存储器1005。其中,通信总线1002可被配置为实现这些组件之间的通信连接。用户接口1003可以包括显示屏(Display),以及输入单元,比如键盘(Keyboard)。用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可以包括标准的有线接口、无线接口(如Wi-Fi(行动热点)接口)。存储器1005可以是高速RAM存储器;也可以是稳定的存储器(Non-Volatile Memory),例如,磁盘存储器。存储器1005还可以是独立于前述处理器1001的存储装置。
根据本公开提供的实施例,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、Wi-Fi模块等等。其中,传感器可包括光传感器、运动传感器,和/或其他传感器。光传感器可包括环境光传感器及接近传感器;其中,基于环境光传感器,终端可根据环境光线的明暗来调节显示屏的亮度;基于接近传感器,终端可在终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。当然,可移动式终端设备还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及网络操作控制应用程序。
在图1所示的终端中,网络接口1004可主要被配置为连接后台 服务器,与后台服务器进行数据通信;用户接口1003可主要被配置为连接客户端(用户端),与客户端进行数据通信;而处理器1001可被配置为调用存储器1005中存储的网络操作控制应用程序,并执行以下操作:确定备选APN的APN分类,APN分类包括5G网络使用APN,或非5G网络使用APN;根据自身的配置参数,确定终端的网络模式,网络模式包括支持5G网络,或不支持5G网络;以及根据APN分类与网络模式是否匹配,确定是否基于备选APN执行网络接入。
根据本公开提供的实施例,处理器1001可以调用存储器1005中存储的网络操作控制应用程序,还执行以下操作:基于备选APN,测试备选APN对应的网络的平均网速;以及,响应于确定平均网速不小于设定网速阈值,确定备选APN为5G网络使用APN;响应于确定平均网速小于设定网速阈值,确定备选APN为非5G网络使用APN。
根据本公开提供的实施例,在确定备选APN的APN分类之前,处理器1001可以调用存储器1005中存储的网络操作控制应用程序,还执行以下操作:基于备选APN的参数信息,确定备选APN的APN类型为网络类型;其中,备选APN的参数信息包括运营商标识信息、MCC(Mobile Country Code,移动国家码)、MNC(Mobile Network Code,移动网络号码),和/或APN类型。APN类型可包括网络类型,或彩信类型。
根据本公开提供的实施例,在确定备选APN的APN类型为网络类型之前,处理器1001可以调用存储器1005中存储的网络操作控制应用程序,还执行以下操作:将备选APN的参数信息发送给网络侧,以由网络侧确定备选APN有效;以及,基于接收到的网络侧反馈的用于表征备选APN有效的信息,确定备选APN有效。
根据本公开提供的实施例,在确定备选APN的APN分类之前,处理器1001可以调用存储器1005中存储的网络操作控制应用程序,还执行以下操作:读取用户识别卡,以获取运营商标识信息、MCC,以及MNC;以及,根据运营商标识信息、MCC以及MNC,查找APN数 据库以获取对应的APN列表;其中,APN列表至少包括备选APN,且对应存储备选APN以及备选APN的参数信息。
根据本公开提供的实施例,在获取APN列表之后,确定备选APN的APN分类之前,处理器1001可以调用存储器1005中存储的网络操作控制应用程序,还执行以下操作:确定在APN列表中,有效且APN类型为网络类型的APN的数量大于1。
根据本公开提供的实施例,处理器1001可以调用存储器1005中存储的网络操作控制应用程序,还执行以下操作:响应于确定备选APN的APN分类为5G网络使用APN,且终端的网络模式为不支持5G网络,不基于备选APN执行网络接入。
根据本公开提供的实施例,终端的配置参数可包括:网络模式设置参数、机型类型参数,和/或IMEI(International Mobile Equipment Identity,国际移动设备识别码)。
本公开实施例还提供一种APN配置方法,如图2所示,其为本公开实施例提供的APN配置方法的一种流程示意图,该方法可包括步骤S21~步骤S23。
在步骤S21中,终端确定备选APN的APN分类,APN分类包括5G网络使用APN,或非5G网络使用APN。
根据本公开提供的实施例,终端确定备选APN的APN分类,可具体包括:基于备选APN,终端测试备选APN对应的网络的平均网速;以及,响应于确定平均网速不小于设定网速阈值,终端确定备选APN为5G网络使用APN;响应于确定平均网速小于设定网速阈值,终端确定备选APN为非5G网络使用APN。
根据本公开提供的实施例,在终端确定备选APN的APN分类之前,该方法还可包括:基于备选APN的参数信息,终端确定备选APN的APN类型为网络类型。备选APN的参数信息可包括运营商标识信息、MCC、MNC,和/或APN类型。APN类型包括网络类型,或彩信类型。
根据本公开提供的实施例,在终端确定备选APN的APN类型为 网络类型之前,该方法还可包括:终端将备选APN的参数信息发送给网络侧,以由网络侧确定备选APN有效;以及,终端基于接收到的网络侧反馈的用于表征备选APN有效的信息,确定备选APN有效。
在步骤S22中,终端根据自身的配置参数,确定终端的网络模式,网络模式包括支持5G网络,或不支持5G网络。
根据本公开提供的实施例,终端的配置参数可包括:网络模式设置参数、机型类型参数,和/或IMEI。
在步骤S23中,根据APN分类与网络模式是否匹配,终端确定是否基于备选APN执行网络接入。
根据本公开提供的实施例,根据APN分类与网络模式是否匹配,终端确定是否基于备选APN执行网络接入,可具体包括:响应于确定备选APN的APN分类为5G网络使用APN,且网络模式为不支持5G网络,终端不基于备选APN执行网络接入;响应于确定备选APN的APN分类为5G网络使用APN,且网络模式为支持5G网络,终端可基于备选APN执行网络接入,或者终端也可不基于备选APN执行网络接入;响应于确定备选APN的APN分类为非5G网络使用APN,终端可基于备选APN执行网络接入,或者终端也可不基于备选APN执行网络接入。
根据本公开提供的实施例,在步骤S21之前,该方法还可以包括:读取用户识别卡中的预设识别参数,并根据预置映射关系,在APN数据库中查找预设识别参数对应的APN列表。
根据本公开提供的实施例,用户识别卡中的预设识别参数可包括运营商标识信息、MCC,和/或MNC。
根据本公开提供的实施例,APN列表至少包括该备选APN,且对应存储该备选APN以及该备选APN的参数信息。
根据本公开提供的实施例,在终端获取APN列表之后,确定备选APN的APN分类之前,该方法还可包括:终端确定在APN列表中,有效且APN类型为网络类型的APN的数量大于1。
目前,在5G网络的建设初期,运营商难以全面考虑新5G网络 APN的制定对现有不支持5G技术的移动终端在使用移动数据网络过程中所带来的影响,从而导致了在同时存在5G和非5G网络APN的情况下,不支持5G的移动终端使用了5G网络APN的问题。
例如,运营商针对5G网络推动专用的APN参数,为数不多的5G终端被分配IMEI段号以支持5G功能;而不支持5G功能的终端若使用了5G网络APN进行网络注册,则会导致上网功能异常。
为解决上述问题,本公开实施例提供的APN配置方法,可根据预设识别参数获取APN列表,并可确定APN列表中的每个备选APN的APN分类,即确定每个备选APN为5G网络使用APN,或是非5G网络使用APN;并根据终端的配置参数确定终端的网络模式,即确定终端支持5G网络,或不支持5G网络;从而为终端在选择5G还是非5G网络APN进行联网时增加了预判信息,降低了不支持5G的终端的误用5G网络APN可能性。
根据本公开提供的实施例,还可将5G网络使用的APN设置为不可配置APN,以便终端对5G网络使用的APN进行排除,使得该配置方法适用于不支持5G的终端在多种联网场景均可进行有效的联网操作,提升了用户体验。
根据本公开提供的实施例,该APN配置方法可应用于APN配置系统,APN配置系统可包括终端、APN数据库和用户识别卡。当用户触发网络接入指令时,终端接收该网络接入指令,确认终端中进行联网操作的用户识别卡,并读取用户识别卡中的预设识别参数。其中,用户识别卡可以是用户身份识别(SIM,Subscriber Identification Module)卡、全球用户识别(UISM,Universal Subscriber Identity Module)卡、用户识别模块(UIM,User Identity Model)卡等。预设识别参数至少可包括MCC以及MNC。终端根据预置映射关系,在终端中的APN数据库中,查找与用户识别卡中的预设识别参数对应的APN列表。预置映射关系可以是由一个MCC与一个MNC共同对应的一个或多个APN的名称信息和类型信息。APN列表可以是APN的名称信 息、类型信息、运营商名等的关联存储。
例如,在一个示例性实例中,终端读取到SIM卡中的MCC为825,825即代表中国的移动国家码;MNC信息为02,02即代表运营商为中国移动的移动网络码。根据预设映射关系,在终端存储的APN数据库中查找与MCC为02以及MNC为825对应的APN有三个,上述三个APN的名称分别为omiga_5G、omiga、omiga_mms,与上述三个APN名称分别对应的APN类型为default(默认可联网类型,即APN类型为网络类型)、default supl(默认可联网及支持A-GPS定制的移动网络类型,即APN类型为网络类型)以及mms(即APN类型为彩信类型)。
根据本公开提供的本实施例,终端可获取本设备的配置参数,从而判断终端的网络模式是否支持5G。其中,终端的配置参数可以是终端的IMEI号段、终端的网络模式配置信息、芯片类型或是机型信息等。例如,终端可通过获取终端的机型信息,查找该机型可支持的网络类型,从而判断终端是否支持5G网络模式。
根据本公开提供的本实施例,如果终端的网络模式不支持5G,则终端通过预设规则,在所有备选APN中,确定APN分类为5G网络使用APN的APN。
根据本公开提供的本实施例,预设规则可以是通过确定备选APN的名称信息中存在5G关键字,确定该备选APN的APN分类为5G网络使用APN。或者,可获取备选APN的移动网络能力参考值,并通过移动网络能力参考值中的平均网速参考值,确定该备选APN的APN分类是否为5G网络使用APN;例如,平均网速参考值落在5G区段,则确定该备选APN的APN分类为5G网络使用APN,平均网速参考值未落在5G区段,则确定该备选APN的APN分类为非5G网络使用APN。
根据本公开提供的本实施例,在APN列表中,根据预置映射关系查找到的多个APN的名称信息可称为APN名称信息组。移动网络能力参考值为终端对APN列表中的多个APN进行轮询操作获取的上网能力参考值或平均网速参考值等。在确定5G网络APN前,可首先确定 5G网络APN在APN列表中是否存在,终端可通过APN名称信息组中的5G关键字或各APN的APN分类,来确定APN列表中是否存在5G网络使用APN。
根据本公开提供的实施例,终端还可在确定备选APN的APN分类为5G网络使用APN,且终端的网络模式为不支持5G网络后,将此备选APN设置为不可配置APN。终端在选用APN连接网络时,就不会选择此备选APN。终端可通过在此备选APN的名称字段中添加不可配置名称标识字符,将存在不可配置名称标识字符的APN列入不可配置APN名单;或是在终端接收到APN报错信息后,将此APN列入不可配置APN名单,并在确定备选APN中存在5G网络APN时,向终端发送APN报错信息等。
本公开实施例提供的APN配置方法,可通过读取用户识别卡中的预设识别参数,并根据预置映射关系,在APN数据库中查找预设识别参数对应的APN列表;获取终端的配置参数,并基于配置参数判断终端的网络模式是否支持5G;若终端的网络模式不支持5G,则不使用APN分类为5G网络使用APN的APN执行网络接入;还可将该5G网络APN设置为不可配置APN。通过上述方式,降低了不支持5G的终端的误用5G网络APN可能性;另外,通过将5G网络APN设置为不可配置APN,以便终端对5G网络APN进行排除,使得配置方法适用于不支持5G的终端在多种联网场景均可进行有效的联网操作,提升了用户体验,从而解决了在同时存在5G和其他APN的情况下,不支持5G的终端存在上网异常的问题。
如图3所示,其为本公开实施例提供的APN配置方法的另一种流程示意图,步骤S23可具体包括步骤S31~步骤S33。
在步骤S31中,若终端的网络模式不支持5G,则获取APN列表中各个APN对应的名称信息。
在步骤S32中,判断多个名称信息中是否存在5G关键字。
根据本公开提供的实施例,若经终端机型信息、芯片类型等参 数判断终端不支持5G网络模式,终端则在已获取的APN列表中获取多个APN的名称信息组,并在上述名称信息组中查找是否存在5G关键字。
在步骤S33中,若多个名称信息中存在5G关键字,则根据5G关键字在APN列表中确定出APN分类为5G网络使用APN的APN。
根据本公开提供的实施例,若终端在获取到的上述名称信息组中查找到5G关键字,则终端可以根据此5G关键字直接判定与此5G关键字对应的备选APN为5G网络使用的APN。例如,终端获取到包含omiga_5G、omiga、omiga_mms三个APN名称信息的名称信息组,并查找到上述三个名称信息中的omiga_5G存在5G关键字,则终端直接将名称为omiga_5G的备选APN判定为5G网络使用APN。
根据本公开提供的实施例,如图3所示,在步骤S33之后,该方法还可包括步骤S50和步骤S60。
在步骤S50中,在除去不可配置APN(即APN分类为5G网络使用APN的APN)后的APN列表中确定一个APN,作为第一目标APN。
在步骤S60中,根据第一目标APN对终端进行APN参数配置,以便终端基于第一目标APN连接第一目标网络。
根据本公开提供的实施例,网络模式为不支持5G网络的终端在APN列表中排除5G网络使用的APN后,在剩余的网络类型的APN中确定一个APN,并将其作为第一目标APN。终端基于第一目标APN,连接对应的第一目标网络。其中,第一目标APN指的是在终端本身不支持5G网络模式且除去5G网络APN的情况下所选择的一个APN,第一目标网络就是与这一APN对应的移动数据网络。例如,若确定的第一目标网络是名称为omiga的4G网络APN,则终端基于这一APN连接对应的4G网络。
根据本公开实施例提供的APN配置方法,若终端的网络模式不支持5G,则获取APN列表中各个APN对应的名称信息,并判断获取到的名称信息中是否存在5G关键字;若获取到的名称信息中存在5G 关键字,则根据5G关键字在APN列表中确定出APN分类为5G网络使用APN的APN。在除去不可配置APN的APN列表中确定一APN,作为第一目标APN;并根据第一目标APN对终端进行APN参数配置,以便终端基于第一目标APN连接第一目标网络。通过判断网络类型的APN的名称信息中是否存在5G关键字,使得终端能够直接根据5G关键字判断对应的APN是否为5G网络APN,省去了中间判断步骤,提高了联网效率;通过在排除5G网络APN后的网络类型的APN中选用一个APN进行移动网络连接,避免了不支持5G的终端误用5G网络APN进行联网导致异常的情况,提高了用户体验。
如图4所示,其为本公开实施例提供的APN配置方法的再一种流程示意图。在步骤S32之后,该方法还可包括步骤S34和步骤S35。
在步骤S34中,若多个名称信息中不存在5G关键字,则获取APN列表中包含默认可联网关键字的APN类型为网络类型的APN的数目,并判断网络类型的APN的数目是否唯一。
在步骤S35中,若网络类型的APN的数目不唯一,则对APN列表中的网络类型的APN进行轮询操作,获取各个网络类型的APN的移动网络能力参考值,并根据各个网络类型的APN移动网络能力参考值确定各网络类型的APN的APN分类。
根据本公开提供的实施例,若终端在上述多个名称信息中未查找到5G关键字,则在已获取的APN列表中获取与上述多个名称信息对应的APN类型信息组。终端在上述类型信息组中查找默认可联网关键字,将包含有默认可联网关键字的类型信息对应的备选APN作为网络类型的APN。其中,默认可联网关键字为default,代表默认可联网类型APN,用于接入Internet类型移动互联网,故APN类型为网络类型的含义为APN可接入Internet类型移动互联网。终端根据包含default关键字的类型信息的数目,判断对应的网络类型的APN的数目是否唯一。若包含default关键字的APN不唯一,即上述网络类型的APN的数目不唯一,则终端对各个网络类型的APN进行轮询操 作,以获取各个网络类型的APN的移动网络能力参考值。其中,移动网络能力参考值包括上网能力参考值、平均网速等。终端在获取到各个网络类型的APN的移动网络能力参考值后,确定各个网络类型的APN的APN分类信息。需要说明的是,由于在除去5G网络APN的APN类型中,只有4G网络APN对应的APN类型包含defaul关键字。在将5G网络APN的类型也设置为包含defaul关键字后,若是在同一国家同一运营商的APN中,对应的APN类型信息中出现两个包含defaul关键字的类型信息,即可判断该APN一定为5G网络使用APN。
根据本公开提供的实施例,为获取各个网络类型的APN的上网能力参考值,终端设定定时器并对网络类型的APN进行轮询操作。终端在每个轮询周期内,向移动网络上报对应进入轮询状态的网络类型的APN参数信息,并根据网络返回值确定各个网络类型的APN分别对应的上网能力参考值。
根据本公开提供的实施例,为获取各个网络类型的APN的平均网速参考值,终端在指定或有条件判断为空闲的时段内,对各个网络类型的APN进行连接网络与网络数据包传输等操作,计算各个网络类型的APN分别对应的数据网络最大平均传输网速值,包括但不限于上传和下载网速值。具体计算方式可包括终端对固定网址链接进行数据包的下载或上传操作,并计算单位时间内传递的数据包大小;或者终端读取固定网址链接内数据包大小变化动态或历史值等。终端根据5G或4G相关协议中规定的移动数据包传输速率协议要求等条件确定APN分类的标准分类区间。例如,由于omiga-5g这一网络类型的APN对应网速为1000M,按协议规划此速率落入5G网络模式标准分类区间中,所以此APN的APN分类可确定为5G网络使用APN。
根据本公开实施例提供的APN配置方法,若多个名称信息中不存在5G关键字,则获取APN列表中包含默认可联网关键字的网络类型的APN的数目,并判断网络类型的APN的数目是否唯一;若网络类型的APN的数目不唯一,则对APN列表中的网络类型的APN进行轮询 操作,获取各个网络类型的APN的移动网络能力参考值,并根据移动网络能力参考值从各网络类型的APN中确定出5G网络使用的APN。通过对名称信息中不包含5G关键字的备选APN的APN类型信息进行判断,并4G与5G网络的APN都存在的情况下,对4G和5G网络的APN进行轮询操作获取各APN的APN分类信息,使得在不存在5G关键字时,终端也能确定并排除5G网络APN,降低了不支持5G的终端的误用5G网络APN的可能性;此外,通过在排除了5G网络APN后的各网络类型的APN中选用一个APN进行移动网络连接,避免了不支持5G的终端误用5G网络APN进行联网导致异常的情况,提高了用户体验。
根据本公开提供的实施例,在步骤S22终端根据自身的配置参数,确定终端的网络模式之后,该方法还可包括步骤a~步骤f。
在步骤a中,若终端的网络模式支持5G网络,则获取APN列表中包含默认可联网关键字的网络类型的APN的数目,并判断网络类型的APN的数目是否唯一。
在步骤b中,若网络类型的APN的数目唯一,则转至步骤c;否则,转至步骤d。
在步骤c中,将唯一包含默认可联网关键字的APN作为第二目标APN,并根据第二目标APN对终端进行APN参数配置,以便终端基于第二目标APN连接第二目标网络。
根据本公开提供的实施例,若经机型信息等判断终端的网络模式支持5G,终端则获取APN列表中各个APN的类型信息组,并在类型信息组中查找包含默认可联网关键字default的类型信息。终端将包含默认可联网关键字default的类型信息对应的APN作为网络类型的APN,并判断网络类型的APN的数目是否唯一。若网络类型的APN的数目唯一,终端则将这唯一的网络类型的APN作为第二目标APN,并基于第二目标APN配置参数,连接对应的第二目标网络。其中,第二目标APN指的是在终端本身支持5G网络模式且可联网的APN只有 一个的情况下的那唯一一个APN,第二目标网络就是与这唯一的APN对应的移动数据网络。
在步骤d中,对网络类型的APN进行轮询操作,并获取各网络类型的APN的移动网络能力参考值。
在步骤e中,根据各网络类型的APN的移动网络能力参考值中的上网能力参考值或平均网速,确定当前网速最快的网络类型的APN作为第三目标APN。
在步骤f中,根据第三目标APN对终端进行APN参数配置,以便终端基于第三目标APN连接第三目标网络。
根据本公开提供的实施例,若网络类型的APN的数目不唯一,也即是存在多个可联网的APN,终端对多个网络类型的APN进行轮询操作,获取各网络类型的APN的上网能力参考值、平均网速参考值等移动网络能力参考值,并根据各网络类型的APN的移动能力参考值,确定在当前联网环境中网速最快的一个APN。终端将这一APN作为第三目标APN,并基于第三目标APN进行参数配置,连接与第三目标参数对应的第三目标网络。其中,第三目标APN指的是在终端本身支持5G网络模式且可联网的APN不唯一的情况下,当前联网环境中网速最快的那一个APN,第三目标网络就是与此APN对应的移动数据网络。
根据本公开提供的实施例,该APN配置方法还可包括步骤g和步骤h。
在步骤g中,响应于确定终端的网络模式为不支持5G网络,在APN列表中确定APN分类为5G网络使用APN的APN。
在步骤h中,在该APN分类为5G网络使用APN的APN对应的名称信息中添加不可配置标识字段,以将该5G网络使用的APN设置为不可配置APN。
根据本公开提供的实施例,终端在APN列表中,根据获取到的各APN的APN分类信息,确定5G网络使用的APN。在终端不支持5G网络的情况下,终端在APN列表中,在该5G网络使用的APN对应的 名称信息中,添加表明该APN为5G网络APN的标识字段,以便终端根据名称信息直接判定并排除该5G网络使用的APN。
根据本公开实施例提供的APN配置方法,若终端的网络模式支持5G,则获取APN列表中包含默认可联网关键字的网络类型的APN的数目,并判断网络类型的APN的数目是否唯一;若网络类型的APN的数目唯一,则将该唯一的包含默认可联网关键字的APN作为第二目标APN;并根据第二目标APN对终端进行APN参数配置,以便终端基于第二目标APN连接第二目标网络。若网络类型的APN数目不唯一,则对各网络类型的APN进行轮询操作,并获取各网络类型的APN的移动网络能力参考值;根据各网络类型的APN的移动网络能力参考值中的上网能力参考值或平均网速,确定当前网速最快的网络类型的APN作为第三目标APN;并根据第三目标APN对终端进行APN参数配置,以便终端基于第三目标APN连接第三目标网络。在确定终端的网络模式为不支持5G网络的情况下,确定APN列表中的5G网络使用的APN,并在5G网络使用的APN的名称信息中添加不可配置标识字段,以将该5G网络使用的APN设置为不可配置APN。通过上述方式,在终端可支持5G网络模式的情况下,判断网络类型的APN是否唯一,终端在网络类型的APN唯一时直接将其作为目标APN,简化了终端确定目标APN的操作,同时提升用户体验;在网络类型的APN不唯一时进行轮询操作,以选出网络类型的APN中当前网速最快的APN进行配置并联网,提高了联网质量,同时提升用户体验。在终端不支持5G网络模式的情况下,在已确定为5G网络APN的名称信息中添加不可配置标识字段,使得终端之后的联网过程中无需再对此APN进行判断,提高了联网效率。
本公开实施例还提供一种计算机可读存储介质,其上存储有APN配置程序,APN配置程序被处理器执行时实现本公开实施例提供的APN配置方法的至少一个步骤。其中,APN配置程序被执行时所实现的方法可参照本公开实施例对APN配置方法的相关描述,此处不再赘 述。
本公开实施例还提供一种APN配置装置,包括:处理器、存储器及存储在存储器上并可在处理器上运行的APN配置程序,APN配置程序被处理器执行时,实现本公开实施例提供的APN配置方法的至少一个步骤。其中,APN配置程序被执行时所实现的方法可参照本公开实施例对APN配置方法的相关描述,此处不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
以上仅为本公开的优选实施例,并非因此限制本公开的专利范围,凡是利用本公开说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本公开的专利保护范围内。

Claims (10)

  1. 一种接入点名称APN配置方法,包括:
    终端确定备选APN的APN分类,所述APN分类包括5G网络使用APN,或非5G网络使用APN;
    所述终端根据自身的配置参数,确定所述终端的网络模式,所述网络模式包括支持5G网络,或不支持5G网络;以及
    根据所述APN分类与所述网络模式是否匹配,所述终端确定是否基于所述备选APN执行网络接入。
  2. 如权利要求1所述的APN配置方法,其中,所述终端确定所述备选APN的所述APN分类,包括:
    基于所述备选APN,所述终端测试所述备选APN对应的网络的平均网速;以及
    响应于确定所述平均网速不小于设定网速阈值,所述终端确定所述备选APN为5G网络使用APN;
    响应于确定所述平均网速小于设定网速阈值,所述终端确定所述备选APN为非5G网络使用APN。
  3. 如权利要求2所述的APN配置方法,在所述终端确定所述备选APN的所述APN分类之前,还包括:
    基于所述备选APN的参数信息,所述终端确定所述备选APN的APN类型为网络类型;
    其中,所述备选APN的所述参数信息包括运营商标识信息、移动国家码MCC、移动网络号码MNC,以及所述APN类型;且所述APN类型包括所述网络类型,或彩信类型。
  4. 如权利要求3所述的APN配置方法,在所述终端确定所述备选APN的所述APN类型为所述网络类型之前,还包括:
    所述终端将所述备选APN的所述参数信息发送给网络侧,以由所述网络侧确定所述备选APN有效;以及
    所述终端基于接收到的所述网络侧反馈的用于表征所述备选APN有效的信息,确定所述备选APN有效。
  5. 如权利要求4所述的APN配置方法,在所述终端确定所述备选APN的所述APN分类之前,还包括:
    所述终端读取用户识别卡,以获取所述运营商标识信息、所述MCC,以及所述MNC;以及
    根据所述运营商标识信息、所述MCC以及所述MNC,所述终端查找APN数据库以获取对应的APN列表;
    其中,所述APN列表至少包括所述备选APN,且对应存储所述备选APN以及所述备选APN的所述参数信息。
  6. 如权利要求5所述的APN配置方法,在所述终端获取所述APN列表之后,确定所述备选APN的所述APN分类之前,还包括:
    所述终端确定在所述APN列表中,有效且APN类型为网络类型的APN的数量大于1。
  7. 如权利要求1所述的APN配置方法,其中,根据所述APN分类与所述网络模式是否匹配,所述终端确定是否基于所述备选APN执行网络接入,包括:
    响应于确定所述备选APN的所述APN分类为5G网络使用APN,且所述网络模式为不支持5G网络,所述终端不基于所述备选APN执行网络接入。
  8. 如权利要求1所述的APN配置方法,其中,所述终端的所述配置参数包括:网络模式设置参数、机型类型参数,和/或国际移动 设备识别码IMEI。
  9. 一种接入点名称APN配置装置,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的APN配置程序,所述APN配置程序被所述处理器执行时实现如权利要求1至8中任一项所述的APN配置方法的至少一个步骤。
  10. 一种计算机可读存储介质,其上存储有接入点名称APN配置程序,所述APN配置程序被处理器执行时实现如权利要求1至8中任一项所述的APN配置方法的至少一个步骤。
PCT/CN2020/103437 2019-09-06 2020-07-22 接入点名称配置方法、装置及可读存储介质 WO2021042893A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2021570236A JP7481369B2 (ja) 2019-09-06 2020-07-22 アクセスポイント名の設定方法、装置及び読み取り可能な記憶媒体
EP20860048.6A EP4027706A4 (en) 2019-09-06 2020-07-22 METHOD AND APPARATUS FOR CONFIGURING ACCESS POINT NAME, AND READABLE STORAGE MEDIA
US17/442,879 US20220191170A1 (en) 2019-09-06 2020-07-22 Access Point Name Configuration Method and Apparatus, and Readable Storage Medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910847222.XA CN112469106A (zh) 2019-09-06 2019-09-06 一种接入点名称的配置方法、装置及可读存储介质
CN201910847222.X 2019-09-06

Publications (1)

Publication Number Publication Date
WO2021042893A1 true WO2021042893A1 (zh) 2021-03-11

Family

ID=74807328

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/103437 WO2021042893A1 (zh) 2019-09-06 2020-07-22 接入点名称配置方法、装置及可读存储介质

Country Status (5)

Country Link
US (1) US20220191170A1 (zh)
EP (1) EP4027706A4 (zh)
JP (1) JP7481369B2 (zh)
CN (1) CN112469106A (zh)
WO (1) WO2021042893A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025412B (zh) * 2021-11-03 2024-03-26 中国联合网络通信集团有限公司 业务访问方法、系统、装置及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990280A (zh) * 2009-08-04 2011-03-23 华为技术有限公司 选择默认接入点名称及装置
WO2013036078A2 (ko) * 2011-09-07 2013-03-14 엘지전자 주식회사 무선 통신 시스템에서 원격 액세스 방법 및 장치
CN103702390A (zh) * 2013-11-29 2014-04-02 宇龙计算机通信科技(深圳)有限公司 终端和接入点名称列表的创建方法
CN106657428A (zh) * 2016-09-29 2017-05-10 宇龙计算机通信科技(深圳)有限公司 接入点名称更新方法、装置及系统
EP2192728B1 (en) * 2007-09-14 2020-05-27 China Academy of Telecommunications Technology Method, system and device for supporting addressing the user static ip address in long term evolution system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2448307B1 (en) * 2009-06-23 2019-10-16 Sharp Kabushiki Kaisha Mobile communication system, subscriber information management apparatus, position management apparatus, home base station and mobile terminal
WO2011087223A2 (en) * 2010-01-17 2011-07-21 Lg Electronics Inc. Multihomed communication device
EP3078226B1 (en) * 2013-12-06 2017-09-27 Telefonaktiebolaget LM Ericsson (publ) Method and apparatus for requesting an initial attachment of a ue to ps mobile communication network
KR102503538B1 (ko) * 2016-11-28 2023-02-24 삼성전자 주식회사 무선 통신 시스템에서, 게이트웨이의 네트워크 할당 방법 및 이를 위한 게이트웨이, 이동 관리 엔티티의 네트워크 할당 방법 및 이를 위한 이동 관리 엔티티, 단말의 네트워크 연결 방법 및 이를 위한 단말
WO2018058691A1 (zh) * 2016-09-30 2018-04-05 华为技术有限公司 一种建立公用数据网连接的方法及相关设备
KR102374338B1 (ko) * 2017-09-07 2022-03-17 삼성전자주식회사 무선 통신 시스템에서 데이터를 송수신하는 전자 장치 및 이를 위한 방법
US11026128B2 (en) 2017-10-19 2021-06-01 Qualcomm Incorporated Mechanism to enable interworking between network slicing and evolved packet core connectivity
EP3487216B1 (en) 2017-11-20 2020-03-18 Ntt Docomo, Inc. Method for providing a communication service, communication network component and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2192728B1 (en) * 2007-09-14 2020-05-27 China Academy of Telecommunications Technology Method, system and device for supporting addressing the user static ip address in long term evolution system
CN101990280A (zh) * 2009-08-04 2011-03-23 华为技术有限公司 选择默认接入点名称及装置
WO2013036078A2 (ko) * 2011-09-07 2013-03-14 엘지전자 주식회사 무선 통신 시스템에서 원격 액세스 방법 및 장치
CN103702390A (zh) * 2013-11-29 2014-04-02 宇龙计算机通信科技(深圳)有限公司 终端和接入点名称列表的创建方法
CN106657428A (zh) * 2016-09-29 2017-05-10 宇龙计算机通信科技(深圳)有限公司 接入点名称更新方法、装置及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4027706A4 *

Also Published As

Publication number Publication date
EP4027706A4 (en) 2022-10-19
US20220191170A1 (en) 2022-06-16
CN112469106A (zh) 2021-03-09
EP4027706A1 (en) 2022-07-13
JP2022546792A (ja) 2022-11-09
JP7481369B2 (ja) 2024-05-10

Similar Documents

Publication Publication Date Title
CN111741513B (zh) 一种物联网设备的配网方法及相关设备
CN108959000B (zh) 一种服务器压力测试方法、系统及终端
US10660024B2 (en) Wireless network access method and apparatus
US8959234B2 (en) Method and system for providing online services corresponding to multiple mobile devices, server, mobile device, and computer program product
US9225705B2 (en) Method and system for providing a service for a mobile device and non-transitory computer-readable recording medium
CN104852885B (zh) 一种进行验证码验证的方法、装置和系统
CN106912048B (zh) 接入点信息分享方法和装置
CN105100213B (zh) 设备绑定方法及装置
EP2852201A1 (en) Method, device, system and storage medium for controlling access to a router
US9923939B2 (en) Electronic share server, screen sharing method, and program for electronic share server
CN107423099B (zh) 键码烧写方法、服务器、终端、键码烧写系统及存储介质
US20130267177A1 (en) Terminal coordination system and method therefor
US20210144543A1 (en) Electronic device, external electronic device, and method for managing esim of external electronic device
CN107318119A (zh) 家电设备组网方法、家电设备和计算机可读存储介质
CN113325404A (zh) 测量设备距离的方法、装置以及电子设备
WO2018137528A1 (zh) 资源访问方法及装置
WO2021042893A1 (zh) 接入点名称配置方法、装置及可读存储介质
CN107465646B (zh) 一种应用下载方法、系统及相关设备
CN110555155A (zh) 物品信息推荐方法、设备和存储介质
CN106485338A (zh) 医疗信息化预约挂号系统及方法
CN112333062A (zh) 家居设备的控制方法、控制装置及计算机可读存储介质
CN109951549B (zh) 网络页面的访问方法、装置及计算机可读存储介质
CN112351420B (zh) 终端设备的组网身份创建方法、设备及可读存储介质
CN113099513B (zh) 基站选择方法、电子终端及计算机可读存储介质
CN112333054B (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: 20860048

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021570236

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020860048

Country of ref document: EP

Effective date: 20220406