CN105848133B - Access point name configuration method and device - Google Patents

Access point name configuration method and device Download PDF

Info

Publication number
CN105848133B
CN105848133B CN201610149964.1A CN201610149964A CN105848133B CN 105848133 B CN105848133 B CN 105848133B CN 201610149964 A CN201610149964 A CN 201610149964A CN 105848133 B CN105848133 B CN 105848133B
Authority
CN
China
Prior art keywords
apn
configuration
acl
access point
point name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610149964.1A
Other languages
Chinese (zh)
Other versions
CN105848133A (en
Inventor
刘煜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201610149964.1A priority Critical patent/CN105848133B/en
Publication of CN105848133A publication Critical patent/CN105848133A/en
Application granted granted Critical
Publication of CN105848133B publication Critical patent/CN105848133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Landscapes

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

Abstract

The present invention provides a kind of access point name configuration method and device, including, configuring request is generated, configuring request includes: the mark of subscriber identification card to be processed;According to configuring request, the corresponding access point name APN configuration status information of acquisition subscriber identification card corresponding with subscriber identification card mark and access point name control list ACL, wherein include allowing to establish the APN being connected to the network in ACL;Judge whether APN configuration status information is non-configuration status, if APN configuration status information is non-configuration status, APN configuration is carried out according to ACL, in the present invention, APN configuration is carried out according to ACL, so that corresponding relationship of the terminal without the PLMN and APN of preset operator, improves the allocative efficiency of APN.

Description

Access point name configuration method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of access point name configuration method and devices.
Background technique
Access point name (Access Point Name, abbreviation APN) is that user is necessary when being surfed the Internet by wireless terminal device One parameter of configuration, which access point it determines wireless terminal device by access network.Currently, domestic each operation The APN of quotient is different.
It in the prior art, can be pre- in terminal in order to make the user for belonging to different operators that identical terminal can be used It is equipped with the APN configuration information of domestic all operators, specifically, the public land mobile network of preset operator in terminal The corresponding relationship of (Public Land Mobile Network, abbreviation PLMN) and APN, in user by subscriber identification module (Subscriber Identity Module, abbreviation, SIM) card or Universal Subscriber Identity Module (Universal Subscriber Identity Module, referred to as, USIM) card be put into terminal after, terminal can read state from specified file Border mobile identification number (International Mobile Subscriber Identification Number, referred to as, IMSI) to obtain the Home PLMN of user, and its corresponding APN is searched according to the Home PLMN, is then carried out according to the APN APN configuration, normally connects network to guarantee that the APN can be used in user.
But with the development of the construction of mobile network and business, carrier network setting can change, such as certain fortune Battalion quotient increases new PLMN, when carrying out APN configuration using the prior art, if the user attaching PLMN that terminal obtains is newly-increased PLMN, then will lead to terminal can not find the corresponding APN of newly-increased PLMN in the corresponding relationship of preset PLMN and APN, thus Cause terminal not to be available APN and establish network connection, reduces user experience.
Summary of the invention
The present invention provides a kind of access point name configuration method and device, and for solving in the prior art, terminal can not be The corresponding relationship of preset PLMN and APN find the corresponding APN of newly-increased PLMN, are not available APN so as to cause terminal and establish The problem of network connection.
First aspect present invention provides a kind of access point name configuration method, comprising:
Configuring request is generated, the configuring request includes: the mark of subscriber identification card to be processed;
According to the configuring request, obtain that corresponding subscriber identification card is corresponding connects with subscriber identification card mark Access point title APN configuration status information and access point name control list ACL, wherein include allowing to establish network in the ACL The APN of connection;
Judge whether the APN configuration status information is non-configuration status, if the APN configuration status information is to be not configured State then carries out APN configuration according to the ACL.
Second aspect of the present invention provides a kind of access point name configuration device, comprising:
Generation module, for generating configuring request, the configuring request includes: the mark of subscriber identification card to be processed Know;
Module is obtained, for obtaining user identity corresponding with subscriber identification card mark according to the configuring request The corresponding access point name APN configuration status information of identification card and access point name control list ACL, wherein wrap in the ACL Including allows to establish the APN being connected to the network;
Configuration module, for judging whether the APN configuration status information is non-configuration status, if the APN configures shape State information is non-configuration status, then carries out APN configuration according to the ACL.
Access point name configuration method provided by the invention and device, by generate configuring request, configuring request include: to The mark of the subscriber identification card of processing;According to configuring request, user's body corresponding with subscriber identification card mark is obtained The corresponding access point name APN configuration status information of part identification card and access point name control list ACL, wherein include in ACL Allow to establish the APN being connected to the network;Judge whether APN configuration status information is non-configuration status, if APN configuration status information is Non-configuration status then carries out APN configuration according to ACL, in this way, identifying corresponding subscriber identification card from subscriber identification card Middle acquisition ACL, and APN configuration is carried out according to ACL, so that corresponding relationship of the terminal without the PLMN and APN of preset operator, this Outside, since subscriber identification card is by operators issue, when certain operator increases new PLMN, operator can be timely The new corresponding new APN information of PLMN is added in SMI card in corresponding ACL, terminal is obtained in time new APN information improves the allocative efficiency of APN, and avoiding terminal in the prior art can not close in the corresponding of preset PLMN and APN System finds the corresponding APN of newly-increased PLMN, is not available the problem of APN establishes network connection so as to cause terminal.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of access point name configuration method embodiment one provided by the invention;
Fig. 2 is the flow diagram of access point name configuration method embodiment two provided by the invention;
Fig. 3 is the flow diagram of access point name configuration method embodiment three provided by the invention;
Fig. 4 is the structural schematic diagram of access point name configuration device embodiment one provided by the invention;
Fig. 5 is the structural schematic diagram of access point name configuration device embodiment two provided by the invention;
Fig. 6 is the structural schematic diagram of access point name configuration device embodiment three provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram of access point name configuration method embodiment one provided by the invention, as shown in Figure 1, should Method includes:
Step 101 generates configuring request, and configuring request includes: the mark of subscriber identification card to be processed.
Wherein, configuring request is generated by terminal.
In the present embodiment, terminal can possess multiple subscriber identification cards, and every subscriber identification card has only One subscriber identification card mark, subscriber identification card can be SIM card and be also possible to usim card.
Step 102, according to configuring request, it is corresponding to obtain subscriber identification card corresponding with subscriber identification card mark Access point name APN configuration status information and access point name control list ACL, wherein in ACL include allow to establish network The APN of connection.
Step 103 judges whether APN configuration status information is non-configuration status, if APN configuration status information is to be not configured State then carries out APN configuration according to ACL.
In the present embodiment, by generating configuring request, configuring request includes: the mark of subscriber identification card to be processed Know;According to configuring request, the corresponding access point name of acquisition subscriber identification card corresponding with subscriber identification card mark APN configuration status information and access point name control list ACL, wherein include allowing to establish the APN being connected to the network in ACL;Sentence Whether disconnected APN configuration status information is non-configuration status, if APN configuration status information is non-configuration status, is carried out according to ACL APN configuration obtains ACL in this way, identifying in corresponding subscriber identification card from subscriber identification card, and is carried out according to ACL APN configuration, so that corresponding relationship of the terminal without the PLMN and APN of preset operator, further, since subscriber identification card is By operators issue, when certain operator increases new PLMN, operator can be in time by the new corresponding new APN of PLMN Information, which is added in SMI card, in corresponding ACL, allows terminal to obtain new APN information in time, improves the configuration of APN Efficiency, avoiding terminal in the prior art, can not to find newly-increased PLMN in the corresponding relationship of preset PLMN and APN corresponding APN is not available the problem of APN establishes network connection so as to cause terminal.
Fig. 2 is the flow diagram of access point name configuration method embodiment two provided by the invention, as shown in Fig. 2, On the basis of embodiment described in Fig. 1, in step 103 includes: according to ACL progress APN configuration
Step 201 obtains the first APN from ACL, and according to the first APN, carries out APN configuration.
Whether step 202, detection network connection are normal, other APN are being obtained from ACL if abnormal, and according to other APN carries out APN configuration, until detecting that network connection is normal.
In the present embodiment, by obtaining the first APN from ACL, and according to the first APN, APN configuration is carried out, net is detected Whether network connection is normal, other APN is being obtained from ACL if abnormal, and according to other APN, carry out APN configuration, until inspection Until measuring network connection normally, in this way, whether detection network connection is normal, if not just after terminal completes APN configuration Often, then other APN are obtained from ACL, and according to other APN, carry out APN configuration, until detecting that network connection is normal, Improve APN configuration success rate.
Fig. 3 is the flow diagram of access point name configuration method embodiment three provided by the invention, as shown in figure 3, should Method further include:
If step 301, APN configuration status information are configured state, configured APN is obtained.
If step 302 judges that configured APN not in ACL, according to the APN in ACL, carries out APN configuration.
In the present embodiment, if APN configuration status information is configured state, configured APN is obtained, if judgement has been matched The APN set then according to the APN in ACL, carries out APN configuration, realizes the control to configured APN, i.e., only not in ACL The APN in ACL is allowed to establish network connection, to improve the safety of network.
Fig. 4 is the structural schematic diagram of access point name configuration device embodiment one provided by the invention, as shown in figure 4, should Device includes: generation module 10, obtains module 11 and configuration module 12.
Generation module 10, for generating configuring request, configuring request includes: the mark of subscriber identification card to be processed Know.
Module 11 is obtained, for user identity corresponding with subscriber identification card mark being obtained and being known according to configuring request Do not block corresponding access point name APN configuration status information and access point name control list ACL, wherein include allowing in ACL Establish the APN of network connection.
Configuration module 12, for judging whether APN configuration status information is non-configuration status, if APN configuration status information For non-configuration status, then APN configuration is carried out according to ACL.
Access point name configuration device in the present embodiment can execute the technical solution of embodiment of the method shown in Fig. 1, Realization principle and beneficial effect are similar, and details are not described herein again.
Fig. 5 is the structural schematic diagram of access point name configuration device embodiment two provided by the invention, as shown in figure 5, On the basis of embodiment described in Fig. 4, configuration module 12, comprising: APN configuration unit 20 and detection unit 21.
APN configuration unit 20 carries out APN configuration for obtaining the first APN from ACL, and according to the first APN.
Detection unit 21, it is whether normal for detecting network connection, other APN are being obtained from ACL if abnormal, and According to other APN, APN configuration is carried out, until detecting that network connection is normal.
Access point name configuration device in the present embodiment can execute the technical solution of embodiment of the method shown in Fig. 2, Realization principle and beneficial effect are similar, and details are not described herein again.
Fig. 6 is the structural schematic diagram of access point name configuration device embodiment three provided by the invention, as shown in fig. 6, On the basis of embodiment described in Fig. 5, if obtaining module 11 to be also used to APN configuration status information is configured state, acquisition has been matched The APN set.
Device further includes control module 30, if for judging configured APN not in ACL, according to the APN in ACL, Carry out APN configuration.
Access point name configuration device in the present embodiment can execute the technical solution of embodiment of the method shown in Fig. 3, Realization principle and beneficial effect are similar, and details are not described herein again.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (2)

1. a kind of access point name configuration method characterized by comprising
Configuring request is generated, the configuring request includes: the mark of subscriber identification card to be processed;
According to the configuring request, the corresponding access point of acquisition subscriber identification card corresponding with subscriber identification card mark Title APN configuration status information and access point name control list ACL, wherein include allowing to establish to be connected to the network in the ACL APN;
Judge whether the APN configuration status information is non-configuration status, if the APN configuration status information is that shape is not configured State then carries out APN configuration according to the ACL;
If the APN configuration status information is configured state, the configured APN is obtained;
If judging, the configured APN not in the ACL, according to the APN in the ACL, carries out APN configuration;
It is wherein, described that APN configuration is carried out according to the ACL, comprising:
The first APN is obtained from the ACL, and according to the first APN, carries out APN configuration;
Whether detection network connection is normal, other APN is being obtained from the ACL if abnormal, and according to other APN, carry out APN configuration, until detecting that network connection is normal.
2. a kind of access point name configuration device characterized by comprising
Generation module, for generating configuring request, the configuring request includes: the mark of subscriber identification card to be processed;
Module is obtained, for obtaining user identity identification corresponding with subscriber identification card mark according to the configuring request Block corresponding access point name APN configuration status information and access point name control list ACL, wherein include permitting in the ACL Perhaps the APN of network connection is established;
Configuration module, for judging whether the APN configuration status information is non-configuration status, if the APN configuration status is believed Breath is non-configuration status, then carries out APN configuration according to the ACL;
If obtaining module and being also used to the APN configuration status information is configured state, the configured APN is obtained;
Described device further includes control module, if for judging the configured APN not in the ACL, according to APN in ACL carries out APN configuration;
Wherein, the configuration module, comprising:
APN configuration unit carries out APN configuration for obtaining the first APN from the ACL, and according to the first APN;
Detection unit, it is whether normal for detecting network connection, other APN, and root are being obtained from the ACL if abnormal, According to other APN, APN configuration is carried out, until detecting that network connection is normal.
CN201610149964.1A 2016-03-16 2016-03-16 Access point name configuration method and device Active CN105848133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610149964.1A CN105848133B (en) 2016-03-16 2016-03-16 Access point name configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610149964.1A CN105848133B (en) 2016-03-16 2016-03-16 Access point name configuration method and device

Publications (2)

Publication Number Publication Date
CN105848133A CN105848133A (en) 2016-08-10
CN105848133B true CN105848133B (en) 2019-09-24

Family

ID=56587234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610149964.1A Active CN105848133B (en) 2016-03-16 2016-03-16 Access point name configuration method and device

Country Status (1)

Country Link
CN (1) CN105848133B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106413039A (en) * 2016-10-31 2017-02-15 努比亚技术有限公司 APN adaptive configuration device and method
CN107548057B (en) * 2017-10-13 2020-12-29 深圳市万普拉斯科技有限公司 APN (Access Point name) creating method and device of mobile terminal and mobile terminal
CN111565164A (en) * 2019-02-14 2020-08-21 普天信息技术有限公司 Method for physical isolation of wireless private network service

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101919299A (en) * 2007-12-27 2010-12-15 爱立信电话股份有限公司 Multi-PDN (packet data network) connectivity to one APN (access point name)
CN102006210A (en) * 2010-11-26 2011-04-06 华为终端有限公司 User equipment dial-up networking method, device and system
CN104602363A (en) * 2014-12-25 2015-05-06 联想(北京)有限公司 Electronic equipment and APN information updating method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9042829B2 (en) * 2013-01-04 2015-05-26 Nokia Corporation Method, apparatus, and computer program product for wireless short-range communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101919299A (en) * 2007-12-27 2010-12-15 爱立信电话股份有限公司 Multi-PDN (packet data network) connectivity to one APN (access point name)
CN102006210A (en) * 2010-11-26 2011-04-06 华为终端有限公司 User equipment dial-up networking method, device and system
CN104602363A (en) * 2014-12-25 2015-05-06 联想(北京)有限公司 Electronic equipment and APN information updating method thereof

Also Published As

Publication number Publication date
CN105848133A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
US20160210632A1 (en) Secured payment method and relevant device and system
US9407331B2 (en) NFC device with configurable notifications
CN106296861A (en) Night watching recording method, device and system
CN107229854B (en) Application program registration method and device, electronic equipment and storage medium
CN103259795A (en) Method for executing automatic register and login, mobile terminal and server
KR20180079784A (en) Method and electric device for configuring a sharing target device sharing data usage
CN103987042A (en) Access authentication method of terminals and access gateway
CN104243490A (en) Method and device for identifying pseudo wireless network access point and mobile terminal
CN105848133B (en) Access point name configuration method and device
CN107251069B (en) Near field communication payment method and terminal
CN104252479A (en) Method, device and system for processing information
CN106156915A (en) A kind of wireless Work attendance method, Apparatus and system
CN106973379B (en) Network re-entry recognition methods and device
CN107426800A (en) Reduce the method, apparatus and smart card of power consumption of terminal
CN106790727A (en) Information push method and device
CN104519482B (en) A kind of device parameter configuration method and device
EP2770768A2 (en) Method and system for replacing an se key of a mobile terminal
CN104144409B (en) A kind of air card-writing method, system and home location register
CN105577879A (en) Address book management method and mobile terminal
CN104936201A (en) Wireless terminal monitoring method, device thereof and system thereof
CN104038900A (en) Locating method and equipment
CN110493850A (en) A kind of smart home wireless device is added and exits family's Internet of Things network method
CN106302519A (en) The method of a kind of internet security management and terminal
CN106331169A (en) Method for reporting loss of mobile terminal and cloud customer terminal, cloud server, mobile terminal
CN105959306A (en) IP address identification method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant