CN109995811B - Network switching method and system of IOS (input/output system) - Google Patents

Network switching method and system of IOS (input/output system) Download PDF

Info

Publication number
CN109995811B
CN109995811B CN201711480279.8A CN201711480279A CN109995811B CN 109995811 B CN109995811 B CN 109995811B CN 201711480279 A CN201711480279 A CN 201711480279A CN 109995811 B CN109995811 B CN 109995811B
Authority
CN
China
Prior art keywords
target
network
parameter information
apn
current
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
CN201711480279.8A
Other languages
Chinese (zh)
Other versions
CN109995811A (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 Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong 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 Mobile Communications Group Co Ltd, China Mobile Group Guangdong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711480279.8A priority Critical patent/CN109995811B/en
Publication of CN109995811A publication Critical patent/CN109995811A/en
Application granted granted Critical
Publication of CN109995811B publication Critical patent/CN109995811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The invention provides a network switching method of an IOS system, which comprises the following steps: acquiring current APN parameter information of a current network of an IOS terminal and target APN parameter information of a target network needing to be switched; if the current APN parameter information is different from the target APN parameter information, initiating deactivation connection of a current network, deleting a description file corresponding to the current APN parameter information, and calling a SafariController to acquire the target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate layer local area network so as to enable the terminal to be switched to the target network from the current network. The network switching method of the IOS system provided by the invention has the advantages that the special WEB server for the IOS system is arranged, and the description file is directly loaded through the Safari Coroller, so that the terminal of the IOS system can directly and freely switch the access network under any condition when the terminal is connected to the mobile network.

Description

Network switching method and system of IOS (input/output system)
Technical Field
The present invention relates to the field of service support technologies, and in particular, to a network switching method and system for an IOS system.
Background
With the popularization of 4G networks, GPRS-based enterprise solutions have been developed, especially GPRS-based data transmission schemes, i.e., Access Point Name (APN) -based private lan. The so-called enterprise APN is different from the APN commonly used by the user, the common APN includes a cmnet or cmwap, the cmnet or cmwap can access the internet network to browse www webpage (or wap service), and the enterprise APN is a dedicated APN allocated by the operator for enterprise customers.
The construction process of the enterprise APN comprises the following steps: the GPRS network is accessed through a special line, the interconnection routers of the two parties are connected in a wide area by adopting private IP addresses, and tunnel connection is established between a GPRS network management support node (GGSN) and the interconnection router of the mobile company. A set of RADIUS server and DHCP server are built in the enterprise LAN. The GGSN provides the user calling number to the RADIUS server, and the static IP address in the enterprise is distributed by the DHCP server after the user passes the authentication by adopting the authentication mode of combining the calling number and the user account.
Therefore, the user may use the carrier-generic APN to access the internet and also needs to access the company-specific lan office from time to time, thus requiring simultaneous access to both the internet and the company-specific lan. The communication protocol in the 4G network theoretically supports concurrent access to a plurality of APNs, but because the hardware of the mobile terminal does not support dual IP and the operating system of the mobile terminal does not support simultaneous selection of a plurality of APNs, the concurrent data service of the APNs cannot be realized actually, and the simultaneous access to the internet and the enterprise local area network is realized by switching.
And IOS now occupies the half-wall Jiangshan of the intelligent mobile terminal operating system, and different from the simultaneous access to internet and a private local area network under an android operating system, APN parameters are solidified in a mobile phone using the IOS, a default cmnet APN configuration mode is adopted, the micro-cellular data APN is set to be empty, and an interface for setting APN is not provided for a user. After the IOS accesses the enterprise lan, the IOS user must switch between the cmnet or cmwap and the enterprise APN because the enterprise lan is not allowed to access the internet, and the IOS operating system cannot directly set or modify the APN on the Interface and also does not provide an Application Programming Interface (API) for modifying the APN configuration. The way the IOS system sets and modifies the APN is to download the mobileconfig description file through the Safari browser for installation. The Safari browser is a built-in component of the IOS system and has a function of installing configuration files, and any other third-party software does not directly install an interface of the description files.
At present, the existing method for implementing APN configuration of an IOS system includes:
safari downloads and installs the description file from a WEB site providing general services via the Internet, but the method cannot realize access to the enterprise local area network because the WEB site on the Internet only provides the description file of the general APN, and the APN description file of the enterprise local area network cannot be disclosed to the outside.
Or generating a description file by using Configuration Utility offline, constructing a local WEB server, and loading the description file by using Safari, but the process of establishing the local WEB server by the method is quite complex and can not be executed by a general user, and a Configuration file needs to be generated once for APN switching every time, which is very troublesome and is not feasible at all for users who need frequent switching.
Therefore, there is a need for a network switching method and system for an IOS system to realize fast switching access between the internet and the enterprise lan for the enterprise users of the IOS system.
Disclosure of Invention
The invention provides a method for overcoming the problem that the enterprise user of the IOS is difficult to switch between the internet and the enterprise local area network, and the invention provides a network switching method of an IOS system, which comprises the following steps:
acquiring current APN parameter information of a current network of an IOS terminal and target APN parameter information of a target network needing to be switched;
if the current APN parameter information is different from the target APN parameter information, initiating deactivation connection of a current network, deleting a description file corresponding to the current APN parameter information, and calling a SafariController to acquire the target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate layer local area network so as to enable the terminal to be switched to the target network from the current network.
The network switching method of the IOS system provided by the invention has the advantages that the special WEB server for the IOS system is arranged, and the description file is directly loaded through the Safari Coroller, so that the terminal of the IOS system can directly and freely switch the access network under any condition when the terminal is connected to the mobile network.
Drawings
Fig. 1 is a flowchart of a network switching method of an IOS system according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a link activation procedure for network handover of an IOS terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a process of switching, by accessing the internet, the IOS terminal to access the enterprise private lan according to the embodiment of the present invention;
fig. 4 is a signaling sequence diagram of switching, by accessing the internet, the IOS terminal to access the enterprise private lan according to the embodiment of the present invention;
fig. 5 is a structure diagram of a network switching system of an IOS system according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
In the prior art, in an IOS system, methods adopted for switching between an internet and an enterprise local area network all have significant defects of poor feasibility and complex process, and for the above problems, embodiments of the present invention provide a network switching method and system of an IOS system, so as to realize fast switching access between an internet and an enterprise local area network for enterprise users of an IOS, and realize the problem that a WEB server can be accessed and a description file can be loaded when a general APN and an enterprise APN are switched, and a local WEB server does not need to be established, and a description file does not need to be generated by using a tool manually each time, thereby solving the problem of high threshold of user IT knowledge and IOS knowledge, improving switching efficiency, and improving user experience and effect.
Fig. 1 is a flowchart of a network switching method of an IOS system according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
s1, acquiring the current APN parameter information of the current network of the IOS terminal and the target APN parameter information of the target network needing to be switched;
s2, if the current APN parameter information is different from the target APN parameter information, initiating a deactivation connection of a current network, deleting a description file corresponding to the current APN parameter information, and calling a SafariController to acquire the target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate layer local area network, so that the terminal is switched to the target network from the current network.
It can be understood that the implementation environment of the embodiment of the present invention is established under the precondition that the terminal needs to perform network handover, for example: when the IOS mobile terminal is switched to a scene of accessing the enterprise private local area network from accessing the internet network.
It should be noted that the solution provided in the embodiment of the present invention is not only applicable to access switching between the internet and the enterprise lan, but also applicable to access to any different networks corresponding to different APNs.
Specifically, before the obtaining of the current access point name APN parameter information of the current network of the IOS terminal and the target APN parameter information of the target network to be switched, the method further includes:
configuring a target access point in a preset intermediate layer local area network and setting the target access point as a default APN of a Serving GPRS Support Node (SGSN), an
And configuring a WEB server in the middle layer local area network, wherein the WEB server is used for storing the description file and providing WEB service.
The embodiment of the invention is characterized in that a target access point corresponding to an enterprise private local area network is configured before network switching is carried out, and the name is as follows: and FSX.gd, configuring the IP address of GGSN corresponding to the FSX.gd in DNS connected with SGSN, configuring the corresponding local area network IP address in GGSN, deploying DHCP server in the local area network and other prepositive operations.
Furthermore, a set of WEB server of the IOS is configured in the intermediate local area network, the WEB server can provide WEB service, and configure FSX folder on the WEB server, upload description file containing APN for the IOS as fsx.gd, and upload general description file set for the IOS in the WEB server, including cmnet (cmwap), fs4gx00001. gd, fs4gx00002. gd … … fs4gxxxx.gd, where fs4gx00001. gd, fsgx00002. gd … … fs4gxxxx.gd are APNs corresponding to enterprise-specific local area networks.
Specifically, the description file uploaded in the WEB server may be a text file in a standard xml format, and the description file is generated in advance according to the actual requirement of the APN of the user, where the APN parameters include: configuration name, APN, user name, password, proxy server address, proxy server port and the like, and the description file is stored on the WEB server.
Therefore, the user does not need to instruct the user to input and edit APN parameters at each switching, and only needs simple selection, so that the efficiency and flexibility of APN switching are obviously improved.
It should be noted that the WEB server provided in the embodiment of the present invention is further used for file update and version management of an APP, where the APP is software integration of the method provided in the embodiment of the present invention.
Further, for the configuration of the middle-layer local area network, in the embodiment of the present invention, the default APN parameter is set as the target access point, that is, the fsx.gd, in the SGSN, the user can access the fsx.gd to access the middle-layer local area network to download the description file in the process of switching the internet and the enterprise local area network.
Table 1 examples of multiple negotiation scenarios between SGSN and HLR
Figure BDA0001533621920000051
Figure BDA0001533621920000061
This is because the SGSN negotiates with the HLR to determine the final APN after receiving the APN submitted by the terminal, and table 1 shows various negotiation conditions between the SGSN and the HLR, for example, as shown in table 1, there are 4 possibilities in total in consideration of various conditions in a state where the user registers a multi-APN service:
and accessing the internet without APN. If the APN is not set or the APN is wrongly spelled, the SGSN compares the APN in the received message with the APN list signed in the HLR, if no result of the comparison is consistent, the SGSN selects a default APN, namely the mobile general IOS local area network FSX.gd;
or accessing the enterprise local area network under the condition of no APN, then the SGSN selects the default APN, namely the mobile general IOS local area network FSX.gd;
or the internet switches to the enterprise local area network. At the moment, the APN needs to be switched to the enterprise local area network FS4G00001.gd from the cmnet, a cmnet deactivation process is firstly initiated, the description file is deleted, the state of the terminal is reset to the APN-free state at the moment, and the SGSN selects the default APN, namely the mobile general IOS local area network FSX.gd at the moment;
or switching from the enterprise local area network to the internet. At this time, the APN needs to be switched from the enterprise local area network FS4G00001.gd to the cmnet, firstly, the process of deactivating the FS4G00001.gd is initiated, the description file is deleted, at this time, the terminal has reset the state to the APN-free state, and at this time, the SGSN selects the default APN, namely the mobile general IOS local area network FSX.gd.
In summary, in any state, the method provided in the embodiment of the present invention deactivates the IOS data connection first and resets to the APN-free state, and in this case, as long as the data connection request is initiated, the SGSN selects the default APN, that is, the mobile general IOS local area network fsx.gd.
On the basis of the above embodiment, the acquiring parameter information of the current access point name APN of the current network of the IOS terminal and the target APN parameter information of the target network that needs to be switched includes:
and acquiring the registration information of the terminal and providing an access interface of the WEB server for the terminal so as to acquire the parameter information of the target APN of the target network to be switched.
The method further comprises the following steps:
acquiring a description file or an APN parameter uploaded by a user at the terminal based on an access interface of the WEB server;
and converting the description file or the APN parameter into the target description file.
It can be understood that, in the process of acquiring the APN information, the APN information of the registered user is extracted, so that the user substantially has a multi-APN service requirement at this time, and when the user has the multi-APN service requirement, registration and registration of information such as a mobile terminal and a mobile phone number need to be performed offline.
Then, the embodiment of the present invention provides an APP function for the user terminal to install, after installation, the user may register in the APP, and the registered user may use the network switching method provided by the embodiment of the present invention.
For registered users, whether the description file needs to be uploaded or not can be selected through an access interface of the WEB server; if necessary, uploading the description file to a WEB server or only obtaining and uploading relevant configuration parameters in the current configuration file.
Correspondingly, the embodiment of the invention sets a general folder and a special folder in the WEB server, wherein the general folder stores a general description file set, which comprises cmnet (cmwap), fs4gx00001. gd, fs4gx00002. gd … … fs4gxxxxx. gd.
For a personalized user, he may want to use his own description file, so this functionality is provided in APP for the user to upload her native IOS description file into a dedicated folder of the WEB server; or the user only uploads the relevant parameters in the description file to the WEB server, and the WEB server generates a special description file for the user according to the received parameters.
If the current APN parameter information is different from the target APN parameter information, initiating a deactivation connection of a current network, deleting a description file corresponding to the current APN parameter information, and calling a SafariController to acquire a target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate layer local area network so as to enable the terminal to be switched to the target network from the current network, wherein the method comprises the following steps:
if the current APN parameter information is different from the target APN parameter information, initiating the deactivation connection of the current network, deleting the description file corresponding to the current APN parameter information, and initiating a GPRS login request to the SGSN;
accessing the target access point according to the terminal IP address returned by the SGSN so as to select the APN needing to be accessed from a WEB server configured in the middle layer local area network;
and calling a SafariCoroller to load a target description file corresponding to the terminal on the WEB server so as to switch the terminal from the current network to the target network.
Fig. 2 is a schematic diagram of a link activation process for network handover of an IOS terminal according to an embodiment of the present invention, and as shown in fig. 2, it can be understood that the handover process provided by the present invention mainly includes:
the terminal initiates deactivation data service connection, deletes APN description file of the local machine, and initiates GPRS login request;
the SGSN judges whether the user is an enterprise private network user and registers multi-APN service according to the mobile phone number in the request message, and the SGSN judges whether the user is an IOS according to the IMEI in the request message;
if the mobile phone number in the message is an enterprise private network user and multiple APN services are registered, the SGSN judges that the mobile phone number is an IOS system according to the IMEI in the request message, and the SGSN designates a target access point as the APN after negotiation and connects a GGSN and a DHCP server corresponding to the APN and returns the acquired terminal IP address;
the terminal acquires a corresponding IP address and accesses a target access point FSX.gd;
a user selects an APN to be accessed, namely target APN information provided by the embodiment of the invention, which is shown as fs4g0001.gd in fig. 2;
the terminal calls a Safari Coroller to open a WEB server page, and a description file corresponding to the IOS terminal on the server is loaded to modify the APN parameter of the local machine;
and the terminal deactivates the data service connection, thereby completing the configuration of the target APN parameter.
According to the configuration of the target APN parameter, the network switching can be realized, for example, the network switching is from the internet to the enterprise local area network or from the enterprise local area network to the internet.
It can be understood that the operation interface provided by the embodiment of the present invention is substantially based on an APP application, and a user provides APN information required in a network handover process and personal device information of the user by operating on the APP.
The calling SafariCoroller loads an object description file corresponding to the terminal on the WEB server, and the method comprises the following steps:
acquiring equipment information of the terminal, and determining a storage address of a corresponding target description file on the WEB server according to the equipment information;
and calling a Safari Coroller to load a Safari browser function, and opening the storage address serving as a URL index in the Safari browser to load the object description file.
In fact, the embodiment of the present invention uses XCode to call the Safari controller to load the Safari browser function, and then accesses the address of the target description file storage according to the URL index.
It can be understood that the embodiment of the present invention essentially provides a file indication function and a URL delivery function, and the file indication function obtains information of IMEI code, IOS version number, etc. of the machine. Further, the WEB server comprehensively judges the description path of the description file in the WEB server according to the mobile phone number, the IMEI code and the IOS version number in the message.
The URL address provided by the URL transmission function is a WEB service address for providing a download description file in a WEB server, and the URL address can have a domain name or can be directly accessed according to an IP address.
For example, the file name of the description file is ip10-0-2.mobileconfig, and the storage address of the description file on the WEB server is as follows:
http://192.168.107.26/IOS-config/FSX/ip10-0-2.mobileconfig,
then by storing the address it can be opened in the Safari browser as a URL index.
It should be noted that the URL is generally fixed, but may be adjusted when a configuration change is actually needed. Before adjustment or change, new and old WEB services are started at the same time in the background of the WEB server, APP forced update is carried out when the IOS is connected to the old WEB services for the previous time, and new URL parameters are started after update is successful. The old service does not stop providing service until all IOSs needing to provide service are updated, and the old service stops providing service until all IOSs are updated successfully.
Fig. 3 is a schematic diagram of a process of switching to access an enterprise private lan by accessing the internet by an IOS terminal according to the embodiment of the present invention, and fig. 4 is a signaling sequence diagram of switching to access an enterprise private lan by accessing the internet by an IOS terminal according to the embodiment of the present invention, as shown in fig. 3 and fig. 4, in the embodiment of the present invention, it is assumed that an enterprise private lan access point is correspondingly selected as fs4g0001.gd, and an internet network access point is selected as a cmnet.
Then the terminal will access the internet first, and the specific flow is as follows:
the user IOS terminal sends out a GPRS login request through BTC, wherein the request comprises a user mobile phone number, a terminal imei code, a selected APN (cmnet, namely the current APN), a user account, a password and the like;
SGSN confirms to HLR according to APN (cmnet) in the request and selects APN parameters;
SGSN sends query request to DNS server, finds out GGSN IP address corresponding to selected APN parameter (cmnet), and sends user request to GGSN;
GGSN requests to distribute user terminal IP address to DHCP server;
GGSN sends confirmation information carrying user IP address;
the terminal can carry the data packet to access the internet corresponding to the GPRS after obtaining the IP address.
Then, in S1 and S2 provided in the embodiment of the present invention, it is known that the terminal needs to be switched from the internet network to the enterprise private lan by obtaining parameter information of a current access point name APN of a current network of the IOS terminal and parameter information of a target APN of a target network that needs to be switched, and in a process of performing the switching, as described in S2, the method mainly includes:
the terminal initiates deactivation data service connection, deletes APN description file of the local machine, and initiates GPRS login request;
the SGSN judges whether the user is an enterprise private network user and registers multi-APN service according to the mobile phone number in the request message, and the SGSN judges whether the user is an IOS according to the IMEI in the request message;
after negotiation, the SGSN appoints a target access point as APN, connects a GGSN and a DHCP server corresponding to the APN, and returns the obtained terminal IP address;
the terminal acquires a corresponding IP address and accesses a target access point FSX.gd;
a user selects APN needing to be accessed;
the terminal calls a Safari Coroller to open a WEB server page, and a description file corresponding to the IOS terminal on the server is loaded to modify the APN parameter of the local machine;
and the terminal deactivates the data service connection, thereby completing the configuration of the target APN parameter.
After the configuration of the target APN parameters is finished, connecting to an enterprise private local area network according to the selected target APN parameters:
the user terminal sends out a GPRS login request through the BTC, wherein the request comprises a user mobile phone number, a terminal imei code, an APN (access point name) of a target, a user account and a password;
SGSN determines the final APN according to the APN in the request and through HLR;
SGSN sends out a query request to a DNS server according to the determined APN, finds out a GGSN connected with the enterprise server platform and packages a user request to the GGSN through a GTP tunnel;
GGSN sends the user authentication information including mobile phone number, user account, password, etc. to Radius for authentication;
the Radius authentication server sees authentication information such as a mobile phone number and the like, determines whether the request is sent by a legal user, and after the Radius authentication is passed, the GGSN requests a DHCP server to allocate a user terminal IP address;
GGSN returns the confirmation information carrying the IP address of the user terminal;
the user terminal can carry the data packet to access the GPRS private network system information query and service processing platform after obtaining the enterprise private network IP address.
As can be seen from the above complete handover process, according to the network handover method and system of the iOS system provided in the embodiments of the present invention, by setting the WEB service module dedicated for the mobile iOS, the iOS can directly and freely perform handover of access to a network under any condition that the iOS terminal is connected to the mobile network, and there is no technical threshold, and there is no need for a user to edit APN parameters, and there is no need for the user to use Configuration utility to generate a local description file, and there is no need for manual preparation, and there is no need for the user to set up a local WEB server with high complexity on the local machine, and there is no need for setting up a complicated and inefficient URL address handover module.
Fig. 5 is a structure diagram of a network switching system of an IOS system according to an embodiment of the present invention, and as shown in fig. 5, the system includes: an acquisition module 1 and a switching module 2, wherein:
the acquisition module 1 is used for acquiring the current APN parameter information of the current network of the IOS terminal and the target APN parameter information of the target network needing to be switched;
and the switching module 2 is configured to initiate a deactivation connection of the current network, delete a description file corresponding to the current APN parameter information, and call a safari controller to obtain a target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate layer local area network, so that the terminal is switched from the current network to the target network.
For details, reference may be made to the above embodiments for how to switch the network of the IOS system by using the obtaining module 1 and the switching module 2, and details of the embodiments of the present invention are not described herein again.
An embodiment of the present invention provides a network switching system of an IOS system, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor calls the program instructions to perform the methods provided by the method embodiments, for example, including: acquiring current APN parameter information of a current network of an IOS terminal and target APN parameter information of a target network needing to be switched; if the current APN parameter information is different from the target APN parameter information, initiating deactivation connection of a current network, deleting a description file corresponding to the current APN parameter information, and calling a SafariController to acquire the target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate layer local area network so as to enable the terminal to be switched to the target network from the current network.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: acquiring current APN parameter information of a current network of an IOS terminal and target APN parameter information of a target network needing to be switched; if the current APN parameter information is different from the target APN parameter information, initiating deactivation connection of a current network, deleting a description file corresponding to the current APN parameter information, and calling a SafariController to acquire the target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate layer local area network so as to enable the terminal to be switched to the target network from the current network.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: acquiring current APN parameter information of a current network of an IOS terminal and target APN parameter information of a target network needing to be switched; if the current APN parameter information is different from the target APN parameter information, initiating deactivation connection of a current network, deleting a description file corresponding to the current APN parameter information, and calling a SafariController to acquire the target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate layer local area network so as to enable the terminal to be switched to the target network from the current network.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, the method of the present application is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A network switching method of an IOS system is characterized by comprising the following steps:
acquiring current APN parameter information of a current network of an IOS terminal and target APN parameter information of a target network needing to be switched;
if the current APN parameter information is different from the target APN parameter information, initiating deactivation connection of a current network, deleting a description file corresponding to the current APN parameter information, and calling a SafariController to acquire a target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate layer local area network so as to enable the terminal to be switched to the target network from the current network; the WEB server is configured in the middle-layer local area network in advance;
the target network is an enterprise local area network, the target APN is a target APN corresponding to the enterprise local area network, and the target APN parameter is an APN parameter corresponding to the enterprise local area network.
2. The method of claim 1, wherein before the obtaining of the current access point name APN parameter information of the current network of the IOS terminal and the target APN parameter information of the target network requiring handover, the method further comprises:
configuring a target access point in a preset intermediate layer local area network and setting the target access point as a default APN of a Serving GPRS Support Node (SGSN), an
And configuring a WEB server in the middle layer local area network, wherein the WEB server is used for storing the description file and providing WEB service.
3. The method of claim 1, wherein the obtaining of the current access point name APN parameter information of the current network of the IOS terminal and the target APN parameter information of the target network to be switched comprises:
and acquiring the registration information of the terminal and providing an access interface of the WEB server for the terminal so as to acquire the parameter information of the target APN of the target network to be switched.
4. The method of claim 3, further comprising:
acquiring a description file or an APN parameter uploaded by a user at the terminal based on an access interface of the WEB server;
and converting the description file or the APN parameter into the target description file.
5. The method of claim 2, wherein if the current APN parameter information is different from the target APN parameter information, initiating a deactivation connection of a current network, deleting a description file corresponding to the current APN parameter information, and calling a safari controller to obtain a target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate local area network, so that the terminal is switched from the current network to the target network, the method comprising:
if the current APN parameter information is different from the target APN parameter information, initiating the deactivation connection of the current network, deleting the description file corresponding to the current APN parameter information, and initiating a GPRS login request to the SGSN;
accessing the target access point according to the terminal IP address returned by the SGSN so as to select the APN needing to be accessed from a WEB server configured in the middle layer local area network;
and calling a SafariCoroller to load a target description file corresponding to the terminal on the WEB server so as to switch the terminal from the current network to the target network.
6. The method according to claim 5, wherein the invoking SafariCoroller loads an object description file corresponding to the terminal on the WEB server, and comprises:
acquiring equipment information of the terminal, and determining a storage address of a corresponding target description file on the WEB server according to the equipment information;
and calling a Safari Coroller to load a Safari browser function, and opening the storage address serving as a URL index in the Safari browser to load the object description file.
7. A network switching system of an IOS system, comprising:
the acquisition module is used for acquiring the current APN parameter information of the current network of the IOS terminal and the target APN parameter information of the target network needing to be switched;
a switching module, configured to initiate a deactivation connection of a current network, delete a description file corresponding to the current APN parameter information, and obtain a target description file corresponding to the target APN parameter information from a WEB server configured in a preset intermediate local area network, if the current APN parameter information is different from the target APN parameter information, so that the terminal is switched from the current network to the target network; the WEB server is configured in the middle-layer local area network in advance;
the target network is an enterprise local area network, the target APN is a target APN corresponding to the enterprise local area network, and the target APN parameter is an APN parameter corresponding to the enterprise local area network.
8. A computer device, comprising a memory and a processor, wherein the processor and the memory communicate with each other via a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 6.
CN201711480279.8A 2017-12-29 2017-12-29 Network switching method and system of IOS (input/output system) Active CN109995811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711480279.8A CN109995811B (en) 2017-12-29 2017-12-29 Network switching method and system of IOS (input/output system)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711480279.8A CN109995811B (en) 2017-12-29 2017-12-29 Network switching method and system of IOS (input/output system)

Publications (2)

Publication Number Publication Date
CN109995811A CN109995811A (en) 2019-07-09
CN109995811B true CN109995811B (en) 2021-12-28

Family

ID=67109821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711480279.8A Active CN109995811B (en) 2017-12-29 2017-12-29 Network switching method and system of IOS (input/output system)

Country Status (1)

Country Link
CN (1) CN109995811B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858167B (en) * 2020-07-09 2023-12-19 恒安嘉新(北京)科技股份公司 Method and device for safety control of IOS equipment and IOS equipment
CN112468315A (en) * 2020-11-03 2021-03-09 上海中觅通信技术有限公司 APN configuration method and equipment
CN116056176B (en) * 2022-08-08 2023-09-05 荣耀终端有限公司 APN switching method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148876A (en) * 2011-05-10 2011-08-10 中国联合网络通信集团有限公司 Access point switching method and device on iOS
KR20130003361A (en) * 2011-06-30 2013-01-09 에스케이텔레콤 주식회사 Apn changing apparatus and method, wireless terminal for apn change and record medium
KR20130132208A (en) * 2012-05-26 2013-12-04 삼성전자주식회사 Method and apparatus for providing packet service using access point name
CN103974384A (en) * 2013-02-05 2014-08-06 中国移动通信集团广东有限公司 Method, device and system for controlling multi-access-point concurrent access, and mobile terminal
CN104703183A (en) * 2015-03-05 2015-06-10 北京成众志科技有限公司 Special line APN (Access Point Name) security-enhanced access method and device
CN106973380A (en) * 2017-04-01 2017-07-21 中国联合网络通信集团有限公司 A kind of switching APN method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2545869A (en) * 2014-09-22 2017-06-28 Globetouch Inc Trading exchange for local data services

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148876A (en) * 2011-05-10 2011-08-10 中国联合网络通信集团有限公司 Access point switching method and device on iOS
KR20130003361A (en) * 2011-06-30 2013-01-09 에스케이텔레콤 주식회사 Apn changing apparatus and method, wireless terminal for apn change and record medium
KR20130132208A (en) * 2012-05-26 2013-12-04 삼성전자주식회사 Method and apparatus for providing packet service using access point name
CN103974384A (en) * 2013-02-05 2014-08-06 中国移动通信集团广东有限公司 Method, device and system for controlling multi-access-point concurrent access, and mobile terminal
CN104703183A (en) * 2015-03-05 2015-06-10 北京成众志科技有限公司 Special line APN (Access Point Name) security-enhanced access method and device
CN106973380A (en) * 2017-04-01 2017-07-21 中国联合网络通信集团有限公司 A kind of switching APN method and device

Also Published As

Publication number Publication date
CN109995811A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
US10791459B1 (en) Test method for verification of an RSP process and active test system providing such a test method
JP4875607B2 (en) Method, apparatus and communication network for managing e-mail service
JP5074424B2 (en) Dependency notification
EP1226720B1 (en) Architecture for service script execution and management
CN109995811B (en) Network switching method and system of IOS (input/output system)
CN111200859A (en) Network slice selection method, network equipment and terminal
EP2890180A1 (en) Method for managing a network access user policy for offloading data traffic, using access network discovery and selection function
US8964957B2 (en) Telephone, control method therefor, provisioning server, and control method therefor
JP2018506761A (en) Implicit file generation in APDU script
US11109201B2 (en) Device and method for provisioning services to mobile communication device
US11758385B2 (en) System and method for interoperability in remote provisioning architectures for embedded universal integrated circuit cards
US9049649B2 (en) Configuring consumption of service for electronic devices
CN108093387B (en) Enterprise-level Bluetooth network system, central controller, Bluetooth gateway and deployment method
JP5933838B2 (en) Method and application for registering at least one public address in an IMS network
CN103379479B (en) A kind of determine ID and the method for notifying parameters information, system and equipment
CN109510906B (en) Method, device, system and storage medium for realizing internet access service
JP7413516B2 (en) Test methods for validation of RSP processes and active test systems providing such test methods
US11570612B2 (en) Flexible electronic subscriber identity module deployment
JP2019523576A (en) Method of provisioning authentication information of terminal application provided by application server to applet, and corresponding OTA platform
CN110063064B (en) Method for providing enhanced communication capabilities to user equipment
RU2791001C1 (en) Testing method for checking the process of remote initialization of embedded sim cards and an active testing system that provides such a testing method
EP3729724B1 (en) Method for performing continuous deployment and feedback from a radio network node
WO2016184653A1 (en) Wireless access gateway
KR102034157B1 (en) Communication system and operating method for providing private network service as a service
CN115955667A (en) Code number changing method and device based on eUICC and readable storage medium

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
GR01 Patent grant
GR01 Patent grant