A method, device and readable storage medium for configuring access point name

By searching for alternate APN list information in the APN database and judging that the terminal supports 5G, setting the 5G network APN to be unconfigurable, the problem of abnormal network access by not supporting 5G terminals is solved, and networking efficiency and user experience are improved.

CN112469106BActive Publication Date: 2024-12-03ZTE CORP
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN201910847222.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-06
Publication Date
2024-12-03
Estimated Expiration
2039-09-06

AI Technical Summary

Technical Problem

When 5G and non-5G networks exist at the same time, mobile terminals that do not support 5G have problems with Internet access, mainly because it is difficult for operators to fully consider the impact of the new 5G network APN on existing 5G terminals that do not support 5G.

Method used

By reading the preset identification parameters in the user identification card, searching for backup APN list information in the APN database based on the preset mapping relationship, determining whether the current terminal supports 5G, and setting the APN corresponding to the 5G network mode information is unconfigurable, and then Exclude 5G network APN to ensure that terminals can be effectively connected to the network in multiple networking scenarios.

Benefits of technology

It improves networking efficiency, reduces the possibility of misuse of 5G network APNs by not supporting 5G terminals, improves user experience, and ensures effective networking operations in multiple networking scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112469106B_ABST
    Figure CN112469106B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, and readable storage medium for configuring access point names. The method reads preset identification parameters from a user identification card and, based on a preset mapping relationship, searches for a list of backup APNs corresponding to the identification parameters. It then determines whether the current terminal's network mode supports 5G based on the current terminal's parameter values. If 5G is not supported, a 5G network APN is selected from the backup APN list and set as a non-configurable APN. Through this method, this invention adds predictive information to the mobile terminal's selection of 5G or other APNs for network access by determining whether the current network mode supports 5G based on preset parameter values. By setting the 5G network APN as a non-configurable APN, it avoids mobile terminals that do not support 5G mistakenly selecting 5G APNs, thus improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and device for configuring an access point name, and a computer-readable storage medium. Background Art

[0002] With the rapid development and construction of 5G technology mobile networks, the number of terminals supporting 5G technology has maintained a rapid increase in recent years. Access Point Name (APN) refers to a network access technology. It is a parameter that must be configured when the terminal accesses the Internet. It determines the access method used by the terminal to access the network. In the terminal, only after the APN parameters are correctly configured can the wireless data network operated by the mobile operator be accessed, and the APN configuration information of different operators is also different. Since the Internet type APN is unique under the 4G network, and there are relatively few terminals that support 5G technology at present, operators have formulated dedicated 5G network APNs for terminals that support 5G technology for use by specific models or specific batches of terminals that support 5G technology. However, the 5G network is currently in the early stages of construction, and it is difficult for operators to fully consider the impact of the formulation of the new 5G network APN on the existing terminals that do not support 5G technology in the process of using the mobile data network, resulting in abnormal Internet access for mobile terminals that do not support 5G when both 5G and non-5G network APNs exist.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide an APN configuration method and device, aiming to solve the technical problem that a mobile terminal that does not support 5G has abnormal Internet access when both 5G and non-5G network APNs exist.

[0005] To achieve the above object, the present invention provides a method for configuring an access point name, the method for configuring an access point name being applied to an access point name configuration device, and the method for configuring an access point name comprising the following steps:

[0006] Read the preset identification parameters in the user identification card, and search the standby APN list information corresponding to the identification parameters in the access point name APN database according to the preset mapping relationship;

[0007] Obtain a current terminal parameter value, and determine whether the network mode of the current terminal supports 5G based on the current terminal parameter value;

[0008] If the network mode of the current terminal does not support 5G, determining the 5G network mode information in the backup APN list;

[0009] The 5G network APN corresponding to the 5G network mode information is set to a non-configurable APN.

[0010] Optionally, if the network mode of the current terminal does not support 5G, the step of determining 5G network mode information in the standby APN list specifically includes:

[0011] If the network mode of the current terminal does not support 5G, obtain multiple name information corresponding to each APN in the backup APN list, and determine whether there is a 5G keyword in the multiple name information;

[0012] If the 5G keyword exists in the multiple name information, the 5G network mode information is determined in the backup APN list according to the 5G keyword.

[0013] Optionally, if the network mode of the current terminal does not support 5G, after the step of obtaining multiple name information corresponding to each APN in the standby APN list and determining whether there is a 5G keyword in the multiple name information, the step further includes:

[0014] If the 5G keyword does not exist in the multiple name information, obtaining the number of valid APNs in the standby APN list that includes the default networkable keyword, and determining whether the number of valid APNs is unique;

[0015] If the number of valid APNs is not unique, a polling operation is performed on the valid APNs in the backup APN list to obtain a mobile network capability reference value of each valid APN, and the 5G network mode information is determined in the valid APN according to the mobile network capability reference value.

[0016] Optionally, after the step of setting the 5G network APN corresponding to the 5G network mode information as a non-configurable APN, the method further includes:

[0017] Determine an APN in the backup APN list excluding the non-configurable APN as the first target APN;

[0018] APN parameters are configured for the current terminal according to the first target APN, so that the current terminal is connected to the first target network based on the first target APN.

[0019] Optionally, the step of obtaining a current terminal parameter value, and judging whether a network mode of the current terminal supports 5G based on the current terminal parameter value specifically includes:

[0020] Obtain the current terminal parameter value, and determine whether the network mode of the current terminal supports 5G based on the network mode setting parameters, model type parameters or international mobile equipment identity code in the current terminal parameter value.

[0021] Optionally, after the step of obtaining the current terminal parameter value and judging whether the network mode of the current terminal supports 5G based on the current terminal parameter value, the step further includes:

[0022] If the network mode of the current terminal supports 5G, obtain the number of valid APNs containing the default networkable keyword in the standby APN list, and determine whether the number of valid APNs is unique;

[0023] If the number of valid APNs is unique, the unique APN containing the default networkable keyword is used as the second APN;

[0024] APN parameters are configured for the current terminal according to the second target APN, so that the current terminal is connected to the second target network based on the second target APN.

[0025] Optionally, if the network mode of the current terminal supports 5G, after the step of obtaining the number of valid APNs in the standby APN list that contains a default networkable keyword and determining whether the number of valid APNs is unique, the step further includes:

[0026] If the number of valid APNs is not unique, performing a polling operation on the valid APNs and obtaining a mobile network capability reference value of the valid APNs;

[0027] According to the Internet access capability reference value or the average network speed in the mobile network capability reference value, determining the effective APN with the fastest current network speed as the third target APN;

[0028] APN parameters are configured for the current terminal according to the third target APN, so that the current terminal is connected to a third target network based on the third target APN.

[0029] Optionally, as in the above-mentioned method for configuring an access point name, the method for configuring an access point name further includes:

[0030] Determine the 5G network APN corresponding to the 5G network mode information in the standby APN list;

[0031] Add a non-configurable identification field to the name information corresponding to the 5G network APN to set the 5G network APN to the non-configurable APN.

[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides an access point name configuration device, the access point name configuration device includes: a memory, a processor, and an access point name configuration program stored in the memory and executable on the processor, the access point name configuration program implements the steps of the access point name configuration method as described above when executed by the processor.

[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a configuration program for access point names is stored, and when the configuration program for access point names is executed by a processor, the steps of the above-mentioned method for configuring access point names are implemented.

[0034] The present invention provides a method, device and computer-readable storage medium for configuring an access point name. The method for configuring an access point name reads a preset identification parameter in a user identification card, and searches for spare APN list information corresponding to the identification parameter in an access point name APN database according to a preset mapping relationship; obtains a current terminal parameter value, and determines whether the network mode of the current terminal supports 5G based on the current terminal parameter value; if the network mode of the current terminal does not support 5G, determines the 5G network mode information in the spare APN list; and sets the 5G network APN corresponding to the 5G network mode information to a non-configurable APN. Through the above-mentioned method, the present invention obtains the backup APN list information according to the preset identification parameters, provides the judgment conditions for determining the network mode information of the APN, and improves the networking efficiency; judges whether the current network mode supports 5G according to the preset parameter value, adds the prediction information for the mobile terminal when selecting 5G or non-5G network APN for networking, and reduces the possibility of misusing the 5G network APN by the mobile terminal that does not support 5G; by setting the 5G network APN corresponding to the 5G network mode information as a non-configurable APN, so that the current terminal excludes the 5G network APN, the configuration method is applicable to the mobile terminal that does not support 5G, and can perform effective networking operations in a variety of networking scenarios, thereby improving the user experience, thereby solving the technical problem that the mobile terminal that does not support 5G has abnormal Internet access when 5G and other APNs exist at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;

[0036] Figure 2 A schematic diagram of a flow chart of a first embodiment of a method for configuring an access point name according to the present invention;

[0037] Figure 3 A schematic diagram of a flow chart of a second embodiment of a method for configuring an access point name according to the present invention;

[0038] Figure 4 FIG. 4 is a flow chart of a third embodiment of a method for configuring an access point name according to the present invention.

[0039] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0040] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0041] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.

[0042] The terminal of the embodiment of the present invention can be a PC, or it can be a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a portable computer, or other portable terminal devices with display function.

[0043] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0044] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.

[0045] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0046] like Figure 1 As shown, the 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.

[0047] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication with the client; and the processor 1001 can be used to call the network operation control application stored in the memory 1005 and perform the following operations:

[0048] Read the preset identification parameters in the user identification card, and search the standby APN list information corresponding to the identification parameters in the access point name APN database according to the preset mapping relationship;

[0049] Obtain a current terminal parameter value, and determine whether the network mode of the current terminal supports 5G based on the current terminal parameter value;

[0050] If the network mode of the current terminal does not support 5G, determining the 5G network mode information in the backup APN list;

[0051] The 5G network APN corresponding to the 5G network mode information is set to a non-configurable APN.

[0052] Further, the processor 1001 may call the network operation control application stored in the memory 1005, and further perform the following operations:

[0053] If the network mode of the current terminal does not support 5G, obtain multiple name information corresponding to each APN in the backup APN list, and determine whether there is a 5G keyword in the multiple name information;

[0054] If the 5G keyword exists in the multiple name information, the 5G network mode information is determined in the backup APN list according to the 5G keyword.

[0055] Further, the processor 1001 may call the network operation control application stored in the memory 1005, and further perform the following operations:

[0056] If the 5G keyword does not exist in the multiple name information, obtaining the number of valid APNs in the standby APN list that includes the default networkable keyword, and determining whether the number of valid APNs is unique;

[0057] If the number of valid APNs is not unique, a polling operation is performed on the valid APNs in the backup APN list to obtain a mobile network capability reference value of each valid APN, and the 5G network mode information is determined in the valid APN according to the mobile network capability reference value.

[0058] Further, the processor 1001 may call the network operation control application stored in the memory 1005, and further perform the following operations:

[0059] Determine an APN in the backup APN list excluding the non-configurable APN as the first target APN;

[0060] APN parameters are configured for the current terminal according to the first target APN, so that the current terminal is connected to the first target network based on the first target APN.

[0061] Further, the processor 1001 may call the network operation control application stored in the memory 1005, and further perform the following operations:

[0062] Obtain the current terminal parameter value, and determine whether the network mode of the current terminal supports 5G based on the network mode setting parameters, model type parameters or international mobile equipment identity code in the current terminal parameter value.

[0063] Further, the processor 1001 may call the network operation control application stored in the memory 1005, and further perform the following operations:

[0064] If the network mode of the current terminal supports 5G, obtain the number of valid APNs containing the default networkable keyword in the standby APN list, and determine whether the number of valid APNs is unique;

[0065] If the number of valid APNs is unique, the unique APN containing the default networkable keyword is used as the second APN;

[0066] APN parameters are configured for the current terminal according to the second target APN, so that the current terminal is connected to the second target network based on the second target APN.

[0067] Further, the processor 1001 may call the network operation control application stored in the memory 1005, and further perform the following operations:

[0068] If the number of valid APNs is not unique, performing a polling operation on the valid APNs and obtaining a mobile network capability reference value of the valid APNs;

[0069] According to the Internet access capability reference value or the average network speed in the mobile network capability reference value, determining the effective APN with the fastest current network speed as the third target APN;

[0070] APN parameters are configured for the current terminal according to the third target APN, so that the current terminal is connected to a third target network based on the third target APN.

[0071] Further, the processor 1001 may call the network operation control application stored in the memory 1005, and further perform the following operations:

[0072] Determine the 5G network APN corresponding to the 5G network mode information in the standby APN list;

[0073] Add a non-configurable identification field to the name information corresponding to the 5G network APN to set the 5G network APN to the non-configurable APN.

[0074] Based on the above hardware structure, various embodiments of the method for configuring the access point name of the present invention are proposed.

[0075] Reference Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a method for configuring an access point name.

[0076] A first embodiment of the present invention provides a method for configuring an access point name, the method comprising the following steps:

[0077] Step S10, reading a preset identification parameter in the user identification card, and searching for standby APN list information corresponding to the identification parameter in the access point name APN database according to a preset mapping relationship;

[0078] At present, in the early stage of 5G network construction, it is difficult for operators to fully consider the impact of the formulation of new 5G network APNs on the use of mobile data networks by existing mobile terminals that do not support 5G technology, resulting in the problem that mobile terminals that do not support 5G use 5G network APNs when both 5G and non-5G network APNs exist. For example, operators promote dedicated APN parameters for 5G networks and allocate International Mobile Equipment Identity (IMEI) segment numbers to a small number of 5G terminals to support 5G functions. However, terminals that do not support 5G functions use 5G network APNs for network registration, resulting in abnormal Internet access.

[0079] In this embodiment, in order to solve the above problems, the present invention provides a method for configuring an access point name, that is, obtaining the backup APN list information according to the preset identification parameters, providing a judgment condition for determining the network mode information of the APN, and improving the networking efficiency; judging whether the current network mode supports 5G according to the preset parameter value, adding pre-judgment information for the mobile terminal when selecting 5G or non-5G network APN for networking, and reducing the possibility of misusing the 5G network APN by the mobile terminal that does not support 5G; by setting the 5G network APN corresponding to the 5G network mode information as a non-configurable APN, so that the current terminal excludes the 5G network APN, the configuration method is applicable to mobile terminals that do not support 5G in a variety of networking scenarios. Effective networking operations can be performed, thereby improving the user experience. The configuration method of the access point name is applied to an access point name configuration system, and the access point name configuration system includes a mobile terminal, an APN database, and a user identification card. Specifically, when a user triggers a network access instruction, the current mobile terminal receives the network access instruction, confirms the user identification card that is performing networking operations in the current mobile terminal, and reads the preset identification parameters in the user identification card. Among them, the user identification card can be a subscriber identity identification (SIM, Subscriber Identification Module) card, a universal subscriber identity (UISM, Universal Subscriber Identity Module) card, a user identification module (UIM, User Identity Model) card, etc. The preset identification parameters at least include a mobile country code (MCC, Mobile Country Code) and a mobile network code (MNC, Mobile Network Code). The current mobile terminal searches for the backup APN list information corresponding to the preset identification parameters in the current user identification card in the APN database in the terminal according to the preset mapping relationship. The preset mapping relationship can be the name information and type information of one or more APNs corresponding to an MCC and an MNC. The backup APN list information can be the name information, type information, operator name, etc. of the APN. In a specific embodiment, the MCC read by the current mobile terminal in the SIM card is 825, and 825 represents China's mobile country code; the MNC information is 02, and 02 represents the mobile network code of the operator China Mobile. According to the preset mapping relationship, there are three APNs corresponding to MCC 02 and MNC 825 in the APN database of the current terminal. The names of the three APNs are omiga_5G, omiga, and omiga_mms, and the APN types corresponding to the three APN names are default (default networkable type), default supl (default mobile network type that can be connected to the Internet and supports A-GPS customization) and mms (MMS type).

[0080] Step S20, obtaining a current terminal parameter value, and determining whether the network mode of the current terminal supports 5G based on the current terminal parameter value;

[0081] In this embodiment, the current mobile terminal obtains the current terminal parameter value of the device, and compares the current terminal parameter value with the preset terminal parameter value to determine whether the network mode of the current terminal supports 5G. Among them, the current terminal parameter value can be the IMEI number segment of the current terminal, the network mode configuration information of the current device, the chip type or model information, etc. The preset terminal parameter value can be the IMEI number segment, chip type information or model information corresponding to the mobile terminal that supports the 5G network mode. In a specific embodiment, the current mobile terminal obtains the model information of the current mobile terminal and searches for the network type that the current model can support, so as to determine whether the current mobile terminal supports the 5G network mode.

[0082] Step S30: If the network mode of the current terminal does not support 5G, determine the 5G network mode information in the standby APN list;

[0083] In this embodiment, if the network mode of the current mobile terminal does not support 5G, the current mobile terminal determines the APN with a network mode of 5G among all the APNs to be configured according to preset rules. The preset rule may be to determine that the APN corresponding to the name information with the 5G keyword in the name information group is a 5G network APN through the name information group containing the 5G keyword in the standby APN list; or to obtain the mobile network capability reference value in the standby APN list, and determine the 5G network APN through the 5G segment where the average network speed reference value in the mobile network capability reference value is located. The name information group is the name information of multiple APNs found in the standby APN list according to the preset mapping relationship, and the mobile network capability reference value is the Internet access capability reference value or the average network speed reference value obtained by the current mobile terminal polling the APN. The network mode information refers to the category identification information that distinguishes the APN as 4G, 5G and other networks, and the 5G network mode information is the category identification information that indicates that the APN is 5G. Before determining the 5G network APN, it is necessary to determine whether the 5G network APN exists in the APN to be configured. The current mobile terminal can determine it through the 5G keyword in the APN name information or the APN type information.

[0084] Step S40: Set the 5G network APN corresponding to the 5G network mode information to a non-configurable APN.

[0085] In this embodiment, after the current mobile terminal determines the 5G network APN in the APN to be configured, the 5G network APN is set as a non-configurable APN according to a preset method. When the current mobile terminal selects an APN to connect to the network, the 5G network APN will not be selected. Among them, the preset method can be that the current mobile terminal adds non-configurable name identification characters to the name field of this 5G network APN, and lists the APN with non-configurable name identification characters in the non-configurable APN list; or adds a comment in the current mobile terminal that this APN is included in the non-configurable APN list after receiving the APN error information, and sends the APN error information to the current mobile terminal when it is determined that there is a 5G network APN in the current APN to be configured.

[0086] The present invention provides a method, device and computer-readable storage medium for configuring an access point name. The method for configuring an access point name reads a preset identification parameter in a user identification card, and searches for spare APN list information corresponding to the identification parameter in an access point name APN database according to a preset mapping relationship; obtains a current terminal parameter value, and determines whether the network mode of the current terminal supports 5G based on the current terminal parameter value; if the network mode of the current terminal does not support 5G, determines the 5G network mode information in the spare APN list; and sets the 5G network APN corresponding to the 5G network mode information to a non-configurable APN. Through the above-mentioned method, the present invention obtains the backup APN list information according to the preset identification parameters, provides the judgment conditions for determining the network mode information of the APN, and improves the networking efficiency; judges whether the current network mode supports 5G according to the preset parameter value, adds the prediction information for the mobile terminal when selecting 5G or non-5G network APN for networking, and reduces the possibility of misusing the 5G network APN by the mobile terminal that does not support 5G; by setting the 5G network APN corresponding to the 5G network mode information as a non-configurable APN, so that the current terminal excludes the 5G network APN, the configuration method is applicable to the mobile terminal that does not support 5G, and can perform effective networking operations in a variety of networking scenarios, thereby improving the user experience, thereby solving the technical problem that the mobile terminal that does not support 5G has abnormal Internet access when 5G and other APNs exist at the same time.

[0087] Reference Figure 3 , Figure 3 FIG. 2 is a flow chart of a second embodiment of a method for configuring an access point name according to the present invention.

[0088] Based on the above Figure 2 In the first embodiment shown, in this embodiment, step S30 specifically includes:

[0089] Step S31: if the network mode of the current terminal does not support 5G, obtain multiple name information corresponding to each APN in the standby APN list;

[0090] Step S32, determining whether there is a 5G keyword in the multiple name information;

[0091] In this embodiment, if the current mobile terminal is judged not to support the 5G network mode based on the current terminal model information, chip type and other parameters, the current mobile terminal obtains the name information groups of multiple APNs to be configured from the acquired backup APN list, and searches for the 5G keyword in the above name information groups.

[0092] Step S33: If the 5G keyword exists in the multiple name information, the 5G network mode information is determined in the backup APN list according to the 5G keyword.

[0093] In this embodiment, if after the above-mentioned 5G keyword existence judgment, the current mobile terminal finds the 5G keyword in the above-mentioned name information group obtained, then the current mobile terminal can directly determine that the APN to be configured corresponding to the 5G keyword is a 5G network type APN according to the 5G keyword. In a specific embodiment, the current mobile 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 contains the 5G keyword, then the current mobile terminal directly determines the APN to be configured named omiga_5G as a 5G network APN.

[0094] Furthermore, after step S33, the following steps are further included:

[0095] Step S50, determining an APN in the backup APN list excluding the non-configurable APN as the first target APN;

[0096] Step S60: Perform APN parameter configuration on the current terminal according to the first target APN, so that the current terminal connects to the first target network based on the first target APN.

[0097] In this embodiment, after the current mobile terminal excludes the 5G network APN in the backup APN list, it determines an APN from the remaining valid APNs and uses it as the first target APN. The current mobile 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 mobile terminal itself does not support the 5G network mode and the 5G network APN is removed. The first target network is the mobile data network corresponding to this APN. For example, if a 4G network APN named omiga is determined, the current mobile terminal connects to the corresponding 4G network based on this APN.

[0098] The present invention provides a method, device and computer-readable storage medium for configuring an access point name. The method for configuring the access point name is as follows: if the network mode of the current terminal does not support 5G, then multiple name information corresponding to each APN in the backup APN list is obtained, and it is determined whether there is a 5G keyword in the multiple name information; if the 5G keyword exists in the multiple name information, the 5G network mode information is determined in the backup APN list according to the 5G keyword. An APN is determined in the backup APN list excluding the non-configurable APN as the first target APN; and the APN parameters of the current terminal are configured according to the first target APN so that the current terminal connects to the first target network based on the first target APN. Through the above method, the present invention determines whether there is a 5G keyword in the name information of the valid APN. When the 5G keyword is present, the current mobile terminal can directly determine that the corresponding APN is the 5G network APN based on the 5G keyword, thereby eliminating the intermediate judgment step and improving the networking efficiency; by selecting an APN from the valid APNs after excluding the 5G network APN for mobile network connection, the situation where a mobile terminal that does not support 5G misuses the 5G network APN for networking, causing abnormalities, is avoided, thereby improving the user experience.

[0099] Reference Figure 4 , Figure 4 FIG. 4 is a flow chart of a third embodiment of a method for configuring an access point name according to the present invention.

[0100] Based on the above Figure 3 The second embodiment shown, in this embodiment, after step S31, further includes:

