CN107548057B - APN (Access Point name) creating method and device of mobile terminal and mobile terminal - Google Patents

APN (Access Point name) creating method and device of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN107548057B
CN107548057B CN201710962122.2A CN201710962122A CN107548057B CN 107548057 B CN107548057 B CN 107548057B CN 201710962122 A CN201710962122 A CN 201710962122A CN 107548057 B CN107548057 B CN 107548057B
Authority
CN
China
Prior art keywords
sim card
apn
mobile terminal
card
loading
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
CN201710962122.2A
Other languages
Chinese (zh)
Other versions
CN107548057A (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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201710962122.2A priority Critical patent/CN107548057B/en
Publication of CN107548057A publication Critical patent/CN107548057A/en
Application granted granted Critical
Publication of CN107548057B publication Critical patent/CN107548057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides an APN (access point name) creating method and device of a mobile terminal and the mobile terminal, and relates to the technical field of mobile communication, wherein the method comprises the following steps: when a framework working layer of the mobile terminal receives an SIM card ready message, starting an SIM card loading process; when the framework working layer receives the card record loaded notification event triggered by the loading process, registering the card record loading completion notification event for the loading process; and when the framework working layer receives the card record loading completion notification event triggered by the loading process, triggering the APN creation process so that the APN creation process uses the loaded SIM card information to create the APN. The invention can better ensure that the APN creation process is triggered when the card information of the SIM card is completely loaded, and the network access reliability of the mobile terminal is improved.

Description

APN (Access Point name) creating method and device of mobile terminal and mobile terminal
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to an APN creation method and apparatus for a mobile terminal, and a mobile terminal.
Background
A Subscriber Identity Module (SIM) card is an indispensable configuration for a mobile terminal (e.g., a mobile phone) to access a network. When a user directly hot-plugs an SIM card, restarts the mobile phone by plugging the SIM card, or performs international roaming, the Framework (Framework working layer) of the mobile phone will update the SIM card information, which specifically is: and executing the SIM card loading process and reloading the SIM card information. In the SIM card loading process, the Mobile phone may obtain a plurality of SIM card information, such as IMSI (International Mobile Subscriber identity Number), MCC (Mobile Country Code, Country Code to which the Mobile Subscriber belongs), MNC (Mobile Network Code, Mobile Network Number), and the like of the SIM card. Then, the mobile phone can start an Access Point Name (APN) creation process according to the obtained SIM card information to obtain a preferred APN corresponding to the SIM card, so as to perform subsequent processes such as network attachment, data dialing, data link establishment, IP address acquisition and the like, thereby realizing network Access, and a user can use the mobile phone to surf the internet.
However, in the research process, the inventor finds that, in the process of executing the SIM card loading process, when all the SIM card information may not be LOADED yet, the Framework receives an EVENT _ RECORDS _ LOADED EVENT (i.e., a card record LOADED notification EVENT), thereby triggering the APN creation process. And the information of the SIM card is not complete, which may cause the APN creation flow to be abnormal.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method and an apparatus for creating an APN of a mobile terminal, and a mobile terminal, which can better ensure that an APN creation procedure is triggered when card information of an SIM card is completely loaded, and improve network access reliability of the mobile terminal.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
the first technical scheme adopted by the invention is as follows: an APN creation method of a mobile terminal includes: when a framework working layer of the mobile terminal receives an SIM card ready message, starting an SIM card loading process; when the framework working layer receives the card record loaded notification event triggered by the loading process, registering the card record loading completion notification event for the loading process; and when the framework working layer receives the card record loading completion notification event triggered by the loading process, triggering the APN creation process so that the APN creation process uses the loaded SIM card information to create the APN.
Further, before the step of recording the load completion notification event for the load flow registration card, the method further includes: judging whether a recording object of the SIM card exists or not; and if so, triggering a step of recording a loading completion notification event for the loading process registration card.
Further, the method further comprises: after triggering the APN creating process, judging whether a recording object of the SIM card exists or not; if yes, deleting the card record loading completion notification event, and emptying the record object of the SIM card.
Further, the method further comprises: when the modem of the mobile terminal identifies that the current SIM card has an updating event, sending an SIM card ready message to a framework working layer of the mobile terminal; wherein, the update event of the SIM card comprises at least one of the following events: updating events triggered by the SIM card reinsertion, updating events triggered by the SIM card information updating, and updating events generated when the mobile terminal roams.
The second technical scheme adopted by the invention is as follows: an APN creation apparatus of a mobile terminal, comprising: the loading process starting module is used for starting the SIM card loading process when the framework working layer of the mobile terminal receives the SIM card ready message; the registration module is used for registering the card record loading completion notification event for the loading process when the framework working layer receives the card record loading completion notification event triggered by the loading process; and the APN creating module is used for triggering the APN creating process when the framework working layer receives a card record loading completion notification event triggered by the loading process, so that the APN creating process uses the loaded SIM card information to create the APN.
Further, the above apparatus further comprises: the first judgment module is used for judging whether a recording object of the SIM card exists or not; and the triggering module is used for triggering the registration module to operate when the judgment result of the first judgment module is that the record object exists.
Further, the above apparatus further comprises: the second judgment module is used for judging whether a recording object of the SIM card exists after triggering the APN creating process; and the emptying module is used for deleting the card record loading completion notification event and emptying the record object of the SIM card when the judgment result of the second judgment module is that the record object exists.
Further, the device also comprises a message sending module, which is used for sending a SIM card ready message to the framework working layer of the mobile terminal when the modem of the mobile terminal identifies that the current SIM card has an update event; wherein, the update event of the SIM card comprises at least one of the following events: updating events triggered by the SIM card reinsertion, updating events triggered by the SIM card information updating, and updating events generated when the mobile terminal roams.
The third technical scheme adopted by the invention is as follows: a mobile terminal comprising a memory for storing a program enabling the processor to perform any of the methods provided by the first aspect and a processor configured to execute the program stored in the memory.
The fourth technical scheme adopted by the invention is as follows: a computer storage medium storing computer software instructions for use with any of the apparatus provided in the second aspect.
The embodiment of the invention provides an APN (access point name) creating method and device of a mobile terminal and the mobile terminal, wherein a frame working layer starts an SIM (subscriber identity module) card loading process, and when a card record loaded notification event is received, the APN creating process is not directly triggered, but a card record loaded completion notification event is registered for the loading process, and the card record loaded completion notification event is sent to the frame working layer by the loading process when SIM information is loaded, so that the frame working layer triggers an APN creating process when the card record loaded completion notification event is received, and SIM card information used by the APN creating process is complete information of an SIM card, so that the APN creating process is normally carried out, the network access reliability of the mobile terminal is improved, and the experience degree of a user using the mobile terminal is improved.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 shows a flowchart of an APN creation method for a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an APN creation method for another mobile terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a network access flow based on updating SIM card information according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a card information notification flow provided by an embodiment of the present invention;
fig. 5 is a schematic structural diagram illustrating an APN creation apparatus of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram illustrating an APN creation apparatus of another mobile terminal according to an embodiment of the present invention;
fig. 7 shows a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When the mobile phone executes the SIM card loading process, it may happen that the information of the SIM card is not completely loaded, and the APN creation process is triggered, which results in APN creation failure and mobile phone networking failure. Based on this, the embodiments of the present invention provide a method and an apparatus for creating an APN of a mobile terminal, and a mobile terminal, where the mobile terminal mentioned in the embodiments of the present invention may be a mobile device configured with an SIM card, such as a mobile phone, a tablet computer, and a wearable terminal, and the embodiments of the present invention are described in detail below.
The first embodiment is as follows:
referring to a flowchart of an APN creation method of a mobile terminal shown in fig. 1, the method is described by taking a framework working layer description of the mobile terminal as an example, and includes the following steps:
step S102, when the framework working layer of the mobile terminal receives the SIM card ready message, the SIM card loading process is started.
The SIM card of this embodiment may be a telecommunication card, a mobile card, a connectivity card, or the like, and the embodiment of the present invention is not limited thereto.
The SIM card READY message may be sent to the framework operating layer by a modem of the mobile terminal, that is, when the modem (modem) of the mobile terminal recognizes that the current SIM card has an update EVENT, the SIM card READY message (EVENT _ SIM _ READY message) is sent to the framework operating layer of the mobile terminal.
The update event of the SIM card may include at least one of: updating events triggered by the SIM card reinsertion, updating events triggered by the SIM card information updating, and updating events generated when the mobile terminal roams.
The reinserting of the SIM card includes both plugging and unplugging the SIM card in the power-off state and also includes plugging and unplugging the SIM card in the power-on state (hot plug), and for the plugging and unplugging of the SIM card in the power-off state, the updating event triggered by the reinserting of the SIM card may include that, after the power-on, the SIM is determined to have a plugging and unplugging event in the power-off state by detecting the updating event, for example: some identification of an update event is detected.
The update event triggered by the SIM card information update usually includes an update event issued by an operator, for example, a user subscribes to a new service (for example, opens a 4G service), the operator issues the update event to the mobile terminal, and it can be determined that the SIM card information update exists according to the update event.
The update event generated when the mobile terminal roams generally includes network handover (lease) during roaming, and in this scenario, the update event may also be generated, and based on the update event, it may be determined that the mobile terminal belongs to a state or information update in the roaming scenario, and the SIM card information also needs to be reloaded.
And after receiving the EVENT _ SIM _ READY message, the framework working layer starts an SIM card loading process.
Step S104, when the framework working layer receives the card record loaded notification event triggered by the loading process, registering the card record loading completion notification event for the loading process.
In this embodiment, when the framework working layer receives a card record LOADED notification EVENT (e.g., EVENT _ RECORDS _ LOADED), the framework working layer does not directly trigger the APN creation process, but registers a card record LOADED completion notification EVENT (e.g., EVENT _ SIM _ RECORDS _ LOADED) for the loading process, so that when the loading process completes the loading of SIM information, the EVENT _ SIM _ RECORDS _ LOADED is fed back to the framework working layer to notify the framework working layer that the loading of SIM information is complete.
Step S106, when the framework working layer receives the card record loading completion notification event triggered by the loading process, triggering the APN creation process, so that the APN creation process uses the loaded SIM card information to create the APN.
When EVENT _ SIM _ RECORDS _ LOADED triggered by the loading process is received, the framework working layer can confirm that the loading process finishes loading the SIM information, so that the APN creation process can be triggered, and the integrity of the SIM card information used by the APN creation process is ensured.
In the method of this embodiment, when the framework working layer starts the SIM card loading process and receives a card record loaded notification event, the framework working layer does not directly trigger the APN creation process, but registers a card record loaded notification event for the loading process, and the card records the loaded notification event and sends the loading process to the framework working layer when all SIM information is loaded, so that when the framework working layer receives the card record loaded notification event, the framework working layer triggers the APN creation process again, thereby ensuring that the SIM card information used by the APN creation process is complete information of the SIM card, avoiding APN creation abnormality caused by incomplete loading of the card information (such as IMSI, MCC, or MNC) of the SIM card, further improving the reliability of network access of the mobile terminal, and improving the experience of the user in using the mobile terminal.
Example two:
based on the method for creating an APN of a mobile terminal provided in the first embodiment, referring to a flowchart of another method for creating an APN of a mobile terminal shown in fig. 2, the method specifically includes the following steps:
step S202, when the framework working layer of the mobile terminal receives the SIM card ready message, the SIM card loading process is started.
Step S204, when the framework working layer receives the card record loaded notification event triggered by the loading process, judging whether the record object of the SIM card exists; if yes, go to step S206, if no, end the flow.
Considering that a user may suddenly unplug a card in a mobile phone execution loading process, in order to improve the reliability of APN creation, when receiving EVENT _ RECORDS _ LOADED, the framework working layer may determine whether a SIM card exists by determining whether a recording object (mSimRecords) of the SIM card exists, and when determining that mSimRecords exist, perform subsequent processes. The recording object of the SIM card may include various information about the SIM card, such as an identity of the SIM card, operator information, short message information, and the like.
In step S206, a loading completion notification EVENT, i.e., EVENT _ SIM _ RECORDS _ LOADED in this embodiment, is recorded for the loading flow registration card.
Step S208, when the framework working layer receives the card record loading completion notification event triggered by the loading process, triggering the APN creation process, so that the APN creation process uses the loaded SIM card information to create the APN.
In order to avoid that the information in the loading process always occupies the storage space of the mobile terminal, the present embodiment further optimizes the method, and adds the following steps S210 and S212.
Step S210, judging whether a recording object of the SIM card exists; if yes, go to step S212, if no, end the flow.
When the SIM card is always installed on the mobile terminal, the recorded object of the SIM card can exist, and when the SIM card is pulled out, the recorded object of the SIM card can not exist.
Step S212, deleting the card record loading completion notification event, and emptying the record object of the SIM card.
The delete card record load completion notification event is the reverse operation of the register card record load completion notification event in the loading process in step S206, and may also be referred to as a unregistered card record load completion notification event.
In the method of this embodiment, the presence or absence of the record object of the SIM card is determined twice, and when the presence of the record object of the SIM card is determined for the first time, a notification event for completing loading of the record of the registration card for the loading process is recorded, and the notification event is sent to the framework working layer by the loading process when all SIM information is loaded, so that the framework working layer triggers the APN creation process when receiving the notification event, thereby ensuring the reliability of APN creation process execution. When the recording object of the SIM card is judged to exist for the second time, the card record uploading notification event and the recording object of the SIM card can be deleted, the storage space utilization rate of the mobile terminal is optimized, and the system operation performance of the mobile terminal is improved.
Example three:
the present embodiment provides a specific application scenario of the foregoing embodiment, referring to fig. 3, which is a schematic diagram of an internet access flow based on updating SIM card information, where a framework work layer is represented by a frame. The specific process is as follows:
scheme 1: and the SIM card is plugged in and pulled out blindly or is started up or is updated. That is, when it is detected that the SIM card is plugged in or unplugged from the device, or the card is updated, a first signal (msg1) is sent to the next process to enter the next SIM card loading process. Specifically, when the user re-starts the mobile phone by inserting a card, unplugs the SIM card, updates the card information, or updates the international roaming of the mobile phone, the modem (modem) identifies the SIM card, reports an EVENT _ SIM _ READY message to the frame, and the frame receives the EVENT _ SIM _ READY message, enters flow 2, and starts the SIM card loading flow.
And (2) a flow scheme: the SIM card load flow then issues a second signal (msg2) to the next flow to enter the next card information notification flow. Specifically, when the frame receives the EVENT _ RECORDS _ LOADED message, the flow proceeds to flow 3.
And (3) a flow path: the card information informs the flow and then sends a third signal (msg3) to the next flow to enter the next APN creation flow, flow 4.
And (4) a flow chart: the APN creates a flow and then sends a fourth signal (msg4) to the next flow to enter the next data dialing flow. The process may acquire a preferred APN, dial the preferred APN, and enter process 5.
And (5) a flow chart: the data dial-up flow then sends a fourth signal (msg5) to the next flow to enter the next user's web flow. When the data dialing process is finished, the IP address can be obtained, and a data link is established.
And (6) a flow path: and (5) the user surfs the internet.
The method simply describes each process which the mobile terminal experiences when monitoring that the user adopts operations such as blind plugging or unplugging of an SIM card or card updating and the like until the user surfs the internet, and the method adds a card information notification process between the processes to ensure that the APN creation process can be normally executed, thereby improving the reliability of the mobile terminal accessing the internet and improving the experience degree of the user using the mobile terminal.
Based on the above internet access flow for updating the SIM card information provided in fig. 3, the card information notification flow in the flow 3 is further refined in this embodiment, see a schematic diagram of the card information notification flow shown in fig. 4, where the flow specifically includes:
(1) judging whether mSimRecords exists or not, and if so, entering (2); if not, the card information notification module is exited.
(2) The mSimRecords registration informs the EVENT _ SIM _ RECORDS _ LOADED.
(3) onRecordsLoaded flow; this procedure also creates APNs.
(4) Judging whether mSimRecords exists or not, and if so, entering (3); if not, the card information notification module is exited.
(5) The mSimRecords deregisters informs the EVENT _ SIM _ RECORDS _ LOADED.
(6) Emptying the mSimRecords, including emptying the mSimRecords object itself and the information loaded in the object.
In the card information notification flow shown in fig. 4, when the mSimRecords are confirmed to exist (that is, the SIM card exists), the mSimRecords need to be registered once to notify the EVENT _ SIM _ record _ LOADED, so that after the SIM card information is completely LOADED, the frame can receive the EVENT _ SIM _ record _ LOADED, determine that complete SIM card information such as MCC, MNC and the like required in the APN creation flow is obtained, and trigger the APN creation flow, thereby ensuring normal creation of the APN and normal creation of data, and improving reliability of network access of the mobile phone. Of course, the way of de-registering the notification EVENT _ SIM _ RECORDS _ LOADED and emptying the mSimRecords can better save the storage space of the mobile terminal and optimize the utilization rate of the storage space.
Example four:
as to an APN creation method for a mobile terminal provided in the first embodiment, an APN creation device for a mobile terminal is provided in the first embodiment of the present invention, referring to a schematic structural diagram of an APN creation device for a mobile terminal shown in fig. 5, the device includes the following modules:
a loading process starting module 502, configured to start a SIM card loading process when a frame working layer of the mobile terminal receives a SIM card ready message;
a registration module 504, configured to register a card record loading completion notification event for the loading process when the framework working layer receives the card record loaded notification event triggered by the loading process;
an APN creation module 506, configured to trigger an APN creation procedure when the framework working layer receives a card record loading completion notification event triggered by the loading procedure, so that the APN creation procedure uses the loaded SIM card information to create an APN.
In the above apparatus provided in this embodiment, when the framework working layer starts the SIM card loading process and receives a card record loaded notification event, the framework working layer does not directly trigger the APN creation process, but registers a card record loaded notification event for the loading process, and the card record loaded notification event is sent to the framework working layer by the loading process when all SIM information is loaded, so that when the framework working layer receives the card record loaded notification event, the framework working layer triggers the APN creation process again, thereby ensuring that the SIM card information used by the APN creation process is complete information of the SIM card, avoiding APN creation abnormality caused by incomplete loading of the card information (such as IMSI, MCC, or MNC) of the SIM card, further improving reliability of network access of the mobile terminal, and improving experience of a user using the mobile terminal.
Referring to fig. 6, a schematic structural diagram of another apparatus for creating an APN of a mobile terminal, on the basis of fig. 5, the apparatus further includes the following modules:
a first determining module 602, configured to determine whether a recording object of the SIM card exists;
the triggering module 604 is configured to trigger the registration module to operate when the determination result of the first determining module 602 is that the record object exists.
Further, the above apparatus further comprises:
a second determining module 606, configured to determine whether a recording object of the SIM card exists after triggering an APN creation procedure;
an emptying module 608, configured to delete the card record loading completion notification event and empty the recording object of the SIM card when the determination result of the second determining module 606 is that the recording object exists.
Further, the apparatus further includes a message sending module 610, configured to send a SIM card ready message to a framework operating layer of the mobile terminal when a modem of the mobile terminal recognizes that the current SIM card has an update event; wherein, the update event of the SIM card comprises at least one of the following events: updating events triggered by the SIM card reinsertion, updating events triggered by the SIM card information updating, and updating events generated when the mobile terminal roams.
The device provided by the embodiment has the same implementation principle and technical effect as the foregoing embodiment, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiment for the portion of the embodiment of the device that is not mentioned.
Example five:
corresponding to the methods and apparatuses provided by the foregoing embodiments, the present embodiment provides a mobile terminal including a memory for storing a program that supports the processor to execute the APN creation method of any one of the mobile terminals provided by the foregoing embodiments, and a processor configured to execute the program stored in the memory.
Specifically, refer to fig. 7, which is a schematic structural diagram of a mobile terminal applicable to the embodiment of the present invention. The mobile terminal 100 includes an APN creation device 101, a memory 102, a storage controller 104, one or more processors 106 (only one of which is shown), a peripheral interface 108, a radio frequency module 110, an audio module 112, a touch screen 114, and the like. These components communicate with each other via one or more communication buses/signal lines 116.
The memory 102 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for creating an APN of a mobile terminal in an embodiment of the present invention, and the processor 106 executes various functional applications and data processing by running the software programs and modules stored in the memory 102, such as the method for creating an APN of a mobile terminal provided in an embodiment of the present invention.
The memory 102 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. Access to the memory 102 by the processor 106, and possibly other components, may be under the control of the memory controller 104.
The peripheral interface 108 couples various input/output devices to the processor 106 as well as to the memory 102. In some embodiments, the peripheral interface 108, the processor 106, and the memory controller 104 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 110 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices.
Audio module 112 provides an audio interface to a user that may include one or more microphones, one or more speakers, and audio circuitry.
The touch screen 114 provides both an output and an input interface between the mobile terminal 100 and a user. In the present embodiment, the touch screen 114 supports single-point and multi-point touch operations, for example, the touch screen 114 may be a capacitive touch screen or a resistive touch screen supporting single-point and multi-point touch operations. Supporting single and multi-touch operations is that the touch screen 114 senses simultaneous touch operations from one or more locations on the touch screen and passes the sensed multi-touch operations to the processor 106 for processing.
It is to be understood that the structure shown in fig. 7 is merely exemplary, and that the mobile terminal 100 may include more or fewer components than shown in fig. 7, or have a different configuration than shown in fig. 7. The components shown in fig. 7 may be implemented in hardware, software, or a combination thereof.
Further, the present embodiment also provides a computer storage medium for storing computer software instructions for the APN creation apparatus of any mobile terminal provided in the foregoing embodiments.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system described above may refer to the corresponding process in the foregoing embodiments, and is not described herein again.
The APN creation method and device for a mobile terminal and the computer program product for a mobile terminal provided in the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of 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 other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. An APN creation method of a mobile terminal, comprising:
when a framework working layer of the mobile terminal receives an SIM card ready message, starting an SIM card loading process;
when the frame working layer receives the card record loaded notification event triggered by the loading process, registering a card record loading completion notification event for the loading process;
and when the frame working layer receives the card record loading completion notification event triggered by the loading process, triggering an APN (access point name) creation process so that the APN creation process uses the loaded SIM card information to create the APN.
2. The method of claim 1, wherein prior to the step of recording a load complete notification event for the load flow registration card, the method further comprises:
judging whether a recording object of the SIM card exists or not; the recording object of the SIM card comprises an identity of the SIM card;
and if so, triggering the step of recording the loading completion notification event for the loading process registration card.
3. The method of claim 1, further comprising:
after triggering an APN creating process, judging whether a recording object of the SIM card exists or not; the recording object of the SIM card comprises an identity of the SIM card;
if yes, deleting the card record loading completion notification event, and emptying the record object of the SIM card.
4. The method according to any one of claims 1-3, further comprising: when the modem of the mobile terminal identifies that the current SIM card has an updating event, sending an SIM card ready message to a framework working layer of the mobile terminal;
wherein the update event of the SIM card comprises at least one of the following: updating events triggered by the SIM card reinsertion, updating events triggered by the SIM card information updating, and updating events generated when the mobile terminal roams.
5. An APN creation apparatus of a mobile terminal, comprising:
a loading flow starting module, configured to start an SIM card loading flow when a frame working layer of the mobile terminal receives an SIM card ready message;
the registration module is used for registering a card record loading completion notification event for the loading process when the framework working layer receives the card record loaded notification event triggered by the loading process;
and the APN creating module is used for triggering an APN creating process when the frame working layer receives the card record loading completion notification event triggered by the loading process, so that the APN creating process uses the loaded SIM card information to create the APN.
6. The apparatus of claim 5, further comprising:
the first judgment module is used for judging whether a recording object of the SIM card exists or not; the recording object of the SIM card comprises an identity of the SIM card;
and the triggering module is used for triggering the registration module to operate when the judgment result of the first judgment module is that the record object exists.
7. The apparatus of claim 5, further comprising:
the second judgment module is used for judging whether a recording object of the SIM card exists after triggering the APN creating process; the recording object of the SIM card comprises an identity of the SIM card;
and the clearing module is used for deleting the card record loading completion notification event and clearing the record object of the SIM card when the judgment result of the second judgment module is that the record object exists.
8. The apparatus according to any of claims 5-7, wherein the apparatus further comprises a message sending module, configured to send a SIM card ready message to a framework operating layer of the mobile terminal when the modem of the mobile terminal recognizes that the current SIM card has an update event;
wherein the update event of the SIM card comprises at least one of the following: updating events triggered by the SIM card reinsertion, updating events triggered by the SIM card information updating, and updating events generated when the mobile terminal roams.
9. A mobile terminal, comprising a memory for storing a program that enables the processor to perform the method of any of claims 1 to 4 and a processor configured to execute the program stored in the memory.
10. A computer storage medium storing computer software instructions for use in the method of any one of claims 1 to 4.
CN201710962122.2A 2017-10-13 2017-10-13 APN (Access Point name) creating method and device of mobile terminal and mobile terminal Active CN107548057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710962122.2A CN107548057B (en) 2017-10-13 2017-10-13 APN (Access Point name) creating method and device of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710962122.2A CN107548057B (en) 2017-10-13 2017-10-13 APN (Access Point name) creating method and device of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN107548057A CN107548057A (en) 2018-01-05
CN107548057B true CN107548057B (en) 2020-12-29

Family

ID=60967159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710962122.2A Active CN107548057B (en) 2017-10-13 2017-10-13 APN (Access Point name) creating method and device of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN107548057B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267631A (en) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 A method for self-adapted configuration of access points at a mobile terminal
CN101674309A (en) * 2009-09-23 2010-03-17 中兴通讯股份有限公司 Ethernet access method and device thereof
EP2337307A2 (en) * 2009-12-17 2011-06-22 Intel Corporation Secure subscriber identity module service
CN103702390A (en) * 2013-11-29 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Terminal and method for establishing access point name list
CN105636015A (en) * 2015-12-24 2016-06-01 广东欧珀移动通信有限公司 Configuration data setting method and user equipment
CN105682126A (en) * 2014-11-19 2016-06-15 中兴通讯股份有限公司 Access point name (APN) parameter configuration processing method and device
CN105848133A (en) * 2016-03-16 2016-08-10 中国联合网络通信集团有限公司 Method and device for configuring access point name
CN106211130A (en) * 2016-07-01 2016-12-07 惠州Tcl移动通信有限公司 The access point filter method of a kind of operator and system
EP3132624A1 (en) * 2014-04-15 2017-02-22 Vodafone IP Licensing Limited Provisioning a network subscription

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160295544A1 (en) * 2015-03-31 2016-10-06 Globetouch, Inc. Enhanced cloud sim

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267631A (en) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 A method for self-adapted configuration of access points at a mobile terminal
CN101674309A (en) * 2009-09-23 2010-03-17 中兴通讯股份有限公司 Ethernet access method and device thereof
EP2337307A2 (en) * 2009-12-17 2011-06-22 Intel Corporation Secure subscriber identity module service
CN103702390A (en) * 2013-11-29 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Terminal and method for establishing access point name list
EP3132624A1 (en) * 2014-04-15 2017-02-22 Vodafone IP Licensing Limited Provisioning a network subscription
CN105682126A (en) * 2014-11-19 2016-06-15 中兴通讯股份有限公司 Access point name (APN) parameter configuration processing method and device
CN105636015A (en) * 2015-12-24 2016-06-01 广东欧珀移动通信有限公司 Configuration data setting method and user equipment
CN105848133A (en) * 2016-03-16 2016-08-10 中国联合网络通信集团有限公司 Method and device for configuring access point name
CN106211130A (en) * 2016-07-01 2016-12-07 惠州Tcl移动通信有限公司 The access point filter method of a kind of operator and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SIM卡开机流程分析之显示名称加载;沉睡的蚂蚁;《中国专业IT社区CSDN》;20170427;全文 *
移动网络APN接入产品流程优化设计;卢方元;《中国优秀硕士学位论文科技辑》;20110630;全文 *

Also Published As

Publication number Publication date
CN107548057A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN107832100B (en) APK plug-in loading method and terminal thereof
US10205800B2 (en) Application takeover method and system, mobile terminal, and server
US9571664B2 (en) Reliable activation of mobile devices
EP3654591B1 (en) Method and device for transmitting multimedia message, storage medium, and electronic apparatus
CN103838648A (en) Terminal and data backup method
US10224972B2 (en) Systems, methods, and computer-readable media for tracking updates and loading data
JP7010521B2 (en) Cell selection methods and terminals, as well as programs and computer-readable storage media
CN110442426B (en) Password resetting method, device and storage medium
CN110475229B (en) Method and device for accessing service data, computer equipment and storage medium
CN108112010A (en) Access method, apparatus, terminal and the computer readable storage medium of network
CN113242542B (en) Network searching control method and device of mobile terminal and mobile terminal
CN112804160B (en) Application program-based current limiting method, device, equipment, medium and product
EP3805938A1 (en) Server node selection method and terminal device
CN112866984B (en) Call record synchronization method, cloud platform and terminal
CN107548057B (en) APN (Access Point name) creating method and device of mobile terminal and mobile terminal
WO2021129489A1 (en) Application precompiling method and apparatus, electronic device, and storage medium
CN108574503B (en) Setting method of interception setting option and related equipment
CN113079500B (en) Terminal activation method and device, storage medium and electronic equipment
CN111930391B (en) Application data processing method and device, server and user terminal
CN110913022A (en) Method, device and system for downloading network file of mobile terminal and storage medium
CN110858815A (en) Method, device, equipment and storage medium for configuring intelligent home gateway
CN114925059B (en) Dirty data processing method, core network, device and storage medium
CN112492575B (en) Execution path setting method and device, storage medium and mobile terminal
CN109347933B (en) Method and device for establishing connection
CN106775986B (en) Process management method and electronic equipment

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