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

CN112468315A - APN configuration method and equipment - Google Patents

APN configuration method and equipment Download PDF

Info

Publication number
CN112468315A
CN112468315A CN202011210471.7A CN202011210471A CN112468315A CN 112468315 A CN112468315 A CN 112468315A CN 202011210471 A CN202011210471 A CN 202011210471A CN 112468315 A CN112468315 A CN 112468315A
Authority
CN
China
Prior art keywords
configuration
apn
user interface
module
information
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.)
Pending
Application number
CN202011210471.7A
Other languages
Chinese (zh)
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.)
Shanghai Zhongmi Communication Technology Co ltd
Original Assignee
Shanghai Zhongmi Communication Technology 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 Shanghai Zhongmi Communication Technology Co ltd filed Critical Shanghai Zhongmi Communication Technology Co ltd
Priority to CN202011210471.7A priority Critical patent/CN112468315A/en
Publication of CN112468315A publication Critical patent/CN112468315A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/28Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An APN configuration method comprises the following steps: reading pre-stored configuration information of each APN, wherein the configuration information comprises APN names, types and authentication information; and after the APN is configured through the AT command, network access operation is carried out, and network access parameter information is captured through packet capture so as to detect whether the configuration data is correct or not. Further comprising, carrying out APN related configuration on a WEB user interface; after configuration is completed on the WEB user interface, issuing a corresponding AT command according to configuration content, thereby completing configuration of APN; and recording the configuration data stored in the WEB user interface.

Description