[0101] Step S34, if the 5G keyword does not exist in the multiple name information, obtaining the number of valid APNs in the standby APN list that includes the default networkable keyword, and determining whether the number of valid APNs is unique;

[0102] Step S35: If the number of valid APNs is not unique, poll the valid APNs in the backup APN list to obtain the mobile network capability reference value of each valid APN, and determine the 5G network mode information in the valid APN according to the mobile network capability reference value.

[0103] In this embodiment, if the current mobile terminal does not find the 5G keyword in the above-mentioned multiple name information, the type information group corresponding to the above-mentioned multiple name information is obtained in the obtained standby APN list. The current mobile terminal searches for the default networkable keyword in the above-mentioned type information group, and uses the APN to be configured corresponding to the type information containing the default networkable keyword as the valid APN. Among them, the default networkable keyword is default, which represents the default networkable type APN, which is used to access the Internet type mobile Internet, so the effective meaning is that the APN can access the Internet type mobile Internet. The current mobile terminal determines whether the number of corresponding valid APNs is unique based on the number of type information containing the default keyword. If the APN type information containing the default keyword is not unique, that is, the number of the above-mentioned valid APNs is not unique, the current mobile terminal will The current mobile terminal polls each valid APN to obtain the mobile network capability reference value of each valid APN. Among them, the mobile network capability reference value includes the Internet access capability reference value, the average network speed, etc. After obtaining the mobile network capability reference value of each valid APN, the current mobile terminal determines the 5G network mode information in each valid APN. It should be noted that, among the APN types excluding the 5G network APN, only the type corresponding to the 4G network APN contains the defaul keyword. After the type of the 5G network APN is also set to contain the defaul keyword, if two type information containing the defaul keyword appear in the corresponding APN type information in the APN to be configured of the same country and the same operator, it can be determined that there must be a 5G network APN in the APN to be configured. In a specific embodiment, in order to obtain the Internet access capability reference value of each valid APN, the current mobile terminal sets a timer to perform a polling operation on the valid APN. In each polling cycle, the current mobile terminal reports to the mobile network the valid APN parameter group corresponding to the polling state, and determines the Internet access capability reference value corresponding to each valid APN according to the network return value. In more embodiments, in order to obtain the average network speed reference value of each valid APN, the current mobile terminal specifies or conditionally determines that it is idle, and performs operations such as connecting to the network and transmitting network data packets for each valid APN, and calculates the maximum average transmission network speed value of the data network corresponding to each valid APN, including but not limited to the upload and download network speed values. The specific calculation method includes the current mobile terminal downloading or uploading data packets to the fixed URL link and calculating the size of the data packets transmitted per unit time, or the current mobile terminal reading the dynamic or historical value of the data packet size change in the fixed URL link. The current mobile terminal confirms the network mode standard classification interval of the APN according to the mobile data packet transmission rate protocol requirements specified in the 5G or 4G related protocols.For example, since the network speed corresponding to the effective APN omiga-5g is 1000M, this rate falls into the standard classification range of the 5G network mode according to the protocol planning, so the network mode information of this APN can be determined as 5G.

[0104] The present invention provides a method, device and computer-readable storage medium for configuring an access point name. The method for configuring an access point name obtains the number of valid APNs containing a default networkable keyword in the standby APN list if the 5G keyword does not exist in the multiple name information, and determines whether the number of valid APNs is unique; if the number of valid APNs is not unique, polls the valid APNs in the standby APN list to obtain a mobile network capability reference value of each valid APN, and determines the 5G network mode information in the valid APN according to the mobile network capability reference value. Through the above method, the present invention judges the type information of the APN to be configured whose name information does not contain the 5G keyword, and when the APNs of both 4G and 5G networks exist, polls the APNs of 4G and 5G networks to obtain their respective network mode information, so that when the 5G keyword does not exist, the mobile terminal can also determine and exclude the 5G network APN, thereby reducing the possibility of misusing the 5G network APN by mobile terminals that do not support 5G; by selecting an APN from the valid APNs after excluding the 5G network APN for mobile network connection, the situation where mobile terminals that do not support 5G misuse the 5G network APN for networking and cause abnormalities is avoided, thereby improving user experience.

[0105] Not shown in the figure, based on Figure 2 The first embodiment is shown, and a fourth embodiment of the present invention is proposed.

[0106] In this embodiment, after step S20, the following steps are further included:

[0107] Step a: if the network mode of the current terminal supports 5G, obtain the number of valid APNs in the standby APN list that contain a default networkable keyword, and determine whether the number of valid APNs is unique;

[0108] Step b, if the number of valid APNs is unique, then the unique APN containing the default networkable keyword is used as the second target APN;

[0109] Step c: configuring APN parameters of the current terminal according to the second target APN, so that the current terminal is connected to the second target network based on the second target APN.

[0110] In this embodiment, if it is determined through model information, etc. that the network mode of the current mobile terminal supports 5G, the current mobile terminal obtains the type information group of each APN in the backup APN list, and searches for the type information containing the default networkable keyword default in the type information group. The current mobile terminal uses the APN corresponding to the type information containing the default networkable keyword default as a valid APN, and determines whether the number of valid APNs is unique. If the number of valid APNs is unique, the current mobile terminal uses this unique valid APN as the second target APN, and connects to the corresponding second target network based on the second target APN configuration parameters. Among them, the second target APN refers to the only APN when the mobile 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.

[0111] Furthermore, not shown in the figure, after step S01, the following steps are further included:

[0112] Step d: If the number of valid APNs is not unique, polling the valid APNs and obtaining a mobile network capability reference value of the valid APNs;

[0113] Step e, determining the valid APN with the fastest current network speed as the third target APN according to the Internet access capability reference value or the average network speed in the mobile network capability reference value;

[0114] Step f: configuring APN parameters of the current terminal according to the third target APN, so that the current terminal is connected to the third target network based on the third target APN.

[0115] In this embodiment, if the number of the above-mentioned valid APNs is not unique, that is, there are multiple networkable APNs, the current mobile terminal polls multiple valid APNs to obtain the Internet access capability reference value, average network speed reference value and other mobile network capability reference values ​​of the valid APN, and determines the APN with the fastest network speed in the current networking environment based on the mobile capability reference value of the valid APN. The current mobile terminal uses this APN as the third target APN, and configures parameters based on the third target APN to connect to the third target network corresponding to the third target parameters. Among them, the third target APN refers to the APN with the fastest network speed in the current networking environment when the mobile terminal itself supports the 5G network mode and the networkable APN is not unique. The third target network is the mobile data network corresponding to this APN.

[0116] Furthermore, not shown in the figure, the method for configuring the access point name also includes:

[0117] Step g, determining the 5G network APN corresponding to the 5G network mode information in the standby APN list;

[0118] Step h, adding a non-configurable identification field to the name information corresponding to the 5G network APN to set the 5G network APN to the non-configurable APN.

[0119] In this embodiment, the current mobile terminal determines the 5G network APN corresponding to the 5G network mode information in the backup APN list according to the acquired 5G network mode information. The current mobile terminal adds an identification field indicating that the APN is a 5G network APN to the name information corresponding to the 5G network APN in the backup APN list, so that the mobile terminal that does not support 5G can directly determine and exclude the 5G network APN from the name information.

[0120] The present invention provides a method, device and computer-readable storage medium for configuring an access point name. The method for configuring the access point name is as follows: if the network mode of the current terminal supports 5G, the number of valid APNs in the backup APN list containing a default networkable keyword is obtained, and whether the number of valid APNs is unique; if the number of valid APNs is unique, the unique APN containing the default networkable keyword is used as the second target APN; the APN parameters of the current terminal are configured according to the second target APN, so that the current terminal connects to the second target network based on the second target APN. If the number of valid APNs is not unique, the valid APN is polled and the mobile network capability reference value of the valid APN is obtained; according to the Internet access capability reference value or the average network speed in the mobile network capability reference value, the valid APN with the fastest current network speed is determined as the third target APN; the APN parameters of the current terminal are configured according to the third target APN, so that the current terminal connects to the third target network based on the third target APN. Determine the 5G network APN corresponding to the 5G network mode information in the backup APN list; add a non-configurable identification field in the name information corresponding to the 5G network APN to set the 5G network APN to the non-configurable APN. Through the above-mentioned method, the present invention determines whether the valid APN is unique when the mobile terminal can support the 5G network mode. The current mobile terminal directly uses it as the target APN when the valid APN is unique, which simplifies the operation of the current mobile terminal to determine the target APN and improves the user experience; when the valid APN is not unique, a polling operation is performed to select the APN with the fastest current network speed among the valid APNs for configuration and networking, thereby improving the networking quality and user experience; by adding a non-configurable identification field to the name information of the 5G network APN that has been determined, the mobile terminal does not need to judge this APN in the subsequent networking process, thereby improving the networking efficiency.

[0121] The present invention also provides a computer-readable storage medium.

[0122] The computer-readable storage medium of the present invention stores an access point name configuration program, and when the access point name configuration program is executed by a processor, the steps of the access point name configuration method described above are implemented.

[0123] The method implemented when the access point name configuration program is executed can refer to the various embodiments of the access point name configuration method of the present invention, which will not be described in detail here.

[0124] The invention also provides a device for configuring an access point name.

[0125] The access point name configuration device includes a processor, a memory, and an access point name configuration program stored in the memory and executable on the processor, wherein when the access point name configuration program is executed by the processor, the steps of the access point name configuration method described above are implemented.