APN configuration method and equipment
Technical Field
The invention belongs to the field of mobile communication, and particularly relates to an APN configuration method and equipment.
Background
The APN is a network access technology, and is a parameter that must be configured when a mobile phone accesses the internet, and determines which access mode the mobile phone accesses the network through.
For a mobile phone user, there are many types of external networks that can be accessed, for example: internet, WAP site, group enterprise intranet, and industry intranet. The range and access mode of different access points are different, and how the network side knows which network the mobile phone will access after activation, and thus allocates IP of which network segment, is to be distinguished by the APN, that is, the APN determines what network the mobile phone of the user accesses through which access mode.
The terms referred to herein are abbreviated:
term name Full scale Description of the invention
APN Access Point Name Network access technology
OAM Operation Administration and Maintenance Operation maintenance management
AT commands Attention Sending commands to interact with the network
UCI Unified Configuration Interface Modifying and saving parameters
LTE long Term Evolution (3GPP) Long term evolution
Disclosure of Invention
In one aspect of the invention, APN related configuration is performed on a WEB user interface;
after configuration is completed on the WEB user interface, issuing a corresponding AT command according to configuration content, thereby completing configuration of APN;
and recording the configuration data stored in the WEB user interface.
The process of carrying out APN related configuration on the WEB user interface comprises the following steps:
firstly, parameter configuration is carried out on a WEB user interface;
the intermediate layer OAMD module acquires WEB interface parameter configuration information, issues the WEB interface parameter configuration information to the LTE module in a message queue mode, and operates the APN;
the APN carries out logic judgment, when parameter configuration information is incorrect or conflicts occur, wrong information is returned to the OAMD module, and then the OAMD module informs the WEB user interface configuration that errors occur;
if all the configurations are normal, a relevant AT command is issued to configure, then the return result of the AT acquisition module is written into the memory, and the OAMD module is informed;
after receiving the correct message, the OAMD module reads data from the memory, so as to provide the data for the WEB user interface to display.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 is a flowchart of an APN configuration method according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of system module data interaction according to one embodiment of the present invention.
Detailed Description
According to one or more embodiments, as shown in fig. 1, an APN configuration method includes the following steps:
apn initialization: when the system is powered on, the process reads apn configuration in the flash, including apn name, type, authentication information, etc., to configure each apn.
Apn Normal Access: the AT commands the correct configuration apn, the network access operation will proceed. At the moment, the network access parameter information can be captured through packet capturing to detect whether the configuration is correct or not.
WEBUI modification: in a specific using process, a user can carry out apn configuration according to own requirements, and the configuration can be directly operated on the WEBUI
4. Configuring AT to send: after the configuration is completed on the WEBUI, relevant AT commands are issued according to the configuration content, so that the configuration apn is realized.
Apn configuration record: after the WEBUI configuration is completed, the configured content is recorded and stored in the flash. This may facilitate the user to continue configuration between restarts after restarting the device.
When configuring multiple APNs, the relevant AT commands of the supported 3GPP standard protocol are as follows:
AT + CGDCONT-can view the parameter information of local configuration, such as ipv4/ipv6, apnnamee, etc
AT + CGCONTRDP-can check the network access parameter information sent by the server
AT + CGAUTH-configurable authentication information, e.g. NONE/PAP/CHAP etc
According to one or more embodiments, as shown in fig. 2, an APN configuration method includes:
a. firstly, parameter configuration is carried out on WEBUI;
b. the OAMD of the middle layer acquires interface parameter configuration information, and sends the interface parameter configuration information to the LTE module in a message queue mode to operate the multiple APNs;
c. the bottom APN side carries out logic judgment, when parameter configuration information is incorrect and conflicts occur, wrong information is set back to the OAMD, and then the OAM informs the WEBUI to configure errors;
d. if all the configurations are normal, issuing the relevant AT to perform the configuration, then obtaining the processing return result of the communication module to the AT command through the AT, writing the processing return result into the memory, and informing the OAMD;
and e, after receiving the correct message, the OAMD reads data from the memory so as to provide the WEBUI display.
And the OAMD and the LTE mutually notify the multiple APNs in a message queue mode. And mutually appointing the message type and the corresponding written memory address, thereby judging whether the bottom layer setting is correct.
The AT commands used by the protocols supported by the communication modules are 3GPP standard protocols and do not relate to unique commands of different manufacturers. The protocol mainly relates to the combination of modes such as inter-process communication (a message queue mode), FLASH data storage, AT configuration and the like. The configuration of multiple APNs can be conveniently carried out by users through graphical operation, and complicated and specialized configuration through serial port communication knowledge and AT knowledge is avoided. Meanwhile, the FLASH storage function is provided, and low-efficiency repeated configuration of a user is avoided.
Furthermore, in the process of starting the system, whether the drive of the module is loaded normally is judged firstly. And under the condition that the module is normally loaded, judging whether the AT channel is opened or not. In case all is ready, the sending APN initializes the relevant AT configuration.
The parameters of WEB page configuration comprise:
APN Number: i.e. the corresponding APN table, generally supports APN 1-4
An ENABLE: representing whether to open the current APN
Profile Name: name of APN
APN Name: the name of the network parameter carried by the APN during network access is generally the name of each operator
Authentication Type: APN authentication information
PDN Type: the type of APN supports ipv4/ipv6/ipv4v6
Default Gateway: setting a current APN as a default gateway
Authentication Type: and the default of the related configuration of APN authentication is None.
Meanwhile, the user can also set PAP/CHAP to represent two different authentication modes. The specific authentication information can be checked by capturing and analyzing the network packet, for example, the PAP password capture packet is plaintext, and the CHAP is encrypted.
The equipment provided by the invention supports multi-APN configuration, comprises three modes of an ipv4/ipv6/ipv4v6 and three authentication modes of None/CHAP/PAP, wherein each APN specifies an access operator name, and the equipment is convenient for products to be applied to various scenes.
Meanwhile, the AT command can be supported to acquire specific parameters of each APN, and configuration contents can be inherited into FLASH, so that the data can be conveniently restarted and subsequently carried.
When the software functional units integrated in the present invention are implemented and sold or used as independent products, they can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. An APN configuration method is characterized by comprising the following steps:
reading pre-stored configuration information of each APN, wherein the configuration information comprises APN names, types and authentication information;
and after the APN is configured through the AT command, network access operation is carried out, and network access parameter information is captured through packet capture so as to detect whether the configuration data is correct or not.
2. The APN configuration method of claim 1, further comprising,
carrying out APN related configuration on a WEB user interface;
after configuration is completed on the WEB user interface, issuing a corresponding AT command according to configuration content, thereby completing configuration of APN;
and recording the configuration data stored in the WEB user interface.
3. The APN configuration method of claim 2, wherein the APN-related configuration process on the WEB user interface comprises:
firstly, parameter configuration is carried out on a WEB user interface;
the intermediate layer OAMD module acquires WEB interface parameter configuration information, issues the WEB interface parameter configuration information to the LTE module in a message queue mode, and operates the APN;
the APN carries out logic judgment, when parameter configuration information is incorrect or conflicts occur, wrong information is returned to the OAMD module, and then the OAMD module informs the WEB user interface configuration that errors occur;
if all the configurations are normal, a relevant AT command is issued to configure, then the return result of AT command processing is obtained through the AT, the return result is written into the memory, and the OAMD module is informed;
and after receiving the correct message, the OAMD module reads data from the memory so as to provide the data for a WEB user interface to display.
4. The APN configuration method according to claim 3, wherein the OAMD module and the LTE module notify each other through a message queue, and agree with each other about a message type and a corresponding written memory address, thereby determining whether the setting is correct.
5. The APN configuration method of claim 1, comprising an initialization step of determining whether the driver of the module is loaded normally,
under the condition that the module is normally loaded, whether the AT channel is opened or not is judged,
the sending APN initializes the relevant AT configuration.
6. An APN configuration device, characterized in that the device comprises a memory; and
a processor coupled to the memory, the processor configured to execute instructions stored in the memory, the processor to:
reading pre-stored configuration information of each APN, wherein the configuration information comprises APN names, types and authentication information;
after APN is configured through AT command, network access operation is carried out, and network access parameter information is captured through packet capture to detect whether configuration data is correct or not;
after configuration is completed on the WEB user interface, issuing a corresponding AT command according to configuration content, thereby completing configuration of APN;
and recording the configuration data stored in the WEB user interface.
7. A storage medium on which a computer program is stored which, when executed by a processor, carries out the method of any one of claims 1 to 5.
CN202011210471.7A 2020-11-03 2020-11-03 APN configuration method and equipment Pending CN112468315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011210471.7A CN112468315A (en) 2020-11-03 2020-11-03 APN configuration method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011210471.7A CN112468315A (en) 2020-11-03 2020-11-03 APN configuration method and equipment