[0126] The method implemented when the access point name configuration program is executed can refer to the various embodiments of the access point name configuration method of the present invention, which will not be described in detail here.

[0127] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0128] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0130] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for configuring an access point name, characterized in that: The method for configuring the access point name comprises the following steps: Read the preset identification parameters in the user identification card, and search the standby APN list information corresponding to the identification parameters in the access point name APN database according to the preset mapping relationship; Obtain a current terminal parameter value, and determine whether the network mode of the current terminal supports 5G based on the current terminal parameter value; If the network mode of the current terminal does not support 5G, determining the 5G network mode information in the backup APN list; The 5G network APN corresponding to the 5G network mode information is set to a non-configurable APN.

2. The method for configuring an access point name according to claim 1, wherein: If the network mode of the current terminal does not support 5G, the step of determining the 5G network mode information in the standby APN list specifically includes: If the network mode of the current terminal does not support 5G, obtain multiple name information corresponding to each APN in the backup APN list, and determine whether there is a 5G keyword in the multiple name information; If the 5G keyword exists in the multiple name information, the 5G network mode information is determined in the backup APN list according to the 5G keyword.

3. The method for configuring an access point name according to claim 2, wherein: After the step of obtaining multiple name information corresponding to each APN in the standby APN list if the network mode of the current terminal does not support 5G and determining whether there is a 5G keyword in the multiple name information, the method further includes: If the 5G keyword does not exist in the multiple name information, obtaining the number of valid APNs in the standby APN list that includes the default networkable keyword, and determining whether the number of valid APNs is unique; If the number of valid APNs is not unique, a polling operation is performed on the valid APNs in the backup APN list to obtain a mobile network capability reference value of each valid APN, and the 5G network mode information is determined in the valid APN according to the mobile network capability reference value.

4. The method for configuring an access point name according to claim 1, wherein: After the step of setting the 5G network APN corresponding to the 5G network mode information to a non-configurable APN, the method further includes: Determine an APN in the backup APN list excluding the non-configurable APN as the first target APN; APN parameters are configured for the current terminal according to the first target APN, so that the current terminal is connected to the first target network based on the first target APN.

5. The method for configuring an access point name according to claim 1, wherein: The step of obtaining the current terminal parameter value and judging whether the network mode of the current terminal supports 5G based on the current terminal parameter value specifically includes: Obtain the current terminal parameter value, and determine whether the network mode of the current terminal supports 5G based on the network mode setting parameters, model type parameters or international mobile equipment identity code in the current terminal parameter value.

6. The method for configuring an access point name according to claim 1, wherein: After the step of obtaining the current terminal parameter value and judging whether the network mode of the current terminal supports 5G based on the current terminal parameter value, the method further includes: If the network mode of the current terminal supports 5G, obtain the number of valid APNs containing the default networkable keyword in the standby APN list, and determine whether the number of valid APNs is unique; If the number of valid APNs is unique, the unique APN containing the default networkable keyword is used as the second target APN; APN parameters are configured for the current terminal according to the second target APN, so that the current terminal is connected to the second target network based on the second target APN.

7. The method for configuring an access point name according to claim 6, wherein: After the step of obtaining the number of valid APNs containing the default networkable keyword in the standby APN list if the network mode of the current terminal supports 5G and determining whether the number of valid APNs is unique, the method further includes: If the number of valid APNs is not unique, performing a polling operation on the valid APNs and obtaining a mobile network capability reference value of the valid APNs; According to the Internet access capability reference value or the average network speed in the mobile network capability reference value, determining the effective APN with the fastest current network speed as the third target APN; APN parameters are configured for the current terminal according to the third target APN, so that the current terminal is connected to a third target network based on the third target APN.

8. The method for configuring an access point name according to any one of claims 1 to 7, characterized in that: The method for configuring the access point name also includes: Determine the 5G network APN corresponding to the 5G network mode information in the standby APN list; Add a non-configurable identification field to the name information corresponding to the 5G network APN to set the 5G network APN to the non-configurable APN.

9. An access point name configuration device, characterized in that: The access point name configuration device includes: a memory, a processor, and an access point name configuration program stored in the memory and executable on the processor, wherein the access point name configuration program implements the steps of the access point name configuration method according to any one of claims 1 to 8 when executed by the processor.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an access point name configuration program, and when the access point name configuration program is executed by the processor, the steps of the access point name configuration method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Default access point name selection method and device

    CN101990280A

  • Method and apparatus for configuring access point name APN

    CN107306388A

  • APN obtaining method, mobile terminal, network terminal, and storage medium

    CN108112055A

  • Apparatus and method for interworking between networks in a wireless communication system

    KR1020180084578A

  • Method and apparatus for requesting an initial attachment of a UE to PS mobile communication network

    US20160302168A1