Publications (1)

Publication Number Publication Date
CN112468315A true CN112468315A (en) 2021-03-09

Family

ID=74834904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011210471.7A Pending CN112468315A (en) 2020-11-03 2020-11-03 APN configuration method and equipment

Country Status (1)

Country Link
CN (1) CN112468315A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100262957A1 (en) * 2009-04-09 2010-10-14 Siemens Ag Network Device and System Thereof
CN102148876A (en) * 2011-05-10 2011-08-10 中国联合网络通信集团有限公司 Access point switching method and device on iOS
CN103188650A (en) * 2011-12-28 2013-07-03 电信科学技术研究院 Gateway selection method and equipment
CN105764044A (en) * 2016-04-25 2016-07-13 中国联合网络通信集团有限公司 APN configuration method and apparatus thereof
CN105827438A (en) * 2016-03-11 2016-08-03 广东亿迅科技有限公司 Method for setting APN automatically
WO2016169003A1 (en) * 2015-04-22 2016-10-27 华为技术有限公司 Method, apparatus and system for authorizing access point name
CN106973380A (en) * 2017-04-01 2017-07-21 中国联合网络通信集团有限公司 A kind of switching APN method and device
CN107306388A (en) * 2016-04-21 2017-10-31 中兴通讯股份有限公司 A kind of APN APN collocation method and device
US20180098245A1 (en) * 2016-09-30 2018-04-05 Cisco Technology, Inc. System and method to facilitate group reporting of user equipment congestion information in a network environment
US20180152844A1 (en) * 2015-04-30 2018-05-31 Intel IP Corporation At command for secure esm information
US10068089B1 (en) * 2015-09-25 2018-09-04 Symantec Corporation Systems and methods for network security
CN109890066A (en) * 2019-03-28 2019-06-14 努比亚技术有限公司 APN parameter configuration method, device, mobile terminal and readable storage medium storing program for executing
CN109995811A (en) * 2017-12-29 2019-07-09 中国移动通信集团广东有限公司 A kind of method for switching network and system of IOS system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100262957A1 (en) * 2009-04-09 2010-10-14 Siemens Ag Network Device and System Thereof
CN102148876A (en) * 2011-05-10 2011-08-10 中国联合网络通信集团有限公司 Access point switching method and device on iOS
CN103188650A (en) * 2011-12-28 2013-07-03 电信科学技术研究院 Gateway selection method and equipment
WO2016169003A1 (en) * 2015-04-22 2016-10-27 华为技术有限公司 Method, apparatus and system for authorizing access point name
US20180152844A1 (en) * 2015-04-30 2018-05-31 Intel IP Corporation At command for secure esm information
US10068089B1 (en) * 2015-09-25 2018-09-04 Symantec Corporation Systems and methods for network security
CN105827438A (en) * 2016-03-11 2016-08-03 广东亿迅科技有限公司 Method for setting APN automatically
CN107306388A (en) * 2016-04-21 2017-10-31 中兴通讯股份有限公司 A kind of APN APN collocation method and device
CN105764044A (en) * 2016-04-25 2016-07-13 中国联合网络通信集团有限公司 APN configuration method and apparatus thereof
US20180098245A1 (en) * 2016-09-30 2018-04-05 Cisco Technology, Inc. System and method to facilitate group reporting of user equipment congestion information in a network environment
CN106973380A (en) * 2017-04-01 2017-07-21 中国联合网络通信集团有限公司 A kind of switching APN method and device
CN109995811A (en) * 2017-12-29 2019-07-09 中国移动通信集团广东有限公司 A kind of method for switching network and system of IOS system
CN109890066A (en) * 2019-03-28 2019-06-14 努比亚技术有限公司 APN parameter configuration method, device, mobile terminal and readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李斌等: "终端通信问题诊断方法研究及应用", 《移动通信》 *

Similar Documents

Publication Publication Date Title
US11507450B2 (en) Systems and methods to reprogram mobile devices via a cross-matrix controller to port connection
TWI435555B (en) Method of configuring bluetooth sim access profile of communication device
US8285855B2 (en) System, method and user interface for network status reporting
CN110311831B (en) Container cloud-based system resource monitoring method and related equipment
CN108174405B (en) Product testing method and device
WO2018059062A1 (en) Network repairing method and apparatus, and terminal
US20150026322A1 (en) Configuring a network device
WO2011076011A1 (en) Method, system for defining message in machine-to-machine platform, and machine-to-machine platform
CN111130962A (en) Automatic configuration method, equipment, system and storage medium for switch
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
US20170311224A1 (en) Method and apparatus for implementing network sharing
CN113285825A (en) Equipment access system and access method
CN112468315A (en) APN configuration method and equipment
WO2024113571A1 (en) Polarity inversion method and apparatus, and storage medium and electronic apparatus
US9294865B2 (en) Enhanced system and method for custom programming of large groups of phones without requiring additional equipment
CN111092765B (en) Intelligent driving method, system, electronic device and readable storage medium
US20150143012A1 (en) Method for configuring maximum transmission unit (mtu), terminal and usb data card
CN114285668A (en) Network gate testing method and device, storage medium and electronic equipment
CN107171824B (en) Wifi disconnection processing method of terminal, terminal and storage device
CN104579844B (en) Server test method and device
CN114827172B (en) Data migration method and device based on Internet of things and electronic equipment
CN112667973B (en) Method and device for activating management software of network equipment
CN112804144B (en) Information configuration method and network equipment
CN113835942A (en) Server fault diagnosis method and device
CN116055086A (en) Identity determination method, device, equipment, storage medium and platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination